]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Update ps-mode.el from upstream
[gnu-emacs] / lisp / ChangeLog
1 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
2
3 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
4 (ps-mode-octal-region): Use string-make-unibyte.
5
6 2013-02-23 Glenn Morris <rgm@gnu.org>
7
8 * emulation/viper-cmd.el (viper-submit-report):
9 * progmodes/ps-mode.el (ps-mode-maintainer-address):
10 * progmodes/vera-mode.el (vera-mode-help-address):
11 * textmodes/artist.el (artist-maintainer-address):
12 * textmodes/reftex.el (reftex-report-bug):
13 * vc/ediff-util.el (ediff-submit-report):
14 Add bug-gnu-emacs to bug report address.
15
16 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
17 Remove bug report entries.
18 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
19
20 * emacs-lisp/bytecomp.el (byte-compile-level): New.
21 (byte-compile-file, byte-compile-from-buffer):
22 Use separate input/output buffers for each level of recursive
23 byte-compile-file calls. (Bug#13787)
24
25 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
26
27 * net/tramp.el (tramp-methods): Fix docstring.
28 (tramp-ssh-controlmaster-options): Rename it from
29 `tramp-ssh-controlmaster-template'. Return a string.
30 (tramp-default-method): Adapt check for
31 `tramp-ssh-controlmaster-options'.
32
33 * net/tramp-sh.el (tramp-methods): Replace
34 `tramp-ssh-controlmaster-template' by "%c".
35 (tramp-do-copy-or-rename-file-out-of-band)
36 (tramp-maybe-open-connection): Use it in format spec. Ensure,
37 that it is applied for the first hop only.
38
39 2013-02-22 Juri Linkov <juri@jurta.org>
40
41 * isearch.el (isearch-lazy-highlight-new-loop):
42 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
43 to `isearch-other-end' if it is not nil. (Bug#13402)
44
45 * replace.el (replace-highlight): Let-bind `isearch-other-end'
46 to `match-beg'.
47
48 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
49 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
50 and `isearch-error' to nil.
51
52 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
53
54 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
55
56 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Handle
57 multibyte file names.
58
59 2013-02-22 Glenn Morris <rgm@gnu.org>
60
61 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
62 (sgml-transformation-function): Give it a :set function.
63 (sgml-tag): Doc fix.
64
65 * cmuscheme.el (scheme-buffer):
66 * progmodes/inf-lisp.el (inferior-lisp-buffer):
67 * progmodes/tcl.el (inferior-tcl-buffer):
68 * textmodes/tex-mode.el (tex-command): Doc fixes.
69
70 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
71
72 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
73
74 2013-02-21 Bastien Guerry <bzg@gnu.org>
75
76 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
77
78 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
79
80 * progmodes/python.el (python-info-current-defun): Enhance
81 match-data cluttering prevention.
82
83 2013-02-21 Glenn Morris <rgm@gnu.org>
84
85 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
86 loaded while outline-regexp is let bound. (Bug#9584)
87
88 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
89
90 * progmodes/python.el (python-info-current-defun): Fix failed
91 defun name retrieval because of unwanted match-data cluttering.
92
93 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
94
95 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
96 defconst. Apply independent check for ControlPersist.
97
98 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
99 temporarily, via "env".
100
101 2013-02-21 Glenn Morris <rgm@gnu.org>
102
103 * info.el (Info-enable-edit): Remove.
104 (Info-edit): Disable it rather than using Info-enable.
105 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
106 (Info-cease-edit): Make editing of Info files obsolete.
107
108 * informat.el (Info-tagify):
109 Handle buffers not visiting files. (Bug#13763)
110
111 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
112
113 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
114
115 2013-02-21 Glenn Morris <rgm@gnu.org>
116
117 * files.el (basic-save-buffer): Move check for existing parent
118 directory after hooks. (Bug#13773)
119
120 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
121
122 * simple.el (command-execute): Move from C. Add obsolete check.
123 (extended-command-history): Move from C.
124
125 2013-02-20 Ulrich Müller <ulm@gentoo.org>
126
127 * jka-cmpr-hook.el (jka-compr-compression-info-list)
128 (jka-compr-mode-alist-additions): Handle .txz suffix for
129 XZ-compressed tar archives (bug#13770).
130
131 2013-02-20 Bastien Guerry <bzg@gnu.org>
132
133 * outline.el (outline-regexp, outline-heading-end-regexp):
134 Make variables, not options (bug#13731).
135
136 2013-02-20 Glenn Morris <rgm@gnu.org>
137
138 * image.el (image-current-frame): Change from variable to function.
139 (image-show-frame): Rename from image-nth-frame. Update callers.
140 * image-mode.el (image-multi-frame): New variable.
141 (image-mode-map, image-mode, image-goto-frame):
142 Use image-multi-frame rather than image-current-frame.
143 (image-mode, image-goto-frame): Use image-current-frame as
144 function rather than as variable.
145
146 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
147 * emacs-lisp/cl-macs.el (cl--make-type-test)
148 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
149
150 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
151
152 * net/tramp-cache.el (tramp-get-hash-table): New defun.
153 (tramp-get-file-property, tramp-set-file-property)
154 (tramp-get-connection-property, tramp-set-connection-property): Use it.
155 (tramp-flush-file-property, tramp-flush-directory-property):
156 Rename argument to KEY.
157 (tramp-flush-connection-property): Simplify a little bit.
158 (tramp-connection-property-p): New defun.
159 (top): Reapply saved values only if there isn't a corresponding
160 entry in `tramp-connection-properties'.
161
162 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
163
164 * progmodes/python.el (python-indent-context):
165 Fix python-info-line-ends-backslash-p call.
166 (python-info-line-ends-backslash-p)
167 (python-info-beginning-of-backslash): Respect line-number argument.
168 (python-info-current-line-comment-p):
169 Fix behavior when not at beginning-of-line.
170 (python-util-position): Remove function.
171 (python-util-goto-line): New function.
172
173 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
174
175 * eshell/em-unix.el (eshell/su): Require tramp.
176 (eshell/sudo): Require tramp. Remove now unnecessary check.
177
178 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
179 `tramp-current-connection' in order to avoid an error when several
180 commands are invoked in a short time in eshell and friends.
181
182 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
183
184 Cleanup some of EIEIO's namespace.
185 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
186 Use it to define all the class-* and object-* field accessors (renamed
187 to eieio--class-* and eieio--object-*). Update all uses.
188 (eieio--class-num-slots, eieio--object-num-slots): Rename from
189 class-num-slots and object-num-slots.
190 (eieio--check-type): New macro.
191 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
192 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
193 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
194 (object-assoc-list-safe): Use it.
195 (eieio-defclass): Tighten regexp.
196 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
197 Remove unreachable code.
198 (object-class-fast): Declare obsolete.
199 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
200 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
201 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
202 Rename from class-name, object-name, object-set-name-string,
203 object-class, object-class-name, class-parents, class-children,
204 class-precedence-list, class-parent; with obsolete alias.
205 (class-of, class-direct-superclasses, class-direct-subclasses):
206 Declare obsolete.
207 (eieio-defmethod): Use `memq'; remove unreachable code.
208 * emacs-lisp/eieio-base.el (eieio-persistent-read):
209 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
210 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
211
212
213 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
214
215 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
216 Use font-lock-keyword-face for macros and special forms (bug#8345).
217
218 2013-02-17 Didier Verna <didier@didierverna.net>
219
220 * net/network-stream.el (network-stream-open-starttls):
221 Check that response to the starttls-command is non-nil. (Bug#13706)
222
223 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
224
225 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
226 Don't assume all identifier chars have syntax word.
227 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
228 Remove bar-not-symbol. Adjust callers.
229 (lisp-mode-variables): Don't set a font-lock-syntax-table.
230
231 2013-02-17 Leo Liu <sdl.web@gmail.com>
232
233 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
234
235 2013-02-17 Glenn Morris <rgm@gnu.org>
236
237 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
238
239 * image-mode.el (image-mode-map): Add image-dired menu entry.
240
241 * image-dired.el (tumme): Make this alias obsolete.
242
243 2013-02-16 Glenn Morris <rgm@gnu.org>
244
245 * image.el (image-animated-types): Remove.
246 (image-multi-frame-p): Rename from image-animated-p, and generalize.
247 (image-animated-p): Make obsolete alias.
248 (image-animate, image-nth-frame, image-animate-timeout):
249 Use image-multi-frame-p.
250 (image-animate-timeout): If no delay, use image-default-frame-delay.
251 * image-mode.el (image-mode, image-toggle-animation):
252 Use image-multi-frame-p. (Bug#763, bug#10739)
253 (image-mode): Adjust startup message for a multi-frame image.
254
255 * image-mode.el (image-mode-map): Give it a menu.
256
257 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
258
259 * net/tramp-cache.el (tramp-connection-properties): New customer
260 option.
261 (tramp-get-connection-property): Use it.
262
263 * net/tramp-compat.el (top): Require 'trampver.
264
265 * net/tramp-sh.el (tramp-remote-process-environment):
266 Set tramp-autoload cookie.
267
268 2013-02-16 Kevin Ryde <user42@zip.com.au>
269
270 * info-look.el (info-lookup-select-mode): If major-mode has no
271 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
272
273 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
274
275 * replace.el (read-regexp): Tighten the regexp that matches tag.
276 When tag is retrieved with `find-tag-default', use regexp that
277 matches tag at point. Also update docstring (Bug#13687).
278
279 2013-02-16 Eli Zaretskii <eliz@gnu.org>
280
281 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
282 add watch for the file, not its parent directory, since w32notify
283 sets up the watch for the directory internally. (Bug#13725)
284
285 2013-02-16 Glenn Morris <rgm@gnu.org>
286
287 * image.el (image-default-frame-delay): New variable.
288 (image-animated-p): Use image-default-frame-delay.
289 (image-minimum-frame-delay): New constant.
290 (image-animate-timeout): Use image-minimum-frame-delay.
291
292 * image.el (image-nth-frame): New, split from image-animate-timeout.
293 (image-animate-timeout): Use image-nth-frame.
294 * image-mode.el (image-goto-frame, image-next-frame)
295 (image-previous-frame): New commands.
296 (image-mode-map): Add new frame commands.
297
298 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
299
300 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
301 If col-desc already has help-echo, use it. (Bug#13563)
302
303 2013-02-16 Glenn Morris <rgm@gnu.org>
304
305 * image.el (image-current-frame): New variable.
306 (image-animate-timeout): Set image-current-frame.
307 * image-mode.el (image-mode): For animated images,
308 display a frame counter via mode-line-process.
309
310 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
311
312 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
313
314 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
315
316 2013-02-15 Alan Mackenzie <acm@muc.de>
317
318 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
319 global minor mode has been enabled, call the minor mode function
320 for a new buffer once only, after the major mode hook, whilst
321 allowing that hook explicitly to disable the minor mode.
322 (MODE-disable-in-buffer): New (generated) function.
323 (disable-MODE): New (generated) buffer local variable.
324
325 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
326
327 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
328 `iswitchb-next-match' and `iswitchb-prev-match' resply.
329 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
330 `ido-next-match' and `ido-prev-match' resply.
331 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
332 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
333 `icomplete-backward-completions' (Bug#13708).
334
335 2013-02-15 Glenn Morris <rgm@gnu.org>
336
337 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
338
339 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
340
341 * net/goto-addr.el (goto-address-fontify): Add start and end args.
342 (goto-address-fontify-region): Use them instead of narrowing, so
343 syntax-ppss has access to the whole buffer.
344
345 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
346
347 * progmodes/python.el: Explain how to restore "cc-mode"-like
348 forward-sexp movement in header documentation (Bug#13642).
349 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
350 comments and strings (GH bug 114).
351
352 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
353
354 * progmodes/python.el (python-info-current-defun): Fix current
355 defun detection (Bug#13618).
356
357 2013-02-15 Chong Yidong <cyd@gnu.org>
358
359 * xml.el (xml-parse-string): Fix typo in handling of bad character
360 references.
361
362 2013-02-15 Glenn Morris <rgm@gnu.org>
363
364 * play/fortune.el (fortune-compile): Simplify and fix previous change.
365
366 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
367
368 * net/tramp.el (tramp-debug-message):
369 Add `tramp-condition-case-unless-debug'.
370 (tramp-debug-on-error): New defvar.
371 (tramp-condition-case-unless-debug): New defun.
372 (tramp-file-name-handler): Use it.
373
374 2013-02-14 Juri Linkov <juri@jurta.org>
375
376 * info.el (Info-isearch-filter): Treat non-nil values of
377 `search-invisible' including its default value `open'
378 like the value `t' to match hidden text. (Bug#13402)
379
380 2013-02-14 Glenn Morris <rgm@gnu.org>
381
382 * help-fns.el (find-lisp-object-file-name): Give special treatment
383 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
384
385 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
386
387 * net/quickurl.el (quickurl-save-urls):
388 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
389
390 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
391
392 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
393 depth for unfinished percent literal. Not using it in the caller.
394 (ruby-move-to-block): Jump over multiline literals of all types,
395 ignoring code-looking contents inside them.
396 (ruby-add-log-current-method): Improve performance at the expense
397 of accuracy. `ruby-block-contains-point' is relatively slow, so
398 only use it for method and singleton class blocks.
399
400 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
401
402 Use ControlMaster where applicable. (Bug#13677)
403
404 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
405 replacing `tramp-detect-ssh-controlmaster'.
406 (tramp-default-method): Use it.
407
408 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
409 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
410 arguments.
411 [scpc, rsyncc]: Remove methods.
412 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
413 and "ssh2_old".
414 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
415 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
416
417 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
418
419 * emacs-lisp/package.el (package--initialized): Move before first use.
420
421 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
422
423 * icomplete.el (icomplete-hide-common-prefix): New user option.
424 (icomplete-first-match): New face.
425 (icomplete-completions): Correct handling of "complete but not
426 unique" (Bug#12638).
427
428 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
429
430 * descr-text.el (describe-char): Display the script (bug#13698).
431
432 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
433
434 * tmm.el: Use lexical-binding and current-active-maps.
435 (tmm-menubar): Use map-keymap and pcase.
436 (tmm--completion-table): New function.
437 (tmm-prompt): Use it to fix the menu order.
438 (tmm-get-keybind): Use current-active-maps.
439
440 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
441
442 Add dired-hide-details-mode. (Bug#6799)
443
444 * locate.el (locate-mode): Set parent mode property to dired-mode.
445
446 * find-dired.el (find-dired): Call dired-insert-set-properties on
447 initial information line. Set process mark on end of buffer.
448 (find-dired-sentinel):
449 Call dired-insert-set-properties on summary.
450
451 * dired.el (dired-hide-details-hide-symlink-targets)
452 (dired-hide-details-hide-information-lines): New options.
453 (dired-insert-directory):
454 Set properties after final treatment of output.
455 (dired-insert-set-properties):
456 Set dired-hide-details-* properties.
457 (dired-mode-map): Bind dired-hide-details-mode.
458 (dired-mode): Set buffer-invisibility-spec to a list.
459 (dired-next-line): Skip hidden lines.
460 (dired-previous-line): Use dired-next-line.
461 (dired-hide-details-mode): New minor mode.
462 (dired-hide-details-update-invisibility-spec): New function.
463
464 2013-02-13 Glenn Morris <rgm@gnu.org>
465
466 * play/yow.el: Move to obsolete/. (Bug#9384)
467
468 2013-02-13 Juri Linkov <juri@jurta.org>
469
470 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
471 to select `ediff-control-frame' and set input focus correctly on Xfce.
472 (Bug#12218)
473
474 2013-02-13 Juri Linkov <juri@jurta.org>
475
476 * image-mode.el (image-mode-map):
477 * doc-view.el (doc-view-mode-map):
478 * vc/ediff-util.el (ediff-setup-keymap):
479 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
480
481 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
482
483 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
484 performance. Instead of recalculating indentation fully for each
485 line, sum up indentation depth based only on visited lines.
486 (ruby-parse-partial): Increase the depth after "do" even when END
487 is right after it.
488 (ruby-parse-partial): When END is in the middle of a percent
489 literal, increase the depth if the delimiter chars belong to the
490 paren syntax class.
491
492 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
493
494 * play/fortune.el (fortune-compile): Also make the compiled file
495 if it does not exist at all, not just if it is old. (Bug#5338)
496
497 2013-02-13 Glenn Morris <rgm@gnu.org>
498
499 * emacs-lisp/package.el (package-menu-execute): Doc fix.
500
501 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
502
503 * lisp/emacs-lisp/package.el (package-menu-execute):
504 Add optional noquery argument. (Bug#13625)
505
506 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
507
508 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
509 if DIR exists and PARENTS is non-nil.
510
511 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
512
513 * progmodes/js.el (js--multi-line-declaration-indentation):
514 Silence byte-compiler warning.
515
516 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
517
518 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
519
520 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
521 only if it doesn't exist.
522
523 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
524 Set process marker.
525
526 2013-02-12 Tassilo Horn <tsdh@gnu.org>
527
528 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
529 UserInstallation when calling soffice to work around LibreOffice
530 bug 37531.
531
532 2013-02-12 Glenn Morris <rgm@gnu.org>
533
534 * files.el (basic-save-buffer):
535 Offer to create a non-existing directory. (Bug#3016)
536
537 * calc/calc-graph.el (calc-graph-show-dumb):
538 * calendar/calendar.el (calendar-mode-map):
539 * cus-edit.el (custom-mode-map):
540 * ehelp.el (electric-help-map):
541 * emulation/vip.el (vip-mode-map):
542 * epa.el (epa-key-list-mode-map):
543 * info.el (Info-mode-map):
544 * mail/rmail.el (rmail-mode-map):
545 * mail/rmailsum.el (rmail-summary-mode-map):
546 * man.el (Man-mode-map):
547 * net/newst-plainview.el (newsticker-mode-map):
548 * progmodes/cpp.el (cpp-edit-mode-map):
549 * progmodes/grep.el (grep-mode-map):
550 * progmodes/idlw-help.el (idlwave-help-mode-map):
551 * simple.el (special-mode-map):
552 * startup.el (splash-screen-keymap):
553 * view.el (view-mode-map):
554 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
555
556 2013-02-11 Elias Pipping <pipping@lavabit.com>
557
558 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
559 (bug#13679).
560
561 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
562
563 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
564
565 2013-02-11 Glenn Morris <rgm@gnu.org>
566
567 * vc/diff.el (diff-use-labels): New variable.
568 (diff-no-select): Use --label rather than -L, and first
569 check that it is supported. (Bug#11067)
570
571 * files.el (enable-dir-local-variables): New variable.
572 (hack-dir-local-variables): Respect enable-dir-local-variables.
573 * tutorial.el (help-with-tutorial):
574 Ignore directory-local variables. (Bug#11127)
575
576 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
577 (vc-svn-global-switches): ... to here. (Bug#13513)
578
579 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
580
581 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
582 Handle "foo (bar, default: xxx): " prompts.
583
584 2013-02-10 Chong Yidong <cyd@gnu.org>
585
586 * files.el (basic-save-buffer-1): Do not set
587 buffer-file-coding-system-explicit (Bug#4533).
588
589 * mail/emacsbug.el (report-emacs-bug): Change binding of
590 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
591
592 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
593
594 * calc/calc.el (calc-allow-units-as-numbers): New variable.
595 * calc/calc-units.el (calc-convert-units): Use new variable.
596
597 2013-02-09 Eli Zaretskii <eliz@gnu.org>
598
599 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
600
601 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
602 buffer-file-type.
603
604 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
605 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
606 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
607 coding-system-for-write instead.
608
609 * jka-compr.el (jka-compr-write-region): Don't bind
610 buffer-file-type.
611
612 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
613 buffer-file-type.
614
615 * files.el (file-name-buffer-file-type-alist): Remove defvar.
616 (insert-file-contents-literally): Remove reference to
617 file-name-buffer-file-type-alist.
618
619 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
620 make-obsolete.
621 (find-buffer-file-type-match, find-buffer-file-type): Remove.
622 (find-buffer-file-type-coding-system): Remove references to
623 find-buffer-file-type-match, find-buffer-file-type, and
624 buffer-file-type.
625 Don't put find-buffer-file-type-coding-system into
626 file-coding-system-alist.
627 (find-file-binary, find-file-text): Bind coding-system-for-read
628 instead of file-name-buffer-file-type-alist.
629
630 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
631
632 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
633 converter (Bug#13622).
634 (doc-view-unoconv-program): Make obsolete alias.
635 (doc-view-odf->pdf-converter-program): New variable.
636 (doc-view-odf->pdf-converter-function): New variable.
637 (doc-view-mode-p): Use it.
638 (doc-view-odf->pdf-converter-unoconv):
639 Rename from `doc-view-odf->pdf-converter-unoconv'.
640 (doc-view-odf->pdf-converter-soffice): New function.
641 (doc-view-convert-current-doc):
642 Use `doc-view-odf->pdf-converter-function'.
643
644 2013-02-09 Chong Yidong <cyd@gnu.org>
645
646 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
647 view-echo-area-messages (Bug#13340).
648
649 * help.el (view-echo-area-messages): Use display-buffer.
650
651 * dired-x.el (dired-do-run-mail): Prompt for confirmation
652 (Bug#13561).
653
654 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
655
656 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
657 Eval body right away, now that we do eager macroexpansion (bug#13605).
658
659 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
660 (fundamental-mode): Use run-mode-hooks.
661
662 * eshell/esh-proc.el (eshell/kill): Fix last change.
663 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
664
665 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
666
667 * eshell/esh-proc.el (eshell/kill): Rewrite.
668
669 * eshell/em-ls.el (show-almost-all): Declare.
670 (eshell-do-ls): Add support for -A argument.
671
672 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
673
674 * icomplete.el (icomplete-forward-completions)
675 (icomplete-backward-completions): Handle corner case (bug#13602).
676
677 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
678
679 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
680 be nil. Handle this. (Bug#13636)
681
682 2013-02-07 Richard Stallman <rms@gnu.org>
683
684 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
685 `save-buffer-coding-system'.
686
687 2013-02-07 Alan Mackenzie <acm@muc.de>
688
689 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
690 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
691 (c-parse-state-get-strategy): Don't return 'BOD any more.
692 (c-append-lower-brace-pair-to-state-cache):
693 Extra parameter HERE instead of narrowing.
694 Widen to top of buffer before searching backwards for a brace pair.
695 (c-state-push-any-brace-pair): Add HERE parameter to function call.
696 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
697 Narrow to parameter HERE, in place of being called narrowed.
698 (c-remove-stale-state-cache): Extra parameter HERE in place of
699 narrowing. Check there's an open brace in the cache before
700 searching for its match.
701 (c-invalidate-state-cache-1): Add HERE parameter to function call.
702 (c-parse-state-1): Don't narrow here for 'forward strategy,
703 instead passing extra parameter HERE to several functions.
704 Remove 'BOD strategy.
705
706 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
707
708 * emacs-lisp/package.el (describe-package-1): Tell what archive is
709 used to install the package.
710
711 2013-02-06 Glenn Morris <rgm@gnu.org>
712
713 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
714 if we can't get user input. (Bug#6567)
715
716 * startup.el (command-line): If simple.el is missing,
717 test and warn about for some possible causes.
718
719 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
720
721 * cus-start.el (all): Add ns-use-native-fullscreen.
722
723 2013-02-05 Glenn Morris <rgm@gnu.org>
724
725 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
726
727 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
728 Fix directory creation in fallback case.
729
730 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
731
732 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
733 (vc-update-change-log): Use dolist.
734
735 2013-02-04 Chong Yidong <cyd@gnu.org>
736
737 * thingatpt.el: Rewrite the URL detection routines, absorbing some
738 code from ffap.el.
739 (thing-at-point-beginning-of-url-regexp): New var.
740 (thing-at-point-uri-schemes): Update list of URI schemes.
741 (thing-at-point-url-regexp): Variable deleted.
742 (thing-at-point-markedup-url-regexp): Disallow newlines.
743 (thing-at-point-newsgroup-regexp)
744 (thing-at-point-newsgroup-heads)
745 (thing-at-point-default-mail-uri-scheme): New variables.
746 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
747 method to find the possible bounds of the URI at point.
748 New optional argument to find ill-formed URIs.
749 (thing-at-point-url-at-point): Rewrite. New arguments for finding
750 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
751 the scheme-adding heuristics from ffap-url-at-point.
752 (thing-at-point--bounds-of-well-formed-url): New function.
753 Do parens matching to decide whether to include parens in the URI
754 (Bug#9153).
755
756 * ffap.el: Require thingatpt.
757 (ffap-url-at-point): Delegate URI detection to thing-at-point.
758 All URI-valid characters are now recognized (Bug#5673).
759 (ffap-string-at-point): Use use-region-p.
760 (ffap-url-regexp): Extra character is handled by thing-at-point.
761 (ffap-string-at-point-mode-alist): Allow parentheses.
762 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
763 Convert to aliases; code moved to thingatpt.el.
764 (ffap-gnus-hook): Use setq-local.
765
766 2013-02-04 Glenn Morris <rgm@gnu.org>
767
768 * emacs-lisp/ert.el (ert--explain-format-atom):
769 Don't try to print non-characters as characters. (Bug#13543)
770
771 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
772
773 * net/tramp.el (tramp-debug-message): Extend function exclude list.
774 (tramp-backtrace): New defun.
775 (tramp-handle-insert-file-contents): Use `visit' when inserting
776 the local copy.
777
778 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
779 Use `remote-file-name-inhibit-cache'.
780
781 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
782
783 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
784 (bug#13614).
785
786 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
787 current-load-list (bug#13366).
788
789 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
790
791 * progmodes/compile.el (compilation-error-regexp-alist-alist):
792 Identify g++ template instantiation trace. (Bug#12287)
793 (compilation-mode-hook, compilation-start-hook)
794 (compilation-window-height): Simplify docstrings. (Bug#13379)
795
796 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
797
798 * mouse.el (mouse-drag-track): Always deactivate the mark before
799 running the final event's command since that command is in charge of
800 activating the mark if needed (bug#13523).
801
802 2013-02-02 Juri Linkov <juri@jurta.org>
803
804 * replace.el (perform-replace): Move let-bindings of isearch-*
805 variables deeper to the loop that searches for the next match.
806 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
807 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
808 (Bug#13579)
809
810 * isearch.el (isearch-search-fun-default): Check for null
811 first element of isearch-cmds as a precaution when it's used
812 with inactive isearch.
813
814 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
815
816 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
817 error when buffer in question is narrowed so position 1 is out of
818 visible part.
819
820 2013-02-02 Glenn Morris <rgm@gnu.org>
821
822 * textmodes/remember.el (remember-clipboard): Doc fix.
823
824 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
825
826 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
827 properties (bug#13179).
828
829 2013-02-02 Juri Linkov <juri@jurta.org>
830
831 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
832 instead of hard-coded default face `match'. (Bug#9438)
833
834 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
835
836 * vc/vc-arch.el (vc-arch-registered):
837 * vc/vc-bzr.el (vc-bzr-registered):
838 * vc/vc-cvs.el (vc-cvs-registered):
839 * vc/vc-git.el (vc-git-registered):
840 * vc/vc-hg.el (vc-hg-registered):
841 * vc/vc-mtn.el (vc-mtn-registered):
842 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
843 (Bug#13139)
844
845 * info.el (Info-next-reference, Info-prev-reference): Add numeric
846 prefix argument. (Bug#11656)
847
848 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
849
850 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
851
852 2013-02-01 Glenn Morris <rgm@gnu.org>
853
854 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
855 if the backend is known not to support it.
856
857 * imenu.el (imenu-default-create-index-function):
858 Tweak infinite loop test to check for forward motion as well as none.
859
860 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
861
862 * net/soap-client.el (soap-invoke): Encode the string for
863 `url-request-data' as UTF-8.
864 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
865
866 2013-02-01 Glenn Morris <rgm@gnu.org>
867
868 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
869
870 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
871
872 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
873
874 * net/tramp.el (tramp-tramp-file-p): Comment check for
875 `string-as-unibyte'. The function does not exist on XEmacs, and
876 likely we need another approach.
877
878 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
879 `tramp-gw-*' variables are bound.
880
881 2013-01-31 Glenn Morris <rgm@gnu.org>
882
883 * files.el (basic-save-buffer-2): Choose coding system for
884 writing the file before backing it up, to reduce delay between
885 backing up and writing the new version. (Bug#13522)
886
887 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
888
889 * simple.el (cycle-spacing): New command.
890 (just-one-space): Use it.
891
892 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
893
894 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
895 (opascal-newline-always-indents): Remove custom.
896 (opascal-tab, opascal-newline): Remove commands.
897 (opascal-new-comment-line): Insert "\n" instead of calling newline.
898 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
899 (opascal-save-match-data): Remove, use save-match-data instead.
900 (opascal-save-state): Use with-silent-modifications.
901
902 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
903 (bug#13585).
904
905 2013-01-30 Juri Linkov <juri@jurta.org>
906
907 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
908 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
909 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
910
911 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
912
913 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
914 column if we're just deleting the backslashes.
915 (makefile-fill-paragraph): Use eolp.
916
917 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
918
919 * autorevert.el (auto-revert-use-notify): Fix docstring.
920
921 2013-01-30 Leo Liu <sdl.web@gmail.com>
922
923 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
924
925 2013-01-30 Glenn Morris <rgm@gnu.org>
926
927 * mouse.el (mouse-drag-line): Avoid pushing same event onto
928 unread-command-events twice in some cases. This tries to implement
929 the 2012-07-26 changes in a different way. (Bug#13560)
930
931 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
932
933 * progmodes/python.el
934 (python-pdbtrack-comint-output-filter-function): Enhancements on
935 stacktrace detection. (thanks @gnovak)
936
937 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
938
939 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
940 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
941 Use defvar-local.
942 (jit-lock-register): Use setq-local.
943
944 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
945
946 * calc-units.el (math-default-units-table): Remove initial value.
947 (calc-convert-units): Treat expressions where all the units cancel as
948 if they didn't have units.
949
950 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
951
952 * net/tramp.el (tramp-process-connection-type): Fix docstring.
953 (tramp-completion-reread-directory-timeout): Fix type.
954 (tramp-connection-min-time-diff): New defcustom.
955
956 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
957
958 2013-01-30 Glenn Morris <rgm@gnu.org>
959
960 * imenu.el (imenu-default-create-index-function):
961 Put back a version of the infinite loop test removed 2013-01-23.
962
963 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
964
965 * progmodes/python.el (python-shell-parse-command):
966 Find python-shell-interpreter with modified environment.
967
968 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
969
970 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
971
972 2013-01-29 Alan Mackenzie <acm@muc.de>
973
974 Amend to fontify /regexp/s in actions correctly.
975 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
976 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
977 are no longer included.
978 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
979 What used to be these variables without "-line" in the name.
980 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
981 (c-awk-non-arith-op-bra-re): Now also matches {.
982 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
983 "return", and "case".
984 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
985 by /.
986 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
987 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
988
989 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
990
991 * autorevert.el (auto-revert-use-notify):
992 Use `custom-initialize-default' for initialization. (Bug#13583)
993
994 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
995
996 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
997 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
998 in `tramp-file-name-handler'.
999 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
1000 compatibility.
1001 (tramp-compute-multi-hops): Check, whether
1002 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
1003
1004 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
1005
1006 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
1007 (bug#13297).
1008
1009 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
1010
1011 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
1012 checks made superfluous by the \_< operator.
1013 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
1014 temporarily) broken indentation.
1015 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1016 Highlight nested constants, too. \_< broke that.
1017
1018 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
1019
1020 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
1021 instead of "\\b".
1022
1023 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
1024
1025 * autorevert.el (auto-revert-handler): Notifications which result
1026 from a saved file shall not be taken into account. (Bug#13557)
1027
1028 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
1029
1030 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
1031 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
1032 (lisp-mode): Pass t for it. (Bug#13556)
1033
1034 2013-01-25 Alan Mackenzie <acm@muc.de>
1035
1036 AWK Mode: Fix indentation bug at top level. Bug #12274.
1037
1038 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
1039 just before CASE 5D.
1040
1041 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
1042
1043 * net/socks.el (socks-nslookup-host): Use string-to-number.
1044
1045 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
1046
1047 * autorevert.el (auto-revert-remote-files)
1048 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
1049 (auto-revert-notify-enabled, auto-revert-use-notify)
1050 (auto-revert-notify-watch-descriptor-hash-list)
1051 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1052 (auto-revert-notify-event-descriptor)
1053 (auto-revert-notify-event-action)
1054 (auto-revert-notify-event-file-name): Doc fix.
1055 (global-auto-revert-mode): Reorder checks.
1056 (auto-revert-notify-rm-watch): Respect changed values of
1057 `auto-revert-notify-watch-descriptor-hash-list'.
1058 (auto-revert-notify-add-watch): Check for
1059 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1060 `inotify-add-watch'. Watch `default-directory' instead of
1061 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1062 has a changed meaning now. (Bug#13540)
1063 (auto-revert-notify-handler): Change implementation wrt events
1064 returning from a directory.
1065 (auto-revert-handler): Reorder implementation for checks of remote
1066 files.
1067 (auto-revert-buffers): Fix parentheses error.
1068
1069 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
1070
1071 * progmodes/python.el: Enhancements to header documentation about
1072 skeletons. (Bug#5716)
1073
1074 * imenu.el (imenu-default-create-index-function): Remove useless
1075 infinite loop check. (Bug#13438)
1076
1077 2013-01-25 Alan Mackenzie <acm@muc.de>
1078
1079 Fix a bug in the state cache mechanism. Refactor this a bit.
1080
1081 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1082 `cache-pos' element from the return value.
1083 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1084 buffer to enable proper searching from beyond HERE. Amend the
1085 test for detecting the sought brace pair. Amend the value written
1086 to the "brace desert cache" when the brace isn't found.
1087 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1088 and several other variables analogously.
1089 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1090 parameter to a locally calculated variable.
1091 (c-parse-state-1): Change the calling conventions to the two
1092 defuns involving `cache-pos'.
1093
1094 2013-01-25 Chong Yidong <cyd@gnu.org>
1095
1096 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1097
1098 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1099
1100 * paren.el (show-paren-function): Make sure to set 'priority and
1101 'face only if the overlay does exist.
1102
1103 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
1104
1105 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1106
1107 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1108 basic attributes.
1109 (tramp-sh-handle-set-file-acl): Improve error checking.
1110
1111 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1112
1113 * doc-view.el (doc-view-display): Force mode line update until all
1114 document is converted. Suggested by Stefan Monnier (Bug#13164).
1115
1116 2013-01-23 Bastien Guerry <bzg@gnu.org>
1117
1118 * paren.el (show-paren-function): Make sure an overlay exists
1119 before trying to delete it. Also use `pos' as a position only
1120 when it is an integer.
1121
1122 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1123
1124 * play/gametree.el (gametree-break-line-here): Use point-marker.
1125
1126 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
1127
1128 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1129 Mark descriptive parts with `display' property.
1130
1131 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1132
1133 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1134 New variable to map standard dict names to hunspell ones.
1135 (ispell-set-spellchecker-params): Make sure specific dict names
1136 are used for standard dicts with hunspell.
1137
1138 2013-01-21 Tassilo Horn <tsdh@gnu.org>
1139
1140 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1141 chars for note (%N) and url (%U).
1142 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1143
1144 2013-01-21 Juri Linkov <juri@jurta.org>
1145
1146 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1147 in addition to existing separate binding `meta f10' in `global-map'.
1148 (Bug#13484)
1149
1150 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
1151
1152 Improve XEmacs compatibility.
1153
1154 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1155
1156 * net/tramp-adb.el (top): Require `time-date'.
1157 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1158 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1159 Use `tramp-file-name-handler'.
1160 (tramp-adb-maybe-open-connection):
1161 Use `tramp-compat-set-process-query-on-exit-flag'.
1162
1163 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1164 Use `tramp-compat-funcall'.
1165
1166 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1167 `tramp-compat-funcall'.
1168
1169 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1170
1171 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1172 reimplementation using "adb shell command ..." instead of running
1173 remote shell interactively.
1174
1175 2013-01-20 Glenn Morris <rgm@gnu.org>
1176
1177 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1178 Add native profiler menu entries.
1179
1180 * profiler.el (profiler-running-p): New function.
1181 (profiler-cpu-profile): Use profiler-running-p.
1182 (profiler-report-mode-map): Add some more menu entries.
1183
1184 2013-01-19 Glenn Morris <rgm@gnu.org>
1185
1186 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1187 fixes 2012-12-07 change. (Bug#13499)
1188
1189 2013-01-19 Leo Liu <sdl.web@gmail.com>
1190
1191 * dired.el (dired-get-marked-files): Prune erroneous values due to
1192 last change. (Bug#13152)
1193
1194 2013-01-19 Glenn Morris <rgm@gnu.org>
1195
1196 * progmodes/etags.el (tags-table-check-computed-list):
1197 Preserve point in tags buffer. (Bug#13412)
1198
1199 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1200
1201 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1202 Chong Yidong <cyd@gnu.org>
1203
1204 * image-mode.el (image-next-file, image-previous-file):
1205 New commands (Bug#8453).
1206 (image-mode-map): Bind them to n and p.
1207 (image-mode--images-in-directory): New helper function.
1208
1209 2013-01-19 Chong Yidong <cyd@gnu.org>
1210
1211 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1212 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1213 save and restore the old window configuration.
1214
1215 2013-01-18 Leo Liu <sdl.web@gmail.com>
1216
1217 * progmodes/js.el: Tweak autoload cookie for alias.
1218
1219 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1220
1221 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1222 buffer local, again. This was lost with the fix on 2013-01-12.
1223
1224 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1225
1226 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1227 order to support several eshell buffers in parallel.
1228
1229 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1230
1231 * autorevert.el (auto-revert-use-notify): In the :set function, do
1232 not modify `kill-buffer-hook'.
1233 (auto-revert-notify-rm-watch):
1234 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1235 (auto-revert-notify-add-watch): Do not call
1236 `auto-revert-notify-rm-watch', but add it to a buffer local
1237 `kill-buffer-hook'.
1238
1239 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1240
1241 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1242 call to `eval' rather than a backquoted lambda.
1243
1244 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1245
1246 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1247 to return an explicit nil.
1248 (advice--remove-function): Change accordingly.
1249
1250 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1251 the use of nadvice.el.
1252
1253 * progmodes/which-func.el (which-function): Silence imenu errors
1254 (bug#13433).
1255
1256 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1257
1258 * progmodes/sql.el: (sql-imenu-generic-expression):
1259 (sql-mode-font-lock-object-name): Match schema qualified names.
1260 (sql-connect): Use string keys.
1261 (sql-product-interactive): Wait for interpreter prompt.
1262 (sql-comint-oracle): Set process coding based on NLS_LANG.
1263
1264 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1265
1266 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1267 (sql-interactive-remove-continuation-prompt):
1268 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1269
1270 2013-01-14 Leo Liu <sdl.web@gmail.com>
1271
1272 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1273 (Bug#13420)
1274
1275 2013-01-14 Glenn Morris <rgm@gnu.org>
1276
1277 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1278 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1279
1280 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1281
1282 * progmodes/python.el (python-nav-end-of-statement):
1283 Fix cornercase when handling multiline strings.
1284
1285 2013-01-13 Richard Stallman <rms@gnu.org>
1286
1287 * mail/sendmail.el (mail-position-on-field): Add doc string.
1288
1289 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1290 Get current message boundaries and pass them to
1291 message-forward-make-body-mime. Minor style changes.
1292
1293 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1294
1295 * cus-start.el (all): Avoid warnings about
1296 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1297
1298 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1299
1300 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1301
1302 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1303
1304 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1305 (jit-lock--debug-fontifying): New var.
1306 (jit-lock--debug-fontify): New function.
1307 * subr.el (condition-case-unless-debug): Don't prevent catching the
1308 error, just let the debbugger run.
1309 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1310 timer code and don't drop errors silently.
1311
1312 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1313
1314 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1315 `permanent-local' property.
1316 (auto-revert-notify-handler): Use `file-equal-p'.
1317
1318 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1319
1320 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1321 file notification by ACTION. For filtering by file name, compare
1322 only the non-directory part of the file name.
1323
1324 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1325
1326 * autorevert.el: Use cl-lib instead of cl.
1327
1328 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1329 (vc-bzr-checkin): Use it.
1330 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1331 will preserve match-data.
1332
1333 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1334
1335 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1336 (js--declaration-keyword-re): New var.
1337 (js--multi-line-declaration-indentation): New function.
1338 (js--proper-indentation): Use it.
1339
1340 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1341
1342 * calc/calc.el (calc-highlight-selections-with-faces)
1343 (calc-dispatch):
1344 * comint.el (comint-history-isearch-message):
1345 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1346 * ffap.el (ffap-string-at-point-region, ffap-next)
1347 (ffap-string-at-point, ffap-string-around)
1348 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1349 (ffap-literally):
1350 * font-lock.el (font-lock-keywords-alist)
1351 (font-lock-removed-keywords-alist):
1352 * help-mode.el (help-xref-symbol-regexp):
1353 * info.el (Info-find-emacs-command-nodes):
1354 * international/mule.el (add-to-coding-system-list):
1355 * isearch.el (isearch-message-function, isearch-fail-pos):
1356 * misearch.el (multi-isearch-next-buffer-function):
1357 * newcomment.el (comment-box):
1358 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1359 (pr-setting-database):
1360 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1361 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1362 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1363 (pike-font-lock-keywords-3):
1364 * progmodes/compile.el (compile):
1365 * progmodes/etags.el (tags-table-files)
1366 (tags-table-files-function, tags-included-tables-function):
1367 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1368 (gdb-restore-windows):
1369 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1370 (ps-n-up-filling-database):
1371 * server.el (server-buffer, server-log):
1372 * simple.el (newline, delete-backward-char, delete-forward-char)
1373 (minibuffer-history-isearch-message, kill-line, track-eol)
1374 (temporary-goal-column):
1375 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1376 (flyspell-default-deplacement-commands):
1377 * textmodes/ispell.el (ispell-accept-output):
1378 * textmodes/sgml-mode.el (html-tag-help):
1379 * vc/compare-w.el (compare-ignore-whitespace)
1380 (compare-ignore-case, compare-windows-dehighlight):
1381 * vc/diff.el (diff):
1382 * whitespace.el (whitespace-point)
1383 (whitespace-font-lock-refontify, whitespace-bob-marker)
1384 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1385
1386 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1387
1388 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1389 (auto-revert-notify-rm-watch): Ignore errors.
1390 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1391 inotify, and '(size last-write-time) for w32notify.
1392 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1393 watch fails - this is a fallback to the file modification check.
1394 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1395 (auto-revert-notify-event-action)
1396 (auto-revert-notify-event-file-name): New defuns.
1397 (auto-revert-notify-handler): Use them. Implement first
1398 plausibility checks.
1399 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1400
1401 2013-01-11 Julien Danjou <julien@danjou.info>
1402
1403 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1404 max are almost equal. Also return the correct value for V which is
1405 already between 0 and 1.
1406
1407 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1408
1409 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1410
1411 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1412
1413 * autorevert.el (auto-revert-notify-rm-watch)
1414 (auto-revert-notify-add-watch): Fix typos in w32notify function
1415 names.
1416
1417 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1418
1419 * autorevert.el (auto-revert-notify-enabled): Move up.
1420 (auto-revert-use-notify): New defcustom.
1421 (auto-revert-mode, global-auto-revert-mode)
1422 (auto-revert-notify-add-watch, auto-revert-handler)
1423 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1424 `auto-revert-notify-enabled'.
1425
1426 2013-01-10 Elias Pipping <pipping@exherbo.org>
1427
1428 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1429 * doc-view.el (doc-view-document->bitmap):
1430 Use doc-view-single-page-converter-function instead of
1431 single-page-converter arg; adjust callers.
1432
1433 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1434
1435 * progmodes/which-func.el (which-function): Understand Semantic's use
1436 of overlays in imenu--index-alist.
1437
1438 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1439
1440 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1441 (Man-man-k-use-anchor): New var.
1442 (Man-parse-man-k): New function.
1443 (Man-completion-table): Use it.
1444 (man): Flush the completion cache between uses.
1445
1446 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1447
1448 * autorevert.el: Add file watch support.
1449 (auto-revert-notify-enabled): New defconst.
1450 (auto-revert-notify-watch-descriptor-hash-list)
1451 (auto-revert-notify-watch-descriptor)
1452 (auto-revert-notify-modified-p): New defvars.
1453 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1454 (auto-revert-notify-handler): New defuns.
1455 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1456 when mode is disabled.
1457 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1458 (auto-revert-buffers): Add file watches for active buffers.
1459
1460 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1461
1462 * cus-start.el (toplevel): Only allow float values for
1463 scroll-up-aggressively and scroll-down-aggressively.
1464 Allow any number for line-spacing.
1465
1466 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1467
1468 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1469 (doc-view-pdf->png-converter-function): Use mupdf if available.
1470 (doc-view-djvu->png-converter-function)
1471 (doc-view-ps->png-converter-function): Remove.
1472 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1473 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1474 (doc-view-already-converted-p): Adjust accordingly.
1475 (doc-view-mode-p): Simplify.
1476 (doc-view-enlarge): Use setq-local.
1477 (doc-view-pdf->png-converter-ghostscript)
1478 (doc-view-djvu->png-converter-ddjvu)
1479 (doc-view-pdf->png-converter-mupdf): Rework to call
1480 doc-view-start-process directly.
1481 (doc-view-pdf/ps->png): Simplify accordingly.
1482 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1483 (doc-view-document->bitmap): Rename from doc-view-document->png.
1484 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1485 (doc-view-set-slice-from-bounding-box): Fix completion table.
1486 (doc-view-mode): Use add-hook for after-revert-hook.
1487
1488 2013-01-10 Glenn Morris <rgm@gnu.org>
1489
1490 * emacs-lisp/authors.el (authors-ignored-files)
1491 (authors-valid-file-names, authors-renamed-files-alist):
1492 Add some more entries.
1493
1494 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1495
1496 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1497 `t' pseudo-window entry.
1498
1499 2013-01-10 Alan Mackenzie <acm@muc.de>
1500
1501 Fix bugs in the c-parse-state mechanism. Reuse some markers
1502 instead of continually generating new ones.
1503
1504 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1505 (c-state-old-cpp-end-marker): New variables.
1506 (c-append-lower-brace-pair-to-state-cache): Start a backward
1507 search for "}" definitively outside CPP constructs.
1508 (c-remove-stale-state-cache): Inform the caller of a need to
1509 search back for a brace pair in certain circumstances.
1510 (c-state-maybe-marker): New macro.
1511 (c-parse-state): Reuse markers when appropriate.
1512
1513 2013-01-10 Glenn Morris <rgm@gnu.org>
1514
1515 * simple.el (execute-extended-command): Doc fix.
1516 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1517
1518 2013-01-10 Chong Yidong <cyd@gnu.org>
1519
1520 * faces.el (read-face-name): Doc fix.
1521
1522 2013-01-10 Roland Winkler <winkler@gnu.org>
1523
1524 * emacs-lisp/crm.el: Allow any regexp for separators.
1525 (crm-default-separator): All spaces around the default comma separator.
1526 (crm--completion-command): New macro.
1527 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1528 (crm-complete-and-exit): Handle non-single-char separators.
1529
1530 2013-01-09 Elias Pipping <pipping@lavabit.com>
1531
1532 * doc-view.el: Add support for DjVu (bug#13164).
1533 (doc-view-djvu->png-converter-function): New config var.
1534 (doc-view-single-page-converter-function, doc-view--image-type)
1535 (doc-view--image-file-extension): New vars.
1536 (doc-view-mode): Initialize them.
1537 (doc-view-goto-page): Use them.
1538 (doc-view-mode-p): Add support for ddjvu.
1539 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1540 (doc-view-set-up-single-converter): New funs.
1541 (doc-view-pdf/ps->png): Extend for djvu.
1542 (doc-view-document->png): Rename from doc-view-pdf->png.
1543 (doc-view-convert-current-doc): Handle djvu.
1544 (doc-view-insert-image, doc-view-display)
1545 (doc-view-already-converted-p): Don't hardcode png.
1546 (doc-view-set-doc-type): Recognize djvu docs.
1547
1548 2013-01-09 Elias Pipping <pipping@lavabit.com>
1549
1550 * doc-view.el: Add support for mupdf converter (bug#13164).
1551 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1552 (doc-view-ps->png-converter-function): New config vars.
1553 (doc-view-pdf->png-converter-ghostscript)
1554 (doc-view-ps->png-converter-ghostscript)
1555 (doc-view-pdf->png-converter-mupdf): New functions.
1556 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1557
1558 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1559
1560 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1561 first in session cache: When `tramp-own-remote-path' is in
1562 `tramp-remote-path', the remote path is only set in the session
1563 cache.
1564
1565 2013-01-09 Glenn Morris <rgm@gnu.org>
1566
1567 * emacs-lisp/trace.el (trace-function-foreground)
1568 (trace-function-background): Doc fix.
1569
1570 2013-01-09 Juri Linkov <juri@jurta.org>
1571
1572 * international/mule-cmds.el (read-char-by-name): Move let-binding
1573 of completion-ignore-case around completing-read to fix regression
1574 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1575 `string-match-p' using the nil value of `case-fold-search' and
1576 `completion-ignore-case' in `completion-pcm--all-completions'.
1577 (Bug#12615).
1578
1579 2013-01-09 Glenn Morris <rgm@gnu.org>
1580
1581 * progmodes/compile.el (compilation-parse-errors):
1582 Fix typo. (Bug#13369)
1583
1584 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1585
1586 * comint.el (comint-send-input): Check size of buffer before
1587 waiting for process output, in case already accepted. (Bug#13290)
1588
1589 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1590
1591 Spelling fixes.
1592 * net/tramp-adb.el (tramp-adb-get-toolbox):
1593 Fix misspelling of 'unknown'.
1594
1595 2013-01-08 Juri Linkov <juri@jurta.org>
1596
1597 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1598 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1599 Use underline style wave on terminals that support it. (Bug#13000)
1600
1601 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1602
1603 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1604 the predicate returns nil.
1605
1606 * simple.el: Use lexical-binding.
1607 (primitive-undo): Use pcase.
1608 (minibuffer-history-isearch-push-state): Use a closure.
1609
1610 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1611
1612 * simple.el (primitive-undo): Move from undo.c.
1613
1614 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1615
1616 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1617 (cvs-mode-remove-handled): Use it (bug#13380).
1618
1619 * emacs-lisp/nadvice.el (advice--tweak): New function.
1620 (advice--remove-function, advice--subst-main): Use it.
1621
1622 * emacs-lisp/advice.el: Update commentary.
1623
1624 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1625
1626 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1627 Remove spurious entry.
1628
1629 2013-01-08 Glenn Morris <rgm@gnu.org>
1630
1631 * net/tramp.el (tramp-default-host-alist): Add :version.
1632
1633 2013-01-08 Juri Linkov <juri@jurta.org>
1634
1635 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1636 single completion. (Bug#12456)
1637 (info--manual-names): Expand node completions into an explicit list
1638 before appending it to another list. Filter out internal buffers
1639 with the leading space in the buffer name. (Bug#10771)
1640
1641 2013-01-08 Juri Linkov <juri@jurta.org>
1642
1643 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1644 that defaults to the Top node.
1645 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1646 the short format (FILENAME) goes to the Top node.
1647 (Info-build-node-completions): Rename arg `file' to `filename'.
1648 (Bug#13365)
1649
1650 2013-01-07 Bastien Guerry <bzg@gnu.org>
1651
1652 * menu-bar.el (menu-bar-search-documentation-menu):
1653 Use `apropos-user-option' and fix the help message.
1654
1655 2013-01-07 Bastien Guerry <bzg@gnu.org>
1656
1657 * apropos.el (apropos-do-all): Update docstring.
1658 (apropos-user-option-button): New face.
1659 (apropos-user-option): Rename from `apropos-variable' and update
1660 docstring.
1661 (apropos-variable): Rewrite, now show all variables by default.
1662 (apropos-print): Mention "User option" instead of "Variable" when
1663 printing doc for user options. (Bug#13276)
1664
1665 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1666
1667 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1668 Handle filename correctly, when parsing "source -> target" symlink
1669 output.
1670 (tramp-adb-handle-set-file-times): New defun.
1671
1672 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1673
1674 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1675 advice list when the interactive-spec of ad-Advice-* changes.
1676
1677 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1678
1679 * wid-edit.el (widget-default-get): Work for inlined elements.
1680 (Bug#12670)
1681
1682 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1683
1684 * net/tramp.el (tramp-default-host-alist): New defcustom.
1685 (tramp-find-host): Use it.
1686 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1687 `eshell-directory-change-hook'.
1688
1689 * net/tramp-adb.el (top): Add adb specific entry in
1690 `tramp-default-host-alist'.
1691 (tramp-adb-file-name-host): Remove function.
1692 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1693 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1694
1695 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1696
1697 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1698
1699 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1700
1701 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1702
1703 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1704 consist of more than one digit.
1705 (tramp-adb-file-name-handler-alist):
1706 Use `tramp-handle-file-exists-p' consistently.
1707 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1708 (tramp-adb-handle-file-exists-p): Remove function.
1709 (tramp-adb-file-name-host): New defun.
1710 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1711 Use it.
1712 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1713
1714 2013-01-06 Chong Yidong <cyd@gnu.org>
1715
1716 * vc/vc.el (vc-next-action): Detect buffer modifications
1717 conflicting with locking VCS operation (Bug#11490).
1718
1719 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1720
1721 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1722
1723 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1724 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1725
1726 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1727
1728 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1729 parsing of ls output using regular expression (handle filenames
1730 with spaces). Use virtual device number.
1731 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1732 cleanup).
1733
1734 2013-01-04 Daiki Ueno <ueno@gnu.org>
1735
1736 * epg.el: Silence byte-compiler warnings.
1737 (epg--start): Use delete-char instead of delete-backward-char.
1738 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1739
1740 2013-01-04 Daiki Ueno <ueno@gnu.org>
1741
1742 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1743 Suggested by Eli Zaretskii <eliz@gnu.org>.
1744
1745 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1746
1747 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1748 non-negative integers. Otherwise, the default values are used.
1749 (tramp-convert-file-attributes): Convert uid and gid to integers.
1750
1751 2013-01-04 Glenn Morris <rgm@gnu.org>
1752
1753 * term.el (term-handle-colors-array): Ensure face attributes
1754 are fully specified, not nil. (Bug#13337)
1755
1756 * term.el (term-default-fg-color, term-default-bg-color):
1757 Fix custom type.
1758
1759 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1760 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1761 rather than 'jka-compr being loaded. (Bug#13338)
1762
1763 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1764
1765 * icomplete.el (icomplete-completions):
1766 Honor icomplete-prospects-height once more following
1767 2012-11-29 changes. (Bug#13224)
1768
1769 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1770
1771 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1772 of called-interactively-p as well (bug#13237).
1773
1774 * view.el (view--enable, view--disable): Rename from view-mode-enable
1775 and view-mode-disable and assume it's called from view-mode.
1776 (view-mode-enable, view-mode-disable): Redefine as obsolete
1777 compatibility layer above view-mode.
1778 (view-mode-enter): Call `view-mode'.
1779
1780 * files.el (after-find-file): Call `view-mode'.
1781
1782 * doc-view.el (doc-view-scale-internally): New var.
1783 (doc-view-enlarge, doc-view-insert-image): Obey it.
1784
1785 2013-01-03 Daiki Ueno <ueno@gnu.org>
1786
1787 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1788 exist. (Bug#13344)
1789
1790 2013-01-03 Glenn Morris <rgm@gnu.org>
1791
1792 * mail/rmail.el (rmail-set-header-1): Ignore case.
1793 Handle multi-line headers. (Bug#13330)
1794
1795 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1796 Handle paragraph starting at beginning of buffer.
1797
1798 * subr.el (eval-after-load): Don't purecopy the form, so that it
1799 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1800
1801 * emacs-lisp/byte-run.el (defun): Place cl declarations
1802 after any interactive spec. (Bug#13265)
1803
1804 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1805
1806 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1807 defun. Don't check for DECL if DOCSTRING isn't a string.
1808 (defun): Likewise.
1809
1810 2013-01-02 Glenn Morris <rgm@gnu.org>
1811
1812 * eshell/em-cmpl.el (eshell-pcomplete):
1813 More thoroughly imitate pcomplete. (Bug#13293)
1814
1815 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1816 Return nil for empty path elements. (Bug#13296)
1817
1818 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1819
1820 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1821 order to improve efficiency (Based on Daniel Colascione's
1822 <dancol@dancol.org> patch). (Bug#13182)
1823
1824 2013-01-02 Glenn Morris <rgm@gnu.org>
1825
1826 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1827
1828 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1829
1830 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1831 neither DOCSTRING nor DECL was given. (Bug#13316)
1832
1833 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1834
1835 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1836 `error' call.
1837 (tramp-do-copy-or-rename-file): Ignore errors when calling
1838 `set-file-extended-attributes'.
1839
1840 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1841 Add handler for `file-acl'.
1842 (tramp-smb-handle-file-acl): New defun.
1843
1844 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1845
1846 * calc/README: Mention ISO 8601 week-numbering dates.
1847
1848 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1849
1850 * view.el (view-mode-enable): New argument run-view-mode-hook.
1851 Run view-mode-hook only when it's non-nil (Bug#13315).
1852 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1853 argument t.
1854
1855 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1856
1857 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1858 (No device connected, invalid device name). (Bug #13299)
1859
1860 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1861
1862 * window.el (window-resizable--p): Rename to window-resizable-p.
1863 (window-resize-no-error): New function.
1864
1865 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1866 broken in fix from 2012-12-28.
1867
1868 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1869
1870 * subr.el (special-form-p): Don't signal errors on undef aliases.
1871
1872 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1873
1874 * calc/calc-forms.el (math-parse-date): Try using
1875 `math-parse-iso-date' when it looks like it might be needed.
1876 Allow times of 24:00.
1877 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1878 of 24:00.
1879
1880 2012-12-30 Glenn Morris <rgm@gnu.org>
1881
1882 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1883 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1884 (rmail-summary-displayed, rmail-summary): Declare.
1885 (mairix-rmail-display): Just require rmail.
1886
1887 2012-12-30 Chong Yidong <cyd@gnu.org>
1888
1889 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1890 check for the tarball contents.
1891
1892 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1893
1894 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1895 tarfile content listings (Bug#13136).
1896
1897 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
1898
1899 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1900 Insert the undecoded text of the message being forwarded. (Bug#9521)
1901
1902 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
1903
1904 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1905 integers, if they are real numbers. (Bug#13282)
1906
1907 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1908 Return `t' on success.
1909
1910 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1911 Add handler for `set-file-selinux-context'.
1912
1913 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
1914
1915 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1916 (tramp-sh-handle-set-file-acl): Return `t' on success.
1917
1918 2012-12-29 Eli Zaretskii <eliz@gnu.org>
1919
1920 * files.el (backup-buffer-copy, basic-save-buffer-2):
1921 If set-file-extended-attributes fails, fall back on set-file-modes
1922 instead of signaling an error. (Bug#13298)
1923 (basic-save-buffer): Likewise.
1924
1925 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1926
1927 * progmodes/python.el: Support other commands triggering
1928 python-indent-line so indentation cycling continues to work.
1929 (python-indent-trigger-commands): New defcustom.
1930 (python-indent-line): Use it.
1931
1932 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1933
1934 * progmodes/python.el (python-shell-send-region): Add blank lines
1935 for non sent code so backtraces remain correct.
1936
1937 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1938
1939 * progmodes/python.el: Remove cl dependency.
1940 (python-syntax-count-quotes): Replace incf call.
1941 (python-fill-string): Replace setf call.
1942
1943 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
1944
1945 * info.el (info-other-window): New arg, for consistency with info.
1946
1947 2012-12-28 Martin Rudalics <rudalics@gmx.at>
1948
1949 * mail/rmail.el (rmail-maybe-display-summary):
1950 Rewrite (Bug#13066).
1951
1952 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1953
1954 * epg.el (epg--start): Modify process-environment locally.
1955
1956 2012-12-28 Daiki Ueno <ueno@gnu.org>
1957
1958 * epg.el: Support pinentry-curses.
1959 Suggested by Werner Koch in
1960 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1961 (epg-agent-file, epg-agent-mtime): New variable.
1962 (epg--start): Record the modified time of gpg-agent socket file,
1963 to restore Emacs frame after pinentry-curses termination.
1964 (epg-wait-for-completion): Restore Emacs frame here.
1965
1966 2012-12-27 Juri Linkov <juri@jurta.org>
1967
1968 * info.el (Info-file-completions): New variable.
1969 (Info-read-node-name-1): Complete node names in the Info file
1970 when a file name is given. Call `Info-build-node-completions'
1971 with a file name.
1972 (Info-build-node-completions): Add new arg `file'. When it is
1973 non-nil, visit it in a temporary buffer and cache its completions in
1974 `Info-current-file-completions'. Move most of the function body to
1975 `Info-build-node-completions-1'.
1976 (Info-build-node-completions-1): New function with the body from
1977 `Info-build-node-completions'. (Bug#12456)
1978
1979 2012-12-27 Juri Linkov <juri@jurta.org>
1980
1981 * frame.el (frame-maximization-style): Remove user option.
1982 (cycle-frame-maximized): Remove function.
1983 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1984 (toggle-frame-fullscreen): New command bound to <f11> instead of
1985 `toggle-frame-maximized'.
1986 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1987
1988 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
1989
1990 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1991
1992 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1993 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1994 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1995 for `file-accessible-directory-p'. (Bug#13275)
1996
1997 2012-12-27 Sam Steingold <sds@gnu.org>
1998
1999 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
2000 continuations, see <http://stackoverflow.com/questions/3582436>.
2001
2002 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
2003
2004 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
2005 "module" and "def" to have indentation before them.
2006 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
2007
2008 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
2009
2010 2012-12-27 Alan Mackenzie <acm@muc.de>
2011
2012 Speed up fontification where there's large brace blocks.
2013 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
2014 to a call of c-beginning-of-decl-1.
2015
2016 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2017
2018 * comint.el (comint-adjust-window-point): New function.
2019 (comint-postoutput-scroll-to-bottom):
2020 Call comint-adjust-window-point (Bug#13248).
2021
2022 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
2023
2024 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
2025 Rakefile regexp.
2026 (auto-mode-alist): Associate .gemspec files with ruby-mode
2027 (https://bugs.ruby-lang.org/issues/5453).
2028
2029 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
2030
2031 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
2032 Suppress coloring, if possible (required for BusyBox based systems like
2033 CyanogenMod).
2034 (tramp-adb-handle-file-attributes)
2035 (tramp-adb-handle-insert-directory)
2036 (tramp-adb-handle-file-name-all-completions): Use it.
2037 (tramp-adb-get-toolbox): New defun. Check for remote shell
2038 implementation (BusyBox or Toolbox).
2039
2040 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
2041
2042 * startup.el (initial-buffer-choice): Allow function as value
2043 (Bug#13251).
2044 (command-line-1): Handle case where initial-buffer-choice
2045 specifies a function.
2046 * server.el (server-execute): Handle case where
2047 initial-buffer-choice specifies a function.
2048
2049 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2050
2051 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2052 its own function.
2053 (smtpmail-try-auth-methods): Forget the user name/password if the
2054 login is unsuccessful (bug#12424).
2055
2056 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
2057
2058 * notifications.el (notifications-notify): Protect body with
2059 `with-demoted-errors'.
2060
2061 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2062 Check properties of remote device. Restart connection, if there is a
2063 change.
2064
2065 2012-12-21 Chong Yidong <cyd@gnu.org>
2066
2067 * sort.el (sort-subr): Doc fix (Bug#13056).
2068
2069 2012-12-21 Bastien Guerry <bzg@gnu.org>
2070
2071 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2072
2073 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
2074
2075 * simple.el (process-file): Overwrite stderr file, if exists.
2076
2077 2012-12-21 Daiki Ueno <ueno@gnu.org>
2078
2079 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
2080 (epg-error): Set `error-message' property.
2081
2082 2012-12-21 Chong Yidong <cyd@gnu.org>
2083
2084 * international/mule-cmds.el (read-char-by-name): Signal an error
2085 if the user does not supply a valid character (Bug#13177).
2086
2087 * simple.el (transpose-subr-1): Preserve marker positions by
2088 changing the insertion sequence (Bug#13122).
2089
2090 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2091
2092 * simple.el (kill-region): Deactivate mark even for empty regions
2093 (Bug#13169).
2094
2095 2012-12-21 Chong Yidong <cyd@gnu.org>
2096
2097 * help-fns.el (describe-variable): Make sure we get the right
2098 buffer name (Bug#13105). Suggested by Kelly Dean.
2099
2100 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2101
2102 * comint.el (comint-redirect-previous-input-string): New variable.
2103 (comint-redirect-setup, comint-redirect-cleanup)
2104 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2105 (comint-redirect-preoutput-filter): Fix verbose message.
2106
2107 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
2108
2109 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2110 is too long for Tramp. See discussion in
2111 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2112
2113 * progmodes/compile.el (compilation-start): Remove line escape
2114 template.
2115
2116 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2117
2118 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2119 Adjust comment.
2120
2121 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2122
2123 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2124 following non-comment text (bug#13207).
2125 (lm-header-multiline): Continuation lines need to be indented more than
2126 the first line.
2127 (lm-homepage): New function.
2128 (lm-with-file): Don't be confused if narrowing is in effect.
2129
2130 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2131
2132 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2133 very beginning of a hunk (e.g. killing the first line).
2134
2135 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
2136
2137 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2138 and text properties from returned ACL string.
2139 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2140 for "setfacl" command.
2141
2142 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
2143
2144 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2145 `tramp-cleanup-this-connection', when the process has died.
2146 (Bug#13151)
2147
2148 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2149
2150 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2151
2152 2012-12-17 Kevin Ryde <user42@zip.com.au>
2153
2154 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2155
2156 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
2157
2158 Add support for preserving ACL entries of files.
2159
2160 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2161 `set-file-acl' handlers.
2162
2163 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2164 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2165
2166 * net/tramp-compat.el (tramp-compat-copy-file):
2167 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2168
2169 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2170 Add `file-acl' and `set-file-acl' handlers.
2171 (tramp-gvfs-handle-copy-file):
2172 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2173 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2174 New defuns.
2175
2176 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2177 Add `file-acl' and `set-file-acl' handlers.
2178 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2179 (tramp-sh-handle-set-file-acl): New defuns.
2180 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2181 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2182
2183 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2184 Add `file-acl' and `set-file-acl' handlers.
2185 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2186
2187 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2188
2189 * help-macro.el (make-help-screen): Instead of switch-to-buffer
2190 use pop-to-buffer with NORECORD argument t. As buffer name, use
2191 *Metahelp* with a leading space (Bug#13190).
2192
2193 2012-12-16 Romain Francoise <romain@orebokech.com>
2194
2195 * files.el (file-extended-attributes)
2196 (set-file-extended-attributes): New functions.
2197 (backup-buffer): Use them to handle both SELinux context and ACL
2198 entries.
2199 (backup-buffer-copy): Work with an alist of extended attributes,
2200 rather than an SELinux context.
2201 (basic-save-buffer-2): Ditto.
2202
2203 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2204
2205 * battery.el (battery-bsd-apm): New function.
2206
2207 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2208
2209 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2210 standard date formats.
2211
2212 2012-12-15 Juri Linkov <juri@jurta.org>
2213
2214 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2215 `isearch-insert-char-by-name'.
2216 (with-isearch-suspended): New defmacro with body mostly from
2217 `isearch-edit-string' except the part that sets
2218 `isearch-new-string' and `isearch-new-message'.
2219 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2220 body that sets `isearch-new-string' and `isearch-new-message'.
2221 (isearch-insert-char-by-name): New command.
2222 * international/mule-cmds.el (read-char-by-name): Let-bind
2223 `enable-recursive-minibuffers' to t.
2224 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2225
2226 2012-12-15 Juri Linkov <juri@jurta.org>
2227
2228 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2229 (Bug#13175)
2230
2231 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2232
2233 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2234 the prompt. (Bug#13045)
2235
2236 2012-12-14 Glenn Morris <rgm@gnu.org>
2237
2238 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2239 Try to include filename in non-bytecomp warning. (Bug#13132)
2240
2241 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2242
2243 Fix permissions bugs with setgid directories etc. (Bug#13125)
2244 * files.el (backup-buffer): Don't rely on 9th output of
2245 file-attributes, as it's now a placeholder. Instead, use the new
2246 optional arg of file-ownership-preserved-p.
2247 (file-ownership-preserved-p): New optional arg GROUP.
2248 Fix mishandling of setuid directories that would cause this
2249 function to return t when it should have returned nil.
2250 Document what happens if the file does not exist, and when
2251 it's not known whether the ownership will be preserved.
2252 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2253 Likewise.
2254 (tramp-get-local-gid): Use group-gid for integer, as that's
2255 faster and more reliable.
2256
2257 2012-12-14 Julien Danjou <julien@danjou.info>
2258
2259 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2260 Update keywords list, data type and PL/pgSQL.
2261
2262 2012-12-14 Dave Abrahams <dave@boostpro.com>
2263
2264 * vc/ediff-util.el (ediff-buffer-type): New function.
2265 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2266 rather than taking it as as argument.
2267 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2268
2269 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2270
2271 * json.el: Add pretty-print option (bug#12634).
2272 (json-encoding-separator, json-encoding-default-indentation)
2273 (json--encoding-current-indentation, json-encoding-pretty-print)
2274 (json-encoding-lisp-style-closings): New vars.
2275 (json--with-indentation): New macro.
2276 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2277 (json-encode-array): Use it to obey json-encoding-pretty-print.
2278 (json-pretty-print-buffer, json-pretty-print): New commands.
2279
2280 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2281
2282 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2283 Extract `ruby-syntax-propertize-expansions'.
2284 (ruby-syntax-propertize-expansions): Only change syntax on
2285 certain string delimiters, to punctuation. This way the common
2286 functions like forward-word and thing-at-point still work.
2287 (ruby-match-expression-expansion): Improve readability.
2288 (ruby-block-contains-point): New function.
2289 (ruby-add-log-current-method): Handle several edge cases.
2290
2291 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2292
2293 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2294 unload-feature finishes even when aborting an ongoing edebug session.
2295 Also, do not worry about edebug-mode, unload-feature takes care of it.
2296
2297 2012-12-13 Andreas Schwab <schwab@suse.de>
2298
2299 * net/tls.el (tls-program): Update customize type.
2300
2301 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2302
2303 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2304 (edebug-setup-hook, cl-read-load-hooks): Use it.
2305 (edebug-unload-function): New function. (Bug#13163)
2306
2307 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2308
2309 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2310 Otherwise, there could be errors in autoloading. (Bug#13151)
2311
2312 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2313
2314 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2315 sequences.
2316
2317 2012-12-13 Alan Mackenzie <acm@muc.de>
2318
2319 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2320 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2321 around `forward-comment' not recognizing ^M as whitespace.
2322
2323 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2324
2325 * progmodes/python.el (python-skeleton-class)
2326 (python-skeleton-def): Do not add space after defun name.
2327
2328 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2329
2330 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2331 (cl--symbol-function): Remove (now that funbound is like nil).
2332
2333 2012-12-12 Glenn Morris <rgm@gnu.org>
2334
2335 * button.el (button--area-button-p): Fix typo.
2336
2337 2012-12-12 Sam Steingold <sds@gnu.org>
2338
2339 * frame.el (frame-maximization-style): New user option.
2340 (toggle-frame-maximized): Toggle frame maximization according to
2341 `frame-maximization-style', bound to <f11>.
2342 (cycle-frame-maximized): Cycle between all maximization styles and
2343 non-maximized frame, bound to shift-<f11>.
2344
2345 2012-12-12 David Cadé <codename68@gmail.com>
2346
2347 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2348
2349 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2350
2351 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2352 (eieio-override-prin1): Don't quote kewords and booleans.
2353 (object-write) <eieio-default-superclass>: Don't put closing parens
2354 on new line, avoid needless empty lines, align values that are objects
2355 with the slot keyword (instead of beginning on the same line).
2356 (eieio-list-prin1): Align value with slot keyword; increase
2357 eieio-print-depth before printing members of the list.
2358
2359 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2360
2361 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2362 a display text-property.
2363 (report-emacs-bug-hook): Don't bother deleting it any more.
2364
2365 * hilit-chg.el (highlight-save-buffer-state): Delete.
2366 Use with-silent-modifications instead.
2367 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2368
2369 * button.el: Handle buttons in display text-properties.
2370 (button--area-button-p, button--area-button-string):
2371 Use (STRING . STRING-POS) representation instead of just STRING.
2372
2373 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2374
2375 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2376 subdirectory be skipped.
2377
2378 2012-12-11 Glenn Morris <rgm@gnu.org>
2379
2380 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2381
2382 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2383 Treat preprocessor lines embedded in continuations like comments.
2384 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2385
2386 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2387
2388 * calc/calc.el (calc-standard-date-formats): Add more date
2389 formats.
2390 * calc/calc-forms.el (math-parse-iso-date): New function.
2391 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2392 (math-parse-iso-date-validate): Add extra error checking.
2393 (calc-date-notation): Add ability to access new date formats.
2394
2395 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2396
2397 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2398 font-lock as well as when there's no text-property.
2399
2400 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2401
2402 * hi-lock.el: Refine the choice of default face.
2403 (hi-lock-keyword->face): New function. Use it wherever we used
2404 cadadadr instead.
2405 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2406 (hi-lock--last-face): Remove var.
2407 (hi-lock--unused-faces): New var to replace it.
2408 (hi-lock-read-face-name): Use/maintain it.
2409 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2410 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2411 if it has another face.
2412
2413 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2414
2415 * subr.el (w32notify-handle-event): New function.
2416 (inotify-handle-event): Doc fix.
2417
2418 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2419
2420 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2421
2422 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2423
2424 * simple.el (just-one-space): Doc fix.
2425
2426 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2427
2428 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2429
2430 2012-12-10 Le Wang <l26wang@gmail.com>
2431
2432 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2433 narrowed buffer (bug#12361).
2434
2435 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2436
2437 * vc/vc-hooks.el (vc-state): Doc fix.
2438
2439 2012-12-10 Glenn Morris <rgm@gnu.org>
2440
2441 * mail/rmail.el (rmail-maybe-display-summary):
2442 Preserve buffer, in case select-window changes it. (Bug#13066)
2443
2444 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2445
2446 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2447 cl-load-hook where they belong.
2448
2449 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2450
2451 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2452
2453 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2454
2455 Parallelize byte compilation on MS-Windows.
2456 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2457 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2458 (WINS_BASIC): Define as concatenation of the above.
2459 (compile): Subdivide into 4 separate and independent jobs that can
2460 be run in parallel.
2461 (compile0-CMD, compile0-SH): New targets for compiling
2462 COMPILE_FIRST files, which are prerequisites for the rest of the
2463 byte-compilation.
2464 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2465 New targets for parallel compilation with cmd.exe.
2466 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2467 compiling under a Unixy shell.
2468
2469 2012-12-09 Chong Yidong <cyd@gnu.org>
2470
2471 * simple.el (set-mark-default-inactive): Delete this
2472 accidentally-introduced option.
2473 (set-mark-command, exchange-point-and-mark): Remove calls.
2474
2475 2012-12-09 Glenn Morris <rgm@gnu.org>
2476
2477 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2478 Respect a defcustom's :set function, if appropriate. (Bug#109)
2479 (eval-defun): Doc fix.
2480
2481 2012-12-08 Juri Linkov <juri@jurta.org>
2482
2483 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2484 (Info-fontify-node, Info-bookmark-make-record): Remove the
2485 file extension from Info-current-file (Bug#13016).
2486
2487 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2488
2489 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2490 point, still provide some default.
2491 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2492 names, since we don't use it right now. Actually return the list.
2493 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2494
2495 2012-12-07 Chong Yidong <cyd@gnu.org>
2496
2497 * novice.el (disabled-command-function): Remove a spurious help
2498 xref (Bug#13043). Suggested by Kelly Dean.
2499
2500 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2501 syntax is specified (Bug#13025).
2502
2503 * info.el (Info-set-mode-line): Remove the file extension from
2504 Info-current-file if there is one (Bug#13016).
2505
2506 2012-12-07 Glenn Morris <rgm@gnu.org>
2507
2508 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2509 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2510 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2511 and rmail-mime-decoded. (Bug#9841)
2512
2513 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2514 (batch-unrmail, unrmail): Doc fixes.
2515 (unrmail): Respect unrmail-mbox-format.
2516 * mail/rmail.el (rmail-mbox-format): New option.
2517 (rmail-show-message-1): Respect rmail-mbox-format.
2518
2519 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2520
2521 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2522
2523 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2524
2525 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2526 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2527 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2528 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2529 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2530 (cl-progv): Don't rely on dynamic scoping to find the body.
2531 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2532 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2533 (cl-declaim): Use backquotes.
2534 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2535 Use "cl--" prefix for the object's tag.
2536
2537 * ses.el: Use advice-add/remove.
2538 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2539 (copy-region-as-kill, yank): Use advice-add.
2540 (ses-unload-function): Use advice-remove.
2541
2542 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2543
2544 * button.el: Make them work in header-lines (bug#12817).
2545 (button-map): Add bindings for header-line and mode-line use.
2546 (button-get, button-put, button-label): `button' may now be a string.
2547 (button-activate): Don't make it a defsubst.
2548 (button--area-button-p, button--area-button-string): New functions.
2549 (make-text-button): Fix the return value when `beg' was a string.
2550 (push-button): Handle the mode-line case.
2551
2552 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2553
2554 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2555 (sql-signum): Remove. Use `cl-signum' instead.
2556 (sql-read-passwd): Remove; use read-passwd instread.
2557 (sql-get-login-ext): Use read-string.
2558 (sql-get-login): Use dolist and pcase.
2559 (sql--completion-table): Rename from sql-try-completion.
2560 Use complete-with-action.
2561 (sql-mode): Don't change abbrev-all-caps globally.
2562 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2563 (sql-postgres-completion-object): Initialize vars in their `let'.
2564 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2565 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2566 (sql-comint-interbase): Use a single append, without setq.
2567 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2568
2569 * hi-lock.el: Rework the default face and the serialize regexp code.
2570 (hi-lock--auto-select-face-defaults): Remove.
2571 (hi-lock-string-serialize-serial): Remove.
2572 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2573 make weak.
2574 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2575 equal string.
2576 (hi-lock-set-pattern): Adjust accordingly.
2577 (hi-lock--regexps-at-point): Simplify accordingly.
2578 (hi-lock--auto-select-face-defaults): Remove.
2579 (hi-lock--last-face): New var to replace it.
2580 (hi-lock-read-face-name): Rewrite (bug#11095).
2581 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2582
2583 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2584
2585 * net/tramp.el (tramp-replace-environment-variables):
2586 Hide compiler warning.
2587 (tramp-file-name-for-operation): Remove `executable-find',
2588 `start-process', `call-process' and `call-process-region'.
2589
2590 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2591
2592 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2593 compatibility.
2594
2595 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2596
2597 2012-12-06 Chong Yidong <cyd@gnu.org>
2598
2599 * ffap.el (ffap-replace-file-component): Fix typo.
2600
2601 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2602
2603 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2604 fix open-paren-like token test (bug#12785).
2605
2606 2012-12-06 Glenn Morris <rgm@gnu.org>
2607
2608 * mail/rmailsum.el (rmail-new-summary): Tweak for
2609 rmail-maybe-display-summary changing buffer. (Bug#13066)
2610
2611 2012-12-06 Juri Linkov <juri@jurta.org>
2612
2613 * info.el (Info-fontify-node): Don't hide the last newline.
2614 (Bug#12272)
2615
2616 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2617
2618 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2619 so as to enable message-read-from-minibuffer to expand mail aliases.
2620
2621 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2622
2623 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2624 the `intangible' property.
2625 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2626
2627 2012-12-05 Deniz Dogan <deniz@dogan.se>
2628
2629 * net/rcirc.el (rcirc-urls): Update documentation.
2630 (rcirc-condition-filter): New function.
2631 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2632 and exclude consecutive duplicate URLs (Bug#6082).
2633
2634 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2635
2636 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2637 Check return code of copy command.
2638
2639 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2640 Use group `tramp'. Add version.
2641
2642 2012-12-05 Chong Yidong <cyd@gnu.org>
2643
2644 * ffap.el (ffap-url-regexp): Don't require matching at front of
2645 string (Bug#4952).
2646 (ffap-url-p): If only a substring matches, return that.
2647 (ffap-url-at-point): Use the return value of ffap-url-p.
2648 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2649 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2650 (ffap-guess-file-name-at-point): Likewise.
2651 (ffap-replace-file-component): Fix typo.
2652
2653 * info.el (info-display-manual): Add existing Info buffers, whose
2654 files may not be in Info-directory-list, to the completion.
2655 (info--manual-names): New helper function.
2656
2657 2012-12-05 Glenn Morris <rgm@gnu.org>
2658
2659 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2660 New functions, for detecting and resolving conflicts. (Bug#10709)
2661
2662 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2663
2664 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2665 (hi-lock-auto-select-face-defaults): New buffer local variable.
2666 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2667 (hi-lock-unface-buffer): Prompt user with useful defaults.
2668 With prefix arg, unhighlight all hi-lock patterns in buffer.
2669
2670 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2671
2672 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2673
2674 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2675
2676 * Makefile.in (TRAMP_SRC):
2677 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2678
2679 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2680
2681 * net/tramp-adb.el: New package.
2682
2683 2012-12-04 Chong Yidong <cyd@gnu.org>
2684
2685 * terminal.el: Move to obsolete/.
2686
2687 * longlines.el: Move to obsolete/.
2688
2689 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2690 Remove code referring to longlines mode.
2691
2692 2012-12-03 Juri Linkov <juri@jurta.org>
2693
2694 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2695
2696 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2697
2698 * textmodes/ispell.el (ispell-init-process)
2699 (ispell-start-process, ispell-internal-change-dictionary):
2700 Make sure personal dictionary name is expanded after initial
2701 `default-directory' value. Use expanded strings for
2702 keep/restart checks and for value (Bug#13019).
2703
2704 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2705
2706 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2707
2708 2012-12-03 Leo Liu <sdl.web@gmail.com>
2709
2710 * files.el (dir-locals-read-from-file): Check file non-empty
2711 before reading. (Bug#13038)
2712
2713 2012-12-03 Glenn Morris <rgm@gnu.org>
2714
2715 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2716 Remove any version extension before checking filename. (Bug#13006)
2717 (jka-compr-compression-info-list): Belated :version bump.
2718
2719 2012-12-03 Chong Yidong <cyd@gnu.org>
2720
2721 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2722
2723 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2724 (buffer-menu): Doc fix (Bug#12294).
2725
2726 2012-12-03 Roland Winkler <winkler@gnu.org>
2727
2728 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2729 of diary-show-all-entries in the diary buffer (Bug#12994).
2730
2731 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2732
2733 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2734 "<STDIN>". This is binary safe.
2735
2736 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2737
2738 * calc/calc-forms.el (math-absolute-from-iso-dt)
2739 (math-date-to-iso-dt, math-parse-iso-date-validate)
2740 (math-iso-dt-to-date): New functions.
2741 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2742 (math-fd-isoweekday): New variables.
2743 (calc-date-notation, math-parse-standard-date, math-format-date)
2744 (math-format-date-part): Add support for more formatting codes.
2745
2746 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2747
2748 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2749 current buffer's file name when called interactively (Bug#12488).
2750
2751 2012-12-02 Juri Linkov <juri@jurta.org>
2752
2753 * info.el (info-display-manual): Don't clobber an existing Info
2754 buffer (Bug#10770). Add completion (Bug#10771).
2755
2756 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2757
2758 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2759 before using it for comparison (Bug#5297).
2760
2761 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2762
2763 * textmodes/css-mode.el (css-current-defun-name): New function.
2764 (css-mode): Use it.
2765
2766 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2767 (html-mode): Use it.
2768
2769 2012-12-01 Chong Yidong <cyd@gnu.org>
2770
2771 Modularize add-log-current-defun (Bug#2224).
2772 Suggested by Jari Aalto.
2773
2774 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2775 (add-log-current-defun): Move mode-specific code to other files.
2776 (add-log-lisp-like-modes, add-log-c-like-modes)
2777 (add-log-tex-like-modes): Variables deleted.
2778
2779 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2780 (lisp-mode-variables): Use it.
2781
2782 * progmodes/cc-mode.el (c-common-init):
2783 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2784 add-log-current-defun-function.
2785
2786 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2787 (m4-mode): Use it.
2788
2789 * progmodes/perl-mode.el (perl-current-defun-name): New.
2790 (perl-mode): Use it.
2791
2792 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2793 Use lisp-current-defun-name.
2794
2795 * textmodes/tex-mode.el (tex-current-defun-name): New.
2796 (tex-common-initialization): Use it.
2797
2798 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2799 (texinfo-mode): Use it.
2800
2801 2012-12-01 Chong Yidong <cyd@gnu.org>
2802
2803 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2804 * progmodes/autoconf.el (autoconf-mode):
2805 * progmodes/js.el (js-mode):
2806 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2807 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2808 * progmodes/perl-mode.el (perl-mode):
2809 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2810 * textmodes/css-mode.el (css-mode):
2811 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2812 (sgml-tags-invisible, sgml-guess-indent):
2813 * textmodes/tex-mode.el (tex-common-initialization)
2814 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2815 (doctex-mode, plain-tex-mode, latex-mode):
2816 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2817
2818 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2819
2820 * vc/vc-hg.el (vc-hg-next-revision):
2821 Ensure use of default "tip" output format. (Bug#6968)
2822
2823 2012-12-01 Kim F. Storm <storm@cua.dk>
2824
2825 * startup.el (fancy-startup-tail): Add a clickable link
2826 (Bug#2176).
2827
2828 2012-12-01 Chong Yidong <cyd@gnu.org>
2829
2830 * startup.el (fancy-startup-tail): Improve the message about
2831 auto-save files (Bug#2176).
2832
2833 * files.el (recover-session): Improve the descriptive message, and
2834 use substitute-command-keys.
2835
2836 2012-12-01 Glenn Morris <rgm@gnu.org>
2837
2838 * ido.el (ido-file-internal):
2839 Handle other-window, other-frame for dired. (Bug#13036)
2840
2841 2012-11-30 Glenn Morris <rgm@gnu.org>
2842
2843 * icomplete.el (icomplete-separator): Fix :version.
2844
2845 2012-11-30 Chong Yidong <cyd@gnu.org>
2846
2847 * shell.el (shell): For C-u M-x shell, use an inactive shell
2848 buffer as the default (Bug#1975).
2849 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2850 (shell-mode): Use them to reapply ansi colorization if Shell mode
2851 is re-enabled.
2852
2853 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2854
2855 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2856
2857 2012-11-30 Samuel Bronson <naesten@gmail.com>
2858
2859 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2860 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2861
2862 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2863
2864 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2865 by move-to-column (Bug#3234).
2866
2867 2012-11-30 Chong Yidong <cyd@gnu.org>
2868
2869 * longlines.el (longlines-wrap-line, longlines-encode-region):
2870 Preserve text properties (Bug#1425).
2871
2872 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2873
2874 * vc/vc.el (vc-register): Allow registering a file which is
2875 already registered with a different backend (Bug#10589).
2876
2877 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2878 Stefan Monnier <monnier@iro.umontreal.ca>
2879
2880 * icomplete.el: Change separator; add ido-style commands.
2881 (icomplete-show-key-bindings): Remove custom var.
2882 (icomplete-get-keys): Remove function.
2883 (icomplete-forward-completions, icomplete-backward-completions):
2884 New commands.
2885 (icomplete-minibuffer-map): New var.
2886 (icomplete-minibuffer-setup): Use it.
2887 (icomplete-exhibit): Don't delay if the list of completions is known.
2888 (icomplete-separator): New custom.
2889 (icomplete-completions): Use it.
2890 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2891 (minibuffer-force-complete-and-exit): New command.
2892 (minibuffer--complete-and-exit): New function extracted from
2893 minibuffer-complete-and-exit.
2894 (minibuffer-complete-and-exit): Use it.
2895
2896 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2897 error message when the file doesn't exist (bug#12974).
2898
2899 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2900
2901 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2902
2903 2012-11-29 Glenn Morris <rgm@gnu.org>
2904
2905 * files.el (hack-dir-local-variables): Warn if try to set
2906 coding via dir-locals, since it doesn't work. (Bug#7169)
2907
2908 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2909 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2910 Set buffer-local value of desktop-save-buffer.
2911 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2912 New functions.
2913 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2914 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2915
2916 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2917 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2918 Doc fix.
2919 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2920 Doc fixes.
2921
2922 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2923
2924 * calc/calc-forms.el (calc-date-notation): Fix regexp
2925 used to find time codes. Fix symbol for seconds.
2926
2927 2012-11-27 Glenn Morris <rgm@gnu.org>
2928
2929 * emacs-lisp/derived.el (derived-mode-make-docstring):
2930 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2931
2932 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2933
2934 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2935 lexically scoped variables (bug#13005).
2936
2937 2012-11-27 Glenn Morris <rgm@gnu.org>
2938
2939 * vc/vc-hooks.el (vc-mistrust-permissions):
2940 Default to t, to avoid data-loss. (Bug#11490)
2941
2942 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
2943
2944 * progmodes/python.el (python-indent-guess-indent-offset):
2945 If indentation is guessed make python-indent-offset buffer-local.
2946
2947 Fix Imenu regression.
2948 * progmodes/python.el (python-nav-beginning-of-defun):
2949 Fix forward movement when statement(s) separates point from defun.
2950 (python-imenu-prev-index-position): New function.
2951
2952 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2953
2954 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2955
2956 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2957 Don't set buffer-file-type. Return nil. (Bug#12989)
2958
2959 2012-11-27 Glenn Morris <rgm@gnu.org>
2960
2961 * hippie-exp.el (hippie-expand-try-functions-list):
2962 Re-autoload it. (Bug#12982)
2963
2964 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2965
2966 * descr-text.el (describe-char-padded-string):
2967 Call internal-char-font only on GUI frames. (Bug#11964)
2968
2969 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
2970
2971 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2972 and obsoletion message.
2973
2974 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2975
2976 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2977 the constructs to keep outside of the `cl-block' (bug#12977).
2978
2979 2012-11-27 Chong Yidong <cyd@gnu.org>
2980
2981 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2982 keep reading until we get the up-event anyway, in order to process
2983 the up-event for mouse-1-click-follows-link (Bug#12971).
2984
2985 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2986
2987 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2988 base function is not yet defined (bug#12965).
2989 (ad-activate-advised-definition): Use ad-compile-function.
2990 (ad-activate): Use cond.
2991
2992 2012-11-25 Leo Liu <sdl.web@gmail.com>
2993
2994 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2995 (Bug#12979)
2996
2997 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2998
2999 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
3000 reftex-section-info-function in order to be compatible with
3001 Texinfo integration.
3002
3003 * textmodes/reftex.el (reftex-section-pre-regexp)
3004 (reftex-section-post-regexp, reftex-section-info-function):
3005 New variable.
3006 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
3007 reftex-section-post-regexp, and reftex-section-info-function in order
3008 to be compatible with Texinfo integration.
3009
3010 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3011 use reftex-section-pre-regexp variable in order to be compatible with
3012 Texinfo integration.
3013
3014 2012-11-25 Chong Yidong <cyd@gnu.org>
3015
3016 * faces.el: Make face-spec-set more analogous to setq.
3017 (face-spec-set): Change the third arg to specify whether this
3018 function is being called via defface, customize, or a third party.
3019 Set the appropriate symbol properties. Clear the override spec if
3020 setting via Custom. Initialize face if necessary. (Bug#4988)
3021 (face-spec-recalc): Allow theme faces to completely replace the
3022 defface spec, in the same way as custom faces (Bug#8454).
3023
3024 * cus-face.el (custom-declare-face): Move face initialization to
3025 face-spec-set.
3026 (custom-theme-set-faces): Don't initialize the face name here, as
3027 that is now done in face-spec-set.
3028
3029 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
3030 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
3031 Simplify by using the new arg to face-spec-set.
3032
3033 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
3034 reset face-override-spec too, and use custom-declare-face.
3035
3036 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
3037
3038 * term/ns-win.el (ns-initialize-window-system): Move creation of
3039 fontsets here (Bug#11964).
3040
3041 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
3042
3043 * ses.el (ses-rename-cell): Correct bug on mode-line update after
3044 cell renaming.
3045
3046 2012-11-24 Chong Yidong <cyd@gnu.org>
3047
3048 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
3049 obsolete.
3050
3051 * custom.el (custom-theme-set-variables): Use a topological sort
3052 for ordering by custom dependencies (Bug#12952).
3053 (custom--sort-vars, custom--sort-vars-1): New functions.
3054
3055 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3056
3057 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3058 lexical-binding (bug#12938).
3059
3060 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
3061
3062 * image-mode.el (image-transform-check-size): Use assertions only
3063 for images of type imagemagick.
3064
3065 Otherwise no error, image-transform-fit-to-{width,height} is
3066 silently ignored, as before. Doc fix.
3067
3068 2012-11-24 Chong Yidong <cyd@gnu.org>
3069
3070 * faces.el (color-defined-p): Doc fix (Bug#12853).
3071
3072 2012-11-24 Juri Linkov <juri@jurta.org>
3073
3074 * dired.el (dired-mark): Add optional arg `interactive'.
3075 Check for `use-region-p' if `interactive' is non-nil.
3076 (dired-unmark, dired-flag-file-deletion): Add optional arg
3077 `interactive'. Call `dired-mark' with the arg `interactive'.
3078 (Bug#10624)
3079
3080 * wdired.el: Revert 2012-10-17 change partly and replace it with
3081 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3082 (wdired-finish-edit): Add marks for new file names to
3083 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3084 after `revert-buffer'.
3085 (wdired-do-renames): Remove calls to `dired-remove-file',
3086 `dired-add-file', `dired-add-entry'. (Bug#11795)
3087
3088 2012-11-24 Alan Mackenzie <acm@muc.de>
3089
3090 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3091
3092 Fix bugs in the state cache. Enhance a debugging mechanism.
3093 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3094 "brace at column zero" strategy for C++.
3095 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3096 (c-parse-state-point): New variable.
3097 (c-record-parse-state-state): Record old parse state with
3098 `copy-tree'. Record previous value of point.
3099 (c-debug-parse-state-double-cons): New debugging function.
3100 (c-debug-parse-state): Call the above new function.
3101 (c-toggle-parse-state-debug): Output a confirmatory message.
3102
3103 * progmodes/cc-mode.el (c-before-change, c-after-change):
3104 Call c-invalidate-state-cache from `c-before-change' instead of
3105 `c-after-change'.
3106
3107 2012-11-23 Chong Yidong <cyd@gnu.org>
3108
3109 * find-cmd.el (find-constituents): Add executable, ipath,
3110 readable, samefile, writable, daystart, regextype (Bug#12856).
3111
3112 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3113
3114 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3115
3116 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3117
3118 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3119 definition. This fixes a bootstrap failure.
3120 (calc-gregorian-switch): In menu, put dates before regions.
3121 This is easier to follow, lines up better in the menu, and lets us
3122 coalesce regions that switch at the same time. Give country
3123 names, not "Vatican", as that's better for non-expert users.
3124 Use names that are stable between the date of switch and now, e.g.,
3125 Bohemia and Moravia (which existed then and now) and not
3126 Czechoslovakia (which didn't exist then and doesn't exist now).
3127 What is now the U.S. mostly did not switch at the same time as
3128 Britain, so omit the U.S. Correct spelling of "Britain".
3129 Catholic Switzerland was too much of a mess, so omit it.
3130
3131 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3132
3133 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3134 after the variable is changed.
3135
3136 2012-11-21 Daniel Colascione <dancol@dancol.org>
3137
3138 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
3139 in SQL declarations for font-lock.
3140 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
3141
3142 2012-11-21 Glenn Morris <rgm@gnu.org>
3143
3144 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3145 (face-italic-p): Add optional argument "inherit".
3146
3147 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3148 Remove -p suffix from names, for consistency with other set-face-*.
3149 (set-face-inverse-video): Fix interactive spec.
3150 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3151 * textmodes/table.el (table--update-cell-face):
3152 Use set-face-inverse-video rather than now obsolete alias.
3153
3154 2012-11-21 Eli Zaretskii <eliz@gnu.org>
3155
3156 * simple.el (line-move): Don't call line-move-partial if
3157 scroll-conservatively is in effect. (Bug#12927)
3158
3159 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3160
3161 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3162 Fallback on completion-at-point rather than
3163 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3164 (eshell-cmpl-initialize): Setup completion-at-point.
3165
3166 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3167
3168 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3169
3170 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
3171
3172 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3173 are remote, check out-of-band property for both.
3174
3175 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3176
3177 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3178 code rewrite.
3179
3180 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
3181
3182 More minor time fixes.
3183 * calendar/time-date.el: Commentary fix.
3184 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3185 too much other code depends on (0 0) time stamps.
3186 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3187 Add a couple of FIXME comments.
3188
3189 Minor cleanup for times as lists of four integers.
3190 * files.el (dir-locals-directory-cache):
3191 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3192 Doc fixes.
3193 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3194 * ps-bdf.el (bdf-file-newer-than-time):
3195 Process four-integers time stamps, not two. Doc fixes.
3196
3197 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3198
3199 * uniquify.el (uniquify-managed): Use defvar-local.
3200 (rename-buffer, create-file-buffer): Advise with advice-add.
3201 (uniquify-unload-function): Unadvise accordingly.
3202
3203 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3204 (trace-buffer): Don't purecopy.
3205 (trace-entry-message, trace-exit-message): Add `context' arg.
3206 (trace--timer): New var.
3207 (trace-make-advice): Adjust for use in nadvice.
3208 Add `context' argument. Delay `display-buffer' via a timer.
3209 (trace-function-internal): Use advice-add.
3210 (trace--read-args): New function.
3211 (trace-function-foreground, trace-function-background): Use it.
3212 (trace-function): Rename to trace-function-foreground and redefine as
3213 an alias to that new name.
3214 (untrace-function, untrace-all): Adjust to the use of nadvice.
3215
3216 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3217
3218 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3219
3220 * subr.el (called-interactively-p-functions): New var.
3221 (internal--called-interactively-p--get-frame): New macro.
3222 (called-interactively-p, interactive-p): Rewrite in Lisp.
3223 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3224 (called-interactively-p-functions): Use it.
3225 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3226 (called-interactively-p-functions): Use it.
3227 * allout.el (allout-called-interactively-p): Don't assume
3228 called-interactively-p is a subr.
3229
3230 2012-11-20 Glenn Morris <rgm@gnu.org>
3231
3232 * profiler.el (profiler-report-mode-map): Add a menu.
3233 No need to bind `q' because we derive from special-mode.
3234 (profiler-report-find-entry): Handle calls from the menu-bar.
3235
3236 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3237
3238 * emacs-lisp/byte-run.el (defun-declarations-alist):
3239 Allow a compiler-macro to be a lambda expression.
3240
3241 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3242 eval-when-compile.
3243 (python-syntax-context): Add compiler-macro.
3244 (python-font-lock-keywords): Simplify with De Morgan.
3245
3246 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3247
3248 * files.el (load-file): Require match in minibuffer selection, as was
3249 the case in Emacs-20 before we changed the spec to allow .elc files
3250 (bug#12935).
3251
3252 * json.el: Don't require cl since we don't use it.
3253 * color.el: Don't require cl.
3254 (color-complement): `caddr' -> `nth 2'.
3255
3256 * calendar/time-date.el (time-to-seconds): De-obsolete.
3257
3258 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3259
3260 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3261 year numbers.
3262 (math-date-to-julian-dt): Adjust the initial approximation for the
3263 year to deal with the new definition of the DATE.
3264
3265 2012-11-19 Daniel Colascione <dancol@dancol.org>
3266
3267 * term/w32-win.el (cygwin-convert-path-from-windows):
3268 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3269
3270 2012-11-18 Chong Yidong <cyd@gnu.org>
3271
3272 * filecache.el (file-cache--read-list): New function.
3273 (file-cache-add-directory-list, file-cache-add-file-list)
3274 (file-cache-delete-file-list, file-cache-delete-directory-list):
3275 Use it to read a list of files or directories (Bug#12846).
3276 (file-cache-add-file, file-cache-add-directory)
3277 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3278 (file-cache-delete-directory): Print an message.
3279
3280 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3281
3282 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3283 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3284
3285 2012-11-18 Glenn Morris <rgm@gnu.org>
3286
3287 * image.el (insert-image, insert-sliced-image): Doc fix.
3288
3289 2012-11-18 Chong Yidong <cyd@gnu.org>
3290
3291 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3292 (Bug#12810).
3293
3294 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3295
3296 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3297 response when the target file is in a subdirectory (Bug#12757).
3298
3299 2012-11-18 Chong Yidong <cyd@gnu.org>
3300
3301 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3302
3303 2012-11-18 Glenn Morris <rgm@gnu.org>
3304
3305 * emacs-lisp/cl-lib.el (face-underline-p):
3306 Use set-face-underline rather than the alias set-face-underline-p.
3307
3308 * window.el (with-temp-buffer-window): Doc fix.
3309 * subr.el (with-output-to-temp-buffer):
3310 Add doc xref to with-temp-buffer-window.
3311
3312 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3313
3314 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3315 * calc/calc.el (math-format-date-cache): Declare.
3316
3317 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3318
3319 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3320 It also uses January 1, 1 AD as its day number 1.
3321 * calc/calc-forms.el (math-julian-date-beginning)
3322 (math-julian-date-beginning-int): Implement this.
3323
3324 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3325
3326 * descr-text.el (quail-find-key):
3327 * dired.el (desktop-file-name):
3328 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3329 * generic-x.el (comint-mode, comint-exec):
3330 * image-dired.el (widget-forward):
3331 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3332 (speedbar-change-expand-button-char)
3333 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3334 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3335 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3336 (widget-field-action, widget-value-set):
3337 * speedbar.el (imenu--make-index-alist):
3338 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3339 (ring-length, ring-insert):
3340 * vcursor.el (compare-windows-skip-whitespace):
3341 * woman.el (dired-get-filename):
3342 Declare functions.
3343
3344 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3345
3346 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3347
3348 * calc/calc.el (calc-gregorian-switch): New variable.
3349
3350 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3351 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3352 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3353 (math-leap-year-p): Add option to distinguish between Julian
3354 and Gregorian calendars.
3355 (math-day-number): Use `math-day-in-year' to do the computations.
3356 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3357 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3358 to do the computations.
3359 (math-date-to-dt): Use `math-date-to-julian-dt' and
3360 `math-date-to-gregorian-dt' to do the computations.
3361 (calcFunc-weekday, math-format-date-part): Use the new version of
3362 the DATE to determine the weekday.
3363 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3364 when necessary.
3365
3366 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3367
3368 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3369 Cygwin; otherwise use 'file:'. (Bug#12914)
3370 (cygwin-convert-path-from-windows): Declare, to avoid
3371 byte-compiler warnings.
3372
3373 2012-11-17 Andreas Politz <politza@fh-trier.de>
3374
3375 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3376 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3377 prefix and negative numeric prefix args (Bug#12795).
3378
3379 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3380
3381 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3382 Don't signal an error with a score that is too low to add to the
3383 list of top scores. (Bug#12779)
3384
3385 2012-11-17 Chong Yidong <cyd@gnu.org>
3386
3387 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3388
3389 * filecache.el (file-cache-add-file): Handle relative file name in
3390 the argument (Bug#12694).
3391
3392 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3393
3394 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3395
3396 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3397
3398 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3399
3400 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3401
3402 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3403
3404 * window.el (enlarge-window, shrink-window): Don't mention return
3405 value in doc-string (Bug#12896).
3406 (window--display-buffer): Don't resize frames - it won't work
3407 with all window managers and defeat pop-up-frame-alist.
3408 (display-buffer-alist): In doc-string explain that CONDITION can
3409 be a function and which arguments are passed to it (Bug#12854).
3410 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3411 expressions (Bug#12854).
3412 (display-buffer): Pass ACTION argument to
3413 display-buffer-assq-regexp.
3414
3415 2012-11-16 Glenn Morris <rgm@gnu.org>
3416
3417 * window.el (fit-frame-to-buffer-bottom-margin)
3418 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3419
3420 * faces.el (face-underline-p): Use face-attribute-specified-or.
3421
3422 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3423
3424 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3425
3426 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3427
3428 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3429
3430 2012-11-16 Glenn Morris <rgm@gnu.org>
3431
3432 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3433 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3434
3435 * faces.el (face-underline-p): Doc fix. Handle :underline being
3436 things other than `t' (a string, a list).
3437 (face-inverse-video-p): Doc fix.
3438 (set-face-underline): Rename it back from set-face-underline-p.
3439 Doc fix. Allow interactive input of values other than t.
3440 (read-face-attribute): Apply formatting to :underline,
3441 since like :box and :stipple it can take list values.
3442
3443 * term.el (ansi-term): Don't let C-x escape-char binding
3444 clobber the more standard C-c binding. (Bug#12842)
3445
3446 * subr.el (set-temporary-overlay-map): Doc fix.
3447
3448 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3449
3450 * window.el (record-window-buffer)
3451 (display-buffer-record-window): When copying the markers to
3452 window-point preserve window-point-insertion-type. (Bug#12588)
3453
3454 2012-11-16 Glenn Morris <rgm@gnu.org>
3455
3456 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3457 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3458 Use new names for hooks rather than obsolete aliases.
3459
3460 2012-11-15 Daniel Colascione <dancol@dancol.org>
3461
3462 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3463 prefix instead of "file:" so that when FILE-NAME begins with "//",
3464 as it does when the target file is on a network share, url-handler
3465 isn't confused.
3466
3467 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3468
3469 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3470 a preactivated advice from an old advice.el; they're not compatible!
3471
3472 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3473
3474 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3475 Fix string-spec case.
3476
3477 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3478
3479 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3480
3481 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3482 (advice--buffer-local-function-sample): New var.
3483 (advice--set-buffer-local, advice--buffer-local): New functions.
3484 (add-function, remove-function): Use them.
3485
3486 2012-11-15 Drew Adams <drew.adams@oracle.com>
3487
3488 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3489
3490 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3491
3492 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3493 potential binding of print-gensym to t, and prettify (back)quotes in
3494 case they appear in args's default values (bug#12884).
3495
3496 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3497
3498 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3499 (advice-eval-interactive-spec): New function.
3500 (advice--make-interactive-form): Support around advice (bug#12844).
3501
3502 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3503
3504 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3505 more strict. Add docstring.
3506 (ruby-expression-expansion-re): Extract from
3507 `ruby-match-expression-expansion'.
3508 (ruby-syntax-propertize-function): After everything else, search
3509 for expansions in string literals, mark their insides as
3510 whitespace syntax and save match data for font-lock.
3511 (ruby-font-lock-keywords): Use the 2nd group from expression
3512 expansion matches.
3513 (ruby-match-expression-expansion): Use the match data saved to the
3514 text property in ruby-syntax-propertize-function.
3515
3516 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3517
3518 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3519 (bug#12879).
3520
3521 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3522
3523 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3524 start/end keyword a bit harder. Works with different values of N.
3525 Add more comments.
3526 (ruby-end-of-block): Update accordingly.
3527
3528 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3529
3530 * woman.el (woman-file-name): Don't mess with unread-command-events
3531 (bug#12861).
3532
3533 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3534 Remove out of date self-require hack.
3535 (ad-do-advised-functions): Use simple `dolist'.
3536 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3537 (ad-advice-definition): Redefine as functions.
3538 (ad-advice-classes): Move before first use.
3539 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3540 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3541 (ad--defalias-fset): Remove functions.
3542 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3543 (ad-get-orig-definition): Rewrite.
3544 (ad-make-advised-definition-docstring): Change base docstring.
3545 (ad-real-orig-definition): Rewrite.
3546 (ad-map-arglists): Change name of called function.
3547 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3548 (ad-make-advised-definition): Simplify.
3549 (ad-assemble-advised-definition): Tweak for new calling context.
3550 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3551 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3552 function and call ad-activate if needed.
3553 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3554 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3555 (ad-compile-function): Compile ad-Advice-*.
3556 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3557 (ad-start-advice, ad-stop-advice): Remove.
3558
3559 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3560
3561 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3562 period before class method names, not after. Remove handling of
3563 one impossible case. Add comments.
3564
3565 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3566
3567 * emacs-lisp/advice.el: Remove support for freezing.
3568 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3569 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3570 Remove support for `freeze'.
3571
3572 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3573 override the default.
3574 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3575 cl--dotimes/dolist.
3576 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3577 `cl' is loaded.
3578
3579 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3580 from add-advice.
3581 (advice--strip-macro): New function.
3582 (advice--defalias-fset): Use them to handle macros.
3583 (advice-add): Use them.
3584 (advice-member-p): Correctly handle macros.
3585
3586 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3587
3588 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3589 Never font-lock the beginning of singleton class as heredoc.
3590
3591 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3592
3593 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3594
3595 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3596
3597 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3598 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3599 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3600
3601 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3602
3603 Fix end-of-defun misbehavior.
3604 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3605 python-beginning-of-defun-function. Handle nested defuns
3606 correctly.
3607 (python-nav-end-of-defun): Rename from
3608 python-end-of-defun-function. Ensure forward movement.
3609 (python-info-current-defun): Reimplement to work as intended
3610 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3611 parent defuns as soon as possible.
3612
3613 2012-11-13 Glenn Morris <rgm@gnu.org>
3614
3615 * progmodes/flymake.el (flymake-error-bitmap)
3616 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3617 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3618
3619 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3620
3621 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3622 backward, always stop at indentation. Reverts the change from
3623 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3624
3625 2012-11-13 Glenn Morris <rgm@gnu.org>
3626
3627 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3628 Add ibuffer-filter-by-derived-mode.
3629
3630 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3631 the same name shadowing each other.
3632
3633 * window.el (with-temp-buffer-window): Doc tweak.
3634
3635 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3636
3637 * help.el (temp-buffer-max-height):
3638 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3639 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3640
3641 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3642
3643 * emacs-lisp/nadvice.el: New package.
3644 * subr.el (special-form-p): New function.
3645 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3646 (elp-all-instrumented-list): Remove var.
3647 (elp-not-profilable): Remove elp-wrapper.
3648 (elp-profilable-p): Use autoloadp and special-form-p.
3649 (elp--advice-name): New const.
3650 (elp-instrument-function): Use advice-add.
3651 (elp--instrumented-p): New predicate.
3652 (elp-restore-function): Use advice-remove.
3653 (elp-restore-all, elp-reset-all): Use mapatoms.
3654 (elp-set-master): Use elp--instrumented-p.
3655 (elp--make-wrapper): Rename from elp-wrapper, return a function
3656 suitable for advice-add. Use cl-inf.
3657 (elp-results): Use mapatoms+elp--instrumented-p.
3658 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3659 (debug-function-list): Remove var.
3660 (debug): Rename arg, and then let-bind it explicitly inside.
3661 (debugger-setup-buffer): Rename arg.
3662 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3663 (debugger-frame-number): Adjust to new debug-on-entry setup.
3664 (debug--implement-debug-on-entry): Rename from
3665 implement-debug-on-entry, add argument.
3666 (debugger-special-form-p): Remove, use special-form-p instead.
3667 (debug-on-entry): Use advice-add.
3668 (debug--function-list): New function.
3669 (cancel-debug-on-entry): Use it, along with advice-remove.
3670 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3671 (debugger-list-functions): Use debug--function-list instead of
3672 debug-function-list.
3673 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3674 (ad-special-form-p): Remove, use special-form-p instead.
3675 (ad-set-advice-info): Use add-function and remove-function.
3676 (ad--defalias-fset): Adjust accordingly.
3677
3678 2012-11-10 Glenn Morris <rgm@gnu.org>
3679
3680 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3681 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3682 (report-emacs-bug-create-existing-bugs-buffer)
3683 (report-emacs-bug-parse-query-results)
3684 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3685
3686 * term.el (term-default-fg-color, term-default-bg-color):
3687 Make obsolete, rather than just saying "deprecated" in the doc.
3688
3689 * term.el (term): Rename from `term-face'.
3690 (term-current-face, ansi-term-color-vector)
3691 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3692 Update all users.
3693
3694 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3695
3696 * server.el (server-create-window-system-frame): Handle Nextstep
3697 specially (Bug#12780).
3698
3699 2012-11-10 Glenn Morris <rgm@gnu.org>
3700
3701 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3702 Unautoload, and make obsolete. (Bug#7449)
3703
3704 2012-11-10 Chong Yidong <cyd@gnu.org>
3705
3706 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3707 rename from diff-remove-trailing-whitespace (Bug#12831).
3708
3709 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3710
3711 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3712 miscompilation of trace.el.
3713
3714 2012-11-10 Glenn Morris <rgm@gnu.org>
3715
3716 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3717
3718 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3719
3720 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3721 (bug#12812).
3722
3723 2012-11-10 Chong Yidong <cyd@gnu.org>
3724
3725 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3726 a defcustom with an appropriate :set function.
3727 (minibuffer-default--in-prompt-regexps): New function.
3728
3729 2012-11-10 Glenn Morris <rgm@gnu.org>
3730
3731 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3732 (define-modify-macro): Doc fixes.
3733
3734 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3735 (gv-define-simple-setter): Update doc of `fix-return'.
3736
3737 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3738
3739 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3740 twice when `fix-return' is set (bug#12813).
3741
3742 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3743 gv-define-simple-setter (bug#12812).
3744
3745 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3746 (bug#12756).
3747
3748 2012-11-10 Glenn Morris <rgm@gnu.org>
3749
3750 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3751
3752 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3753 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3754 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3755 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3756
3757 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3758
3759 2012-11-10 Leo Liu <sdl.web@gmail.com>
3760
3761 * ido.el (ido-set-matches-1): Improve flex matching performance by
3762 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3763
3764 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3765
3766 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3767 (ad--defalias-fset): New function.
3768 (ad-safe-fset): Remove.
3769 (ad-make-freeze-definition): Use cl-letf*.
3770
3771 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3772
3773 * subr.el (dolist): Don't bind VAR in RESULT.
3774
3775 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3776 (fset, documentation): Don't save real def since we don't advise.
3777 (ad-do-advised-functions): Remove problematic `result-form'.
3778 (ad-safe-fset): `ad-real-fset' => `fset'.
3779 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3780 uses CL's dolist internally.
3781 (ad-arglist): Remove unused arg `name'.
3782 (ad-docstring, ad-make-advised-docstring):
3783 `ad-real-documentation' => `documentation'.
3784 (warning-suppress-types): Declare.
3785 (ad-set-arguments): Simple CSE.
3786 (ad-recover-normality): Sanity check.
3787
3788 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3789 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3790
3791 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3792
3793 * ses.el: symbol to coordinate mapping is made by symbol property
3794 `ses-cell'. This means that the same mapping is done for all SES
3795 sheets. That is good enough for cells with standard A1 names, but
3796 not for named cell. So a hash map is added for the latter.
3797 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3798 (ses-sym-rowcol): Use hashmap for named cell.
3799 (ses-is-cell-sym-p): New defun.
3800 (ses-decode-cell-symbol): New defun.
3801 (ses-create-cell-variable): Add cell to hashmap when name is not
3802 A1-like.
3803 (ses-rename-cell): Check that cell new name is not already in
3804 spreadsheet with the use of ses-is-cell-sym-p
3805 (ses-rename-cell): Use hash map for named cells, but accept also
3806 renaming back to A1-like.
3807
3808 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3809
3810 * emacs-lisp/advice.el: Use new dynamic docstrings.
3811 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3812 Use dynamic-docstring-function instead of ad-advice-info.
3813 (ad--make-advised-docstring): New function extracted from
3814 ad-make-advised-docstring.
3815 (ad-make-advised-docstring): Use it.
3816 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3817 from sql-help.
3818 (sql-help): Use it with dynamic-docstring-function.
3819
3820 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3821
3822 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3823
3824 * files.el (hack-one-local-variable--obsolete): New function.
3825 (hack-one-local-variable): Use it for obsolete settings.
3826
3827 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3828 the new name.
3829
3830 * progmodes/js.el (js--filling-paragraph): New var.
3831 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3832 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3833 less sneaky.
3834
3835 2012-11-08 Julien Danjou <julien@danjou.info>
3836
3837 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3838 `auto-mode-alist' (Bug#12835).
3839
3840 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3841
3842 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3843 (perl--prettify-symbols-alist): New const.
3844 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3845 New functions.
3846 (perl-font-lock-keywords-2): Use them.
3847 (perl-electric-noindent-p): New function.
3848 (perl-mode): Use it to set up electric-indent-mode.
3849 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3850 (perl-mode-map): Remove bindings for them.
3851 (perl-imenu-generic-expression, perl-outline-level):
3852 Match functions&packages in column>0.
3853
3854 * env.el (env--substitute-vars-regexp): New const.
3855 (substitute-env-vars): Use it. Add `only-defined' arg.
3856 * net/tramp.el (tramp-replace-environment-variables): Use it.
3857
3858 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3859 Byte-compile *before* eval in eval-and-compile.
3860 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3861 (byte-compile-file-form-autoload): Don't hide actual definition.
3862 (byte-compile-maybe-guarded): Accept `functionp' as well.
3863
3864 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3865
3866 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3867
3868 * notifications.el (notifications-get-server-information-method):
3869 New defconst.
3870 (notifications-get-capabilities): Fix docstring.
3871 (notifications-get-server-information): New defun.
3872
3873 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3874
3875 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3876 readability.
3877
3878 * textmodes/ispell.el: Experimental support for support debugging.
3879 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3880 buffer for ispell.
3881 (ispell-print-if-debug): New function to print stuff to
3882 `ispell-debug-buffer' if debugging is enabled.
3883 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3884 show some debugging info.
3885 (ispell-buffer-with-debug): New function that creates a debugging
3886 buffer and calls `ispell-buffer' with debugging enabled.
3887
3888 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3889 comment in autoconf mode. (Bug#12768)
3890
3891 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3892
3893 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3894 frame-first-window, frame-root-window, frame-selected-window,
3895 minibuffer-selected-window, minibuffer-window,
3896 window-absolute-pixel-edges, window-at, window-body-height,
3897 window-body-width, window-display-table, window-combination-limit,
3898 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3899 window-inside-edges, window-inside-pixel-edges, window-left-child,
3900 window-left-column, window-margins, window-next-buffers,
3901 window-next-sibling, window-new-normal, window-new-total,
3902 window-normal-size, window-parameter, window-parameters, window-parent,
3903 window-pixel-edges, window-point, window-prev-buffers,
3904 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3905 window-start, window-text-height, window-top-child, window-top-line,
3906 window-total-height, window-total-width and window-use-time to the list
3907 of functions without side-effects.
3908 (toplevel): Add window-valid-p to the list of error-free functions
3909 without side-effects.
3910
3911 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3912
3913 * textmodes/ispell.el (ispell-program-name):
3914 Update spellchecker parameters when customized.
3915
3916 2012-11-04 Glenn Morris <rgm@gnu.org>
3917
3918 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3919
3920 2012-11-04 Chong Yidong <cyd@gnu.org>
3921
3922 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3923 same-window-* variables.
3924
3925 2012-11-04 Juri Linkov <juri@jurta.org>
3926
3927 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3928 (isearch-describe-key, isearch-describe-mode): Use a display
3929 action instead of binding same-window-* variables (Bug#10040).
3930
3931 2012-11-03 Glenn Morris <rgm@gnu.org>
3932
3933 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3934 Rename handler properties back from cl-- to cl-. (Bug#12788)
3935
3936 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3937
3938 2012-11-03 Eli Zaretskii <eliz@gnu.org>
3939
3940 * term/pc-win.el: Don't load term/internal from here.
3941
3942 * loadup.el: Load term/internal from here.
3943
3944 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3945
3946 * progmodes/python.el (inferior-python-mode): Fix hang in
3947 jit-lock (Bug#12645).
3948
3949 2012-11-03 Martin Rudalics <rudalics@gmx.at>
3950
3951 * window.el (switch-to-visible-buffer)
3952 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3953
3954 2012-11-03 Glenn Morris <rgm@gnu.org>
3955
3956 * emacs-lisp/cl-lib.el (cl--random-time):
3957 Rename from cl-random-time. (Bug#12773)
3958 (cl--gensym-counter, cl--random-state): Update callers.
3959 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3960
3961 2012-11-03 Chong Yidong <cyd@gnu.org>
3962
3963 * cus-start.el: Make cursor-type customizable (Bug#11633).
3964
3965 2012-11-02 Glenn Morris <rgm@gnu.org>
3966
3967 * filecache.el: No need to load find-lisp when compiling.
3968 (find-lisp-find-files): Autoload it.
3969 (file-cache-add-directory-recursively): Don't require find-lisp.
3970
3971 * image.el (image-type-from-file-name): Trivial simplification.
3972
3973 * emacs-lisp/bytecomp.el (byte-compile-eval):
3974 Decouple "noruntime" and "cl-functions" warnings.
3975
3976 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
3977
3978 * play/gomoku.el (gomoku-display-statistics): Update mode line
3979 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3980
3981 2012-10-31 Martin Rudalics <rudalics@gmx.at>
3982
3983 * window.el (quit-restore-window): If the window has been
3984 created on an existing frame and ended up as the sole window on
3985 that frame, do not delete it (Bug#12764).
3986
3987 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3988
3989 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3990 Rename from sh--inside-arithmetic-expression, handle more cases
3991 (bug#11263).
3992
3993 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3994 (sh-font-lock-open-heredoc): Use it (bug#12770).
3995
3996 2012-10-30 Glenn Morris <rgm@gnu.org>
3997
3998 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3999
4000 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
4001
4002 2012-10-29 Chong Yidong <cyd@gnu.org>
4003
4004 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
4005 function key is stored in a keyboard macro (Bug#4894).
4006
4007 * thingatpt.el (number-at-point): Apply a thing-at-point property.
4008
4009 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4010
4011 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
4012 header comments".
4013 (diff-unified->context, diff-context->unified)
4014 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
4015
4016 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
4017
4018 * files.el (find-alternate-file): Only ask one question (bug#12487).
4019
4020 2012-10-29 Chong Yidong <cyd@gnu.org>
4021
4022 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
4023 Suggested by Dan Nicolaescu (Bug#6326).
4024
4025 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
4026
4027 * startup.el (fancy-about-screen): Don't message (Bug#12680).
4028
4029 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
4030
4031 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
4032
4033 * face-remap.el (face-remap-add-relative): Handle the case where a
4034 face-remapping-alist entry is a cons cell (Bug#12762).
4035
4036 2012-10-29 Kevin Ryde <user42@zip.com.au>
4037
4038 * woman.el (woman-parse-numeric-value): Handle picas correctly
4039 (Bug#12639).
4040
4041 2012-10-29 Glenn Morris <rgm@gnu.org>
4042
4043 * emacs-lisp/cl.el (defsetf): Doc fix.
4044
4045 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4046
4047 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
4048 syntax to the matching opener, if any (bug#12547).
4049 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
4050 matching open as a "case-(".
4051 (sh-smie-rc-grammar): Add a corresponding rule for it.
4052
4053 2012-10-28 Daniel Hackney <dan@haxney.org>
4054
4055 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4056 "PKGNAME-autoloads.el" in case we created it.
4057
4058 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4059
4060 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4061 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
4062 (completion--twq-all): Disable too-strict assertions.
4063
4064 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4065
4066 2012-10-27 Eli Zaretskii <eliz@gnu.org>
4067
4068 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4069 text to match the real keybindings.
4070
4071 2012-10-27 Juri Linkov <juri@jurta.org>
4072
4073 * wdired.el (wdired-keep-marker-rename): New defcustom.
4074 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4075 (Bug#11795)
4076
4077 * dired.el (dired-keep-marker-rename): Add reference to
4078 `wdired-keep-marker-rename' in the docstring.
4079 Add default character value ?R to display initially in
4080 Customization UI instead of ?@.
4081
4082 2012-10-27 Martin Rudalics <rudalics@gmx.at>
4083
4084 * window.el (display-buffer): In doc-string describe
4085 window-height and window-width alist entries.
4086
4087 * time.el (display-time-world): Restore fit-window-to-buffer
4088 behavior.
4089
4090 2012-10-27 Chong Yidong <cyd@gnu.org>
4091
4092 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4093
4094 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
4095
4096 * minibuffer.el (completion-category-overrides): New completion
4097 category `bookmark' (bug#11131).
4098
4099 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4100
4101 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4102 Silence bogus compiler warnings for ad-do-it.
4103
4104 * bookmark.el (bookmark-completing-read): Set the completion category
4105 to `bookmark' (bug#11131).
4106
4107 2012-10-26 Bastien <bzg@altern.org>
4108 Stefan Monnier <monnier@iro.umontreal.ca>
4109
4110 * face-remap.el: Use lexical-binding.
4111 (text-scale-adjust): Improve docstring. Use itself for the temporary
4112 overlay-map bindings, so as to repeat the "Use..." message each time.
4113
4114 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4115
4116 * emacs-lisp/macroexp.el (macroexp--expand-all):
4117 Obey byte-compile-warning-enabled-p (bug#12486).
4118
4119 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4120 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4121
4122 2012-10-26 Martin Rudalics <rudalics@gmx.at>
4123
4124 * mouse.el (mouse-drag-line): Move last form into preceding when
4125 clause (Bug#12731).
4126
4127 * help.el (resize-temp-buffer-window): Fix doc-string.
4128
4129 2012-10-25 David Engster <deng@randomsample.de>
4130
4131 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4132 Remove. This feature is already integrated in imenu.
4133
4134 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4135 always loaded. Require `speedbar' unconditionally.
4136
4137 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4138
4139 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4140
4141 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4142
4143 * net/ldap.el (ldap-search-internal): The official ldif format starts
4144 with a "version: 1" header (bug#12724).
4145
4146 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4147 (bug#12721).
4148
4149 2012-10-25 Glenn Morris <rgm@gnu.org>
4150
4151 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4152
4153 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4154
4155 * minibuffer.el (minibuffer-force-complete): Use one more marker
4156 for the temporary-overlay-map command (bug#12619).
4157
4158 2012-10-24 Chong Yidong <cyd@gnu.org>
4159
4160 * time.el (display-time-world-mode): Derive from special-mode.
4161 (display-time-world): Use display-buffer (Bug#12708).
4162 (display-time-world-mode-map): Variable deleted.
4163 (display-time-world-display): Wrap the final delete-char inside
4164 inhibit-read-only.
4165
4166 2012-10-24 Chong Yidong <cyd@gnu.org>
4167
4168 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4169 Doc fix.
4170
4171 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4172
4173 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4174
4175 * minibuffer.el (completion--all-sorted-completions-location): New var.
4176 (completion--cache-all-sorted-completions)
4177 (completion--flush-all-sorted-completions): Use it.
4178 (completion-in-region, completion-in-region--postch)
4179 (completion-at-point, completion-help-at-point): Use markers in
4180 completion-in-region--data (bug#12619).
4181
4182 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4183
4184 * progmodes/compile.el (compilation-start): Try to handle common
4185 quoting of `cd' argument (bug#12640).
4186
4187 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4188 (bug#12671).
4189
4190 2012-10-23 Glenn Morris <rgm@gnu.org>
4191
4192 * progmodes/gud.el (gud-menu-map):
4193 Check gdb-active-process is bound. (Bug#12358)
4194
4195 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4196
4197 * repeat.el (repeat): Set real-this-command (bug#12232).
4198
4199 * htmlfontify.el (hfy-post-html-hook):
4200 * filesets.el (filesets-cache-fill-content-hook):
4201 * arc-mode.el (archive-extract-hook):
4202 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4203 * net/rcirc.el (rcirc-sentinel-functions)
4204 (rcirc-receive-message-functions, rcirc-activity-functions)
4205 (rcirc-print-functions):
4206 * net/dbus.el (dbus-event-error-functions):
4207 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4208 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4209 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4210 * term/sun.el (sun-raw-prefix-hooks):
4211 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4212
4213 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
4214
4215 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4216 Set `tramp-chunksize' to 1. This improves the performance.
4217 (tramp-smb-wait-for-output): Add timeout to
4218 `tramp-accept-process-output' calls.
4219
4220 2012-10-23 Chong Yidong <cyd@gnu.org>
4221
4222 * faces.el (font-list-limit): Define as an obsolete variable.
4223
4224 * startup.el (command-line):
4225 * cus-start.el: Don't refer to font-list-limit.
4226
4227 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4228
4229 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4230
4231 * subr.el (internal-temp-output-buffer-show): Rename from
4232 temp-output-buffer-show, since previously compiled files expect this name.
4233
4234 2012-10-23 Glenn Morris <rgm@gnu.org>
4235
4236 * image.el (image-type-from-file-name): If multiple types match,
4237 return the first one that is supported. (Bug#9045)
4238
4239 2012-10-22 Glenn Morris <rgm@gnu.org>
4240
4241 * image.el (imagemagick-enabled-types): Doc fix.
4242
4243 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4244
4245 * progmodes/which-func.el (which-func-current): The hash-table may have
4246 an explicit nil (bug#12338).
4247
4248 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4249
4250 * electric.el (electric-pair-delete-selection-self-insert-function):
4251 Rename to electric-pair-will-use-region, return a boolean.
4252 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4253
4254 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4255 (delete-selection-pre-hook): Use use-region-p.
4256 (delete-selection-self-insert-function): Remove.
4257 (self-insert-command): Obey self-insert-uses-region-functions.
4258 (self-insert-iso): Revert to previous setting, since we don't actually
4259 know what that command does.
4260 (delete-selection-self-insert-hooks): Remove.
4261
4262 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4263
4264 * delsel.el (delete-selection-helper): New function, extracted from
4265 delete-selection-pre-hook.
4266 (delete-selection-pre-hook): Use it.
4267 (delete-selection-self-insert-function): New function.
4268 (delete-selection-self-insert-hooks): New hook.
4269 (self-insert-command, self-insert-iso): Use it.
4270 * electric.el (electric-pair-syntax): New function, extracted from
4271 electric-pair-post-self-insert-function.
4272 (electric-pair-post-self-insert-function): Use it.
4273 (electric-pair-delete-selection-self-insert-function): New function.
4274 (electric-pair-mode): Require delsel and setup
4275 delete-selection-self-insert-hooks (bug#11520).
4276
4277 2012-10-20 Chong Yidong <cyd@gnu.org>
4278
4279 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4280 no changes to show (Bug#12586).
4281
4282 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4283 list explicitly (Bug#12571).
4284
4285 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4286
4287 * progmodes/flymake.el (flymake-create-temp-inplace):
4288 Use file-truename.
4289
4290 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4291
4292 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4293
4294 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4295
4296 * calc/calc-units.el (math-extract-units): Properly extract powers
4297 of units.
4298
4299 2012-10-20 Daniel Colascione <dancol@dancol.org>
4300
4301 * frame.el (make-frame): Set x-display-name as we used to in order
4302 to unbreak creating an X11 frame from an Emacs daemon started
4303 without a display.
4304
4305 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4306
4307 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4308 the same completion-field (bug#12221).
4309
4310 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4311
4312 * emacs-lisp/debug.el (debug): Record height of debugger window
4313 also when debugger will be back (Bug#8789).
4314
4315 2012-10-18 Chong Yidong <cyd@gnu.org>
4316
4317 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4318 Convert to defcustom.
4319 (gdb-get-source-file): Don't bind pop-up-windows.
4320
4321 * progmodes/gud.el (gud-display-line): Don't specially re-use
4322 other frames for the gdb-mi case (Bug#12648).
4323
4324 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4325
4326 * emacs-lisp/advice.el: Clean up commentary a bit.
4327 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4328 (byte-code-function-p): Never redefine.
4329
4330 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4331
4332 2012-10-18 Glenn Morris <rgm@gnu.org>
4333
4334 * dired.el (dired-sort-toggle): Some ls implementations only allow
4335 a single option string. (Bug#12666)
4336
4337 * minibuffer.el (completion-cycle-threshold): Doc fix.
4338
4339 2012-10-17 Kenichi Handa <handa@gnu.org>
4340
4341 * international/mule.el (set-keyboard-coding-system):
4342 Recover input meta mode when the new coding system doesn not use 8-bit.
4343 Supply TERMINAL arg to set-input-meta-mode.
4344
4345 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4346
4347 * wdired.el (wdired-old-marks): New variable.
4348 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4349 (wdired-do-renames): Move point with renamed file and don't lose
4350 mark status (Bug#11795).
4351
4352 2012-10-16 Juri Linkov <juri@jurta.org>
4353
4354 * replace.el (query-replace-help): Mention multi-buffer replacement
4355 keys in the Help message. (Bug#12655)
4356
4357 2012-10-15 Chong Yidong <cyd@gnu.org>
4358
4359 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4360
4361 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4362
4363 * window.el (display-buffer): Doc fix.
4364
4365 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4366 Adjust the msft regexp to the output of Studio 2010, and move msft
4367 before edg-1. See the discussion on emacs-devel,
4368 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4369 for the details.
4370
4371 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4372
4373 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4374 (oset): Move uses of object-class-fast macro after its definition.
4375
4376 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4377
4378 2012-10-13 Chong Yidong <cyd@gnu.org>
4379
4380 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4381 enabled, re-enable it (Bug#11963).
4382
4383 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4384
4385 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4386 non-nil, restore window configuration (Bug#12623).
4387
4388 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4389
4390 * help-fns.el (describe-variable, describe-function-1):
4391 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4392
4393 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4394
4395 2012-10-12 Glenn Morris <rgm@gnu.org>
4396
4397 * mail/rmailsum.el (rmail-header-summary):
4398 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4399
4400 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4401
4402 * progmodes/python.el (python-mode-map):
4403 Replace subtitute-key-definition with proper command remapping.
4404 (python-nav--up-list): Fix behavior for blocks on the same level.
4405
4406 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4407
4408 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4409
4410 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4411 changes to the format of load-history.
4412
4413 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4414 completion-ignore-case in case that var is buffer-local (bug#12615).
4415
4416 2012-10-11 Kenichi Handa <handa@gnu.org>
4417
4418 * international/eucjp-ms.el: Re-generated.
4419
4420 2012-10-10 Kenichi Handa <handa@gnu.org>
4421
4422 * select.el (xselect--encode-string): If a coding is specified for
4423 selection, and that is compatible with COMPOUND_TEXT, use it.
4424
4425 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4426
4427 * window.el (switch-to-buffer-preserve-window-point): New option.
4428 (switch-to-buffer):
4429 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4430
4431 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4432
4433 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4434 Don't document nil as a useful value (bug#12583).
4435
4436 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4437
4438 * net/tramp.el (tramp-debug-message):
4439 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4440 (with-tramp-progress-reporter): Rename from
4441 `tramp-with-progress-reporter'.
4442 (with-tramp-file-property, with-tramp-connection-property):
4443 Move from tramp-cache.el, rename from `with-file-property' and
4444 `with-connection-property', respectively.
4445
4446 * net/tramp-cache.el: Remove `with-file-property' and
4447 `with-connection-property'.
4448
4449 * net/tramp.el:
4450 * net/tramp-gvfs.el:
4451 * net/tramp-sh.el:
4452 * net/tramp-smb.el: Adapt callees.
4453
4454 * net/trampver.el: Update release number.
4455
4456 2012-10-09 Glenn Morris <rgm@gnu.org>
4457
4458 * w32-fns.el (set-message-beep):
4459 * term/w32-win.el (set-message-beep): Update declarations.
4460
4461 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4462
4463 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4464 (mode-line-widen, mode-line-input-method-map)
4465 (mode-line-coding-system-map, mode-line-remote)
4466 (mode-line-unbury-buffer, mode-line-bury-buffer)
4467 (mode-line-next-buffer, mode-line-previous-buffer):
4468 Replace save-selected-window+select-window => with-selected-window.
4469
4470 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4471 * progmodes/cc-vars.el (bq-process): Remove, unused.
4472
4473 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4474
4475 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4476
4477 Implemented `backward-up-list'-like navigation.
4478 * progmodes/python.el (python-nav-up-list)
4479 (python-nav-backward-up-list): New functions.
4480 (python-mode-map): Define substitute key for backward-up-list to
4481 python-nav-backward-up-list.
4482
4483 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4484
4485 * progmodes/python.el (python-fill-paragraph): Rename from
4486 python-fill-paragraph-function. Fixed fill-paragraph for
4487 decorators (Bug#12605).
4488
4489 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4490
4491 * progmodes/python.el (python-shell-output-filter): Handle extra
4492 carriage return in OSX (Bug#12409).
4493
4494 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4495
4496 Fix shell handling of unbalanced quotes and parens in output.
4497 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4498 (python-syntax-propertize-function): Use it.
4499 (python-shell-output-syntax-table): New var.
4500 (inferior-python-mode): Prevent unbalanced parens/quotes from
4501 previous output mess with current input context.
4502
4503 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4504
4505 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4506 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4507
4508 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4509
4510 * ffap.el (ffap-replace-file-component): Support Tramp file name
4511 syntax, not only ange-ftp's one.
4512
4513 2012-10-08 Glenn Morris <rgm@gnu.org>
4514
4515 * cus-start.el (message-log-max): Set :version.
4516
4517 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4518
4519 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4520
4521 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4522 the minibuffer window (Bug#10851).
4523
4524 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4525
4526 Enhancements on forward-sexp movement.
4527 * progmodes/python.el (python-nav-beginning-of-statement)
4528 (python-nav-end-of-statement): Return point-marker.
4529 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4530 (python-info-current-symbol)
4531 (python-info-statement-starts-block-p): Rename from
4532 python-info-beginning-of-block-p.
4533 (python-info-statement-ends-block-p): Rename from
4534 python-info-end-of-block-p.
4535 (python-info-beginning-of-statement-p)
4536 (python-info-end-of-statement-p)
4537 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4538 New functions.
4539
4540 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4541
4542 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4543 frame-selected-windows.
4544
4545 2012-10-08 Daniel Colascione <dancol@dancol.org>
4546
4547 * battery.el (battery-status-function): Check for
4548 w32-battery-status itself, not system-time windows-nt.
4549
4550 * frame.el: Require cl-lib.
4551 (display-format-alist): New variable mapping frame types to
4552 functions that initialize them.
4553 (window-system-for-display): New function: interprets
4554 display-format-alist.
4555 (make-frame-on-display): Remove existing display-selection logic
4556 and just forward to make-frame, which will now DTRT.
4557 (make-frame): Restructure to use window-system-for-display to
4558 figure out how to create a frame on a given display.
4559 (display-mouse-p): Look for frame-type w32, not a particular
4560 system-type.
4561
4562 * loadup.el: Load w32 lisp code when we have the w32 feature.
4563
4564 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4565 system-type windows-nt.
4566
4567 * server.el (server-create-window-system-frame): Look for window
4568 type.
4569 (server-proces-filter): Only force a window system when windows-nt
4570 _and_ w32. Explain why.
4571
4572 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4573 of window systems we configure for the mode.
4574
4575 * startup.el (command-line): Mark window system is initialized
4576 after we've done it.
4577
4578 * common-win.el (x-select-text): Look for w32, not windows-nt.
4579
4580 * ns-win.el: Require cl-lib. Add ourselves to
4581 display-format-alist.
4582 (ns-initialize-window-system): Assert we're not initialized twice.
4583
4584 * w32-win.el: Enable lexical binding; require cl-lib; add
4585 ourselves to display-format-alist.
4586 (w32-handle-dropped-file): Convert incoming dropped files from
4587 Windows paths to Cygwin ones before passing them on to the rest of
4588 Emacs.
4589 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4590 (w32-initialize-window-system): Assert we're not initialized twice.
4591
4592 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4593 (x-initialize-window-system): Assert we're not initialized twice.
4594
4595 * w32-common-fns.el: New File.
4596 (w32-version, w32-using-nt, w32-get-clipboard-data)
4597 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4598 (w32-charset-info-alist, x-last-selected, text)
4599 (x-get-selection-value, x-selection-value): Move here.
4600
4601 * w32-fns.el: Require w32-common-fns.
4602 (w32-version, w32-using-nt, w32-get-clipboard-data)
4603 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4604 (w32-charset-info-alist, x-last-selected, text)
4605 (x-get-selection-value, x-selection-value): Move to
4606 w32-common-fns.
4607
4608 * w32-vars.el:
4609 (w32-allow-system-shell, w32-system-shells): Define only in
4610 non-cygwin case.
4611
4612 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4613
4614 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4615 (read-passwd): Remove a few more potential sources of leaks.
4616
4617 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4618
4619 * progmodes/python.el (inferior-python-mode)
4620 (python-shell-make-comint): Fix initialization of local
4621 variables copied from parent buffer.
4622
4623 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4624
4625 * term/ns-win.el (ns-read-file-name): Update declaration to match
4626 nsfns.m.
4627 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4628 it is set when font is acted upon.
4629
4630 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4631
4632 Enhancements to indentation.
4633 * progmodes/python.el (python-indent-context): Give priority to
4634 inside-string context. Make comments indentation markers.
4635 (python-indent-region): Do not mess with strings, unless it's the
4636 enclosing set of quotes.
4637
4638 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4639
4640 * window.el (internal--before-save-selected-window)
4641 (internal--after-save-selected-window): New functions extracted from
4642 save-selected-window. Make sure we return the `alist' we construct.
4643 (save-selected-window): Use them.
4644
4645 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4646 Use with-selected-window.
4647
4648 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4649 forms that define macros (bug#12593).
4650
4651 2012-10-07 Kenichi Handa <handa@gnu.org>
4652
4653 * international/mule-conf.el (compound-text-with-extensions):
4654 Add :mime-charset property as x-ctext.
4655
4656 2012-10-07 Stefan Merten <smerten@oekonux.de>
4657
4658 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4659 (rst-indent-literal-normal, rst-indent-literal-minimized)
4660 (rst-indent-comment): Correct :version tag.
4661 (rst-official-cvs-rev): Correct version string.
4662
4663 2012-10-07 Glenn Morris <rgm@gnu.org>
4664
4665 * mail/rmailmm.el (rmail-mime-process-multipart):
4666 Do not confuse a multipart message with an epilogue
4667 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4668
4669 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4670
4671 Fix shell output retrieval and comint-prompt-regexp init.
4672 * progmodes/python.el (inferior-python-mode):
4673 (python-shell-make-comint): Fix initialization of
4674 comint-prompt-regexp from copied file local variables.
4675 (python-shell-fetched-lines): Remove var.
4676 (python-shell-output-filter-in-progress): Rename from
4677 python-shell-fetch-lines-in-progress.
4678 (python-shell-output-filter-buffer): Rename from
4679 python-shell-fetch-lines-string.
4680 (python-shell-fetch-lines-filter): Delete function.
4681 (python-shell-output-filter): New function.
4682 (python-shell-send-string-no-output): Use them.
4683
4684 2012-10-07 Glenn Morris <rgm@gnu.org>
4685
4686 * hi-lock.el (hi-lock-process-phrase):
4687 Try to make it less fragile. (Bug#7161)
4688
4689 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4690
4691 2012-10-06 Glenn Morris <rgm@gnu.org>
4692
4693 * ehelp.el (electric-help-mode): Use help-mode rather than
4694 non-existent mode `help'.
4695 (electric-help-map): Use button-buffer-map. (Bug#10917)
4696
4697 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4698 (reftex-create-bibtex-footer): Fix custom types.
4699
4700 * progmodes/sh-script.el (sh-indent-after-continuation):
4701 Add explicit :group.
4702
4703 * textmodes/rst.el (rst-preferred-decorations)
4704 (rst-shift-basic-offset): Clarify obsolescence versions.
4705
4706 * profiler.el (profiler): Add missing group :version tag.
4707 * avoid.el (mouse-avoidance-banish-position):
4708 * proced.el (proced-renice-command):
4709 * calc/calc.el (calc-ensure-consistent-units):
4710 * calendar/icalendar.el (icalendar-import-format-uid):
4711 * net/tramp.el (tramp-save-ad-hoc-proxies):
4712 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4713 * progmodes/flymake.el (flymake-error-bitmap)
4714 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4715 * progmodes/sh-script.el (sh-indent-after-continuation):
4716 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4717 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4718 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4719 (vhdl-array-index-record-field-in-sensitivity-list)
4720 (vhdl-indent-comment-like-next-code-line):
4721 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4722 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4723 (reftex-cite-key-separator, reftex-create-bibtex-header)
4724 (reftex-create-bibtex-footer):
4725 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4726 (rst-indent-literal-normal, rst-indent-literal-minimized)
4727 (rst-indent-comment): Add missing custom :version tags.
4728
4729 * calendar/timeclock.el (timeclock-modeline-display):
4730 Add missing obsolete alias for renamed user option.
4731
4732 * strokes.el (strokes-modeline-string):
4733 * emulation/crisp.el (crisp-mode-modeline-string):
4734 * eshell/esh-mode.el (eshell-status-in-modeline):
4735 Aliases to defcustoms must come before the defcustom.
4736
4737 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4738 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4739 (cal-tex-cursor-week-monday): Doc fixes.
4740 (cal-tex-cursor-week2-summary): Doc fix.
4741 Rename from cal-tex-cursor-week-at-a-glance.
4742
4743 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4744 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4745
4746 * calendar/calendar.el (calendar-mode-map):
4747 Add cal-tex-cursor-week2-summary.
4748
4749 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4750
4751 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4752
4753 * subr.el (read-passwd-map): New var.
4754 (read-passwd): Use `read-string' again.
4755 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4756
4757 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4758
4759 * register.el (append-to-register, prepend-to-register):
4760 Deactivate mark, as does `copy-to-register' (bug#12389).
4761
4762 2012-10-06 Chong Yidong <cyd@gnu.org>
4763
4764 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4765
4766 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4767
4768 * international/characters.el: Fix simple mistake ((car chars) ->
4769 elt), delete duplicated code.
4770
4771 2012-10-06 Glenn Morris <rgm@gnu.org>
4772
4773 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4774
4775 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4776
4777 * color.el (color-hsl-to-rgb): Fix incorrect results for
4778 small and large hue values. (Bug#12559)
4779
4780 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4781
4782 Enhancements to docstring formatting when filling paragraphs.
4783 * progmodes/python.el (python-fill-docstring-style): Rename from
4784 python-fill-string-style. Added new style.
4785 (python-fill-string): Use new style. Better checks for
4786 docstrings.
4787
4788 2012-10-05 Glenn Morris <rgm@gnu.org>
4789
4790 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4791
4792 * color.el (color-name-to-rgb, color-rgb-to-hex)
4793 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4794 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4795 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4796 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4797
4798 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4799
4800 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4801
4802 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4803 to get the correct size across symlinks.
4804
4805 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4806
4807 2012-10-04 Juri Linkov <juri@jurta.org>
4808
4809 * replace.el (query-replace-interactive): Declare obsolete.
4810 (query-replace-read-from): Add the last incremental search string
4811 to the list of default values accessible via M-n.
4812 (map-query-replace-regexp): Use `read-regexp'.
4813 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4814 (map-query-replace-regexp, replace-string, replace-regexp):
4815 Fix docstrings to replace mentions of `query-replace-interactive'
4816 with alternatives. (Bug#12526)
4817
4818 2012-10-04 Juri Linkov <juri@jurta.org>
4819
4820 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4821 (dired-pop-to-buffer): Declare obsolete.
4822 (dired-mark-pop-up): Doc fix.
4823
4824 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4825
4826 Allow user to set docstring style for fill-paragraph.
4827 * progmodes/python.el
4828 (python-fill-comment-function, python-fill-string-function)
4829 (python-fill-decorator-function, python-fill-paren-function):
4830 Remove :safe for defcustoms.
4831 (python-fill-string-style): New defcustom
4832 (python-fill-paragraph-function): Enhance context detection.
4833 (python-fill-string): Honor python-fill-string-style settings.
4834
4835 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4836
4837 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4838 after setting its buffer (Bug#10805).
4839
4840 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4841
4842 Fix cornercase for string syntax.
4843 * progmodes/python.el (python-syntax-propertize-function):
4844 Simplify and enhance the regexp for unescaped quotes. Now it also
4845 matches quotes in weird situations like the single quote in
4846 "something\"'".
4847 (python-syntax-stringify): Simplify num-quotes detecting code.
4848
4849 2012-10-03 Glenn Morris <rgm@gnu.org>
4850
4851 * help-macro.el (three-step-help):
4852 Revert 2012-09-29 change. (Bug#12567)
4853
4854 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4855
4856 * menu-bar.el (kill-this-buffer): Don't do anything when
4857 `menu-frame' is not alive or visible (Bug#8184).
4858
4859 * emacs-lisp/debug.el (debug): When quitting the debugger window
4860 restore current buffer (Bug#12502).
4861
4862 2012-10-02 Chong Yidong <cyd@gnu.org>
4863
4864 * progmodes/hideif.el (hif-lookup, hif-defined):
4865 Handle semantic-c-takeover-hideif.
4866
4867 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4868
4869 Change sampling interval units from ms to ns.
4870 * profiler.el (profiler-sampling-interval): Change units
4871 from ms to ns, multiplying the default by 1000000 so that
4872 it remains 1 ms.
4873 (profiler-report-cpu-line-format): Give enough room for
4874 the maximum counters on 64-bit hosts.
4875 (profiler-report-render-calltree-1): Call them "CPU samples",
4876 not "Time (ms)", since they are not milliseconds now (and
4877 never really were).
4878
4879 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4880
4881 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4882 Fix querying BBDB for entries without a last name (Bug#11580).
4883
4884 2012-10-02 Chong Yidong <cyd@gnu.org>
4885
4886 * emacs-lisp/eieio.el: Restore Version header.
4887
4888 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4889
4890 * vc/diff-mode.el (diff--auto-refine-data): New var.
4891 (diff-hunk): Use it to delay refinement.
4892 (diff-mode): Remove overlays when we turn off font-lock.
4893
4894 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4895 (table-initialize-table-fixed-width-mode)
4896 (table-set-table-fixed-width-mode): Remove functions.
4897 (table-command-list): Move initialization into declaration.
4898 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4899 (table-with-cache-buffer): Use `declare'.
4900 (table-span-cell): Simplify via CSE.
4901 (table-fixed-width-mode): Use define-minor-mode.
4902 (table-call-interactively, table-funcall, table-apply): Remove.
4903 (table-function): New function, to replace them.
4904
4905 * bookmark.el (bookmark-search-pattern): Remove var.
4906 (bookmark-read-search-input): Remove function.
4907 (bookmark-bmenu-search): Reimplement using a minibuffer.
4908
4909 * faces.el (modeline): Remove obsolete face name.
4910
4911 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4912 and give a non-nil default value.
4913 (add-change-log-entry): Simplify accordingly.
4914
4915 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4916
4917 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4918 (vc-git-log-edit-toggle-amend): New function.
4919 (vc-git-log-edit-toggle-signoff): New function.
4920 (vc-git-log-edit-mode): New major mode.
4921 (vc-git-log-edit-mode-map): Keymap for it.
4922 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4923
4924 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4925 header names.
4926 (log-edit-toggle-header): New function.
4927 (log-edit-extract-headers): Accept function values in HEADERS alist.
4928
4929 2012-10-01 David Engster <deng@randomsample.de>
4930
4931 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4932 from symbol property and change message to be more consistent with
4933 Emacs proper.
4934 (eieio-describe-generic): Add filename for each implementation.
4935 Fix indices for generic and normal methods.
4936 (eieio-method-def, eieio-class-def): New buttons.
4937 (eieio-help-find-method-definition)
4938 (eieio-help-find-class-definition): New functions.
4939 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4940 class, constructor and method definitions.
4941
4942 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4943 information in symbol property.
4944 (scoped-class): Remove.
4945 (eieio-slot-name-index, call-next-method): Check if it is bound.
4946
4947 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
4948
4949 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4950 (eieio-custom-mode): New major mode.
4951 (eieio-customize-object): Use it.
4952
4953 2012-10-01 Eric Ludlam <zappo@gnu.org>
4954
4955 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4956 specifying the expected class, and whether subclassing is allowed.
4957 (eieio-persistent-convert-list-to-object):
4958 (eieio-persistent-validate/fix-slot-value)
4959 (eieio-persistent-slot-type-is-class-p): New functions.
4960 (eieio-named::slot-missing): Doc fix.
4961
4962 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4963 Stop using unused publd variable.
4964
4965 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4966 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4967 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4968 (eieio-speedbar-handle-click): Do not specify a class for the
4969 method. Fixes method invocation order problems with EDE.
4970
4971 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4972
4973 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4974 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4975
4976 2012-10-01 Karl Fogel <kfogel@red-bean.com>
4977
4978 * bookmark.el (bookmark-version-control): Give tags in the
4979 :type choices (Bug#12309), and improve doc string.
4980 (bookmark-write-file): Bind `print-circle' to `t' to allow
4981 circular custom bookmark types. (Bug#12503)
4982
4983 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4984
4985 Revert the FOLLOW-SYMLINKS change for file-attributes.
4986 * files.el (remote-file-name-inhibit-cache, after-find-file):
4987 * time.el (display-time-file-nonempty-p): Undo last change.
4988
4989 * profiler.el (profiler-sampling-interval): Change default back to 1.
4990 See Stefan Monnier in
4991 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4992
4993 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4994
4995 Shell output catching a la gud-gdb.
4996 * progmodes/python.el (python-shell-fetch-lines-in-progress)
4997 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4998 New Vars.
4999 (python-shell-fetch-lines-filter): New function.
5000 (python-shell-send-string-no-output): Use them.
5001
5002 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
5003
5004 * profiler.el (profiler-sampling-interval): Rename from
5005 profiler-sample-interval.
5006 (profiler-sampling-interval): Default to 10.
5007 (profiler-find-profile): New command (was profiler-find-log).
5008 (profiler-find-profile-other-window): New command.
5009 (profiler-find-profile-other-frame): New command.
5010 (profiler-profile): Introduce API-level data structure.
5011
5012 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
5013
5014 file-attributes has a new optional arg FOLLOW-SYMLINKS.
5015 * files.el (remote-file-name-inhibit-cache):
5016 * time.el (display-time-file-nonempty-p): Use it.
5017 * files.el (after-find-file): Don't chase links before calling
5018 file-exists-p, as file-exists-p already does the right thing.
5019
5020 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
5021
5022 Merge from standalone RefTeX repository.
5023
5024 The following ChangeLog entries are shortened versions of the
5025 original ones with file paths adapted. A not so strongly edited
5026 version of the original ChangeLog can be found in the commit log.
5027
5028 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
5029 (reftex-arg-cite): Use `reftex-cite-key-separator'.
5030 Correctly handle new value type returned by `reftex-citation'.
5031
5032 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
5033 that entries with whitespace at various places are found.
5034 Doc fix. Include entries that are cross-referenced from cited entries.
5035 Include @String definitions in the resulting bib file. Add header
5036 and footer defined in `reftex-create-bibtex-header' and
5037 `reftex-create-bibtex-footer'.
5038 (reftex-do-citation): Make it possible again to insert
5039 non-existent entries. Save match data when asking for optional
5040 arguments. Return all keys, not just the first one.
5041 (reftex-all-used-citation-keys): Fix regexp to correctly extract
5042 all citations in the same line.
5043 (reftex-parse-bibtex-entry): Accept additional optional argument
5044 `raw' and keep quotes or braces if it is non-nil. Match fields
5045 containing hyphens besides word constituents.
5046 (reftex-get-string-refs): New function.
5047 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
5048 and ask if it should be reread in case it did.
5049 (reftex-pop-to-bibtex-entry)
5050 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5051 entries with spaces or tabs in front of arguments.
5052 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5053 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5054 Match entries containing numbers and symbol constituents.
5055 (reftex-do-citation, reftex-figure-out-cite-format):
5056 Use `reftex-cite-key-separator'.
5057
5058 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5059 (reftex-mouse-view-crossref): Explain why point is set.
5060
5061 * textmodes/reftex-global.el: Whitespace changes.
5062
5063 * textmodes/reftex-index.el: Move provide statement to end of
5064 file.
5065 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5066 (reftex-index-visit-phrases-buffer): Set marker when visiting
5067 buffer. This allows for returning from the phrases file to the
5068 file one was just editing instead of the file where the last
5069 phrases was added from.
5070 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5071 punctuation syntax as it usually is not used as string quote in
5072 TeX-related modes and may occur unmatched. The change also
5073 prevents fontification of quoted content.
5074 (reftex-index-phrases-mode): Use it.
5075
5076 * textmodes/reftex-parse.el (reftex-parse-from-file):
5077 Move backward one char if a `\' was matched after a section macro.
5078 (reftex-parse-from-file): Use beginning of match instead of end as
5079 bound.
5080
5081 * textmodes/reftex-ref.el: Adapt creation of
5082 `reftex-<package>-<macro>' functions to new structure of
5083 `reftex-ref-style-alist'.
5084 (reftex-reference): Use `reftex-ref-style-list' function.
5085 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
5086 reference macro if `reftex-ref-macro-prompt' is non-nil.
5087 (reftex-reference): Pass refstyle to `reftex-format-special'.
5088 Determine reference macro by looking at
5089 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5090 Use only one special format function.
5091 (reftex-varioref-vref, reftex-fancyref-fref)
5092 (reftex-fancyref-Fref): Remove definitions. The functions are now
5093 generated from `reftex-ref-style-alist'.
5094 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5095 Remove.
5096 (reftex-format-special): New function.
5097
5098 * textmodes/reftex-sel.el
5099 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5100 of `reftex-ref-style-alist'. Remove code for testing macro type.
5101 (reftex-select-toggle-varioref)
5102 (reftex-select-toggle-fancyref): Remove.
5103 (reftex-select-cycle-ref-style-internal)
5104 (reftex-select-cycle-ref-style-forward)
5105 (reftex-select-cycle-ref-style-backward): New functions.
5106 (reftex-select-label-map): Use `v' and `V' for general cycling
5107 through reference styles. Add `p' for switching between number
5108 and page reference types.
5109
5110 * textmodes/reftex-toc.el (reftex-re-enlarge):
5111 Call `enlarge-window' only if there is something to do because in Emacs
5112 the horizontal version throws an error even if the parameter is 0.
5113
5114 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5115 (reftex-plug-into-AUCTeX): Doc fix.
5116 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5117 string. Adapt to new name.
5118 (reftex-ref-style-alist): Change structure so that it is not
5119 possible to use multiple different package names within a style.
5120 Remove the symbols for symbols for macro type distinction.
5121 Add characters for macro selection.
5122 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5123 (reftex-create-bibtex-footer): New variables.
5124 (reftex-format-ref-function): Mention third argument of special
5125 format function.
5126 (reftex-ref-style-alist, reftex-ref-style-default-list):
5127 New variables.
5128 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5129 to new implementation. Mark as obsolete. Add compatibility code
5130 for honoring the variable values in case they are set.
5131 (reftex-cite-format-builtin, reftex-bibliography-commands):
5132 Add support for ConTeXt.
5133 (reftex-format-ref-function, reftex-format-cite-function):
5134 Fix custom type.
5135 (reftex-cite-key-separator): New variable.
5136
5137 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5138 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5139 `reftex-syntax-table' because parens have to retain their paren
5140 syntax in order for parsing of BibTeX entries like @book(...) to
5141 work.
5142 (reftex-in-comment): Do not error out if `comment-start-skip' is
5143 not set. Deal correctly with escaped comment characters.
5144 (reftex-tie-multifile-symbols): Add doc string.
5145 Initialize `reftex-ref-style-list'.
5146 (reftex-untie-multifile-symbols): Add doc string.
5147 (reftex-add-index-macros): Doc fix.
5148 (reftex-ref-style-activate, reftex-ref-style-toggle)
5149 (reftex-ref-style-list): New functions.
5150 (reftex-mode-menu): Use them. Adapt to new structure of
5151 `reftex-ref-style-alist'.
5152 (reftex-select-with-char): Kill the RefTeX Select buffer when
5153 done.
5154 (reftex-remove-if): New function.
5155 (reftex-erase-all-selection-and-index-buffers)
5156 (reftex-mode-menu): Reference styles are now computed from
5157 `reftex-ref-style-alist'. Fix typo.
5158 (reftex-report-bug): New function.
5159 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5160 algorithms with O(n log n). Introduce optional argument SORT (not
5161 yet used).
5162
5163 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5164
5165 Enhancements for triple-quote string syntax.
5166 * progmodes/python.el (python-syntax-propertize-function):
5167 Match both quote cases in one regexp.
5168 (python-syntax-stringify): Handle matches properly.
5169
5170 2012-09-30 Juri Linkov <juri@jurta.org>
5171
5172 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5173 to nil around the call to `insert' to prevent
5174 directory time modification by lock_file. (Bug#2295)
5175 * tar-mode.el (tar-summarize-buffer): Idem.
5176
5177 2012-09-30 Juri Linkov <juri@jurta.org>
5178
5179 * facemenu.el (list-colors-sort): Add option "Luminance".
5180 (list-colors-sort-key): Implement it.
5181
5182 * vc/diff-mode.el (diff-refine-removed):
5183 * vc/ediff-init.el (ediff-fine-diff-A):
5184 * vc/smerge-mode.el (smerge-refined-removed):
5185 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5186
5187 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5188
5189 * term/ns-win.el (x-file-dialog): New function.
5190
5191 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
5192
5193 * ido.el (ido-max-directory-size): Default to nil; the current
5194 default is small for POSIX systems, and impractical on Windows 7
5195 now that lstat returns directory sizes for NTFS.
5196
5197 2012-09-30 Martin Rudalics <rudalics@gmx.at>
5198
5199 In buffer display functions handle window-height/window-width
5200 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5201 * window.el (window--display-buffer): New argument ALIST.
5202 Obey window-height and window-width alist entries.
5203 (window--try-to-split-window): New argument ALIST.
5204 Bind window-combination-limit to t when the window's size shall be
5205 changed and window-combination-limit equals `window-size'.
5206 (display-buffer-in-atom-window)
5207 (display-buffer-in-major-side-window)
5208 (display-buffer-in-side-window, display-buffer-same-window)
5209 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5210 (display-buffer-pop-up-window, display-buffer-below-selected)
5211 (display-buffer-at-bottom, display-buffer-in-previous-window)
5212 (display-buffer-use-some-window): Adjust all callers of
5213 window--display-buffer and window--try-to-split-window.
5214 (fit-frame-to-buffer): New option.
5215 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5216 is non-nil.
5217 (display-buffer-in-major-side-window): Evaluate window-height /
5218 window-width alist entries.
5219
5220 * help.el (temp-buffer-resize-frames)
5221 (temp-buffer-resize-regexps): Remove options.
5222 (temp-buffer-resize-mode): Adjust doc-string.
5223 (resize-temp-buffer-window): Don't consult
5224 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5225 temp-buffer-resize-frames.
5226
5227 * dired.el (dired-mark-pop-up):
5228 Call display-buffer-below-selected with a fit-window-to-buffer alist
5229 entry.
5230
5231 2012-09-30 Chong Yidong <cyd@gnu.org>
5232
5233 * server.el (server-host): Document the security implications.
5234 (server-auth-key): Doc fix.
5235
5236 * startup.el (initial-buffer-choice): Doc fix.
5237
5238 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5239
5240 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5241 restriction change.
5242
5243 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5244
5245 * help-fns.el (help-fns--obsolete): Fix last change.
5246
5247 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5248
5249 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5250 (minor-mode-map-alist): Remove redundant code.
5251
5252 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5253 visited in a buffer.
5254 (cvs-insert-visited-file): New function.
5255 (find-file-hook): Use it.
5256
5257 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5258
5259 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5260 chose face.
5261 (log-edit-empty-buffer-p): Don't require a space after a header.
5262
5263 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5264
5265 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5266
5267 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5268 a proper minor-mode.
5269
5270 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5271
5272 2012-09-29 Glenn Morris <rgm@gnu.org>
5273
5274 * winner.el (winner-mode): Remove variable (let define-minor-mode
5275 handle it).
5276 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5277 Doc fixes.
5278 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5279 (winner-mode): Use define-minor-mode.
5280
5281 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5282 the full definition in loaddefs, rather than duplicating it.
5283
5284 * help-macro.el (three-step-help): No need to autoload defcustom.
5285
5286 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5287 (inferior-lisp-program, inferior-lisp-load-command)
5288 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5289 No need to autoload defcustoms.
5290
5291 * hippie-exp.el (hippie-expand-try-functions-list)
5292 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5293 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5294 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5295 (hippie-expand-only-buffers): No need to autoload defcustoms.
5296 * progmodes/vhdl-mode.el (vhdl-line-expand):
5297 Explicitly load hippie-exp, so it does not get autoloaded
5298 while hippie-expand-try-functions-list is let-bound.
5299
5300 2012-09-28 Glenn Morris <rgm@gnu.org>
5301
5302 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5303
5304 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5305 Only "cl.el" counts as cl these days.
5306
5307 2012-09-28 Juri Linkov <juri@jurta.org>
5308
5309 Display archive errors in the echo area instead of inserting
5310 to the file buffer.
5311
5312 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5313 to STDERR-TEST that can be a regexp matching a successful output.
5314 Create a temporary file and redirect stderr to it. Search for
5315 STDERR-TEST in the stderr output and display it in the echo area
5316 if no match is found.
5317 (archive-extract-by-file): New function like
5318 `archive-extract-by-stdout' but extracting archives to files
5319 and looking for successful matches in stdout. Function body is
5320 mostly copied from `archive-rar-extract'.
5321 (archive-rar-extract): Use `archive-extract-by-file'.
5322 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5323
5324 2012-09-28 Leo Liu <sdl.web@gmail.com>
5325
5326 * pcomplete.el (pcomplete-show-completions):
5327 Use minibuffer-message to make pcomplete usable in minibuffer.
5328
5329 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5330
5331 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5332
5333 * type-break.el: Use lexical-binding.
5334 (type-break-mode): Use define-minor-mode.
5335
5336 * emacs-lisp/pcase.el (pcase--mark-used): New.
5337 (pcase--u1): Use it (bug#12512).
5338
5339 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5340 in load-history with the right file name.
5341
5342 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5343
5344 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5345 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5346 (doc-view-get-bounding-box): Make bounding box slicing work for
5347 ODF and DVI documents.
5348
5349 2012-09-28 Glenn Morris <rgm@gnu.org>
5350
5351 * type-break.el (type-break-mode, type-break-interval)
5352 (type-break-good-rest-interval, type-break-keystroke-threshold):
5353 No need to autoload.
5354 (type-break-good-rest-interval, type-break-keystroke-threshold):
5355 Add :set-after.
5356
5357 2012-09-28 Chong Yidong <cyd@gnu.org>
5358
5359 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5360 Add :version tag.
5361
5362 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5363
5364 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5365
5366 2012-09-27 Glenn Morris <rgm@gnu.org>
5367
5368 * faces.el (x-display-name): Declare (for without-x builds).
5369
5370 * linum.el (linum-format): Don't autoload it. Improve :type.
5371
5372 * progmodes/tcl.el: Don't require outline when compiling.
5373 (outline-regexp, outline-level): Declare.
5374 * textmodes/sgml-mode.el: Don't require outline when compiling.
5375 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5376
5377 * term.el (term-ansi-reset):
5378 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5379
5380 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5381 files for RCS and SCCS. (Bug#9781)
5382
5383 2012-09-27 Chong Yidong <cyd@gnu.org>
5384
5385 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5386 change; value should be t.
5387
5388 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5389
5390 * image-mode.el: Use lexical-binding.
5391 (image-mode-winprops): Use t to stand for the window of
5392 a buffer that's not displayed.
5393 * doc-view.el (doc-view-new-window-function): Handle the new
5394 t in winprops.
5395 (doc-view-enlarge): Make it a real nop if the size is not changed.
5396 (doc-view-display): Handle the case where the buffer is not (yet?)
5397 displayed in any window.
5398 (doc-view-saved-settings): New var.
5399 (doc-view-mode): Use it.
5400 (doc-view-fallback-mode): Set it.
5401
5402 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5403 Set lexical-binding.
5404 (minibuffer-eldef-shorten-default): New var.
5405 (minibuffer-default-in-prompt-regexps): Use it for new default.
5406 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5407
5408 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5409
5410 * international/uni-bidi.el:
5411 * international/uni-category.el:
5412 * international/uni-name.el:
5413 * international/uni-numeric.el: Regenerate.
5414
5415 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5416 Stefan Monnier <monnier@iro.umontreal.ca>
5417
5418 * profiler.el: New file.
5419
5420 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5421
5422 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5423 (testcover-reinstrument): Simplify with CSE.
5424
5425 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5426
5427 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5428
5429 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5430
5431 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5432 (verilog-auto-input, verilog-auto-insert-lisp)
5433 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5434 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5435 (verilog-auto-unused, verilog-auto-wire)
5436 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5437 newline. Reported by Andrew Jones.
5438 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5439 Reported by Brad Dobbie.
5440 (verilog-batch-delete-trailing-whitespace):
5441 Create verilog-batch-delete-trailing-whitespace.
5442 Reported by Brad Dobbie.
5443 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5444 parameters from another module. Reported by Dan Katz.
5445 (verilog-auto, verilog-auto-assign-modport)
5446 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5447 AUTOINOUTMODPORT for UVM interface module shell generation.
5448 Reported by Brad Dobbie.
5449 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5450 standard behavior.
5451 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5452 Reported by Matt Martin.
5453
5454 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5455
5456 * window.el (window--resize-child-windows): When resizing child
5457 windows proportionally, process them in reverse order to
5458 preserve the "when splitting a window the new one gets the odd
5459 line" behavior.
5460 (window--resize-root-window-vertically): When resizing the
5461 minibuffer window try to affect only windows at the bottom of the
5462 frame. (Bug#12419)
5463
5464 2012-09-25 Chong Yidong <cyd@gnu.org>
5465
5466 * subr.el (declare): Doc fix.
5467
5468 * help-fns.el (help-fns--obsolete): Handle macros properly.
5469
5470 2012-09-25 Chong Yidong <cyd@gnu.org>
5471
5472 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5473 this function obsolete.
5474
5475 * calendar/cal-x.el (calendar-two-frame-setup)
5476 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5477 * calendar/calendar.el (american-calendar, european-calendar)
5478 (calendar-for-loop):
5479 * comint.el (comint-dynamic-simple-complete)
5480 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5481 * desktop.el (desktop-load-default):
5482 * dired-x.el (dired-omit-here-always)
5483 (dired-hack-local-variables, dired-default-directory):
5484 * emacs-lisp/derived.el (derived-mode-class):
5485 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5486 * emacs-lock.el (toggle-emacs-lock):
5487 * epa.el (epa-display-verify-result):
5488 * epg.el (epg-sign-keys, epg-start-sign-keys)
5489 (epg-passphrase-callback-function):
5490 * eshell/esh-util.el (eshell-for):
5491 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5492 (eshell-add-to-window-buffer-names):
5493 * files.el (locate-file-completion):
5494 * imenu.el (imenu-example--create-c-index)
5495 (imenu-example--create-lisp-index)
5496 (imenu-example--lisp-extract-index-name)
5497 (imenu-example--name-and-position):
5498 * international/mule-cmds.el (princ-list):
5499 * international/mule-diag.el (decode-codepage-char):
5500 * international/mule-util.el (detect-coding-with-priority):
5501 * iswitchb.el (iswitchb-read-buffer):
5502 * mail/mailalias.el (mail-complete):
5503 * mail/sendmail.el (mail-sent-via):
5504 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5505 (mouse-major-mode-menu):
5506 * password-cache.el (password-read-and-add):
5507 * pcomplete.el (pcomplete-parse-comint-arguments):
5508 * progmodes/sh-script.el (sh-maybe-here-document):
5509 * replace.el (query-replace-regexp-eval):
5510 * savehist.el (savehist-load):
5511 * simple.el (choose-completion-delete-max-match):
5512 * term.el (term-dynamic-simple-complete):
5513 * vc/ediff-init.el (ediff-check-version):
5514 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5515 * vc/vc.el (vc-diff-switches-list):
5516 * view.el (view-return-to-alist-update): Likewise.
5517
5518 * subr.el (eval-next-after-load, makehash, insert-string)
5519 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5520 mark obsolete.
5521 (mode-line-inverse-video): Variable deleted.
5522
5523 * international/mule-util.el (string-to-sequence): Remove.
5524
5525 * calendar/calendar.el (calendar-version):
5526 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5527 (icalendar-convert-diary-to-ical):
5528 * cus-edit.el (custom-mode):
5529 * ansi-color.el (ansi-color-unfontify-region):
5530 * international/latin1-disp.el (latin1-char-displayable-p):
5531 * progmodes/cwarn.el (turn-on-cwarn-mode):
5532 * progmodes/which-func.el (which-func-update-1):
5533 Use define-obsolete-function-alias.
5534
5535 * net/newst-backend.el (newsticker-cache-filename):
5536 * net/newst-treeview.el (newsticker-groups-filename):
5537 Fix incorrect obsolescence declaration.
5538
5539 * allout.el (allout-passphrase-hint-string): Likewise.
5540 (allout-init): Use a declare form to mark obsolete.
5541
5542 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5543 this applies to functions.
5544
5545 * iswitchb.el (iswitchb-read-buffer): Move code of
5546 iswitchb-define-mode-map here, and delete that obsolete function.
5547
5548 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5549 font-lock-reference-face.
5550
5551 2012-09-25 Glenn Morris <rgm@gnu.org>
5552
5553 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5554 Doc fixes.
5555
5556 * eshell/em-term.el (eshell-term-name):
5557 Default to term-term-name. (Bug#12485)
5558
5559 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5560
5561 * progmodes/python.el (python-shell-send-buffer): Better handling
5562 of "if __name__ == '__main__':" conditionals when sending the buffer.
5563
5564 2012-09-24 Glenn Morris <rgm@gnu.org>
5565
5566 * eshell/esh-cmd.el (eshell-find-alias-function):
5567 Tighten up file-name regexp. (Bug#12499)
5568
5569 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5570
5571 Enhancements for triple-quote string syntax.
5572 * progmodes/python.el (python-quote-syntax): Remove.
5573 (python-syntax-propertize-function): New value.
5574 (python-syntax-count-quotes, python-syntax-stringify):
5575 New functions.
5576
5577 2012-09-24 Chong Yidong <cyd@gnu.org>
5578
5579 * mail/supercite.el (sc-version): Remove obsolete function.
5580 (sc-describe): Don't mark as obsolete, since it is bound.
5581 (sc-submit-bug-report): Remove.
5582
5583 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5584 (cvs-commit-buffer-require-final-newline): Remove.
5585 (log-edit-require-final-newline)
5586 (log-edit-changelog-full-paragraphs): Default to t.
5587
5588 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5589 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5590 * vc/vc.el (vc-checkout-carefully): Likewise.
5591
5592 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5593 (emerge-version): Remove.
5594
5595 * progmodes/compile.el (compile-internal): Remove.
5596 (compilation-parse-errors-function): Fix typo.
5597
5598 * international/mule.el (set-char-table-default): Remove.
5599 (set-coding-priority, make-coding-system, generic-char-p)
5600 (charset-list, charset-bytes, charset-id): Use declare to mark
5601 functions as obsolete.
5602
5603 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5604 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5605 * vc/vc-hooks.el (vc-default-registered): Don't use
5606 vc-master-templates.
5607
5608 * font-lock.el (font-lock-reference-face):
5609 Use define-obsolete-variable-alias.
5610
5611 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5612 * calendar/calendar.el (calendar-font-lock-keywords):
5613 * calendar/diary-lib.el (diary-font-lock-keywords)
5614 (diary-fancy-font-lock-keywords):
5615 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5616 * textmodes/reftex-index.el (reftex-insert-index):
5617 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5618 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5619 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5620 * progmodes/prolog.el (prolog-font-lock-keywords):
5621 * progmodes/idlwave.el (idlwave-idl-keywords):
5622 * progmodes/ada-mode.el (ada-font-lock-keywords):
5623 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5624
5625 2012-09-24 Glenn Morris <rgm@gnu.org>
5626
5627 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5628
5629 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5630
5631 * progmodes/python.el (python-indent-line): More consistent cursor
5632 movement behavior.
5633
5634 2012-09-23 Stefan Merten <smerten@oekonux.de>
5635
5636 * textmodes/rst.el: Fix compiler warning.
5637
5638 2012-09-23 Roland Winkler <winkler@gnu.org>
5639
5640 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5641 Transcribe also LaTeX hyphenation.
5642 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5643 bibtex-reformat-previous-options.
5644
5645 2012-09-23 Roland Winkler <winkler@gnu.org>
5646
5647 * proced.el (proced-renice-command): New variable.
5648 (proced-marked-processes): New function.
5649 (proced-with-processes-buffer): New macro.
5650 (proced-send-signal): Use them.
5651 (proced-renice): New command bound to r.
5652
5653 2012-09-23 Roland Winkler <winkler@gnu.org>
5654
5655 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5656 ibuffer-saved-filter-groups has one element, shortcut the call of
5657 completing-read. (Bug#12331)
5658
5659 2012-09-23 Chong Yidong <cyd@gnu.org>
5660
5661 * bindings.el (mode-line-toggle-read-only):
5662 * bs.el (bs-toggle-readonly):
5663 * buff-menu.el (Buffer-menu-toggle-read-only):
5664 * dired.el (dired-toggle-read-only):
5665 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5666
5667 2012-09-23 Chong Yidong <cyd@gnu.org>
5668
5669 * image.el (image-type-available-p): Adapt to init-image-library
5670 argument changes.
5671
5672 2012-09-22 Juri Linkov <juri@jurta.org>
5673
5674 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5675 `dired-toggle-read-only'. (Bug#12462)
5676
5677 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5678
5679 * subr.el (temp-output-buffer-show): New function.
5680 (with-output-to-temp-buffer): Call temp-output-buffer-show
5681 instead of internal-temp-output-buffer-show.
5682
5683 2012-09-22 Chong Yidong <cyd@gnu.org>
5684
5685 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5686 (Bug#12462).
5687
5688 * repeat.el (repeat): Doc fix (Bug#12348).
5689
5690 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5691 (Bug#10909).
5692
5693 * simple.el (shell-command-on-region): Doc fix.
5694 (read-only-mode): Doc fix.
5695
5696 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5697
5698 * emacs-lisp/timer.el (run-with-idle-timer)
5699 (timer-activate-when-idle): Warn against reinvoking an idle timer
5700 from within its own timer action. (Bug#12447)
5701
5702 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5703
5704 * cus-start.el (window-combination-limit): Add new optional
5705 values.
5706 * window.el (temp-buffer-window-show)
5707 (window--try-to-split-window): Handle new values of
5708 window-combination-limit (Bug#1806).
5709 (split-window): Test window-combination-limit for t instead of
5710 non-nil.
5711 (display-buffer-at-bottom): New buffer display action function.
5712 * help.el (temp-buffer-resize-regexps): New option.
5713 (temp-buffer-resize-mode): Rewrite doc-string.
5714 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5715 Don't resize reused window. Suggested by Glenn Morris.
5716
5717 2012-09-22 Stefan Merten <smerten@oekonux.de>
5718
5719 * textmodes/rst.el: Revamp section title faces.
5720 (rst-official-version)
5721 (rst-package-emacs-version-alist): Sync with official version
5722 V1.4.0.
5723 (rst-faces-defaults, rst-set-level-default)
5724 (rst-level-face-max, rst-level-face-base-color)
5725 (rst-level-face-base-light, rst-level-face-format-light)
5726 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5727 (rst-adornment-faces-alist): Match new setup.
5728 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5729 (rst-level-5, rst-level-6): New faces.
5730
5731 2012-09-22 Chong Yidong <cyd@gnu.org>
5732
5733 * simple.el (undo): Handle indirect buffers (Bug#8207).
5734
5735 2012-09-21 Leo Liu <sdl.web@gmail.com>
5736
5737 IDO: Disable match re-ordering for buffer switching.
5738 * ido.el (ido-buffer-disable-smart-matches): New variable.
5739 (ido-set-matches-1): Use it. (Bug#2042)
5740
5741 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5742
5743 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5744 Fix 2011-05-17 change. (Bug#12418)
5745
5746 2012-09-21 Leo Liu <sdl.web@gmail.com>
5747
5748 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5749
5750 2012-09-21 Glenn Morris <rgm@gnu.org>
5751
5752 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5753 Be more robust about locating simple.el.
5754
5755 2012-09-21 Glenn Morris <rgm@gnu.org>
5756
5757 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5758
5759 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5760
5761 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5762
5763 2012-09-20 Juri Linkov <juri@jurta.org>
5764
5765 * replace.el (query-replace-read-from): Use `read-regexp' instead
5766 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5767 (occur-read-primary-args): Use `read-regexp' instead of
5768 `read-string'.
5769 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5770 `read-from-minibuffer'.
5771 * isearch.el (isearch-occur): Use `read-regexp' instead of
5772 `read-string'.
5773 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5774 `read-from-minibuffer'.
5775 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5776 of `read-string'. (Bug#7567)
5777
5778 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5779 and allow accepting a list of strings prepended to a list of
5780 standard default values. Doc fix. (Bug#12321)
5781
5782 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5783
5784 * replace.el (read-regexp): Don't add ": " when PROMPT already
5785 ends with a colon and space. (Bug#12321)
5786
5787 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5788
5789 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5790 error.
5791
5792 2012-09-20 Stefan Merten <smerten@oekonux.de>
5793
5794 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5795 Fixes feature request bug#11711.
5796 (rst-mode): Create `imenu-create-index-function'.
5797 (rst-get-stripped-line): Delete after refactoring.
5798 (rst-section-tree, rst-section-tree-rec)
5799 (rst-section-tree-point): Refactor and document properly.
5800 (rst-imenu-find-adornments-for-position)
5801 (rst-imenu-convert-cell, rst-imenu-create-index):
5802 New function.
5803
5804 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5805
5806 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5807 (macroexp--expand-all): Use it.
5808 (macroexp--funcall-and-return): Remove by folding it into its sole
5809 caller (macroexp--warn-and-return).
5810 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5811 Use macroexp--obsolete-warning.
5812
5813 * calc/calc.el: Fix last change by removing the whole chunk, since it
5814 was only needed back when Calc was not bundled.
5815
5816 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5817
5818 * emacs-lisp/debug.el (debug): Restore assignment to
5819 debugger-old-buffer removed on 2012-09-08.
5820
5821 2012-09-20 Juri Linkov <juri@jurta.org>
5822
5823 * dired-aux.el (dired-diff): Remove (require 'diff) since
5824 `diff-latest-backup-file' is now autoloaded.
5825
5826 2012-09-20 Chong Yidong <cyd@gnu.org>
5827
5828 * vc/diff.el (diff-latest-backup-file): Autoload.
5829
5830 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5831
5832 * calc/calc.el: Remove redundant autoload shape check.
5833 (sel-mode): Don't defvar.
5834 (calc-get-stack-element): Add `sel-mode' arg instead.
5835 (calc-top, calc-top-list): Pass it this additional argument.
5836 * calc/calc-store.el (calc-store-map):
5837 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5838 (calc-map-equation, calc-outer-product, calc-inner-product):
5839 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5840
5841 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5842
5843 2012-09-19 Juri Linkov <juri@jurta.org>
5844
5845 * dired-aux.el (dired-diff): Add (require 'diff) because
5846 `diff-latest-backup-file' is not autoloaded.
5847 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5848 of `dired-get-filename' to t to not report error when there is
5849 no default file on the current line.
5850
5851 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5852
5853 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5854 macroexp--eval-if-compile.
5855 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5856 (macroexp--expand-all): Use them (bug#12371).
5857
5858 * doc-view.el (doc-view-guess-paper-size)
5859 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5860
5861 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5862
5863 New feature: set optimal slice from BoundingBox information.
5864 * doc-view.el (doc-view-mode-map): Add keybinding.
5865 (doc-view-menu): Add menu entry.
5866 (doc-view-set-slice): Adapt docstring.
5867 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5868 (doc-view-scale-bounding-box)
5869 (doc-view-set-slice-from-bounding-box): New functions.
5870 (doc-view-paper-sizes): New defvar.
5871
5872 2012-09-19 Glenn Morris <rgm@gnu.org>
5873
5874 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5875 (byte-compile-log-warning): Autoload. (Bug#12371)
5876
5877 * calendar/calendar.el (calendar-american-month-header)
5878 (calendar-european-month-header, calendar-iso-month-header)
5879 (calendar-month-header): New options.
5880 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5881 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5882
5883 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5884
5885 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5886
5887 2012-09-18 Juri Linkov <juri@jurta.org>
5888
5889 * dired-aux.el (dired-diff): Restore original functionality of
5890 getting the default value, but keep new feature of using the
5891 latest existing backup file (`diff-latest-backup-file').
5892
5893 2012-09-18 Juri Linkov <juri@jurta.org>
5894
5895 * dired.el (dired-mark): If the region is active in Transient Mark
5896 mode, mark all files in the active region. Doc fix.
5897 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5898 Doc fix. (Bug#10624)
5899
5900 2012-09-18 Juri Linkov <juri@jurta.org>
5901
5902 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5903 attributes for M-n are pulled from the file at point.
5904 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5905 Suggested by Drew Adams. (Bug#10624)
5906
5907 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5908
5909 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5910 whitespace after "end".
5911 (ruby-do-end-to-brace): Collapse block to one line if it fits
5912 within fill-column.
5913
5914 2012-09-18 Martin Rudalics <rudalics@gmx.at>
5915
5916 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5917 value.
5918 (debug): Don't remove debugger window when debugger is expected
5919 to be back.
5920
5921 2012-09-18 Chong Yidong <cyd@gnu.org>
5922
5923 * custom.el (defface): Doc fix.
5924
5925 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5926
5927 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5928
5929 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5930 to initialize query-on-exit; then test that instead (bug#12288).
5931
5932 2012-09-17 Stefan Merten <smerten@oekonux.de>
5933
5934 * textmodes/rst.el: Add support for `testcover'.
5935 (rst-defcustom-testcover, rst-testcover-add-compose)
5936 (rst-testcover-add-1value): New functions.
5937 (rst-portable-mark-active-p): Replace by `use-region-p'.
5938 (rst-update-section, rst-classify-adornment)
5939 (rst-find-title-line): Mark `1value' forms.
5940 (rst-classify-adornment): Remove superfluous form.
5941 (rst-update-section, rst-get-adornments-around)
5942 (rst-adornment-complete-p, rst-get-next-adornment)
5943 (rst-adjust, rst-promote-region)
5944 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5945 (rst-find-pfx-in-region, rst-section-tree-rec)
5946 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5947 (rst-toc-node, rst-toc, rst-forward-section)
5948 (rst-iterate-leftmost-paragraphs)
5949 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5950 (rst-bullet-list-region)
5951 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5952 (rst-compile-find-conf, rst-compile)
5953 (rst-repeat-last-character): Fix style.
5954
5955 2012-09-17 Chong Yidong <cyd@gnu.org>
5956
5957 * comint.el (comint--complete-file-name-data): Don't add a space
5958 if the status is `sole'; that adds a gratuitous space in the
5959 completion-cycling case (Bug#12092).
5960
5961 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5962
5963 2012-09-17 Richard Stallman <rms@gnu.org>
5964
5965 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5966 only in the mime-shown mode, not in raw mode.
5967 (rmail-mime): Toggle off mime by displaying the message without
5968 mime processing. (Bug#12305)
5969
5970 * mail/rmail.el (rmail-retry-failure):
5971 Turn off mime processing first. (Bug#12037)
5972
5973 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5974
5975 2012-09-17 Chong Yidong <cyd@gnu.org>
5976
5977 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5978 (shell-dynamic-complete-functions): Convert to defcustom.
5979 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5980
5981 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5982 * comint.el (comint-prompt-read-only):
5983 * custom.el (defcustom):
5984 * hi-lock.el (hi-lock-mode):
5985 * ibuffer.el (ibuffer-formats):
5986 * ielm.el (ielm-prompt-read-only):
5987 * novice.el (disable-command):
5988 * saveplace.el (toggle-save-place):
5989 * speedbar.el (speedbar-supported-extension-expressions):
5990 * startup.el (auto-save-list-file-prefix, init-file-user)
5991 (after-init-hook, inhibit-startup-echo-area-message):
5992 * strokes.el (strokes-help):
5993 * time-stamp.el (time-stamp):
5994 * calendar/calendar.el (calendar, diary-file):
5995 * calendar/diary-lib.el (diary-mail-entries, diary)
5996 (diary-list-entries-hook):
5997 * calendar/holidays.el (holidays, calendar-holidays):
5998 * calendar/lunar.el (lunar-phases):
5999 * calendar/solar.el (sunrise-sunset):
6000 * emulation/edt.el (edt-load-keys):
6001 * emulation/viper.el (viper-mode):
6002 * eshell/em-alias.el (eshell-command-aliases-list):
6003 * eshell/esh-util.el (eshell-convert-numeric-arguments):
6004 * international/ogonek.el (ogonek-information):
6005 * net/tramp-cmds.el (tramp-bug):
6006 * net/quickurl.el (quickurl-reread-hook-postfix):
6007 * play/decipher.el (decipher-font-lock-keywords):
6008 * progmodes/cc-styles.el (c-set-style):
6009 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
6010 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6011 * progmodes/octave-mod.el (octave-mode):
6012 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
6013 * progmodes/verilog-mode.el (verilog-read-defines):
6014 * textmodes/two-column.el (2C-mode): Likewise.
6015
6016 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
6017
6018 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
6019 that holds many addresses.
6020
6021 2012-09-16 Chong Yidong <cyd@gnu.org>
6022
6023 * align.el (align-areas): Call the indication function with
6024 positions instead of markers for arguments (Bug#12343).
6025
6026 * files.el (parse-colon-path): Use split-string (Bug#12351).
6027
6028 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
6029 (display-buffer-function): Mark as obsolete.
6030
6031 * progmodes/compile.el (compilation-parse-errors): Accept list
6032 values similar to font-lock-keywords (Bug#12136).
6033 Suggested by Oleksandr Manzyuk.
6034 (compilation-error-regexp-alist): Doc fix.
6035
6036 2012-09-15 Glenn Morris <rgm@gnu.org>
6037
6038 * version.el (emacs-bzr-version-bzr): New function.
6039 (emacs-bzr-get-version): Add optional EXTERNAL argument.
6040
6041 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
6042 checkouts, check the parent dirstate matches the branch.
6043 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
6044 empty string.
6045
6046 * version.el (emacs-bzr-version): Doc fix.
6047 (emacs-bzr-version-dirstate): New function.
6048 (emacs-bzr-get-version): For lightweight checkouts, if the parent
6049 is local try and check that it matches the branch. If not, just
6050 use dirstate information. (Bug#12441)
6051
6052 2012-09-14 Juri Linkov <juri@jurta.org>
6053
6054 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6055 (Bug#12399)
6056
6057 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6058
6059 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6060
6061 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6062 Remove obsolete byte-compiler hack that tried to silence some warnings.
6063 (edebug-submit-bug-report): Remove.
6064 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6065 Remove aliases, use the un-prefixed name instead.
6066 (edebug-pop-to-buffer): Consider other frames.
6067 (edebug-original-read):: Make it more obvious that it's always defined.
6068 (edebug--make-form-data-entry, edebug--form-data-name)
6069 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6070 single-dashed name, and implement with cl-defstruct.
6071 (edebug-set-form-data-entry): Use the standard accessors.
6072 (edebug-make-top-form-data-entry): Use push.
6073 (edebug-no-match): Drop useless `funcall'.
6074 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6075 to functions.
6076 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6077 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6078 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6079 (easy-menu-define, with-custom-print): Remove redundant specs.
6080 (edebug-outside-overriding-local-map)
6081 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6082 (edebug--display): Bind unread-command-events directly to nil rather
6083 than binding it to unread-command-events and later setting it to nil.
6084 (edebug--display): Kill edebug-eval-buffer here...
6085 (edebug--recursive-edit): ...rather than here.
6086 Bind standard-output and standard-input.
6087 (edebug-eval): Check cl-macroexpand-all is fboundp.
6088 (edebug-temp-display-freq-count): Fix last change.
6089
6090 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6091 * subr.el (noreturn, 1value): Add `debug' spec.
6092 * emacs-lisp/advice.el: Require cl-lib.
6093 (ad-copy-tree): Remove, use copy-tree instead.
6094 (ad-dolist): Remove use dolist or cl-dolist instead.
6095 (ad-do-return): Remove, use cl-return instead.
6096 (defadvice): Add `debug' spec.
6097
6098 2012-09-13 Juri Linkov <juri@jurta.org>
6099
6100 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6101 (Bug#12399)
6102
6103 2012-09-13 Glenn Morris <rgm@gnu.org>
6104
6105 * calc/calc.el (math-compose-expr):
6106 * calc/calc-ext.el (math-compose-expr):
6107 * progmodes/cc-defs.el (cl-macroexpand-all):
6108 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6109 (cl-macroexpand-all): Update declarations.
6110
6111 * vc/vc.el: No need to require ediff.
6112 (ediff-load-version-control): Declare.
6113 (ediff-vc-internal): Fix declaration.
6114 (vc-version-ediff): Require ediff.
6115
6116 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6117
6118 Use a more backwards-compatible timer format (Bug#12430).
6119 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6120 being right after USECS, as that better supports old code that
6121 inadvisedly looked directly at the timer vector.
6122
6123 2012-09-13 Kenichi Handa <handa@gnu.org>
6124
6125 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6126 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6127 `coding-priority' property of these language environment.
6128
6129 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6130
6131 Fix glitches caused by addition of psec to timers (Bug#12430).
6132 * image.el (image-animate-timer):
6133 * time.el (display-time-world-timer):
6134 Use timer--function and timer--args rather than raw access to
6135 timer vector.
6136
6137 2012-09-13 Glenn Morris <rgm@gnu.org>
6138
6139 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6140 If not compiling a file, try using load-file-name.
6141
6142 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6143
6144 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6145 Fix last change.
6146 (edebug-update-eval-list): Use `push'.
6147
6148 * emacs-lisp/edebug.el: Use lexical-binding.
6149 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6150 Mark unused args with underscore.
6151 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6152 (edebug-form-data): Use defvar-local.
6153 (edebug-make-before-and-after-form, edebug-make-after-form):
6154 Use backquote.
6155 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6156 Not dynamically scoped any more.
6157 (edebug--enter-trace): Add arguments `function' and `args'.
6158 Rename from edebug-enter-trace.
6159 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6160 (edebug--update-coverage): Add `after-index' and `value' args.
6161 Rename from edebug-update-coverage.
6162 (edebug-slow-after): Call it accordingly.
6163 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6164 edebug-recursive-edit.
6165 (edebug--display): Call it accordingly. Add args `value',
6166 `offset-index', and `arg-mode'. Rename from edebug-display.
6167 (edebug-debugger, edebug): Call it accordingly.
6168 (edebug-eval-display-list): Use dolist.
6169
6170 2012-09-12 Juri Linkov <juri@jurta.org>
6171
6172 * info.el (Info-search): Don't check for isearch-mode and
6173 isearch-regexp before let-binding search-spaces-regexp to
6174 Info-search-whitespace-regexp.
6175 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6176 search-whitespace-regexp if isearch-lax-whitespace or
6177 isearch-regexp-lax-whitespace is non-nil.
6178 (Info-mode): Don't set local variable search-whitespace-regexp.
6179 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6180
6181 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6182
6183 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6184 (debugger-env-macro): Remove support for unread-command-char.
6185
6186 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6187 the temporary map re-appearing on emulation-mode-map-alists.
6188
6189 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6190 since 22.1.
6191
6192 * ehelp.el (with-electric-help): Accept functions in
6193 electric-help-form-to-execute.
6194 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6195 And replace unread-command-char -> unread-command-events.
6196
6197 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
6198
6199 Sync with Tramp 2.2.6.
6200
6201 * net/tramp.el (tramp-accept-process-output): Don't use
6202 JUST-THIS-ONE in the XEmacs case.
6203
6204 * net/trampver.el: Update release number.
6205
6206 2012-09-12 Martin Rudalics <rudalics@gmx.at>
6207
6208 * emacs-lisp/debug.el (debugger-previous-window-height):
6209 New variable.
6210 (debug): When debugger-jumping-flag is non-nil try to restore
6211 height of debugger window. (Bug#8789)
6212
6213 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6214
6215 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6216 overriding-local-map and pre/post-command-hook here.
6217 (edebug-recursive-edit): Do it here instead (bug#12345).
6218 (edebug-outside-unread-command-char): Remove all uses of
6219 unread-command-char.
6220
6221 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6222 inhibit-debugger is bound instead.
6223
6224 2012-09-11 Bastien Guerry <bzg@gnu.org>
6225
6226 * subr.el (set-temporary-overlay-map): Add a docstring.
6227 (Bug#12346)
6228
6229 2012-09-11 Bastien Guerry <bzg@gnu.org>
6230
6231 * minibuffer.el (completion-table-subvert): Fix docstring.
6232 (Bug#12347)
6233
6234 2012-09-11 Bastien Guerry <bzg@gnu.org>
6235
6236 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6237
6238 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6239
6240 * progmodes/sql.el: Version 3.1
6241 (sql-db2-escape-newlines): New variable.
6242 (sql-escape-newlines-filter): Use it.
6243
6244 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6245
6246 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6247
6248 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6249
6250 * vc/diff-mode.el (diff-mode-menu):
6251 Bind diff-remove-trailing-whitespace.
6252
6253 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6254
6255 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6256 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6257 (emacs-lisp-byte-code-mode): New functions.
6258 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6259 (eval-defun-2): Remove bogus interactive spec.
6260 (lisp-indent-line): Remove redundant whole-exp code, now done in
6261 indent-according-to-mode.
6262 (save-match-data): Remove redundant indent data.
6263
6264 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6265 Use `declare'.
6266
6267 2012-09-09 Juri Linkov <juri@jurta.org>
6268
6269 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6270 (replace-lax-whitespace, query-replace-regexp)
6271 (query-replace-regexp-eval, replace-regexp): Doc fix.
6272 (perform-replace, replace-highlight): Let-bind
6273 isearch-lax-whitespace to replace-lax-whitespace and
6274 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6275
6276 * isearch.el (isearch-query-replace): Let-bind
6277 replace-lax-whitespace to isearch-lax-whitespace and
6278 replace-regexp-lax-whitespace to
6279 isearch-regexp-lax-whitespace. (Bug#10885)
6280
6281 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6282
6283 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6284
6285 2012-09-09 Alan Mackenzie <acm@muc.de>
6286
6287 * progmodes/cc-engine.el (c-state-cache-init):
6288 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6289 (c-record-parse-state-state):
6290 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6291
6292 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6293
6294 * register.el (register-separator): Rename from
6295 separator-register. All uses changed. Doc fix.
6296 (register): Fix version.
6297
6298 2012-09-09 Chong Yidong <cyd@gnu.org>
6299
6300 * replace.el (query-replace-map): Bind four new symbols for
6301 requesting window scrolling.
6302
6303 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6304 query-replace-map (Bug#8948).
6305
6306 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6307
6308 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6309 since they are now in query-replace-map.
6310
6311 * window.el (scroll-other-window-down): Make the arg optional.
6312
6313 2012-09-09 Chong Yidong <cyd@gnu.org>
6314
6315 * files.el (hack-local-variables-confirm): Use quit-window to kill
6316 the *Local Variables* buffer.
6317
6318 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6319
6320 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6321 not just expect to be at its beginning. Adjust callees.
6322 Succeed when do-end block has no space before the pipe character.
6323 (ruby-brace-to-do-end): When the original block is one-liner,
6324 convert to multiline. Reindent the result.
6325
6326 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6327
6328 * register.el (register): New group.
6329 (separator-register): New user option.
6330 (increment-register): Route it to `append-to-register', if
6331 register contains text. Implication is that `C-x r +' can now be
6332 used for appending to a text register (bug#12217).
6333 (append-to-register, prepend-to-register): Add separator based on
6334 `separator-register'.
6335
6336 2012-09-08 Alan Mackenzie <acm@muc.de>
6337
6338 AWK Mode: make auto-newline work when there's "==" in the pattern.
6339 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6340 correctly.
6341 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6342 Test more rigorously for "=" token.
6343
6344 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6345
6346 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6347 Only fail when reached LIMIT.
6348
6349 2012-09-08 Chong Yidong <cyd@gnu.org>
6350
6351 * dired.el (dired-mode-map): Don't bind M-=.
6352
6353 * dired-aux.el (dired-diff): Use backup file as default.
6354
6355 2012-09-08 Drew Adams <drew.adams@oracle.com>
6356
6357 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6358
6359 2012-09-08 Chong Yidong <cyd@gnu.org>
6360
6361 * subr.el (syntax-after, syntax-class): Doc fix.
6362
6363 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6364
6365 * window.el (display-buffer-in-previous-window): New buffer
6366 display action function.
6367
6368 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6369 (debugger-previous-window): New variable.
6370 (debug): Rewrite using display-buffer-in-previous-window,
6371 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6372
6373 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6374
6375 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6376
6377 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6378
6379 * progmodes/python.el (python-shell-send-string):
6380 When default-directory is remote, create temp file on remote
6381 filesystem.
6382 (python-shell-send-file): When file is remote, pass local view of
6383 file paths to remote Python interpreter. (Bug#12340)
6384
6385 2012-09-07 Chong Yidong <cyd@gnu.org>
6386
6387 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6388
6389 * files.el (after-find-file): Don't fail on a read-only buffer if
6390 require-final-newline is `visit' or `visit-save' (Bug#11156).
6391
6392 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6393
6394 * userlock.el (ask-user-about-supersession-threat):
6395 Use read-char-choice (Bug#12093).
6396
6397 2012-09-07 Chong Yidong <cyd@gnu.org>
6398
6399 * subr.el (buffer-narrowed-p): New function.
6400
6401 * ses.el (ses-widen):
6402 * simple.el (count-words--buffer-message):
6403 * net/browse-url.el (browse-url-of-buffer): Use it.
6404
6405 * simple.el (count-words-region): Don't signal an error if there
6406 is a non-nil prefix arg and the mark is not set.
6407
6408 * help.el (describe-key-briefly): Allow the message to be seen
6409 when invoked from the minibuffer (Bug#7014).
6410
6411 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6412
6413 * progmodes/ruby-mode.el (ruby-end-of-defun)
6414 (ruby-beginning-of-defun): Simplify, allow indentation before
6415 block beginning and end keywords.
6416 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6417 (ruby-end-of-defun): Expect that the point is at the beginning of
6418 the defun.
6419
6420 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6421
6422 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6423 (bug#12367).
6424 (cl--make-usage-args): Strip _ from argument names.
6425
6426 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6427
6428 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6429 obsolete alias speedbar-key-map.
6430 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6431 (vhdl-index-menu-init): Don't use obsolete variable
6432 font-lock-maximum-size.
6433
6434 2012-09-06 Chong Yidong <cyd@gnu.org>
6435
6436 * frame.el (window-system-version): Mark as obsolete.
6437
6438 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6439 of obsolete variable speedbar-key-map.
6440
6441 2012-09-06 Juri Linkov <juri@jurta.org>
6442
6443 * replace.el (replace-lax-whitespace): New defcustom.
6444 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6445 (replace-string, replace-regexp): Mention it in docstrings.
6446 (perform-replace, replace-highlight): Let-bind
6447 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6448 to the values of replace-lax-whitespace and regexp-flag.
6449 Don't let-bind search-whitespace-regexp. (Bug#10885)
6450
6451 * isearch.el (isearch-query-replace): Let-bind
6452 replace-lax-whitespace instead of let-binding
6453 replace-search-function and replace-re-search-function.
6454 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6455 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6456 (isearch-toggle-symbol): Set isearch-regexp to nil
6457 in isearch-word mode (like in isearch-toggle-word).
6458
6459 2012-09-06 Juri Linkov <juri@jurta.org>
6460
6461 * replace.el (replace-search-function)
6462 (replace-re-search-function): Set default values to nil.
6463 (perform-replace): Let-bind isearch-related variables based on
6464 replace-related values, call `isearch-search-fun' and let-bind
6465 the result to `search-function'. Remove code that sets
6466 `search-function' and `search-string' separately for
6467 `delimited-flag'.
6468 (replace-highlight): Add new argument `delimited-flag' and
6469 rename other arguments to the names used in `perform-replace'.
6470 Let-bind `isearch-word' to the argument `delimited-flag'.
6471 (Bug#10885, bug#10887)
6472
6473 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6474
6475 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6476 ruby-beginning-of-indent, simplify, allow all keywords to have
6477 indentation before them.
6478 (ruby-beginning-of-indent): Adjust for above. Search until the
6479 found point is not inside a string or comment.
6480 (ruby-font-lock-keywords): Allow symbols to start with "@"
6481 character, give them higher priority than variables.
6482 (ruby-syntax-propertize-function)
6483 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6484 matchers. Expression expansions are not comments when inside a
6485 string, and there comment syntax status is irrelevant.
6486 (ruby-match-expression-expansion): New function. Check that
6487 expression expansion is inside a string, and it's not escaped.
6488 (ruby-font-lock-keywords): Use it.
6489
6490 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6491
6492 * help.el (temp-buffer-max-height): New default value.
6493 (temp-buffer-resize-frames): New option.
6494 (resize-temp-buffer-window): Optionally resize frame.
6495
6496 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6497 (fit-frame-to-buffer): New function.
6498
6499 2012-09-05 Glenn Morris <rgm@gnu.org>
6500
6501 * emulation/cua-rect.el (cua--init-rectangles):
6502 * textmodes/picture.el (picture-mode-map):
6503 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6504 like forward-char and backward-char. (Bug#12317)
6505
6506 2012-09-05 Leo Liu <sdl.web@gmail.com>
6507
6508 * progmodes/flymake.el (flymake-warning-re): New variable.
6509 (flymake-parse-line): Use it.
6510
6511 2012-09-05 Glenn Morris <rgm@gnu.org>
6512
6513 * calendar/holidays.el (holiday-christian-holidays):
6514 Rename an entry. (Bug#12289)
6515
6516 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6517
6518 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6519 (bug#12222).
6520
6521 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6522
6523 * loadup.el: Load macroexp. Remove hack.
6524 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6525 (macroexp--expand-all): Use it to get better warnings.
6526 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6527 (internal-macroexpand-for-load): New functions.
6528 (macroexp--pending-eager-loads): New var.
6529 (emacs-startup-hook): New hack to replace one in loadup.el.
6530 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6531 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6532 (cl-psetf): Simplify.
6533 (cl-defstruct): Add indent rule.
6534
6535 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6536
6537 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6538 over `user-mail-address' for the SMTP MAIL FROM envelope.
6539 (smtpmail-via-smtp): Ditto.
6540
6541 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6542
6543 * progmodes/ruby-mode.el: Clean up keybindings.
6544 (ruby-mode-map): Don't bind ruby-electric-brace,
6545 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6546 backward-kill-word, reindent-then-newline-and-indent.
6547 (ruby-mark-defun): Remove.
6548 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6549 (ruby-mode): Set local beginning-of-defun-function and
6550 end-of-defun-function values.
6551
6552 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6553
6554 * window.el (temp-buffer-window-setup-hook)
6555 (temp-buffer-window-show-hook): New hooks.
6556 (temp-buffer-window-setup, temp-buffer-window-show)
6557 (with-temp-buffer-window): New functions.
6558 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6559 (special-display-popup-frame): Make sure the window used shows BUFFER.
6560
6561 * help.el (temp-buffer-resize-mode): Fix doc-string.
6562 (resize-temp-buffer-window): New optional argument WINDOW.
6563
6564 * files.el (recover-file, save-buffers-kill-emacs):
6565 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6566
6567 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6568
6569 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6570 remote definition of `default-directory', ensure we can connect.
6571
6572 2012-09-02 Juri Linkov <juri@jurta.org>
6573
6574 Toggle whitespace matching mode with M-s SPC.
6575 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6576
6577 * isearch.el (search-whitespace-regexp): Doc fix.
6578 Remove cons cell customization.
6579 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6580 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6581 New variables.
6582 (isearch-forward, isearch-forward-regexp): Doc fix.
6583 (isearch-toggle-lax-whitespace): New command.
6584 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6585 (re-search-forward-lax-whitespace)
6586 (re-search-backward-lax-whitespace): New functions.
6587 (isearch-whitespace-regexp): Remove function.
6588 (isearch-query-replace): Let-bind replace-search-function and
6589 replace-re-search-function.
6590 (isearch-occur): Let-bind search-spaces-regexp according to the
6591 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6592 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6593 condition for C-q SPC.
6594 (isearch-search-fun-default): Use new functions mentioned above.
6595 (isearch-search-forward, isearch-search-backward): Remove functions.
6596 (isearch-search): Don't let-bind search-spaces-regexp.
6597 (isearch-lazy-highlight-space-regexp): Remove variable.
6598 (isearch-lazy-highlight-lax-whitespace)
6599 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6600 (isearch-lazy-highlight-new-loop): Use them.
6601 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6602
6603 2012-09-02 Chong Yidong <cyd@gnu.org>
6604
6605 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6606
6607 2012-09-02 Glenn Morris <rgm@gnu.org>
6608
6609 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6610
6611 2012-09-01 Glenn Morris <rgm@gnu.org>
6612
6613 * term.el: Tidy up menu definitions.
6614 (term-mode-map): Use easymenu for In/Out, Complete menus.
6615 (term-pager-break-map): Initialize in the defvar.
6616 (term-terminal-menu, term-signals-menu): Define with easymenu.
6617 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6618 (term-pager-menu): New, extracted from term-process-pager.
6619 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6620 (term-update-mode-line): Propertize line/char and page items.
6621 (term-process-pager): Move keymap initialization elsewhere.
6622
6623 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6624
6625 * window.el (switch-to-prev-buffer): Handle additional values of
6626 BURY-OR-KILL argument. Don't switch in minibuffer window.
6627 (switch-to-next-buffer): Don't switch in minibuffer window.
6628 (quit-restore-window): New function based on quit-window.
6629 Handle additional values of former KILL argument.
6630 (quit-window): Call quit-restore-window with appropriate
6631 interpretation of KILL argument.
6632 (display-buffer-below-selected): New buffer display action
6633 function.
6634
6635 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6636
6637 * minibuffer.el (completion-at-point-functions): Complete docstring
6638 (bug#12254).
6639
6640 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6641
6642 Better seed support for (random).
6643 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6644 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6645 * play/mpuz.el, play/tetris.el, play/zone.el:
6646 * calc/calc-comb.el (math-init-random-base):
6647 * play/blackbox.el (bb-init-board):
6648 * play/life.el (life):
6649 * server.el (server-use-tcp):
6650 * type-break.el (type-break):
6651 Remove unnecessary call to (random t).
6652 * net/sasl.el (sasl-unique-id-function):
6653 Change (random t) to (random), now that the latter is more random.
6654 * play/life.el (life-initialized): Remove no-longer-needed var.
6655
6656 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6657
6658 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6659 Consider frame's buffer predicate when choosing the buffer.
6660 (Bug#12081)
6661
6662 2012-08-30 Richard Stallman <rms@gnu.org>
6663
6664 * simple.el (special-mode-map): Delete binding for `z'.
6665
6666 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6667
6668 * progmodes/compile.el (compilation-always-kill): Doc fix.
6669
6670 2012-08-30 Chong Yidong <cyd@gnu.org>
6671
6672 * window.el (display-buffer-reuse-frames): Make the obsolescence
6673 message more informative.
6674
6675 2012-08-30 Glenn Morris <rgm@gnu.org>
6676
6677 * paren.el (show-paren-delay):
6678 Add a :set function. Doc fix. (Bug#12297)
6679
6680 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6681
6682 * progmodes/compile.el (compilation-always-kill): New var.
6683 (compilation-start): Use it.
6684
6685 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6686
6687 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6688 * files.el (read-only-mode): Move to simple.el.
6689
6690 * files.el (read-only-mode): New minor mode.
6691 (toggle-read-only): Use it and mark obsolete.
6692 (find-file--read-only):
6693 * vc/vc.el (vc-next-action, vc-checkout):
6694 * vc/vc-cvs.el (vc-cvs-checkout):
6695 * obsolete/vc-mcvs.el (vc-mcvs-update):
6696 * ffap.el (ffap--toggle-read-only): Update callers.
6697
6698 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6699
6700 * eshell/esh-ext.el (eshell-external-command): Do not examine
6701 remote shell scripts.
6702 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6703
6704 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6705 "/usr/local/sbin".
6706
6707 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6708
6709 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6710
6711 2012-08-28 Leo Liu <sdl.web@gmail.com>
6712
6713 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6714 completion-at-point. (Bug#12220)
6715
6716 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6717
6718 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6719
6720 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6721
6722 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6723 be buffer-local; add delete-trailing-whitespace (bug#12259).
6724
6725 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6726
6727 * progmodes/hideif.el (hif-compress-define-list):
6728 Fix typo. (Bug#11951)
6729
6730 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6731
6732 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6733 buffer local setting.
6734
6735 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6736 rcirc-encode-coding-system.
6737
6738 2012-08-28 Leo Liu <sdl.web@gmail.com>
6739
6740 * net/rcirc.el (rcirc-split-message): New function.
6741 (rcirc-send-message): Use it. (Bug#12051)
6742
6743 2012-08-28 Juri Linkov <juri@jurta.org>
6744
6745 * info.el (Info-fontify-node): Hide empty lines at the end of
6746 the node. (Bug#12272)
6747
6748 2012-08-27 Drew Adams <drew.adams@oracle.com>
6749
6750 * dired.el (dired-pop-to-buffer): Make window start at beginning
6751 of buffer (Bug#12281).
6752
6753 2012-08-26 Chong Yidong <cyd@gnu.org>
6754
6755 * window.el (special-display-regexps, special-display-frame-alist)
6756 (special-display-buffer-names, special-display-function)
6757 (display-buffer-reuse-frames): Mark as obsolete.
6758
6759 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6760
6761 * help.el (help-print-return-message): Don't treat
6762 display-buffer-reuse-frames specially.
6763
6764 2012-08-26 Chong Yidong <cyd@gnu.org>
6765
6766 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6767 New variable, replacing gdb-frame-parameters.
6768 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6769 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6770 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6771 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6772 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6773 the functions directly with gdb-display-buffer-other-frame-action.
6774 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6775 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6776 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6777 (gdb-display-registers-buffer): Define directly.
6778 (def-gdb-display-buffer): Macro deleted.
6779 (gdb-display-buffer): Remove second and third args, callers don't
6780 use them. Defer to the default display-buffer behavior, apart
6781 from making windows dedicated.
6782 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6783
6784 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6785
6786 * window.el (display-buffer-pop-up-frame): Handle a
6787 pop-up-frame-parameters alist entry.
6788 (display-buffer): Document it.
6789
6790 2012-08-26 Chong Yidong <cyd@gnu.org>
6791
6792 * isearch.el (search-whitespace-regexp): Make string and nil
6793 values apply to both ordinary and regexp search. Allow a cons
6794 cell value to distinguish between the two.
6795 (isearch-whitespace-regexp, isearch-search-forward)
6796 (isearch-search-backward): New functions.
6797 (isearch-occur, isearch-search-fun-default, isearch-search)
6798 (isearch-lazy-highlight-new-loop): Use them.
6799 (isearch-forward, isearch-forward-regexp): Doc fix.
6800
6801 2012-08-26 Chong Yidong <cyd@gnu.org>
6802
6803 * faces.el (help-argument-name): Always inherit from italic
6804 (Bug#12213).
6805
6806 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6807
6808 * window.el (window--even-window-heights): Even heights when
6809 WINDOW and the selected window form a vertical combination.
6810 (display-buffer-use-some-window): Provide that window used gets
6811 sized back by quit-window. (Bug#11880) and (Bug#12091)
6812
6813 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6814
6815 Fix file time stamp problem with bzr and CVS (Bug#12001).
6816 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6817 in the file's time stamp, since the version control system loses
6818 that information.
6819
6820 2012-08-22 Juri Linkov <juri@jurta.org>
6821
6822 * info.el (Info-fontify-node): Hide the suffix of the
6823 Info file name in the header line. (Bug#12187)
6824
6825 2012-08-22 Glenn Morris <rgm@gnu.org>
6826
6827 * calendar/cal-tex.el (cal-tex-weekly-common):
6828 Restore leading blank page.
6829
6830 2012-08-22 Le Wang <l26wang@gmail.com>
6831
6832 * misc.el (forward-to-word, backward-to-word): Activate or extend
6833 the region under `shift-select-mode'. (Bug#12231)
6834
6835 2012-08-22 Bastien Guerry <bzg@gnu.org>
6836
6837 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6838 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6839 gives details on why the space is never needed.
6840
6841 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6842
6843 * window.el (walk-window-tree, window-with-parameter):
6844 New optional argument MINIBUF to control whether these functions
6845 should run on the minibuffer window.
6846 (window-at-side-list): Don't operate on minibuffer window.
6847 (window-in-direction): Simplify and rewrite doc-string.
6848 (window--size-ignore): Rename to window--size-ignore-p.
6849 Update callers.
6850 (display-buffer-in-atom-window, window--major-non-side-window)
6851 (window--major-side-window, display-buffer-in-major-side-window)
6852 (delete-side-window, display-buffer-in-side-window):
6853 New functions.
6854 (window--side-check, window-deletable-p, delete-window)
6855 (delete-other-windows, split-window): Handle side windows and
6856 atomic windows appropriately.
6857 (window--display-buffer): Call display-buffer-record-window also
6858 when the window buffer did not change.
6859
6860 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6861
6862 * help-fns.el (help-fns--key-bindings):
6863 Abbreviate non-symbol remap targets. (Bug#12174)
6864
6865 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6866
6867 * dired.el (dired-mark-remembered): Don't clobber point.
6868 (Bug#11795)
6869
6870 2012-08-22 Glenn Morris <rgm@gnu.org>
6871
6872 * progmodes/bug-reference.el (bug-reference): New custom group.
6873 (bug-reference-bug-regexp): Make it a defcustom.
6874
6875 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6876
6877 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6878 (js-paren-indent-offset, js-square-indent-offset)
6879 (js-curly-indent-offset): Add :safe (Bug#12257).
6880
6881 2012-08-22 Edward O'Connor <hober0@gmail.com>
6882
6883 * json.el (json-key-format): Add error properties.
6884 (json-encode-key): New function.
6885 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6886 Use json-encode-key.
6887
6888 2012-08-22 Glenn Morris <rgm@gnu.org>
6889
6890 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6891 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6892 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6893 Update for above change.
6894
6895 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6896
6897 * cus-face.el (custom-face-attributes): Fix customize type for the
6898 :underline attribute. (Bug#11805)
6899
6900 2012-08-21 Martin Rudalics <rudalics@gmx.at>
6901
6902 * window.el (window-point-1, set-window-point-1): Remove.
6903 (window-in-direction, record-window-buffer)
6904 (set-window-buffer-start-and-point, split-window-below)
6905 (window--state-get-1, display-buffer-record-window):
6906 Replace calls to window-point-1 and set-window-point-1 by calls to
6907 window-point and set-window-point respectively.
6908
6909 2012-08-21 Glenn Morris <rgm@gnu.org>
6910
6911 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6912 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6913 Use it.
6914
6915 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6916 (cal-tex-shortday): New function.
6917 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6918 (cal-tex-cursor-filofax-daily): Use the above.
6919
6920 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6921 New functions.
6922 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6923 (cal-tex-cursor-filofax-week): Use them.
6924
6925 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6926 New constants.
6927 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6928 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6929
6930 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6931 (cal-tex-end-document): Don't rely on buffer name.
6932
6933 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6934 Use cal-tex-vspace.
6935 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6936 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6937 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6938 Use cal-tex-arg.
6939
6940 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6941 (cal-tex-cursor-week, cal-tex-cursor-week2)
6942 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6943 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6944 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6945 (cal-tex-insert-preamble, cal-tex-b-document)
6946 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6947 Improve cal-tex-cmd usage.
6948
6949 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6950 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6951 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6952 (cal-tex-weekly-paper): New function.
6953 (cal-tex-cursor-week, cal-tex-cursor-week2)
6954 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6955 (cal-tex-cursor-day): Use it.
6956
6957 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6958 (cal-tex-cursor-filofax-week): Remove leading blank page.
6959
6960 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6961 Add autoload cookie. For now at least, don't use color, since
6962 no other cal-tex function does.
6963
6964 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6965 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6966 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6967
6968 2012-08-21 Juri Linkov <juri@jurta.org>
6969
6970 * info.el (Info-file-attributes): New variable.
6971 (info-insert-file-contents): Add file attributes to
6972 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6973 `Info-toc-nodes' when previous modtime of the Info file is less
6974 than new modtime.
6975 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6976 of info.el. (Bug#12230)
6977
6978 2012-08-20 Glenn Morris <rgm@gnu.org>
6979
6980 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6981 * calendar/holidays.el (calendar-holiday-list):
6982 Report errors with display-warning rather than beep'n'sleep.
6983
6984 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
6985
6986 * net/tramp.el (tramp-accept-process-output): Accept only output
6987 from PROC. Otherwise, process filters and sentinels might be
6988 confused. (Bug#12145)
6989
6990 2012-08-20 Chong Yidong <cyd@gnu.org>
6991
6992 * descr-text.el (describe-text-properties-1): Use overlays-in to
6993 report on empty overlays (Bug#3322).
6994
6995 2012-08-20 Glenn Morris <rgm@gnu.org>
6996
6997 * mail/rmailout.el (rmail-output-read-file-name):
6998 Trap and report errors in rmail-output-file-alist elements.
6999
7000 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
7001 since most non-font-lock faces are not also variables).
7002
7003 2012-08-20 Edward Reingold <reingold@iit.edu>
7004
7005 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
7006 New function. (Bug12160)
7007
7008 2012-08-19 Glenn Morris <rgm@gnu.org>
7009
7010 * mail/rmailout.el (rmail-output-read-file-name):
7011 Fix previous change (when the alist is nil or does not match).
7012
7013 2012-08-19 Chong Yidong <cyd@gnu.org>
7014
7015 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
7016 (Bug#12228).
7017
7018 2012-08-18 Chong Yidong <cyd@gnu.org>
7019
7020 * simple.el (yank-handled-properties): New defcustom.
7021 (yank-excluded-properties): Add font-lock-face and category.
7022 (yank): Doc fix.
7023
7024 * subr.el (remove-yank-excluded-properties):
7025 Obey yank-handled-properties. The special handling of font-lock-face
7026 and category is now done this way, instead of being hard-coded.
7027 (insert-for-yank-1): Remove font-lock-face handling.
7028 (yank-handle-font-lock-face-property)
7029 (yank-handle-category-property): New function.
7030
7031 2012-08-17 Glenn Morris <rgm@gnu.org>
7032
7033 * mail/rmailout.el (rmail-output-read-file-name):
7034 Check rmail-output-file-alist against the full message body
7035 in the correct rmail buffer. (Bug#12214)
7036
7037 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
7038
7039 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7040 Eliminate superfluous prompt. (Bug#12203)
7041
7042 2012-08-17 Chong Yidong <cyd@gnu.org>
7043
7044 * mouse.el (mouse-appearance-menu): If x-select-font returns a
7045 font spec, set the font directly (Bug#3228).
7046
7047 2012-08-17 Martin Rudalics <rudalics@gmx.at>
7048
7049 * window.el (delete-window): Fix last fix.
7050
7051 2012-08-16 Martin Rudalics <rudalics@gmx.at>
7052
7053 * window.el (window-valid-p): Move to window.c.
7054 (window-child, window-child-count, window-last-child)
7055 (window-normalize-window, window-combined-p)
7056 (window-combinations, window-atom-root, window-min-size)
7057 (window-sizable, window-sizable-p, window-size-fixed-p)
7058 (window-min-delta, window-max-delta, window--resizable)
7059 (window--resizable-p, window-resizable, window-total-size)
7060 (window-full-height-p, window-full-width-p, window-body-size)
7061 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7062 (minimize-window, window-deletable-p, delete-window)
7063 (delete-other-windows, set-window-buffer-start-and-point)
7064 (next-buffer, previous-buffer, split-window, balance-windows-2)
7065 (set-window-text-height, window-buffer-height)
7066 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7067 (truncated-partial-width-window-p): Minor code adjustments.
7068 In doc-strings state whether the argument window has to denote a
7069 live, valid or any window.
7070
7071 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7072
7073 * progmodes/subword.el (subword-forward-function)
7074 (subword-backward-function, subword-forward-regexp)
7075 (subword-backward-regexp): New variables.
7076 (subword-forward, subword-forward-internal, subword-backward-internal):
7077 Use new variables, eg so that different "word" definitions
7078 can be easily used. (Bug#11411)
7079
7080 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7081
7082 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7083 for composite selectors.
7084 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7085 operation just because we can't find a previous revision.
7086
7087 2012-08-15 Chong Yidong <cyd@gnu.org>
7088
7089 * frame.el (set-frame-font): Accept font objects.
7090
7091 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7092
7093 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7094
7095 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7096
7097 * man.el (Man-overstrike-face, Man-underline-face)
7098 (Man-reverse-face): Remove variables.
7099 (Man-overstrike, Man-underline, Man-reverse): New faces.
7100 (Man-fontify-manpage): Use them instead of the variables.
7101 (Man-cleanup-manpage): Comment change.
7102 (Man-ansi-color-map): New variable.
7103 (Man-fontify-manpage): Use it.
7104 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7105
7106 Implement ANSI SGR parameters 22-27 (bug#12146).
7107 * ansi-color.el (ansi-colors): Doc fix.
7108 (ansi-color-context, ansi-color-context-region): Doc fix.
7109 (ansi-color--find-face): New function.
7110 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7111 Rename the local variable `face' to `codes' since it is now a list of
7112 ansi codes. Doc fix.
7113 (ansi-color-get-face): Remove.
7114 (ansi-color-parse-sequence): New function, derived from
7115 ansi-color-get-face.
7116 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7117 codes 22-27.
7118
7119 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7120
7121 * subr.el (read-passwd): Allow use from a minibuffer.
7122
7123 2012-08-14 Eli Zaretskii <eliz@gnu.org>
7124
7125 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7126 inside comments and strings as identifiers.
7127
7128 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7129 expression to evaluate. This allows to evaluate expressions with
7130 embedded whitespace.
7131 (gud-tooltip-tips): Add a blank before the newline in the
7132 message-box text, for the benefit of message-box emulation on
7133 MS-Windows.
7134
7135 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7136 messages from GDB, pop them up in a tooltip to give feedback to
7137 user.
7138 (gdb-tooltip-print-1): Quote the expression to evaluate.
7139 This allows to evaluate expressions with embedded whitespace.
7140 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7141 if the TTY name is nil or empty (which happens when communicating
7142 with the inferior via pipes, e.g. on MS-Windows).
7143 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7144 don't send that to the GUD buffer.
7145
7146 2012-08-14 Glenn Morris <rgm@gnu.org>
7147
7148 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7149 Optimize away setq-default with no args, as for setq. (Bug#12195)
7150
7151 2012-08-14 Chong Yidong <cyd@gnu.org>
7152
7153 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7154
7155 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7156 (Bug#12085).
7157
7158 2012-08-14 Glenn Morris <rgm@gnu.org>
7159
7160 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7161
7162 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
7163
7164 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7165 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7166 Use cached shell name.
7167
7168 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7169
7170 * progmodes/python.el (python-shell-send-string):
7171 (python-shell-send-setup-code): Do not use `format' with `message'.
7172
7173 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7174
7175 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7176 (ruby-percent-literal-beg-re): New constant.
7177 (ruby-syntax-general-delimiters-goto-beg): Rename to
7178 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7179 (ruby-syntax-propertize-general-delimiters): Rename to
7180 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7181 popular term. Adjust comments everywhere.
7182 (ruby-syntax-propertize-percent-literal): Only propertize when not
7183 inside a simple string or comment. When the literal is unclosed,
7184 leave the text after it unpropertized.
7185 (ruby-syntax-methods-before-regexp): New constant.
7186 (ruby-syntax-propertize-function): Use it to recognize regexps.
7187 Don't look at the text after regexp, just use the whitelist.
7188
7189 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7190
7191 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7192 non-nil always load the compiled file if it exists. (Bug#12197)
7193
7194 2012-08-14 Chong Yidong <cyd@gnu.org>
7195
7196 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7197 (hi-lock-set-pattern): When deciding whether to use font lock or
7198 overlays, look at font-lock-mode instead of font-lock-fontified
7199 (Bug#12168).
7200 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7201 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7202
7203 2012-08-14 Daiki Ueno <ueno@unixuser.org>
7204
7205 * subr.el (internal--after-with-selected-window): Fix typo
7206 (Bug#12193).
7207
7208 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7209
7210 Use `completion-table-dynamic' for completion functions.
7211 * progmodes/python.el
7212 (python-shell-completion--do-completion-at-point)
7213 (python-shell-completion--get-completions):
7214 Remove functions.
7215 (python-shell-completion-complete-at-point): New function.
7216 (python-completion-complete-at-point): Use it.
7217
7218 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
7219
7220 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7221 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7222
7223 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7224
7225 * subr.el (function-get): Refine `autoload' arg so it can also
7226 autoload functions for gv.el (bug#12191).
7227 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7228 autoloads macros.
7229
7230 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7231 Prefer pcase-let over destructuring-bind.
7232 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7233 Also, remove whitespace as we go, rather than after accumulating the
7234 various places.
7235
7236 * subr.el (internal--before-with-selected-window)
7237 (internal--after-with-selected-window): Fix typo seleted->selected.
7238 (with-selected-window): Adjust callers.
7239 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7240
7241 2012-08-13 Bastien Guerry <bzg@gnu.org>
7242
7243 * window.el (special-display-popup-frame): Minor docstring
7244 enhancement. (Bug#12172)
7245
7246 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7247
7248 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7249 type 1-6.
7250 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7251 extended headers.
7252
7253 * files.el (hack-local-variables-filter): Remove useless eval.
7254
7255 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7256
7257 * subr.el (with-selected-window): Fix last change.
7258
7259 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7260
7261 * subr.el (internal--before-with-seleted-window)
7262 (internal--after-with-seleted-window): New functions.
7263 (with-selected-window): Use them, to replace dependency on
7264 tty-top-frame.
7265
7266 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7267
7268 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7269 binding for `newline'.
7270 (ruby-move-to-block): When moving backward, stop at block opening,
7271 not indentation.
7272 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7273 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7274 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7275 `ruby-toggle-block'.
7276
7277 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7278
7279 * ibuffer.el (ibuffer-do-toggle-read-only):
7280 * dired.el (dired-toggle-read-only):
7281 * buff-menu.el (Buffer-menu-toggle-read-only):
7282 * bindings.el (mode-line-toggle-read-only):
7283 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7284
7285 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7286
7287 * descr-text.el (describe-char): Put the overlays over the
7288 "displayed as" character.
7289
7290 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7291
7292 * calc/calc-units.el (math-default-units-table): Give an
7293 initial value.
7294 (math-put-default-units): Add options to put composite units and
7295 unit systems in the default units table.
7296 (calc-convert-units): Send composite units to
7297 `math-put-default-units' when appropriate.
7298
7299 2012-08-11 Glenn Morris <rgm@gnu.org>
7300
7301 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7302
7303 * tutorial.el (help-with-tutorial):
7304 * emacs-lisp/copyright.el (copyright-update-directory):
7305 * emacs-lisp/autoload.el (autoload-find-generated-file)
7306 (autoload-find-file): Disable local eval: (for insurance).
7307
7308 * files.el (hack-local-variables-filter): If an eval: form is not
7309 known to be safe, and enable-local-variables is :safe, then ignore
7310 the form totally, as is done for non-eval forms. (Bug#12155)
7311 This is CVE-2012-3479.
7312
7313 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7314
7315 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7316 (rx-form): Simplify.
7317
7318 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7319
7320 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7321 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7322 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7323 (ruby-syntax-propertize-function): Adjust for changes in
7324 `ruby-syntax-propertize-heredoc'.
7325
7326 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7327
7328 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7329 binding (use `M-;' instead).
7330 (ruby-singleton-class-p): New function.
7331 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7332
7333 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7334
7335 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7336
7337 2012-08-10 Chong Yidong <cyd@gnu.org>
7338
7339 * progmodes/python.el (python-shell-get-process-name): Don't mess
7340 with same-window-buffer-names.
7341
7342 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7343 (eshell-remove-from-window-buffer-names): Make obsolete.
7344 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7345 (eshell): Just use pop-to-buffer-same-window instead.
7346
7347 2012-08-10 Chong Yidong <cyd@gnu.org>
7348
7349 * bindings.el: Bind M-= back to count-words-region.
7350
7351 * simple.el (count-words-region): Accept a prefix arg for acting
7352 on the entire buffer.
7353 (count-words--buffer-message): New helper function.
7354
7355 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7356
7357 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7358 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7359 (event-start, event-end): Use posn-at-point to return a more
7360 informative posn.
7361 (posnp): New function.
7362 * mouse.el (popup-menu-normalize-position): Use it.
7363
7364 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7365
7366 * mouse.el (popup-menu-normalize-position): New function.
7367 (popup-menu): Use `popup-menu-normalize-position' to normalize
7368 the form for POSITION argument.
7369
7370 * term/x-win.el (x-menu-bar-open):
7371 Use the value returend from (posn-at-point) as position
7372 passed to `popup-menu'.
7373
7374 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7375
7376 * calc/calccomp.el (math-compose-expr): Add extra argument
7377 indicating that parentheses should be put around products in
7378 denominators. Give multiplication precedence over division during
7379 composition.
7380
7381 2012-08-09 Chong Yidong <cyd@gnu.org>
7382
7383 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7384 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7385 (Man-untabify-command, manual-program): Convert to defcustom
7386 (Bug#10429).
7387
7388 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7389
7390 * descr-text.el (describe-char): Don't insert extra newlines
7391 (Bug#10127).
7392
7393 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7394 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7395
7396 * align.el (align-region): Delete temporary markers (Bug#10047).
7397 Plus some code cleanups.
7398
7399 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7400
7401 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7402 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7403 (python-shell-internal-last-output): Use make-local-variable
7404 instead of make-variable-buffer-local.
7405
7406 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7407
7408 * progmodes/python.el: Enhancements to forward-sexp.
7409 (python-nav-forward-sexp): Rename from
7410 python-nav-forward-sexp-function.
7411 (python-nav--forward-sexp, python-nav--backward-sexp):
7412 New functions.
7413
7414 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7415
7416 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7417 modes and simplification modes.
7418
7419 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7420
7421 * delsel.el (delete-selection-pre-hook): Don't propagate the
7422 file-supersession signals (bug#12161).
7423
7424 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7425
7426 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7427 (cl-map-extents): Add compatibility aliases (bug#12135).
7428
7429 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7430
7431 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7432 tests by `ignore-error'.
7433 (tramp-find-shell): Open also a new shell, when cache is already
7434 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7435
7436 2012-08-08 Juri Linkov <juri@jurta.org>
7437
7438 * bookmark.el: Add `defaults' property to the bookmark record.
7439 (bookmark-current-buffer): Doc fix.
7440 (bookmark-make-record): Add `defaults' property with default values
7441 to the bookmark record.
7442 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7443 with `bookmark-insert-current-bookmark'.
7444 (bookmark-set): Get `defaults' property from the bookmark record
7445 and use it in `read-from-minibuffer'.
7446 (bookmark-insert-current-bookmark): Remove function.
7447
7448 * info.el (Info-bookmark-make-record): Add `defaults' property
7449 with values of canonical Info node name, the current Info file
7450 name and the current Info node name. (Bug#12107)
7451
7452 2012-08-08 Juri Linkov <juri@jurta.org>
7453
7454 * files.el (basic-save-buffer): Use `buffer-name' as the default
7455 of `read-file-name' when buffer is not visiting a file (bug#12128).
7456
7457 2012-08-08 Juri Linkov <juri@jurta.org>
7458
7459 * info.el (Info-isearch-search): Doc fix.
7460 (Info-search): Change search-failed message from "initial node" to
7461 "end of node" (bug#12078).
7462 (Info-isearch-search): Change `isearch-string-state' to
7463 `isearch--state-string'.
7464
7465 2012-08-08 Glenn Morris <rgm@gnu.org>
7466
7467 * language/persian.el: Remove file.
7468 * language/misc-lang.el: Move unique part of persian.el here.
7469 * loadup.el: Remove language/persian.
7470
7471 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7472
7473 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7474
7475 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7476
7477 * progmodes/python.el: Fix defsubst warning.
7478 (python-syntax-context) Rename from python-info-ppss-context.
7479 (python-syntax-context-type): Rename from
7480 python-info-ppss-context-type.
7481 (python-syntax-comment-or-string-p): Rename from
7482 python-info-ppss-comment-or-string-p.
7483
7484 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7485
7486 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7487
7488 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7489
7490 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7491 a defcustom that is quoted with backquote.
7492
7493 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7494 Fix handling of interactive spec when the body uses return.
7495 (math-do-arg-check, math-define-function-body): Use backquote forms.
7496 * calc/calc-ext.el (math-defcache): Likewise.
7497 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7498 * allout.el (allout-new-exposure): Likewise.
7499 * calc/calcalg2.el (math-tracing-integral): Likewise.
7500 * info.el (Info-last-menu-item): Likewise.
7501 * emulation/vip.el (vip-loop): Likewise.
7502 * textmodes/artist.el (artist-funcall): Likewise.
7503 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7504 Construct menu-item directly.
7505
7506 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7507 Don't declare.
7508
7509 2012-08-07 Chong Yidong <cyd@gnu.org>
7510
7511 * simple.el (deactivate-mark): Preserve text properties when
7512 saving the primary selection (Bug#8384).
7513
7514 2012-08-07 Kevin Ryde <user42@zip.com.au>
7515
7516 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7517 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7518 and continue processing (Bug#12110).
7519
7520 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7521
7522 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7523 syntax-propertize-function (bug#10095).
7524
7525 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7526
7527 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7528 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7529 describe-function-1.
7530 (describe-function-1): Use them. Move compiler macro after sig.
7531 (help-fns--compiler-macro): Use function-get. Assume we're already in
7532 standard-output. Adjust layout to new call order.
7533
7534 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7535 re-binding a symbol that has a symbol-macro (bug#12119).
7536
7537 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7538
7539 * language/persian.el: New file. (Bug#11812)
7540 * loadup.el: Add language/persian.el.
7541
7542 2012-08-06 Chong Yidong <cyd@gnu.org>
7543
7544 * window.el (window--maybe-raise-frame): New function.
7545 (window--display-buffer): Split off from here.
7546 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7547 (display-buffer-pop-up-window, display-buffer-use-some-window):
7548 Obey an inhibit-switch-frame action alist entry.
7549 (display-buffer): Update doc.
7550
7551 * replace.el (occur-after-change-function): Avoid losing focus by
7552 using the inhibit-switch-frame display parameter (Bug#12139).
7553
7554 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7555
7556 Make internal shell process buffer names start with space.
7557 * progmodes/python.el (python-shell-make-comint): Add optional
7558 argument INTERNAL.
7559 (run-python-internal): Use it.
7560 (python-shell-internal-get-or-create-process): Check for new
7561 internal buffer names.
7562
7563 2012-08-06 Glenn Morris <rgm@gnu.org>
7564
7565 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7566 Do less getting and setting of environment variables.
7567
7568 2012-08-05 Chong Yidong <cyd@gnu.org>
7569
7570 * proced.el (proced): Add substitution string to docstring to
7571 trigger autoloading of the proced library on C-h f (Bug#1768).
7572
7573 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7574 Don't show defvars which have no second argument (Bug#8638).
7575
7576 * imenu.el (imenu-generic-expression): Move documentation here
7577 from imenu--generic-function.
7578 (imenu--generic-function): Refer to imenu-generic-expression.
7579
7580 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7581
7582 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7583 indentation declaration.
7584 (viper-loop): Add indentation declaration (Bug#7025).
7585
7586 2012-08-05 Chong Yidong <cyd@gnu.org>
7587
7588 * help-fns.el (describe-variable): Add hyperlink for
7589 directory-local variables files. Improve buffer-local and
7590 permanent-local reporting; suggested by MON KEY (Bug#6644).
7591
7592 * help-mode.el (help-dir-local-var-def): New button type.
7593
7594 * files.el (kill-buffer-hook): Provide a defvar.
7595
7596 2012-08-05 Glenn Morris <rgm@gnu.org>
7597
7598 * eshell/esh-ext.el (eshell/addpath):
7599 Also update eshell-path-env. (Bug#12013)
7600
7601 2012-08-05 Chong Yidong <cyd@gnu.org>
7602
7603 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7604
7605 * fringe.el (fringe-styles): Add docstring.
7606 (fringe--check-mode): New function.
7607 (set-fringe-mode, set-fringe-style): Use it.
7608 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7609
7610 * files.el (set-auto-mode): Fix invalid setq call.
7611
7612 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7613
7614 * isearch.el: Misc simplification; use defstruct.
7615 (isearch-mode-map): Dense maps now work like sparse ones.
7616 (isearch--state): New defstruct.
7617 (isearch-string-state, isearch-message-state, isearch-point-state)
7618 (isearch-success-state, isearch-forward-state)
7619 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7620 (isearch-wrapped-state, isearch-barrier-state)
7621 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7622 replaced by defstruct's accessors.
7623 (isearch--set-state): Rename from isearch-top-state and change
7624 calling convention.
7625 (isearch-push-state): Use new isearch--get-state.
7626 (isearch-toggle-word): Disable regexp when enabling word.
7627 (isearch-message-prefix): Remove unused arg _c-q-hack.
7628 (isearch-message-suffix): Remove unused arg _ellipsis.
7629
7630 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7631
7632 * simple.el (list-processes--refresh): For a server use :host or
7633 :local as the address.
7634 (list-processes): Doc fix.
7635
7636 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7637
7638 * lisp/mpc.el: Support password in host argument.
7639 (mpc--proc-connect): Parse and use new password element.
7640 Set mpc-proc variable instead of returning process.
7641 (mpc-proc): Adjust accordingly.
7642
7643 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7644
7645 * whitespace.el (whitespace-display-mappings): Use Unicode
7646 codepoints, instead of emacs-mule codepoints. See
7647 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7648 for the details.
7649
7650 * files.el (file-truename): Don't skip symlink-chasing part on
7651 windows-nt. Incorporate the resolution of 8+3 short aliases on
7652 Windows into the loop that recursively chases symlinks.
7653 Compare directory and its parent case-insensitively on MS-Windows and
7654 MS-DOS.
7655
7656 2012-08-03 Chong Yidong <cyd@gnu.org>
7657
7658 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7659
7660 * sort.el (sort-regexp-fields): Doc fix.
7661
7662 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7663
7664 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7665 labels regex position point at the expected place.
7666
7667 2012-08-03 MON KEY <monkey@sandpframing.com>
7668
7669 * net/imap.el (imap-interactive-login, imap-authenticate)
7670 (imap-mailbox-lsub, imap-mailbox-list)
7671 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7672 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7673 (imap-parse-response): Doc fix.
7674
7675 2012-08-03 João Távora <joaotavora@gmail.com>
7676
7677 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7678 if sexp scanning does not move point (Bug#5734).
7679
7680 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7681
7682 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7683 Add listings, minted, and ctable packages.
7684 (reftex-label-alist-builtin): Move listings, minted, and ctable
7685 entries before LaTeX.
7686 (reftex-label-alist): Docfix.
7687
7688 2012-08-02 Bastien Guerry <bzg@gnu.org>
7689
7690 * replace.el (occur): Fix docstring (bug#12122).
7691
7692 2012-08-02 Glenn Morris <rgm@gnu.org>
7693
7694 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7695
7696 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7697
7698 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7699 * international/mule-cmds.el: Create
7700 inactivate-current-input-method-function as an obsolete alias for
7701 deactivate-current-input-method-function. See Katsumi Yamaoka in
7702 <http://bugs.gnu.org/10150#46>.
7703
7704 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7705
7706 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7707 of nested `if's.
7708
7709 2012-08-01 Glenn Morris <rgm@gnu.org>
7710
7711 * progmodes/autoconf.el (autoconf-definition-regexp):
7712 Add AH_TEMPLATE, adjust submatch numbering.
7713 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7714 (autoconf-current-defun-function): Update for above change.
7715 (autoconf-current-defun-function): First skip to end of current word.
7716
7717 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7718
7719 * calendar/cal-html.el (cal-html-insert-agenda-days):
7720 Fix typo. (Bug#12018)
7721
7722 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7723
7724 Shell processes: enhancements to startup and CEDET compatibility.
7725 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7726 (python-shell-make-comint): accept-process-output at startup.
7727 (run-python-internal): Set inferior-python-mode-hook to nil.
7728 (python-shell-internal-get-or-create-process): call sit-for.
7729 (python-preoutput-result): Add obsolete alias.
7730 (python-shell-internal-send-string): Use it.
7731 (python-shell-send-setup-code): Remove call to
7732 accept-process-output.
7733
7734 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7735
7736 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7737 (Bug#12108)
7738
7739 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7740
7741 * calc-mode.el (calc-basic-simplification-mode): Rename from
7742 `calc-limited-simplification-mode'.
7743 (calc-alg-simplification-mode): New function.
7744 (calc-set-simplify-mode): Adjust message.
7745
7746 * calc.el (calc-set-mode-line): Adjust mode line display for
7747 basic simplification mode.
7748
7749 * calc-help.el (calc-m-prefix-help): Update help message.
7750
7751 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7752 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7753
7754 2012-07-31 Bastien Guerry <bzg@gnu.org>
7755
7756 * man.el (man): Fix comment. (bug#12101)
7757
7758 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7759
7760 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7761 Don't return a non-nil value when no suitable buffer was found.
7762
7763 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7764
7765 * progmodes/python.el (run-python-internal): Disable font lock for
7766 internal shells.
7767
7768 2012-07-30 Stefan Merten <smerten@oekonux.de>
7769
7770 * textmodes/rst.el: Silence `checkdoc-ispell'.
7771 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7772 (rst-official-version, rst-official-cvs-rev)
7773 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7774 (rst-mode-map): New key binding.
7775
7776 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7777
7778 Update .PHONY listings in makefiles.
7779 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7780 autoloads, update-subdirs, updates, bzr-update, update-authors,
7781 compile-onefile, compile-calc, backup-compiled-files,
7782 compile-after-backup, compile-one-process, mh-autoloads,
7783 bootstrap-clean, distclean, maintainer-clean.
7784
7785 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7786
7787 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7788 (calc-set-mode-line): Don't display "AlgSimp ".
7789
7790 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7791 (calc-lim-simplify-mode): New function.
7792 (calc-set-simplify-mode): Default to 'alg.
7793 (calc-default-simplify-mode): Make algebraic simplifications
7794 the default.
7795
7796 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7797 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7798
7799 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7800 indicate new simplification modes.
7801
7802 * calc/README: Mention new default simplification mode.
7803
7804 * calc/calc.el (math-normalize-error): New variable.
7805 (math-normalize): Set `math-normalize-error' to t
7806 when there's an error.
7807
7808 * calc/calc-alg.el (math-simplify): Don't simplify when
7809 `math-normalize' returns an error.
7810
7811 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7812
7813 * international/mule-cmds.el (set-locale-environment): Revert last
7814 change, since display-graphic-p returns nil when this function is
7815 called during startup. Instead...
7816
7817 * term/w32console.el (terminal-init-w32console): ...setup the
7818 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7819
7820 2012-07-29 Juri Linkov <juri@jurta.org>
7821
7822 * simple.el (goto-line): Don't display default line number in the
7823 prompt because it should be displayed by `read-number' (bug#9952).
7824 Add the current line number to the defaults of `goto-line' to
7825 allow its easier modification by users with `M-n' (bug#9201).
7826
7827 * subr.el (read-number): Support multiple default values like in
7828 other minibuffer reading functions. Replace `read' with
7829 `string-to-number' for consistency with `number-to-string'.
7830
7831 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7832
7833 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7834 * emulation/viper-init.el (viper-deactivate-input-method-action):
7835 Rename from viper-inactivate-input-method-action.
7836 (viper-deactivate-input-method):
7837 Rename from viper-inactivate-input-method.
7838 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7839 * international/mule-cmds.el (deactivate-input-method):
7840 Rename from inactivate-input-method.
7841 Also run input-method-deactivate-hook.
7842 (deactivate-current-input-method-function):
7843 Rename from inactivate-current-input-method-function.
7844 (input-method-deactivate-hook): New hook.
7845 (input-method-inactivate-hook): Mark obsolete.
7846 (inactivate-input-method): Mark obsolete.
7847
7848 * international/quail.el (quail-activate):
7849 Also run quail-deactivate-hook.
7850 (quail-deactivate): Rename from quail-inactivate.
7851 * international/robin.el (robin-activate):
7852 Also run robin-deactivate-hook.
7853 (robin-deactivate): Rename from robin-inactivate.
7854
7855 2012-07-29 Chong Yidong <cyd@gnu.org>
7856
7857 * simple.el (indicate-copied-region): New function.
7858 (kill-ring-save): Split off from here.
7859
7860 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7861 (kill-rectangle): Set deactivate-mark to t on read-only error.
7862
7863 * register.el (copy-to-register, copy-rectangle-to-register):
7864 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7865 (append-to-register, prepend-to-register): Call indicate-copied-region.
7866
7867 2012-07-29 Juri Linkov <juri@jurta.org>
7868
7869 * simple.el (async-shell-command-buffer): New defcustom.
7870 (shell-command): Use it. (Bug#4719)
7871
7872 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7873
7874 * international/mule-cmds.el (set-locale-environment): In a
7875 console session on MS-Windows, set up keyboard and terminal
7876 encoding from the OEM codepage, not the ANSI codepage.
7877 (Bug#12055)
7878
7879 2012-07-28 Chong Yidong <cyd@gnu.org>
7880
7881 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7882 gdb-get-location.
7883
7884 2012-07-28 Leo Liu <sdl.web@gmail.com>
7885
7886 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7887 the alist (bug#12029).
7888
7889 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7890
7891 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7892 (compile-always, compile-first)
7893 ($(lisp)/calendar/cal-loaddefs.el)
7894 ($(lisp)/calendar/diary-loaddefs.el)
7895 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7896 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7897 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7898 instead of on update-subdirs.
7899 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7900
7901 2012-07-28 Chong Yidong <cyd@gnu.org>
7902
7903 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7904 directory if vc-deduce-backend returns nil (Bug#7350).
7905
7906 * simple.el (delete-trailing-lines): New option.
7907 (delete-trailing-whitespace): Obey it (Bug#11879).
7908
7909 2012-07-28 David Engster <deng@randomsample.de>
7910
7911 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7912 Explanation of new 'symbol-qnames feature in doc-strings.
7913 (xml-maybe-do-ns): Return expanded names as plain symbols if
7914 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7915 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7916
7917 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7918
7919 Consistent completion in inferior python with emacs -nw.
7920 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7921 binding in inferior-python-mode-map with "\t".
7922 (python-shell-completion-complete-at-point)
7923 (python-completion-complete-at-point): Remove interactive spec.
7924
7925 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7926
7927 * calc/calccomp.el (math-compose-expr): Undo previous change.
7928
7929 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7930
7931 * progmodes/python.el (python-mode-map): Add keybinding for
7932 run-python.
7933 (python-shell-make-comint): Fix pop-to-buffer call.
7934 (run-python): Autoload. New arg SHOW.
7935 (python-shell-get-or-create-process): Do not pop python process
7936 buffer.
7937
7938 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
7939
7940 * notifications.el (notifications-on-action-signal)
7941 (notifications-on-closed-signal): Use also the bus address for the map.
7942 (notifications-notify, notifications-close-notification)
7943 (notifications-get-capabilities): Add optional argument BUS.
7944
7945 2012-07-27 Tassilo Horn <tsdh@gnu.org>
7946
7947 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7948 Add support for the lstlisting and minted environments, and for the
7949 ctable macro.
7950 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7951 labels written in keyvals syntax.
7952
7953 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7954
7955 * calc/calccomp.el (math-compose-expr): Use parentheses when
7956 there is a product in the denominator of a fraction.
7957
7958 2012-07-26 Eli Zaretskii <eliz@gnu.org>
7959
7960 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7961 ($(lisp)/calendar/diary-loaddefs.el)
7962 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7963 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7964 Fixes failures in parallel bootstrap because subdirs.el is being
7965 rewritten while the autoload files are built at the same time,
7966 which needs to load subdirs.el.
7967
7968 2012-07-26 Martin Rudalics <rudalics@gmx.at>
7969
7970 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7971 (mouse-drag-line): Don't exit tracking when a switch-frame or
7972 switch-window event occurs (Bug#12006).
7973
7974 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7975
7976 * mouse.el (popup-menu): Fix last change.
7977
7978 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7979
7980 Autoload from Lisp with more care. Follow aliases when looking for
7981 function properties.
7982 * subr.el (autoloadp): New function.
7983 (symbol-file): Use it.
7984 (function-get): New function.
7985 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7986 autoload-do-load.
7987 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7988 (lisp-indent-function):
7989 * emacs-lisp/gv.el (gv-get):
7990 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7991 * emacs-lisp/byte-opt.el (byte-optimize-form):
7992 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7993 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7994 Use function-get.
7995 * emacs-lisp/cl.el: Don't propagate function properties any more.
7996
7997 * speedbar.el (speedbar-add-localized-speedbar-support):
7998 * emacs-lisp/disass.el (disassemble-internal):
7999 * desktop.el (desktop-load-file):
8000 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
8001 (describe-function-1):
8002 * emacs-lisp/find-func.el (find-function-noselect):
8003 * emacs-lisp/elp.el (elp-instrument-function):
8004 * emacs-lisp/advice.el (ad-has-proper-definition):
8005 * apropos.el (apropos-safe-documentation, apropos-macrop):
8006 * emacs-lisp/debug.el (debug-on-entry):
8007 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
8008 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
8009 * calc/calc.el (name): Use autoloadp & autoload-do-load.
8010
8011 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
8012
8013 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
8014 function, not an obsolete variable (Bug#12046).
8015
8016 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
8017
8018 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
8019
8020 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
8021
8022 * emacs-lisp/pp.el (pp-display-expression): Select old selected
8023 window only if it is still live (Bug#12034).
8024
8025 2012-07-25 Martin Rudalics <rudalics@gmx.at>
8026
8027 * subr.el (redirect-frame-focus): Add advertised calling
8028 convention (Bug#12030).
8029
8030 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
8031
8032 Prefer typical American spelling for "acknowledgment".
8033 * vc/add-log.el (change-log-acknowledgment): Rename from
8034 change-log-acknowledgement, with an alias for the old name.
8035
8036 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
8037
8038 * calc-alg.el (math-simplify-divide): Don't cross multiply
8039 in an equation when the lhs is a variable.
8040
8041 2012-07-24 Julien Danjou <julien@danjou.info>
8042
8043 * net/netrc.el (netrc-find-service-number, netrc-store-data):
8044 Remove, unused.
8045
8046 2012-07-23 Eli Zaretskii <eliz@gnu.org>
8047
8048 * startup.el (command-line): Don't display an empty user name in
8049 the error message about non-existent home directory, when
8050 init-file-user was set to an empty string. See
8051 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8052 for the details and context.
8053
8054 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8055
8056 * ses.el (ses-cell-formula-aset): New macro.
8057 (ses-cell-references-aset): New macro.
8058 (ses-cell-p): New function.
8059 (ses-rename-cell): Do no longer rely on complex operations like
8060 ses-cell-set-formula or ses-set-cell to change the cell and handle
8061 the undo at the same time, but rather use lower level new macros
8062 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
8063 the undo directly. Refresh the mode line.
8064
8065 2012-07-21 Leo Liu <sdl.web@gmail.com>
8066
8067 * progmodes/cc-cmds.el (c-defun-name):
8068 Use match-string-no-properties instead for consistency.
8069
8070 2012-07-20 Leo Liu <sdl.web@gmail.com>
8071
8072 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8073 (Bug#7879)
8074
8075 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8076
8077 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8078
8079 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8080 * progmodes/bug-reference.el, misearch.el: Provide themselves
8081 (bug#11915).
8082
8083 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8084 of narrowed buffer (bug#11966).
8085
8086 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8087
8088 * ses.el (ses-rename-cell): Set new name also in reference list of
8089 cells of which the renamed cell depends.
8090
8091 2012-07-20 Masatake YAMATO <yamato@redhat.com>
8092
8093 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8094 to check whether menu-bar is shown or not. If not shown,
8095 show the menu-bar as a popup menu instead of using tmm.
8096 * mouse.el (popup-menu): Accept `point' as `position' argument.
8097
8098 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8099
8100 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8101 up inside string symbol literal (bug#11923).
8102
8103 2012-07-20 Eli Zaretskii <eliz@gnu.org>
8104
8105 * startup.el (fancy-startup-text): Read the whole tutorial, not
8106 just its first 256 bytes. Prevents gibberish in display of the
8107 tutorial title.
8108
8109 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8110
8111 Drop idle buffer compaction due to an absence of the
8112 proved efficiency.
8113 * compact.el: Remove.
8114
8115 2012-07-19 Sam Steingold <sds@gnu.org>
8116
8117 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8118 vc-bzr-pull & vc-bzr-merge-branch.
8119 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8120 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8121 for consistency with compilation-error-regexp-alist.
8122 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8123 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8124 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8125 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8126
8127 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8128
8129 * emacs-lisp/chart.el: Use lexical-binding.
8130 (chart-emacs-storage): Don't hardcode the list of entries.
8131
8132 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8133
8134 Next round of tweaks caused by Fgarbage_collect changes.
8135 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8136
8137 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8138
8139 Compact buffers when idle.
8140 * compact.el: New file.
8141
8142 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8143
8144 * subr.el (eventp): Presume that if it looks vaguely like an event,
8145 it's an event (bug#10190).
8146
8147 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8148
8149 Enhancements to ppss related code (thanks Stefan).
8150 * progmodes/python.el (python-indent-context)
8151 (python-indent-calculate-indentation, python-indent-dedent-line)
8152 (python-indent-electric-colon, python-nav-forward-block)
8153 (python-mode-abbrev-table)
8154 (python-info-assignment-continuation-line-p): Simplify checks
8155 for ppss context.
8156 (python-info-continuation-line-p): Cleanup.
8157 (python-info-ppss-context): Do not catch 'quote.
8158 (python-info-ppss-context-type)
8159 (python-info-ppss-comment-or-string-p): Simplify.
8160
8161 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8162
8163 * progmodes/python.el: Enhancements to eldoc support.
8164 (python-info-current-symbol): New function.
8165 (python-eldoc-at-point): Use python-info-current-symbol.
8166 (python-info-current-defun): Fix cornercase on first defun scan.
8167 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8168 and signal error when no inferior python process is available.
8169
8170 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8171
8172 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8173 assume it's always t.
8174 (vc-git-registered): Remove caching, the function is only called
8175 once.
8176 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8177
8178 2012-07-18 Chong Yidong <cyd@gnu.org>
8179
8180 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8181
8182 * simple.el (count-words): Report on narrowing (Bug#9959).
8183
8184 * bindings.el: Bind M-= to count-words.
8185
8186 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8187
8188 2012-07-18 Masatake YAMATO <yamato@redhat.com>
8189
8190 * progmodes/sh-script.el (sh-imenu-generic-expression):
8191 Capture a function with `function' keyword and without parentheses
8192 like "function FOO" (bug#11856).
8193
8194 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8195
8196 * window.el (split-window-sensibly): Make WINDOW argument
8197 optional.
8198
8199 2012-07-18 Chong Yidong <cyd@gnu.org>
8200
8201 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8202
8203 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8204 and make C-x 8 RET exit isearch (Bug#11439).
8205
8206 * international/iso-transl.el: Move isearch-mode-map key
8207 definitions to isearch.el.
8208
8209 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8210
8211 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8212 (eieio-defclass): Use gv-define-setter when possible.
8213
8214 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8215
8216 Reflect recent changes in Fgarbage_collect.
8217 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8218 reflect new format of data returned by Fgarbage_collect.
8219
8220 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8221
8222 New utility functions + python-info-ppss-context fix (Bug#11910).
8223 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8224 (python-info-ppss-comment-or-string-p): New functions.
8225 (python-info-ppss-context): Small fix for string check.
8226
8227 2012-07-17 Juri Linkov <juri@jurta.org>
8228
8229 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8230 (dired-do-async-shell-command): Don't add `*' at the end of the
8231 command (Bug#11815).
8232 (dired-do-shell-command): Doc fix.
8233 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8234 Join the individual commands using either "&" or ";" as the
8235 separator depending on the values of these trailing characters.
8236 At the end re-add the trailing "&". (Bug#10598)
8237
8238 * simple.el (async-shell-command): Sync the interactive spec with
8239 `shell-command'. Doc fix.
8240 (shell-command): Doc fix.
8241
8242 2012-07-17 Juri Linkov <juri@jurta.org>
8243
8244 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8245
8246 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8247
8248 Final renames and doc fixes for movement commands (bug#11899).
8249 * progmodes/python.el (python-nav-beginning-of-statement):
8250 Rename from python-nav-statement-start.
8251 (python-nav-end-of-statement): Rename from
8252 python-nav-statement-end.
8253 (python-nav-beginning-of-block): Rename from
8254 python-nav-block-start.
8255 (python-nav-end-of-block): Rename from python-nav-block-end.
8256
8257 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8258
8259 * progmodes/python.el (python-shell-send-string-no-output):
8260 Allow accept-process-output to quit, keeping shell process ready for
8261 future interactions (Bug#11868).
8262
8263 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8264
8265 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8266
8267 * emacs-lisp/elint.el (elint-find-args-in-code):
8268 Use help-function-arglist, so as to handle lexical byte-code.
8269
8270 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8271 change (bug#11826).
8272
8273 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8274
8275 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8276 Avoid spuriously marking the buffer as modified because of c-is-sws.
8277
8278 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8279 as not-a-comment (bug#11946).
8280
8281 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8282 for uninterned vars.
8283
8284 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8285 Use read-event since we don't really want to read chars but bytes.
8286
8287 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8288 $$..$$ but also $..$ using regexps (bug#11953).
8289 Use tex-verbatim for \url and \path.
8290 (tex-font-lock-keywords): Define as defconst like the others.
8291 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8292
8293 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8294
8295 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8296 alias for insert-char.
8297
8298 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8299
8300 * progmodes/python.el: Simplified imenu implementation.
8301 (python-nav-jump-to-defun): Remove command.
8302 (python-mode-map): Use `imenu' instead.
8303 (python-nav-list-defun-positions-cache)
8304 (python-imenu-include-defun-type, python-imenu-make-tree)
8305 (python-imenu-subtree-root-label, python-imenu-index-alist):
8306 Remove vars.
8307 (python-nav-list-defun-positions, python-nav-read-defun)
8308 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8309 (python-imenu-make-tree, python-imenu-create-index):
8310 Remove functions.
8311 (python-mode): Update to interact with imenu by setting
8312 `imenu-extract-index-name-function' only.
8313
8314 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8315
8316 * progmodes/python.el: Enhancements to navigation commands.
8317 (python-nav-backward-sentence)
8318 (python-nav-forward-sentence): Remove.
8319 (python-nav-backward-statement, python-nav-forward-statement)
8320 (python-nav-statement-start, python-nav-statement-end)
8321 (python-nav-backward-block, python-nav-forward-block)
8322 (python-nav-block-start, python-nav-block-end)
8323 (python-nav-forward-sexp-function)
8324 (python-info-current-line-comment-p)
8325 (python-info-current-line-empty-p): New functions.
8326 (python-indent-context): Use `python-nav-statement-start'.
8327
8328 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8329
8330 * eshell/em-ls.el (eshell/ls): Use `apply'.
8331
8332 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8333 multi-hops, instead of Tramp internals.
8334
8335 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8336
8337 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8338 when F1 and F2 are located on different hosts.
8339
8340 2012-07-14 Chong Yidong <cyd@gnu.org>
8341
8342 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8343 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8344 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8345 (xterm-mouse--read-event-sequence-1000)
8346 (xterm-mouse--read-event-sequence-1006): New functions. For old
8347 mouse protocol, handle M-mouse-X events correctly.
8348 (xterm-mouse-event): New arg specifying mouse protocol.
8349 (turn-on-xterm-mouse-tracking-on-terminal)
8350 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8351 sequence to toggle extended coordinates on newer XTerms.
8352 This appears to be harmless on terminals which do not support this.
8353
8354 2012-07-14 Leo Liu <sdl.web@gmail.com>
8355
8356 Add fringe bitmap indicators for flymake. (Bug#11253)
8357 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8358 (flymake-make-overlay): New arg BITMAP.
8359 (flymake-error-bitmap, flymake-warning-bitmap)
8360 (flymake-fringe-indicator-position): New user variables.
8361
8362 * fringe.el: New bitmap exclamation-mark.
8363
8364 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8365
8366 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8367 also (Bug#7879).
8368
8369 2012-07-14 Chong Yidong <cyd@gnu.org>
8370
8371 * electric.el (electric-pair-post-self-insert-function): Fix pair
8372 insertion in empty-region case (Bug#11520).
8373
8374 2012-07-14 Chong Yidong <cyd@gnu.org>
8375
8376 * bindings.el: Consolidate ctl-x-r-map bindings.
8377 Bind copy-rectangle-as-kill to C-x r w.
8378
8379 * rect.el, register.el: Move bindings to bindings.el.
8380
8381 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8382
8383 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8384
8385 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8386
8387 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8388
8389 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8390
8391 * bindings.el (top): Use `mapc' instead of `mapcar'.
8392
8393 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8394
8395 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8396
8397 * progmodes/sql.el (sql-comint): Suppress the check for program on
8398 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8399 (Bug#11908)
8400
8401 2012-07-13 Chong Yidong <cyd@gnu.org>
8402
8403 * bindings.el: Assign a non-nil permanent-local property to
8404 per-buffer variables which lack a default value (Bug#11930).
8405
8406 * help-fns.el (describe-variable): In the "automatically becomes
8407 local" notice, take note of permanent-local variables.
8408
8409 2012-07-13 Chong Yidong <cyd@gnu.org>
8410
8411 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8412 to allow printing the message when called from Lisp.
8413
8414 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8415 Remove toggle-read-only.
8416
8417 * bs.el (bs-toggle-readonly):
8418 * buff-menu.el (Buffer-menu-toggle-read-only):
8419 Remove with-no-warnings around toggle-read-only.
8420
8421 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8422 Remove with-no-warnings around toggle-read-only.
8423 (ffap-read-only, ffap-read-only-other-window)
8424 (ffap-read-only-other-frame): Callers changed.
8425
8426 * help-mode.el: Don't require view package.
8427 (help-mode-finish): Set buffer-read-only instead of calling
8428 toggle-read-only.
8429
8430 * bindings.el (mode-line-toggle-read-only):
8431 * dired.el (dired-toggle-read-only):
8432 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8433 with non-nil second arg.
8434
8435 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8436 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8437 directly.
8438
8439 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8440
8441 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8442 not incf.
8443
8444 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8445
8446 More CL cleanups and reduction of use of cl.el.
8447 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8448 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8449 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8450 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8451 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8452 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8453 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8454 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8455 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8456 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8457 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8458 * eshell/em-cmpl.el, eshell/em-banner.el:
8459 * calendar/parse-time.el: Use cl-lib.
8460 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8461 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8462 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8463 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8464 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8465 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8466 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8467 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8468 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8469 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8470 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8471 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8472 `lambda' rather than with `quote'.
8473 (eshell-do-opt): Adjust accordingly.
8474 (eshell-process-option): Simplify.
8475 * eshell/esh-var.el:
8476 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8477 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8478 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8479 to `pcase--dontcare'.
8480 * emacs-lisp/cl.el (labels): Mark obsolete.
8481 (cl--letf, letf): Move to cl-lib.
8482 (cl--letf*, letf*): Remove.
8483 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8484 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8485 (cl-progv): Rewrite.
8486 (cl--letf, cl-letf): Move from cl.el.
8487 (cl-letf*): New macro.
8488 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8489
8490 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8491
8492 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8493
8494 2012-07-11 Chong Yidong <cyd@gnu.org>
8495
8496 * vc/log-edit.el (log-edit-vc-backend): New variable.
8497 (log-edit): Doc fix.
8498
8499 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8500 argument of log-edit to set up all local variables.
8501 (vc-start-logentry): New optional arg specifying VC backend.
8502
8503 * vc/vc.el (vc-checkin): Use it.
8504 (vc-deduce-fileset): Handle Log Edit buffers.
8505 (vc-diff): Make first argument optional too.
8506
8507 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8508
8509 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8510
8511 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8512 command, just in case. The function is not needed anymore.
8513 (eshell-external-command): Do not call `eshell-remote-command'.
8514
8515 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8516
8517 Reduce use of (require 'cl).
8518 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8519 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8520 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8521 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8522 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8523 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8524 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8525 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8526 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8527 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8528 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8529 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8530 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8531 (byte-compile-unfold-bcf, byte-compile-check-variable):
8532 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8533 (byte-compile-nilconstp):
8534 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8535 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8536
8537 * emacs-lisp/gv.el (cond): Make it a valid place.
8538 (if): Simplify slightly.
8539
8540 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8541 (pcase--self-quoting-p): New function.
8542 (pcase--u1): Use it.
8543
8544 2012-07-10 Glenn Morris <rgm@gnu.org>
8545
8546 * emacs-lisp/authors.el (authors-fixed-entries):
8547 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8548
8549 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8550
8551 Rename configure.in to configure.ac (Bug#11603).
8552 * emacs-lisp/authors.el (authors-canonical-file-name):
8553 * progmodes/autoconf.el (autoconf-mode):
8554 Prefer configure.ac to configure.in.
8555
8556 2012-07-08 Chong Yidong <cyd@gnu.org>
8557
8558 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8559 Implement the mouse-1-click-follows-link handling properly.
8560
8561 * info.el (Info-link-keymap): Use follow-link mechanism for
8562 header-line links (Bug#374).
8563
8564 * simple.el (deactivate-mark): Do not set the primary selection
8565 if another program has acquired it (Bug#11772).
8566
8567 2012-07-07 Kevin Ryde <user42@zip.com.au>
8568
8569 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8570 (woman-decode-region): Replace escaped-escapes without destroying
8571 bold or underline (Bug#11552).
8572 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8573
8574 2012-07-07 Chong Yidong <cyd@gnu.org>
8575
8576 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8577 (interprogram-cut-function, interprogram-paste-function):
8578 Mention that we typically mean the clipboard.
8579
8580 2012-07-06 Glenn Morris <rgm@gnu.org>
8581
8582 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8583
8584 * files.el (toggle-read-only): Restrict message to interactive use.
8585
8586 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8587
8588 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8589
8590 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8591
8592 2012-07-06 Glenn Morris <rgm@gnu.org>
8593
8594 * Makefile.in (compile-one-process): Rename from "recompile".
8595
8596 * Makefile.in (bzr-update): "compile" is the same as "recompile
8597 autoloads", but parallelizable, so use that instead.
8598
8599 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8600
8601 * window.el (quit-window): Always restore window height when
8602 it's saved in quit-restore parameter (Bug#11810).
8603
8604 2012-07-06 Glenn Morris <rgm@gnu.org>
8605
8606 * simple.el (kill-whole-line): Doc tweak.
8607
8608 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8609
8610 * files.el (file-relative-name): Compare file names
8611 case-insensitively if on MS-Windows or MS-DOS, or if
8612 read-file-name-completion-ignore-case is non-nil. Don't use
8613 case-fold-search for this purpose. (Bug#11827)
8614
8615 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8616
8617 * calendar/cal-dst.el (calendar-current-time-zone):
8618 Return calendar-current-time-zone-cache if non-nil.
8619
8620 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8621 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8622
8623 * calendar/cal-dst.el (calendar-current-time-zone):
8624 Return calendar-current-time-zone-cache if non-nil.
8625
8626 2012-07-06 Glenn Morris <rgm@gnu.org>
8627
8628 * Makefile.in (cvs-update): Remove old alias.
8629
8630 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8631
8632 Sync with Tramp 2.2.6-pre.
8633
8634 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8635 compatible declaration.
8636
8637 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8638 Protect `list-load-path-shadows' call.
8639
8640 * net/tramp-compat.el (top): Require packages, which aren't
8641 autoloaded anymore for XEmacs. Protect call of
8642 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8643 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8644 it hurts at least for SXEmacs.
8645 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8646 standard-value for `temporary-file-directory'.
8647
8648 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8649 Redirect stderr to /dev/null.
8650 (tramp-sh-handle-write-region): uid and gid can be floats.
8651 Reported by Russell Sim <russell.sim@gmail.com>.
8652 (tramp-sh-handle-vc-registered): Hide errors.
8653 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8654 and `start-file-process'.
8655 (tramp-maybe-open-connection): Check also whether `non-essential'
8656 is bound.
8657
8658 2012-07-04 Chong Yidong <cyd@gnu.org>
8659
8660 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8661 (xml-parse-tag): Likewise, and avoid changing entity tables.
8662 (xml-syntax-table): Define from scratch, making sure not to give
8663 x2000 and other Unicode spaces whitespace syntax, since those are
8664 not spaces in XML.
8665 (xml-parse-fragment): Delete unused function.
8666 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8667 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8668 (xml-entity-ref, xml-pe-reference-re)
8669 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8670 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8671 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8672 (xml-entity-value-re): Use syntax references in regexps where
8673 possible; no need to define inside a let-binding.
8674 (xml-parse-dtd): Use xml-pe-reference-re.
8675 (xml-entity-or-char-ref-re): New defconst.
8676 (xml-parse-string, xml-substitute-special): Use it.
8677
8678 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8679
8680 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8681 (find-file--read-only): New function.
8682 (find-file-read-only, find-file-read-only-other-window)
8683 (find-file-read-only-other-frame): Use it.
8684 (insert-file-contents-literally): Don't `fset'.
8685 (get-free-disk-space): Use locate-dominating-file.
8686
8687 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8688 function is already compiled.
8689
8690 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8691
8692 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8693
8694 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8695 files on the same host.
8696
8697 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8698
8699 * help-fns.el (describe-function-1): Only call
8700 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8701
8702 2012-07-03 Chong Yidong <cyd@gnu.org>
8703
8704 * xml.el: Protect parser against XML bombs.
8705 (xml-entity-expansion-limit): New variable.
8706 (xml-parse-string, xml-substitute-special): Use it.
8707 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8708
8709 2012-07-03 Glenn Morris <rgm@gnu.org>
8710
8711 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8712 Allow linking to specific messages in debbugs reports (eg 123#5).
8713
8714 2012-07-02 Chong Yidong <cyd@gnu.org>
8715
8716 * xml.el: Fix entity and character reference expansion, allowing
8717 them to expand into markup as per XML spec.
8718 (xml-default-ns): New variable.
8719 (xml-entity-alist): Use XML spec definitions for lt and amp.
8720 (xml-parse-region): Make first two arguments optional.
8721 Discard text properties.
8722 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8723 All callers changed.
8724 (xml-parse-tag): Call xml-parse-tag-1. For backward
8725 compatibility, this function should not modify buffer contents.
8726 (xml-parse-tag-1): Fix opening-tag regexp.
8727 (xml-parse-string): Rewrite, handling entity and character
8728 references properly.
8729 (xml--entity-replacement-text): Signal an error if a parameter
8730 entity is undefined.
8731
8732 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8733
8734 * comint.el (comint-output-filter): Filter out repeated prompts.
8735
8736 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8737 and file-name-absolute-p.
8738 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8739 internal calls.
8740
8741 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8742
8743 Spelling fixes.
8744 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8745 Rename from byte-compile--refiy-function. All uses changed.
8746
8747 2012-07-01 Chong Yidong <cyd@gnu.org>
8748
8749 * xml.el (xml--parse-buffer): New function. Move most of
8750 xml-parse-region here.
8751 (xml-parse-region): Copy region into a temporary buffer, since
8752 parameter entity substitution requires changing buffer contents.
8753 Use xml--parse-buffer.
8754 (xml-parse-file): Use xml--parse-buffer.
8755 (xml-parse-dtd): Make parameter entity substitution work right.
8756 Use proper regexps for ELEMENT declarations (Bug#7172).
8757
8758 2012-06-30 Glenn Morris <rgm@gnu.org>
8759
8760 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8761
8762 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8763 Remove outdated and unnecessary dbus declarations.
8764
8765 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8766
8767 * emacs-lisp/timer.el (timer-until): Subtract results of
8768 float-time, instead of taking float-time of the result of
8769 time-subtract, since float-time signals an error for negative time
8770 arguments.
8771
8772 2012-06-30 Chong Yidong <cyd@gnu.org>
8773
8774 * xml.el (xml-*-re): Convert defvars into defconsts, and
8775 eval-and-compile them so eval-and-compile works on derivatives.
8776 (xml--entity-replacement-text): Use eval-and-comple.
8777
8778 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8779
8780 * vc/vc-git.el (vc-git-registered): Use cache property
8781 `git-registered'.
8782 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8783 `vc-git-working-revision' in order to benefit from the cache.
8784 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8785
8786 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8787
8788 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8789 removed (likely outside Emacs). (Bug#11757)
8790
8791 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8792
8793 * emacs-lisp/cl-lib.el: Require macroexp.
8794
8795 2012-06-30 Chong Yidong <cyd@gnu.org>
8796
8797 * xml.el: Implement XML parameter entities.
8798 (xml-parameter-entity-alist): New variable.
8799 (xml-parse-region, xml-parse-fragment): Preserve previous values
8800 of xml-entity-alist and xml-parameter-entity-alist, so that
8801 repeated calls on different documents do not change them.
8802 (xml-parse-tag): Fix doctype regexp.
8803 (xml--entity-replacement-text): New function.
8804 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8805 properly requires url retrieval which is unimplemented.
8806 (xml-escape-string): Doc fix.
8807
8808 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8809
8810 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8811
8812 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8813
8814 * fringe.el (fringe-mode): Doc fix.
8815
8816 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8817
8818 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8819 is non-nil.
8820 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8821 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8822
8823 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8824
8825 * calendar/cal-dst.el (calendar-current-time-zone):
8826 Return calendar-current-time-zone-cache if non-nil.
8827
8828 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8829
8830 * progmodes/which-func.el (which-func-format):
8831 Add mouse-face. (Bug#11698)
8832
8833 2012-06-29 Leo Liu <sdl.web@gmail.com>
8834
8835 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8836
8837 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8838
8839 * minibuffer.el (minibuffer-confirm-exit-commands):
8840 Add completion-at-point (bug#11725).
8841
8842 2012-06-29 Glenn Morris <rgm@gnu.org>
8843
8844 * progmodes/f90.el (f90-font-lock-keywords-2):
8845 Add some preprocessor elements. (Bug#10499)
8846
8847 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8848
8849 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8850 Use syntax-propertize (bug#11739).
8851
8852 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8853
8854 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8855
8856 2012-06-28 Julien Danjou <julien@danjou.info>
8857
8858 * term.el (term-handle-colors-array): Use a set of new faces to
8859 color the terminal. Also uses :inverse-video property.
8860 (term-default-fg-color): Set to nil by default, deprecate in favor
8861 of `term-face'.
8862 (term-default-bg-color): Set to nil by default, deprecate in favor
8863 of `term-face'.
8864 (term-current-face): Use `term-face' by default.
8865 (term-bold-attribute): Variable deleted.
8866
8867 2012-06-28 Glenn Morris <rgm@gnu.org>
8868
8869 * simple.el (completion-list-mode-finish):
8870 Don't use toggle-read-only. (Since completion-list-mode has
8871 a special mode-class, it wasn't doing anything extra anyway.)
8872
8873 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8874
8875 Make inlining of other-mode interpreted functions work (bug#11799).
8876 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8877 (byte-compile): Use it to fix compilation of lexical-binding closures.
8878 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8879 function, if needed.
8880
8881 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8882
8883 * help-mode.el (help-make-xrefs): Don't just withstand
8884 cyclic-variable-indirection but any error in documentation-property.
8885
8886 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8887 memory use.
8888 * bindings.el (bindings--define-key): New function.
8889 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8890 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8891 * bindings.el: Use it to purecopy define-key bindings.
8892
8893 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8894
8895 * emacs-lisp/cl.el (flet): Mark obsolete.
8896 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8897 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8898 * progmodes/js.el (js-c-fill-paragraph):
8899 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8900 (ebrowse-switch-member-buffer-to-derived-class):
8901 * play/5x5.el (5x5-solver): Use cl-flet.
8902
8903 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8904 (cl--symbol-function): New macro.
8905 (cl--letf, cl--letf*): Use it.
8906
8907 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8908 Strip "toggle-" if any.
8909
8910 2012-06-27 Glenn Morris <rgm@gnu.org>
8911
8912 * info.el (Info-default-directory-list): Move here from paths.el.
8913 * paths.el: Remove file, which is now empty.
8914 * loadup.el: No longer load "paths".
8915
8916 * custom.el (custom-initialize-delay): Doc fix.
8917
8918 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8919 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8920 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8921 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8922 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8923 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8924 * eshell/eshell.el (eshell-defgroup): Remove alias.
8925
8926 2012-06-27 Chong Yidong <cyd@gnu.org>
8927
8928 * help.el (help-enable-auto-load): New variable.
8929
8930 * help-fns.el (help-fns--autoloaded-p): New function.
8931 (describe-function-1): Refer to a function as "autoloaded" if it
8932 was autoloaded at any time in the past. Perform autoloading if
8933 help-enable-auto-load is non-nil.
8934
8935 2012-06-26 Eli Zaretskii <eliz@gnu.org>
8936
8937 * makefile.w32-in (compile, compile-always): Depend on
8938 update-subdirs, not on subdirs.el. Otherwise, several different
8939 sub-targets of 'bootstrap' running in parallel could
8940 simultaneously write to subdirs.el, producing a garbled file.
8941
8942 2012-06-26 Sam Steingold <sds@gnu.org>
8943
8944 * files.el (file-name-base): New convenience function.
8945 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8946 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8947 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8948 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8949 * textmodes/ispell.el, textmodes/reftex-ref.el:
8950 * textmodes/tex-mode.el: Use it.
8951 Did not touch cedet and org because they are maintained elsewhere.
8952
8953 2012-06-26 Martin Rudalics <rudalics@gmx.at>
8954
8955 * calendar/calendar.el (calendar-exit): Don't try to delete or
8956 iconify last frame. See:
8957 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8958
8959 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8960
8961 * server.el (server-process-filter): Remember dir in the
8962 process's `server-client-directory' properties.
8963
8964 2012-06-24 Chong Yidong <cyd@gnu.org>
8965
8966 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8967 non-tag text.
8968
8969 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
8970
8971 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8972
8973 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8974
8975 * help-fns.el (describe-variable): Don't croak when doc is not found.
8976 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8977 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8978 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8979 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8980 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8981 ((lambda ..) ..).
8982 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8983
8984 2012-06-23 Chong Yidong <cyd@gnu.org>
8985
8986 * info.el (Info-mouse-follow-link): Accept symbol values of
8987 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
8988 (Info-fontify-node): Use Info-link-keymap for all navigation
8989 buttons, with link-args property to perform the desired action.
8990 (Info-link-keymap): Doc fix.
8991 (Info-next-link-keymap, Info-prev-link-keymap)
8992 (Info-up-link-keymap): Delete now-unused keymaps.
8993
8994 2012-06-23 Chong Yidong <cyd@gnu.org>
8995
8996 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8997
8998 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8999 system abbrevs.
9000
9001 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
9002
9003 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
9004
9005 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
9006 (bug#11719).
9007
9008 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
9009 the requote function doesn't work properly (bug#11714).
9010
9011 2012-06-23 Glenn Morris <rgm@gnu.org>
9012
9013 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
9014
9015 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9016
9017 Further GV/CL cleanups.
9018 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
9019 gv-expander.
9020 (gv--defun-declaration): New function.
9021 (defun-declarations-alist): Use it.
9022 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
9023 (gv-place): Autoload.
9024 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
9025 original definition of dotimes and dolist.
9026 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
9027 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
9028 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
9029 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9030 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
9031 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
9032 to the function's definition.
9033 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
9034 * window.el:
9035 * files.el:
9036 * faces.el:
9037 * env.el: Don't use CL.
9038
9039 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
9040
9041 Support higher-resolution time stamps (Bug#9000).
9042
9043 * calendar/time-date.el (with-decoded-time-value): New arg
9044 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
9045 (encode-time-value): New optional arg PICO. New type 3.
9046 (time-to-seconds) [!float-time]: Support the new picoseconds
9047 component if it's used.
9048 (seconds-to-time, time-subtract, time-add):
9049 Support ps-resolution time stamps as well.
9050
9051 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9052 (timerp): Timer vectors now have length 9, not 8.
9053 (timer--time): Support new-style (4-part) time stamps.
9054 (timer-next-integral-multiple-of-time): Time stamps now have
9055 picosecond resolution, so take a bit more care about rounding.
9056 (timer-relative-time, timer-inc-time): New optional arg psecs.
9057 (timer-set-time-with-usecs): Set psecs to 0.
9058 (timer--activate): Check psecs component, too.
9059
9060 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9061
9062 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9063
9064 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9065 Move the non-essential binding to the post/pre-command-hook where it is
9066 more obviously correct.
9067
9068 * subr.el (read-passwd): Don't use a history at all.
9069 * savehist.el (savehist-save): Remove password saved accidentally
9070 because of the above bug.
9071
9072 2012-06-22 Bastien Guerry <bzg@gnu.org>
9073
9074 * files.el (toggle-read-only): Display a message telling whether
9075 the buffer is read-only or not (bug#11726).
9076
9077 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9078
9079 * emacs-lisp/gv.el: New file.
9080 * subr.el (push, pop): Extend to generalized variables.
9081 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9082 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9083 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9084 gv-define-simple-setter, and gv-define-expander.
9085 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9086 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9087 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9088 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9089 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9090 gv-letplace.
9091 (cl-defstruct): Don't define setf-method any more.
9092 * emacs-lisp/cl.el (flet): Don't autoload.
9093 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9094 (define-setf-expander, defsetf, define-modify-macro)
9095 (cl-struct-setf-expander): Move from cl-lib.el.
9096 * emacs-lisp/syntax.el:
9097 * emacs-lisp/ewoc.el:
9098 * emacs-lisp/smie.el:
9099 * emacs-lisp/cconv.el:
9100 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9101 (timer--time): Use gv-define-simple-setter.
9102 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9103 to avoid coding-system problems in subr.el. Adjust all users.
9104 (macroexp--maxsize, macroexp-small-p): New functions.
9105 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9106 * scroll-bar.el (scroll-bar-mode):
9107 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9108 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9109 * winner.el (winner-configuration, winner-make-point-alist)
9110 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9111 * files.el (locate-file-completion-table): Avoid list*.
9112
9113 2012-06-22 Chong Yidong <cyd@gnu.org>
9114
9115 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9116 (dired-create-files): Doc fix (Bug#11329).
9117 (dired-do-copy): Doc fix (Bug#11334).
9118 (dired-mark-read-string): Doc fix (Bug#11553).
9119
9120 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9121 Doc fix (Bug#11326).
9122 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9123 (dired-dwim-target): Doc fix.
9124
9125 * wdired.el (wdired-mode): Doc fix.
9126
9127 2012-06-22 Glenn Morris <rgm@gnu.org>
9128
9129 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9130 (pcmpl-rpm-cache-stamp-file): New constant.
9131 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9132 (pcmpl-rpm-packages): Optionally cache list of packages.
9133
9134 * pcmpl-rpm.el (pcmpl-rpm): New group.
9135 (pcmpl-rpm-query-options): New option.
9136 (pcmpl-rpm-packages): No need to inline it.
9137 Use pcmpl-rpm-query-options.
9138
9139 * calendar/calendar.el (calendar-in-read-only-buffer):
9140 Avoid some needless mode changes.
9141
9142 2012-06-21 Chong Yidong <cyd@gnu.org>
9143
9144 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9145 (desktop-path): Remove . from the default value (Bug#10977).
9146 (desktop-read): Use user-emacs-directory if desktop-path is nil.
9147
9148 2012-06-20 Chong Yidong <cyd@gnu.org>
9149
9150 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9151
9152 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9153
9154 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9155 (bug#11201).
9156
9157 2012-06-20 Chong Yidong <cyd@gnu.org>
9158
9159 * term.el (term-window-width): Handle the case of a missing right
9160 fringe (Bug#8837).
9161 (term-check-size): Use window-text-height (Bug#5445).
9162 (term-mode): Use define-derived-mode. Minor cleanups.
9163 Set font-lock-defaults (Bug#7692).
9164 (term-move-columns, term-insert-char, term-emulate-terminal)
9165 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9166
9167 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
9168
9169 * net/ange-ftp.el (ange-ftp-get-passwd):
9170 Bind `enable-recursive-minibuffers'.
9171 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9172
9173 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9174
9175 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9176
9177 2012-06-19 Glenn Morris <rgm@gnu.org>
9178
9179 * progmodes/python.el (python-mode): Derive from prog-mode.
9180
9181 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9182
9183 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9184 (edt-user-menu-bar-update-buffers): New functions.
9185 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9186
9187 2012-06-19 Chong Yidong <cyd@gnu.org>
9188
9189 * subr.el (with-selected-window): Preserve the selected window's
9190 terminal's top-frame (Bug#4702).
9191
9192 * window.el (save-selected-window): Likewise.
9193
9194 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9195
9196 * progmodes/python.el (python-rx-constituents): Move backquote.
9197 (python-skeleton-define, python-define-auxiliary-skeleton):
9198 Use `declare'.
9199
9200 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
9201
9202 * minibuffer.el (read-file-name-default): Revert the patch from
9203 2012-06-17.
9204
9205 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9206
9207 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9208 (pcase--u1, pcase--q1): Don't use apply-partially.
9209
9210 2012-06-18 Glenn Morris <rgm@gnu.org>
9211
9212 * progmodes/python.el (python-proc, python-buffer)
9213 (python-send-receive, python-send-string): Fix obsolete versions.
9214
9215 2012-06-18 Martin Rudalics <rudalics@gmx.at>
9216
9217 * window.el (special-display-p): Completely remove stringp
9218 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9219
9220 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
9221
9222 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9223
9224 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9225
9226 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9227 * net/tramp-sh.el (tramp-maybe-open-connection):
9228 Throw if `non-essential' is non-nil.
9229
9230 2012-06-17 Martin Rudalics <rudalics@gmx.at>
9231
9232 * window.el (special-display-p): Signal an error if BUFFER-NAME
9233 is not a string (Bug#11713).
9234
9235 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9236
9237 * progmodes/python.el (python-info-beginning-of-backslash):
9238 Rename from python-info-beginning-of-backlash, as a spelling fix.
9239
9240 2012-06-17 Chong Yidong <cyd@gnu.org>
9241
9242 * term.el (term-emulate-terminal): If term-check-size is called,
9243 move point to the process mark without resetting point (Bug#4635).
9244
9245 2012-06-17 Glenn Morris <rgm@gnu.org>
9246
9247 * international/mule-cmds.el (mule-menu-keymap)
9248 (set-language-environment, set-locale-environment): Doc tweaks.
9249
9250 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9251
9252 * cus-face.el (custom-face-attributes): Add wave-style underline
9253 attribute.
9254 * faces.el (set-face-attribute): Update docstring to describe
9255 wave-style underline attribute.
9256
9257 2012-06-16 Chong Yidong <cyd@gnu.org>
9258
9259 * term/xterm.el (terminal-init-xterm): Discard input before
9260 querying background mode (Bug#10959).
9261
9262 2012-06-16 Stefan Merten <smerten@oekonux.de>
9263
9264 * textmodes/rst.el: Added and corrected some comments.
9265 (rst-re-alist-def): Improve symbol syntax.
9266 (rst-mode-syntax-table): Correct syntax entries.
9267 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9268 (rst-official-version, rst-official-cvs-rev): Update version
9269 information.
9270
9271 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9272
9273 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9274 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9275
9276 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9277
9278 * progmodes/python.el: New python.el merge.
9279 (python-guess-indent): Obsolete var.
9280 (python-indent-guess-indent-offset): New defcustom.
9281 (python-indent): Obsolete var.
9282 (python-indent-offset): New defcustom.
9283 (python-python-command, python-jython-command): Delete var.
9284 (python-shell-interpreter): New defcustom.
9285 (python-pdbtrack-do-tracking-p): Delete var.
9286 (python-pdbtrack-activate): New defcustom.
9287 (python-use-skeletons): Obsolete var.
9288 (python-skeleton-autoinsert): New defcustom.
9289 (inferior-python-filter-regexp, python-continuation-offset)
9290 (python-honour-comment-indentation, python-indent-string-contents)
9291 (python-jython-packages, python-mode-hook)
9292 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9293 (python-shell-prompt-alist)
9294 (python-source-modes): Delete defcustoms.
9295 (python-check-buffer-name, python-eldoc-setup-code)
9296 (python-eldoc-string-code, python-ffap-setup-code)
9297 (python-ffap-string-code, python-fill-comment-function)
9298 (python-fill-decorator-function, python-fill-paren-function)
9299 (python-fill-string-function, python-imenu-include-defun-type)
9300 (python-imenu-make-tree, python-imenu-subtree-root-label)
9301 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9302 (python-shell-compilation-regexp-alist)
9303 (python-shell-completion-module-string-code)
9304 (python-shell-completion-pdb-string-code)
9305 (python-shell-completion-setup-code)
9306 (python-shell-completion-string-code)
9307 (python-shell-enable-font-lock, python-shell-exec-path)
9308 (python-shell-extra-pythonpaths)
9309 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9310 (python-shell-process-environment)
9311 (python-shell-prompt-block-regexp)
9312 (python-shell-prompt-output-regexp)
9313 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9314 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9315 (python-shell-virtualenv-path): New defcustoms.
9316 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9317 (inferior-python-mode-syntax-table, python--prompt-regexp)
9318 (python-buffer, python-command python-python-command)
9319 (python-default-template, python-imports, python-indent-index)
9320 (python-indent-list, python-indent-list-length)
9321 (python-mode-running, python-pdbtrack-is-tracking-p)
9322 (python-preoutput-continuation, python-preoutput-leftover)
9323 (python-preoutput-result, python-preoutput-skip-next-prompt)
9324 (python-prev-dir/file, python-recursing)
9325 (python-saved-check-command, python-version-checked)
9326 (python-which-func-length-limit)
9327 (view-return-to-alist): Delete vars.
9328 (python-check-custom-command, python-dotty-syntax-table)
9329 (python-imenu-index-alist, python-indent-current-level)
9330 (python-indent-dedenters, python-indent-levels)
9331 (python-nav-beginning-of-defun-regexp)
9332 (python-nav-list-defun-positions-cache)
9333 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9334 (python-shell-internal-buffer)
9335 (python-skeleton-available): New vars.
9336 (def-python-skeleton): Delete macro.
9337 (python-skeleton-define): New macro.
9338 (python-define-auxiliary-skeleton, python-rx): New macros.
9339 (python-insert-class): Delete command.
9340 (python-skeleton-class): New command.
9341 (python-insert-def): Delete command.
9342 (python-skeleton-def): New command.
9343 (python-insert-for): Delete command.
9344 (python-skeleton-for): New command.
9345 (python-insert-if): Delete command.
9346 (python-skeleton-if): New command.
9347 (python-insert-try/except, python-insert-try/finally): Delete commands.
9348 (python-skeleton-try): New command.
9349 (python-insert-while): Delete command.
9350 (python-skeleton-while): New command.
9351 (python-backspace): Delete command.
9352 (python-indent-dedent-line-backspace): New command.
9353 (python-electric-colon): Delete command.
9354 (python-indent-electric-colon): New command.
9355 (python-guess-indent): Delete command.
9356 (python-indent-guess-indent-offset): New command.
9357 (python-shift-left): Delete command.
9358 (python-indent-shift-left): New command.
9359 (python-shift-right): Delete command.
9360 (python-indent-shift-right): New command.
9361 (python-find-function): Delete command.
9362 (python-nav-jump-to-defun): New command.
9363 (python-next-statement): Delete command.
9364 (python-nav-forward-sentence): New command.
9365 (python-previous-statement): Delete command.
9366 (python-nav-backward-sentence): New command.
9367 (python-fill-paragraph): Delete command.
9368 (python-fill-paragraph-function): New command.
9369 (python-send-buffer): Delete command.
9370 (python-shell-send-buffer): New command.
9371 (python-send-defun): Delete command.
9372 (python-shell-send-defun): New command.
9373 (python-send-region, python-send-region-and-go): Delete commands.
9374 (python-shell-send-region)
9375 (python-shell-switch-to-shell): New commands.
9376 (python-send-string): Delete command.
9377 (python-shell-send-string): New command.
9378 (python-switch-to-python): Delete command.
9379 (python-shell-switch-to-shell): New command.
9380 (python-describe-symbol): Delete command.
9381 (python-eldoc-at-point): New command.
9382 (python--set-prompt-regexp, python-args-to-list)
9383 (python-after-info-look, python-check-version)
9384 (python-check-comint-prompt, python-find-imports)
9385 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9386 (python-unload-function, python-expand-template)
9387 (python-maybe-jython, python-preoutput-filter)
9388 (python-pdbtrack-get-source-buffer)
9389 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9390 (python-pdbtrack-toggle-stack-tracking)
9391 (python-pdbtrack-track-stack-file, python-initial-text)
9392 (python-first-word, python-comment-line-p, python-send-command)
9393 (python-setup-brm, python-sentinel, python-set-proc)
9394 (python-skip-out, python-input-filter, python-outdent-p)
9395 (python-outline-level, python-backslash-continuation-line-p)
9396 (python-end-of-block, python-end-of-statement, python-mark-block)
9397 (python-beginning-of-block, python-beginning-of-statement)
9398 (python-blank-line-p, python-beginning-of-string)
9399 (python-open-block-statement-p): Delete functions.
9400 (python-indent-line, python-indent-line-1): Delete functions.
9401 (python-indent-line): New function.
9402 (python-indentation-levels): Delete function.
9403 (python-indent-calculate-levels): New function.
9404 (python-proc): Delete function.
9405 (python-shell-get-process): New function.
9406 (python-send-receive): Delete function.
9407 (python-shell-send-string-no-output): New function.
9408 (python-module-path): Delete function.
9409 (python-ffap-module-path): New function.
9410 (python-completion-at-point)
9411 (python-symbol-completions): Delete functions.
9412 (python-completion-complete-at-point): New function.
9413 (python-load-file): Delete function.
9414 (python-shell-send-file): New function.
9415 (python-calculate-indentation): Delete function.
9416 (python-indent-calculate-indentation): New function.
9417 (python-skip-comments/blanks): Delete function.
9418 (python-util-forward-comment): New function.
9419 (python-continuation-line-p): Delete function.
9420 (python-info-continuation-line-p): New function.
9421 (python-which-func, python-current-defun): Delete function.
9422 (python-info-current-defun): New function.
9423 (python-beginning-of-defun): Delete function.
9424 (python-nav-beginning-of-defun): New function.
9425 (python-close-block-statement-p)
9426 (python-block-end-p): Delete function.
9427 (python-info-closing-block): New function.
9428 (python-comint-output-filter-function)
9429 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9430 (python-fill-comment, python-fill-decorator, python-fill-paren)
9431 (python-fill-string, python-imenu-make-element-tree)
9432 (python-imenu-make-tree, python-imenu-tree-assoc)
9433 (python-indent-context, python-indent-dedent-line)
9434 (python-indent-line-function)
9435 (python-indent-post-self-insert-function)
9436 (python-indent-toggle-levels)
9437 (python-info-assignment-continuation-line-p)
9438 (python-info-beginning-of-backlash)
9439 (python-info-block-continuation-line-p)
9440 (python-info-closing-block-message)
9441 (python-info-line-ends-backslash-p)
9442 (python-info-looking-at-beginning-of-defun)
9443 (python-info-ppss-context, python-info-ppss-context-type)
9444 (python-nav-list-defun-positions, python-nav-read-defun)
9445 (python-nav-sentence-end, python-nav-sentence-start)
9446 (python-pdbtrack-comint-output-filter-function)
9447 (python-pdbtrack-set-tracked-buffer)
9448 (python-shell-calculate-exec-path)
9449 (python-shell-calculate-process-environment)
9450 (python-shell-completion--do-completion-at-point)
9451 (python-shell-completion--get-completions)
9452 (python-shell-completion-complete-at-point)
9453 (python-shell-completion-complete-or-indent)
9454 (python-shell-get-or-create-process)
9455 (python-shell-get-process-name)
9456 (python-shell-internal-get-or-create-process)
9457 (python-shell-internal-get-process-name)
9458 (python-shell-internal-send-string, python-shell-make-comint)
9459 (python-shell-parse-command, python-shell-send-setup-code)
9460 (python-skeleton-add-menu-items)
9461 (python-util-clone-local-variables, python-util-position)
9462 (run-python-internal, python-indentation-levels)
9463 (python-nav-beginning-of-defun)
9464 (python-completion-complete-at-point): New functions.
9465 (run-python): Change arguments. New API requirements.
9466
9467 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9468
9469 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9470 (bug#11649).
9471
9472 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9473 (macroexp--expand-all): Use it.
9474
9475 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9476 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9477 Use `cl-function' instead.
9478
9479 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9480
9481 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9482 Suggested by Stefan Monnier while discussing bug#11657.
9483
9484 2012-06-14 Sam Steingold <sds@gnu.org>
9485
9486 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9487
9488 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9489
9490 * play/doctor.el (doctor-doc): Remove parameter and use
9491 doctor-sent instead of sent.
9492 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9493
9494 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9495
9496 * files.el: Require cl-lib.
9497 (file-name-non-special): Replace case -> cl-case.
9498
9499 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9500
9501 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9502 mapping from #' to function*.
9503
9504 2012-06-13 Chong Yidong <cyd@gnu.org>
9505
9506 * mouse.el (mouse-drag-track): Do not set the mark if the user
9507 releases the mouse without selecting anything (Bug#11588).
9508
9509 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9510
9511 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9512 as well (bug#11646).
9513
9514 * loadup.el: Count byte-code functions as well.
9515
9516 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9517 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9518
9519 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9520 (bug#11649). Add cl-defun and cl-defmacro.
9521
9522 2012-06-13 Drew Adams <drew.adams@oracle.com>
9523
9524 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9525 Fix last change.
9526
9527 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9528
9529 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9530 Otherwise, it blocks in batch mode.
9531
9532 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9533
9534 * help-mode.el (bookmark-make-record-default): Declare.
9535
9536 2012-06-13 Chong Yidong <cyd@gnu.org>
9537
9538 * emacs-lisp/package.el (list-packages): Compute a list of
9539 packages that are newly-available since the last list-packages
9540 invocation.
9541 (package-menu--new-package-list): New var.
9542 (package-menu--generate, package-menu--print-info)
9543 (package-menu--status-predicate, package-menu-mark-install):
9544 Handle new status label "new".
9545
9546 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9547
9548 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9549 conversion to backquotes.
9550
9551 2012-06-12 Chong Yidong <cyd@gnu.org>
9552
9553 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9554 Rename from gud-inhibit-global-bindings.
9555
9556 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9557
9558 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9559 hook from nxml-glyph-set-hook.
9560
9561 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9562 declaration.
9563
9564 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9565
9566 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9567 Convert to defcustom.
9568
9569 2012-06-12 Drew Adams <drew.adams@oracle.com>
9570
9571 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9572 New functions.
9573 (help-mode): Use them.
9574
9575 2012-06-11 Glenn Morris <rgm@gnu.org>
9576
9577 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9578 Use preprocessor face for directives.
9579 (fortran-directive-re): Doc fix.
9580
9581 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9582
9583 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9584 conversion to backquotes (bug#11652).
9585
9586 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9587 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9588 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9589 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9590 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9591 (cl-ninth, cl-tenth): Mark them as inlinable.
9592 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9593 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9594 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9595 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9596 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9597 (cl-list*, cl-adjoin): Don't put an autoload manually.
9598 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9599 (cl--compiler-macro-list*): Add autoload cookie.
9600 (cl--compiler-macro-cXXr): New function.
9601
9602 * help-fns.el (help-fns--compiler-macro): New function extracted from
9603 describe-function-1; follow aliases and use `compiler-macro' property.
9604 (describe-function-1): Use it.
9605
9606 2012-06-11 Chong Yidong <cyd@gnu.org>
9607
9608 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9609 is uninstalled, if imagemagick is installed.
9610
9611 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9612
9613 * emacs-lisp/cl-lib.el: Use lexical-binding.
9614 (cl-map-extents, cl-maclisp-member): Remove.
9615 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9616 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9617 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9618 * emacs-lisp/cl-extra.el: Use lexical-binding.
9619 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9620 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9621 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9622 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9623 * emacs-lisp/cl-seq.el: Use lexical-binding.
9624 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9625 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9626 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9627 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9628 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9629 CL's internals.
9630
9631 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9632
9633 Sync with Tramp 2.2.6-pre.
9634
9635 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9636 `print-length' and `print-level' to nil, in order to avoid
9637 truncation. Reported by Christopher Schmidt
9638 <christopher@ristopher.com>.
9639
9640 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9641
9642 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9643 New defmacro.
9644 (tramp-compat-copy-directory): Add optional argument
9645 COPY-CONTENTS. It is not handled yet.
9646
9647 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9648 (tramp-ftp-file-name-p): Simplify.
9649
9650 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9651 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9652 connection vector.
9653
9654 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9655 (tramp-methods): Do not use `tramp-password-end-of-line'.
9656 (tramp-completion-function-alist-putty): Handle UNIX case.
9657 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9658 (tramp-do-file-attributes-with-stat)
9659 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9660 gid as real numbers. They could run out of integer range on cygwin.
9661 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9662 (tramp-sh-handle-expand-file-name): Handle hops.
9663 (tramp-open-connection-setup-interactive-shell):
9664 Use `tramp-cleanup'. Move check for busyboxes ...
9665 (tramp-find-shell): ... here. Simplify implementation.
9666 Set "remote-shell" property also for alternative shells.
9667 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9668 If failing, a regular file would be written otherwise.
9669 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9670 (tramp-find-inline-encoding): Cache the coding commands in the
9671 process cache. Apply test command on the remote side, if defined.
9672 (tramp-find-inline-compress): Cache the compress commands in the
9673 process cache.
9674 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9675 when requested. Handle hops.
9676 (tramp-current-connection): New defvar.
9677 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9678 Throw `suppress', if there was a failed connection shortly before.
9679 Handle user interrupt. (Bug#10187)
9680 (tramp-get-inline-compress, tramp-get-inline-coding):
9681 Read connection properties from the process cache.
9682
9683 * net/tramp-smb.el (tramp-smb-server-version)
9684 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9685 New defconsts.
9686 (tramp-smb-prompt): Extend for powershell prompt.
9687 (tramp-smb-file-name-handler-alist): Add handlers for
9688 `process-file', `shell-command' and `start-file-process'.
9689 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9690 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9691 (tramp-smb-file-name-p): Simplify.
9692 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9693 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9694 (tramp-smb-shell-quote-argument): New defuns.
9695 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9696 Implement using "tar". By this, time-stamps are preserved.
9697 (tramp-smb-handle-copy-file): Handle also the case of directories.
9698 (tramp-smb-do-file-attributes-with-stat)
9699 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9700 Use `tramp-get-connection-buffer').
9701 (tramp-smb-handle-rename-file): Use "rename", when source and
9702 target are on the same share.
9703 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9704 Use `tramp-smb-server-version'.
9705 (tramp-smb-wait-for-output): Remove prompt.
9706
9707 * net/tramp.el (top): Require 'cl.
9708 (tramp-methods, tramp-rsh-end-of-line):
9709 Remove `tramp-password-end-of-line' from docstring.
9710 (tramp-save-ad-hoc-proxies): New defcustom.
9711 (tramp-completion-function-alist): Adapt docstring.
9712 (tramp-default-password-end-of-line): Remove defcustom.
9713 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9714 (tramp-user-regexp, tramp-file-name-regexp-unified)
9715 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9716 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9717 (tramp-remote-file-name-spec-regexp): New defconst.
9718 (tramp-file-name-structure): Extend structure for hops.
9719 (tramp-get-method-parameter): Move up.
9720 (tramp-file-name-p, tramp-dissect-file-name)
9721 (with-parsed-tramp-file-name): Handle hops.
9722 (tramp-file-name-hop): New defun.
9723 (tramp-make-tramp-file-name): New optional arg HOP.
9724 (tramp-message-show-progress-reporter-message): New defvar.
9725 (tramp-with-progress-reporter): Use it. We cannot use
9726 `tramp-message-show-message' here, because this suppresses also
9727 error buffers.
9728 (tramp-error-with-buffer): Suppress buffer view, if
9729 `tramp-message-show-message' is nil.
9730 Use `tramp-get-connection-buffer'.
9731 (tramp-cleanup): New defun.
9732 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9733 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9734 an error unchanged.
9735 (tramp-completion-handle-file-name-all-completions): Handle hops.
9736 Fix an error when called from ido.
9737 (tramp-completion-dissect-file-name): Use better local variable
9738 name. Add hop to the vector.
9739 (tramp-handle-insert-file-contents): Use progress-reporter for the
9740 whole scenario.
9741 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9742 to `t'.
9743 (tramp-check-for-regexp): Simplify search.
9744 (tramp-enter-password): Remove it. Move implementation ...
9745 (tramp-action-password): ... here.
9746 (tramp-mode-string-to-int, tramp-local-host-p)
9747 (tramp-make-tramp-temp-file, tramp-read-passwd)
9748 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9749 Set tramp-autoload cookie.
9750
9751 * net/trampver.el: Update release number.
9752
9753 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9754 Michael Albinus <michael.albinus@gmx.de>
9755
9756 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9757 (tramp-parse-group, tramp-parse-file)
9758 (tramp-parse-shostkeys-sknownhosts): New defuns.
9759 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9760 (tramp-parse-shosts-group, tramp-parse-sconfig)
9761 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9762 (tramp-parse-sknownhosts, tramp-parse-hosts)
9763 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9764 Use them.
9765 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9766 (tramp-parse-putty-group): Don't narrow.
9767 (tramp-parse-putty): Make a loop.
9768 (tramp-file-name-handler): Catch the `suppress' signal.
9769
9770 2012-06-11 Chong Yidong <cyd@gnu.org>
9771
9772 * image.el (imagemagick-register-types): Put the ImageMagick entry
9773 at the end of image-type-file-name-regexps.
9774
9775 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9776
9777 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9778 (pcase, pcase-let*, pcase-dolist): Use them.
9779
9780 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9781
9782 * emacs-lisp/pcase.el (pcase--let*): New function.
9783 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9784 (pcase--expand): Use macroexp-let².
9785
9786 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9787
9788 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9789 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9790 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9791 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9792 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9793 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9794
9795 2012-06-10 Glenn Morris <rgm@gnu.org>
9796
9797 * mail/rmail.el (rmail-yank-current-message): Leave point at
9798 correct position. (Bug#11660)
9799
9800 2012-06-10 Chong Yidong <cyd@gnu.org>
9801
9802 * allout-widgets.el: Fix code header.
9803
9804 2012-06-10 Chong Yidong <cyd@gnu.org>
9805
9806 * cus-edit.el (customize-changed-options-previous-release):
9807 Bump to 24.1.
9808
9809 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9810
9811 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9812
9813 2012-06-09 Chong Yidong <cyd@gnu.org>
9814
9815 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9816
9817 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9818
9819 * window.el (special-display-popup-frame): Don't use
9820 window--display-buffer (Bug#11651).
9821
9822 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9823
9824 Fix parallel builds: make sure loaddefs.el is not being written
9825 while Lisp files are compiled.
9826 (compile): Don't depend on 'mh-autoloads'.
9827 (compile-CMD, compile-SH): Depend on 'autoloads'.
9828 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9829
9830 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9831
9832 2012-06-09 Chong Yidong <cyd@gnu.org>
9833
9834 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9835 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9836 Doc fixes (Bug#11225).
9837
9838 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9839
9840 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9841 a function if there's a clear indication that it has a compiler-macro.
9842 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9843 (macro-declarations-alist): Add arglist to declaration functions.
9844 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9845 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9846 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9847 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9848 Also add autoload to find the compiler macro.
9849 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9850 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9851 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9852 (cl--compiler-macro-get): New functions, replacing calls to
9853 cl-define-compiler-macro.
9854 (cl-typep) [compiler-macro]: Use macroexp-let².
9855
9856 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9857
9858 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9859 string properly, fixes Bug#11473.
9860
9861 2012-06-08 Chong Yidong <cyd@gnu.org>
9862
9863 * faces.el (set-face-attribute): Doc fix.
9864 (modify-face): Don't use :bold and :italic.
9865 (error, warning, success): Tweak definitions.
9866
9867 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9868 (custom-modified, custom-set, custom-changed, custom-themed)
9869 (custom-saved, custom-button, custom-button-mouse)
9870 (custom-button-pressed, custom-state, custom-comment-tag)
9871 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9872 (custom-group-subtitle): Use new-style face specs.
9873 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9874 (custom-set-face, custom-changed-face, custom-saved-face)
9875 (custom-button-face, custom-button-pressed-face)
9876 (custom-documentation-face, custom-state-face)
9877 (custom-comment-face, custom-comment-tag-face)
9878 (custom-variable-tag-face, custom-variable-button-face)
9879 (custom-face-tag-face, custom-group-tag-face-1)
9880 (custom-group-tag-face): Remove obsolete face alias.
9881
9882 * epa.el (epa-validity-high, epa-validity-medium)
9883 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9884 (epa-field-name, epa-field-body):
9885 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9886 (font-lock-keyword-face, font-lock-builtin-face)
9887 (font-lock-function-name-face, font-lock-variable-name-face)
9888 (font-lock-type-face, font-lock-constant-face):
9889 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9890 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9891 * speedbar.el (speedbar-button-face, speedbar-file-face)
9892 (speedbar-directory-face, speedbar-tag-face)
9893 (speedbar-selected-face, speedbar-highlight-face)
9894 (speedbar-separator-face):
9895 * whitespace.el (whitespace-newline, whitespace-space)
9896 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9897 (whitespace-line, whitespace-space-before-tab)
9898 (whitespace-space-after-tab, whitespace-indentation)
9899 (whitespace-empty):
9900 * emulation/cua-base.el (cua-global-mark):
9901 * eshell/em-prompt.el (eshell-prompt):
9902 * net/newst-plainview.el (newsticker-new-item-face)
9903 (newsticker-old-item-face, newsticker-immortal-item-face)
9904 (newsticker-obsolete-item-face, newsticker-date-face)
9905 (newsticker-statistics-face, newsticker-default-face):
9906 * net/newst-reader.el (newsticker-feed-face)
9907 (newsticker-extra-face, newsticker-enclosure-face):
9908 * net/newst-treeview.el (newsticker-treeview-face)
9909 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9910 (newsticker-treeview-immortal-face)
9911 (newsticker-treeview-obsolete-face)
9912 (newsticker-treeview-selection-face):
9913 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9914 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9915 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9916 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9917 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9918 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9919 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9920 (mpuz-text):
9921 * progmodes/vera-mode.el (vera-font-lock-number)
9922 (vera-font-lock-function, vera-font-lock-interface):
9923 * textmodes/table.el (table-cell): Use new-style face specs, and
9924 don't use the old :bold and :italic attributes.
9925
9926 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9927 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9928 (ebrowse-member-class, ebrowse-progress): Likewise.
9929 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9930 (ebrowse-file-name-face, ebrowse-default-face)
9931 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9932 (ebrowse-progress-face): Remove obsolete faces.
9933
9934 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9935 Inherit from error and warning faces respectively.
9936
9937 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9938 Likewise.
9939 (flyspell-incorrect-face, flyspell-duplicate-face):
9940 Remove obsolete aliases.
9941
9942 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
9943
9944 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9945 Avoid infloop.
9946
9947 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9948
9949 * startup.el (argv, argi): Make lexically scoped.
9950 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9951 * emacs-lisp/cl-macs.el: Use lexical-binding.
9952 Rename cl-bind-* to cl--bind-*.
9953 * files.el: Don't require `cl' since it doesn't use it.
9954 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9955
9956 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
9957
9958 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9959 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9960 instead of calling external sort utility.
9961 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9962
9963 2012-06-08 Eli Zaretskii <eliz@gnu.org>
9964
9965 * descr-text.el (describe-char): Mention how to insert the
9966 character, if the current input method doesn't support it.
9967 See the discussion in this thread for the details:
9968 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9969
9970 2012-06-08 Sam Steingold <sds@gnu.org>
9971
9972 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9973 XF86Back to previous-buffer.
9974 (minibuffer-local-map): Bind them to next-history-element and
9975 previous-history-element respectively.
9976 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9977 help-go-back respectively.
9978 * info.el (Info-mode-map): Bind them to Info-history-forward and
9979 Info-history-back respectively.
9980 These are the keys next to Up on the ThinkPad keyboard.
9981
9982 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9983
9984 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9985 * emacs-lisp/cl-macs.el: Provide itself.
9986 (cl--labels-convert-cache): New var.
9987 (cl--labels-convert): New function.
9988 (cl-flet, cl-labels): New implementation with new semantics, relying on
9989 lexical-binding.
9990 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9991 (cl-closure-vars, cl--function-convert-cache)
9992 (cl--function-convert): Move from cl-macs.el.
9993 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9994 rename by removing the "cl-" prefix.
9995 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9996
9997 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9998
9999 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
10000 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
10001 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
10002 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
10003 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
10004 (cl-hash-table-count): Add old compatibility aliases.
10005
10006 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
10007 Use macroexpand-all-environment instead.
10008 (cl--old-macroexpand): New var.
10009 (cl--sm-macroexpand): New function.
10010 (cl-symbol-macrolet): Use it during macro expansion.
10011 (cl--function-convert-cache): New var.
10012 (cl--function-convert): New function, extracted from
10013 cl-macroexpand-all.
10014 (cl-lexical-let): Use it.
10015
10016 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
10017 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
10018 (cl-member): Remove old alias.
10019
10020 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
10021 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
10022 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
10023 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
10024 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
10025 (cl-macroexpand-cmacs): Remove var.
10026 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
10027 Use macroexpand-all instead.
10028
10029 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10030
10031 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
10032 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
10033 (macroexp-copyable-p): New functions and macros.
10034 * emacs-lisp/edebug.el (edebug-unwrap):
10035 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
10036 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
10037 (pcase--let*): Remove.
10038 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
10039 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
10040 macroexp-const-p instead.
10041 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
10042
10043 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
10044 instead of "cl-" for internal definitions. Use macroexp-const-p.
10045 (cl-old-bc-file-form): Remove var.
10046 (cl-const-exprs-p): Remove fun.
10047 (cl-labels, cl-macrolet): Use backquote.
10048 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
10049 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
10050 (cl-define-setf-expander): Rename from cl-define-setf-method.
10051 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10052
10053 * international/mule-cmds.el: Don't require CL.
10054 (view-hello-file): Don't use `letf'.
10055
10056 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10057
10058 * tmm.el (tmm-prompt): Use string-prefix-p.
10059 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10060 (tmm-add-prompt): Use minibuffer-completion-help.
10061 (tmm-delete-map): Remove.
10062
10063 * subr.el (kbd): Make it its own function.
10064
10065 2012-06-07 Stefan Merten <smerten@oekonux.de>
10066
10067 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10068 Silence compiler warnings. Fix versions.
10069 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
10070 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
10071 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
10072 (rst-package-emacs-version-alist): Correct Emacs version to
10073 represent major merge with upstream.
10074 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
10075
10076 2012-06-06 Glenn Morris <rgm@gnu.org>
10077
10078 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10079 Only print environment variables if set.
10080
10081 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10082
10083 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10084 (macroexp--cons): Rename from maybe-cons.
10085 (macroexp--accumulate): Rename from macroexp-accumulate.
10086 (macroexp--all-forms): Rename from macroexpand-all-forms.
10087 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10088 (macroexp--expand-all): Rename from macroexpand-all-1.
10089
10090 2012-06-06 Sam Steingold <sds@gnu.org>
10091
10092 * calendar/calendar.el (calendar-in-read-only-buffer):
10093 Call `special-mode' to enable the standard read-only keybindings.
10094
10095 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10096
10097 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10098 with "loading" messages (bug#11635).
10099
10100 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
10101
10102 * files.el (enable-remote-dir-locals): New option.
10103 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10104
10105 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10106 Ensure, that the temp directory is local.
10107
10108 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10109 `temporary-file-directory'.
10110
10111 * progmodes/python.el (python-send-region): Ensure, that the
10112 temporary file is created also in the remote case.
10113
10114 2012-06-06 Glenn Morris <rgm@gnu.org>
10115
10116 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10117 (vc-rcs-update-changelog): Use it.
10118
10119 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
10120
10121 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10122 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10123 (vc-sccs-diff): Replace use of the external vcdiff script.
10124
10125 2012-06-05 Glenn Morris <rgm@gnu.org>
10126
10127 * ledit.el: Move to obsolete/.
10128
10129 2012-06-05 Sam Steingold <sds@gnu.org>
10130
10131 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
10132 patch (Bug#11140).
10133
10134 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10135
10136 * emacs-lisp/cust-print.el: Move to obsolete.
10137
10138 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10139 compiler-macro expansion.
10140
10141 Add native compiler-macro support.
10142 * emacs-lisp/macroexp.el (macroexpand-all-1):
10143 Support compiler-macros directly. Properly follow aliases and apply
10144 the compiler macros more thoroughly.
10145 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10146 macroexpand now properly follows aliases.
10147 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10148 (cl-compiler-macroexpand): Use new prop.
10149 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10150
10151 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10152
10153 2012-06-05 Martin Rudalics <rudalics@gmx.at>
10154
10155 * window.el (get-lru-window, get-mru-window, get-largest-window):
10156 New argument NOT-SELECTED to avoid picking the selected window.
10157 (window--display-buffer-1, window--display-buffer-2): Replace by
10158 new function window--display-buffer
10159 (display-buffer-same-window, display-buffer-reuse-window)
10160 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10161 Use window--display-buffer.
10162 (display-buffer-use-some-window): Remove temporary dedication
10163 hack by calling get-lru-window and get-largest-window with
10164 NOT-SELECTED argument non-nil. Call window--display-buffer.
10165
10166 2012-06-05 Glenn Morris <rgm@gnu.org>
10167
10168 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10169 Replace external vcdiff script.
10170
10171 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10172
10173 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10174
10175 2012-06-04 Chong Yidong <cyd@gnu.org>
10176
10177 * image.el (imagemagick-types-inhibit): Revert last change.
10178 Add INFO and M.
10179 (imagemagick-enabled-types): Remove CIN and EPS*.
10180
10181 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10182
10183 * emacs-lisp/cl-lib.el: Rename from cl.el.
10184 * emacs-lisp/cl.el: New compatibility file.
10185 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10186 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10187 to obey the "cl-" prefix.
10188 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10189
10190 2012-06-03 Glenn Morris <rgm@gnu.org>
10191
10192 * emacs-lisp/authors.el (authors-aliases): Addition.
10193
10194 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10195 Fix :version.
10196
10197 2012-06-03 Stefan Merten <smerten@oekonux.de>
10198
10199 * textmodes/rst.el: Add comments.
10200 (rst-transition, rst-adornment): New faces.
10201 (rst-adornment-faces-alist): Make default safe to reevaluate.
10202 Fixes
10203 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10204 Improve customization tags.
10205 (rst-define-level-faces): Clarify meaning.
10206
10207 2012-06-03 Chong Yidong <cyd@gnu.org>
10208
10209 * progmodes/compile.el (compilation-mode-line-fail)
10210 (compilation-mode-line-run, compilation-mode-line-exit):
10211 New faces.
10212 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10213
10214 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10215
10216 * progmodes/which-func.el (which-func-update-ediff-windows):
10217 New function. Use it in ediff-select-hook (Bug#11478).
10218
10219 2012-06-03 Chong Yidong <cyd@gnu.org>
10220
10221 * bindings.el: Remove explicit help text from format-mode-line.
10222 It is now supplied by mode-line-default-help-echo.
10223 (mode-line-front-space, mode-line-end-spaces)
10224 (mode-line-misc-info): New variables.
10225 (mode-line-modes, mode-line-position): Move the default value to
10226 the variable definition.
10227 (mode-line-default-help-echo): New defcustom.
10228 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10229 (mode-line-modified-help-echo): New functions.
10230 (mode-line-mule-info, mode-line-modified): Use them.
10231 (mode-line-eol-desc, propertized-buffer-identification):
10232 Consistency fixes for help text.
10233 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10234 set-buffer-file-coding-system (Bug#289).
10235 (mode-line-mule-info-help-echo): Update help text.
10236
10237 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10238
10239 * simple.el (execute-extended-command): Set real-this-command
10240 (bug#11506).
10241
10242 2012-06-02 Chong Yidong <cyd@gnu.org>
10243
10244 Remove incorrect uses of "modeline" in comments, docstrings, and
10245 function/variable names (Bug#10329).
10246
10247 * cus-edit.el (mode-line):
10248 * dframe.el (dframe-mouse-hscroll):
10249 * emacs-lisp/re-builder.el:
10250 * emacs-lisp/easy-mmode.el (define-minor-mode):
10251 * frame.el (set-frame-name):
10252 * help.el (lookup-minor-mode-from-indicator):
10253 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10254 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10255 (c-toggle-hungry-state):
10256 * progmodes/antlr-mode.el (antlr-language-alist):
10257 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10258 * progmodes/vhdl-mode.el (vhdl-mode):
10259 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10260 * term/ns-win.el (ns-face-at-pos):
10261 * term/sup-mouse.el (sup-mouse-report):
10262 * textmodes/flyspell.el (flyspell-mode-line-string):
10263 * textmodes/ispell.el (ispell-highlight-face):
10264 * textmodes/reftex-global.el:
10265 * vc/vc-arch.el (vc-arch-mode-line-string):
10266 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10267 * vc/vc-git.el (vc-git-mode-line-string):
10268 * vc/vc-hooks.el (vc-display-status)
10269 (vc-default-mode-line-string):
10270 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10271
10272 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10273
10274 * dired.el (dired-sort-set-mode-line): Rename from
10275 dired-sort-set-modeline. All callers changed.
10276
10277 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10278 eshell-status-in-modeline.
10279
10280 * foldout.el (foldout-mode-line-string): Rename from
10281 foldout-modeline-string. All callers changed.
10282 (foldout-update-mode-line): Rename from foldout-update-modeline.
10283
10284 * subr.el (redraw-modeline): Make into obsolete alias.
10285
10286 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10287 timeclock-modeline-display. Make old name an alias.
10288 (timeclock-update-mode-line): Likewise. All callers changed.
10289 (timeclock-mode-line-display): No need to check before using
10290 add-hook.
10291 (timeclock-relative, timeclock-day-over-hook)
10292 (timeclock-use-elapsed, timeclock-mode-string)
10293 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10294
10295 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10296 crisp-mode-modeline-string.
10297
10298 * play/solitaire.el (solitaire-build-mode-line): Rename from
10299 solitaire-build-modeline. All callers changed.
10300
10301 * play/zone.el (zone-hiding-mode-line): Rename from
10302 zone-hiding-modeline. All callers changed.
10303 (zone): Remove unusued `modeline-hidden-level' property.
10304
10305 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10306 xscheme-modeline-initialize. All callers changed.
10307
10308 * strokes.el (strokes-lighter): Rename from
10309 strokes-modeline-string.
10310
10311 * textmodes/sgml-mode.el (html-face-tag-alist)
10312 (html-tag-face-alist): Use mode-line face instead of obsolete
10313 alias modeline.
10314
10315 2012-06-02 Stefan Merten <smerten@oekonux.de>
10316
10317 * textmodes/rst.el: Always require `cl'.
10318 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10319
10320 2012-06-02 Chong Yidong <cyd@gnu.org>
10321
10322 * image.el (imagemagick-enabled-types): Rename from
10323 imagemagick-types-enable. Add many more types.
10324 (imagemagick-types-inhibit): Change default to nil.
10325 (imagemagick-filter-types): Caller changed.
10326
10327 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10328
10329 * emacs-lisp/cl-macs.el: Use backquotes.
10330 (cl-transform-function-property): Use eval-and-compile rather than
10331 abusing `require'.
10332 (defstruct): Use declare-function instead of with-no-warnings.
10333
10334 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10335 (byte-compile-output-docform): Re-add the print-circle bindings.
10336 (byte-compile-fix-header): Use #$ just because it's shorter.
10337 (byte-compile-output-file-form): Remove defun/defmacro.
10338
10339 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10340
10341 * simple.el (choose-completion): Remove now obsolete binding for
10342 owindow.
10343
10344 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10345
10346 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10347 in order to avoid "Stack overflow in regexp matcher".
10348
10349 2012-05-31 Glenn Morris <rgm@gnu.org>
10350
10351 * image.el: For clarity, call imagemagick-register-types at
10352 top-level, rather than relying on a custom :initialize.
10353 (imagemagick-types-enable): New option. (Bug#11557)
10354 (imagemagick-filter-types): New function. (Bug#7406)
10355 (imagemagick-register-types): Use imagemagick-filter-types.
10356 If disabling support, remove elements altogether rather
10357 than using an impossible regexp.
10358 (imagemagick-types-inhibit): Give it the default init function.
10359
10360 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10361
10362 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10363 Handle arbitrary file name lengths (Bug#11585).
10364
10365 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10366
10367 * desktop.el (desktop-read): Clear previous and next buffers for
10368 all windows and bury *Messages* buffer (bug#11556).
10369
10370 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10371
10372 Add `declare' for `defun'. Align `defmacro's with it.
10373 * emacs-lisp/easy-mmode.el (define-minor-mode)
10374 (define-globalized-minor-mode): Don't autoload the var definitions.
10375 * emacs-lisp/byte-run.el: Use lexical-binding.
10376 (defun-declarations-alist, macro-declarations-alist): New vars.
10377 (defmacro, defun): Use them.
10378 (make-obsolete, define-obsolete-function-alias)
10379 (make-obsolete-variable, define-obsolete-variable-alias):
10380 Use `declare'.
10381 (macro-declaration-function): Mark obsolete.
10382 * emacs-lisp/autoload.el: Use lexical-binding.
10383 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10384
10385 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10386
10387 * textmodes/ispell.el (ispell-with-no-warnings):
10388 Define as a macro.
10389 (ispell-kill-ispell, ispell-change-dictionary):
10390 Use `called-interactively-p' for Emacs instead of obsolete
10391 `interactive-p'.
10392
10393 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10394
10395 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10396 (macro-declaration-function): Move var from C code.
10397 (macro-declaration-function): Define function with defalias.
10398 * emacs-lisp/macroexp.el (macroexpand-all-1):
10399 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10400 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10401 defun/defmacro any more.
10402 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10403 Provide fallback for unknown arglist.
10404 (byte-compile-arglist-warn): Change calling convention.
10405 (byte-compile-output-file-form): Move print-vars binding.
10406 (byte-compile-output-docform): Simplify accordingly.
10407 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10408 (byte-compile-defmacro-declaration): Remove.
10409 (byte-compile-file-form-defmumble): Generalize to defalias.
10410 (byte-compile-output-as-comment): Return byte-positions.
10411 Simplify callers accordingly.
10412 (byte-compile-lambda): Use `assert'.
10413 (byte-compile-defun, byte-compile-defmacro): Remove.
10414 (byte-compile-file-form-defalias):
10415 Use byte-compile-file-form-defmumble.
10416 (byte-compile-defalias-warn): Remove.
10417
10418 2012-05-29 Stefan Merten <smerten@oekonux.de>
10419
10420 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10421 possible. Fix authors. Improve comments. Improve loading of `cl'.
10422
10423 (rst-mode-abbrev-table): Merge definition.
10424 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10425 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10426
10427 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10428
10429 * calendar/icalendar.el
10430 (icalendar-export-region): Export UID properly.
10431
10432 2012-05-29 Leo Liu <sdl.web@gmail.com>
10433 * calendar/icalendar.el (icalendar-import-format):
10434 Add `icalendar-import-format-uid' (Bug#11525).
10435 (icalendar-import-format-uid): New.
10436 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10437 Export UID.
10438
10439 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10440
10441 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10442 different alternative patterns.
10443 (pcase-codegen): Be more careful to preserve identity.
10444 (pcase--u1): Don't forget to mark vars as used.
10445
10446 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10447 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10448 (byte-compile-from-buffer): ...rather than here.
10449
10450 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10451 functions from byte-compile-function-environment.
10452
10453 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10454
10455 * window.el (window-deletable-p): Avoid deleting the root window
10456 of a frame with an active minibuffer.
10457
10458 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10459
10460 * simple.el (choose-completion): Use quit-window (Bug#11567).
10461
10462 2012-05-29 Chong Yidong <cyd@gnu.org>
10463
10464 * whitespace.el (whitespace-cleanup): Fix usage of
10465 whitespace-empty-at-bob-regexp (Bug#11492).
10466
10467 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10468
10469 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10470 revert (Bug#11488).
10471
10472 2012-05-29 Juri Linkov <juri@jurta.org>
10473
10474 * isearch.el (isearch-mode-map): Bind `M-s _' to
10475 `isearch-toggle-symbol'. Bind `M-s c' to
10476 `isearch-toggle-case-fold'.
10477 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10478 (isearch-forward): Add `M-s _' to the docstring.
10479 (isearch-forward-symbol, isearch-toggle-case-fold)
10480 (isearch-symbol-regexp): New functions. (Bug#11381)
10481
10482 2012-05-29 Juri Linkov <juri@jurta.org>
10483
10484 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10485 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10486 a function, call it to get the regexp.
10487 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10488 property `isearch-message-prefix' instead of the string "word ".
10489 (isearch-search-fun-default): For the case of `isearch-word',
10490 return a lambda that calls re-search-forward/re-search-backward
10491 with a regexp returned by `word-search-regexp' or by the function
10492 in `isearch-word'.
10493
10494 2012-05-29 Juri Linkov <juri@jurta.org>
10495
10496 * isearch.el (isearch-search-fun-default): New function.
10497 (isearch-search-fun): Move default part to the new function
10498 `isearch-search-fun-default'.
10499 (isearch-search-fun-function): Set the default value to
10500 `isearch-search-fun-default'. (Bug#11381)
10501
10502 * comint.el (comint-history-isearch-end):
10503 Use `isearch-search-fun-default'.
10504 (comint-history-isearch-search): Use `isearch-search-fun-default'
10505 and remove spacial case for `isearch-word'.
10506 (comint-history-isearch-wrap): Remove spacial case for
10507 `isearch-word'.
10508
10509 * hexl.el (hexl-isearch-search-function):
10510 Use `isearch-search-fun-default'.
10511
10512 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10513 Use `word-search-regexp' for `isearch-word'.
10514
10515 * misearch.el (multi-isearch-search-fun):
10516 Use `isearch-search-fun-default'.
10517
10518 * simple.el (minibuffer-history-isearch-search):
10519 Use `isearch-search-fun-default' and remove spacial case for
10520 `isearch-word'.
10521 (minibuffer-history-isearch-wrap): Remove spacial case for
10522 `isearch-word'.
10523
10524 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10525 Remove spacial case for `isearch-word'.
10526 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10527
10528 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10529
10530 Decrease XEmacs incompatibilities.
10531 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10532 Use `string-match'.
10533 (flyspell-delete-region-overlays): Use alternative definition for
10534 XEmacs.
10535 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10536 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10537 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10538 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10539 `define-obsolete-face-alias' under XEmacs, but old method.
10540
10541 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10542 `with-no-warnings' definition or Emacs alias.
10543 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10544 (ispell-word): Do not use `region-p' if XEmacs.
10545
10546 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10547
10548 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10549 Check for `ispell-dictionary-base-alist' instead of full
10550 `ispell-dictionary-alist'.
10551 (ispell-init-process): Show spellchecker when starting new Ispell
10552 process.
10553
10554 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10555
10556 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10557 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10558
10559 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10560
10561 * version.el (motif-version-string, gtk-version-string)
10562 (ns-version-string): Declare.
10563
10564 2012-05-27 Juri Linkov <juri@jurta.org>
10565
10566 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10567 after the `eval-defun-1' specialcaseing
10568 like in `edebug-eval-defun' (bug#10181).
10569
10570 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10571 like in `eval-defun-1'.
10572
10573 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10574
10575 * mail/sendmail.el (mail-yank-region):
10576 Recognize rmail-yank-current-message in addition to insert-buffer.
10577 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10578 a *mail* buffer created through rmail-start-mail with sendmail as
10579 mail-user-agent.
10580
10581 2012-05-27 Chong Yidong <cyd@gnu.org>
10582
10583 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10584 Default to 256 (Bug#11267).
10585
10586 * help.el (describe-mode): Doc fix.
10587
10588 2012-05-26 Glenn Morris <rgm@gnu.org>
10589
10590 * w32-fns.el (w32-init-info): Remove.
10591 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10592
10593 * info.el (info-initialize): For self-contained NS builds, put the
10594 included info/ directory at the front. (Bug#2791)
10595
10596 * paths.el (Info-default-directory-list): Make it a defcustom,
10597 mainly so that we can use custom-initialize-delay.
10598
10599 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10600
10601 * subr.el (buffer-has-markers-at): Mark obsolete.
10602
10603 * subr.el (lambda): Use declare.
10604
10605 * emacs-lisp/lisp-mode.el (lambda):
10606 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10607
10608 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10609
10610 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10611
10612 2012-05-26 Glenn Morris <rgm@gnu.org>
10613
10614 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10615
10616 2012-05-25 Glenn Morris <rgm@gnu.org>
10617
10618 * paths.el: Remove no-byte-compile.
10619 * loadup.el: No need to load paths.el uncompiled.
10620
10621 * image.el (imagemagick-types-inhibit): Doc fix.
10622
10623 * version.el: Remove no-byte-compile and associated formatting.
10624 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10625 is ancient code from when there was an "inc-vers.el".
10626
10627 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10628
10629 * progmodes/gdb-mi.el: Minor style changes.
10630 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10631 Turn into minor modes.
10632 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10633 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10634 (gdb-shell): Remove unneeded let-binding.
10635 (gdb-get-many-fields): Eliminate O(n²) behavior.
10636
10637 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10638
10639 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10640 platforms that don't link in fontset.c.
10641
10642 2012-05-25 Juri Linkov <juri@jurta.org>
10643
10644 Use the same diff color scheme as in modern VCSes (bug#10181).
10645
10646 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10647 to avoid confusion with `diff-added' that now uses green colors.
10648 (diff-removed): Use shades of red.
10649 (diff-added): Use shades of green.
10650 (diff-changed): Leave just the yellow color.
10651 (diff-use-changed-face): New variable.
10652 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10653 how to highlight context diff changes.
10654 (diff-refine-change): Use shades of yellow.
10655 (diff-refine-removed): New face that uses shades of red.
10656 (diff-refine-added): New face that uses shades of green.
10657 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10658 `diff-refine-removed' in the call to `smerge-refine-subst'
10659 depending on the value of `diff-use-changed-face'.
10660
10661 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10662 (smerge-other): Use shades of green.
10663 (smerge-base): Use shades of yellow.
10664 (smerge-refined-change): Empty face.
10665 (smerge-refined-removed): New face that uses shades of red.
10666 (smerge-refined-added): New face that uses shades of green.
10667 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10668 args `props-r' and `props-a', and use them. Doc fix.
10669 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10670 on its value use different faces `smerge-refined-change',
10671 `smerge-refined-removed', `smerge-refined-added' in the call to
10672 `smerge-refine-subst'.
10673
10674 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10675 Add face condition `min-colors 88' with shades of red.
10676 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10677 `min-colors 88' with shades of green.
10678 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10679 `min-colors 88' with shades of yellow.
10680
10681 2012-05-24 Glenn Morris <rgm@gnu.org>
10682
10683 * paths.el (prune-directory-list, remote-shell-program): Move to...
10684 * files.el (prune-directory-list, remote-shell-program): ...here.
10685 For the latter, delay initialization, prefer ssh, just search PATH.
10686
10687 * paths.el (term-file-prefix): Move to faces.el (the only user).
10688 * faces.el (term-file-prefix): Move here, make it a defcustom.
10689
10690 * paths.el (news-directory, news-path, news-inews-program):
10691 Move to gnus/nnspool.el.
10692
10693 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10694
10695 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10696 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10697 Make the latter a defcustom, with a delayed initialization.
10698
10699 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10700 These were deleted from Gnus itself late 2010.
10701
10702 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10703
10704 * progmodes/which-func.el (which-func-ff-hook):
10705 Check against user-error, not error.
10706
10707 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10708 cl-specs.el, which no longer exists.
10709
10710 2012-05-22 Glenn Morris <rgm@gnu.org>
10711
10712 * info.el (info-emacs-bug): New command.
10713 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10714 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10715
10716 2012-05-21 Glenn Morris <rgm@gnu.org>
10717
10718 * makefile.w32-in (update-subdirs-SH):
10719 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10720
10721 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10722
10723 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10724
10725 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10726 Simplify Maven regexp, and make sure the file can't start with a space
10727 (bug#11517).
10728
10729 2012-05-21 Glenn Morris <rgm@gnu.org>
10730
10731 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10732 Scrap superfluous subshells.
10733
10734 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10735
10736 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10737 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10738
10739 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10740
10741 * calc/calc.el (calc-ensure-consistent-units): New variable.
10742
10743 * calc/calc-units.el (math-consistent-units-p)
10744 (math-check-unit-consistency): New functions.
10745 (calc-quick-units, calc-convert-units):
10746 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10747 is non-nil.
10748 (calc-extract-units): Fix typo.
10749
10750 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10751
10752 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10753
10754 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10755 (flyspell-default-deplacement-commands): Don't spell check after
10756 repeated window/frame switches (e.g. triggered by mouse-movement).
10757 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10758 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10759 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10760 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10761 Remove unused vars.
10762 (flyspell-get-casechars, flyspell-get-not-casechars):
10763 Simplify; Don't bother removing a ] just to add it back.
10764 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10765
10766 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10767
10768 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10769 New functions.
10770 (math-function-table): Add support for more C functions.
10771
10772 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10773
10774 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10775 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10776 Protect delay handling for otherchars against empty otherchars.
10777
10778 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10779
10780 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10781 their respective macro declarations.
10782 * skeleton.el (define-skeleton):
10783 * progmodes/compile.el (define-compilation-mode):
10784 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10785 (define-ibuffer-filter):
10786 * emacs-lisp/generic.el (define-generic-mode):
10787 * emacs-lisp/easy-mmode.el (define-minor-mode)
10788 (define-globalized-minor-mode):
10789 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10790 * emacs-lisp/byte-run.el (defsubst):
10791 * custom.el (deftheme): Add doc-string metadata.
10792
10793 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10794
10795 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10796
10797 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10798
10799 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10800
10801 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10802 * emacs-lisp/cl-macs.el: Idem.
10803 * emacs-lisp/cl-specs.el: Remove.
10804
10805 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10806
10807 Minor renaming of internal CL functions and variables.
10808 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10809 (cl--position): Rename from cl-position.
10810 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10811 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10812 (cl--random-state): Rename from *random-state*.
10813
10814 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10815
10816 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10817 parens around the arg list (bug#11499).
10818
10819 2012-05-17 Juri Linkov <juri@jurta.org>
10820
10821 * isearch.el (word-search-regexp, word-search-backward)
10822 (word-search-forward, word-search-backward-lax)
10823 (word-search-forward-lax): Move functions from search.c
10824 (bug#10145, bug#11381).
10825
10826 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10827
10828 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10829 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10830 Delay for otherchars as for normal word components.
10831
10832 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10833
10834 * minibuffer.el (completion--sifn-requote): Fix last change.
10835 (minibuffer-local-must-match-filename-map):
10836 Move define-obsolete-variable-alias before its var.
10837
10838 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10839
10840 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10841
10842 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10843 behavior.
10844 (completion--string-equal-p): New function.
10845 (completion--twq-all): Use it to get better assertion failure data.
10846
10847 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10848 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10849 (shell--requote-argument): New functions.
10850 (shell-completion-vars): Use them.
10851 (shell--parse-pcomplete-arguments): Rename from
10852 shell-parse-pcomplete-arguments.
10853 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10854 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10855 Obey comint-file-name-quote-list.
10856
10857 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10858 (smie-indent-keyword): Use it.
10859
10860 2012-05-14 Stefan Merten <smerten@oekonux.de>
10861
10862 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10863
10864 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10865
10866 * net/rlogin.el (rlogin-mode-map): Fix last change.
10867
10868 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10869
10870 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10871 the following \r\n using a single `process-send-string', since the
10872 Lotus SMTP server refuses to accept any commands if they are sent
10873 with two `process-send-string's (Bug#11444).
10874
10875 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10876
10877 * shell.el (shell-parse-pcomplete-arguments):
10878 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10879
10880 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10881
10882 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10883 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10884 (image-transform-width, image-transform-fit-width): New functions.
10885 (image-transform-properties): Use them.
10886 (image-transform-check-size): New function.
10887 (image-toggle-display-image): Use it (for testing).
10888 (image-transform-set-rotation): Reduce angle mod 360.
10889 Delete obsolete comment.
10890
10891 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10892
10893 * image-mode.el: Fix scaling (bug#11399).
10894 (image-transform-resize): Doc fix.
10895 (image-transform-properties): Default scale is 1 and height should
10896 be an integer.
10897
10898 2012-05-13 Johan Bockgård <bojohan@gnu.org>
10899
10900 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10901 than hard-coding `car', to fix misbehavior when moving forward.
10902
10903 2012-05-13 Chong Yidong <cyd@gnu.org>
10904
10905 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10906 (tabulated-list-entries, tabulated-list-padding)
10907 (tabulated-list-sort-key): Make permanent-local.
10908
10909 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10910 (electric-buffer-list): Put electric buffer menu
10911 command descriptions in this docstring, instead of the docstring
10912 of electric-buffer-menu-mode. Code cleanups.
10913 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10914 Electric-buffer-menu-mode.
10915 (electric-buffer-update-highlight): Minor code cleanup.
10916
10917 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
10918
10919 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10920 (Bug#11447)
10921
10922 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10923
10924 Move define-obsolete-variable-alias before the var's definition.
10925 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10926 * tooltip.el (tooltip-hook):
10927 * textmodes/reftex-toc.el (reftex-toc-map):
10928 * textmodes/reftex-sel.el (reftex-select-label-map)
10929 (reftex-select-bib-map):
10930 * textmodes/reftex-index.el (reftex-index-map)
10931 (reftex-index-phrases-map):
10932 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10933 * progmodes/meta-mode.el (meta-mode-map):
10934 * novice.el (disabled-command-hook):
10935 * loadhist.el (unload-hook-features-list):
10936 * frame.el (blink-cursor):
10937 * files.el (find-file-not-found-hooks, write-file-hooks)
10938 (write-contents-hooks):
10939 * emulation/tpu-edt.el (GOLD-map):
10940 * emacs-lock.el (emacs-lock-from-exiting):
10941 * emacs-lisp/generic.el (generic-font-lock-defaults):
10942 * emacs-lisp/chart.el (chart-map):
10943 * dos-fns.el (register-name-alist):
10944 * dired-x.el (dired-omit-files-p):
10945 * desktop.el (desktop-enable):
10946 * cus-edit.el (custom-mode-hook):
10947 * buff-menu.el (buffer-menu-mode-hook):
10948 * bookmark.el (bookmark-read-annotation-text-func)
10949 (bookmark-exit-hooks):
10950 * allout.el (allout-mode-deactivate-hook)
10951 (allout-exposure-change-hook, allout-structure-added-hook)
10952 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10953 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10954 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10955 comes before the corresponding variable's definition.
10956
10957 2012-05-12 Chong Yidong <cyd@gnu.org>
10958
10959 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
10960 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10961 (Buffer-menu-mode-map): Bind it.
10962 (Buffer-menu--pretty-name): Add a mouse-face property.
10963
10964 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10965
10966 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10967 (prolog-upper-case-string, prolog-lower-case-string)
10968 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10969 (prolog-use-smie, prolog-smie-grammar): New vars.
10970 (prolog-smie-forward-token, prolog-smie-backward-token)
10971 (prolog-smie-rules): New funs.
10972 (prolog-comment-indent): Remove.
10973 (prolog-mode-variables): Use default comment indentation instead.
10974 Setup SMIE.
10975 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10976 (prolog-mode): Don't call them any more.
10977 (prolog-electric-colon, prolog-electric-dash)
10978 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10979
10980 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10981
10982 * minibuffer.el (completion--twq-all): Again, allow case differences.
10983
10984 * term.el: Move keymap initialization code to be more idiomatic.
10985 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10986 (term-terminal-menu): Move initialization into declaration.
10987 (term-escape-char): Let the user set it in her .emacs.
10988
10989 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10990 Provide SMIE-based indentation (not enabled by default yet).
10991 (sh-mode-map): Don't bind electric keys.
10992 Use electric-pair-mode instead of skeleton-pair.
10993 (sh-assignment-regexp): Fit within 80 columns.
10994 (sh-indent-supported): Specify actual shell name instead of boolean.
10995 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10996 (sh-maybe-here-document): Use it. Make obsolete.
10997 (sh-electric-here-document-mode) New minor mode.
10998 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10999 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
11000 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
11001 (sh-smie-rc-grammar, sh-use-smie): New vars.
11002 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
11003 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
11004 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
11005 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
11006 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
11007 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
11008 (sh-set-shell): Use smie-setup if requested.
11009
11010 * term.el (term-set-escape-char): Properly set term-escape-char.
11011 See http://stackoverflow.com/questions/10524656.
11012
11013 2012-05-10 Chong Yidong <cyd@gnu.org>
11014
11015 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
11016 Use url-generic-parse-url, and handle host names and Windows
11017 filenames properly.
11018 (ffap-url-unwrap-remote): Use url-generic-parse-url.
11019 (ffap-url-unwrap-remote): Accept list values, specifying a list of
11020 URL schemes to work on.
11021 (ffap--toggle-read-only): New function.
11022 (ffap-read-only, ffap-read-only-other-window)
11023 (ffap-read-only-other-frame): Use it.
11024 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
11025 necessary for ffap-url-unwrap-remote.
11026
11027 2012-05-10 Dave Abrahams <dave@boostpro.com>
11028
11029 * cus-start.el (create-lockfiles): Add it.
11030
11031 2012-05-09 Chong Yidong <cyd@gnu.org>
11032
11033 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
11034 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
11035
11036 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11037
11038 * shell.el (shell-completion-vars): Fix last change (bug#11348).
11039
11040 2012-05-09 Chong Yidong <cyd@gnu.org>
11041
11042 * ansi-color.el (ansi-color-process-output): Check for validity of
11043 comint-last-output-start before using it. This avoids a bad
11044 interaction with gdb-mi's input/output buffer.
11045
11046 2012-05-09 Glenn Morris <rgm@gnu.org>
11047
11048 * files.el (dir-locals-read-from-file):
11049 Mention dir-locals in any error message.
11050
11051 2012-05-09 Chong Yidong <cyd@gnu.org>
11052
11053 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11054 package (Bug#11410).
11055
11056 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11057 variables into description.
11058
11059 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11060
11061 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11062 shell-delimiter-argument-list (bug#11348).
11063 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11064
11065 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
11066
11067 * textmodes/rst.el: Silence byte-compiler warnings.
11068 (rst-re-alist, rst-reset-section-caches): Move around.
11069 (rst-re): Use `characterp', not `char-valid-p'.
11070 (font-lock-beg, font-lock-end): Declare.
11071
11072 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11073 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11074
11075 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11076
11077 2012-05-08 Glenn Morris <rgm@gnu.org>
11078
11079 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11080
11081 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11082
11083 * vc/log-edit.el: Add GNU coding standards highlighting.
11084 (log-edit-font-lock-gnu-style)
11085 (log-edit-font-lock-gnu-keywords): New vars.
11086 (log-edit-font-lock-keywords): New fun.
11087 (log-edit-mode): Don't fold case in font-lock.
11088 (log-edit-font-lock-keywords): Do not assume case-folding.
11089
11090 * imenu.el: Misc cleanup. Make docstrings out of comments.
11091 Use lexical-binding.
11092 (imenu--index-alist, imenu--last-menubar-index-alist)
11093 (imenu-menubar-modified-tick): Use defvar-local.
11094 (imenu--split-menu): Remove unused var.
11095 (imenu--cleanup-seen): Declare as global.
11096 (imenu--cleanup): Use dolist.
11097
11098 * subr.el (defvar-local): Add debug spec and doc-string position.
11099
11100 2012-05-08 Glenn Morris <rgm@gnu.org>
11101
11102 * language/burmese.el, language/cham.el, language/czech.el:
11103 * language/english.el, language/georgian.el, language/greek.el:
11104 * language/japanese.el, language/khmer.el, language/korean.el:
11105 * language/lao.el, language/misc-lang.el, language/romanian.el:
11106 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11107 * language/thai.el, language/utf-8-lang.el:
11108 Remove no-byte-compile setting.
11109
11110 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11111
11112 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11113
11114 * progmodes/make-mode.el (makefile-browse):
11115 Remove unnecessary interactive. (Bug#11324)
11116
11117 2012-05-07 Glenn Morris <rgm@gnu.org>
11118
11119 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11120
11121 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11122
11123 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11124
11125 * loadup.el: Preload newcomment.el.
11126 * newcomment.el: Move autoload-only code to toplevel.
11127
11128 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11129 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11130 Handle new :right-align column property.
11131 (tabulated-list-print-col): Idem, plus use `display' text-property to
11132 try and preserve alignment for variable pitch fonts.
11133
11134 2012-05-07 Chong Yidong <cyd@gnu.org>
11135
11136 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11137 (tabulated-list-use-header-line): New var.
11138 (tabulated-list-init-header): Use it.
11139 (tabulated-list-print-fake-header): New function.
11140 (tabulated-list-print): Use it.
11141 (tabulated-list-sort-button-map): Add non-header-line commands.
11142 (tabulated-list-init-header): Add column name property to basic
11143 labels as well.
11144 (tabulated-list-col-sort): Handle non-header-line button case.
11145 (tabulated-list--sort-by-column-name): Fix a corner case.
11146
11147 * buff-menu.el (list-buffers--refresh):
11148 Handle Buffer-menu-use-header-line.
11149
11150 2012-05-06 Chong Yidong <cyd@gnu.org>
11151
11152 * buff-menu.el: Convert to Tabulated List mode.
11153 (Buffer-menu-buffer+size-width): Make obsolete.
11154 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11155 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11156 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11157 documentation into docstring of buffer-menu.
11158 (Buffer-menu-toggle-files-only): Add an informative message.
11159 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11160 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11161 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11162 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11163 (Buffer-menu-execute, Buffer-menu-select)
11164 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11165 (Buffer-menu-bury): Use Tabulated List machinery.
11166 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11167 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11168 Delete.
11169 (list-buffers--refresh): New function.
11170 (list-buffers-noselect): Use it.
11171 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11172 (Buffer-menu--pretty-file-name): New helper functions.
11173
11174 * loadup.el: Preload tabulated-list.
11175
11176 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11177 tabulated-list-sort-column.
11178 (tabulated-list-init-header): Add the initial aligning space even
11179 if tabulated-list-padding is zero.
11180
11181 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11182
11183 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11184 whose cdr is not a cons cell correctly (bug#11038).
11185
11186 2012-05-06 Chong Yidong <cyd@gnu.org>
11187
11188 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11189 Accept additional plist in column descriptors.
11190 (tabulated-list-init-header): Obey it.
11191 (tabulated-list-get-entry): New function.
11192 (tabulated-list-put-tag): Use it. Use string-width instead of
11193 length.
11194 (tabulated-list--column-number): New function.
11195 (tabulated-list-print): Use it.
11196 (tabulated-list-print-col): New function.
11197 Set `tabulated-list-column-name' property on each column's text.
11198 (tabulated-list-print-entry): Use it.
11199 (tabulated-list-delete-entry, tabulated-list-set-col):
11200 New functions.
11201 (tabulated-list-sort-column): New command (Bug#11337).
11202
11203 * buff-menu.el (list-buffers): Move C-x C-b binding from
11204 buff-menu.el to bindings.el.
11205
11206 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11207 :advertised-binding feature.
11208
11209 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11210
11211 * progmodes/compile.el (compilation-internal-error-properties):
11212 Calculate start position correctly when end-col is set but
11213 end-line is not (Bug#11382).
11214
11215 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11216
11217 * man.el (Man-unindent): Use text-property-default-nonsticky to
11218 prevent untabify from inheriting face properties (Bug#11408).
11219
11220 2012-05-05 Stefan Merten <smerten@oekonux.de>
11221
11222 * textmodes/rst.el: Major merge with upstream development up to
11223 Docutils SVN r7399 / rst.el V1.2.1.
11224
11225 Clarify maintainership and authors.
11226
11227 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11228 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11229 (rst-official-version, rst-official-cvs-rev, rst-version)
11230 (rst-package-emacs-version-alist): New functions and variables
11231 for version information.
11232
11233 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11234 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11235 (rst-mode-syntax-table, rst-mode): New and corrected functions
11236 and variables representing reStructuredText features.
11237
11238 (rst-re): New function for reStructuredText regexes. Use in
11239 many places.
11240
11241 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11242 (rst-mode-map): Rebind keys.
11243
11244 (rst-mode-lazy, rst-font-lock-keywords)
11245 (rst-font-lock-extend-region)
11246 (rst-font-lock-extend-region-internal)
11247 (rst-font-lock-extend-region-extend)
11248 (rst-font-lock-find-unindented-line-limit)
11249 (rst-font-lock-find-unindented-line-match)
11250 (rst-adornment-level, rst-font-lock-adornment-level)
11251 (rst-font-lock-adornment-match)
11252 (rst-font-lock-handle-adornment-pre-match-form)
11253 (rst-font-lock-handle-adornment-matcher): Major revision of
11254 font-locking. Integrate with other code. Use `jit-lock-mode'.
11255
11256 (rst-preferred-adornments, rst-adjust-hook)
11257 (rst-new-adornment-down, rst-preferred-bullets)
11258 (rst-preferred-bullets, rst-indent, rst-indent-width)
11259 (rst-indent-field, rst-indent-literal-normal)
11260 (rst-indent-literal-minimized, rst-indent-comment): Change,
11261 extend and improve customization.
11262
11263 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11264 (rst-normalize-cursor-position, rst-get-decoration)
11265 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11266 (rst-rstrip, rst-toc-insert-find-delete-contents)
11267 (rst-shift-fill-region, rst-compute-bullet-tabs)
11268 (rst-debug-print-tabs, rst-debug-mark-found)
11269 (rst-shift-region-guts, rst-shift-region-right)
11270 (rst-shift-region-left, rst-use-char-classes)
11271 (rst-font-lock-keywords-function)
11272 (rst-font-lock-indentation-point)
11273 (rst-font-lock-find-unindented-line-begin)
11274 (rst-font-lock-find-unindented-line-end)
11275 (rst-font-lock-find-unindented-line)
11276 (rst-font-lock-adornment-point, rst-font-lock-level)
11277 (rst-adornment-level-alist): Remove functions and variables.
11278
11279 (rst-compare-adornments, rst-get-adornment-match)
11280 (rst-suggest-new-adornment, rst-get-adornments-around)
11281 (rst-adornment-complete-p, rst-get-next-adornment)
11282 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11283 (rst-straighten-adornments): Standardize function names to
11284 use "adornment" instead of "decoration". Correct callers.
11285 Similar standardizing in many places.
11286
11287 (rst-update-section, rst-adjust, rst-promote-region)
11288 (rst-enumerate-region, rst-bullet-list-region)
11289 (rst-repeat-last-character): Correct use of `interactive'.
11290
11291 (rst-classify-adornment, rst-find-all-adornments)
11292 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11293 (rst-find-leftmost-column, rst-repeat-last-character):
11294 Refactor functions.
11295
11296 (rst-find-title-line, rst-reset-section-caches)
11297 (rst-get-adornments-around, rst-adjust-adornment-work)
11298 (rst-arabic-to-roman, rst-roman-to-arabic)
11299 (rst-insert-list-pos, rst-insert-list-new-item)
11300 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11301 New functions.
11302
11303 (rst-all-sections, rst-section-hierarchy)
11304 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11305 New variables.
11306
11307 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11308 configuration instead of only buffer. Change where necessary.
11309
11310 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11311 (rst-shift-region, rst-adaptive-fill): New functions for
11312 indentation and filling.
11313
11314 (rst-comment-line-break, rst-comment-indent)
11315 (rst-comment-insert-comment, rst-comment-region)
11316 (rst-uncomment-region): New functions for handling comments.
11317
11318 (rst-compile): Quote shell arguments.
11319
11320 (rst-compile-pdf-preview, rst-compile-slides-preview):
11321 Delete temporary files after use.
11322
11323 2012-05-05 Glenn Morris <rgm@gnu.org>
11324
11325 * calendar/cal-html.el: Optionally include holidays in the output.
11326 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11327 (cal-html-holidays): New option.
11328 (cal-html-css-default): Add holiday entry.
11329 (holiday-in-range): Autoload it.
11330 (cal-html-htmlify-entry): Add optional class argument.
11331 (cal-html-htmlify-list): Add optional holidays argument.
11332 (cal-html-insert-agenda-days): Include holidays in the output.
11333 (cal-html-one-month): Maybe include holidays.
11334
11335 * calendar/holidays.el (holiday-in-range):
11336 Move here from cal-tex-list-holidays.
11337 * calendar/cal-tex.el (cal-tex-list-holidays):
11338 Make it an obsolete alias for holiday-in-range. Update all callers.
11339
11340 2012-05-05 Chong Yidong <cyd@gnu.org>
11341
11342 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11343 Nextstep.
11344
11345 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11346
11347 * files.el (file-auto-mode-skip): New var.
11348 (set-auto-mode-1): Use it.
11349
11350 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11351
11352 * repeat.el: Use lexical-binding.
11353 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11354 (repeat-undo-count): Remove.
11355 (repeat):
11356 * progmodes/octave-mod.el (octave-abbrev-start):
11357 * progmodes/f90.el (f90-abbrev-start):
11358 * face-remap.el (text-scale-adjust):
11359 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11360
11361 * emacs-lisp/pcase.el (pcase--let*): New function.
11362 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11363 a bit more.
11364 (pcase--split-pred): Be more clever about ruling out overlap between
11365 a predicate and some constant pattern.
11366 (pcase--q1): Use `null' instead of (eq foo nil).
11367
11368 * subr.el (setq-local, defvar-local): New macros.
11369 (kbd): Redefine as an alias.
11370 (with-selected-window): Leave unrelated frames alone.
11371 (set-temporary-overlay-map): New function.
11372
11373 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11374
11375 * subr.el (user-error): New function.
11376 * window.el (switch-to-buffer):
11377 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11378 (smerge-match-conflict):
11379 * simple.el (previous-matching-history-element)
11380 (next-matching-history-element, goto-history-element, undo-more)
11381 (undo-start):
11382 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11383 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11384 (next-file, tags-loop-scan, list-tags, complete-tag):
11385 * progmodes/compile.el (compilation-loop):
11386 * mouse.el (mouse-minibuffer-check):
11387 * man.el (Man-bgproc-sentinel, Man-goto-page):
11388 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11389 (Info-history-forward, Info-follow-reference, Info-menu)
11390 (Info-extract-menu-item, Info-extract-menu-counting)
11391 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11392 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11393 (Info-next-reference, Info-prev-reference, Info-index)
11394 (Info-index-next, Info-follow-nearest-node)
11395 (Info-copy-current-node-name):
11396 * imenu.el (imenu--make-index-alist)
11397 (imenu-default-create-index-function, imenu-add-to-menubar):
11398 * files.el (basic-save-buffer, recover-file):
11399 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11400 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11401 (checkdoc-message-text, checkdoc-defun):
11402 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11403 * cus-edit.el (customize-changed-options, customize-rogue)
11404 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11405 (custom-variable-mark-to-reset-standard)
11406 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11407 (custom-file):
11408 * completion.el (check-completion-length):
11409 * comint.el (comint-search-arg)
11410 (comint-previous-matching-input-string-position)
11411 (comint-previous-matching-input)
11412 (comint-replace-by-expanded-history-before-point, comint-send-input)
11413 (comint-copy-old-input, comint-backward-matching-input)
11414 (comint-goto-process-mark, comint-set-process-mark):
11415 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11416 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11417
11418 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11419
11420 * dabbrev.el (dabbrev--ignore-case-p): New function.
11421 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11422 Use it.
11423
11424 * files.el (automount-dir-prefix): Mark as obsolete.
11425
11426 2012-05-04 Glenn Morris <rgm@gnu.org>
11427
11428 * patcomp.el, play/bruce.el: Move to obsolete/.
11429
11430 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11431
11432 Fix minor Y10k bugs.
11433 * arc-mode.el (archive-unixdate):
11434 * autoinsert.el (auto-insert-alist):
11435 * calc/calc-forms.el (math-this-year):
11436 * emacs-lisp/copyright.el (copyright-current-year)
11437 (copyright-update-year, copyright):
11438 * tar-mode.el (tar-clip-time-string):
11439 * time.el (display-time-update):
11440 Don't assume years have 4 digits.
11441
11442 2012-05-04 Chong Yidong <cyd@gnu.org>
11443
11444 * dos-w32.el (file-name-buffer-file-type-alist)
11445 (direct-print-region-use-command-dot-com):
11446 * ffap.el (ffap-menu-regexp):
11447 * find-file.el (ff-special-constructs):
11448 * follow.el (follow-debug):
11449 * forms.el (forms--debug):
11450 * iswitchb.el (iswitchb-all-frames):
11451 * ido.el (ido-all-frames):
11452 * emacs-lisp/timer.el (timer-max-repeats):
11453 * mail/feedmail.el (feedmail-mail-send-hook)
11454 (feedmail-mail-send-hook-queued):
11455 * mail/footnote.el (footnote-signature-separator):
11456 * mail/mailabbrev.el (mail-alias-separator-string)
11457 (mail-abbrev-mode-regexp):
11458 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11459 * progmodes/idlwave.el (idlwave-libinfo-file)
11460 (idlwave-default-completion-case-is-down)
11461 (idlwave-library-routines): Convert defvars to defcustoms.
11462
11463 * mail/rmail.el (rmail-decode-mime-charset):
11464 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11465 (idlwave-shell-fix-inserted-breaks)
11466 (idlwave-shell-activate-alt-keybindings)
11467 (idlwave-shell-use-breakpoint-glyph):
11468 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11469
11470 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11471
11472 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11473
11474 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11475
11476 * progmodes/verilog-mode.el (font-lock-keywords):
11477 Fix mis-highligting auto. Reported by Craig Barner.
11478 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11479 defines from global name space. Reported by Dan Dever.
11480 (verilog-auto-reset, verilog-auto-reset-widths)
11481 (verilog-auto-tieoff): Support using unbased numbers for
11482 AUTORESET and AUTOTIEOFF.
11483 (verilog-submit-bug-report): Update variable list.
11484 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11485 parenthesis from not matching. Reported by Michael Rytting.
11486 (verilog-auto-template-lint): Fix hash error when linting modules
11487 with no used templates.
11488 (verilog-warn, verilog-warn-error)
11489 (verilog-warn-fatal): When non-interactive report multiple
11490 warnings before exiting. Suggested by Brad Dobbie.
11491 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11492 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11493 to report unused template errors. Reported by Brad Dobbie.
11494 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11495 nets, bug438. Reported by Vns Blore.
11496 (verilog-auto-inout-module, verilog-auto-reg)
11497 (verilog-read-decls, verilog-read-sub-decls-sig)
11498 (verilog-signals-edit-wire-reg, verilog-signals-with):
11499 Fix passing of Verilog data types in ANSI input/output ports
11500 such as "output logic" into the AUTOs. Special case "wire" and
11501 "reg" for backwards compatibility presuming Verilog 2001.
11502 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11503 (verilog-preprocess): Fix replication of preprocess output.
11504 Reported by Brad Dobbie.
11505 (verilog-auto-inst-interfaced-ports):
11506 Create verilog-auto-inst-interfaced-ports, bug429.
11507 Reported by Julian Gorfajn.
11508 (verilog-after-save-font-hook)
11509 (verilog-before-save-font-hook): New variable.
11510 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11511 (verilog-save-font-mods): Wrap disabling fontification, reported
11512 by David Rogoff.
11513 (verilog-do-indent, verilog-pretty-declarations-auto)
11514 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11515 Reported by Pierre-David Pfister.
11516 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11517 of class declarations, bug292. Reported by Kevin Heilman.
11518 (verilog-read-decls): Fix 'parameter type' not appearing in
11519 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11520 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11521 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11522 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11523 Reported by David Kravitz.
11524
11525 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11526
11527 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11528 assignment with tests in ifs and for loops.
11529 (verilog-extended-complete-re, verilog-complete-reg): Change so
11530 that DPI inport functions don't look like fuction declarations.
11531 (verilog-pretty-expr): Don't line up assignment
11532 operations to the test and increment in if and for loops
11533 (verilog-extended-complete-re, verilog-complete-reg): Change so
11534 that DPI inport functions don't look like fuction declarations.
11535
11536 2012-05-03 Kenichi Handa <handa@m17n.org>
11537
11538 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11539 decoding, and show a warning message without signaling an error
11540 (Bug#11282).
11541
11542 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11543
11544 * emacs-lisp/bytecomp.el
11545 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11546 since cconv.el might have introduced :fun-body, internal-make-closure,
11547 and friends for bytecomp to handle (bug#11391).
11548 * custom.el (defcustom): Avoid ((λ ..) ..).
11549
11550 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11551
11552 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11553
11554 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11555
11556 * notifications.el (dbus-debug):
11557 * term/linux.el (gpm-mouse-enable):
11558 * term/screen.el (xterm-register-default-colors): Declare.
11559
11560 2012-05-02 Chong Yidong <cyd@gnu.org>
11561
11562 * cus-start.el (gc-cons-percentage, exec-suffixes)
11563 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11564 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11565 (make-cursor-line-fully-visible, void-text-area-pointer)
11566 (font-list-limit): Add customization data.
11567
11568 * allout.el (allout-exposure-change-functions)
11569 (allout-structure-added-functions)
11570 (allout-structure-deleted-functions)
11571 (allout-structure-shifted-functions): Rename abnormal hooks from
11572 *-hook, and convert to defcustoms.
11573 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11574 Convert to defcustoms.
11575 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11576
11577 * allout-widgets.el: Hook callers changed.
11578
11579 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11580
11581 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11582 the yanked message in preference to the default value of
11583 buffer-file-coding-system.
11584
11585 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11586
11587 * window.el (display-buffer--action-function-custom-type):
11588 Fix entry.
11589
11590 2012-05-02 Alan Mackenzie <acm@muc.de>
11591
11592 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11593
11594 2012-05-01 Glenn Morris <rgm@gnu.org>
11595
11596 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11597
11598 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11599
11600 * cus-edit.el (custom-variable-documentation): Simplify with format.
11601
11602 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11603 Stefan Monnier <monnier@iro.umontreal.ca>
11604
11605 * simple.el (suggest-key-bindings, execute-extended-command):
11606 Move from keyboard.c.
11607
11608 2012-05-01 Chong Yidong <cyd@gnu.org>
11609
11610 * follow.el: Eliminate advice.
11611 (set-process-filter, process-filter, sit-for): Advice deleted.
11612 (follow-mode-off-hook): Obsolete hook removed.
11613 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11614 Vars deleted.
11615 (follow-auto): Use a :set function.
11616 (follow-mode): Rewritten. Don't advise process filters.
11617 (follow-switch-to-current-buffer-all, follow-scroll-up)
11618 (follow-scroll-down): Assume follow-mode is bound.
11619 (follow-comint-scroll-to-bottom)
11620 (follow-align-compilation-windows): New functions.
11621 (follow--window-sorter): New function.
11622 (follow-all-followers): Use it to explicitly sort windows by their
11623 positions; don't make assumptions about next-window order.
11624 (follow-windows-start-end, follow-delete-other-windows-and-split)
11625 (follow-calc-win-start): Doc fix.
11626 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11627 vertical-motion unnecessarily.
11628 (follow-adjust-window): New function.
11629 (follow-post-command-hook): Use it.
11630 (follow-call-set-process-filter, follow-call-process-filter)
11631 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11632 (follow-stop-intercept-process-output, follow-generic-filter):
11633 Functions deleted.
11634 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11635 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11636 New functions, replacing advice on scroll-bar-* commands.
11637 (follow-mwheel-scroll): New function (Bug#4112).
11638
11639 * comint.el (comint-adjust-point): New function.
11640 (comint-postoutput-scroll-to-bottom): Use it.
11641 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11642
11643 2012-05-01 Glenn Morris <rgm@gnu.org>
11644
11645 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11646 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11647 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11648 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11649 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11650 Remove no-byte-compile setting.
11651
11652 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11653
11654 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11655 all-completions code to not return a number in the last cdr.
11656
11657 2012-04-30 Leo Liu <sdl.web@gmail.com>
11658
11659 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11660 read-only error.
11661
11662 2012-04-29 Chong Yidong <cyd@gnu.org>
11663
11664 * follow.el (follow-calc-win-end): Rewrite to handle partial
11665 screen lines correctly (Bug#8390).
11666 (follow-avoid-tail-recenter): Minor cleanup.
11667
11668 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11669
11670 Avoid the obsolete `assoc' package.
11671 * speedbar.el (speedbar-refresh): Avoid adelete.
11672 (speedbar-file-lists): Simplify and avoid aput.
11673 * man.el (Man--sections, Man--refpages): New vars, replacing
11674 Man-sections-alist and Man-refpages-alist.
11675 (Man-build-section-alist, Man-build-references-alist):
11676 Use them; avoid aput.
11677 (Man--last-section, Man--last-refpage): New vars.
11678 (Man-follow-manual-reference): Use them.
11679 Use the `default' arg of completing-read.
11680 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11681
11682 2012-04-27 Chong Yidong <cyd@gnu.org>
11683
11684 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11685
11686 * startup.el (x-apply-session-resources): New function.
11687
11688 * term/ns-win.el (ns-initialize-window-system):
11689 * term/w32-win.el (w32-initialize-window-system):
11690 * term/x-win.el (x-initialize-window-system): Use it to properly
11691 set menu-bar-mode and other vars from X resources, even if the
11692 initial frame is not a window-system frame (Bug#2299).
11693
11694 * subr.el (read-key): Avoid running filter function when setting
11695 up temporary tool bar entries (Bug#9922).
11696
11697 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11698
11699 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11700 (Bug#11344)
11701
11702 2012-04-27 Chong Yidong <cyd@gnu.org>
11703
11704 * select.el (xselect--encode-string): New function, split from
11705 xselect-convert-to-string.
11706 (xselect-convert-to-string): Use it.
11707 (xselect-convert-to-filename, xselect-convert-to-os)
11708 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11709 returned strings are properly encoded (Bug#11315).
11710
11711 2012-04-27 Chong Yidong <cyd@gnu.org>
11712
11713 * simple.el (delete-active-region): Move to killing custom group.
11714
11715 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11716
11717 * progmodes/which-func.el (which-func-current): Quote %
11718 characters for mode-line processing.
11719
11720 2012-04-27 Chong Yidong <cyd@gnu.org>
11721
11722 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11723 reaching eob (Bug#11286).
11724
11725 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11726
11727 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11728 (gdb): Make it buffer-local and init to zero.
11729 (gdb-control-commands-regexp): New variable.
11730 (gdb-send): Don't wrap in "-interpreter-exec console" if
11731 gdb-control-level is positive. Increment gdb-control-level
11732 whenever the command matches gdb-control-commands-regexp, and
11733 decrement it each time the command is "end". (Bug#11279)
11734
11735 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11736
11737 * window.el (adjust-window-trailing-edge, enlarge-window)
11738 (shrink-window, window-resize):
11739 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11740 windows (Bug#11276).
11741
11742 2012-04-27 Chong Yidong <cyd@gnu.org>
11743
11744 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11745 fix "missing prefix" warning. All callers changed.
11746
11747 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11748
11749 * emacs-lisp/assoc.el: Move to obsolete/.
11750
11751 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11752
11753 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11754
11755 * term/ns-win.el (ns-define-service):
11756 * progmodes/pascal.el (pascal-goto-defun):
11757 * progmodes/js.el (js--read-tab):
11758 * progmodes/etags.el (tags-lazy-completion-table):
11759 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11760 * emacs-lisp/ewoc.el (ewoc--wrap):
11761 * emacs-lisp/assoc.el (aput, adelete, amake):
11762 * doc-view.el (doc-view-convert-current-doc):
11763 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11764
11765 2012-04-26 Chong Yidong <cyd@gnu.org>
11766
11767 * image.el (image-type-from-buffer): Only return supported image
11768 type (Bug#9045).
11769
11770 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11771 value, for symmetry with diff-end-of-hunk.
11772 (diff-split-hunk, diff-find-source-location)
11773 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11774 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11775 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11776 compute the relevant hunk or file properly (Bug#6005).
11777 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11778
11779 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11780
11781 * vc/vc-mtn.el:
11782 * vc/vc-hg.el:
11783 * vc/vc-git.el:
11784 * vc/vc-dir.el:
11785 * vc/vc-cvs.el:
11786 * vc/vc-bzr.el:
11787 * vc/vc-arch.el:
11788 * vc/vc.el: Replace lexical-let by lexical-binding.
11789 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11790 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11791 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11792
11793 2012-04-26 Chong Yidong <cyd@gnu.org>
11794
11795 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11796 (diff-mode-shared-map): Bind it to / and [remap undo].
11797
11798 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11799 (ediff-window-setup-function): Use it as the default, to set up
11800 windows based on whether the current frame is graphical (Bug#2138).
11801 (ediff-choose-window-setup-function-automatically): Make obsolete.
11802
11803 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11804
11805 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11806
11807 * ffap.el: Remove old code for obsolete package.
11808 (ffap-complete-as-file-p): Remove.
11809
11810 Use completion-table-with-quoting for comint and pcomplete.
11811 * comint.el (comint--unquote&requote-argument)
11812 (comint--unquote-argument, comint--requote-argument): New functions.
11813 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11814 (comint-quote-filename): Use regexp-opt-charset.
11815 (comint--common-suffix, comint--common-quoted-suffix)
11816 (comint--table-subvert): Remove.
11817 (comint-unquote-function, comint-requote-function): New vars.
11818 (comint--complete-file-name-data): Use them with
11819 completion-table-with-quoting.
11820 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11821 * pcomplete.el (pcomplete-arg-quote-list)
11822 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11823 (pcomplete-unquote-argument-function): Default to non-nil.
11824 (pcomplete-unquote-argument): Simplify.
11825 (pcomplete--common-quoted-suffix): Remove.
11826 (pcomplete-requote-argument-function): New var.
11827 (pcomplete--common-suffix): New function.
11828 (pcomplete-completions-at-point): Use completion-table-with-quoting
11829 and completion-table-subvert.
11830
11831 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11832 (minibuffer--double-dollars): Preserve properties.
11833 (completion--sifn-requote): New function.
11834 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11835
11836 * minibuffer.el: Add support for completion of quoted/escaped data.
11837 (completion-table-with-quoting, completion-table-subvert): New funs.
11838 (completion--twq-try, completion--twq-all): New functions.
11839 (completion--nth-completion): New function.
11840 (completion-try-completion, completion-all-completions): Use it.
11841
11842 2012-04-25 Leo Liu <sdl.web@gmail.com>
11843
11844 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11845 Use compilation-message if available to find real filename.
11846
11847 2012-04-25 Chong Yidong <cyd@gnu.org>
11848
11849 * vc/diff-mode.el (diff-setup-whitespace): New function.
11850 (diff-mode): Use it.
11851
11852 * vc/diff.el (diff-sentinel):
11853 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11854 Whitespace mode variables based on diff style (Bug#8612).
11855
11856 2012-04-25 Leo Liu <sdl.web@gmail.com>
11857
11858 * progmodes/python.el (python-send-region): Add suffix .py to the
11859 temp file.
11860
11861 * files.el (auto-mode-alist): Use javascript-mode instead.
11862
11863 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11864
11865 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11866
11867 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11868 (soap-resolve-references-for-array-type): Hack to prevent self
11869 references, see Bug#9.
11870 (soap-parse-envelope): Report the contents of the 'detail' node
11871 when receiving a fault reply.
11872 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11873
11874 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11875 (soap-inspect-simple-type): New function.
11876
11877 * net/soap-client.el (soap-simple-type): New struct.
11878 (soap-default-xsd-types, soap-default-soapenc-types)
11879 (soap-decode-basic-type, soap-encode-basic-type):
11880 support unsignedInt and double basic types.
11881 (soap-resolve-references-for-simple-type)
11882 (soap-parse-simple-type, soap-encode-simple-type): New function.
11883 (soap-parse-schema): Parse xsd:simpleType declarations.
11884
11885 * net/soap-client.el (soap-default-xsd-types)
11886 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11887 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11888 the local name of "soapenc:Array".
11889 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11890 decoding integer, byte and anyURI xsd types.
11891
11892 2012-04-25 Chong Yidong <cyd@gnu.org>
11893
11894 * cus-edit.el (custom-buffer-create-internal): Update header text.
11895
11896 2012-04-25 Eli Zaretskii <eliz@gnu.org>
11897
11898 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11899 settings on 'system-type', not on 'window-system'. On MS-Windows,
11900 set interactive-mode on in GDB.
11901
11902 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11903
11904 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11905 (ruby-syntax-propertize-regexp): Remove.
11906 (ruby-syntax-propertize-function): Split regexp into chunks.
11907 Match following code directly.
11908
11909 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11910
11911 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11912 (ruby-syntax-propertize-regexp): New function.
11913 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11914 by a special keyword.
11915
11916 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11917 (ruby-syntax-general-delimiters-goto-beg)
11918 (ruby-syntax-propertize-general-delimiters): New functions.
11919 (ruby-syntax-propertize-function): Use them to handle GDL.
11920 (ruby-font-lock-keywords): Move old handling of GDL...
11921 (ruby-font-lock-syntactic-keywords): .. to here.
11922 (ruby-calculate-indent): Adjust indentation for GDL.
11923
11924 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
11925
11926 * notifications.el (top): Remove unneeded declarations.
11927 (notifications-specification-version): Change to "1.2".
11928 (notifications-interface, notifications-notify-method)
11929 (notifications-close-notification-method): Fix docstring.
11930 (notifications-get-capabilities-method): New defconst.
11931 (notifications-notify): Add :action-items, :resident and
11932 :transient hints. Change "image_data" to "image-data" and
11933 "image_path" to "image-path".
11934 (notifications-get-capabilities): New defun.
11935
11936 2012-04-24 Leo Liu <sdl.web@gmail.com>
11937
11938 * progmodes/python.el: Move hideshow setup to the end.
11939
11940 2012-04-24 Martin Rudalics <rudalics@gmx.at>
11941
11942 * window.el (handle-select-window): Clear echo area since this is
11943 no more done by read_char (Bug#11304).
11944
11945 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11946
11947 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11948 and `/ M' to filter-derived-mode.
11949 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11950 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11951 (ibuffer-mark-by-mode): Use default rather than initial-input.
11952 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11953
11954 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11955
11956 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11957 (ibuffer-filter-by-derived-mode): New filter.
11958 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11959
11960 2012-04-23 Andreas Politz <politza@fh-trier.de>
11961
11962 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11963
11964 2012-04-23 Chong Yidong <cyd@gnu.org>
11965
11966 * cus-edit.el (customize-apropos, customize-apropos-options):
11967 Disable matching of non-option variables (Bug#11176).
11968 (customize-option, customize-option-other-window)
11969 (customize-changed-options): Doc fix.
11970 (customize-apropos-options, customize-apropos-faces)
11971 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11972
11973 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
11974 Fix word list splitting (Bug#11132).
11975 (apropos-symbol, apropos-keybinding, apropos-label)
11976 (apropos-property, apropos-function-button)
11977 (apropos-variable-button, apropos-misc-button): New faces.
11978 (apropos-symbol-face, apropos-keybinding-face)
11979 (apropos-label-face, apropos-property-face, apropos-match-face):
11980 Variables removed (Bug#8396).
11981 (apropos-library-button, apropos-format-plist, apropos-print)
11982 (apropos-print-doc, apropos-describe-plist): Callers changed.
11983
11984 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
11985
11986 * net/xesam.el (xesam-mode-map): Use let-bound map in
11987 initialization. (Bug#11292)
11988
11989 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11990
11991 Preserve ispell session localwords when switching back to
11992 original buffer.
11993
11994 * textmodes/ispell.el (ispell-buffer-session-localwords):
11995 New buffer-local variable to hold buffer session localwords.
11996 (ispell-kill-ispell): Add option 'clear to delete session
11997 localwords.
11998 (ispell-command-loop, ispell-change-dictionary)
11999 (ispell-buffer-local-words): Preserve session localwords when
12000 needed.
12001
12002 * textmodes/flyspell.el (flyspell-process-localwords)
12003 (flyspell-do-correct): Preserve session localwords when needed.
12004
12005 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12006
12007 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
12008 using obsolete `translation-table-for-input'.
12009 (ispell-word, ispell-process-line, ispell-complete-word):
12010 Use plain `insert' instead of removed `ispell-insert-word'.
12011
12012 2012-04-22 Chong Yidong <cyd@gnu.org>
12013
12014 * cus-edit.el (custom-variable-menu)
12015 (custom-variable-reset-saved, custom-face-menu)
12016 (custom-face-reset-saved): If there is no saved value, make the
12017 "reset-saved" operation bring back the default (Bug#9509).
12018 (custom-face-state): Properly detect themed faces.
12019
12020 * faces.el (face-spec-set): Stop supporting deprecated form of
12021 third arg.
12022
12023 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
12024
12025 Move functions from C to Lisp. Make non-blocking method calls
12026 the default. Implement further D-Bus standard interfaces.
12027
12028 * net/dbus.el (dbus-message-internal): Declare function.
12029 Remove unneeded function declarations.
12030 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
12031 (dbus-message-type-method-return, dbus-message-type-error)
12032 (dbus-message-type-signal): Declare variables. Remove local
12033 definitions.
12034 (dbus-interface-dbus, dbus-interface-peer)
12035 (dbus-interface-introspectable, dbus-interface-properties)
12036 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
12037 Adapt docstring.
12038 (dbus-interface-objectmanager): New defconst.
12039 (dbus-call-method, dbus-call-method-asynchronously)
12040 (dbus-send-signal, dbus-method-return-internal)
12041 (dbus-method-error-internal, dbus-register-service)
12042 (dbus-register-signal, dbus-register-method): New defuns, moved
12043 from dbusbind.c
12044 (dbus-call-method-handler, dbus-setenv)
12045 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
12046 New defuns.
12047 (dbus-call-method-non-blocking): Make it an obsolete function.
12048 (dbus-unregister-object, dbus-unregister-service)
12049 (dbus-handle-event, dbus-register-property)
12050 (dbus-property-handler): Obey the new structure of
12051 `bus-registered-objects'.
12052 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12053 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12054 Use `dbus-call-method'.
12055
12056 2012-04-22 Chong Yidong <cyd@gnu.org>
12057
12058 * cus-edit.el (custom-commands, custom-reset-menu)
12059 (Custom-reset-standard): Tweak labels.
12060 (custom-reset-button-menu): Change default to t.
12061 (custom-buffer-create-internal): For the custom-reset-button-menu
12062 case, put the revert button first.
12063 (custom-group-subtitle): New face.
12064 (custom-group-value-create): Align docstring to a specific column.
12065
12066 * wid-edit.el (widget-documentation-link-add): Don't handle
12067 indentation in this function.
12068 (widget-documentation-string-indent-to): New function.
12069 (widget-documentation-string-value-create): Use it.
12070
12071 * autorevert.el (auto-revert):
12072 * epg-config.el (epg):
12073 * ibuffer.el (ibuffer):
12074 * mpc.el (mpc):
12075 * ses.el (ses):
12076 * eshell/eshell.el (eshell):
12077 * net/ange-ftp.el (ange-ftp):
12078 * progmodes/ebnf2ps.el (postscript):
12079 * progmodes/flymake.el (flymake):
12080 * progmodes/prolog.el (prolog):
12081 * progmodes/verilog-mode.el (verilog-mode):
12082 * progmodes/which-func.el (which-func):
12083 * term/xterm.el (xterm):
12084 * textmodes/picture.el (picture):
12085 * textmodes/tildify.el (tildify):
12086 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12087 customization buffers.
12088
12089 2012-04-22 Alan Mackenzie <acm@muc.de>
12090
12091 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12092 Adding a ) can hide the resulting (..) from searches. Fix it.
12093 Bound the backward search to the position of the existing (.
12094
12095 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
12096
12097 * progmodes/verilog-mode.el (verilog-mode): Check whether
12098 which-func-modes is t before adding verilog-mode.
12099 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12100
12101 2012-04-21 Leo Liu <sdl.web@gmail.com>
12102
12103 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
12104
12105 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12106
12107 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12108 filling of the last column of a table (Bug#5635).
12109 (woman-find-next-control-line): New arg, specifying an additional
12110 regexp component for the control line.
12111 (woman2-roff-buffer): Use it.
12112 (woman-break-table): New function.
12113 (woman2-TS): Use it.
12114
12115 2012-04-21 Chong Yidong <cyd@gnu.org>
12116
12117 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12118 (woman-horizontal-escapes, woman-negative-vertical-space)
12119 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12120 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12121
12122 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12123
12124 * minibuffer.el (completion-file-name-table): Complete user names.
12125
12126 2012-04-20 Leo Liu <sdl.web@gmail.com>
12127
12128 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12129 and pcase-let*.
12130
12131 2012-04-20 Chong Yidong <cyd@gnu.org>
12132
12133 * server.el (server-execute): Respect initial-buffer-choice if it
12134 is a string and there are no files to open (Bug#2825).
12135 (server-create-window-system-frame, server-create-tty-frame):
12136 Don't switch buffers here.
12137 (server-process-filter): Only try to open a window system frame if
12138 compiled with graphical support (Bug#8314).
12139
12140 2012-04-20 Dan Nicolaescu <dann@gnu.org>
12141
12142 * battery.el (battery-echo-area-format): Display remaining time
12143 for sysfs backend too (Bug#11269).
12144 (battery-linux-sysfs): Fix conditional for the charge.
12145
12146 2012-04-20 Chong Yidong <cyd@gnu.org>
12147
12148 * progmodes/gdb-mi.el (gdb): Revert previous change.
12149 (gdb-inferior-io--init-proc): New function.
12150 (gdb-init-1): Use it.
12151 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12152 responsible for allocating a new pty and hooking it to gdb when
12153 the old pty gets an EIO due to process exit.
12154 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12155 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12156 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12157
12158 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12159
12160 * window.el (window-min-size, window-sizable, window-min-delta)
12161 (window-max-delta, window--resizable, window-resizable)
12162 (window-total-size, window-full-height-p, window-full-width-p)
12163 (window-in-direction, window--resize-mini-window, window-resize)
12164 (window--resize-child-windows-normal)
12165 (window--resize-child-windows, window--resize-siblings)
12166 (window--resize-this-window, adjust-window-trailing-edge)
12167 (enlarge-window, shrink-window): Doc fixes.
12168
12169 2012-04-20 Chong Yidong <cyd@gnu.org>
12170
12171 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12172 New function to call delete-process on the gdb-inferior buffer's pty.
12173 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12174 pty process (Bug#11273).
12175 (gdb-update): New arg to suppress talking to the gdb process.
12176 (gdb-done-or-error): Use it.
12177 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12178 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12179 sentinel not being called.
12180
12181 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12182
12183 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12184
12185 2012-04-20 Glenn Morris <rgm@gnu.org>
12186
12187 * net/network-stream.el (open-network-stream): Doc fix.
12188
12189 2012-04-20 Chong Yidong <cyd@gnu.org>
12190
12191 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12192
12193 2012-04-20 Alan Mackenzie <acm@muc.de>
12194
12195 Ensure searching for keywords is case sensitive.
12196
12197 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12198 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12199 (c-defun-name, c-mark-function, c-cpp-define-name)
12200 (c-comment-indent, c-scan-conditionals, c-indent-defun)
12201 (c-context-line-break): Bind case-fold-search to nil.
12202
12203 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12204 Bind case-fold-search to nil.
12205
12206 2012-04-20 Chong Yidong <cyd@gnu.org>
12207
12208 * mail/sendmail.el (mail-bury): Call return action with the right
12209 Rmail buffer (Bug#11242).
12210
12211 * server.el (server-process-filter): Handle corner case where both
12212 tty and nowait options are present (Bug#11102).
12213
12214 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12215
12216 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
12217 (top level): Put into the executable the ident-style '$Id:' tag on
12218 windows-nt as well.
12219
12220 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12221
12222 * electric.el (electric-indent-post-self-insert-function): Check that
12223 electric-indent-mode is enabled in current buffer.
12224
12225 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12226
12227 * imenu.el (imenu-progress-message): Restore; it is "used" in
12228 erc/erc-imenu.el and net/snmp-mode.el.
12229
12230 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12231
12232 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12233 (mouse-avoidance-nudge-mouse): Remove unused binding.
12234
12235 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12236
12237 * descr-text.el (describe-char):
12238 * progmodes/python.el (python-describe-symbol):
12239 Don't call `toggle-read-only', set `buffer-read-only'.
12240
12241 * imenu.el (imenu-default-goto-function): Mark unused args.
12242 (imenu-progress-message): Remove obsolete macro; all callers changed.
12243
12244 * subr.el (keymap-canonicalize): Remove unused binding.
12245 (read-passwd): Mark unused arg.
12246
12247 * tutorial.el (tutorial--display-changes): Remove unused binding.
12248 (tutorial--save-tutorial-to): Remove unused variable.
12249
12250 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12251 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12252 (package-generate-autoloads, package-menu--generate)
12253 (package-menu--find-upgrades): Remove unused bindings.
12254
12255 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12256 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12257 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12258 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12259 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12260 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12261 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12262 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12263 (cua-delete-char-rectangle): Mark unused args.
12264 (cua-align-rectangle): Remove unused binding.
12265
12266 * mail/rmail.el (compilation--message->loc)
12267 (epa--find-coding-system-for-mime-charset): Declare.
12268
12269 * net/dbus.el (dbus-register-service): Declare.
12270 (dbus-name-owner-changed-handler): Remove unused binding.
12271
12272 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12273 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12274 (nxml-scan-backward-within): Mark unused arg.
12275 (nxml-dynamic-markup-word): Remove unused binding.
12276
12277 * mouse.el (mouse-menu-major-mode-map):
12278 * emacs-lisp/authors.el (authors-scan-change-log)
12279 (authors-add-to-author-list):
12280 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12281 * emacs-lisp/smie.el (smie-auto-fill):
12282 * mail/sendmail.el (mail-bury):
12283 * mail/unrmail.el (unrmail):
12284 * net/tls.el (open-tls-stream):
12285 * textmodes/picture.el (picture-mouse-set-point):
12286 Remove unused bindings.
12287
12288 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12289
12290 * net/tramp.el (tramp-action-password): Let-bind
12291 `enable-recursive-minibuffers' to t.
12292
12293 2012-04-18 Sam Steingold <sds@gnu.org>
12294
12295 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12296 instead of 'string to accommodate values like [f11].
12297 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12298 * progmodes/gdb-mi.el: Likewise.
12299
12300 2012-04-18 Leo Liu <sdl.web@gmail.com>
12301
12302 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12303 current buffer.
12304 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12305 LOCAL is nil.
12306
12307 2012-04-18 Chong Yidong <cyd@gnu.org>
12308
12309 * simple.el (line-move): Use forward-line if in batch mode
12310 (Bug#11053).
12311
12312 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12313
12314 * files.el (after-find-file): Do not try to add a final newline if
12315 the buffer is read-only (Bug#11156).
12316
12317 2012-04-17 Richard Stallman <rms@gnu.org>
12318
12319 * mail/rmail.el (rmail-start-mail):
12320 Pass (rmail-mail-return...) for the return-action.
12321 Pass (rmail-yank-current-message...) for the yank-action.
12322 (rmail-yank-current-message): New function.
12323 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12324 (rmail-reply): Likewise.
12325 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12326
12327 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12328 buffer, not the last. Reject temp buffers. Use the rmail-mode
12329 buffer, not newbuf.
12330
12331 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12332
12333 * server.el (server-ensure-safe-dir): Simplify.
12334
12335 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12336
12337 * emacs-lisp/smie.el: Provide smarter auto-filling.
12338 (smie-auto-fill): New function.
12339 (smie-setup): Use it.
12340
12341 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12342
12343 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12344
12345 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12346 (comment-indent): Use it.
12347
12348 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12349
12350 * ses.el: The overall change is to add cell renaming, that is
12351 setting fancy names for cell symbols other than name matching
12352 "\\`[A-Z]+[0-9]+\\'" regexp .
12353 (ses-localvars): Add ses--renamed-cell-symb-list.
12354 (ses-create-cell-variable): New defun.
12355 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12356 (ses-relocate-formula): Relocate formulas only for cells the
12357 symbols of which are not renamed, i.e. symbols whose names do not
12358 match regexp "\\`[A-Z]+[0-9]+\\'".
12359 (ses-relocate-all): Relocate values only for cells the symbols of
12360 which are not renamed.
12361 (ses-load): Create cells variables as the (ses-cell ...) are read,
12362 in order to check row col consistency with cell symbol name only
12363 for cells that are not renamed.
12364 (ses-replace-name-in-formula): New defun.
12365 (ses-rename-cell): New defun.
12366
12367 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12368
12369 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12370 New option (bug#11118).
12371 (perl-calculate-indent): Respect it.
12372
12373 2012-04-17 Glenn Morris <rgm@gnu.org>
12374
12375 * dired-aux.el (dired-mark-read-string): Doc fix.
12376
12377 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12378
12379 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12380 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12381
12382 2012-04-17 Glenn Morris <rgm@gnu.org>
12383
12384 * mouse.el (mouse-drag-track):
12385 * speedbar.el (speedbar-frame-mode):
12386 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12387
12388 2012-04-16 Leo Liu <sdl.web@gmail.com>
12389
12390 * progmodes/python.el: Trivial cleanup.
12391
12392 2012-04-16 Glenn Morris <rgm@gnu.org>
12393
12394 * vc/vc.el (vc-string-prefix-p):
12395 * vc/pcvs-util.el (cvs-string-prefix-p):
12396 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12397 * mpc.el (mpc-string-prefix-p):
12398 Make all of these into obsolete aliases for string-prefix-p.
12399 Update callers.
12400 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12401
12402 * textmodes/two-column.el: Move custom options to the start.
12403 (frame-width): Remove compat definition.
12404 (2C-associate-buffer, 2C-dissociate):
12405 Use with-current-buffer rather than save-excursion.
12406 (2C-dissociate): Force a mode-line update.
12407 (2C-autoscroll): Use ignore-errors.
12408
12409 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12410 Autoload trivia.
12411
12412 * emacs-lisp/cl-extra.el (*random-state*):
12413 Remove unnecessary declaration.
12414
12415 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12416
12417 * play/cookie1.el (cookie-snarf):
12418 Give an explicit error if input file cannot be read.
12419
12420 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12421
12422 * progmodes/perl-mode.el (c-macro-expand):
12423 Remove unnecessary autoload (it is in loaddefs.el).
12424
12425 * textmodes/picture.el (picture-desired-column)
12426 (picture-update-desired-column): Convert comments to doc-strings.
12427 (picture-substitute): Remove function.
12428 (picture-mode-map): Initialize in the defvar.
12429
12430 * woman.el: Remove eval-after-load for tar-mode.
12431 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12432 (woman-tar-extract-file): Autoload it.
12433
12434 * frame.el (automatic-hscrolling): Make this alias obsolete.
12435
12436 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12437
12438 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12439 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12440 (ispell-dictionary-base-alist): Revert to original XEmacs
12441 friendly version for default. [:alpha:] will be added in
12442 `ispell-set-spellchecker-params' if needed.
12443
12444 2012-04-16 Chong Yidong <cyd@gnu.org>
12445
12446 * image.el (imagemagick--file-regexp): New variable.
12447 (imagemagick-register-types): Use it.
12448 (imagemagick-types-inhibit): Add :set function. Allow new value
12449 of t to inhibit all types.
12450
12451 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12452 so we can preload it.
12453
12454 * loadup.el (fboundp): Preload regexp-opt, needed by
12455 imagemagick-register-types.
12456
12457 2012-04-15 Chong Yidong <cyd@gnu.org>
12458
12459 * frame.el (scrolling): Remove nearly unused customization group.
12460
12461 * scroll-all.el (scroll-all-mode): Move to windows group.
12462
12463 2012-04-15 Chong Yidong <cyd@gnu.org>
12464
12465 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12466
12467 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12468
12469 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12470 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12471
12472 2012-04-15 Glenn Morris <rgm@gnu.org>
12473
12474 * simple.el (process-file-side-effects): Doc fix.
12475
12476 2012-04-15 Glenn Morris <rgm@gnu.org>
12477
12478 * international/mule-cmds.el (set-language-environment): Doc fix.
12479
12480 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12481
12482 * server.el (server-auth-key, server-generate-key): Doc fixes.
12483 (server-get-auth-key): Doc fix. Use `string-match-p'.
12484 (server-start): Reflow docstring.
12485
12486 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12487
12488 * server.el (server-generate-key): `called-interactively-p'
12489 requires a parameter.
12490
12491 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12492
12493 * server.el (server-auth-key): New variable.
12494 (server-generate-key, server-get-auth-key): New function.
12495 (server-start): Use the new variable and functions to allow
12496 setting a permanent server key (bug#9423).
12497
12498 2012-04-14 Leo Liu <sdl.web@gmail.com>
12499
12500 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12501
12502 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12503
12504 Spelling fixes.
12505 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12506 Emacs uses American spelling.
12507
12508 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12509
12510 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12511 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12512 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12513 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12514
12515 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12516
12517 * progmodes/which-func.el (which-func-modes): Change default.
12518
12519 2012-04-14 Kim F. Storm <storm@cua.dk>
12520
12521 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12522 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12523
12524 2012-04-14 Chong Yidong <cyd@gnu.org>
12525
12526 * custom.el (custom-theme-set-variables): Doc fix.
12527
12528 2012-04-14 Glenn Morris <rgm@gnu.org>
12529
12530 * international/mule.el (set-auto-coding-for-load): Doc fix.
12531
12532 2012-04-14 Alan Mackenzie <acm@muc.de>
12533
12534 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12535 imenu work again for Objective C Mode. Correct the *-index values,
12536 these having been disturbed by a previous change in 2011-08.
12537
12538 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12539 Correct two search limits.
12540
12541 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12542
12543 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12544
12545 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12546
12547 * international/characters.el: Fix sorting.
12548
12549 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12550
12551 * international/characters.el: Add more missing Latin case pairs.
12552
12553 2012-04-14 Glenn Morris <rgm@gnu.org>
12554
12555 * files.el (dir-locals-set-class-variables): Doc fix.
12556
12557 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12558
12559 * international/characters.el: Add set-case-syntax-pair call for
12560 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12561 counterpart. (Bug#11209)
12562
12563 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12564
12565 2012-04-14 Glenn Morris <rgm@gnu.org>
12566
12567 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12568
12569 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12570
12571 * textmodes/ispell.el (ispell-dictionary-base-alist):
12572 Add data for Hebrew.
12573
12574 2012-04-14 Chong Yidong <cyd@gnu.org>
12575
12576 * net/rcirc.el (rcirc-cmd-quit):
12577 Revert 2012-03-18 change (Bug#11192).
12578
12579 2012-04-14 Glenn Morris <rgm@gnu.org>
12580
12581 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12582
12583 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12584
12585 * minibuffer.el (completion-in-region-mode-map):
12586 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12587
12588 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12589
12590 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12591
12592 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12593
12594 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12595 to allow `C-M-f' and `C-M-b' to move to the nearest path
12596 separator (bug#9511).
12597
12598 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12599
12600 * avoid.el: Require cl when compiling. And also move the
12601 `provide' to the end.
12602
12603 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12604
12605 * avoid.el (mouse-avoidance-banish-position): New variable.
12606 (mouse-avoidance-banish-destination): Use it (bug#10165).
12607
12608 2012-04-13 Leo Liu <sdl.web@gmail.com>
12609
12610 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12611
12612 2012-04-13 Ken Brown <kbrown@cornell.edu>
12613
12614 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12615 this is no longer needed now that cygstart understands file:// URLs.
12616 (browse-url-filename-alist): For the same reason, don't modify
12617 file:// URLs on Cygwin.
12618
12619 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12620
12621 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12622 the region on shift if the binding is already shifted (bug#11221).
12623
12624 2012-04-12 Glenn Morris <rgm@gnu.org>
12625
12626 * mail/mailpost.el: Move to obsolete/.
12627
12628 2012-04-12 Drew Adams <drew.adams@oracle.com>
12629
12630 * imenu.el (imenu--generic-function): Ignore invisible definitions
12631 (bug#10123).
12632
12633 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12634
12635 * hexl.el (hexl-bits): New variable.
12636 (hexl-options): Mention the variable in the doc string.
12637 (hexl-rulerise, hexl-line-displen): New functions.
12638 (hexl-mode): Mention the new variable.
12639 (hexl-mode, hexl-current-address, hexl-current-address):
12640 Use the displen.
12641 (hexl-ascii-start-column): New function.
12642 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12643 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12644
12645 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12646
12647 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12648 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12649 the encoding, as expected by hunspell.
12650
12651 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12652
12653 * battery.el (battery--linux-sysfs-regexp): New const.
12654 (battery-status-function): Use it. Remove yeeloong special case.
12655 (battery-yeeloong-sysfs): Remove.
12656 (battery-echo-area-format): Remove yeeloong special case.
12657
12658 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12659
12660 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12661 Reported by Noah Friedman.
12662
12663 * subr.el (read-passwd): Use read-string.
12664
12665 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12666
12667 * vcursor.el (vcursor-move): Increase the priority of the overlay
12668 (bug#9663).
12669
12670 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12671
12672 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12673 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12674
12675 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12676
12677 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12678 define-minor-mode (bug#10760).
12679
12680 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12681
12682 * progmodes/grep.el (rgrep): Tweak the find command line so
12683 that directories matching `grep-find-ignored-files' won't be
12684 pruned (bug#10351).
12685
12686 2012-04-11 Chong Yidong <cyd@gnu.org>
12687
12688 * startup.el (command-line): Remove support for long-obsolete
12689 variable font-lock-face-attributes.
12690
12691 2012-04-11 Glenn Morris <rgm@gnu.org>
12692
12693 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12694
12695 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12696
12697 * window.el (window--state-get-1): Obey window-point-insertion-type.
12698
12699 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12700
12701 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12702 to previous function when point is on the first character of a
12703 function. Take care of that in `narrow-to-defun' (bug#6157).
12704
12705 2012-04-11 Glenn Morris <rgm@gnu.org>
12706
12707 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12708 not just file-errors.
12709
12710 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12711 (vc-bzr-sha1): Use internal sha1.
12712
12713 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12714
12715 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12716
12717 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12718
12719 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12720 that start in the middle of the line (bug#10496).
12721
12722 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12723
12724 * battery.el (battery-linux-proc-acpi): Only one battery is
12725 discharged at a time, but that seems to confuse battery.el when
12726 computing `rate-type' for the battery not being discharged
12727 (bug#10332).
12728
12729 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12730
12731 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12732
12733 * international/quail.el: Use dolist and simplify.
12734 (quail-define-package, quail-update-keyboard-layout)
12735 (quail-define-rules): Use dolist.
12736 (quail-insert-kbd-layout, quail-get-translation): CSE.
12737
12738 * tmm.el: Use dolist, remove left over hook.
12739 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12740 Use dolist.
12741 (calendar-load-hook): Don't mess with it.
12742
12743 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12744 Use derived-mode-p. Run the diff asynchronously.
12745
12746 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12747
12748 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12749
12750 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12751
12752 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12753 (list-dynamic-libraries--loaded): New function.
12754 (list-dynamic-libraries--refresh): Use it.
12755
12756 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12757
12758 * progmodes/python.el (python-fill-paragraph):
12759 Make python-fill-region in a multiline string work when font-lock is
12760 disabled (bug#7018).
12761
12762 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12763
12764 * language/european.el (cp775): Add oem/legacy (en)coding on
12765 DOS/MS Windows for the Baltic languages. There are still plenty
12766 of texts written in this encoding/codepage (bug#6519).
12767
12768 2012-04-10 Glenn Morris <rgm@gnu.org>
12769
12770 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12771 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12772
12773 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12774
12775 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12776 next-line "n" and previous-line "p" in order to make recentf more
12777 consistent with ibuffer, dired or org-mode (bug#9387).
12778
12779 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12780
12781 * image.el (put-image): Return the overlay created instead of the
12782 optional input string (bug#7834). Note that this may break code
12783 that is (for some reason or other) depending on `put-image'
12784 returning the string.
12785
12786 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12787
12788 * simple.el (zap-to-char): Allow zapping using input methods
12789 (bug#1580).
12790
12791 * textmodes/fill.el (fill-region): Leave point and mark where they
12792 were before filling (bug#5399).
12793
12794 2012-04-09 Glenn Morris <rgm@gnu.org>
12795
12796 * version.el (emacs-bzr-get-version):
12797 Handle lightweight checkouts of local branches.
12798
12799 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12800
12801 * international/characters.el: Recover lost case pairs. (Bug#11209)
12802
12803 2012-04-09 Chong Yidong <cyd@gnu.org>
12804
12805 * custom.el (custom-variable-p): Return nil for non-symbol
12806 arguments instead of signaling an error.
12807 (user-variable-p): Obsolete alias for custom-variable-p.
12808
12809 * apropos.el (apropos-variable):
12810 * files-x.el (read-file-local-variable):
12811 * simple.el (set-variable):
12812 * woman.el (woman-mini-help):
12813 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12814
12815 2012-04-09 Glenn Morris <rgm@gnu.org>
12816
12817 * startup.el (normal-top-level): Don't look for leim-list.el
12818 in places where it will not be found. (Bug#910)
12819
12820 * international/mule-cmds.el (set-default-coding-systems):
12821 * files.el (normal-mode):
12822 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12823 This function was removed with ucs-tables.el in 2008.
12824
12825 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12826
12827 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12828 ispell-encoding8-command to "-i", without a trailing space.
12829 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12830 separate command-line arguments, to specify the encoding, since
12831 that's how hunspell expects it.
12832
12833 2012-04-08 Glenn Morris <rgm@gnu.org>
12834
12835 * loadup.el: Load bindings before cus-start.
12836 This reduces somewhat the number of "rogue" settings in emacs -Q.
12837
12838 2012-04-07 Glenn Morris <rgm@gnu.org>
12839
12840 * version.el (emacs-bzr-get-version): New function.
12841 (emacs-bzr-version): New variable.
12842 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12843 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12844
12845 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12846
12847 * international/uni-bidi.el, international/uni-category.el:
12848 * international/uni-combining.el, international/uni-decimal.el:
12849 * international/uni-decomposition.el, international/uni-digit.el:
12850 * international/uni-lowercase.el, international/uni-mirrored.el:
12851 * international/uni-name.el, international/uni-numeric.el:
12852 * international/uni-titlecase.el, international/uni-uppercase.el:
12853 Update for Unicode 6.1.
12854
12855 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12856
12857 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12858
12859 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12860
12861 * window.el (shrink-window): Mention the `window-min-height'
12862 variable in the doc string.
12863
12864 2012-04-05 Bastien Guerry <bzg@altern.org>
12865
12866 * color.el (color-lighten-name): Fix typo.
12867
12868 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12869
12870 * server.el (server--on-display-p): New function.
12871 (server--on-display-p): Use it.
12872
12873 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12874
12875 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12876 (bug#11145).
12877
12878 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12879
12880 * comint.el (comint--common-quoted-suffix): Check string boundary
12881 before comparing (bug#11158).
12882 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12883
12884 2012-04-04 Chong Yidong <cyd@gnu.org>
12885
12886 * minibuffer.el (completion-extra-properties): Doc fix.
12887
12888 * subr.el (delayed-warnings-hook): Doc fix.
12889
12890 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12891
12892 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12893 selection (Bug#11159).
12894 (epa-insert-keys): Inform that the default public key will be
12895 exported if no key is selected.
12896
12897 2012-04-04 Richard Stallman <rms@gnu.org>
12898
12899 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12900
12901 2012-04-03 Chong Yidong <cyd@gnu.org>
12902
12903 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12904 mail-insert-file, not its obsolete alias mail-attach-file.
12905
12906 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
12907
12908 * notifications.el (notifications-notify): Fix docstring.
12909
12910 2012-04-02 Glenn Morris <rgm@gnu.org>
12911
12912 * emacs-lisp/authors.el (authors-aliases): Another addition.
12913
12914 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
12915
12916 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12917 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12918 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12919
12920 2012-04-01 Chong Yidong <cyd@gnu.org>
12921
12922 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12923 Handle root directory properly.
12924 (copy-directory): Caller changed.
12925
12926 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12927 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12928
12929 2012-03-31 Glenn Morris <rgm@gnu.org>
12930
12931 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12932
12933 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12934
12935 * calendar/calendar.el (calendar-window-list)
12936 (calendar-hide-window): Restore. (Bug#11140)
12937 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12938
12939 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12940
12941 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12942
12943 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12944 Check if file is a symlink (Bug#10489).
12945
12946 * files.el (copy-directory): Likewise.
12947
12948 2012-03-30 Chong Yidong <cyd@gnu.org>
12949
12950 * image.el (imagemagick-types-inhibit)
12951 (imagemagick-register-types): Doc fix.
12952
12953 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12954
12955 * textmodes/ispell.el (ispell-get-extended-character-mode):
12956 Disable extended-char-mode for hunspell. hunspell does not support it
12957 and treats ~word as ordinary words in pipe mode.
12958
12959 2012-03-30 Glenn Morris <rgm@gnu.org>
12960
12961 * tutorial.el (help-with-tutorial): Ensure local variables don't
12962 happen to make the buffer read-only. (Bug#11127)
12963
12964 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12965
12966 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12967 (perl-calculate-indent): Return `noindent' in strings.
12968
12969 2012-03-28 Sam Steingold <sds@gnu.org>
12970
12971 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12972 instead of the broken adhockery which does not prevent calendar
12973 buffers from being displayed at random after exit.
12974 (calendar-window-list, calendar-hide-window): Remove the broken
12975 adhockery.
12976
12977 2012-03-28 Glenn Morris <rgm@gnu.org>
12978
12979 * replace.el (query-replace-map): Doc fix.
12980
12981 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12982
12983 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12984 contents. (Bug#11109)
12985
12986 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12987
12988 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12989 (bug#11077).
12990 (avl-tree--check, avl-tree--check-node): New funs.
12991
12992 2012-03-27 Martin Rudalics <rudalics@gmx.at>
12993
12994 * window.el (switch-to-visible-buffer): New option.
12995 (switch-to-prev-buffer, switch-to-next-buffer):
12996 Observe switch-to-visible-buffer. Make sure that checking for a window
12997 showing a buffer already is done on the same frame.
12998
12999 2012-03-27 Glenn Morris <rgm@gnu.org>
13000
13001 * startup.el (mail-host-address): Doc fix.
13002
13003 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13004
13005 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
13006 than 197 variables.
13007
13008 2012-03-26 Ami Fischman <ami@fischman.org>
13009
13010 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
13011
13012 2012-03-26 Glenn Morris <rgm@gnu.org>
13013
13014 * files.el (save-buffers-kill-emacs): Doc fix.
13015
13016 * startup.el (normal-top-level, command-line, command-line-1):
13017 Give them doc strings.
13018
13019 2012-03-25 Eli Zaretskii <eliz@gnu.org>
13020
13021 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
13022 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
13023
13024 2012-03-25 Chong Yidong <cyd@gnu.org>
13025
13026 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
13027 theme if it was previously enabled before (Bug#11031).
13028
13029 * cus-theme.el (custom-theme-write-faces): Retrieve current face
13030 spec with custom-face-get-current-spec if its :shown-value is not
13031 determined yet (Bug#9337).
13032 (customize-create-theme, custom-theme-revert): Doc fixes.
13033
13034 * button.el (button-at): Minor addition to docstring.
13035
13036 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
13037
13038 * vc/vc.el (vc-merge): Fix a prompt.
13039
13040 2012-03-24 Chong Yidong <cyd@gnu.org>
13041
13042 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
13043 point (Bug#9623).
13044
13045 * button.el (button-at): Minor addition to docstring.
13046
13047 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
13048
13049 * newcomment.el (comment-choose-indent): No space after BOL.
13050
13051 2012-03-22 Sam Steingold <sds@gnu.org>
13052
13053 * window.el (switch-to-prev-buffer): Revert last patch because the
13054 bug turned out to be an advertised feature (Elisp manual 28.14).
13055
13056 2012-03-22 Glenn Morris <rgm@gnu.org>
13057
13058 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13059 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13060
13061 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13062
13063 * net/network-stream.el (network-stream-open-starttls): Make error
13064 message under Windows be less misleading.
13065
13066 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13067
13068 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13069 understands (bug#9942).
13070
13071 2012-03-22 Chong Yidong <cyd@gnu.org>
13072
13073 * simple.el (end-of-visible-line): Handle return value of
13074 next-single-property-change properly (Bug#9371).
13075
13076 2012-03-22 Kenichi Handa <handa@m17n.org>
13077
13078 * international/quail.el (quail-insert-kbd-layout): Fix previous
13079 change. To avoid unwanted bidi reordering, use
13080 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13081
13082 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13083
13084 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13085 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13086 (ruby-beginning-of-indent): Be more careful with the difference
13087 between word-boundary and symbol boundary.
13088 (ruby-mode-syntax-table): Make : a symbol constituent.
13089
13090 2012-03-21 Andreas Politz <politza@fh-trier.de>
13091
13092 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13093
13094 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13095
13096 * progmodes/etags.el (tags-completion-at-point-function):
13097 Improve last fix.
13098
13099 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13100
13101 2012-03-21 Sam Steingold <sds@gnu.org>
13102
13103 * progmodes/etags.el (tags-completion-at-point-function):
13104 Avoid the error when point is inside the pattern.
13105
13106 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13107
13108 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13109 line (Bug#10855).
13110
13111 2012-03-21 Drew Adams <drew.adams@oracle.com>
13112
13113 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13114
13115 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13116
13117 * ido.el (ido-set-current-directory, ido-read-internal)
13118 (ido-choose-completion-string, ido-completion-help): Handle nil
13119 value of ido-completion-buffer (Bug#11008).
13120
13121 2012-03-21 Sam Steingold <sds@gnu.org>
13122
13123 * window.el (switch-to-prev-buffer): Do not switch to a visible
13124 window previous buffer, just like with the frame previous buffers.
13125
13126 2012-03-21 Chong Yidong <cyd@gnu.org>
13127
13128 * faces.el (make-face, make-empty-face, copy-face):
13129 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13130 Doc fixes.
13131
13132 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13133
13134 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13135 (widget-complete): Remove broken use of it.
13136
13137 2012-03-20 Chong Yidong <cyd@gnu.org>
13138
13139 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13140 Use string-width and truncate-string-width to handle arbitrary
13141 characters.
13142
13143 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13144
13145 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13146 to draw rectangles, not squares. (Regression introduced by revno
13147 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13148
13149 2012-03-18 Chong Yidong <cyd@gnu.org>
13150
13151 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13152 it is not yet defined (for temacs).
13153
13154 2012-03-18 Leo Liu <sdl.web@gmail.com>
13155
13156 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13157 prefix.
13158
13159 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13160
13161 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13162 (ispell-choices-win-default-height, ispell-silently-savep)
13163 (ispell-dictionary-alist, ispell-encoding8-command)
13164 (ispell-check-version, ispell-aspell-find-dictionary)
13165 (ispell-valid-dictionary-list, ispell-words-keyword)
13166 (ispell-get-word, ispell-internal-change-dictionary)
13167 (ispell-region, ispell-skip-region-list)
13168 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13169 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13170 (ispell-message-text-end, ispell-message)
13171 (ispell-buffer-local-parsing): Doc fix.
13172
13173 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
13174
13175 * htmlfontify.el: Add support for code block fontification for ODT
13176 export (Bug #9914).
13177 (hfy-optimisations): Define new option
13178 `body-text-only'
13179 (hfy-fontify-buffer): Honor above setting.
13180 (hfy-begin-span, hfy-end-span): New routines factored out form
13181 `hfy-fontify-buffer'.
13182 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13183 that permit insertion of custom tags.
13184 (hfy-fontify-buffer): Use above handlers.
13185 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13186 (hfy-face-to-css): Re-defined to be a variable.
13187 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
13188 over multiple runs. This is made possible by having the caller let
13189 bind a special variable `hfy-user-sheet-assoc'.
13190 (htmlfontify-string): New defun.
13191 (hfy-compile-face-map): Make sure that the last char in the
13192 buffer is correctly fontified.
13193 (hfy-face-resolve-face): Whitespace only change.
13194
13195 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13196
13197 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13198 message more clear.
13199
13200 2012-03-16 Leo Liu <sdl.web@gmail.com>
13201
13202 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13203
13204 2012-03-16 Alan Mackenzie <acm@muc.de>
13205
13206 Further optimize the handling of large macros.
13207
13208 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13209 limit to a call of `c-literal-limits'.
13210 (c-determine-+ve-limit): New function.
13211 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13212 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13213 In CASE 5B, restrict a search limit to 500.
13214 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13215
13216 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13217 Restrict macro bounds to +-500 from after-change's BEG END.
13218
13219 2012-03-16 Leo Liu <sdl.web@gmail.com>
13220
13221 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13222
13223 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13224
13225 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13226 `special-mode' setting of `buffer-read-only'. (Bug#11010)
13227
13228 2012-03-16 Glenn Morris <rgm@gnu.org>
13229
13230 * view.el (view-buffer, view-buffer-other-window)
13231 (view-buffer-other-frame): Doc fixes re special mode-class.
13232
13233 * subr.el (eval-after-load): If named feature is provided not from
13234 a file, run after-load forms. (Bug#10946)
13235
13236 * calendar/calendar.el (calendar-insert-at-column):
13237 Handle non-unit-width characters a bit better. (Bug#10978)
13238
13239 2012-03-15 Chong Yidong <cyd@gnu.org>
13240
13241 * emacs-lisp/ring.el (ring-extend): New function.
13242 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13243
13244 * comint.el (comint-read-input-ring)
13245 (comint-add-to-input-history): Grow comint-input-ring lazily.
13246
13247 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13248
13249 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13250 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13251
13252 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13253 (imenu-add-to-menubar): Don't add a redundant index.
13254 (imenu-update-menubar): Handle a dynamically composed keymap.
13255
13256 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13257
13258 * mail/sendmail.el (mail-encode-header):
13259 Bind rfc2047-encode-encoded-words to nil.
13260
13261 2012-03-13 Glenn Morris <rgm@gnu.org>
13262
13263 * calendar/calendar.el (calendar-string-spread):
13264 Handle non-unit-width characters a bit better. (Bug#10978)
13265
13266 2012-03-13 Leo Liu <sdl.web@gmail.com>
13267
13268 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13269 directory and file as argument (Bug#10822).
13270
13271 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13272
13273 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13274 For dynamically generated code, follow $PC.
13275 (gdb-disassembly-handler-custom): Handle no function name case.
13276
13277 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13278
13279 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13280 * emulation/ws-mode.el (ws-query-replace):
13281 * sort.el (sort-regexp-fields):
13282 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13283
13284 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13285
13286 * dabbrev.el: Fix cycle completion order (bug#10963).
13287 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13288 (dabbrev-completion): Don't use an obarray; provide
13289 a cycle-sort-function.
13290
13291 2012-03-12 Leo Liu <sdl.web@gmail.com>
13292
13293 * simple.el (kill-new): Use equal-including-properties for comparison.
13294 (kill-do-not-save-duplicates): Doc fix.
13295
13296 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13297
13298 * dabbrev.el: Fix cycle completion (bug#10963).
13299 Use lexical binding and wrap to 80 columns.
13300 (dabbrev-completion): Delay computing the list of completions.
13301
13302 2012-03-12 Kenichi Handa <handa@m17n.org>
13303
13304 * international/quail.el (quail-insert-kbd-layout): Surround each
13305 row by LRO and PDF instead of inserting many LRMs. Pad the left
13306 and right of each non-spacing marks. Insert invisible space
13307 between lower and upper characters to prevent composition.
13308
13309 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13310
13311 * minibuffer.el (minibuffer-complete): Don't get confused when the
13312 function is run twice via different commands (bug#10958).
13313 (complete-with-action): Fix docstring.
13314
13315 2012-03-12 Chong Yidong <cyd@gnu.org>
13316
13317 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13318 (nxml-completion-at-point-function): New function.
13319 (nxml-mode): Use it.
13320 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13321
13322 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13323 Load generated autoloads file before byte compiling (Bug#10970).
13324 (package--make-autoloads-and-compile): New helper fun.
13325
13326 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13327
13328 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13329
13330 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13331
13332 * autorevert.el (auto-revert-handler): Ensure, that
13333 file-readable-p is applied only for local files or in
13334 auto-revert-tail-mode.
13335
13336 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13337
13338 * server.el (server-eval-at): Handle non-tcp connections.
13339 Decode result string.
13340
13341 * server.el (server-msg-size): New constant.
13342 (server-reply-print): New function.
13343 (server-eval-and-print): Use it.
13344 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13345 Handle -print-nonl.
13346
13347 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13348
13349 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13350 (Bug#10987).
13351
13352 2012-03-11 Chong Yidong <cyd@gnu.org>
13353
13354 * simple.el (goto-line): Doc fix (Bug#9938).
13355
13356 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13357
13358 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13359 when finished (Bug#10963).
13360
13361 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13362
13363 * window.el (split-window-below): Fix bug in case where
13364 split-window-keep-point is nil (Bug#10971).
13365
13366 2012-03-11 Juri Linkov <juri@jurta.org>
13367
13368 * replace.el (replace-highlight): Set isearch-word to nil
13369 unconditionally. (Bug#10887)
13370
13371 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13372
13373 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13374 mairix-replace-illegal-chars; all callers changed. Don't remove
13375 ^, ~, and = characters: they are meaningful in mairix search specs.
13376 (mairix-widget-create-query): Add usage information about mairix
13377 search forms: negating words, searching for substrings, etc.
13378
13379 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13380
13381 * international/fontset.el (font-encoding-alist): Add an entry for
13382 ksx1001 (Bug#5667).
13383
13384 2012-03-10 Richard Stallman <rms@gnu.org>
13385
13386 * mail/sendmail.el (mail-encode-header):
13387 Set rfc2047-encode-encoded-words.
13388
13389 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13390
13391 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13392 view buffer means not swapped.
13393 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13394 (rmail-write-region-annotate): Error if real text has disappeared.
13395
13396 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13397
13398 2012-03-10 Chong Yidong <cyd@gnu.org>
13399
13400 * emulation/cua-rect.el (cua--init-rectangles):
13401 * emulation/cua-base.el (cua--init-keymaps):
13402 Add delete-forward-char to remappings (Bug#9666).
13403
13404 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13405
13406 * speedbar.el (speedbar-unhighlight-one-tag-line):
13407 Avoid unhighlighting due to frame switching (Bug#10275).
13408
13409 2012-03-10 Chong Yidong <cyd@gnu.org>
13410
13411 * minibuffer.el (completion-in-region, completion-help-at-point):
13412 Give the completion field overlay a high priority (Bug#6830).
13413
13414 * dired.el (dired-goto-file): Recognize absolute file name
13415 listings (Bug#7126).
13416 (dired-goto-file-1): New helper function.
13417 (dired-toggle-read-only): Inhibit warnings.
13418
13419 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13420
13421 * net/dbus.el (dbus-property-handler): Return empty array if
13422 there are no properties.
13423
13424 2012-03-09 Leo Liu <sdl.web@gmail.com>
13425
13426 * savehist.el (savehist-printable): Stricter check for string
13427 value (Bug#10937).
13428
13429 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13430
13431 * mail/smtpmail.el (smtpmail-send-it):
13432 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13433 valid mbox format.
13434
13435 2012-03-09 Glenn Morris <rgm@gnu.org>
13436
13437 * files.el (dir-locals-find-file):
13438 Don't check result is regular, readable.
13439 (dir-locals-read-from-file): Demote errors.
13440
13441 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13442
13443 * international/quail.el (quail-insert-kbd-layout):
13444 Insert invisible LRM characters before each character in a keyboard
13445 layout cell, to prevent their reordering by bidi display engine.
13446 For details, see the discussion in
13447 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13448
13449 2012-03-08 Alan Mackenzie <acm@muc.de>
13450
13451 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13452 the starting position; make it extend the marked region when
13453 invoked repeatedly - all under appropriate circumstances.
13454 Fixes bugs #5525, #10906.
13455
13456 2012-03-08 Glenn Morris <rgm@gnu.org>
13457
13458 * files.el (locate-dominating-file, dir-locals-find-file):
13459 Undo 2012-03-06 change.
13460
13461 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13462
13463 * international/quail.el (quail-help):
13464 Force bidi-paragraph-direction be left-to-right. See discussion in
13465 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13466 for the reason.
13467
13468 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13469
13470 Avoid superfluous registering of signals. (Bug#10807)
13471
13472 * notifications.el (notifications-on-action-object)
13473 (notifications-on-close-object): New defvars.
13474 (notifications-on-action-signal, notifications-on-closed-signal):
13475 Unregister the signal if not needed any longer.
13476 (notifications-notify): Register `notifications-action-signal' or
13477 `notifications-closed-signal', if :on-action or :on-close has been
13478 passed as argument.
13479
13480 2012-03-07 Chong Yidong <cyd@gnu.org>
13481
13482 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13483 non-X platforms.
13484
13485 2012-03-06 Glenn Morris <rgm@gnu.org>
13486
13487 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13488 (x-disown-selection-internal, x-get-selection-internal):
13489 Doc fix (add arglist signatures). (Bug#10783)
13490
13491 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13492
13493 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13494 Handle breakpoints with no "type".
13495
13496 2012-03-06 Glenn Morris <rgm@gnu.org>
13497
13498 * files.el (locate-dominating-file): Add optional predicate argument.
13499 (dir-locals-find-file): Make use of above change.
13500
13501 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13502
13503 * info.el (Info-insert-dir): Also try "dir.gz".
13504
13505 2012-03-06 Glenn Morris <rgm@gnu.org>
13506
13507 * files.el (dir-locals-find-file):
13508 Ignore non-readable or non-regular files. (Bug#10928)
13509
13510 * files.el (locate-dominating-file): Doc fix.
13511
13512 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13513
13514 * calendar/calendar.el (calendar-set-mode-line):
13515 `getenv' returns a string. (Bug#10951)
13516
13517 2012-03-05 Leo Liu <sdl.web@gmail.com>
13518
13519 * simple.el (backward-delete-char-untabify): Constrain point to
13520 field (Bug#10939).
13521
13522 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13523
13524 2012-03-05 Chong Yidong <cyd@gnu.org>
13525
13526 * simple.el (count-words): If called from Lisp, return the word
13527 count, for symmetry with `count-lines'. Arglist changed.
13528 (count-words--message): Args changed. Consolidate counting code
13529 from count-words and count-words-region.
13530 (count-words-region): Caller changed.
13531 (count-lines-region): Make it an obsolete alias.
13532
13533 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13534
13535 * saveplace.el (save-place-to-alist)
13536 (save-place-ignore-files-regexp): Allow value nil to disable this
13537 feature.
13538
13539 2012-03-04 Chong Yidong <cyd@gnu.org>
13540
13541 * faces.el (face-spec-reset-face): For the default face, reset the
13542 attributes to default values (Bug#10748).
13543
13544 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13545
13546 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13547 previous patch: Check `message-send-mail-function', and not the
13548 default function (bug#10897).
13549
13550 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13551
13552 * notifications.el (notifications-on-action-signal)
13553 (notifications-on-closed-signal): Check for unique service name of
13554 incoming event. Fix error in removing entry.
13555 (top): Register for signals with wildcard service name.
13556 (notifications-notify): Use daemon unique service name for map entries.
13557
13558 2012-03-04 Chong Yidong <cyd@gnu.org>
13559
13560 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13561
13562 2012-03-04 Glenn Morris <rgm@gnu.org>
13563
13564 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13565 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13566 (expand-abbrev, define-abbrev-table): Doc fixes.
13567
13568 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13569
13570 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13571 `message-default-send-mail-function' and not `send-mail-function'
13572 when doing the prompting for `sendmail-query-once' before sending
13573 in Message buffers (bug#10897).
13574
13575 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13576 This is inconsistent with all the other stream functions, which leave
13577 the setting up to the higher levels (if so wanted) (bug#10931).
13578
13579 2012-03-02 Alan Mackenzie <acm@muc.de>
13580
13581 Depessimize the handling of very large macros.
13582
13583 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13584 (c-macro-cache-syntactic): New variables to implement a one
13585 element macro cache.
13586 (c-invalidate-macro-cache): New function.
13587 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13588 Adapt to use the new cache.
13589 (c-state-safe-place): Use better the cache of safe positions.
13590 (c-state-semi-nonlit-pos-cache)
13591 (c-state-semi-nonlit-pos-cache-limit):
13592 New variables for...
13593 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13594 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13595 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13596 Use c-state-semi-safe-place.
13597
13598 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13599 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13600
13601 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13602
13603 * jka-compr.el (jka-compr-call-process):
13604 Apply `file-accessible-directory-p' only when the default directory is
13605 not remote.
13606
13607 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13608
13609 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13610 access of FILE2, if FILE1 does not exist.
13611
13612 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13613 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13614
13615 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13616 Add "PAGER=" to `process-environment'.
13617
13618 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13619
13620 * progmodes/sql.el: Bug fix
13621 (sql-get-login-ext): Save login values in globals.
13622 (sql-get-login): Use new version of `sql-get-login-ext'.
13623 (sql-interactive-mode): Set global `sql-connection' to nil.
13624 (sql-connect): Set global values for connection.
13625 (sql-product-interactive): Save global values as buffer local.
13626
13627 2012-02-29 Leo Liu <sdl.web@gmail.com>
13628
13629 * abbrev.el (define-abbrevs): Reset sys to nil.
13630
13631 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13632
13633 * files.el (file-equal-p): Rename from `files-equal-p'.
13634 Return nil when one or both files don't exist.
13635 (file-subdir-of-p): Now only top directory must exists,
13636 return nil if it doesn't.
13637 (copy-directory): No need to test with `file-subdir-of-p' after
13638 creating dir.
13639 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13640 to `file-equal-p'.
13641
13642 2012-02-28 Glenn Morris <rgm@gnu.org>
13643
13644 * shell.el (shell-mode):
13645 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13646 * play/landmark.el (landmark-font-lock-face-O):
13647 * play/handwrite.el (handwrite):
13648 * play/gomoku.el (gomoku-O):
13649 * net/browse-url.el (browse-url-browser-display):
13650 * international/mule.el (define-charset):
13651 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13652 * filesets.el (filesets-find-file-delay):
13653 * eshell/em-xtra.el (eshell-xtra):
13654 * eshell/em-unix.el (eshell-grep):
13655 * emulation/viper.el (viper-mode):
13656 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13657 * emacs-lisp/easymenu.el (easy-menu-define):
13658 * calendar/timeclock.el (timeclock-use-display-time):
13659 * bs.el (bs-mode):
13660 * bookmark.el (bookmark-save-flag):
13661 Doc fix (standardize possessive apostrophe usage).
13662
13663 2012-02-27 Chong Yidong <cyd@gnu.org>
13664
13665 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13666 Fix key-binding lookup for ESC key (Bug#9146).
13667
13668 * font-lock.el (font-lock-specified-p): Rename from
13669 font-lock-spec-present. Callers changed.
13670
13671 2012-02-27 Daniel Hackney <dan@haxney.org>
13672
13673 * emacs-lisp/package.el (package-compute-transaction):
13674 Handle holding a package version to t in package-load-list.
13675
13676 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13677
13678 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13679 (tramp-get-inode, tramp-get-device): Use cached values.
13680
13681 2012-02-26 Alan Mackenzie <acm@muc.de>
13682
13683 Check there is a font-lock specification before doing initial
13684 fontification.
13685
13686 * font-core.el (font-lock-mode): Move the conditional from
13687 :after-hook to font-lock-initial-fontify.
13688 (font-lock-default-function): Move the check for a specification
13689 to font-lock-spec-present.
13690
13691 * font-lock.el (font-lock-initial-fontify): Call ...
13692 (font-lock-spec-present): New function.
13693
13694 2012-02-26 Jim Blandy <jimb@red-bean.com>
13695
13696 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13697 (gdb-send): Apply it to the operand of the '-interpreter-exec
13698 console' command, so that we can pass arguments with (say) quotes
13699 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13700
13701 2012-02-26 Chong Yidong <cyd@gnu.org>
13702
13703 * help-fns.el (describe-function-1): Clarify description of
13704 remapping (Bug#10844).
13705
13706 * files.el (files-equal-p): Doc fix.
13707 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13708 and quit the loop once a mismatch is found.
13709
13710 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13711
13712 * bs.el (bs--show-with-configuration): Don't throw an error
13713 if the window cannot be split; otherwise, subsequent calls to
13714 bs-show fail, restoring a stale window config. (Bug#10882)
13715
13716 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13717
13718 * term/ns-win.el (global-map): Bind ns-drag-file to
13719 ns-find-file (Bug#5855, Bug#10050).
13720
13721 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13722
13723 * calendar/parse-time.el (parse-time-string): Allow extractor to
13724 return nil.
13725
13726 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13727
13728 * net/tramp.el (tramp-file-name-for-operation):
13729 Add `files-equal-p' and `file-subdir-of-p'.
13730
13731 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13732 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13733 Add COPY-CONTENTS argument.
13734
13735 2012-02-25 Chong Yidong <cyd@gnu.org>
13736
13737 Add custom groups for VC backends, for consistency with vc-bzr.
13738
13739 * vc/vc-arch.el (vc-arch):
13740 * vc/vc-cvs.el (vc-cvs):
13741 * vc/vc-git.el (vc-git):
13742 * vc/vc-hg.el (vc-hg):
13743 * vc/vc-mtn.el (vc-mtn):
13744 * vc/vc-rcs.el (vc-rcs):
13745 * vc/vc-sccs.el (vc-sccs):
13746 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13747 All relevant defcustoms reassigned.
13748
13749 2012-02-25 Chong Yidong <cyd@gnu.org>
13750
13751 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13752
13753 * term/x-win.el (x-initialize-window-system): Reduce default for
13754 x-selection-timeout to 5 seconds (Bug#8869).
13755
13756 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13757
13758 * files.el (files-equal-p, file-subdir-of-p): New functions.
13759 (copy-directory): Error when trying to copy a directory on itself.
13760 Add missing copy-contents arg to tramp handler.
13761 * dired-aux.el (dired-copy-file-recursive): Same.
13762 (dired-create-files): Modify destination when source is equal to
13763 dest when copying files.
13764 Return also when dest is a subdir of source. (Bug#10489)
13765
13766 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13767
13768 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13769 (Bug#10874)
13770
13771 2012-02-23 Alan Mackenzie <acm@muc.de>
13772
13773 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13774 parameter "after-hook:" to allow the expansion to run code after
13775 the execution of the mode hooks.
13776
13777 * font-lock.el (font-lock-initial-fontify): New function extracted
13778 from font-lock-mode-internal.
13779
13780 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13781 :after-hook.
13782
13783 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13784
13785 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13786 (completion--cache-all-sorted-completions): New function.
13787 (completion-all-sorted-completions): Use it.
13788 (completion--do-completion, minibuffer-force-complete):
13789 Use it to re-instate the flush hook.
13790
13791 * icomplete.el (icomplete-completions): Replace last fix with a better
13792 one (bug#10850).
13793
13794 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13795
13796 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13797 when it might call us back infinitely (bug#10797).
13798
13799 2012-02-23 Glenn Morris <rgm@gnu.org>
13800
13801 * minibuffer.el (completion-category-overrides): Doc fix.
13802
13803 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13804
13805 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13806 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13807
13808 2012-02-23 Glenn Morris <rgm@gnu.org>
13809
13810 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13811 (authors-obsolete-files-regexps, authors-ignored-files)
13812 (authors-ambiguous-files, authors-renamed-files-alist):
13813 Add more entries.
13814
13815 2012-02-23 Juri Linkov <juri@jurta.org>
13816
13817 * isearch.el (isearch-occur): Sync interactive spec with occur's
13818 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13819
13820 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13821
13822 2012-02-22 Juri Linkov <juri@jurta.org>
13823
13824 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13825 (ucs-insert): Doc fix. Check for hex digits in the string.
13826 Don't display `nil' in the error message. (Bug#10857)
13827
13828 2012-02-22 Alan Mackenzie <acm@muc.de>
13829
13830 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13831
13832 2012-02-22 Glenn Morris <rgm@gnu.org>
13833
13834 * ffap.el (ffap-c-path):
13835 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13836
13837 2012-02-22 Chong Yidong <cyd@gnu.org>
13838
13839 * custom.el (load-theme): Doc fix.
13840
13841 2012-02-22 Glenn Morris <rgm@gnu.org>
13842
13843 * dired-x.el (dired-guess-shell-alist-default):
13844 Remove escape sequences from nroff output. (Bug#172)
13845
13846 2012-02-21 Glenn Morris <rgm@gnu.org>
13847
13848 * vc/emerge.el (emerge-defvar-local):
13849 Set `permanent-local' property rather than unused `preserved'.
13850
13851 * textmodes/picture.el (picture-delete-char): New alias.
13852 (picture-mode-map): Use it. (Bug#10860)
13853 (picture-mode): Doc fix.
13854
13855 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13856
13857 * newcomment.el (uncomment-region-default): Remove unused binding.
13858
13859 2012-02-21 Glenn Morris <rgm@gnu.org>
13860
13861 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13862 (picture-self-insert, picture-tab-chars): Doc fix.
13863 (picture-mode-map): Fix C-a, C-e.
13864
13865 2012-02-20 Glenn Morris <rgm@gnu.org>
13866
13867 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13868
13869 2012-02-20 Leo Liu <sdl.web@gmail.com>
13870
13871 * icomplete.el (icomplete-completions): Check FROM arg before
13872 passing to substring (Bug#10850).
13873
13874 2012-02-19 Chong Yidong <cyd@gnu.org>
13875
13876 * comint.el: Require ansi-color.
13877 (comint-output-filter-functions): Add ansi-color-process-output.
13878
13879 * ansi-color.el: Don't set comint-output-filter-functions; it is
13880 now in the initial value defined in comint.el.
13881 (ansi-color-apply-face-function): New variable.
13882 (ansi-color-apply-on-region): Use it.
13883 (ansi-color-apply-overlay-face): New function.
13884
13885 * shell.el (shell): No need to require ansi-color.
13886 (shell-mode): Use ansi-color-apply-face-function to highlight
13887 color escapes using font-lock-face property (Bug#10835).
13888
13889 2012-02-19 Chong Yidong <cyd@gnu.org>
13890
13891 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13892 mode-line formats (Bug#10839).
13893
13894 2012-02-18 Glenn Morris <rgm@gnu.org>
13895
13896 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13897
13898 * mail/undigest.el (unforward-rmail-message): Doc fix.
13899
13900 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13901
13902 2012-02-18 Eli Zaretskii <eliz@gnu.org>
13903
13904 * international/characters.el (script-list): Sync with the latest
13905 Unicode Character Database.
13906
13907 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13908
13909 * international/titdic-cnv.el: Remove duplicate coding tag.
13910 * language/cham.el: Likewise.
13911 * language/tai-viet.el: Likewise.
13912
13913 2012-02-18 Glenn Morris <rgm@gnu.org>
13914
13915 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13916 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13917 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13918 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13919 * calendar/holidays.el (holiday-bahai-holidays)
13920 (calendar-holidays, list-holidays):
13921 Use utf-8 Bahá'í in doc-strings, menus, etc.
13922
13923 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13924
13925 * saveplace.el (save-place-ignore-files-regexp): New variable
13926 allowing for excluding files from saving their location of point.
13927 The default value matches the temporary commit message editing
13928 files from Git, SVN, Bazaar, and Mercurial.
13929 (save-place-to-alist): Use it.
13930
13931 2012-02-17 Lawrence Mitchell <wence@gmx.li>
13932 Stefan Monnier <monnier@iro.umontreal.ca>
13933
13934 * newcomment.el (uncomment-region-default): Don't leave extra space
13935 when an arg is provided (bug#8150).
13936
13937 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13938
13939 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
13940
13941 2012-02-17 Glenn Morris <rgm@gnu.org>
13942
13943 * net/socks.el: Require network-stream. (Bug#10599)
13944
13945 2012-02-17 Kenichi Handa <handa@m17n.org>
13946
13947 * international/charprop.el:
13948 * international/uni-name.el:
13949 * international/uni-old-name.el:
13950 * international/uni-comment.el: Regenerate.
13951
13952 2012-02-16 Glenn Morris <rgm@gnu.org>
13953
13954 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13955 Interactively in calendar buffer, give an error if not on a date.
13956
13957 2012-02-15 Glenn Morris <rgm@gnu.org>
13958
13959 * shell.el (shell-delimiter-argument-list):
13960 Revert 2011-02-17 change. (Bug#8027)
13961
13962 2012-02-15 Chong Yidong <cyd@gnu.org>
13963
13964 * minibuffer.el (completion-at-point-functions): Doc fix.
13965
13966 * custom.el (defcustom): Doc fix; note use of defvar.
13967
13968 2012-02-15 Glenn Morris <rgm@gnu.org>
13969
13970 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13971 Doc fixes.
13972
13973 2012-02-14 Glenn Morris <rgm@gnu.org>
13974
13975 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13976
13977 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13978
13979 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13980 way the ports list is computed.
13981 (smtpmail-query-smtp-server): Prompt the user for a port number if
13982 we can't connect to any of the standard ports (bug#10810).
13983
13984 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13985
13986 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13987
13988 2012-02-13 Glenn Morris <rgm@gnu.org>
13989
13990 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13991
13992 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13993
13994 * net/gnutls.el (gnutls-trustfiles): New variable.
13995 (gnutls-negotiate): Use it.
13996
13997 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13998
13999 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
14000 does its stuff if Gnus is running.
14001
14002 2012-02-13 Alan Mackenzie <acm@muc.de>
14003
14004 Fix a loop in c-set-fl-decl-start.
14005
14006 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
14007 c-backward-syntactic-ws actually moves backwards.
14008
14009 2012-02-13 Leo Liu <sdl.web@gmail.com>
14010
14011 * net/rcirc.el (rcirc-markup-attributes): Move point to the
14012 beginning so that all \C-o chars are removed.
14013
14014 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
14015
14016 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
14017
14018 2012-02-12 Alan Mackenzie <acm@muc.de>
14019
14020 Fix infinite loop with long macros.
14021 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
14022
14023 2012-02-12 Chong Yidong <cyd@gnu.org>
14024
14025 * window.el (display-buffer): Doc fix (Bug#10785).
14026
14027 2012-02-12 Glenn Morris <rgm@gnu.org>
14028
14029 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14030 (x-disown-selection-internal, x-get-selection-internal):
14031 Sync docs with the xselect.c versions.
14032
14033 * allout-widgets.el: Add missing license notice.
14034
14035 2012-02-11 Glenn Morris <rgm@gnu.org>
14036
14037 * select.el (x-get-selection-internal, x-own-selection-internal)
14038 (x-disown-selection-internal):
14039 * x-dnd.el (x-get-selection-internal): Update declarations.
14040
14041 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
14042
14043 * window.el (window-sides-slots):
14044 * tool-bar.el (tool-bar-position):
14045 * term/xterm.el (xterm-extra-capabilities):
14046 * ses.el (ses-self-reference-early-detection):
14047 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
14048 (verilog-auto-wire-type)
14049 (verilog-auto-delete-trailing-whitespace)
14050 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14051 (verilog-auto-tieoff-declaration):
14052 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14053 (sql-oracle-statement-starters, sql-oracle-scan-on):
14054 * progmodes/prolog.el (prolog-align-comments-flag)
14055 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14056 (prolog-left-indent-regexp, prolog-paren-indent-p)
14057 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14058 (prolog-types, prolog-mode-specificators)
14059 (prolog-determinism-specificators, prolog-directives)
14060 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14061 (prolog-electric-dot-flag)
14062 (prolog-electric-dot-full-predicate-template)
14063 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14064 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14065 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14066 (prolog-program-switches, prolog-prompt-regexp)
14067 (prolog-debug-on-string, prolog-debug-off-string)
14068 (prolog-trace-on-string, prolog-trace-off-string)
14069 (prolog-zip-on-string, prolog-zip-off-string)
14070 (prolog-use-standard-consult-compile-method-flag)
14071 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14072 (prolog-imenu-max-lines, prolog-info-predicate-index)
14073 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14074 (prolog-char-quote-workaround):
14075 * progmodes/cc-vars.el (c-defun-tactic):
14076 * net/tramp.el (tramp-encoding-command-interactive)
14077 (tramp-local-end-of-line):
14078 * net/soap-client.el (soap-client):
14079 * net/netrc.el (netrc-file):
14080 * net/gnutls.el (gnutls):
14081 * minibuffer.el (completion-category-overrides)
14082 (completion-cycle-threshold)
14083 (completion-pcm-complete-word-inserts-delimiters):
14084 * man.el (Man-name-local-regexp):
14085 * mail/feedmail.el (feedmail-display-full-frame):
14086 * international/characters.el (glyphless-char-display-control):
14087 * eshell/em-ls.el (eshell-ls-date-format):
14088 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14089 (lisp-lambda-list-keyword-parameter-indentation)
14090 (lisp-lambda-list-keyword-parameter-alignment):
14091 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14092 * dired-x.el (dired-omit-verbose):
14093 * cus-theme.el (custom-theme-allow-multiple-selections):
14094 * calc/calc.el (calc-highlight-selections-with-faces)
14095 (calc-lu-field-reference, calc-lu-power-reference)
14096 (calc-note-threshold):
14097 * battery.el (battery-mode-line-limit):
14098 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14099 (archive-7z-update):
14100 * allout.el (allout-prefixed-keybindings)
14101 (allout-unprefixed-keybindings)
14102 (allout-inhibit-auto-fill-on-headline)
14103 (allout-flattened-numbering-abbreviation):
14104 * allout-widgets.el (allout-widgets-auto-activation)
14105 (allout-widgets-icons-dark-subdir)
14106 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14107 (allout-widgets-theme-dark-background)
14108 (allout-widgets-theme-light-background)
14109 (allout-widgets-item-image-properties-emacs)
14110 (allout-widgets-item-image-properties-xemacs)
14111 (allout-widgets-run-unit-tests-on-load)
14112 (allout-widgets-time-decoration-activity)
14113 (allout-widgets-hook-error-post-time)
14114 (allout-widgets-track-decoration):
14115 Add missing :version tags to new defcustoms and defgroups.
14116
14117 * progmodes/sql.el (sql-ansi-statement-starters)
14118 (sql-oracle-statement-starters): Add custom type.
14119
14120 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14121 (prolog-system-version): Give it a type.
14122
14123 2012-02-11 Eli Zaretskii <eliz@gnu.org>
14124
14125 * term/pc-win.el (x-select-text, x-selection-owner-p)
14126 (x-own-selection-internal, x-disown-selection-internal)
14127 (x-get-selection-internal): Sync doc strings and argument lists
14128 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14129
14130 2012-02-11 Leo Liu <sdl.web@gmail.com>
14131
14132 * progmodes/python.el (python-end-of-statement): Fix infinite
14133 loop. (Bug#10788)
14134
14135 2012-02-10 Glenn Morris <rgm@gnu.org>
14136
14137 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14138 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14139
14140 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14141
14142 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14143 about SMTP before checking the From header.
14144
14145 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
14146 into own function for reuse by emacsbug.el.
14147
14148 2012-02-10 Leo Liu <sdl.web@gmail.com>
14149
14150 * subr.el (condition-case-unless-debug): Rename from
14151 condition-case-no-debug. All callers changed.
14152 (with-demoted-errors): Fix caller.
14153
14154 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14155 * nxml/rng-valid.el (rng-do-some-validation):
14156 * emacs-lisp/package.el (package-refresh-contents)
14157 (package-menu-execute):
14158 * desktop.el (desktop-create-buffer):
14159 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14160
14161 2012-02-10 Glenn Morris <rgm@gnu.org>
14162
14163 * textmodes/bibtex.el:
14164 Add missing :version tags for new/changed defcustoms.
14165
14166 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14167
14168 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
14169
14170 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14171 (smtpmail-via-smtp): Use it, or fall back on the From address.
14172 (smtpmail-send-it): Ditto.
14173
14174 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14175
14176 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14177 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14178 (byte-compile-tmp-var): New const.
14179 (byte-compile-defvar): Use it to minimize .elc size.
14180 Just use `defvar' rather than simulate it (bug#10761).
14181
14182 2012-02-09 Glenn Morris <rgm@gnu.org>
14183
14184 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14185
14186 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14187 Add :version tags.
14188
14189 * progmodes/compile.el (compilation-error-screen-columns)
14190 (compilation-first-column, compilation-filter-start): Doc fixes.
14191
14192 * vc/log-view.el (log-view-toggle-entry-display):
14193 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14194
14195 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14196 (report-emacs-bug-can-use-xdg-email):
14197 (report-emacs-bug-insert-to-mailer): Doc fixes.
14198 (report-emacs-bug): Message fix.
14199
14200 * net/browse-url.el (browse-url-can-use-xdg-open)
14201 (browse-url-xdg-open): Doc fixes.
14202
14203 * electric.el (electric-indent-mode, electric-pair-mode)
14204 (electric-layout-rules, electric-layout-mode): Doc fixes.
14205 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14206
14207 2012-02-08 Martin Rudalics <rudalics@gmx.at>
14208
14209 * server.el (server-unselect-display): Don't inadvertently kill
14210 the current buffer. (Bug#10729)
14211
14212 2012-02-08 Glenn Morris <rgm@gnu.org>
14213
14214 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14215 (sql-list-table): Doc fixes.
14216
14217 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14218 Comment out (does nothing).
14219
14220 * completion.el (dynamic-completion-mode):
14221 * dirtrack.el (dirtrack-debug-mode):
14222 * electric.el (electric-layout-mode):
14223 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14224 * face-remap.el (text-scale-mode, buffer-face-mode):
14225 * iimage.el (iimage-mode):
14226 * image-mode.el (image-transform-mode):
14227 * minibuffer.el (completion-in-region-mode):
14228 * scroll-lock.el (scroll-lock-mode):
14229 * simple.el (next-error-follow-minor-mode):
14230 * tar-mode.el (tar-subfile-mode):
14231 * tooltip.el (tooltip-mode):
14232 * vcursor.el (vcursor-use-vcursor-map):
14233 * wid-browse.el (widget-minor-mode):
14234 * emulation/tpu-edt.el (tpu-edt-mode):
14235 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14236 * international/iso-ascii.el (iso-ascii-mode):
14237 * language/thai-util.el (thai-word-mode):
14238 * mail/supercite.el (sc-minor-mode):
14239 * net/goto-addr.el (goto-address-mode):
14240 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14241 * progmodes/cwarn.el (cwarn-mode):
14242 * progmodes/flymake.el (flymake-mode):
14243 * progmodes/glasses.el (glasses-mode):
14244 * progmodes/hideshow.el (hs-minor-mode):
14245 * progmodes/pascal.el (pascal-outline-mode):
14246 * textmodes/enriched.el (enriched-mode):
14247 * vc/smerge-mode.el (smerge-mode):
14248 Doc fixes (minor mode argument).
14249
14250 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14251
14252 * ls-lisp.el (ls-lisp-sanitize): New function.
14253 (ls-lisp-insert-directory): Use it to fix or remove any elements
14254 in file-alist with missing attributes. (Bug#4673)
14255
14256 2012-02-07 Alan Mackenzie <acm@muc.de>
14257
14258 Fix spurious recognition of c-in-knr-argdecl.
14259
14260 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14261 putative K&R region.
14262
14263 2012-02-07 Alan Mackenzie <acm@muc.de>
14264
14265 * progmodes/cc-engine.el (c-forward-objc-directive):
14266 Prevent looping in "#pragma mark @implementation".
14267
14268 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14269
14270 * notifications.el (notifications-on-closed-signal): Make `reason'
14271 optional. (Bug#10744)
14272
14273 2012-02-07 Glenn Morris <rgm@gnu.org>
14274
14275 * emacs-lisp/easy-mmode.el (define-minor-mode):
14276 Doc fixes for the macro and the mode it defines.
14277
14278 * image.el (imagemagick-types-inhibit): Doc fix.
14279
14280 * cus-start.el (imagemagick-render-type): Add it.
14281
14282 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14283
14284 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14285 Set the default at load time, too, so that `font-lock-fontify-buffer'
14286 can be called without setting up the entire mode first. This fixes
14287 a bug in `mm-inline-text' with C MIME parts.
14288
14289 2012-02-06 Chong Yidong <cyd@gnu.org>
14290
14291 * simple.el (list-processes--refresh): Delete exited processes
14292 (Bug#8094).
14293
14294 * comint.el (comint-next-prompt): next-single-char-property-change
14295 and prev-single-char-property-change never return nil (Bug#8657).
14296
14297 * custom.el (defcustom): Doc fix (Bug#9711).
14298
14299 2012-02-05 Chong Yidong <cyd@gnu.org>
14300
14301 * cus-edit.el (custom-variable-reset-backup): Quote the value
14302 before storing it in the customized-value property (Bug#6712).
14303 (custom-display): Add a customization type tag.
14304 (custom-buffer-create-internal): Improve tooltip message.
14305
14306 * wid-edit.el (widget-field-value-get): New optional arg to
14307 suppress trailing whitespace truncation.
14308 (character): Use it (Bug#2689).
14309
14310 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14311
14312 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14313 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14314
14315 2012-02-05 Chong Yidong <cyd@gnu.org>
14316
14317 * cus-edit.el (custom-variable-value-create): For mismatched
14318 types, show the current value (Bug#7600).
14319
14320 * custom.el (defcustom): Doc fix.
14321
14322 2012-02-05 Glenn Morris <rgm@gnu.org>
14323
14324 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14325
14326 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14327
14328 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14329 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14330 (pp-last-sexp): Use `looking-at-p'.
14331
14332 2012-02-04 Glenn Morris <rgm@gnu.org>
14333
14334 * files.el (revert-buffer):
14335 Doc fix (mention revert-buffer-in-progress-p).
14336
14337 * emacs-lisp/ert-x.el (ert-simulate-command):
14338 Check deferred-action-list (which is obsolete) is bound.
14339
14340 * subr.el (with-wrapper-hook): Doc fixes.
14341
14342 * simple.el (filter-buffer-substring-functions)
14343 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14344
14345 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14346
14347 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14348 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14349
14350 2012-02-04 Leo Liu <sdl.web@gmail.com>
14351
14352 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14353
14354 2012-02-04 Glenn Morris <rgm@gnu.org>
14355
14356 * image.el (image-extension-data): Add obsolete alias.
14357
14358 * isearch.el (isearch-update): Doc fix.
14359
14360 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14361
14362 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14363
14364 2012-02-03 Glenn Morris <rgm@gnu.org>
14365
14366 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14367 (image-animate-timeout): Doc fix.
14368
14369 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14370
14371 2012-02-02 Glenn Morris <rgm@gnu.org>
14372
14373 * server.el (server-auth-dir): Doc fix.
14374 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14375
14376 * subr.el (run-mode-hooks): Doc fix.
14377
14378 2012-02-02 Juri Linkov <juri@jurta.org>
14379
14380 * image-mode.el (image-toggle-display-image): Remove tautological
14381 `major-mode' from the `derived-mode-p' test.
14382
14383 2012-02-02 Kenichi Handa <handa@m17n.org>
14384
14385 * composite.el (compose-region): Cancel previous change.
14386
14387 2012-02-02 Kenichi Handa <handa@m17n.org>
14388
14389 * composite.el (compose-region, compose-string): Signal error for
14390 a null string component (Bug#6988).
14391
14392 2012-02-01 Chong Yidong <cyd@gnu.org>
14393
14394 * view.el (view-buffer-other-window, view-buffer-other-frame):
14395 Handle special modes like view-buffer (Bug#10650).
14396 (view-buffer): Simplify.
14397
14398 * frame.el (set-frame-font): Tweak meaning of third argument.
14399
14400 * dynamic-setting.el (font-setting-change-default-font):
14401 Use set-frame-font (Bug#9982).
14402
14403 2012-02-01 Glenn Morris <rgm@gnu.org>
14404
14405 * progmodes/compile.el (compilation-internal-error-properties):
14406 Respect compilation-first-column in the "*compilation*" buffer.
14407
14408 * emacs-lisp/easy-mmode.el (define-minor-mode):
14409 Relax :variable's test for a named function.
14410
14411 2012-01-31 Alan Mackenzie <acm@muc.de>
14412
14413 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14414 off by one error.
14415
14416 2012-01-31 Chong Yidong <cyd@gnu.org>
14417
14418 * frame.el (set-frame-font): New arg ALL-FRAMES.
14419
14420 * menu-bar.el (menu-set-font): Use set-frame-font.
14421
14422 * faces.el (face-spec-reset-face): Don't apply unspecified
14423 attribute values to the default face.
14424
14425 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14426
14427 * progmodes/cwarn.el (cwarn): Remove dead link.
14428 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14429 Remove * from defcustom docstrings.
14430 (turn-on-cwarn-mode): Make obsolete.
14431 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14432 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14433
14434 2012-01-31 Glenn Morris <rgm@gnu.org>
14435
14436 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14437 Fix :variable handling of mode a symbol not equal to modefun.
14438 Allow named functions to be used as the cdr of :variable.
14439
14440 2012-01-30 Glenn Morris <rgm@gnu.org>
14441
14442 * emacs-lisp/authors.el (authors-fixed-entries):
14443 Remove reference to deleted file rnewspost.el.
14444
14445 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14446
14447 * window.el (window-with-parameter): Remove unused variable `windows'.
14448 (window--side-check): Remove unused variable `code'.
14449 (window--resize-siblings): Remove unused variable `first'.
14450 (adjust-window-trailing-edge): Remove unused variable `failed'.
14451 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14452 Use `let', not `let*'.
14453 (balance-windows-2): Remove unused variable `found'.
14454 (window--state-put-2): Remove unused variable `splits'.
14455 (window-state-put): Remove unused variable `selected'.
14456 (same-window-p): Use `string-match-p'.
14457 (display-buffer-assq-regexp): Remove unused variable `value'.
14458 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14459 Mark argument ALIST as ignored.
14460 (pop-to-buffer): Remove unused variable `old-window'.
14461
14462 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14463
14464 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14465 and .lzma compressed files.
14466
14467 2012-01-29 Chong Yidong <cyd@gnu.org>
14468
14469 * frame.el (window-system-default-frame-alist): Doc fix.
14470
14471 * dynamic-setting.el (font-setting-change-default-font): Don't
14472 change the default face if SET-FONT argument is non-nil (Bug#9982).
14473
14474 2012-01-29 Samuel Bronson <naesten@gmail.com>
14475
14476 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14477
14478 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14479
14480 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14481 breakpoints in files outside current directory (Bug#6098).
14482
14483 2012-01-29 Chong Yidong <cyd@gnu.org>
14484
14485 * progmodes/python.el: Require ansi-color at top-level.
14486
14487 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14488 Define and use in Emacs Lisp mode (Bug#9360).
14489 (lisp-mode-abbrev-table): Add doc.
14490 (lisp-mode-variables): Don't set local-abbrev-table.
14491 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14492
14493 2012-01-28 Roland Winkler <winkler@gnu.org>
14494
14495 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14496
14497 2012-01-28 Roland Winkler <winkler@gnu.org>
14498
14499 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14500 (bibtex-set-dialect): Use it. Either set global values of
14501 dialect-dependent variables or bind these variables buffer-locally
14502 (Bug#10254).
14503 (bibtex-mode): Call bibtex-set-dialect via
14504 hack-local-variables-hook.
14505 (bibtex-dialect): Update docstring.
14506 Add safe-local-variable predicate.
14507 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14508 bibtex-set-dialect.
14509 (bibtex-mode-map): Define menu for each dialect.
14510 (bibtex-entry): Fix docstring.
14511
14512 2012-01-28 Chong Yidong <cyd@gnu.org>
14513
14514 * eshell/esh-arg.el (eshell-quote-argument): New function.
14515
14516 * eshell/esh-ext.el (eshell-invoke-batch-file):
14517 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14518 first arg to eshell-parse-command (Bug#10523).
14519
14520 2012-01-28 Drew Adams <drew.adams@oracle.com>
14521
14522 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14523 `default-directory' is non-nil.
14524
14525 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14526
14527 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14528 line that displays system-configuration-options. (Bug#9924)
14529
14530 2012-01-28 Drew Adams <drew.adams@oracle.com>
14531
14532 * descr-text.el (describe-char): Show information about POS, in
14533 addition to information about the character at POS. Improve and
14534 update the doc string. Change "code point" to "code point in
14535 charset", to avoid confusion with the character's Unicode code
14536 point shown above that. (Bug#10129)
14537
14538 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14539
14540 * descr-text.el (describe-char): Show the raw character, not only
14541 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14542 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14543 for the reasons.
14544
14545 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14546
14547 * emacs-lisp/package.el (package-install):
14548 Run package-refresh-contents if there is no archive yet (Bug#9798).
14549
14550 2012-01-28 Chong Yidong <cyd@gnu.org>
14551
14552 * emacs-lisp/package.el (package-maybe-load-descriptor):
14553 New function, split from package-maybe-load-descriptor.
14554 (package-maybe-load-descriptor): Use it.
14555 (package-download-transaction): Fully load required packages
14556 inside the loop, so that `require' calls work (Bug#10593).
14557 (package-install): No need to call package-initialize now.
14558
14559 2012-01-28 Chong Yidong <cyd@gnu.org>
14560
14561 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14562
14563 * tooltip.el (tooltip-mode): Doc fix.
14564 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14565
14566 * frame.el (set-cursor-color): Doc fix (Bug#352).
14567
14568 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14569 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14570
14571 * cus-edit.el (custom-buffer-create-internal): Fix search button
14572 action (Bug#10542).
14573 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14574
14575 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14576
14577 * dired.el (dired-mark-files-regexp):
14578 Include any subdirectory components. (Bug#10445)
14579
14580 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14581
14582 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14583 Handle [host]:port syntax. (Bug#10533)
14584
14585 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14586
14587 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14588
14589 2012-01-26 Glenn Morris <rgm@gnu.org>
14590
14591 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14592 * term.el (term-raw-escape-map): Use Control-X-prefix.
14593 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14594
14595 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14596
14597 * window.el (window-state-get, window--state-get-1): Don't deal
14598 with fixed-sizeness of windows. Simplify code.
14599
14600 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14601
14602 * window.el (window--state-get-1, window--state-put-2):
14603 Don't save and restore the mark.
14604
14605 2012-01-25 Chong Yidong <cyd@gnu.org>
14606
14607 * custom.el (custom-variable-p): Doc fix.
14608
14609 2012-01-25 Glenn Morris <rgm@gnu.org>
14610
14611 * dired.el (dired-goto-file): Handle some of the more common
14612 characters that `ls -b' escapes. (Bug#10596)
14613
14614 * progmodes/compile.el (compilation-next-error-function):
14615 Respect compilation-first-column in the "*compilation*" buffer.
14616 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14617
14618 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14619
14620 2012-01-24 Glenn Morris <rgm@gnu.org>
14621
14622 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14623
14624 2012-01-24 Julien Danjou <julien@danjou.info>
14625
14626 * color.el (color-rgb-to-hsl): Fix value computing.
14627 (color-hue-to-rgb): New function.
14628 (color-hsl-to-rgb): New function.
14629 (color-clamp, color-saturate-hsl, color-saturate-name)
14630 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14631 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14632
14633 2012-01-24 Glenn Morris <rgm@gnu.org>
14634
14635 * vc/vc-rcs.el (vc-rcs-create-tag):
14636 * vc/vc-sccs.el (vc-sccs-create-tag):
14637 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14638
14639 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14640
14641 * eshell/esh-util.el (eshell-read-hosts-file):
14642 Skip comment lines. (Bug#10549)
14643
14644 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14645
14646 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14647
14648 * subr.el (display-delayed-warnings): Doc fix.
14649 (collapse-delayed-warnings): New function to collapse identical
14650 adjacent warnings.
14651 (delayed-warnings-hook): Add it.
14652
14653 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14654
14655 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14656
14657 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14658 (tramp-default-user-alist): Don't add "pscp".
14659 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14660 property "login-as", if set. (Bug#10530)
14661
14662 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14663
14664 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14665 "plink1" and "psftp". (Bug#10530)
14666
14667 2012-01-21 Kenichi Handa <handa@m17n.org>
14668
14669 * international/mule-cmds.el (prefer-coding-system): Show a
14670 warning message if the default value of file-name-coding-system
14671 was not changed.
14672
14673 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14674
14675 * windmove.el (windmove-reference-loc):
14676 Fix windmove-reference-loc miscalculation.
14677
14678 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14679
14680 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14681 default unit.
14682
14683 2012-01-21 Glenn Morris <rgm@gnu.org>
14684
14685 * international/mule.el (auto-coding-alist): Add .tbz.
14686
14687 * files.el (local-enable-local-variables): Doc fix.
14688 (inhibit-local-variables-regexps): Rename from
14689 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14690 Doc fix. Add some extensions from auto-coding-alist.
14691 (inhibit-local-variables-suffixes):
14692 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14693 (inhibit-local-variables-p):
14694 New function, extracted from set-auto-mode-1.
14695 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14696 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14697 (hack-local-variables): Doc fix. Make the mode-only case
14698 respect enable-local-variables and friends.
14699 Respect inhibit-local-variables-regexps for file-locals, but
14700 not for directory-locals.
14701 (set-visited-file-name):
14702 Take account of inhibit-local-variables-regexps.
14703 Whether it applies may change as the file name is changed.
14704 * jka-cmpr-hook.el (jka-compr-install):
14705 * jka-compr.el (jka-compr-uninstall):
14706 Update for inhibit-first-line-modes-suffixes name change.
14707
14708 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14709
14710 * help-macro.el (make-help-screen): Temporarily restore original
14711 binding for minor-mode-map-alist (Bug#10454).
14712
14713 2012-01-19 Julien Danjou <julien@danjou.info>
14714
14715 * color.el (color-name-to-rgb): Use the white color to find the max
14716 color component value and return correctly computed values.
14717 (color-name-to-rgb): Add missing float conversion for max value.
14718
14719 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14720
14721 * window.el (window--state-get-1, window-state-get): Do not use
14722 special state value for window-persistent-parameters.
14723 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14724 (window--state-put-2): Reset all window parameters to nil before
14725 assigning values of persistent parameters.
14726
14727 2012-01-18 Alan Mackenzie <acm@muc.de>
14728
14729 Eliminate sluggishness and hangs in fontification of "semicolon
14730 deserts".
14731
14732 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14733 Change value 10000 -> 3000.
14734 (c-state-safe-place): Reformulate so it doesn't stack up an
14735 infinite number of wrong entries in c-state-nonlit-pos-cache.
14736 (c-determine-limit-get-base, c-determine-limit): New functions to
14737 determine backward search limits disregarding literals.
14738 (c-find-decl-spots): Amend commenting.
14739 (c-cheap-inside-bracelist-p): New function which detects "={".
14740
14741 * progmodes/cc-fonts.el
14742 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14743 backward search.
14744 (c-font-lock-declarations): Fix an occurrence of point being
14745 undefined. Check additionally for point being in a bracelist or
14746 near a macro invocation without a semicolon so as to avoid a
14747 fruitless time consuming search for a declarator. Give a more
14748 precise search limit for declarators using the new
14749 c-determine-limit.
14750
14751 2012-01-18 Glenn Morris <rgm@gnu.org>
14752
14753 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14754 (set-auto-mode): Doc fixes.
14755
14756 2012-01-17 Glenn Morris <rgm@gnu.org>
14757
14758 * isearch.el (search-nonincremental-instead): Fix doc typo.
14759
14760 * dired.el (dired-insert-directory): Handle newlines in directory name.
14761 (dired-build-subdir-alist): Unescape newlines in directory name.
14762
14763 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14764
14765 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14766 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14767 (tramp-action-terminal): Use it. (Bug#10530)
14768
14769 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14770
14771 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14772
14773 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14774
14775 * window.el (window-state-ignored-parameters): Remove variable.
14776 (window--state-get-1): Rename argument MARKERS to IGNORE.
14777 Handle persistent window parameters. Make copy of clone-of
14778 parameter only if requested. (Bug#10348)
14779 (window--state-put-2): Install a window parameter only if it has
14780 a non-nil value or an existing parameter shall be overwritten.
14781
14782 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14783
14784 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14785
14786 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14787
14788 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14789 don't pass the (nil) value of `upnode' to string-match.
14790
14791 2012-01-14 Chong Yidong <cyd@gnu.org>
14792
14793 * startup.el (command-line): Fix X resource class for cursorColor.
14794 Fix values recognized by the cursorBlink resource.
14795
14796 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14797
14798 * epg.el (epg--make-temp-file): Avoid permission race condition
14799 when running on old Emacs versions (bug#10403).
14800
14801 2012-01-14 Glenn Morris <rgm@gnu.org>
14802
14803 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14804
14805 2012-01-13 Alan Mackenzie <acm@muc.de>
14806
14807 Fix filling for when filladapt mode is enabled.
14808
14809 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14810 c-mask-paragraph, pass in `fill-paragraph' rather than
14811 `fill-region-as-paragraph'. (This is a reversion of a previous
14812 change.)
14813 * progmodes/cc-mode.el (c-basic-common-init):
14814 Make fill-paragraph-handle-comment buffer local and set it to nil.
14815
14816 2012-01-13 Glenn Morris <rgm@gnu.org>
14817
14818 * dired.el (dired-switches-escape-p): New function.
14819 (dired-insert-directory): Use dired-switches-escape-p.
14820 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14821
14822 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14823
14824 2012-01-12 Glenn Morris <rgm@gnu.org>
14825
14826 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14827 changes in adaptive-fill-regexp. (Bug#10276)
14828
14829 2012-01-11 Alan Mackenzie <acm@muc.de>
14830
14831 Fix Emacs bug #10463 - put `widen's around the critical spots.
14832
14833 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14834 widen around each invocation of c-state-pp-to-literal. Remove an
14835 unused let variable.
14836
14837 2012-01-11 Glenn Morris <rgm@gnu.org>
14838
14839 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14840 Doc fix.
14841
14842 2012-01-10 Chong Yidong <cyd@gnu.org>
14843
14844 * net/network-stream.el (network-stream-open-starttls):
14845 Avoid emitting a confusing error message when the server gives a bad
14846 response to the capability command.
14847
14848 2012-01-10 Glenn Morris <rgm@gnu.org>
14849
14850 * mail/unrmail.el (unrmail): Tweak previous change.
14851
14852 2012-01-09 Chong Yidong <cyd@gnu.org>
14853
14854 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14855
14856 2012-01-08 Alan Mackenzie <acm@muc.de>
14857
14858 Optimize font locking in long enum definitions.
14859
14860 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14861 arm to a cond form to handle enums.
14862 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14863 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14864
14865 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14866
14867 * files.el (move-file-to-trash): Preserve default file modes on error.
14868 (Bug#10401)
14869
14870 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14871
14872 * faces.el (set-face-attribute): Clarify the meaning of the nil
14873 frame (bug#10294).
14874
14875 * subr.el (with-selected-frame): Mention that the selected frame
14876 is restored (bug#9980).
14877
14878 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14879 (bug#9759).
14880
14881 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14882 (password-read): Don't autoload unused function.
14883
14884 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14885
14886 * progmodes/which-func.el (which-func-mode): Turn into a
14887 non-interactive function and mark as obsolete (bug#10428).
14888
14889 2012-01-06 Chong Yidong <cyd@gnu.org>
14890
14891 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14892 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14893 functions, along with 1 and -1.
14894
14895 2012-01-06 Eli Zaretskii <eliz@gnu.org>
14896
14897 * time.el (display-time-load-average)
14898 (display-time-default-load-average): Doc fixes. See the thread
14899 starting at
14900 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14901 for the details.
14902
14903 2012-01-06 Glenn Morris <rgm@gnu.org>
14904
14905 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14906 has no messages. (Bug#10377)
14907
14908 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14909 than Info-edit. (Bug#10385)
14910
14911 * time.el (display-time-load-average, display-time-next-load-average):
14912 Doc fixes.
14913
14914 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14915 local setting of buffer-read-only to the input buffer. (Bug#10419)
14916
14917 * calendar/calendar.el (calendar-mode):
14918 Locally set scroll-margin to 0. (Bug#10379)
14919
14920 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
14921
14922 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14923
14924 2012-01-05 Glenn Morris <rgm@gnu.org>
14925
14926 * eshell/em-unix.el (diff-no-select): Autoload it.
14927 (eshell/diff): Use diff-no-select. (Bug#10420)
14928
14929 2012-01-05 Chong Yidong <cyd@gnu.org>
14930
14931 * shell.el (shell-dynamic-complete-functions): Revert last change.
14932 (shell-command-completion-function): New function.
14933 (shell-completion-vars): Use it to implement
14934 shell-completion-execonly (Bug#10417).
14935
14936 * custom.el (enable-theme): Don't set custom-safe-themes.
14937
14938 * cus-theme.el (custom-theme-merge-theme):
14939 Ignore custom-enabled-themes and custom-safe-themes.
14940
14941 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14942
14943 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14944 first prompt in `sql-interacive-mode'.
14945 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
14946 keywords.
14947 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
14948 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14949 context of original buffer. Invoke `sql-login-hook'.
14950
14951 2012-01-04 Eli Zaretskii <eliz@gnu.org>
14952
14953 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14954 letters in cite-prefix.
14955
14956 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14957
14958 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14959
14960 2012-01-03 Chong Yidong <cyd@gnu.org>
14961
14962 * shell.el (shell-dynamic-complete-functions):
14963 Put pcomplete-completions-at-point, so as to try
14964 comint-filename-completion first (Bug#10417).
14965
14966 2012-01-02 Richard Stallman <rms@gnu.org>
14967
14968 * battery.el (battery-status-function):
14969 Detect when to use battery-yeeloong-sysfs.
14970 (battery-echo-area-format): Add string for Yeeloong.
14971 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14972 (battery-yeeloong-sysfs): New function.
14973
14974 2012-01-02 Chong Yidong <cyd@gnu.org>
14975
14976 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14977 (dirtrack): Merge code for handling relative filenames in prompt
14978 from shell-dir-cookie-watcher.
14979 (dirtrack-debug-message): New arg to avoid excess format calls.
14980
14981 * shell.el (shell-dir-cookie-re): Variable deleted.
14982 (shell-dir-cookie-watcher): Function deleted.
14983 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14984 with dirtrack-mode.
14985
14986 2012-01-01 Eli Zaretskii <eliz@gnu.org>
14987
14988 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14989 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
14990 libgnutls-26.dll.
14991
14992 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14993
14994 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14995
14996 2011-12-31 Eli Zaretskii <eliz@gnu.org>
14997
14998 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14999 headers of non-MIME messages, when rmail-enable-mime is non-nil.
15000
15001 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
15002
15003 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
15004 also for alternative shells.
15005 (tramp-open-connection-setup-interactive-shell): Check, whether
15006 the shell is a busybox.
15007 (tramp-send-command): Don't suppress multiple prompts for
15008 busyboxes, it hurts.
15009
15010 2011-12-28 Chong Yidong <cyd@gnu.org>
15011
15012 * progmodes/gdb-mi.el (gdb-get-source-file-list)
15013 (gdb-get-source-file): Move mode line update to
15014 gdb-get-source-file (Bug#10087).
15015
15016 2011-12-25 Chong Yidong <cyd@gnu.org>
15017
15018 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
15019 gud-gdb-marker-filter without taking it as an argument.
15020 (gud-gdb-run-command-fetch-lines): Caller changed.
15021 (gud-gdb-completion-function): New variable.
15022 (gud-gdb-completion-at-point): Use it.
15023 (gud-gdb-completions-1): Split from gud-gdb-completions.
15024
15025 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
15026 function as separate arguments.
15027 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
15028 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
15029 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
15030 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
15031 (gdb-stopped, def-gdb-auto-update-trigger)
15032 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
15033 (gdb-get-changed-registers, gdb-get-main-selected-frame):
15034 Callers changed.
15035 (gud-gdbmi-completions): New function.
15036 (gdb): Use it for generating the completion table.
15037
15038 2011-12-24 Alan Mackenzie <acm@muc.de>
15039
15040 Introduce a mechanism to widen the region used in context font
15041 locking. Use this to protect declarations from losing their contexts.
15042
15043 * progmodes/cc-langs.el (c-before-font-lock-functions):
15044 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
15045 (c-before-context-fontification-functions): New defvar, a list of
15046 functions to be run just before context (etc.) font locking.
15047
15048 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
15049 New, functionality extracted from
15050 c-neutralize-syntax-in-and-mark-CPP.
15051 (c-in-after-change-fontification): New variable.
15052 (c-after-change): Set c-in-after-change-fontification.
15053 (c-set-fl-decl-start): Rejig its interface, so it can be called
15054 from both after-change and context fontifying.
15055 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15056 New functions.
15057 (c-standard-font-lock-fontify-region-function): New variable.
15058 (c-font-lock-fontify-region): New function.
15059
15060 2011-12-24 Juri Linkov <juri@jurta.org>
15061
15062 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15063 (Bug#10348)
15064
15065 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
15066
15067 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15068 existence of source file. (Bug#10325)
15069
15070 2011-12-23 Alan Mackenzie <acm@muc.de>
15071
15072 Fix unstable fontification inside templates.
15073
15074 * progmodes/cc-langs.el (c-before-font-lock-functions):
15075 Newly created from the singular version. The (c c++ objc) entry now
15076 additionally has c-set-fl-decl-start. The other languages (apart
15077 from AWK) have that as a single entry.
15078
15079 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15080 The functionality for "local" declarations has been extracted to
15081 c-set-fl-decl-start.
15082
15083 * progmodes/cc-mode.el (c-common-init, c-after-change):
15084 Changes due to pluralisation of c-before-font-lock-functions.
15085 (c-set-fl-decl-start): New function, extracted from
15086 c-font-lock-enclosing-decls and enhanced.
15087
15088 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
15089
15090 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15091
15092 2011-12-22 Juri Linkov <juri@jurta.org>
15093
15094 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15095
15096 2011-12-22 Chong Yidong <cyd@gnu.org>
15097
15098 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15099
15100 2011-12-21 Drew Adams <drew.adams@oracle.com>
15101
15102 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15103
15104 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15105
15106 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15107
15108 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15109
15110 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15111 highlighting and support. Fix up comments for capitalization.
15112 (cfengine-mode-debug): New var.
15113 (cfengine3-mode): Change the modeline indicator to "CFE3".
15114 (cfengine3-font-lock-keywords): Improve defun highlighting.
15115 (cfengine2-actions): Rename from `cfengine-actions'.
15116 (cfengine2-font-lock-keywords): Rename from
15117 `cfengine-font-lock-keywords'.
15118 (cfengine2-imenu-expression): Rename from
15119 `cfengine-imenu-expression'.
15120 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15121 (cfengine2-beginning-of-defun): Rename from
15122 `cfengine-beginning-of-defun'.
15123 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15124 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15125 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15126 modeline indicator to "CFE2".
15127 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15128 (cfengine-mode-abbrevs): Mark obsolete.
15129
15130 2011-12-21 Chong Yidong <cyd@gnu.org>
15131
15132 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15133 filename argument.
15134
15135 2011-12-20 Martin Rudalics <rudalics@gmx.at>
15136
15137 * window.el (window-normalize-buffer-to-display): Remove.
15138 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15139
15140 2011-12-19 Chong Yidong <cyd@gnu.org>
15141
15142 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15143 Don't signal an error in a predicate function; return non-nil.
15144 (vc-dir-mark-file): Move the error here.
15145 (vc-dir-mark-unmark): If acting on the region, keep going if one
15146 of the entries cannot be marked/unmarked.
15147 (vc-dir-mark-all-files): If current entry is a directory, mark
15148 only child files, as documented.
15149
15150 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15151
15152 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15153 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15154 addition.
15155
15156 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15157
15158 * term/ns-win.el (ns-get-selection-internal)
15159 (ns-store-selection-internal): Declare.
15160 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15161 Declare as obsolete.
15162 (ns-get-pasteboard, ns-paste-secondary):
15163 Use ns-get-selection-internal.
15164 (ns-set-pasteboard, ns-copy-including-secondary):
15165 Use ns-store-selection-internal.
15166
15167 2011-12-17 Chong Yidong <cyd@gnu.org>
15168
15169 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15170 (vc-deduce-fileset): Doc fix.
15171
15172 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15173
15174 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15175
15176 2011-12-13 Sam Steingold <sds@gnu.org>
15177
15178 * man.el (Man-getpage-in-background): When running under a
15179 window-system, ignore $MANWIDTH and $COLUMNS.
15180
15181 2011-12-15 Kenichi Handa <handa@m17n.org>
15182
15183 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15184 (setup-ethiopic-environment-internal): Comment out key-binding for
15185 ethio-toggle-punctuation.
15186
15187 2011-12-13 Alan Mackenzie <acm@muc.de>
15188
15189 Add the switch statement to AWK Mode.
15190
15191 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15192 "default" to the keywords regexp.
15193
15194 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15195 expression as the rest.
15196 (c-nonlabel-token-key): Allow string literals for AWK.
15197 Refactor for the other modes.
15198
15199 Large brace-block initialisation makes CC Mode slow: Fix.
15200 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15201 routines. Limit backward searching in c-font-lock-enclosing.decl.
15202
15203 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15204 pp-state and literal type in addition to the limits.
15205 (c-state-safe-place): New defun, extracted from c-state-literal-at.
15206 (c-state-literal-at): Use the above new defun.
15207 (c-slow-in-literal, c-fast-in-literal): Remove.
15208 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15209
15210 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15211 being in a literal. Add a limit for backward searching.
15212
15213 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15214 c-slow-in-literal.
15215
15216 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15217
15218 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15219
15220 2011-12-13 Martin Rudalics <rudalics@gmx.at>
15221
15222 * window.el (delete-other-windows): Use correct frame in call to
15223 window-with-parameter.
15224
15225 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15226
15227 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15228 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15229 (makefile-gmake-statements, makefile-makepp-statements):
15230 Use it and add new makepp keywords.
15231 (makefile-makepp-font-lock-keywords): Add new patterns.
15232 (makefile-match-function-end): Match new [...] and [[...]].
15233
15234 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15235
15236 * ses.el (ses-call-printer-return, ses-cell-property-get)
15237 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15238 (ses-create-cell-variable, ses-reset-header-string)
15239 (ses-cell-set-formula, ses-repair-cell-reference-all)
15240 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15241 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15242 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15243 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15244 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15245 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15246 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15247 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15248 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15249 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15250 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15251 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15252
15253 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15254
15255 * ses.el: The overall change is to add cell renaming, that is
15256 setting fancy names for cell symbols other than name matching
15257 "\\`[A-Z]+[0-9]+\\'" regexp .
15258 (ses-create-cell-variable): New defun.
15259 (ses-relocate-formula): Relocate formulas only for cells the
15260 symbols of which are not renamed, i.e. symbols whose names do not
15261 match regexp "\\`[A-Z]+[0-9]+\\'".
15262 (ses-relocate-all): Relocate values only for cells the symbols of
15263 which are not renamed.
15264 (ses-load): Create cells variables as the (ses-cell ...) are read,
15265 in order to check row col consistency with cell symbol name only
15266 for cells that are not renamed.
15267 (ses-replace-name-in-formula): New defun.
15268 (ses-rename-cell): New defun.
15269
15270 2011-12-11 Chong Yidong <cyd@gnu.org>
15271
15272 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15273 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15274
15275 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15276
15277 * window.el (other-window): Fix docstring.
15278
15279 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15280
15281 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15282 `from' or `to' address before taking its substring.
15283 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15284 encoded name is chopped in the middle of the encoded string, and
15285 thus displayed encoded.
15286
15287 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15288
15289 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15290
15291 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15292
15293 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15294 to use texinfo-update-node and commands that call it if the
15295 Texinfo file uses @node lines without next/prev/up pointers.
15296 Correct outdated description about texinfo-master-menu.
15297 (texinfo-all-menus-update, texinfo-master-menu)
15298 (texinfo-update-node, texinfo-every-node-update)
15299 (texinfo-multiple-files-update): Doc fix. Warn against updating
15300 all the @node lines.
15301 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15302 argument is numeric. Explain better in the doc string what the
15303 function really does.
15304 (texinfo-insert-master-menu-list): Improve the error message
15305 displayed if there's no menu in the Top node.
15306 (Bug#2975) See also this thread:
15307 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15308
15309 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15310
15311 * speedbar.el (speedbar-supported-extension-expressions):
15312 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15313
15314 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15315
15316 * printing.el (pr-mode-alist):
15317 * simple.el (filter-buffer-substring-functions)
15318 (completion-list-insert-choice-function):
15319 * window.el (window-with-parameter, window-atom-root)
15320 (window-sides-slots, window-size-fixed, window-min-delta)
15321 (window-max-delta, window--resize-mini-window)
15322 (window--resize-child-windows-normal, window-tree)
15323 (delete-other-windows, quit-window, split-window)
15324 (display-buffer-record-window, special-display-buffer-names)
15325 (special-display-regexps, special-display-popup-frame)
15326 (same-window-p, split-window-sensibly)
15327 (display-buffer-overriding-action, display-buffer-alist)
15328 (display-buffer-base-action, display-buffer, switch-to-buffer)
15329 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15330 (fit-window-to-buffer, recenter-positions)
15331 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15332 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15333 and remove unneeded backslashes in docstrings.
15334
15335 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15336
15337 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15338
15339 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15340 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15341 end in ".mk".
15342 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15343 when reading the makefile (bug#10116).
15344
15345 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15346
15347 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15348 (bug#10116).
15349
15350 2011-12-06 Glenn Morris <rgm@gnu.org>
15351
15352 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15353
15354 2011-12-06 Chong Yidong <cyd@gnu.org>
15355
15356 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15357
15358 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15359
15360 * textmodes/table.el (table-shorten-cell): Fix typo.
15361
15362 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15363
15364 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15365
15366 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15367
15368 * descr-text.el (describe-char): Fix display of strong
15369 right-to-left characters and directional embeddings and overrides.
15370
15371 * simple.el (what-cursor-position): Fix display of codepoints of
15372 strong right-to-left characters.
15373
15374 2011-12-05 Chong Yidong <cyd@gnu.org>
15375
15376 * faces.el (read-color): Doc fix.
15377
15378 2011-12-05 Glenn Morris <rgm@gnu.org>
15379
15380 * align.el (align--set-marker): Add doc-string.
15381 Don't try to move something that is not a marker. (Bug#10216)
15382
15383 2011-12-04 Glenn Morris <rgm@gnu.org>
15384
15385 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15386 overly zealous deletion of trailing whitespace.
15387
15388 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15389
15390 * server.el (server-delete-client): On Windows, do not try to delete
15391 the only terminal.
15392 (server-process-filter): On Windows, treat requests for a tty frame as
15393 if they were for a GUI frame if the running server is in GUI mode.
15394
15395 2011-12-03 Glenn Morris <rgm@gnu.org>
15396
15397 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15398
15399 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15400
15401 * electric.el: Streamline electric-indent's hook.
15402 (electric-indent-chars): Revert to simple list.
15403 (electric-indent-functions): New var.
15404 (electric-indent-post-self-insert-function): Use it.
15405
15406 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15407 there's no inferior buffer (bug#10196).
15408 (prolog-consult-compile): Don't use toggle-read-only.
15409
15410 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15411
15412 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15413 interrupt. (Bug#10187)
15414
15415 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15416
15417 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15418 (bug#9160).
15419
15420 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15421 (bug#10191).
15422
15423 2011-12-02 Juri Linkov <juri@jurta.org>
15424
15425 * info.el (Info-search): Display "end of manual" when Isearch
15426 reaches the end of single-file Info manual. (Bug#9918)
15427
15428 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15429
15430 * isearch.el (isearch-message-prefix): Run the input method part
15431 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15432
15433 2011-12-02 Juri Linkov <juri@jurta.org>
15434
15435 * isearch.el (isearch-occur): Use `word-search-regexp' for
15436 `isearch-word'.
15437 (isearch-search-and-update): Add condition for `isearch-word' and
15438 call `word-search-regexp'. (Bug#10145)
15439
15440 2011-12-01 Glenn Morris <rgm@gnu.org>
15441
15442 * eshell/em-hist.el (eshell-hist-initialize):
15443 Handle eshell-history-size nil and HISTSIZE set or unset.
15444 (eshell-history-file-name, eshell-history-size): Fix custom type.
15445
15446 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15447
15448 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15449
15450 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15451
15452 * progmodes/verilog-mode.el (verilog-pretty-expr):
15453 Rework verilog-pretty-expr to handle new assignment operators in system
15454 verilog, such as += *= and the like.
15455 (verilog-assignment-operator-re): Regular expression to find the
15456 assigment operator in a verilog assignment.
15457 (verilog-assignment-operation-re): Regular expression to find an
15458 assignment statement for pretty-expr.
15459 (verilog-in-attribute-p): Query returns true if point is in an
15460 attribute context; used to skip these for expression line up from
15461 pretty-expr.
15462 (verilog-in-parameter-p): Query returns true if point is in an
15463 parameter definition context; used to skip these for expression
15464 line up from pretty-expr.
15465 (verilog-in-parenthesis-p): Query returns true if point is in a
15466 parenthetical expression, specifically ( ) but not [ ] or { };
15467 used by pretty-expr.
15468 (verilog-just-one-space): If there is no space, don't add one.
15469 (verilog-get-lineup-indent-2): Specifically skip just attribute
15470 contexts for expression lineup, rather than skipping all
15471 parenthetical expressions.
15472 (verilog-calculate-indent): Fix comment, and fix indent.
15473 (verilog-do-indent): Indent declarations in lists (suggested by
15474 Joachim Lechner).
15475 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15476 skeleton items.
15477 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15478 by Alain Mellan).
15479
15480 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15481
15482 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15483 parameters with embedded comments. Reported by Ray Stevens.
15484 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15485 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15486 Reported by Tim Holt.
15487 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15488 instantiated by upper module causing wrong expansion until AUTOed a
15489 second time. Reported by K C Buckenmaier.
15490 (verilog-diff-auto): Fix showing .* as a difference when
15491 `verilog-auto-star-save' off. Reported by Dan Dever.
15492 (verilog-auto-reset, verilog-read-always-signals)
15493 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15494 temporary signals in reset list if
15495 verilog-auto-reset-blocking-in-non is nil, and match assignment
15496 style to each signal's assignment type, bug381.
15497 Reported by Thomas Esposito.
15498 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15499 (verilog-uvm-statement-re): Support UVM indentation and
15500 highlighting, with old OVM keywords only.
15501 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15502 Support AUTOTIEOFF creating non-wire data types.
15503 Suggested by Jonathan Greenlaw.
15504 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15505 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15506 (verilog-inject-sense, verilog-read-inst-pins)
15507 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15508 Fix mismatching parenthesis inside commented out code when deleting
15509 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15510 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15511 non-numeric vector width. Reported by Alex Reed.
15512 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15513 detecting signals with parameter widths. Reported by Alex Reed.
15514 (verilog-auto-delete-trailing-whitespace):
15515 With `verilog-auto-delete-trailing-whitespace' remove trailing
15516 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15517 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15518 Fix verilog-scan-cache corruption when running user AUTO expansion
15519 hooks that call indentation routines.
15520 (verilog-simplify-range-expression): Fix typo ignoring lower case
15521 identifiers.
15522 (verilog-delete-auto): Fix delete-autos to also remove user created
15523 automatics, as long as they start with AUTO.
15524 (verilog-batch-diff-auto, verilog-diff-auto)
15525 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15526 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15527 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15528 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15529 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15530 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15531 is disabled and its cache will get corrupt, causing AUTOS not to
15532 expand. Instead use only -quick functions.
15533 (verilog-scan-region): Fix scanning over escaped quotes.
15534 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15535 (verilog-re-search-backward-quick)
15536 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15537 related functions now ignore strings, to fix misparsing of strings
15538 with magic comments embedded in them.
15539 (verilog-read-auto-template):
15540 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15541 Reported by Brad Dobbie.
15542 (verilog-read-auto-template):
15543 Fix 'verilog-auto-inst-template-numbers' with comments.
15544 Reported by Brad Dobbie.
15545 (verilog-auto-inst, verilog-auto-inst-param)
15546 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15547 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15548 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15549 debugging templates without merge conflicts, bug357.
15550 Reported by Brad Dobbie.
15551 (verilog-read-auto-template):
15552 Fix verilog-auto-inst-template-numbers with multiple templates.
15553 Reported by Brad Dobbie.
15554 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15555 abbrevs so user won't be asked to save.
15556 (verilog-read-auto-lisp-present): Fix to start at beginning of
15557 buffer in case called outside of verilog-auto.
15558 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15559 to "X-2". Reported by Matthew Myers.
15560 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15561 all inputs from module templates. Reported by Leith Johnson.
15562 (verilog-module-inside-filename-p): Fix locating programs as with
15563 modules.
15564 (verilog-auto-inst-port): Fix vl-width expressions when using
15565 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15566 (verilog-decls-get-regs, verilog-decls-get-signals,
15567 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15568 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15569 verilog-read-decls): Combine reg and wire structures into one var
15570 structure to represent SystemVerilog concepts.
15571 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15572 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15573 (verilog-auto-wire-type, verilog-insert-definition):
15574 Add verilog-auto-wire-type and AUTOLOGIC to support using
15575 SystemVerilog "logic" keyword instead of "wire"/"reg".
15576 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15577 to declares outputs that also have assignments (presumably in an
15578 ifdef or generate if so there's not a driver conflict).
15579 Reported by Matthew Myers.
15580 (verilog-auto-declare-nettype, verilog-insert-definition):
15581 Add verilog-auto-declare-nettype to fix declarations using
15582 `default_nettype none. Reported by Julian Gorfajn.
15583 (verilog-read-always-signals-recurse, verilog-read-decls)
15584 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15585 malformed end statement, bug325. Reported by Joshua Wise and
15586 Andrew Drake.
15587 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15588 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15589 when expanding .* in interfaces, bug320.
15590 Reported by Pierre-David Pfister.
15591 (verilog-read-module-name): Fix import statements between module
15592 name and open parenthesis, bug317.
15593 Reported by Pierre-David Pfister.
15594 (verilog-simplify-range-expression): Fix simplification of
15595 multiplications inside AUTOWIRE connections, bug303.
15596 (verilog-auto-inst-port): Support parameter expansion in
15597 multidimensional arrays.
15598 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15599 after "assert property". Reported by Julian Gorfajn.
15600 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15601 with multiplication, bug303.
15602 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15603 Reported by Jan Frode Lonnum.
15604
15605 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15606
15607 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15608 (hfy-shell-file-name, hfy-shell):
15609 * international/fontset.el (x-decompose-font-name): Fix typos.
15610
15611 2011-11-29 Ken Brown <kbrown@cornell.edu>
15612
15613 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15614 (gdb-version): Remove defvar.
15615 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15616 (gdb-gud-context-command, gdb-non-stop-handler)
15617 (gdb-current-context-command, gdb-stopped): Use it.
15618 (gdb-init-1): Enable pretty printing here.
15619 (gdb-non-stop-handler): Don't enable pretty-printing here.
15620 Check to see if the target supports non-stop mode; if not, turn off
15621 non-stop mode. Use the following.
15622 (gdb-check-target-async): New defun.
15623 (gud-watch, gdb-stopped): Fix whitespace.
15624 (gdb-get-source-file): Don't try to display the source file if
15625 `gdb-main-file' is nil.
15626
15627 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15628
15629 * align.el: Try to generate fewer markers (bug#10047).
15630 (align--set-marker): New macro.
15631 (align-region): Use it.
15632
15633 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15634
15635 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15636
15637 2011-11-29 Chong Yidong <cyd@gnu.org>
15638
15639 * indent.el (indent-for-tab-command, indent-according-to-mode):
15640 Doc fix.
15641 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15642
15643 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15644
15645 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15646 aware of remote file names. (Bug#10124)
15647
15648 2011-11-29 Chong Yidong <cyd@gnu.org>
15649
15650 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15651
15652 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15653
15654 * files.el (find-file): Don't use force-same-window (bug#10144).
15655 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15656 use pop-to-buffer if the selected window can't be used.
15657 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15658
15659 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15660
15661 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15662 special-mode-map.
15663
15664 2011-11-28 Chong Yidong <cyd@gnu.org>
15665
15666 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15667
15668 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15669
15670 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15671 gdb-get-source-file-list on gdb-create-source-file-list.
15672
15673 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15674
15675 * whitespace.el (whitespace-newline): Use a different foreground
15676 color for 16-color light-background displays.
15677
15678 2011-11-24 Chong Yidong <cyd@gnu.org>
15679
15680 * window.el (display-buffer--special-action): Doc fix.
15681
15682 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15683
15684 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15685 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15686 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15687 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15688 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15689 (avl-tree-stack-first):
15690 * emacs-lisp/cconv.el (cconv--analyse-use):
15691 * net/gnutls.el (gnutls-negotiate): Fix typos.
15692
15693 2011-11-24 Glenn Morris <rgm@gnu.org>
15694
15695 * lpr.el (lpr-windows-system, lpr-lp-system):
15696 * mail/binhex.el (binhex-begin-line):
15697 * progmodes/grep.el (grep-history, grep-find-history):
15698 * textmodes/flyspell.el:
15699 * vc/pcvs-defs.el (cvs-global-menu):
15700 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15701 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15702 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15703
15704 * net/tls.el: Fix case of "GnuTLS".
15705
15706 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15707
15708 * version.el (emacs-build-system): Give it a doc-string.
15709
15710 2011-11-24 Juri Linkov <juri@jurta.org>
15711
15712 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15713
15714 2011-11-24 Glenn Morris <rgm@gnu.org>
15715
15716 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15717 if called on a non-mime message just toggle the headers. (Bug#8006)
15718
15719 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15720
15721 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15722 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15723 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15724 (allout-rebullet-heading, allout-open-sibtopic)
15725 (allout-toggle-current-subtree-encryption)
15726 (allout-toggle-subtree-encryption, allout-encrypt-string)
15727 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15728 (allout-distinctive-bullets-string, allout-auto-activation):
15729 * window.el (window-normalize-buffer-to-display):
15730 * progmodes/verilog-mode.el (verilog-batch-indent):
15731 * textmodes/bibtex.el (bibtex-field-braces-opt)
15732 (bibtex-field-strings-opt):
15733 * vc/cvs-status.el (cvs-tree-merge):
15734 Fix typos.
15735
15736 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15737
15738 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15739 `non-essential' to t, in order to avoid remote connections.
15740
15741 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15742
15743 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15744 On MS-DOS and MS-Windows, compare with loaddefs.el
15745 case-insensitively.
15746
15747 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15748
15749 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15750
15751 2011-11-23 Glenn Morris <rgm@gnu.org>
15752
15753 * paths.el (rmail-file-name): Reformat the doc-string so that it
15754 is picked up.
15755
15756 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15757 (rmail-auto-file): Ignore case in the "special" field names,
15758 as mail-fetch-field does for all others.
15759
15760 * mail/rmail.el (rmail-forward):
15761 * mail/rmailkwd.el (rmail-set-label):
15762 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15763 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15764
15765 * mail/rmail.el (rmail-current-message): Doc fix.
15766
15767 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15768
15769 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15770
15771 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15772
15773 2011-11-22 Glenn Morris <rgm@gnu.org>
15774
15775 * mail/rmailmm.el (test-rmail-mime-handler)
15776 (test-rmail-mime-bulk-handler)
15777 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15778
15779 2011-11-21 Juri Linkov <juri@jurta.org>
15780
15781 * calc/calc.el (calc-read-key-sequence):
15782 Let-bind `input-method-function' to nil. (Bug#10018)
15783
15784 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15785
15786 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15787 Tell the caller that the next line needs recomputation, even
15788 though it doesn't start a sexp (bug#10094).
15789
15790 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15791
15792 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15793
15794 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15795
15796 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15797 Use force-same-window.
15798
15799 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15800
15801 * descr-text.el (describe-char-unicode-data):
15802 * json.el (json-string-escape):
15803 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15804 (Footnote-unicode, Footnote-style-p):
15805 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15806
15807 2011-11-20 Chong Yidong <cyd@gnu.org>
15808
15809 * window.el (replace-buffer-in-windows): Restore interactive spec.
15810
15811 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15812
15813 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15814
15815 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15816 (byte-compile-global-not-obsolete-vars): New var.
15817 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15818 Use it.
15819 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15820
15821 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15822
15823 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15824 * progmodes/pascal.el (electric-pascal-equal):
15825 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15826 * xml.el (xml-substitute-special): Fix typos.
15827
15828 2011-11-20 Glenn Morris <rgm@gnu.org>
15829
15830 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15831 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15832 Doc fixes.
15833 (rmail-decode-mime-charset): Mark as obsolete.
15834
15835 * mail/rmailsum.el (rmail-message-regexp-p-1):
15836 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15837 Before using mime functions, check they are set. (Bug#10077)
15838
15839 2011-11-19 Juri Linkov <juri@jurta.org>
15840
15841 * info.el (Info-finder-find-node): Use `package--builtins' instead
15842 of `package-alist'. Use node names formed by the pattern "Keyword "
15843 and the keyword name.
15844
15845 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15846
15847 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15848
15849 2011-11-19 Juri Linkov <juri@jurta.org>
15850
15851 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15852 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15853 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15854 `old-history', `old-history-forward'. Add let-binding
15855 `window-selected'. Remove calls to `kill-buffer',
15856 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15857 before calling `Info-find-node', so `Info-find-node-2' will reread
15858 the Info file. Restore window positions only when `window-selected'
15859 is non-nil.
15860
15861 2011-11-19 Juri Linkov <juri@jurta.org>
15862
15863 * isearch.el (isearch-lazy-highlight-new-loop):
15864 Remove condition `(not isearch-error)'. (Bug#9918)
15865
15866 * misearch.el (multi-isearch-search-fun): Add condition
15867 `(not bound)' to ignore lazy-highlighting search.
15868 Add the search-failed message "end of multi" when the end of
15869 multi-sequence is reached. Uncapitalize the search-failed
15870 message "Repeat for next buffer".
15871
15872 * info.el (Info-search): Add the search-failed message
15873 "end of the manual" when the end of the manual is reached
15874 in Isearch mode.
15875
15876 2011-11-19 Juri Linkov <juri@jurta.org>
15877
15878 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15879 Use non-destructive `remove' instead of `delete' because
15880 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15881 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15882
15883 2011-11-19 Juri Linkov <juri@jurta.org>
15884
15885 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15886 to nil instead of binding `search-ring' and `regexp-search-ring'.
15887 (Bug#9185)
15888
15889 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15890
15891 * simple.el (line-move): Force movement by logical lines for any
15892 hscrolled window, not only when auto-hscroll-mode is on.
15893 (line-move-visual): Update doc string to that effect. (Bug#10076)
15894
15895 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15896
15897 * language/european.el (macintosh): Define as alias for mac-roman.
15898
15899 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15900
15901 * mail/rmailmm.el (rmail-mime-display-header)
15902 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15903 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15904 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15905 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15906 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15907 of a raw aref.
15908 (rmail-mime-entity-segment): To get past the tagline, move forward
15909 2 more lines, to account for the 2 empty lines that precede and
15910 follow the line with the buttons.
15911 (rmail-mime-update-tagline): Move one more line, to get past the
15912 empty line that follows the buttons in the tagline. (Bug#9520)
15913
15914 2011-11-19 Martin Rudalics <rudalics@gmx.at>
15915
15916 * window.el (window-max-delta-1, window-min-delta-1)
15917 (window-min-size-1, window-state-get-1, window-state-put-1)
15918 (window-state-put-2): Use "window--" prefix.
15919
15920 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15921
15922 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15923 (smie-warning-count): New var.
15924 (smie-set-prec2tab): Use it.
15925 (smie-bnf->prec2): Improve warnings. Add docstring.
15926 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15927 (smie-bnf--set-class): New function.
15928 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15929 corner case.
15930
15931 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15932 (compilation-error-properties, compilation-move-to-column):
15933 Handle compilation-first-column while in the target buffer.
15934
15935 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15936 Don't hardcode point-min==1.
15937
15938 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15939 (eshell-rewrite-for-command): Remove workaround.
15940 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15941 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15942 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15943
15944 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15945
15946 2011-11-17 Glenn Morris <rgm@gnu.org>
15947
15948 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15949 Ignore buffer-local generated-autoload-file if it is the same
15950 as the global value. (Bug#10049)
15951
15952 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
15953
15954 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15955 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15956 (reftex-toc-previous-heading, reftex-toc-max-level)
15957 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15958 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15959 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15960 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15961 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15962 (reftex-toc-rename-label, reftex-toc-visit-location)
15963 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15964 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15965 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15966 leaving "*toc*" only for references to the buffer.
15967
15968 2011-11-17 Martin Rudalics <rudalics@gmx.at>
15969
15970 * window.el (window-resize, delete-window, split-window):
15971 Replace window-splits by window-combination-resize.
15972 * cus-start.el (window-splits): Replace by window-combination-resize.
15973
15974 2011-11-17 Glenn Morris <rgm@gnu.org>
15975
15976 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15977 Make bash entry derive from sh entry, not shell entry.
15978
15979 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
15980
15981 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15982 local file name.
15983
15984 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15985
15986 * menu-bar.el (menu-bar-file-menu):
15987 * printing.el (pr-ps-utility):
15988 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15989 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15990 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15991 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15992 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15993 (icalendar--convert-cyclic-to-ical)
15994 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15995 (icalendar--convert-ical-to-diary)
15996 (icalendar--convert-recurring-to-diary)
15997 (icalendar--convert-non-recurring-all-day-to-diary)
15998 (icalendar-import-format-sample):
15999 * progmodes/idlw-shell.el (idlwave-shell-mode):
16000 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
16001 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
16002 (vhdl-ps-print-init): Fix typos.
16003
16004 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
16005
16006 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
16007 FSF and collapse date sequence, obscure author/maintainer email address
16008 better, remove extra version line, track relocation of author's webpage.
16009
16010 * progmodes/python.el (python-pdbtrack-input-prompt)
16011 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
16012 regular python pdb prompts. Adjustments shamelessly taken exactly as
16013 suggested in EmacsWiki page (tiny change):
16014 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
16015
16016 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
16017
16018 * expand.el (expand-pos, expand-index, expand-point):
16019 Remove redundant info from docstring.
16020 (expand-add-abbrevs): Doc fix.
16021 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
16022 (expand-sample-perl-mode-expand-list): Fix typos.
16023
16024 * net/dbus.el (dbus-event-member-name):
16025 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
16026 * term/pc-win.el (msdos-create-frame-with-faces):
16027 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
16028
16029 2011-11-16 Martin Rudalics <rudalics@gmx.at>
16030
16031 * window.el (split-window, window-state-get-1)
16032 (window-state-put-1, window-state-put-2): Rename occurrences of
16033 window-nest to window-combination-limit.
16034 * cus-start.el (window-nest): Rename to window-combination-limit.
16035
16036 2011-11-16 Chong Yidong <cyd@gnu.org>
16037
16038 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
16039 regexp (Bug#10033).
16040
16041 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
16042
16043 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
16044 `completing-read' will remove *Completions* and will preserve
16045 current-buffer for us.
16046 (tmm-add-prompt): Users of *Completions* will always (re)set its
16047 major mode.
16048 (tmm-old-comp-map): Remove.
16049
16050 2011-11-16 Glenn Morris <rgm@gnu.org>
16051
16052 * mail/rmailedit.el: Require rmailmm when compiling.
16053 (rmail-old-mime-state): New declaration.
16054 (rmail-edit-current-message): If editing a mime message,
16055 edit the "raw" message from the mbox buffer.
16056 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16057
16058 2011-11-15 Glenn Morris <rgm@gnu.org>
16059
16060 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16061 which wasn't being used. Add optional arg to force given state.
16062 (rmail-mime): Add optional arg to force given state.
16063
16064 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16065
16066 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16067 * frame.el (display-mm-dimensions-alist):
16068 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16069 (outline-move-subtree-down):
16070 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16071 (newsticker--treeview-do-get-node):
16072 * net/quickurl.el (quickurl-list-buffer-name):
16073 * progmodes/dcl-mode.el (dcl-mode):
16074 * progmodes/gdb-mi.el (gdb-mapcar*):
16075 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16076
16077 2011-11-15 Glenn Morris <rgm@gnu.org>
16078
16079 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16080 in a boolean sense, so just make it a boolean, and fix the doc.
16081 (rmail-show-mime-function, rmail-mime-feature)
16082 (rmail-require-mime-maybe): Doc fixes.
16083 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16084
16085 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16086
16087 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16088
16089 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16090 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16091 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16092 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16093
16094 2011-11-15 Glenn Morris <rgm@gnu.org>
16095
16096 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16097 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16098 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16099 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16100 (rmail-mime, rmail-show-mime): Doc fixes.
16101
16102 * term/ns-win.el (mode-line-frame-identification):
16103 Leave it alone. (Bug#10051)
16104
16105 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16106
16107 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16108 Handle empty buffers. (Bug#9978)
16109
16110 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
16111
16112 * international/mule.el (define-charset):
16113 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16114 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16115 * progmodes/verilog-mode.el (verilog-backward-token):
16116 * textmodes/ispell.el (lookup-words):
16117 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16118
16119 2011-11-14 Glenn Morris <rgm@gnu.org>
16120
16121 * progmodes/executable.el
16122 (executable-make-buffer-file-executable-if-script-p):
16123 Handle file-modes returning nil.
16124
16125 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16126 message - not necessary, and causes problems. (Bug#9831)
16127
16128 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16129
16130 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16131
16132 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16133 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16134 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16135
16136 2011-11-12 Martin Rudalics <rudalics@gmx.at>
16137
16138 * window.el (window-resize, delete-window): Use window-splits
16139 variable instead of function.
16140 (window-state-get-1, window-state-put-2, window-state-put):
16141 Don't deal with windows' splits status.
16142
16143 2011-11-12 Glenn Morris <rgm@gnu.org>
16144
16145 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16146 (apropos-documentation): Doc fixes.
16147
16148 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
16149
16150 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16151 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16152
16153 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16154
16155 * electric.el (electric-indent-post-self-insert-function): Make it
16156 possible for a char to only indent in some circumstances.
16157 (electric-indent-mode): Simplify.
16158
16159 2011-11-11 Martin Rudalics <rudalics@gmx.at>
16160
16161 * window.el (windows-with-parameter): Remove unused function.
16162 (windows-at-side): Rename to window-at-side-list.
16163 (window-check, window-atom-check, window-atom-check-1)
16164 (window-side-check, window-size-ignore, window-size-fixed-1)
16165 (window-in-direction-2): Prefix with "window--".
16166 (window-tree-1): Rename to window--subtree, fix doc-string.
16167
16168 2011-11-11 Glenn Morris <rgm@gnu.org>
16169
16170 * subr.el (eval-after-load): If FILE is already loaded,
16171 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16172
16173 2011-11-10 Glenn Morris <rgm@gnu.org>
16174
16175 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16176 Call svn via vc-svn-command rather than vc-do-command.
16177 (vc-svn-command): Add --non-interactive. (Bug#9993)
16178 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16179
16180 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16181 Add toggle-read-only. (Bug#7292)
16182 * files.el (toggle-read-only): Mention that it should only
16183 be used interactively. (Bug#10006)
16184
16185 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16186
16187 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16188 Adjust regexp for OCaml warnings.
16189
16190 * electric.el (electric-pair-post-self-insert-function): Let user
16191 turn it off buffer-locally (bug#9932).
16192
16193 * progmodes/python.el (python-beginning-of-statement):
16194 Rewrite (bug#2703).
16195
16196 * progmodes/compile.el: Better handle TABs (bug#9749).
16197 (compilation-internal-error-properties)
16198 (compilation-next-error-function): Obey the target buffer's
16199 compilation-error-screen-columns.
16200
16201 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
16202
16203 * progmodes/meta-mode.el: Remove obsolete comments.
16204 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16205 Fix typos in docstrings.
16206
16207 2011-11-09 Martin Rudalics <rudalics@gmx.at>
16208
16209 * window.el (window-size-fixed-p): Rewrite doc-string.
16210 (window-resizable-p): Rename to window--resizable-p. Update callers.
16211 (window--resizable): New function. Make all callers of
16212 window-resizable call window--resizable instead.
16213 (window-resizable): Rewrite in terms of window--resizable.
16214
16215 2011-11-08 Glenn Morris <rgm@gnu.org>
16216
16217 * progmodes/delphi.el (delphi-mode-syntax-table):
16218 Let define-derived-mode define a proper syntax table. (Bug#9994)
16219
16220 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16221
16222 * window.el: Stay away from defsubst.
16223 (window-list-no-nils): Remove.
16224 (window-state-get-1, window-state-get): Use backquote instead.
16225
16226 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16227
16228 * emacs-lisp/find-func.el (find-function-read):
16229 Fix incorrect use of default argument in `completing-read'.
16230
16231 2011-11-08 Martin Rudalics <rudalics@gmx.at>
16232
16233 * window.el (display-buffer-function, special-display-function):
16234 Mention display-buffer-record-window but do not mention
16235 help-setup parameter in doc-strings.
16236 (window-min-delta): Fix doc-string typo.
16237
16238 2011-11-08 Chong Yidong <cyd@gnu.org>
16239
16240 * window.el (window-total-height, window-total-width): Doc fix.
16241 (window-body-size): Move from C.
16242 (window-body-height, window-body-width): Move to C.
16243
16244 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16245
16246 * window.el: Make special-display like display-buffer-alist (bug#9532).
16247 (display-buffer--special-action): New function, morphed
16248 from display-buffer--special.
16249 (display-buffer): Use it to handle special-display-buffers at higher
16250 priority (just after display-buffer-alist).
16251 (display-buffer-fallback-action, display-buffer--other-frame-action)
16252 (pop-to-buffer-same-window): Remove display-buffer--special.
16253
16254 2011-11-07 Glenn Morris <rgm@gnu.org>
16255
16256 * calendar/cal-menu.el (cal-menu-set-date-title):
16257 Do nothing if not in a calendar. (Bug#9976)
16258
16259 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16260
16261 * files.el (find-file): Always use selected-window.
16262
16263 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16264
16265 * window.el (window-combinations): Make WINDOW argument
16266 mandatory. Rewrite doc-string.
16267 (walk-window-subtree, window-atom-check, window-min-delta)
16268 (window-max-delta, window--resize-this-window)
16269 (window--resize-root-window-vertically, window-tree)
16270 (balance-windows, window-state-put): Rewrite doc-strings as to
16271 not mention the term "subwindow".
16272 (window--resize-subwindows-skip-p): Rename to
16273 window--resize-child-windows-skip-p.
16274 (window--resize-subwindows-normal): Rename to
16275 window--resize-child-windows-normal.
16276 (window--resize-subwindows): Rename to
16277 window--resize-child-windows.
16278 (window-or-subwindow-p): Rename to window--in-subtree-p.
16279
16280 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16281
16282 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16283 Ensure that mbox format messages end in two newlines (Bug#9974).
16284
16285 2011-11-06 Chong Yidong <cyd@gnu.org>
16286
16287 * window.el (window-combination-p): Function deleted; its
16288 side-effect is not used in any existing code.
16289 (window-combinations, window-combined-p): Call window-*-child
16290 directly.
16291
16292 2011-11-05 Chong Yidong <cyd@gnu.org>
16293
16294 * window.el (window-valid-p): Rename from window-any-p.
16295 (window-size-ignore, window-state-get): Callers changed.
16296 (window-normalize-window): Rename from window-normalize-any-window.
16297 New arg LIVE-ONLY, replacing window-normalize-live-window.
16298 (window-normalize-live-window): Delete.
16299 (window-combination-p, window-combined-p, window-combinations)
16300 (walk-window-subtree, window-atom-root, window-min-size)
16301 (window-sizable, window-sizable-p, window-size-fixed-p)
16302 (window-min-delta, window-max-delta, window-resizable)
16303 (window-resizable-p, window-full-height-p, window-full-width-p)
16304 (window-current-scroll-bars, window-point-1, set-window-point-1)
16305 (window-at-side-p, window-in-direction, window-resize)
16306 (adjust-window-trailing-edge, maximize-window, minimize-window)
16307 (window-deletable-p, delete-window, delete-other-windows)
16308 (record-window-buffer, unrecord-window-buffer)
16309 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16310 (quit-window, split-window, window-state-put)
16311 (set-window-text-height, fit-window-to-buffer)
16312 (shrink-window-if-larger-than-buffer): Callers changed.
16313
16314 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16315
16316 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16317 rfc2047-decode-string.
16318 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16319 warnings.
16320
16321 * window.el (window-body-height, window-body-width): Mention in
16322 the doc string that the return values are in frame's canonical
16323 units. (Bug#9949)
16324
16325 2011-11-03 Alan Mackenzie <acm@muc.de>
16326
16327 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16328 change in cc-engine.el.
16329
16330 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16331
16332 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16333
16334 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16335
16336 * window.el (quit-window): Call unrecord-window-buffer after
16337 showing another buffer in the window. (Bug#9937)
16338 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16339
16340 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16341
16342 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16343 Accept status with more than 9 shelves. (Bug#9935)
16344 Reported by Colin D Bennett <colin@gibibit.com>.
16345
16346 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16347
16348 * help.el (with-help-window): Don't reference
16349 temp-buffer-show-specifiers in doc-string.
16350
16351 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16352
16353 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16354 menu-item.
16355
16356 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16357
16358 * whitespace.el: New version 13.2.2.
16359 (whitespace-newline-mode): Disable properly. Reported by Sarah
16360 <EmacsWiki>.
16361
16362 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16363
16364 * net/newst-treeview.el: Remove "Time-stamp".
16365 (newsticker--group-manage-orphan-feeds): Do not call
16366 newsticker--treeview-tree-update.
16367 (newsticker-treeview-update, newsticker-treeview):
16368 Call newsticker--treeview-tree-update if necessary.
16369
16370 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16371
16372 * window.el (window-iso-combination-p, window-iso-combined-p)
16373 (window-iso-combinations): Remove "iso-" infix.
16374 Suggested by Chong Yidong.
16375 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16376 (window-max-delta-1, window-resize, window--resize-siblings)
16377 (window--resize-this-window, adjust-window-trailing-edge)
16378 (split-window, balance-windows-1)
16379 (shrink-window-if-larger-than-buffer):
16380 * calendar/calendar.el (calendar-generate-window):
16381 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16382
16383 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16384
16385 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16386 in place (bug#9907).
16387 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16388 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16389 (eshell-structure-basic-command, eshell-rewrite-while-command)
16390 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16391 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16392 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16393 (eshell-do-pipelines-synchronously, eshell-eval-command):
16394 Use backquotes and prefer setq to set.
16395 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16396 (eshell-macrop): Use functionp.
16397 (eshell-do-eval): Handle multiple expressions in `while' body.
16398
16399 2011-10-30 Chong Yidong <cyd@gnu.org>
16400
16401 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16402 instead of set-mark (Bug#9810).
16403
16404 2011-10-30 Chong Yidong <cyd@gnu.org>
16405
16406 * window.el (split-window-below, split-window-right): Rename from
16407 split-window-above-each-other and split-window-side-by-side
16408 respectively. All callers changed.
16409 (split-window-sensibly, split-window-sensibly): Use them.
16410 (split-window-keep-point): Doc fix.
16411
16412 * isearch.el: Add isearch-scroll property to split-window-below
16413 and split-window-right.
16414
16415 * follow.el (follow-mode):
16416 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16417 * progmodes/ada-xref.el (ada-gdb-application):
16418 * emulation/vip.el (vip-buffer-in-two-windows):
16419 * image-dired.el (image-dired-dired-with-window-configuration):
16420 * dired-x.el (dired-do-find-marked-files):
16421 * dired.el (dired-pop-to-buffer):
16422 * bs.el (bs--show-with-configuration):
16423 * vc/emerge.el (emerge-setup-windows):
16424 * textmodes/two-column.el (2C-two-columns):
16425 * textmodes/reftex-toc.el (reftex-toc):
16426 * progmodes/gdb-mi.el (gdb-setup-windows):
16427 * progmodes/fortran.el (fortran-window-create):
16428 * net/newst-treeview.el (newsticker--treeview-window-init):
16429 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16430 * emulation/tpu-edt.el (tpu-gold-map):
16431 * emulation/crisp.el (crisp-mode-map):
16432 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16433
16434 2011-10-29 Chong Yidong <cyd@gnu.org>
16435
16436 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16437
16438 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16439
16440 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16441 forged Ispell output (Bug#7904).
16442
16443 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16444
16445 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16446
16447 * doc-view.el: Avoid ugly errors about not finding nil.
16448 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16449 (doc-view-dvipdf-program, doc-view-unoconv-program)
16450 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16451 Avoid nil or absolute file name as default value.
16452 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16453
16454 2011-10-28 Alan Mackenzie <acm@muc.de>
16455
16456 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16457
16458 2011-10-28 Alan Mackenzie <acm@muc.de>
16459
16460 Amend the handling of c-beginning/end-of-defun in nested declaration
16461 scopes.
16462
16463 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16464 cc-langs.el. Change it to a defcustom.
16465
16466 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16467 cc-vars.el.
16468
16469 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16470 Prevent "class foo : bar" being spuriously recognized as a label.
16471
16472 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16473 Add parameter `inclusive' (to include enclosing braces in the region).
16474 (c-widen-to-enclosing-decl-scope): New function.
16475 (c-while-widening-to-decl-block): New macro.
16476 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16477 outward for defun boundaries, and correspondingly change symbol
16478 `respect-enclosure' to `go-outward'.
16479 (c-declaration-limits): Change algorithm to report only the "innermost"
16480 defun's boundaries.
16481
16482 2011-10-28 Deniz Dogan <deniz@dogan.se>
16483
16484 * net/rcirc.el (rcirc-mode): Use hard newlines.
16485
16486 2011-10-28 Alan Mackenzie <acm@muc.de>
16487
16488 Amend to indent and fontify macros "which include their own semicolon"
16489 correctly, using the "virtual semicolon" mechanism.
16490
16491 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16492
16493 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16494 Recode to scan one line at a time rather than having \n and \r
16495 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16496 (c-forward-label): Amend for virtual semicolons.
16497 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16498
16499 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16500 of the new C macros.
16501
16502 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16503 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16504 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16505 (c-opt-cpp-macro-define): Make into a full language variable.
16506 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16507 AWK Mode (including \n, \r) removed, no longer needed.
16508
16509 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16510 Invoke c-make-macro-with-semi-re.
16511
16512 * progmodes/cc-vars.el (c-macro-with-semi-re):
16513 (c-macro-names-with-semicolon): New variables.
16514 (c-make-macro-with-semi-re): New function.
16515
16516 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16517
16518 * vc/log-edit.el: Fill empty field rather than adding new one.
16519 (log-edit-add-field): New function.
16520 (log-edit-insert-changelog): Use it.
16521
16522 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16523
16524 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16525
16526 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16527
16528 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16529 (gdb--check-interpreter): New function.
16530 (gdb): Use it.
16531
16532 2011-10-27 Glenn Morris <rgm@gnu.org>
16533
16534 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16535 (least-positive-float, least-negative-float)
16536 (least-positive-normalized-float, least-negative-normalized-float)
16537 (float-epsilon, float-negative-epsilon):
16538 Remove unnecessary declarations.
16539
16540 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16541 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16542 (least-positive-float, least-negative-float)
16543 (least-positive-normalized-float, least-negative-normalized-float)
16544 (float-epsilon, float-negative-epsilon): Add doc-strings,
16545 based on those in cl.texi.
16546
16547 * files.el (set-visited-file-name): If the major-mode changed,
16548 reload the local variables. (Bug#9796)
16549
16550 2011-10-27 Chong Yidong <cyd@gnu.org>
16551
16552 * subr.el (change-major-mode-after-body-hook): New hook.
16553 (run-mode-hooks): Run it.
16554
16555 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16556 Use change-major-mode-before-body-hook.
16557
16558 * simple.el (fundamental-mode):
16559 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16560 change introducing fundamental-mode-hook.
16561
16562 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16563
16564 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16565
16566 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16567
16568 * ido.el (ido-file-name-all-completions-1): Do not require
16569 tramp.el explicitly. (Bug#7583)
16570
16571 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16572
16573 * progmodes/octave-mod.el:
16574 * progmodes/octave-inf.el: Update maintainer.
16575
16576 2011-10-26 Chong Yidong <cyd@gnu.org>
16577
16578 * subr.el (with-wrapper-hook): Rewrite doc.
16579
16580 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16581
16582 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16583 filenames "/method:foo:". (Bug#9793)
16584
16585 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16586
16587 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16588 (bug#9865).
16589
16590 2011-10-24 Glenn Morris <rgm@gnu.org>
16591
16592 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16593
16594 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16595
16596 * notifications.el: Add the requirement of a running D-Bus session
16597 bus to the Commentary.
16598
16599 2011-10-24 Juri Linkov <juri@jurta.org>
16600
16601 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16602 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16603 (Bug#9364)
16604
16605 2011-10-24 Juri Linkov <juri@jurta.org>
16606
16607 * info.el (Info-following-node-name-re): Add newline to the list
16608 of allowed characters for leading space. (Bug#9824)
16609
16610 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16611
16612 * progmodes/octave-inf.el (inferior-octave-mode-map):
16613 Fix C-c C-h binding.
16614 * progmodes/octave-mod.el (octave-help): Remove.
16615
16616 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16617
16618 Sync with Tramp 2.2.3.
16619
16620 * net/tramp-cache.el (top): Pacify byte-compiler using
16621 `init-file-user' and `site-run-file'.
16622
16623 * net/trampver.el: Update release number.
16624
16625 2011-10-23 Chong Yidong <cyd@gnu.org>
16626
16627 * files.el (toggle-read-only): Remove obsolete comment about
16628 version control.
16629
16630 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16631 for toggle-read-only. Note that this hasn't called vc-next-action
16632 since 2008-05-02, though it wasn't documented at the time.
16633
16634 * vc/ediff-init.el (ediff-toggle-read-only-function):
16635 Use toggle-read-only.
16636
16637 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16638
16639 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16640 of c-parse-state.
16641
16642 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16643 correct faulty logical expression.
16644 (c-parse-state-state, c-record-parse-state-state):
16645 (c-replay-parse-state-state): New defvar/defuns.
16646 (c-debug-parse-state): Use new functions.
16647
16648 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16649
16650 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16651 last fix. Use window-in-direction correctly.
16652
16653 2011-10-21 Chong Yidong <cyd@gnu.org>
16654
16655 * progmodes/idlwave.el (idlwave-mode):
16656 * progmodes/vera-mode.el (vera-mode): No need to set
16657 require-final-newline; that's done in prog-mode.
16658 Suggested by Stefan Monnier.
16659
16660 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16661
16662 * mouse.el (mouse-drag-window-above)
16663 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16664 (mouse-drag-mode-line-1, mouse-drag-header-line)
16665 (mouse-drag-vertical-line-rightward-window): Remove.
16666 (mouse-drag-line): New function.
16667 (mouse-drag-mode-line, mouse-drag-header-line)
16668 (mouse-drag-vertical-line): Call mouse-drag-line.
16669 * window.el (window-at-side-p, windows-at-side): New functions.
16670
16671 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16672
16673 * tar-mode.el (tar-grind-file-mode):
16674 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16675
16676 2011-10-21 Chong Yidong <cyd@gnu.org>
16677
16678 * progmodes/idlwave.el (idlwave-mode):
16679 * progmodes/vera-mode.el (vera-mode):
16680 Use mode-require-final-newline.
16681
16682 2011-10-20 Glenn Morris <rgm@gnu.org>
16683
16684 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16685
16686 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16687
16688 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16689
16690 2011-10-20 Chong Yidong <cyd@gnu.org>
16691
16692 * emulation/cua-base.el (cua-mode):
16693 * mail/footnote.el (footnote-mode):
16694 * mail/mailabbrev.el (mail-abbrevs-mode):
16695 * net/xesam.el (xesam-minor-mode):
16696 * progmodes/bug-reference.el (bug-reference-mode):
16697 * progmodes/cap-words.el (capitalized-words-mode):
16698 * progmodes/compile.el (compilation-minor-mode)
16699 (compilation-shell-minor-mode):
16700 * progmodes/gud.el (gud-tooltip-mode):
16701 * progmodes/hideif.el (hide-ifdef-mode):
16702 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16703 * progmodes/subword.el (subword-mode):
16704 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16705 * progmodes/which-func.el (which-function-mode):
16706 * term/tvi970.el (tvi970-set-keypad-mode):
16707 * term/vt100.el (vt100-wide-mode):
16708 * textmodes/flyspell.el (flyspell-mode):
16709 * textmodes/ispell.el (ispell-minor-mode):
16710 * textmodes/nroff-mode.el (nroff-electric-mode):
16711 * textmodes/paragraphs.el (use-hard-newlines):
16712 * textmodes/refill.el (refill-mode):
16713 * textmodes/reftex.el (reftex-mode):
16714 * textmodes/rst.el (rst-minor-mode):
16715 * textmodes/sgml-mode.el (html-autoview-mode)
16716 (sgml-electric-tag-pair-mode):
16717 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16718 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16719 * emulation/crisp.el (crisp-mode):
16720 * emacs-lisp/eldoc.el (eldoc-mode):
16721 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16722 minor mode behavior.
16723
16724 2011-10-19 Juri Linkov <juri@jurta.org>
16725
16726 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16727 the list of hard-coded chars with escape-glyph face.
16728
16729 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16730
16731 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16732
16733 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16734
16735 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16736 running process.
16737
16738 2011-10-19 Glenn Morris <rgm@gnu.org>
16739
16740 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16741 Ignore ignored files. (Bug#9726)
16742
16743 2011-10-19 Chong Yidong <cyd@gnu.org>
16744
16745 Doc fix for minor modes, stating that an omitted argument enables
16746 the mode unconditionally when called from Lisp.
16747
16748 * abbrev.el (abbrev-mode):
16749 * allout.el (allout-mode):
16750 * autoinsert.el (auto-insert-mode):
16751 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16752 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16753 (global-auto-revert-mode):
16754 * battery.el (display-battery-mode):
16755 * composite.el (global-auto-composition-mode)
16756 (auto-composition-mode):
16757 * delsel.el (delete-selection-mode):
16758 * desktop.el (desktop-save-mode):
16759 * dired-x.el (dired-omit-mode):
16760 * dirtrack.el (dirtrack-mode):
16761 * doc-view.el (doc-view-minor-mode):
16762 * double.el (double-mode):
16763 * electric.el (electric-indent-mode, electric-pair-mode):
16764 * emacs-lock.el (emacs-lock-mode):
16765 * epa-hook.el (auto-encryption-mode):
16766 * follow.el (follow-mode):
16767 * font-core.el (font-lock-mode):
16768 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16769 * help.el (temp-buffer-resize-mode):
16770 * hilit-chg.el (highlight-changes-mode)
16771 (highlight-changes-visible-mode):
16772 * hi-lock.el (hi-lock-mode):
16773 * hl-line.el (hl-line-mode, global-hl-line-mode):
16774 * icomplete.el (icomplete-mode):
16775 * ido.el (ido-everywhere):
16776 * image-file.el (auto-image-file-mode):
16777 * image-mode.el (image-minor-mode):
16778 * iswitchb.el (iswitchb-mode):
16779 * jka-cmpr-hook.el (auto-compression-mode):
16780 * linum.el (linum-mode):
16781 * longlines.el (longlines-mode):
16782 * master.el (master-mode):
16783 * mb-depth.el (minibuffer-depth-indicate-mode):
16784 * menu-bar.el (menu-bar-mode):
16785 * minibuf-eldef.el (minibuffer-electric-default-mode):
16786 * mouse-sel.el (mouse-sel-mode):
16787 * msb.el (msb-mode):
16788 * mwheel.el (mouse-wheel-mode):
16789 * outline.el (outline-minor-mode):
16790 * paren.el (show-paren-mode):
16791 * recentf.el (recentf-mode):
16792 * reveal.el (reveal-mode, global-reveal-mode):
16793 * rfn-eshadow.el (file-name-shadow-mode):
16794 * ruler-mode.el (ruler-mode):
16795 * savehist.el (savehist-mode):
16796 * scroll-all.el (scroll-all-mode):
16797 * scroll-bar.el (scroll-bar-mode):
16798 * server.el (server-mode):
16799 * shell.el (shell-dirtrack-mode):
16800 * simple.el (auto-fill-mode, transient-mark-mode)
16801 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16802 (line-number-mode, column-number-mode, size-indication-mode)
16803 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16804 * strokes.el (strokes-mode):
16805 * time.el (display-time-mode):
16806 * t-mouse.el (gpm-mouse-mode):
16807 * tool-bar.el (tool-bar-mode):
16808 * tooltip.el (tooltip-mode):
16809 * type-break.el (type-break-mode-line-message-mode)
16810 (type-break-query-mode):
16811 * view.el (view-mode):
16812 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16813 (global-whitespace-mode, global-whitespace-newline-mode):
16814 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16815
16816 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16817 Fix autogenerated docstring.
16818
16819 2011-10-19 Juri Linkov <juri@jurta.org>
16820
16821 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16822 by checking environment variables "DESKTOP_SESSION" and
16823 "XDG_CURRENT_DESKTOP". (Bug#9779)
16824
16825 2011-10-19 Juri Linkov <juri@jurta.org>
16826
16827 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16828 (browse-url-chromium-program, browse-url-chromium-arguments):
16829 New defcustoms.
16830 (browse-url-default-browser): Check for `browse-url-chromium' and
16831 call `browse-url-chromium-program'.
16832 (browse-url-chromium): New command. (Bug#9779)
16833
16834 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16835
16836 * facemenu.el (list-colors-duplicates): On Windows, detect more
16837 duplicates by assuming that only colors matching "^System" are
16838 special "system colors". (Bug#9722)
16839
16840 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16841
16842 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16843 to distinguish the author from the committer.
16844
16845 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16846
16847 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16848
16849 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16850
16851 * international/mule.el (sgml-html-meta-auto-coding-function):
16852 Add support for detecting encoding in HTML5 specified only as
16853 <meta charset="UTF-8">. Implementation just makes http-equiv and
16854 content-type parts from HTML4 encoding string optional. (Bug#9716)
16855
16856 2011-10-18 Glenn Morris <rgm@gnu.org>
16857
16858 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16859
16860 2011-10-18 Chong Yidong <cyd@gnu.org>
16861
16862 * faces.el (cursor): Doc fix.
16863
16864 2011-10-17 Chong Yidong <cyd@gnu.org>
16865
16866 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16867
16868 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16869
16870 * dirtrack.el (dirtrack): Support shell buffers with path
16871 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16872
16873 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16874
16875 * json.el: Bump version to 1.3 and note change in History.
16876 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16877
16878 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16879
16880 * comint.el (comint-insert-input, comint-send-input)
16881 (comint-get-old-input-default, comint-backward-matching-input)
16882 (comint-next-prompt): Use nil instead of `input' for field property of
16883 past user input (bug#114).
16884
16885 * minibuffer.el (completion--replace): Inherit surrounding properties
16886 (bug#114).
16887 (minibuffer-complete-and-exit): Use it.
16888
16889 * comint.el (comint--table-subvert): Quote the all-completions output
16890 (bug#9160).
16891
16892 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16893
16894 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16895
16896 * menu-bar.el (menu-bar-file-menu): Add entry for making new
16897 window on right of selected. (Bug#9350) Reword other window
16898 entries and separate them from frame entries.
16899
16900 2011-10-15 Glenn Morris <rgm@gnu.org>
16901
16902 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16903 Doc fixes.
16904
16905 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
16906
16907 * net/network-stream.el (network-stream-open-starttls):
16908 Improve detection of failure due to lack of TLS support.
16909
16910 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16911 putting the input text in front and in bold.
16912
16913 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16914
16915 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16916
16917 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16918 empty buffer.
16919
16920 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16921 unread-command-events rather than pushing yet-another event.
16922
16923 2011-10-14 Eli Zaretskii <eliz@gnu.org>
16924
16925 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16926 the explanation of the possible choices. Make the options passed
16927 to completing-read shorter.
16928
16929 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16930
16931 * textmodes/flyspell.el (flyspell-large-region): Make sure
16932 extended character mode is used if defined (Bug#1339).
16933
16934 2011-10-13 Eli Zaretskii <eliz@gnu.org>
16935
16936 * simple.el (what-cursor-position): Fix the display of the
16937 character info for LRE, LRO, RLE, and RLO characters by appending
16938 an invisible PDF.
16939
16940 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16941
16942 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16943 even in case of error; add debug spec; simplify data flow.
16944 (with-timeout-handler): Remove.
16945
16946 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
16947
16948 Fix Bug#6019, Bug#9315.
16949
16950 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16951 complete `buffer-file-name', the local file name part could look
16952 remotely (for example on VMS).
16953
16954 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16955 `tramp-run-real-handler'.
16956 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16957 already quoted by '"'.
16958
16959 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16960 Let `file-name-handler-alist' be nil, the local file name part
16961 could look remotely (for example on VMS).
16962
16963 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16964
16965 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16966 from here...
16967 (flyspell-post-command-hook): ...to here.
16968
16969 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16970
16971 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16972 if not needed.
16973 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16974 using completion. Protect against "slow" callers.
16975 Remove the "message hack".
16976
16977 2011-10-11 Juri Linkov <juri@jurta.org>
16978
16979 * isearch.el (isearch-lazy-highlight-word): New variable.
16980 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16981 Use it. (Bug#9727)
16982
16983 2011-10-11 Glenn Morris <rgm@gnu.org>
16984
16985 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16986 like f90-previous-statement does.
16987
16988 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16989
16990 * eshell/eshell.el (eshell-command): History should be saved
16991 only in interactive use, to avoid error.
16992
16993 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16994
16995 * minibuffer.el (completion-file-name-table): Fix last change,
16996 i.e. ignore normal errors but not the other ones.
16997
16998 2011-10-10 Martin Rudalics <rudalics@gmx.at>
16999
17000 * window.el (special-display-buffer-names)
17001 (special-display-regexps): Remove some remnants of earlier
17002 changes from doc-strings.
17003 (quit-windows-on): New function.
17004
17005 * vc/vc.el (vc-revert, vc-rollback):
17006 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
17007 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
17008 (Bug#6183) (Bug#7074) (Bug#7447)
17009
17010 2011-10-09 Martin Rudalics <rudalics@gmx.at>
17011
17012 * window.el (frame-auto-hide-function): Add version tag.
17013 (Bug#9699)
17014
17015 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
17016
17017 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
17018 condition.
17019
17020 2011-10-09 Leo Liu <sdl.web@gmail.com>
17021
17022 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
17023 (Bug#9701)
17024
17025 2011-10-08 Glenn Morris <rgm@gnu.org>
17026
17027 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
17028 before the first code statement zero indent. (Bug#9690)
17029
17030 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
17031
17032 * simple.el (count-words-region): Always count in the region.
17033 Report the number of lines and characters too.
17034 (count-words): New command, which counts in the buffer if the
17035 region is inactive, as count-words-region used to.
17036 (count-words--message): New function. Handle plurals.
17037 (count-lines-region): Make it an alias for count-words-region.
17038
17039 * bindings.el (esc-map): Replace count-lines-region with
17040 count-words-region.
17041
17042 2011-10-08 Martin Rudalics <rudalics@gmx.at>
17043
17044 * window.el (window--delete): Delete dedicated frame
17045 unconditionally when argument KILL is non-nil. (Bug#9699)
17046 (switch-to-buffer): Fix doc-string typo.
17047
17048 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17049
17050 * eshell/eshell.el (eshell-command): Avoid using hooks.
17051
17052 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
17053
17054 * bindings.el ([M-left],[M-right]): Bind to left-word and
17055 right-word respectively.
17056
17057 2011-10-07 Glenn Morris <rgm@gnu.org>
17058
17059 * cus-start.el (debug-on-quit): Fix custom type.
17060
17061 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17062
17063 * subr.el (define-key-after): Clarify that the function is not
17064 useful for non-menu keymaps.
17065
17066 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17067
17068 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17069
17070 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
17071 in current minibuffer (Fix bug with recursive minibuffers).
17072
17073 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
17074
17075 * progmodes/gdb-mi.el (gdb): Doc fix.
17076
17077 2011-10-05 Martin Rudalics <rudalics@gmx.at>
17078
17079 * window.el (frame-auto-hide-function): New option replacing
17080 frame-auto-delete. Suggested by Stefan Monnier.
17081 (window--delete): Call frame-auto-hide-function instead of
17082 investigating frame-auto-delete.
17083 (window-point-1, set-window-point-1): New functions.
17084 (window-in-direction, record-window-buffer, window-state-get-1)
17085 (display-buffer-record-window): Use window-point-1 instead of
17086 window-point.
17087 (set-window-buffer-start-and-point): Use set-window-point-1.
17088
17089 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17090
17091 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17092
17093 2011-10-05 Glenn Morris <rgm@gnu.org>
17094
17095 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17096 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17097
17098 2011-10-05 Leo Liu <sdl.web@gmail.com>
17099
17100 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17101 works with buffer object.
17102
17103 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17104
17105 * mpc.el (mpc-tool-bar-map): Add labels.
17106
17107 2011-10-04 Glenn Morris <rgm@gnu.org>
17108
17109 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17110
17111 2011-10-04 Martin Rudalics <rudalics@gmx.at>
17112
17113 * window.el (window--delete): New function.
17114 (frame-auto-delete): Resuscitate option.
17115 (bury-buffer, replace-buffer-in-windows)
17116 (quit-window): Rewrite using window--delete.
17117 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17118 Pass display-buffer-mark-dedicated to window--display-buffer-2
17119 (Bug#9639).
17120
17121 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17122
17123 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17124 returns a list (bug#9554). Add remote file name completion.
17125 * comint.el (comint--table-subvert): Curry and get quote&unquote
17126 functions as arguments.
17127 (comint--complete-file-name-data): Adjust call accordingly.
17128 * pcomplete.el (pcomplete--table-subvert): Remove.
17129 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17130
17131 * minibuffer.el (completion-table-case-fold): Use currying.
17132 (completion--styles-type, completion--cycling-threshold-type):
17133 New constants.
17134 (completion-styles, completion-category-overrides)
17135 (completion-cycle-threshold): Use them.
17136 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17137 completion-table-case-fold.
17138
17139 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
17140
17141 * minibuffer.el (completion-category-overrides): Fix type of styles
17142 and add more user friendly tags (bug#9660).
17143
17144 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17145
17146 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17147 (mule-input-method-string): New widget.
17148 (default-input-method, language-info-custom-alist): Use it.
17149
17150 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17151
17152 * pcomplete.el: Require comint.
17153 (pcomplete--common-suffix): Remove.
17154 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17155 (pcomplete--table-subvert): Sync with comint--table-subvert.
17156 (pcomplete--entries): Use comint-completion-file-name-table.
17157 * comint.el (comint-unquote-filename): Simplify.
17158 (comint-completion-file-name-table): New function (bug#9616).
17159 (comint--complete-file-name-data): Use it.
17160
17161 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17162 (pcmpl-gnu-tar-buffer): Remove.
17163 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17164 around. Make sure pcomplete-suffix-list is only changed temporarily.
17165 Don't look inside the tar's file if it's too large.
17166
17167 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
17168
17169 * cus-edit.el (custom-mode-map):
17170 * epa.el (epa-key-list-mode-map):
17171 * man.el (Man-mode-map):
17172 * startup.el (splash-screen-keymap):
17173 * simple.el (special-mode-map): Use scroll-up-command and
17174 scroll-down-command.
17175
17176 * progmodes/idlw-help.el (idlwave-help-mode-map):
17177 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17178 * net/newst-plainview.el (newsticker-mode-map):
17179 * emulation/ws-mode.el (wordstar-mode-map):
17180 * emulation/vi.el (vi-com-map):
17181 * calc/calc-graph.el (calc-graph-show-dumb):
17182 * term/sun.el (terminal-init-sun):
17183 * term/ns-win.el (global-map):
17184 * progmodes/grep.el (grep-mode-map):
17185 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17186 * mail/rmail.el (rmail-mode-map):
17187 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17188
17189 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17190 custom-safe-themes as special.
17191
17192 2011-10-01 Julien Danjou <julien@danjou.info>
17193
17194 * notifications.el (notifications-notify): Fix docstring.
17195
17196 2011-10-01 Per Starbäck <per@starback.se>
17197
17198 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17199
17200 2011-09-30 Martin Rudalics <rudalics@gmx.at>
17201
17202 * startup.el (command-line-1): Fix last fix by inserting
17203 initial-scratch-message into *scratch* before displaying it.
17204 (Bug#9605) and (Bug#9636)
17205
17206 2011-09-29 Eli Zaretskii <eliz@gnu.org>
17207
17208 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17209 window is hscrolled, move by logical lines. (Bug#9607)
17210 (line-move-visual): Update the doc string to the above effect.
17211
17212 2011-09-29 Martin Rudalics <rudalics@gmx.at>
17213
17214 * window.el (display-buffer-record-window): When WINDOW is the
17215 selected window use `point' instead of `window-point'. (Bug#9626)
17216
17217 * startup.el (command-line-1): Use insert-before-markers when
17218 inserting initial-scratch-message. (Bug#9605)
17219
17220 * help.el (help-window): Remove variable.
17221
17222 2011-09-29 Glenn Morris <rgm@gnu.org>
17223
17224 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17225
17226 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
17227
17228 * descr-text.el (describe-char-categories): Accept category
17229 descriptions more than one line long.
17230
17231 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17232
17233 * simple.el (delete-trailing-whitespace): Fix last change.
17234
17235 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17236 Don't confuse "y => 3" as the beginning of a `y' operation.
17237
17238 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17239 object has more than 4 slots (bug#9613).
17240
17241 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17242
17243 * subr.el (with-output-to-temp-buffer):
17244 * net/quickurl.el (quickurl, quickurl-browse-url):
17245 Fix typos in docstrings.
17246
17247 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17248
17249 * minibuffer.el (completion-styles)
17250 (completion-category-overrides): Cross reference each other in doc
17251 strings.
17252
17253 2011-09-27 Glenn Morris <rgm@gnu.org>
17254
17255 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17256 to split-string. (Bug#9606)
17257
17258 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17259
17260 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17261 (bug#9615).
17262
17263 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17264
17265 * emacs-lisp/package.el (list-packages): Fix echo area message.
17266
17267 2011-09-27 Leo Liu <sdl.web@gmail.com>
17268
17269 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17270
17271 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17272
17273 * net/dbus.el (dbus-unregister-object): Don't release services for
17274 registered signals. (Bug#9581)
17275
17276 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17277
17278 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17279 function that picks between cfengine 2 and 3 support
17280 automatically. Update docs accordingly.
17281
17282 2011-09-22 Kenichi Handa <handa@m17n.org>
17283
17284 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17285 ZERO.
17286 (indian-itrans-v5-table-for-tamil): New variable.
17287 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17288
17289 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17290
17291 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17292 that's true if the current command involved collapsing of text.
17293 It's reset to false at the beginning of the next command.
17294 (allout-post-command-business): Move the cursor to the beginning
17295 of entry if the cursor is hidden and collapsing activity just
17296 happened.
17297
17298 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17299
17300 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17301 tracking (Bug#9541).
17302
17303 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17304
17305 * net/newst-reader.el (newsticker-html-renderer)
17306 (newsticker-show-news): Automatically load html rendering package
17307 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17308 because w3m-fill-column is let-bound" and the error "Symbol's value
17309 as variable is void: w3m-fill-column".
17310
17311 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17312
17313 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17314 Release services only if they are defined. (Bug#9581)
17315
17316 2011-09-23 Richard Stallman <rms@gnu.org>
17317
17318 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17319 distinguish start of paragraph from start of its text.
17320
17321 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17322
17323 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17324 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17325 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17326
17327 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17328
17329 * international/mule-diag.el (mule-diag): Insert a newline after
17330 each fontset description.
17331
17332 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17333
17334 * simple.el (delete-trailing-whitespace):
17335 Document last change; simplify.
17336
17337 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17338
17339 * simple.el (delete-trailing-whitespace): Also delete
17340 extra newlines at the end of the buffer.
17341
17342 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17343 (picture-newline): Use forward-line so as to ignore fields.
17344
17345 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17346
17347 * subr.el (with-wrapper-hook): Fix edebug spec.
17348
17349 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17350
17351 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17352 (bug#4538).
17353
17354 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17355
17356 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17357 Fix nasty bug using wrong cached values.
17358
17359 2011-09-23 Alan Mackenzie <acm@muc.de>
17360
17361 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17362
17363 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17364
17365 * window.el (pop-to-buffer): Ensure right window is selected if we
17366 chose another frame.
17367
17368 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17369
17370 * simple.el (what-cursor-position): Use get-char-property-change
17371 and next-single-char-property-change, to be able to show display
17372 properties that come from overlays as well as text properties.
17373
17374 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17375
17376 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17377
17378 * cmuscheme.el (run-scheme, switch-to-scheme):
17379 * cus-edit.el (customize-group, custom-buffer-create)
17380 (customize-browse):
17381 * info.el (info):
17382 * shell.el (shell):
17383 * mail/sendmail.el (mail):
17384 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17385
17386 2011-09-22 Richard Stallman <rms@gnu.org>
17387
17388 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17389 move back only to line beg, don't move back over blank lines.
17390
17391 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17392
17393 * files.el (copy-directory): Set directory attributes only in case
17394 they could be retrieved from the source directory. (Bug#9565)
17395
17396 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17397
17398 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17399 (hs-find-block-beginning, hs-hide-level-recursive):
17400 Ignore strings as well as comments. (Bug#9502)
17401
17402 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17403
17404 * progmodes/sql.el (sql-comint-postgres):
17405 Convert port number to a string. (Bug#9566)
17406
17407 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17408
17409 * window.el (quit-window): Undedicate window when switching to
17410 previous buffer. Reported by Thierry Volpiatto
17411 <thierry.volpiatto@gmail.com>.
17412 (special-display-popup-frame): When popping up a new frame reset
17413 its previous buffers to nil. Simplify code.
17414
17415 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17416
17417 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17418 and process filter, as done also in `shell-command'.
17419
17420 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17421
17422 * window.el (set-window-buffer-start-and-point):
17423 Call set-window-start with NOFORCE argument t.
17424 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17425 (quit-window): Reword doc-string. Handle new format of
17426 quit-restore parameter. Don't delete window if it has a
17427 previous buffer we can show instead of the present one.
17428 (display-buffer-record-window): Rewrite using a new format for
17429 the quit-restore window parameter
17430 (special-display-popup-frame, display-buffer-same-window)
17431 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17432 (display-buffer-pop-up-window, display-buffer-use-some-window):
17433 Adapt symbol passed to display-buffer-record-window.
17434 * help.el (help-window-setup): Handle new format of quit-restore
17435 parameter.
17436
17437 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17438
17439 * faces.el (face-list): Fix docstring (bug#9564).
17440
17441 * window.el (display-buffer--action-function-custom-type):
17442 Don't include internal functions in the Custom interface.
17443
17444 2011-09-20 Juri Linkov <juri@jurta.org>
17445
17446 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17447 (Info-forward-node, Info-backward-node, Info-next-preorder)
17448 (Info-last-preorder): Use it. (Bug#9528)
17449
17450 2011-09-20 Juri Linkov <juri@jurta.org>
17451
17452 * info.el (Info-last-preorder): Visit last menu item only when
17453 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17454
17455 2011-09-20 Julien Danjou <julien@danjou.info>
17456
17457 * password-cache.el (password-cache-remove): Remove entries even if the
17458 value is nil, so that password with a nil value (negative caching) is
17459 possible to invalidate.
17460
17461 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17462
17463 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17464 all whitespace around breakpoint. (Bug#9553)
17465 (f90-find-breakpoint): Only break at whitespace inside a comment.
17466
17467 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17468
17469 * minibuffer.el (completion-file-name-table): Keep track of errors.
17470 (completion-table-with-predicate): Handle the case where pred1 is nil.
17471 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17472
17473 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17474
17475 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17476 (debugger-return-value): Signal an error if the debugging context does
17477 not await any return value.
17478
17479 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17480 * image-mode.el (image-toggle-display-text)
17481 (image-toggle-display-image): Stay away from evil `intangible'.
17482
17483 2011-09-19 Leo Liu <sdl.web@gmail.com>
17484
17485 * replace.el (occur-revert-arguments): Make it permanent-local.
17486 (occur-mode): Don't call font-lock-defontify.
17487
17488 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17489
17490 * net/ldap.el (ldap-search-internal): Don't push empty search
17491 result (Bug#9508).
17492
17493 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17494
17495 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17496
17497 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17498
17499 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17500 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17501
17502 2011-09-18 Juri Linkov <juri@jurta.org>
17503
17504 * buff-menu.el (Buffer-menu-mode-map):
17505 * dired.el (dired-mode-map):
17506 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17507 (lisp-interaction-mode-map):
17508 * emacs-lisp/package.el (package-menu-mode-map):
17509 * epa.el (epa-key-list-mode-map):
17510 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17511 (menu-bar-options-menu):
17512 * outline.el (outline-mode-menu-bar-map):
17513 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17514 * vc/vc-dir.el (vc-dir-menu-map):
17515 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17516 Capitalize non-function content words in menu item strings.
17517
17518 * dired.el (dired-mode-map): Add menu item for
17519 `image-dired-dired-toggle-marked-thumbs'.
17520
17521 2011-09-18 Juri Linkov <juri@jurta.org>
17522
17523 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17524 to `isearch-case-fold-search' and restore its original value
17525 after the `isearch-mode' call.
17526
17527 2011-09-18 Juri Linkov <juri@jurta.org>
17528
17529 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17530 because `zgrep' returns 1 for successful matches (bug#9226).
17531
17532 2011-09-18 Juri Linkov <juri@jurta.org>
17533
17534 * info.el (Info-extract-menu-node-name): Check the second match
17535 for empty string (second test-case of bug#9528).
17536 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17537 intermediate nodes to the history (first test-case of bug#9528).
17538
17539 2011-09-18 Juri Linkov <juri@jurta.org>
17540
17541 * info.el (Info-mode-syntax-table): New variable.
17542 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17543
17544 2011-09-18 Juri Linkov <juri@jurta.org>
17545
17546 * info.el (Info-file-supports-index-cookies):
17547 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17548 outputs one more line for long file names (bug#4142).
17549
17550 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17551
17552 * newcomment.el (comment-normalize-vars): If prompting for
17553 comment-start, set comment-start-skip too (Bug#8424).
17554
17555 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17556
17557 * icomplete.el: Fix previous fix of Bug#5849.
17558 (icomplete-mode): Don't set completion-show-inline-help.
17559 (icomplete-minibuffer-setup): Set completion-show-inline-help
17560 locally during icompletion.
17561
17562 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17563
17564 * woman.el (woman2-process-escapes): Don't delete unrecognized
17565 escapes (Bug#7843).
17566
17567 * files.el (inhibit-first-line-modes-regexps): Add image files.
17568 (hack-local-variables-prop-line): Return nil for malformed
17569 prop-lines (Bug#9044).
17570
17571 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17572
17573 * net/tramp.el (top): Don't require 'shell.
17574 (tramp-methods): Fix docstring.
17575 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17576 Return complete remote file name. Handle "smb" case.
17577 Use `tramp-tmpdir', if defined for the respective method.
17578 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17579
17580 * net/tramp-compat.el (top): Require 'shell.
17581
17582 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17583 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17584 `tramp-current-host'.
17585 (tramp-get-remote-tmpdir): Remove.
17586
17587 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17588 `tramp-tmpdir' entries.
17589 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17590 (tramp-smb-handle-file-attributes): Ignore errors.
17591 (tramp-smb-wait-for-output): Check also for process end.
17592
17593 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17594
17595 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17596 when sending QUIT (bug#9312).
17597
17598 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17599
17600 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17601 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17602 occur-mode-display-occurrence.
17603 (occur-edit-mode): Add usage message.
17604 (occur-cease-edit): New command.
17605 (occur-after-change-function): Use text properties to find the
17606 position of the prefix text.
17607 (occur-engine): Set stickiness of prefix text properties.
17608
17609 2011-09-17 Glenn Morris <rgm@gnu.org>
17610
17611 * progmodes/etags.el (complete-tag):
17612 Fix call to completion-in-region. (Bug#9526)
17613
17614 2011-09-17 Juri Linkov <juri@jurta.org>
17615
17616 * textmodes/ispell.el (ispell-word): Add to the error message
17617 the word, ispell program name and current dictionary (bug#9121).
17618 (ispell-tex-arg-end): Capitalize "error" in the error message.
17619
17620 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17621
17622 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17623 check. (Bug#4251)
17624
17625 2011-09-17 Juri Linkov <juri@jurta.org>
17626
17627 * window.el (window-safe-min-height, window-safe-min-width):
17628 Fix typos (followup to bug#9522).
17629
17630 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17631
17632 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17633
17634 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17635
17636 * simple.el (line-move): If goal-column is set, move by logical
17637 lines, not by display lines. (Bug#971)
17638 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17639 to reflect the above change.
17640
17641 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17642
17643 * image.el (imagemagick-register-types): Use regexp-opt.
17644
17645 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17646
17647 * window.el (display-buffer-base-action): Rename from
17648 display-buffer-default-action. Make default value empty.
17649 (display-buffer-overriding-action): Convert to defvar.
17650 (display-buffer-fallback-action): New var.
17651
17652 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17653
17654 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17655 declaration.
17656 (package--add-to-archive-contents): If there is a duplicate entry
17657 with an older version, remove it.
17658 (package-menu-mark-delete, package-menu-mark-install)
17659 (package-menu-mark-unmark): Make unused args optional.
17660 (package-menu-mark-obsolete-for-deletion):
17661 Use package-menu-get-status instead of a regexp search.
17662 (package-menu-get-status): Use tabulated-list-entry.
17663 (package-menu-mark-upgrades): New command.
17664 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17665 (package-menu-execute): Do installation before deletion.
17666 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17667 instead of checking major-mode.
17668 (package-menu--find-upgrades): New function.
17669
17670 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17671
17672 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17673 passwords in the log buffer.
17674 (smtpmail-process-filter): Update the process marker so that the
17675 "broken by peer" status message is inserted in the right place.
17676
17677 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17678
17679 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17680 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17681 bibtex-completion-at-point-function.
17682 (bibtex-completion-at-point-function): Use them.
17683
17684 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17685
17686 * mpc.el (mpc-constraints-tag-lookup): New function.
17687 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17688 also to browser "album|playlist".
17689
17690 2011-09-14 Juri Linkov <juri@jurta.org>
17691
17692 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17693 (isearch-edit-string): Use length of `isearch-string' when
17694 `isearch-fail-pos' returns nil.
17695 (isearch-message): Remove duplicate code and call
17696 `isearch-fail-pos' with arg `t'.
17697
17698 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17699
17700 * replace.el (occur-mode-goto-occurrence): Don't force using other
17701 window (Bug#9499).
17702
17703 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17704
17705 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17706
17707 * window.el (display-buffer-window): Remove.
17708 (display-buffer-record-window): Use help-setup window parameter
17709 instead of variable display-buffer-window.
17710 (display-buffer-function, special-display-buffer-names)
17711 (special-display-function): Mention help-setup parameter instead
17712 of display-buffer-window in doc-string.
17713 * help.el (help-window-setup): New argument help-window.
17714 Use help-window-setup parameter instead of display-buffer-window.
17715 Reword some messages.
17716 (with-help-window): Pass window used for displaying the buffer
17717 to help-window-setup. Don't set display-buffer-window.
17718
17719 2011-09-13 Glenn Morris <rgm@gnu.org>
17720
17721 * emacs-lisp/debug.el (debugger-make-xrefs):
17722 Preserve point. (Bug#9462)
17723
17724 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17725
17726 * window.el (window-deletable-p): Use next-frame.
17727
17728 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17729
17730 * window.el (window-auto-delete): Remove.
17731 (window-deletable-p): Remove argument FORCE. Don't deal with
17732 dedication and previous buffers.
17733 (switch-to-prev-buffer): Don't delete window.
17734 (delete-windows-on): Delete a window's frame if and only if the
17735 window is dedicated.
17736 (replace-buffer-in-windows): Delete buffer's window or frame if
17737 and only if window is dedicated.
17738 (quit-window): Handle quit-restore as before last change.
17739 (bury-buffer): Delete window only if window-deletable-p returns t.
17740
17741 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17742
17743 * window.el (window-deletable-p): Never delete the last frame on a
17744 given terminal.
17745
17746 2011-09-13 Glenn Morris <rgm@gnu.org>
17747
17748 * help.el (describe-key-briefly): Copy previous standard-output change.
17749
17750 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17751
17752 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17753
17754 2011-09-13 Glenn Morris <rgm@gnu.org>
17755
17756 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17757 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17758
17759 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17760
17761 * dired-aux.el (dired-mark-read-string): Don't return default
17762 value on empty input (Bug#9361).
17763 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17764 Omit initial minibuffer contents.
17765 (dired-do-chmod): Signal an error on empty input.
17766 (dired-mark-read-string): Don't return default on empty input.
17767
17768 * files.el (file-modes-symbolic-to-number): Doc fix.
17769
17770 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17771
17772 * international/mule-cmds.el (ucs-completions): Remove.
17773 (read-char-by-name): Use complete-with-action instead; add metadata.
17774
17775 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17776
17777 * window.el (display-buffer--action-function-custom-type)
17778 (display-buffer--action-custom-type): New vars.
17779 (display-buffer-alist, display-buffer-default-action)
17780 (display-buffer-overriding-action): Add defcustom types.
17781
17782 * frame.el (delete-other-frames): Doc fix (Bug#276).
17783
17784 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17785
17786 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17787
17788 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17789
17790 Change modes that used same-window-* vars to use switch-to-buffer.
17791
17792 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17793 Use switch-to-buffer.
17794
17795 * cus-edit.el (customize-group, custom-buffer-create)
17796 (customize-browse, custom-buffer-create-other-window):
17797 Use switch-to-buffer or switch-to-buffer-other-window.
17798
17799 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17800 (Info-prev, Info-up, Info-speedbar-goto-node)
17801 (info-display-manual): Use switch-to-buffer.
17802 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17803
17804 * mail/sendmail.el (mail): Use switch-to-buffer.
17805 (mail-recover): Use switch-to-buffer-other-window.
17806
17807 * cmuscheme.el (run-scheme, switch-to-scheme):
17808 * ielm.el (ielm):
17809 * shell.el (shell):
17810 * net/rlogin.el (rlogin):
17811 * net/telnet.el (telnet, rsh):
17812 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17813
17814 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17815
17816 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17817
17818 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17819
17820 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17821 so don't mention it (bug#9301).
17822 (dired-sort-toggle-or-edit): Clarify string further.
17823
17824 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17825 match `x', `w32' and `ns', like the manual says (bug#9029).
17826
17827 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17828 (process-kill-buffer-query-function): Mention the buffer name in
17829 the query.
17830
17831 * image-mode.el (image-next-line): The line parameter is mandatory
17832 (bug#9258).
17833
17834 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17835 which can be useful (bug#9301).
17836
17837 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17838
17839 * subr.el (match-string): Mention that the current buffer should
17840 be the same as the search was done in (bug#9282).
17841
17842 * facemenu.el: Disable the remove-* commands if the mark isn't
17843 active (bug#9162).
17844
17845 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17846
17847 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17848 of display-buffer.
17849 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17850
17851 * replace.el (occur-mode-goto-occurrence)
17852 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17853 and display-buffer.
17854
17855 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17856 display-buffer.
17857
17858 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17859 special-display and same-window variables.
17860 (mail-other-window): Use switch-to-buffer-other-window.
17861 (mail-other-frame): USe switch-to-buffer-other-frame.
17862
17863 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17864 Use display-buffer-other-frame.
17865 (gdb-display-gdb-buffer): Use pop-to-buffer.
17866
17867 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17868
17869 * progmodes/python.el: Don't set same-window-buffer-names.
17870
17871 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17872
17873 * window.el (display-buffer-alist): Add *Python*.
17874
17875 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17876
17877 * window.el (display-buffer-alist): Add entry for buffers
17878 previously handled same-window-*.
17879 (display-buffer-alist, display-buffer-default-action)
17880 (display-buffer-overriding-action): Mark as risky.
17881 (display-buffer-alist): Document action function changes.
17882 (display-buffer--same-window-action)
17883 (display-buffer--other-frame-action): New variables.
17884 (switch-to-buffer, display-buffer-other-frame): Use them.
17885 (display-buffer): Rename reuse-frame entry to reusable-frames.
17886 (display-buffer-reuse-selected-window): Function deleted.
17887 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17888 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17889 (display-buffer-special): New function.
17890 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17891 display-buffer-reuse-or-pop-window. Split off special-display
17892 part into display-buffer-special.
17893 (display-buffer-use-some-window): Don't perform any special
17894 pop-up-frames handling.
17895 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17896 (display-buffer--maybe-same-window): Rename from
17897 display-buffer-maybe-same-window.
17898
17899 * info.el: Don't set same-window-regexps.
17900 (info-setup): New function.
17901 (info-other-window, info): Call it.
17902
17903 * cus-edit.el: Don't set same-window-regexps.
17904 (customize-group): New argument.
17905 (customize-group-other-window): Use it.
17906 (customize-face, customize-face-other-window): Likewise.
17907 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17908
17909 * net/rlogin.el:
17910 * net/telnet.el:
17911 * progmodes/gud.el: Don't set same-window-regexps.
17912
17913 * cmuscheme.el:
17914 * ielm.el:
17915 * shell.el:
17916 * mail/sendmail.el:
17917 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17918
17919 2011-09-10 Juri Linkov <juri@jurta.org>
17920
17921 * isearch.el (isearch-edit-string): Remove obsolete mention of
17922 `C-w' (`isearch-yank-word-or-char') from docstring.
17923 (isearch-query-replace): Fix typo in docstring (bug#9466).
17924
17925 2011-09-10 Juri Linkov <juri@jurta.org>
17926
17927 * paren.el (show-paren-function): Don't show escaped parens.
17928 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17929
17930 2011-09-10 Eli Zaretskii <eliz@gnu.org>
17931
17932 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17933 (mm-default-file-encoding): Remove autoload forms, they are
17934 replaced with autoload cookies in mml.el and mm-encode.el.
17935 (mail-add-attachment): New command.
17936 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17937 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17938 the doc string.
17939 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17940
17941 2011-09-10 Reuben Thomas <rrt@sc3d.org>
17942
17943 * simple.el (count-words-region): Use buffer if there's no region
17944 (bug#9429).
17945
17946 2011-09-09 Juri Linkov <juri@jurta.org>
17947
17948 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17949 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17950 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17951
17952 2011-09-09 Alan Mackenzie <acm@muc.de>
17953
17954 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17955 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17956
17957 2011-09-09 Eli Zaretskii <eliz@gnu.org>
17958
17959 Fix for Savannah bug#9392.
17960 * simple.el (mail-encode-mml): New defvar.
17961
17962 * mail/rmail.el (mail-encode-mml): Add a defvar.
17963 (rmail-enable-mime-composing): Default to t.
17964 (rmail-forward): Use MIME method of forwarding only if both
17965 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17966 Set mail-encode-mml non-nil if the MIME method was used.
17967
17968 * mail/sendmail.el (mml-to-mime): Add autoload form.
17969 (mail-encode-mml): Add a defvar.
17970 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17971 to nil.
17972 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17973 message through mml-to-mime, and reset mail-encode-mml to nil.
17974
17975 2011-09-09 Glenn Morris <rgm@gnu.org>
17976
17977 * woman.el (woman-if-body): When processing an .el block,
17978 do not delete the next .el block as well. (Bug#9447)
17979 (woman-special-characters): Add oq, cq, and hy characters.
17980
17981 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17982
17983 * window.el (window-deletable-p): Make sure window is live before
17984 invoking window-prev-buffers.
17985
17986 2011-09-08 Leo Liu <sdl.web@gmail.com>
17987
17988 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17989
17990 2011-09-08 Juri Linkov <juri@jurta.org>
17991
17992 * progmodes/compile.el (compilation-environment): Make it
17993 a defcustom (bug#8340).
17994
17995 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17996
17997 * window.el (frame-auto-delete): Rename to window-auto-delete.
17998 Make it control auto-deletion of windows and/or frames.
17999 (window-deletable-p): New argument FORCE. Rewrite conditions
18000 for deleting window/frame. (Bug#9419)
18001 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
18002 Rewrite handling of case when window/frame can be deleted.
18003 (delete-windows-on): Call window-deletable-p with new FORCE
18004 argument t. (Bug#9456)
18005
18006 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
18007
18008 * help-mode.el (help-mode): Restore autoload.
18009
18010 2011-09-07 Juri Linkov <juri@jurta.org>
18011
18012 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
18013 `compilation-environment'. Set buffer-local
18014 `compilation-environment' to `thisenv' later after (funcall mode).
18015 (Bug#8340)
18016
18017 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
18018 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
18019 instead of replacing its value. (Bug#8340)
18020
18021 2011-09-07 Juri Linkov <juri@jurta.org>
18022
18023 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
18024 based on text properties put by `grep-filter' instead of matching
18025 escape sequences.
18026 (grep-mode): Set buffer-local `compilation-error-screen-columns'
18027 to the value of `grep-error-screen-columns' (bug#9438).
18028
18029 2011-09-07 Juri Linkov <juri@jurta.org>
18030
18031 * simple.el (next-error-highlight, next-error-highlight-no-select):
18032 Doc fix (bug#9432).
18033
18034 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
18035
18036 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18037 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
18038
18039 2011-09-07 Leo Liu <sdl.web@gmail.com>
18040
18041 * net/rcirc.el (rcirc-mode): Conditionally initialize
18042 rcirc-input-ring.
18043
18044 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
18045
18046 * emacs-lisp/find-func.el (find-function-C-source): Only set
18047 find-function-C-source-directory after checking that we found a source
18048 file there (bug#9440).
18049
18050 2011-09-06 Alan Mackenzie <acm@muc.de>
18051
18052 * isearch.el (isearch-other-meta-char): Wherever a key list is
18053 unread, "unread" the prefix arg, too. This fixes bug #8901.
18054
18055 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18056
18057 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18058
18059 2011-09-05 Juri Linkov <juri@jurta.org>
18060
18061 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18062
18063 2011-09-05 Juri Linkov <juri@jurta.org>
18064
18065 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18066 keeping point where processing of grep matches begins, and
18067 continue to delete remaining escape sequences from the same point.
18068 (grep-filter): Make leading zero optional in "0?1;31m" because
18069 git-grep emits "\033[1;31m" escape sequences unlike expected
18070 "\033[01;31m" as GNU Grep does (bug#9408).
18071 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18072
18073 2011-09-05 Juri Linkov <juri@jurta.org>
18074
18075 * subr.el (y-or-n-p): Capitalize "yes".
18076
18077 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
18078
18079 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18080 `tramp-cache-unload-hook' where appropriate.
18081 (tramp-methods): Rename `tramp-remote-sh' to
18082 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18083 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18084
18085 * net/tramp-sh.el (top): Don't require 'shell.
18086 (tramp-methods): Add `tramp-remote-shell' and
18087 `tramp-remote-shell-args' entries.
18088 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18089 (tramp-sh-handle-shell-command): Remove.
18090 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18091 Use `tramp-remote-shell'.
18092
18093 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
18094
18095 * mail/sendmail.el (sendmail-query-once-function): Delete.
18096 (sendmail-query-once): Save directly to send-mail-function.
18097 Update message-send-mail-function too.
18098
18099 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18100
18101 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18102
18103 * progmodes/python.el (python-mode-map): Use correct function to
18104 start python interpreter from menu-bar (as reported by Geert
18105 Kloosterman).
18106 (inferior-python-mode-map): Fix typo.
18107 (python-shell-map): Remove.
18108
18109 2011-09-03 Deniz Dogan <deniz@dogan.se>
18110
18111 * net/rcirc.el (rcirc-print): Simplify code for
18112 rcirc-scroll-show-maximum-output. There is no need to walk
18113 through all windows to find the right one.
18114
18115 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18116
18117 * help.el (help-return-method): Doc fix.
18118
18119 2011-09-03 Martin Rudalics <rudalics@gmx.at>
18120
18121 * window.el (window-deletable-p): Don't return a non-nil value
18122 when there's a buffer that was shown in the window before.
18123 (Bug#9419)
18124 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18125 Set window's previous buffers to nil.
18126
18127 2011-09-03 Eli Zaretskii <eliz@gnu.org>
18128
18129 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18130 newline before and after the tag line, so it doesn't interfere
18131 with determining the paragraph direction of bidirectional text.
18132
18133 2011-09-03 Leo Liu <sdl.web@gmail.com>
18134
18135 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18136
18137 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18138
18139 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18140 (pop-to-buffer): Change interactive spec. Pass second argument
18141 directly to display-buffer.
18142 (display-buffer): Fix interactive spec. Use functionp to
18143 distinguish between a function and a list of functions.
18144
18145 * abbrev.el (edit-abbrevs):
18146 * arc-mode.el (archive-extract):
18147 * autoinsert.el (auto-insert):
18148 * bookmark.el (bookmark-bmenu-list):
18149 * files.el (find-file):
18150 * view.el (view-buffer):
18151 * progmodes/compile.el (compilation-goto-locus):
18152 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18153
18154 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18155
18156 * window.el (display-buffer-alist): Doc fix.
18157 (display-buffer): Add docstring. Don't treat
18158 display-buffer-default specially.
18159 (display-buffer-reuse-selected-window)
18160 (display-buffer-same-window, display-buffer-maybe-same-window)
18161 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18162 (display-buffer-pop-up-window)
18163 (display-buffer-reuse-or-pop-window)
18164 (display-buffer-use-some-window): New functions.
18165 (display-buffer-default-action): Use them.
18166 (display-buffer-default): Delete.
18167 (pop-to-buffer-1): Fix choice of actions.
18168
18169 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18170
18171 * minibuffer.el (completion--insert-strings): Don't get confused by
18172 completion entries that end with an LF char.
18173
18174 2011-09-01 Eli Zaretskii <eliz@gnu.org>
18175
18176 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18177
18178 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
18179
18180 * window.el (display-buffer): Restore interactive spec.
18181 (display-buffer-same-window, display-buffer-other-window):
18182 New functions.
18183 (pop-to-buffer-1): New function. Use the above.
18184 (pop-to-buffer, pop-to-buffer-same-window): Use it.
18185 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18186
18187 * view.el (view-buffer-other-window, view-buffer-other-frame):
18188 Just use pop-to-buffer.
18189
18190 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18191
18192 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18193
18194 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18195
18196 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18197
18198 2011-08-31 Richard Stallman <rms@gnu.org>
18199
18200 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18201 of the separation of rmail-view-buffer from rmail-buffer.
18202 If you say no to "replace original", the decrypt is in the
18203 view buffer. If you say yes, the decrypt goes into the
18204 rmail buffer also.
18205
18206 2011-08-31 Martin Rudalics <rudalics@gmx.at>
18207
18208 * window.el (display-buffer-window): Rewrite doc-string.
18209 (display-buffer-record-window): New function.
18210 (display-buffer-macro-specifiers)
18211 (display-buffer-even-window-sizes, display-buffer-set-height)
18212 (display-buffer-set-width, display-buffer-in-window)
18213 (display-buffer-reuse-window, display-buffer-split-specifiers)
18214 (display-buffer-side-specifiers, display-buffer-split-window-1)
18215 (display-buffer-split-window, display-buffer-split-atom-window)
18216 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18217 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18218 (display-buffer-other-window-means-other-frame)
18219 (display-buffer-normalize-special)
18220 (display-buffer-normalize-default)
18221 (display-buffer-normalize-argument)
18222 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18223 (display-buffer-normalize-specifiers, display-buffer-frame)
18224 (display-buffer-same-window, display-buffer-same-frame)
18225 (display-buffer-other-window)
18226 (display-buffer-same-frame-other-window)
18227 (display-buffer-other-frame, pop-to-buffer-same-window)
18228 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18229 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18230 (switch-to-buffer-same-frame)
18231 (switch-to-buffer-other-window-same-frame)
18232 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18233 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18234 (display-buffer-alist-set): Remove.
18235 (display-buffer-function, special-display-buffer-names)
18236 (special-display-regexps, special-display-function):
18237 In doc-string refer to display-buffer-window and quit-restore
18238 parameter.
18239 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18240 (special-display-frame-alist, special-display-popup-frame)
18241 (same-window-buffer-names, same-window-regexps, same-window-p)
18242 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18243 (split-window-preferred-function, split-height-threshold)
18244 (split-width-threshold, window-splittable-p)
18245 (split-window-sensibly, window--try-to-split-window)
18246 (window--frame-usable-p, even-window-heights)
18247 (window--even-window-heights, window--display-buffer-1)
18248 (window--display-buffer-2, display-buffer-other-frame):
18249 Restore old Emacs 23 code, order and doc-strings where applicable.
18250 (display-buffer-default, display-buffer-assq-regexp): New functions.
18251 (display-buffer-alist): Rewrite doc-string.
18252 (display-buffer-default-action)
18253 (display-buffer-overriding-action): New variables.
18254 (display-buffer, switch-to-buffer): Rewrite.
18255 (pop-to-buffer): Restore Emacs 23 behavior but use
18256 window-normalize-buffer-to-display.
18257 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18258 Restore Emacs 23 behavior but use
18259 window-normalize-buffer-to-switch-to.
18260 (pop-to-buffer-same-window): Rewrite.
18261 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18262 Rewrite using Emacs 23 options.
18263
18264 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18265
18266 * net/tramp.el (tramp-root-regexp): Remove.
18267 (tramp-completion-file-name-regexp-unified)
18268 (tramp-completion-file-name-regexp-separate)
18269 (tramp-completion-file-name-regexp-url): Don't use leading volume
18270 letter on w32 systems. (Bug#5303, Bug#9311)
18271 (tramp-drop-volume-letter): Simplify definition.
18272 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18273
18274 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18275
18276 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18277 (bug#9356).
18278
18279 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18280
18281 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18282
18283 2011-08-29 Juri Linkov <juri@jurta.org>
18284
18285 * isearch.el (isearch-done): Don't display message "Mark saved"
18286 when arg `edit' is non-nil to prevent its flicker in the echo area.
18287
18288 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18289
18290 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18291 obsolete packages for deletion.
18292
18293 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18294
18295 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18296 (help-mode): Derive help-mode from special-mode. Don't invoke
18297 view-mode from help-mode.
18298 (help-xref-override-view-map): Remove.
18299 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18300 view-mode is not used anymore.
18301
18302 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18303
18304 * server.el (server-port): Doc fix.
18305
18306 * cus-theme.el (custom-theme-choose-mode): Inherit from
18307 special-mode (Bug#9124).
18308 (custom-theme-choose-mode-map): Add special-mode to parent.
18309
18310 2011-08-28 Alan Mackenzie <acm@muc.de>
18311
18312 * progmodes/cc-fonts.el
18313 (c-make-font-lock-BO-decl-search-function): New function.
18314 (c-basic-matchers-after - "Fontify the clauses after various
18315 keywords"): Extract the three keyword lists for the 3 erroneous
18316 constructs from the list of four, and use the new function above
18317 in place of an old one.
18318
18319 2011-08-28 Deniz Dogan <deniz@dogan.se>
18320
18321 * net/rcirc.el (rcirc-insert-prev-input)
18322 (rcirc-insert-next-input): Remove unused argument.
18323
18324 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18325
18326 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18327
18328 2011-08-27 Alan Mackenzie <acm@muc.de>
18329
18330 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18331 handle function pointer parameters properly.
18332
18333 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18334
18335 * window.el (display-buffer-reuse-window): Fix case where
18336 selected window was reused with non-nil OTHER-WINDOW argument.
18337 (Bug#9381)
18338
18339 2011-08-27 Deniz Dogan <deniz@dogan.se>
18340
18341 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18342 oftc's NickServ messages.
18343
18344 2011-08-27 Glenn Morris <rgm@gnu.org>
18345
18346 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18347
18348 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18349
18350 * emacs-lisp/package.el (package-install): Call package-initialize
18351 if called interactively.
18352
18353 2011-08-26 Leo Liu <sdl.web@gmail.com>
18354
18355 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18356
18357 2011-08-25 Juri Linkov <juri@jurta.org>
18358
18359 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18360 `search-whitespace-regexp' (bug#9364).
18361
18362 2011-08-25 Juri Linkov <juri@jurta.org>
18363
18364 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18365 `regexp-search-ring' to their global values to protect from
18366 updating by `read-from-minibuffer' (bug#9185).
18367
18368 2011-08-25 Juri Linkov <juri@jurta.org>
18369
18370 * textmodes/ispell.el (ispell-command-loop): Add newline
18371 at the end of the "Use option `i'..." line.
18372
18373 2011-08-25 Juri Linkov <juri@jurta.org>
18374
18375 * battery.el (display-battery-mode): If `battery-status-function'
18376 or `battery-mode-line-format' is nil, display the message and set
18377 `display-battery-mode' to nil (bug#9363).
18378
18379 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18380
18381 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18382 bidi-string-mark-left-to-right; they are unnecessary now.
18383
18384 2011-08-25 Deniz Dogan <deniz@dogan.se>
18385
18386 * net/quickurl.el: Documentation typo fixes.
18387
18388 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18389
18390 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18391
18392 2011-08-25 Glenn Morris <rgm@gnu.org>
18393
18394 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18395
18396 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18397 (smtpmail-via-smtp): Handle nil response from smtp.
18398
18399 2011-08-24 Juri Linkov <juri@jurta.org>
18400
18401 * proced.el (proced-marked): Inherit from `error' instead of
18402 `font-lock-warning-face'.
18403
18404 * ibuffer.el (ibuffer-marked-face): Change default face from
18405 `font-lock-warning-face' to `warning'.
18406 (ibuffer-deletion-face): Change default face from
18407 `font-lock-type-face' to `error'.
18408
18409 * battery.el (battery-update): Use the face `error' instead of
18410 `font-lock-warning-face' (bug#6117).
18411
18412 2011-08-24 Juri Linkov <juri@jurta.org>
18413
18414 * faces.el (success): Change face color from "Green3" to
18415 "ForestGreen" on light background (bug#9353).
18416
18417 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18418
18419 * window.el (quit-window): Rename from quit-restore-window.
18420 Use same arglist as old quit-window.
18421 (frame-auto-delete): Doc fix.
18422
18423 * view.el (view-mode-exit): Use quit-window.
18424
18425 2011-08-24 Juri Linkov <juri@jurta.org>
18426
18427 * isearch.el (isearch-ring-adjust1): Start visiting previous
18428 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18429 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18430 for empty search string (when the last search string is reused
18431 automatically) to adjust the isearch ring to the last element and
18432 prepare the correct index for further M-p commands (bug#9185).
18433
18434 2011-08-24 Kenichi Handa <handa@m17n.org>
18435
18436 * international/ucs-normalize.el: If decomposition property of
18437 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18438 nil.
18439 (nfd, nfkd): Likewise.
18440
18441 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18442
18443 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18444 from process filters aren't reliably transmitted to the surrounding
18445 accept-process-output.
18446 (mpc-proc-check): New function.
18447 (mpc-proc-sync): Use it (bug#8293)
18448
18449 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18450
18451 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18452 Add compatibility functions (bug#9313).
18453
18454 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18455
18456 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18457
18458 * international/uni-bidi.el: Regenerate.
18459
18460 2011-08-23 Kenichi Handa <handa@m17n.org>
18461
18462 * international/charprop.el:
18463 * international/uni-bidi.el:
18464 * international/uni-category.el:
18465 * international/uni-combining.el:
18466 * international/uni-comment.el:
18467 * international/uni-decimal.el:
18468 * international/uni-decomposition.el:
18469 * international/uni-digit.el:
18470 * international/uni-lowercase.el:
18471 * international/uni-mirrored.el:
18472 * international/uni-name.el:
18473 * international/uni-numeric.el:
18474 * international/uni-old-name.el:
18475 * international/uni-titlecase.el:
18476 * international/uni-uppercase.el: Regenerate.
18477
18478 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18479
18480 * help.el (help-window-setup): Fix message displayed when other
18481 window is reused. (Bug#9341)
18482
18483 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18484
18485 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18486 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18487
18488 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18489 Mark obsolete.
18490 * shell.el (shell-parse-pcomplete-arguments): New function.
18491 (shell-completion-vars): Use it instead (bug#9160).
18492
18493 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18494
18495 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18496 strings and comments (bug#9333).
18497
18498 * emacs-lisp/debug.el (debug-arglist): New function.
18499 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18500 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18501
18502 2011-08-22 Juri Linkov <juri@jurta.org>
18503
18504 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18505 Revert regexp that highlights output switches to its old
18506 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18507
18508 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18509 to check for empty output (bug#9226).
18510
18511 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18512
18513 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18514 symbol-constituent as the default, as that stops font-lock from
18515 working properly (Bug#8843).
18516
18517 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18518
18519 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18520 `coding-system-for-*' around the process open call to avoid
18521 auth-source side effects.
18522 (smtpmail-try-auth-methods): Expand the secret password.
18523 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18524 probe hangs.
18525
18526 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18527
18528 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18529
18530 * emacs-lisp/find-func.el (find-function-noselect): New arg
18531 lisp-only.
18532
18533 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18534 signal an error for built-in functions (Bug#6664).
18535
18536 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18537
18538 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18539 (smtpmail-try-auth-methods): Use it.
18540
18541 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18542
18543 * font-lock.el (font-lock-fontify-region)
18544 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18545 (font-lock-default-unfontify-buffer)
18546 (font-lock-default-fontify-region)
18547 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18548
18549 * progmodes/compile.el (compilation-error-properties):
18550 Fix confusion between file struct and message struct (Bug#9319).
18551 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18552 `ant' regexp.
18553
18554 * net/browse-url.el (browse-url-firefox): Don't call
18555 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18556
18557 2011-08-20 Glenn Morris <rgm@gnu.org>
18558
18559 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18560
18561 * tutorial.el (tutorial--default-keys): Update some default bindings.
18562
18563 * files.el (hack-local-variables): Fully ignore case for "mode:".
18564
18565 2011-08-20 Alan Mackenzie <acm@muc.de>
18566
18567 Resolve invalid use of a regexp in regexp-opt.
18568
18569 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18570 detection for a java annotation.
18571
18572 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18573 detection for a java annotation.
18574
18575 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18576 handling for java.
18577 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18578
18579 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18580
18581 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18582 (Bug#9274).
18583
18584 2011-08-20 Alan Mackenzie <acm@muc.de>
18585
18586 Fontify CPP expressions correctly when starting in the middle of
18587 such a construct. Mainly for when jit-lock etc. starts a chunk
18588 here.
18589
18590 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18591 variable.
18592 (c-make-font-lock-search-form): New function, extracted from
18593 c-make-font-lock-search-function.
18594 (c-make-font-lock-search-function): Use the above function.
18595 (c-make-font-lock-context-search-function): New function.
18596 (c-cpp-matchers): Enhance the preprocessor expression case with
18597 the above function
18598 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18599 which takes an expression.
18600
18601 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18602
18603 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18604
18605 * window.el (display-buffer-reuse-window)
18606 (display-buffer-pop-up-window): Don't reuse or split a side
18607 window.
18608
18609 2011-08-19 Glenn Morris <rgm@gnu.org>
18610
18611 * files.el (hack-local-variables-prop-line, hack-local-variables):
18612 Downcase "Mode:". (Bug#9331)
18613
18614 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18615
18616 * international/characters.el: Add L and R categories.
18617
18618 * subr.el (bidi-string-mark-left-to-right): Rename from
18619 string-mark-left-to-right. Use category search.
18620
18621 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18622
18623 2011-08-18 Juri Linkov <juri@jurta.org>
18624
18625 * faces.el (error, warning, success): New faces with definitions
18626 copied from old default values of `font-lock-warning-face',
18627 `compilation-warning', `compilation-info' (bug#6117).
18628
18629 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18630
18631 * progmodes/compile.el (compilation-error): Inherit from `error'.
18632 (compilation-warning): Inherit from `warning'.
18633 (compilation-info): Inherit from `success'.
18634
18635 * dired.el (dired-marked): Inherit from `warning'.
18636 (dired-flagged): Inherit from `error'.
18637
18638 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18639
18640 * mail/smtpmail.el (auth-source): Require to avoid problems with
18641 binding variables (bug#9298). Also clean up some unused
18642 autoloads.
18643
18644 * net/network-stream.el (network-stream-open-starttls):
18645 Support using starttls.el without using gnutls-cli.
18646
18647 2011-08-17 Juri Linkov <juri@jurta.org>
18648
18649 * progmodes/grep.el (rgrep): Handle the case when
18650 `grep-find-command' is a cons cell (bug#9278).
18651
18652 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18653
18654 * window.el (display-buffer-pop-up-frame): Run frame creation
18655 function with BUFFER current (as special-display-popup-frame
18656 does). Reported by Drew Adams.
18657
18658 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18659
18660 * epa-mail.el: Simplify GnuPG group expansion using
18661 epg-expand-group.
18662 (epa-mail-group-alist, epa-mail-group-modtime)
18663 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18664 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18665 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18666 Remove.
18667
18668 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18669
18670 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18671
18672 2011-08-16 Alan Mackenzie <acm@muc.de>
18673
18674 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18675 Correct, to avoid the inside of macros.
18676
18677 2011-08-16 Richard Stallman <rms@gnu.org>
18678
18679 * epa-mail.el: Handle GnuPG group definitions.
18680 (epa-mail-group-alist, epa-mail-group-modtime)
18681 (epa-mail-gnupg-conf-file): New variables.
18682 (epa-mail-parse-groups, epa-mail-sync-groups)
18683 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18684 (epa-mail-expand-recipients): New functions.
18685 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18686
18687 * mail/rmail.el (rmail-epa-decrypt): New command.
18688
18689 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18690 Don't bind buffer-read-only, just inhibit-read-only.
18691 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18692 (epa-decrypt-armor-in-region): Make error message clearer.
18693
18694 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18695
18696 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18697 and "a2b" to "ab" for `prefix'.
18698
18699 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18700
18701 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18702 filter groups.
18703 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18704 Fourquet (Bug#8804).
18705
18706 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18707
18708 * startup.el (argi): Declare as global variable (bug#9275).
18709
18710 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18711
18712 * subr.el (string-mark-left-to-right): Search the entire string
18713 for RTL script, not just the terminating character. Doc fix.
18714
18715 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18716
18717 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18718 New function.
18719 (js--regexp-literal, js-syntax-propertize-function): Remove.
18720 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18721 (js-mode-map): Don't rebind electric keys.
18722 (js-insert-and-indent): Remove.
18723 (js-mode): Setup electric-layout and electric-indent instead.
18724
18725 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18726
18727 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18728
18729 * epa.el (epa-progress-callback-function): Fix the logic of
18730 displaying progress.
18731 * epa-file.el (epa-file-insert-file-contents): Make progress
18732 display more user-friendly.
18733 (epa-file-write-region): Ditto.
18734
18735 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18736
18737 * subr.el (string-mark-left-to-right): New function.
18738
18739 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18740 Use string-mark-left-to-right.
18741 (list-buffers-noselect): Caller changed.
18742
18743 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18744 Use string-mark-left-to-right.
18745 (tabulated-list-print): Recenter after moving point.
18746
18747 2011-08-10 Juri Linkov <juri@jurta.org>
18748
18749 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18750 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18751 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18752
18753 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18754
18755 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18756 (Bug#7554).
18757
18758 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18759
18760 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18761 character. (Bug#6594)
18762
18763 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18764
18765 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18766 (image-dired--with-db-file): New macro.
18767 (image-dired-write-tags, image-dired-remove-tag)
18768 (image-dired-create-gallery-lists, image-dired-write-comments)
18769 (image-dired-get-comment, image-dired-mark-tagged-files)
18770 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18771 (image-dired-gallery-generate): Use insert-file-contents.
18772
18773 * time.el (display-time-world-list, display-time-world-display):
18774 * time-stamp.el (time-stamp-string):
18775 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18776 set-time-zone-rule (Bug#7337).
18777
18778 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18779
18780 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18781 (epg-error-to-string, epg-errors-to-string): New function.
18782 (epg-wait-for-completion): Reverse errors list.
18783 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18784 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18785 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18786 (epg-sign-keys, epg-generate-key-from-file)
18787 (epg-generate-key-from-string): Format errors by using
18788 epg-errors-to-string (bug#9255).
18789 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18790
18791 2011-08-07 Juri Linkov <juri@jurta.org>
18792
18793 * faces.el (list-faces-display): Remove extra angle bracket
18794 from `help-mode-map'.
18795
18796 * info.el (Info-history-toc-nodes): Doc fix.
18797
18798 * longlines.el (longlines-mode): Doc fix.
18799
18800 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18801
18802 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18803 of statements and in a few more cases (bug#9183).
18804
18805 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18806 New functions.
18807 (cl-transform-lambda): Use them (bug#9239).
18808
18809 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18810
18811 * window.el (display-buffer-same-window)
18812 (display-buffer-same-frame, display-buffer-other-window)
18813 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18814 (pop-to-buffer-other-window)
18815 (pop-to-buffer-same-frame-other-window)
18816 (pop-to-buffer-other-frame): Make them defuns.
18817 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18818
18819 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18820
18821 * subr.el (make-composed-keymap): Move from C. Change calling
18822 convention, and improve docstring to bring attention to a subtle point.
18823 * minibuffer.el (completing-read-default): Adjust accordingly.
18824
18825 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18826
18827 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18828 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18829
18830 * net/trampver.el: Update release number.
18831
18832 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18833
18834 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18835 "in" (bug#9190).
18836
18837 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18838
18839 * mail/sendmail.el (sendmail-query-once): Restore the current
18840 buffer after querying (bug#9074).
18841
18842 * dired.el (dired-flagged): Use different faces for marked and
18843 flagged files (bug#6117).
18844
18845 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18846 (bug#4433).
18847
18848 * ido.el (ido-mode): Switch off the message if called
18849 non-interactively.
18850
18851 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18852 before 587, since it appears that that's more likely to work for
18853 more people.
18854
18855 * cus-edit.el (custom-file): When running under emacs -q, always
18856 refuse to save the customizations, even if the .emacs file doesn't
18857 exist.
18858
18859 * info.el: Remove the `Info-beginning-of-buffer' function
18860 (bug#8325).
18861
18862 * net/network-stream.el (network-stream-open-starttls):
18863 Use `starttls-available-p' to see whether starttls.el can be used.
18864
18865 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18866
18867 * window.el (display-buffer-in-window): Don't set dedicated status
18868 of window here (Bug#9215).
18869 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18870 (display-buffer-pop-up-side-window)
18871 (display-buffer-in-side-window): Set dedicated status of window here.
18872
18873 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18874
18875 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18876 before binding generated-autoload-file.
18877
18878 2011-08-01 Deniz Dogan <deniz@dogan.se>
18879
18880 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18881
18882 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18883
18884 Sync with Tramp 2.2.2.
18885
18886 * net/trampver.el: Update release number.
18887
18888 2011-07-30 Juri Linkov <juri@jurta.org>
18889
18890 * dired-aux.el (dired-touch-initial): Remove function.
18891 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18892 current time, and `default' to the last modification time of the
18893 current marked file (bug#6887).
18894
18895 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18896
18897 * simple.el (goto-line): Use string-to-number to provide a
18898 numeric argument to read-number (bug#9163).
18899
18900 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
18901
18902 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18903 connection process, it could be nil.
18904
18905 2011-07-27 Leo Liu <sdl.web@gmail.com>
18906
18907 Simplify url handling in rcirc-mode.
18908
18909 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18910 (rcirc-browse-url-at-mouse): Remove.
18911 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18912
18913 2011-07-26 Alan Mackenzie <acm@muc.de>
18914
18915 Fontify bitfield declarations properly.
18916
18917 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18918 (c-symbol-chars): Now exported as a lang variable.
18919 (c-not-primitive-type-keywords): New lang variable.
18920
18921 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18922 QT keyword "more" to prevent "more slots: ...." being spuriously
18923 parsed as a bitfield declaration.
18924
18925 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18926 Refactor and enhance to handle bitfield declarations.
18927 (c-punctuation-in): New function.
18928 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18929 declarations properly.
18930
18931 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
18932
18933 * calendar/icalendar.el (icalendar--all-events): Take care of
18934 multiple vcalendars in a single file.
18935 (icalendar--convert-float-to-ical): Checkdoc fixes.
18936
18937 2011-07-25 Deniz Dogan <deniz@dogan.se>
18938
18939 * image.el (insert-image): Clarifying docstring.
18940
18941 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
18942
18943 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18944 `tramp-send-command-and-check' if there is no error.
18945 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18946
18947 2011-07-22 Alan Mackenzie <acm@muc.de>
18948
18949 Prevent cc-langs.elc being loaded at run time.
18950
18951 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18952 cc-langs.
18953
18954 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
18955 "(require 'cc-langs)". Quote a form so it will evaluate at
18956 (cc-mode's) compilation time.
18957
18958 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
18959
18960 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18961 loading. (Bug#9114)
18962
18963 2011-07-21 Martin Rudalics <rudalics@gmx.at>
18964
18965 * window.el (display-buffer-pop-up-window)
18966 (display-buffer-pop-up-side-window)
18967 (display-buffer-in-side-window): Call display-buffer-set-height
18968 and display-buffer-set-width after setting the new window's
18969 buffer so `fit-window-to-buffer' and friends work on the right buffer.
18970
18971 2011-07-20 Sam Steingold <sds@gnu.org>
18972
18973 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18974 (etags-tags-included-tables): Call `convert-standard-filename' on
18975 the file names contained in TAGS so that windows Emacs can handle
18976 TAGS files created by cygwin ctags.
18977
18978 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18979
18980 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18981 which apparently didn't work.
18982
18983 2011-07-19 Roland Winkler <winkler@gnu.org>
18984
18985 * proced.el (proced-send-signal): For *Marked Processes* buffer
18986 put point at beginning of buffer.
18987
18988 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
18989
18990 * proced.el (proced-format): Make header lines align with the text
18991 (bug#1779).
18992
18993 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18994
18995 * view.el (view-buffer): Allow running in `special' modes if we're
18996 visiting a file (bug#8615).
18997
18998 2011-07-19 Martin Rudalics <rudalics@gmx.at>
18999
19000 * window.el (display-buffer-alist-of-strings-p)
19001 (display-buffer-alist-set-1, display-buffer-alist-set-2):
19002 New functions.
19003 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
19004 more accurately.
19005
19006 2011-07-18 Alan Mackenzie <acm@muc.de>
19007
19008 Fontify declarators properly when, e.g., a jit-lock chunk begins
19009 inside a declaration.
19010
19011 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
19012
19013 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19014 New function.
19015 (c-complex-decl-matchers): Insert reference to
19016 c-font-lock-enclosing-decls.
19017
19018 * progmodes/cc-engine.el (c-backward-single-comment):
19019 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
19020 to nil around calls to (forward-comment -1).
19021
19022 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19023
19024 * image.el (put-image): Doc typo fix.
19025
19026 * progmodes/etags.el (tags-search): Doc typo fix.
19027
19028 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
19029 password if we get errors 550 to 554.
19030
19031 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
19032
19033 * net/gnutls.el (gnutls-log-level): Remove.
19034
19035 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
19036 indentation character (bug#6380).
19037
19038 * files.el (buffer-offer-save): Made permanently local (bug#6241).
19039
19040 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
19041 to clarify what the problem is (bug#4291).
19042
19043 * simple.el (current-kill): Clarify what
19044 `interprogram-paste-function' does (bug#7500).
19045 (auto-fill-mode): Document `auto-fill-function' in relation to
19046 `auto-fill-mode' (bug#2470).
19047
19048 2011-07-16 Lawrence Mitchell <wence@gmx.li>
19049
19050 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19051 method if slot is read-only (bug#9035).
19052
19053 2011-07-16 Martin Rudalics <rudalics@gmx.at>
19054
19055 * frame.el (select-frame-set-input-focus): New argument NORECORD.
19056 * window.el (pop-to-buffer): Select window used even if it was
19057 selected before, see discussion of (Bug#8615), (Bug#6954).
19058 Pass argument NORECORD on to select-frame-set-input-focus.
19059
19060 2011-07-15 Glenn Morris <rgm@gnu.org>
19061
19062 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
19063 Respect help-form.
19064
19065 2011-07-09 Lawrence Mitchell <wence@gmx.li>
19066
19067 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19068 (gnutls-negotiate): Use it.
19069
19070 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19071
19072 * net/gnutls.el (gnutls-negotiate):
19073 Upcase `gnutls-algorithm-priority'.
19074
19075 2011-07-15 Glenn Morris <rgm@gnu.org>
19076
19077 * jka-compr.el (jka-compr-verbose): Move from here...
19078 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19079 Add missing :version tag.
19080 * info.el: No need to require jka-compr when compiling.
19081
19082 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19083
19084 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19085 (gnutls-negotiate): Use it.
19086
19087 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19088
19089 * info.el (Info-beginning-of-buffer): New command.
19090 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19091 announcing `b' as the key (bug#8325).
19092 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
19093
19094 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19095
19096 * international/mule-cmds.el
19097 (describe-specified-language-support): Make the error message
19098 clearer (bug#8905).
19099
19100 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19101
19102 * isearch.el (isearch-barrier): Add a doc string, since it's
19103 mentioned in a function doc string (bug#8678).
19104
19105 2011-07-15 Martin Rudalics <rudalics@gmx.at>
19106
19107 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19108 buffer argument (Bug#9083) and self-identifying label argument.
19109
19110 2011-07-15 Glenn Morris <rgm@gnu.org>
19111
19112 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19113
19114 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19115
19116 * man.el (Man-fontify-manpage): Fix message when formatting the
19117 man page (bug#7929).
19118
19119 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19120
19121 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19122 argument LRM; if non-nil, append an invisible LRM character to the
19123 buffer name.
19124 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19125 last argument non-nil, when formatting buffer names.
19126 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19127 paragraph direction.
19128
19129 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19130
19131 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19132 the man page name (bug#7929).
19133
19134 * image.el (put-image): Mention the `put-image' overlay property
19135 (bug#7834).
19136
19137 * scroll-bar.el (set-scroll-bar-mode): Mention that
19138 `scroll-bar-mode' lists the values (bug#7772).
19139
19140 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19141 command (bug#7729).
19142
19143 * rect.el (apply-on-rectangle): Return the point after the last
19144 operation.
19145 (string-rectangle): Go to the point after the last operation
19146 (bug#7522).
19147
19148 * printing.el (pr-toggle-region): Clarify the documentation
19149 slightly (bug#7493).
19150
19151 * time.el (display-time-update):
19152 Allow `display-time-mail-function' to return nil (bug#7158).
19153 Fix suggested by Detlev Zundel.
19154
19155 * vc/diff.el (diff): Clarify the order the file names are read
19156 (bug#7111).
19157
19158 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19159 the doc string (bug#7015).
19160
19161 * font-lock.el (font-lock-maximum-decoration): Mention what
19162 numeric levels mean (bug#6935).
19163
19164 * startup.el (initial-buffer-choice): Don't mention the `none'
19165 selection, which is against policy.
19166
19167 2011-07-14 Martin Rudalics <rudalics@gmx.at>
19168
19169 * window.el (display-buffer-normalize-special):
19170 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19171
19172 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19173
19174 * subr.el (version<, version<=, version=): Mention "-CVS" and
19175 "-12345" alpha version numbers.
19176
19177 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19178
19179 * bindings.el: Add advertised binding for set-mark-command
19180 (Bug#5772).
19181
19182 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19183
19184 * bindings.el (mode-line-other-buffer):
19185 * bookmark.el (bookmark-bmenu-2-window):
19186 * bs.el (bs-cycle-next, bs-cycle-previous):
19187 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19188 switch-to-buffer.
19189
19190 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19191 Delete.
19192
19193 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
19194
19195 * follow.el (follow-debug-message, follow-redisplay):
19196 * jka-cmpr-hook.el (with-auto-compression-mode):
19197 Fix typos in docstrings.
19198
19199 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19200
19201 * subr.el (with-silent-modifications): Clarify somewhat what the
19202 macro inhibits (bug#6525).
19203
19204 * simple.el (eval-expression): Note what it does if called
19205 interactively (bug#6495).
19206
19207 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19208
19209 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19210 Use pop-to-buffer buffer-or-name if it is nil.
19211
19212 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19213 Remove switch-to-buffer.
19214
19215 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19216
19217 * files.el (make-directory): Clarify that an error will be raised
19218 if there's an error (bug#6397).
19219
19220 * startup.el (initial-buffer-choice): Add `none' as a choice
19221 (bug#6234).
19222
19223 * subr.el (add-hook): Clarify section about buffer-local hooks
19224 (bug#6218).
19225
19226 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19227
19228 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19229
19230 * tabify.el (untabify): Preserve the current column so that point
19231 doesn't move (bug#6032).
19232
19233 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19234
19235 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19236 Rewrite to avoid awkward possessive "s" (bug#5986).
19237
19238 2011-07-13 Glenn Morris <rgm@gnu.org>
19239
19240 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19241 (dired-insert-directory): Give a message the first time
19242 if ls is found not to support --dired.
19243
19244 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19245
19246 * simple.el (toggle-truncate-lines): Clarify what is toggled
19247 (bug#5580). Text by Drew Adams.
19248
19249 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19250
19251 * simple.el (blink-matching-open): Make the error message from the
19252 last change less verbose.
19253
19254 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19255
19256 * font-lock.el (font-lock-comment-face): Use the high contrast
19257 "yellow" color for font-lock-comment-face on low color terminals
19258 using a dark background color (bug#4221).
19259
19260 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19261
19262 * dired.el (dired-insert-set-properties): Make the doc string
19263 reflect what it does now (bug#5325).
19264
19265 * simple.el (blink-matching-open): Say that we were unable to find
19266 the match within the limit, if we're limited (bug#5122).
19267
19268 * international/mule-cmds.el (prefer-coding-system): Add an
19269 example (bug#4869).
19270
19271 * progmodes/etags.el (tags-search): Document `file-list-form'
19272 (bug#4731).
19273
19274 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19275
19276 * net/browse-url.el (browse-url-default-browser)
19277 (browse-url-browser-function): Make the default browser choice a
19278 bit more logical (bug#4300). Also clean up the doc string.
19279
19280 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19281
19282 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19283 binary endings (bug#4440).
19284
19285 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19286
19287 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19288 which can be pretty annoying (bug#8971).
19289
19290 * jka-compr.el (jka-compr-verbose): New variable, and use
19291 throughout (bug#8971).
19292
19293 * info.el (Info-find-file): Fall back on the installation
19294 directory if we can't find the info node anywhere else.
19295
19296 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19297
19298 * vc/vc.el (vc-revert-file):
19299 Don't set file time-stamp in the past. (Bug#5181)
19300
19301 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19302
19303 * files.el (after-find-file): Give a better error message when
19304 trying to find a symlink that points to a file that doesn't exist
19305 (bug#4398).
19306
19307 * progmodes/cc-vars.el: Remove (probably) misleading comment
19308 (bug#4396).
19309
19310 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19311
19312 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19313
19314 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19315
19316 * mouse-sel.el: Hack restoring functionality, while keeping
19317 compatibility with 2010-07-03 changes to mouse selection.
19318 (mouse-sel-primary-overlay): New var.
19319 (mouse-sel-selection-alist): Use it.
19320 (mouse-sel-mode): Doc fix; remove points that are default features
19321 of mouse.el.
19322
19323 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19324
19325 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19326 Fix previous fix (bug#2490).
19327
19328 2011-07-12 Roland Winkler <winkler@gnu.org>
19329
19330 * textmodes/bibtex.el (bibtex-initialize):
19331 Use pop-to-buffer-same-window.
19332 (bibtex-search-entries): Fix interactive call.
19333
19334 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19335
19336 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19337 Fontise bytecomp Error lines more correctly (bug#2490).
19338 Fix suggested by Johan Bockgård.
19339
19340 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19341
19342 * dired-x.el (dired-guess-default): Use `delete-dups'.
19343
19344 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19345
19346 * dired.el (dired-mark-prompt):
19347 * dired-aux.el (dired-read-shell-command): Doc fix.
19348
19349 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19350
19351 * mail/sendmail.el (sendmail-query-once):
19352 Use `customize-save-variable' unconditionally, now that it works under
19353 emacs -Q.
19354
19355 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19356
19357 * cus-edit.el (custom-file): Take an optional no-error variable.
19358 (customize-save-variable): Set the variable, and give a warning if
19359 running under "emacs -q".
19360
19361 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19362
19363 * loadhist.el (unload-feature-special-hooks):
19364 Add `auto-coding-functions', `fill-nobreak-predicate' and
19365 `find-directory-functions' (bug#5327).
19366
19367 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19368
19369 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19370
19371 * cus-edit.el (custom-guess-name-alist): -alist variables should
19372 use the `alist' type (bug#3120). Suggested by Drew Adams.
19373
19374 * printing.el: Add documentation to all the `pr-toggle-' commands.
19375
19376 2011-07-11 Leo Liu <sdl.web@gmail.com>
19377
19378 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19379 backends where it makes sense (bug#2623).
19380
19381 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19382
19383 * dired-x.el (dired-guess-default): Remove duplicate shell command
19384 entries (bug#2028).
19385 (dired-guess-default): Fix grammar in doc string (bug#2028).
19386 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19387
19388 * subr.el (remove-duplicates): New conveniency function.
19389
19390 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19391
19392 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19393 (bug#1526).
19394
19395 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19396
19397 * window.el (display-buffer-normalize-default): Don't invert
19398 meaning of even-window-heights. Reported by Eli Zaretskii
19399 <eliz@gnu.org>.
19400
19401 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19402
19403 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19404
19405 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19406
19407 * window.el (display-buffer): Fix arguments to
19408 display-buffer-reuse-window in last change.
19409
19410 * faces.el (link): Use a less saturated blue on light backgrounds.
19411
19412 * startup.el (fancy-startup-text, fancy-about-text)
19413 (fancy-startup-tail): Use font-lock faces, for background safety.
19414
19415 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19416
19417 * emulation/viper-cmd.el (viper-change-state-to-vi):
19418 Limit triggering of abbrev expansion (Bug#9038).
19419
19420 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19421
19422 * window.el (display-buffer-default-specifiers): Remove.
19423 (display-buffer-macro-specifiers): Remove default specifiers.
19424 (display-buffer-alist): Default to nil.
19425 (display-buffer-reuse-window): New optional argument other-window.
19426 (display-buffer-pop-up-window): Allow splitting internal
19427 windows. Check whether a live window was created.
19428 (display-buffer-other-window-means-other-frame)
19429 (display-buffer-normalize-arguments): Rename to
19430 display-buffer-normalize-argument and rewrite. Set the
19431 other-window specifier.
19432 (display-buffer-normalize-special): New function.
19433 (display-buffer-normalize-options): Rename to
19434 display-buffer-normalize-default and rewrite.
19435 (display-buffer-normalize-options-inhibit): Remove.
19436 (display-buffer-normalize-specifiers): Rewrite.
19437 (display-buffer): Process other-window specifier and call
19438 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19439 more faithfully.
19440 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19441 (display-buffer-alist-set): Don't handle 'unset default values.
19442 (display-buffer-in-window, display-buffer-alist-set):
19443 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19444 <tassilo@member.fsf.org>.
19445
19446 2011-07-09 Leo Liu <sdl.web@gmail.com>
19447
19448 * register.el (insert-register): Restore accidental change on
19449 2011-06-26. (Bug#9028)
19450
19451 2011-07-09 Glenn Morris <rgm@gnu.org>
19452
19453 * subr.el (remq): Handle the empty list. (Bug#9024)
19454
19455 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19456
19457 * mail/sendmail.el (send-mail-function): No longer delay custom
19458 initialization.
19459 * custom.el (custom-initialize-delay): Doc fix.
19460
19461 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19462
19463 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19464
19465 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19466
19467 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19468 human-friendly prompt.
19469
19470 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19471
19472 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19473 provided by a particular plugin.
19474
19475 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19476
19477 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19478 save customizations (with "emacs -Q"), just set the variable
19479 instead of erroring out.
19480
19481 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19482
19483 2011-07-08 Juri Linkov <juri@jurta.org>
19484
19485 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19486 (archive-zip-update-case): Use 7z if found by `executable-find'.
19487 The order of searching the available programs is the same as in
19488 `archive-zip-extract' (bug#8968).
19489
19490 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19491
19492 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19493 (menu-bar-options-menu): Tweak descriptions.
19494
19495 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19496
19497 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19498 menu items into verb phrases (bug#1421). Also refill to fit under
19499 80 columns.
19500
19501 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19502
19503 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19504 (Info-read-node-name): Doc fix (Bug#1084).
19505
19506 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19507 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19508 (end-of-sexp, beginning-of-sexp)
19509 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19510 (forward-symbol, forward-same-syntax, word-at-point)
19511 (sentence-at-point): Doc fix (Bug#1144).
19512
19513 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19514
19515 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19516 should cover it (bug#1281).
19517
19518 * cus-edit.el (custom-show): Mark as obsolete.
19519
19520 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19521 negotiation fails, then possibly try again with a non-encrypted
19522 connection (bug#9017).
19523
19524 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19525 be used.
19526
19527 2011-07-07 Richard Stallman <rms@gnu.org>
19528
19529 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19530 property, and handle its changed format.
19531 Look for the correct line number.
19532 Use file's line contents (but not past first =) to find
19533 correct line in message.
19534
19535 2011-07-07 Kenichi Handa <handa@m17n.org>
19536
19537 * international/characters.el (build-unicode-category-table):
19538 Delete it.
19539 (unicode-category-table): Set it by unicode-property-table-internal.
19540
19541 * international/mule-cmds.el (char-code-property-alist): Move to
19542 to src/chartab.c.
19543 (get-char-code-property): Call unicode-property-table-internal to
19544 load a file. Call get-unicode-property-internal where necessary.
19545 (put-char-code-property): Call unicode-property-table-internal to
19546 load a file. Call put-unicode-property-internal where necessary.
19547 put-unicode-property-internal where necessary.
19548 (char-code-property-description):
19549 Call unicode-property-table-internal to load a file.
19550
19551 * international/charprop.el:
19552 * international/uni-bidi.el:
19553 * international/uni-category.el:
19554 * international/uni-combining.el:
19555 * international/uni-comment.el:
19556 * international/uni-decimal.el:
19557 * international/uni-decomposition.el:
19558 * international/uni-digit.el:
19559 * international/uni-lowercase.el:
19560 * international/uni-mirrored.el:
19561 * international/uni-name.el:
19562 * international/uni-numeric.el:
19563 * international/uni-old-name.el:
19564 * international/uni-titlecase.el:
19565 * international/uni-uppercase.el: Regenerate.
19566
19567 * loadup.el: Load international/charprop.el before
19568 international/characters.
19569
19570 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19571
19572 * window.el (next-buffer, previous-buffer): Signal an error if
19573 called from a minibuffer window.
19574
19575 * bindings.el: Revert 2011-07-04 change.
19576
19577 2011-07-06 Richard Stallman <rms@gnu.org>
19578
19579 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19580 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19581 Treat markers like ints.
19582 (rmail-mime-entity): Doc fix.
19583
19584 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19585
19586 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19587 defcustom again for backwards compatibility.
19588
19589 * simple.el (shell-command-on-region): Fill.
19590
19591 * dired-aux.el (dired-kill-line): Add a doc string.
19592
19593 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19594 to "\\sw\\|\\s_" (bug#358).
19595
19596 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19597 (dired-unmark-backward): Ditto.
19598 (dired-flag-backup-files): Ditto.
19599
19600 * dired-x.el (dired-mark-sexp): Ditto.
19601
19602 2011-07-06 Richard Stallman <rms@gnu.org>
19603
19604 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19605 (rmail-mime-entity): New arg TRUNCATED.
19606 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19607 New functions.
19608 (rmail-mime-save): Warn if entity is truncated.
19609 (rmail-mime-toggle-hidden): Likewise, for showing.
19610 (rmail-mime-process-multipart): Record when an entity is truncated.
19611
19612 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19613 if ENTITY is a string.
19614
19615 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19616
19617 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19618 of faces when `M-C-x'-ing their definitions (bug#8378).
19619 Also clean up the code slightly.
19620
19621 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19622 because that makes the colors go away.
19623
19624 * mail/sendmail.el (send-mail-function): Change the default to
19625 `sendmail-query-once'.
19626 (sendmail-query-once): Add an autoload cookie.
19627
19628 * net/network-stream.el (network-stream-open-starttls): Try using
19629 a plain connection even if the server offered STARTTLS, and we
19630 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19631 capability. This should make smtpmail.el work in slightly more
19632 configurations.
19633
19634 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19635
19636 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19637 New defun.
19638 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19639
19640 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19641
19642 * progmodes/sql.el: Version 3.0
19643 (sql-product-alist): Add product :completion-object,
19644 :completion-column, and :statement attributes.
19645 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19646 (sql-mode-syntax-table): Mark all punctuation.
19647 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19648 ansi keywords.
19649 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19650 (sql-mode-oracle-font-lock-keywords): Improve.
19651 (sql-oracle-show-reserved-words): New function for development.
19652 (sql-product-font-lock): Simplify for source code buffers.
19653 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19654 New functions.
19655 (sql-highlight-product): Set product specific syntax table.
19656 (sql-mode-map): Add statement movement functions.
19657 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19658 New variable.
19659 (sql-statement-regexp, sql-beginning-of-statement)
19660 (sql-end-of-statement, sql-signum): New functions.
19661 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19662 (sql-show-sqli-buffer): Bug fix.
19663 (sql-interactive-mode): Store connection data as buffer local.
19664 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19665 with sql-interactive-mode.
19666 (sql-save-connection): Save buffer local settings.
19667 (sql-connection-menu-filter): Change menu entry name.
19668 (sql-product-interactive): Bug fix.
19669 (sql-preoutput-hold): New variable.
19670 (sql-interactive-remove-continuation-prompt): Bug fixes.
19671 (sql-debug-redirect): New variable.
19672 (sql-str-literal): New function.
19673 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19674 Redesign.
19675 (sql-oracle-save-settings, sql-oracle-restore-settings)
19676 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19677 (sql-completion-object, sql-completion-column)
19678 (sql-completion-sqlbuf): New variables.
19679 (sql-build-completions-1, sql-build-completions)
19680 (sql-try-completion): New functions.
19681 (sql-read-table-name): Use them.
19682 (sql-contains-names): New buffer local variable.
19683 (sql-list-all, sql-list-table): Use it.
19684 (sql-oracle-completion-types): New variable.
19685 (sql-oracle-completion-object, sql-sqlite-completion-object)
19686 (sql-postgres-completion-object): New functions.
19687
19688 2011-07-06 Glenn Morris <rgm@gnu.org>
19689
19690 * window.el (pop-to-buffer): Doc fix.
19691
19692 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19693
19694 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19695
19696 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19697
19698 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19699
19700 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19701
19702 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19703
19704 * button.el (button): Inherit from link face. Suggested by Dan
19705 Nicolaescu.
19706
19707 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19708
19709 * progmodes/gdb-mi.el: Fit in 80 columns.
19710 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19711 switch-to-buffer.
19712
19713 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19714 if imenu is simply not configured (bug#8941).
19715
19716 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19717
19718 * allout.el (allout-post-undo-hook): New allout outline-change
19719 event hook to signal undo activity.
19720 (allout-post-command-business): Run allout-post-undo-hook if an
19721 undo just occurred.
19722 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19723 * allout-widgets.el (allout-widgets-after-undo-function):
19724 Ensure the integrity of the current item's decoration after it has been
19725 in the vicinity of an undo.
19726 (allout-widgets-mode): Include allout-widgets-after-undo-function
19727 on the new allout-post-undo-hook.
19728
19729 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19730
19731 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19732 Let define-derived-mode define it.
19733 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19734 cycles of abbrev-table inheritance (bug#8998).
19735
19736 2011-07-05 Roland Winkler <winkler@gnu.org>
19737
19738 * textmodes/bibtex.el: Add support for biblatex.
19739 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19740 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19741 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19742 (bibtex-entry-alist, bibtex-field-alist): New variables.
19743 (bibtex-entry-field-alist): Obsolete alias for
19744 bibtex-BibTeX-entry-alist.
19745 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19746 (bibtex-set-dialect): New command.
19747 (bibtex-entry-type, bibtex-entry-head)
19748 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19749 Bind via bibtex-set-dialect.
19750 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19751 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19752 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19753 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19754 Define via bibtex-set-dialect.
19755 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19756 Obey bibtex-no-opt-remove-re.
19757 (bibtex-vec-push, bibtex-vec-incr): New functions.
19758 (bibtex-format-entry, bibtex-field-list)
19759 (bibtex-print-help-message, bibtex-validate)
19760 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19761
19762 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19763
19764 * progmodes/compile.el (compilation-goto-locus):
19765 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19766 * bs.el (bs-cycle-next, bs-cycle-previous):
19767 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19768 * bindings.el (mode-line-other-buffer):
19769 * autoinsert.el (auto-insert):
19770 * arc-mode.el (archive-extract):
19771 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19772
19773 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19774
19775 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19776 Fix check of `emacs-lock-unlockable-modes'.
19777 Coerce true values of `emacs-lock--try-unlocking' to t.
19778
19779 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19780
19781 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19782 * emacs-lock.el: New file.
19783
19784 2011-07-05 Julien Danjou <julien@danjou.info>
19785
19786 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19787 than `boundp' to check if face is set.
19788
19789 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19790
19791 * register.el (registerv-make):
19792 * window.el (window-min-height): Fix typos in docstrings.
19793
19794 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19795
19796 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19797 Update doc string.
19798
19799 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19800
19801 * server.el (server-execute): Catch quit and call
19802 `server-return-error' to pass the error back to emacsclient and
19803 close the connection (bug#8942).
19804
19805 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19806
19807 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19808 insecure exception for current topic. Also note that auto-saves
19809 are handled differently.
19810
19811 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19812 State variables for tracking auto-save inhibition situation.
19813
19814 (allout-write-contents-hook-handler): Rename from
19815 'allout-write-file-hook-handler', and describe how it depends on
19816 write-contents-functions sensitivity to non-nil value to prevent
19817 file write.
19818
19819 (allout-auto-save-hook-handler): Remove. auto-save does not check
19820 this in individual buffers, only in the starting buffer, so this
19821 is not the right way for us to inhibit auto-save in a buffer
19822 according to its condition.
19823
19824 (allout-mode): Use new allout-write-contents-hook-handler, and
19825 only with write-contents-functions. Remove auto-save provisions -
19826 they're implemented elsewhere.
19827
19828 (allout-before-change-handler): If undo is in progress, note that
19829 for attention of allout-post-command-business.
19830
19831 (allout-post-command-business): If the command we're following was
19832 an undo, check for change in the status of encrypted items and
19833 adjust auto-save inhibitions accordingly.
19834
19835 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19836 according to whether there are or aren't any plain-text topics
19837 pending encryption.
19838
19839 (allout-inhibit-auto-save-info-for-decryption):
19840 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19841 if there are plain-text topics pending encryption.
19842
19843 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19844 buffer-saved-size and some allout state to not inhibit auto-saves
19845 if there are no longer any plain-text topics pending encryption.
19846
19847 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19848 No longer provide for exemption of the current topic.
19849
19850 2011-07-04 Juri Linkov <juri@jurta.org>
19851
19852 Add 7z operations to delete and save changed members (bug#8968).
19853 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19854 New defcustoms.
19855 (archive-7z-write-file-member): New function.
19856 (archive-7z-summarize): Fix the number of dashes in the
19857 listing output.
19858
19859 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19860
19861 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19862 (bug#8958).
19863
19864 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19865
19866 * bindings.el: Ignore next-buffer and previous-buffer in
19867 minibuffer-local-map.
19868
19869 * font-lock.el (font-lock-builtin-face): Change light background
19870 color to dark slate blue (Bug#6693).
19871
19872 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19873
19874 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19875
19876 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19877
19878 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19879 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19880 Add switch-to-buffer.
19881
19882 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19883
19884 * isearch.el (isearch-search-fun-function): Clarify further the
19885 meaning of the function returned.
19886
19887 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19888
19889 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19890
19891 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19892 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19893 Use it.
19894 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19895 `tramp-default-remote-path' does not exist.
19896 (tramp-send-command-and-read): New optional argument NOERROR.
19897 (tramp-open-connection-setup-interactive-shell)
19898 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19899 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19900 (tramp-process-sentinel): Flush also process' connection property.
19901 (tramp-sh-handle-start-file-process): Do not set process
19902 sentinel. It is done now ...
19903 (tramp-maybe-open-connection): ... here. (Bug#8929)
19904
19905 2011-07-04 MON KEY <monkey@sandpframing.com>
19906
19907 * play/animate.el (animate-string): Doc fixes and allow changing
19908 the buffer name (bug#5417).
19909
19910 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19911
19912 * play/animate.el (animation-buffer-name): Rename from *animate*.
19913
19914 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19915
19916 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19917 This is simpler and helps future-proof the code.
19918 (timer-until): Use time-subtract and float-time.
19919 (timer--time-less-p): Use time-less-p.
19920
19921 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19922
19923 * type-break.el (timep): Use the value of `float-time' to avoid a
19924 byte-compiler warning.
19925
19926 * server.el (server-eval-and-print): Return any result, even nil.
19927
19928 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19929
19930 * type-break.el: Accept time formats that the builtins accept.
19931 (timep, type-break-time-difference): Accept any format that
19932 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19933 This is simpler and helps future-proof the code.
19934 (type-break-time-difference): Round rather than ignoring
19935 subseconds components.
19936
19937 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19938
19939 * info.el (Info-apropos-matches): Make non-interactive, since it
19940 doesn't seem to do anything useful as a command (bug#8829).
19941
19942 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
19943
19944 * frame.el (frame-background-mode, frame-set-background-mode):
19945 Move from faces.el.
19946 (frame-default-terminal-background): New function.
19947
19948 * custom.el (custom-push-theme): Don't record faces in `changed'
19949 theme; this doesn't work correctly for per-frame face settings.
19950 (disable-theme): Use face-set-after-frame-default to reset faces.
19951 (custom--frame-color-default): New function.
19952
19953 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19954
19955 * dired.el (dired-flagging-regexp): Remove unused variable
19956 (bug#8769).
19957
19958 2011-03-29 Kevin Ryde <user42@zip.com.au>
19959
19960 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19961 `perl-Test2' extend to match possible "fail #N" rep count
19962 (bug#8377).
19963
19964 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19965
19966 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19967 `smtpmail-via-smtp' now returns the error instead of nil.
19968
19969 * isearch.el (isearch-search-fun-function): Clarify the doc string
19970 (bug#8101).
19971
19972 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
19973
19974 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19975 unnecessary spaces (bug#8987).
19976
19977 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19978
19979 * net/network-stream.el (open-network-stream): Use the
19980 :end-of-capability command thoughout.
19981
19982 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19983
19984 * net/network-stream.el (open-network-stream): Add the
19985 :end-of-capability command parameter, used by pop3.el.
19986
19987 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19988
19989 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19990
19991 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19992 for list)" (bug#6475).
19993
19994 * files.el (file-expand-wildcards): Ignore non-readable
19995 sub-directories while trying to find matches instead of signaling
19996 an error (bug#6297).
19997
19998 * man.el (Man-reference-regexp): Allow matching possible
19999 word-wrapped references (bug#6289).
20000
20001 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
20002 for consistency with the other vc buffers (bug#6197).
20003 (vc-checkin): Ditto.
20004
20005 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
20006
20007 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
20008
20009 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20010
20011 * custom.el (defcustom): Clarify that :set is only used in the
20012 Customize user interface (bug#6089).
20013
20014 * progmodes/flymake.el (flymake-mode): If the buffer isn't
20015 associated with a file, refuse to run instead of erroring out
20016 (bug#6084).
20017
20018 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
20019 the doc string, since it appears that using `fill-column' always
20020 controls the width (bug#7845).
20021
20022 * simple.el (shell-command-on-region): Say where the error output
20023 went if `shell-command-default-error-buffer' is set (bug#6857).
20024
20025 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
20026
20027 * allout.el (allout-yank-processing): Adjust cursor position for
20028 backwards-deleted space.
20029
20030 (allout-rebullet-heading): Register changes with
20031 allout-exposure-changed-hook, so the modified topic is properly
20032 decorated.
20033
20034 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20035
20036 * minibuffer.el (completion-in-region): Document PREDICATE
20037 (bug#7136).
20038
20039 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
20040 of keyword/argument pairs (bug#6904).
20041
20042 * replace.el (multi-occur):
20043 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
20044
20045 2011-07-02 Drew Adams <drew.adams@oracle.com>
20046
20047 * dired.el (dired-mark-if): Make the message about whether it's
20048 marking or unmarking clearer (bug#8523).
20049
20050 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20051
20052 * disp-table.el (display-table-print-array): New function.
20053 (describe-display-table): Use it to print the vectors more pretty
20054 (Bug#8859).
20055
20056 2011-07-02 Martin Rudalics <rudalics@gmx.at>
20057
20058 * window.el (window-state-get-1): Don't assign clone numbers.
20059 Add clone-of item to list of window parameters.
20060 (window-state-put-2): Don't process clone numbers.
20061 (display-buffer-alist): Fix doc-string.
20062
20063 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20064
20065 * subr.el (remq): Don't allocate if it's not needed.
20066 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20067 (keymap--merge-bindings): New functions.
20068 (keymap-canonicalize): Use them to refine the canonicalization.
20069 * minibuffer.el (minibuffer-local-completion-map)
20070 (minibuffer-local-must-match-map): Move initialization from C.
20071 (minibuffer-local-filename-completion-map): Move initialization from C;
20072 don't inherit from anything here.
20073 (minibuffer-local-filename-must-match-map): Make obsolete.
20074 (completing-read-default): Use make-composed-keymap to combine
20075 minibuffer-local-filename-completion-map with either
20076 minibuffer-local-must-match-map or
20077 minibuffer-local-filename-completion-map.
20078
20079 2011-07-01 Glenn Morris <rgm@gnu.org>
20080
20081 * type-break.el (type-break-time-sum): Use dolist.
20082
20083 * textmodes/flyspell.el (flyspell-word-search-backward):
20084 Replace CL function.
20085
20086 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20087
20088 * mouse.el (mouse--strip-first-event): New function.
20089 (function-key-map): Use it to map fringe clicks to normal clicks
20090 by default.
20091
20092 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20093 (vc-bzr-revision-completion-table): Add support for annotate and date.
20094
20095 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20096 inherit from parent.
20097
20098 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20099
20100 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
20101 (dired-show-file-type): Doc fixup (bug#8818).
20102
20103 * dired.el (dired-mode): Fix up the doc string as suggested by
20104 Drew Adams (bug#8817).
20105
20106 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20107 cookie, since the manual says that it should be possible to add
20108 this function to `find-file-hook' (bug#8709).
20109
20110 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20111
20112 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20113 here. Noted Ted Zlatanov as the maintainer.
20114 (cfengine-common-settings, cfengine-common-syntax): New functions
20115 to set up common things between `cfengine-mode' and
20116 `cfengine3-mode'.
20117 (cfengine3-mode): New mode.
20118 (cfengine3-defuns cfengine3-defuns-regex
20119 (cfengine3-class-selector-regex cfengine3-category-regex)
20120 (cfengine3-vartypes cfengine3-font-lock-keywords)
20121 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
20122 (cfengine3-indent-line): Add from cfengine3.el.
20123
20124 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
20125
20126 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20127
20128 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20129
20130 2011-07-01 Martin Rudalics <rudalics@gmx.at>
20131
20132 * window.el (same-window-buffer-names, same-window-regexps)
20133 (same-window-p, special-display-frame-alist)
20134 (special-display-popup-frame, special-display-function)
20135 (special-display-buffer-names, special-display-regexps)
20136 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20137 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20138 (split-window-preferred-function, split-height-threshold)
20139 (split-width-threshold, even-window-heights)
20140 (display-buffer-mark-dedicated, window-splittable-p)
20141 (split-window-sensibly, window-safely-shrinkable-p):
20142 Un-obsolete.
20143 (display-buffer): Don't spread args with function specifier
20144 because special-display-popup-frame won't like it.
20145
20146 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20147
20148 Time-stamp simplifications and fixes.
20149 These improve accuracy slightly, and future-proof the code
20150 against some potential changes to current-time format.
20151
20152 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20153 by using time-since and float-time.
20154
20155 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20156 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20157 + NNN microseconds".
20158
20159 * type-break.el (type-break-time-sum): Rewrite using time-add.
20160
20161 * play/hanoi.el (hanoi-current-time-float): Remove.
20162 All uses replaced by float-time.
20163
20164 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20165 This yields a more-accurate answer.
20166 (rng-time-to-float): Remove; no longer needed.
20167
20168 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20169
20170 * calendar/timeclock.el (timeclock-seconds-to-time):
20171 Defalias to seconds-to-time, since they're the same thing.
20172
20173 * emacs-lisp/elp.el (elp-elapsed-time):
20174 * emacs-lisp/benchmark.el (benchmark-elapse):
20175 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20176
20177 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20178
20179 * window.el (bury-buffer): Don't iconify the only frame.
20180 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20181 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20182
20183 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
20184
20185 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20186 Add mouse-yank-primary.
20187
20188 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20189
20190 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20191
20192 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20193
20194 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20195 (find-library-name): Use it to find relative load names when provided
20196 absolute file name (bug#8803).
20197
20198 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20199
20200 * textmodes/flyspell.el (flyspell-word): Consider words that
20201 differ only in case as potential doublons (bug#5687).
20202
20203 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20204 Remove two rather uninteresting debugging-like messages to make
20205 debbugs.el more silent.
20206
20207 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20208 a password-like phrase.
20209
20210 2011-06-30 Masatake YAMATO <yamato@redhat.com>
20211
20212 * progmodes/cc-guess.el: New file.
20213
20214 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
20215
20216 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20217 derived from `c-basic-common-init'.
20218
20219 * progmodes/cc-mode.el (top-level): Require cc-guess.
20220 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20221
20222 2011-06-30 Lawrence Mitchell <wence@gmx.li>
20223
20224 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20225
20226 2011-06-30 Alan Mackenzie <acm@muc.de>
20227
20228 * progmodes/cc-engine.el (c-guess-continued-construct):
20229 Correct the handling of template-args-cont, particularly for when font
20230 lock is disabled. Name this case as "CASE G".
20231
20232 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20233
20234 * allout.el (allout-yank-processing): Fix injection of extra space
20235 between bullet and non-whitespace character in first topic when
20236 pasting, ensuring that the actual spacing in the pasted topic
20237 following the bullet char is preserved. This extra space was
20238 causing pasted encrypted topics to get a decrypted status even
20239 when the content was actually still encrypted. Now the decryption
20240 status from before the paste is preserved.
20241
20242 (allout-flag-region): Set all allout overlays so they evaporate
20243 when reduced to zero length (evanescent), to prevent overlay
20244 leakage.
20245
20246 2011-06-30 Glenn Morris <rgm@gnu.org>
20247
20248 * w32-fns.el (w32-charset-info-alist): Declare.
20249
20250 * find-dired.el (find-grep-options): Simplify.
20251
20252 * term/ns-win.el (ns-set-resource): Declare.
20253
20254 * ses.el (row, col): Declare dynamic variables honestly.
20255
20256 * textmodes/reftex-parse.el (index-tags): Declare.
20257
20258 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20259
20260 * cus-edit.el (customize-push-and-save): New function.
20261
20262 * files.el (hack-local-variables-confirm): Use it.
20263
20264 * custom.el (load-theme): New arg NO-CONFIRM.
20265 Use customize-push-and-save (Bug#8720).
20266 (custom-enabled-themes): Doc fix.
20267
20268 * cus-theme.el (customize-create-theme)
20269 (custom-theme-merge-theme): Callers to load-theme changed.
20270
20271 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20272
20273 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20274 short URLs have at least one dot in them (bug #7614).
20275
20276 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20277 nil, because using a pty is apparently too slow (bug #895).
20278
20279 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20280
20281 * mail/sendmail.el (sendmail-query-once): New function.
20282 (sendmail-query-once-function): New variable.
20283
20284 2011-06-29 Glenn Morris <rgm@gnu.org>
20285
20286 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20287
20288 * ses.el (top-level): Require cl when compiling.
20289 (ses-set-localvars): Fix error statement.
20290 Call it at compile time to silence a storm of warnings.
20291
20292 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20293
20294 * window.el (normalize-live-buffer): Rename to
20295 window-normalize-buffer.
20296 (normalize-live-frame): Rename to window-normalize-frame.
20297 (normalize-any-window): Rename to window-normalize-any-window.
20298 (normalize-live-window): Rename to window-normalize-live-window.
20299 (make-window-atom): Rename to window-make-atom.
20300 (window-resize-reset): Rename to window--resize-reset.
20301 (window-resize-reset-1): Rename to window--resize-reset-1.
20302 (resize-mini-window): Rename to window--resize-mini-window.
20303 (resize-subwindows-skip-p): Rename to
20304 window--resize-subwindows-skip-p.
20305 (resize-subwindows-normal): Rename to
20306 window--resize-subwindows-normal.
20307 (resize-subwindows): Rename to window--resize-subwindows.
20308 (resize-other-windows): Rename to window--resize-siblings.
20309 (resize-this-window): Rename to window--resize-this-window.
20310 (resize-root-window): Rename to window--resize-root-window.
20311 (resize-root-window-vertically): Rename to
20312 window--resize-root-window-vertically.
20313 (normalize-buffer-to-display): Rename to
20314 window-normalize-buffer-to-display.
20315 (normalize-buffer-to-switch-to): Rename to
20316 window-normalize-buffer-to-switch-to.
20317 Correspondingly update all callers of the functions listed
20318 above.
20319 (display-buffer-alist, display-buffer-normalize-arguments)
20320 (display-buffer-normalize-options, display-buffer)
20321 (display-buffer-alist-set): Use "function" instead of
20322 "fun-with-args".
20323
20324 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20325
20326 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20327 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20328 debbugs.gnu.org. Mention acknowledgment email.
20329
20330 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20331
20332 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20333 buffer multibyteness, since it shouldn't matter.
20334
20335 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20336
20337 * window.el (display-buffer-in-side-window): Handle dedicated
20338 windows as in display-buffer-reuse-window.
20339 (display-buffer-normalize-alist): Use value of override
20340 specifier.
20341 (display-buffer-normalize-specifiers): Use value of
20342 other-window-means-other-frame specifier.
20343 (display-buffer-alist): Rewrite some texts in widgets.
20344 (display-buffer): Spread arguments when calling function
20345 specified by fun-with-args.
20346
20347 2011-06-28 Deniz Dogan <deniz@dogan.se>
20348
20349 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20350 Unnest `let'.
20351
20352 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20353 selectors (Bug#5732).
20354 (css-proprietary-nmstart-re): Use `regexp-opt'.
20355
20356 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20357
20358 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20359 (eshell-ls-date-format): New defcustom.
20360 (eshell-ls-file): Use it.
20361
20362 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20363
20364 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20365
20366 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20367
20368 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20369 (ange-ftp-make-tmp-name): New arg.
20370 (ange-ftp-file-local-copy): Use it.
20371
20372 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20373
20374 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20375 no-conversion (Bug#8870).
20376
20377 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20378
20379 * window.el (window-right, window-left, window-child)
20380 (window-child-count, window-last-child)
20381 (window-iso-combination-p, walk-window-tree-1)
20382 (window-atom-check-1, window-tree-1, delete-window)
20383 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20384 new naming conventions - window-vchild, window-hchild,
20385 window-next and window-prev are now called window-top-child,
20386 window-left-child, window-next-sibling and window-prev-sibling
20387 respectively.
20388 (resize-window-reset): Rename to window-resize-reset.
20389 (resize-window-reset-1): Rename to window-resize-reset-1.
20390 (resize-window): Rename to window-resize.
20391 (window-min-height, window-min-width)
20392 (resize-mini-window, resize-this-window, resize-root-window)
20393 (resize-root-window-vertically, adjust-window-trailing-edge)
20394 (enlarge-window, shrink-window, maximize-window)
20395 (minimize-window, delete-window, quit-restore-window)
20396 (split-window, balance-windows, balance-windows-area-adjust)
20397 (balance-windows-area, window-state-put-2)
20398 (display-buffer-even-window-sizes, display-buffer-set-height)
20399 (display-buffer-set-width, set-window-text-height)
20400 (fit-window-to-buffer): Rename all "resize-window" prefixed
20401 calls to use the "window-resize" prefix convention.
20402 (display-buffer-alist): Fix symbol for label specifier.
20403 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20404 corresponding specifier.
20405 Reported by Juanma Barranquero <lekktu@gmail.com>.
20406
20407 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20408
20409 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20410 convention.
20411 (ses-call-printer): Does not pass an empty string to formatter when the
20412 cell is empty to keep from barking printer Calc math-format-value.
20413
20414 2011-06-27 Richard Stallman <rms@gnu.org>
20415
20416 * battery.el (battery-mode-line-limit): New variable.
20417 (battery-update): Handle it.
20418
20419 * mail/rmailmm.el (rmail-mime-process-multipart):
20420 Handle truncated messages.
20421
20422 2011-06-27 Glenn Morris <rgm@gnu.org>
20423
20424 * progmodes/flymake.el (flymake-err-line-patterns):
20425 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20426
20427 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20428
20429 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20430 (ses--clean-!, ses--clean-_): New functions.
20431 (ses-range): Add configurability of readout order, and conversion
20432 to Calc vector.
20433
20434 * ses.el (ses-repair-cell-reference-all): New function.
20435 (ses-cell-symbol): Set macro as safe, so that it can be used in
20436 formulas.
20437
20438 * ses.el: Update cycle detection algorithm.
20439 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20440 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20441 (ses-set-localvars): New function.
20442 (ses-make-cell): Add property-list as a cell element.
20443 (ses-cell-property-get-fun, ses-cell-property-get)
20444 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20445 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20446 New functions.
20447 (ses-cell-property-set, ses-cell-property-pop)
20448 (ses-cell-property-get-handle): New macro.
20449 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20450 New aliases, used for code readability.
20451 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20452 cycle detection.
20453 (ses-self-reference-early-detection): New defcustom.
20454 (ses-formula-references): Robustify against self-referring cells.
20455 (ses-mode): Use ses-set-localvars.
20456 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20457 before lauching the update processing.
20458 (ses-initialize-Dijkstra-attempt): New function.
20459 (ses-recalculate-cell): Update for cycle detection based on
20460 Dijkstra algorithm.
20461
20462 * ses.el: Fix commenting and indenting convention.
20463
20464 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20465
20466 * bs.el (bs-cycle-next): Complete last change.
20467
20468 2011-06-27 Drew Adams <drew.adams@oracle.com>
20469
20470 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20471
20472 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20473
20474 * net/network-stream.el (network-stream-open-starttls):
20475 Don't re-get capabilities unless we've reestablished connection.
20476 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20477
20478 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20479 to binary to possibly avoid line encoding issues on Windows (among
20480 other things).
20481
20482 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20483
20484 * net/network-stream.el (open-network-stream): Return an :error
20485 saying what the problem was, if possible.
20486
20487 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20488 server.
20489
20490 * net/network-stream.el (network-stream-open-starttls): If we
20491 wanted to use STARTTLS, and the server offered it, but we weren't
20492 able to because we had no STARTTLS support, then close the connection.
20493 (open-network-stream): Return an :error element, if present.
20494
20495 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20496
20497 * hl-line.el (hl-line-sticky-flag): Doc fix.
20498 (global-hl-line-sticky-flag): New option (Bug#8323).
20499 (global-hl-line-highlight): Obey it.
20500
20501 * vc/vc.el (vc-revert-show-diff): Default to t.
20502
20503 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20504
20505 * allout-widgets.el (allout-widgets-post-command-business):
20506 Stop decorating intermediate isearch matches. They're not being
20507 undecorated when an isearch is continued past, and isearch
20508 automatically collapses them. This leads to "widget leaks", where
20509 decorated items accumulate in collapsed areas. Lines with lots of
20510 hidden widgets can slow down cursor travel, substantially.
20511 Too much complicated machinery would be needed to ensure undecoration,
20512 so we're doing without this nicety.
20513
20514 (allout-widgets-tally-string): Don't try to do a hash-table-count
20515 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20516 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20517 *Messages* when allout-widgets-maintain-tally is t.
20518
20519 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20520
20521 * window.el (display-buffer-normalize-argument): Rename to
20522 display-buffer-normalize-arguments. Handle special meaning of
20523 LABEL argument. Respect special-display-function when popping up
20524 a new frame. Fix code searching for a window showing the buffer
20525 on another frame.
20526 (display-buffer-normalize-specifiers):
20527 Call display-buffer-normalize-arguments.
20528 (display-buffer-in-window): Don't undedicate the window if its
20529 buffer remains the same.
20530 Reported by Drew Adams <drew.adams@oracle.com>.
20531 (display-buffer-alist): Add choice for same-window macro
20532 specfier.
20533 (display-buffer): Mention special meaning of LABEL argument in
20534 doc-string. Fix quoting. Don't pop up a new frame even as
20535 fallback.
20536
20537 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20538
20539 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20540 avoid deleting the current window in some cases (bug#8911).
20541
20542 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20543
20544 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20545 (Bug#8934)
20546
20547 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20548
20549 * net/network-stream.el (network-stream-open-starttls):
20550 Use built-in TLS support if `gnutls-available-p' is true.
20551 (network-stream-open-tls): Ditto.
20552
20553 2011-06-26 Leo Liu <sdl.web@gmail.com>
20554
20555 * register.el (registerv): New struct.
20556 (registerv-make): New function.
20557 (jump-to-register, describe-register-1, insert-register):
20558 Support the jump-func, print-func and insert-func slot of a registerv
20559 struct. (Bug#8415)
20560
20561 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20562
20563 * vc/vc.el (vc-revert-show-diff): New defcustom.
20564 (vc-diff-internal): New arg specifying diff buffer.
20565 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20566 reuse an existing *vc-diff* buffer (Bug#8927).
20567
20568 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20569
20570 2011-06-26 Glenn Morris <rgm@gnu.org>
20571
20572 * progmodes/f90.el (f90-critical-indent): New option.
20573 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20574 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20575 (f90-mode): Doc fix.
20576 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20577 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20578 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20579 (f90-match-end): Handle block, critical.
20580
20581 2011-06-25 Glenn Morris <rgm@gnu.org>
20582
20583 * calendar/diary-lib.el (diary-included-files): Doc fix.
20584 (diary-include-files): New function, extracted from
20585 diary-include-other-diary-files and diary-mark-included-diary-files.
20586 (diary-include-other-diary-files, diary-mark-included-diary-files):
20587 Just call diary-include-files.
20588 (diary-mark-entries): Reset diary-included-files on first call.
20589
20590 * calendar/diary-lib.el (diary-mark-entries)
20591 (diary-mark-included-diary-files):
20592 Visit included diary-files in temp buffers.
20593
20594 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20595 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20596 (f90-start-block-re, f90-imenu-generic-expression)
20597 (f90-looking-at-program-block-start, f90-no-block-limit):
20598 Add support for submodules.
20599
20600 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20601 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20602
20603 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20604
20605 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20606 buffer-file-type before setting its value, to avoid disastrous
20607 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20608
20609 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20610
20611 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20612
20613 * ses.el (ses-unload-function):
20614 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20615
20616 * proced.el (proced-unload-function):
20617 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20618
20619 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20620
20621 * server.el (server-create-window-system-frame): Add parameters arg.
20622 (server-process-filter): Doc fix. Handle frame-parameters.
20623
20624 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20625
20626 Fix bug#8730, bug#8781.
20627
20628 * loadhist.el (unload--set-major-mode): New function.
20629 (unload-feature): Use it.
20630
20631 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20632 (python-unload-function): New function.
20633
20634 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20635
20636 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20637
20638 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20639
20640 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20641 the candidates list.
20642
20643 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20644
20645 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20646
20647 2011-06-23 Richard Stallman <rms@gnu.org>
20648
20649 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20650 (rmail-variables): Set next-error-move-function.
20651 (rmail-what-message): Take argument POS.
20652 (rmail-next-error-move): New function.
20653
20654 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20655
20656 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20657 messages for adjacent non-terminals.
20658
20659 2011-06-23 Richard Stallman <rms@gnu.org>
20660
20661 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20662 (rmail-show-message-1): Preserve buffer modified flag.
20663 (rmail-start-mail): Don't specify use of rmail-mail-return;
20664 that's done by mail-bury now.
20665 (rmail-mail-return): Handle arg NEWBUF.
20666
20667 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20668
20669 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20670 SIZE is a number.
20671
20672 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20673
20674 * window.el (get-lru-window, get-mru-window)
20675 (get-largest-window): Never return a minibuffer window.
20676 (display-buffer-pop-up-window): Fix a bug that could lead to
20677 reusing the minibuffer window.
20678 (display-buffer): Pass original specifier argument to
20679 display-buffer-function instead of the normalized one.
20680 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20681
20682 2011-06-22 Leo Liu <sdl.web@gmail.com>
20683
20684 * minibuffer.el (completing-read-function)
20685 (completing-read-default): Move from minibuf.c.
20686
20687 2011-06-22 Richard Stallman <rms@gnu.org>
20688
20689 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20690 to Rmail even if not started by a special Rmail command.
20691
20692 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20693 Copy the buffer currently showing just one message.
20694
20695 2011-06-22 Roland Winkler <winkler@gnu.org>
20696
20697 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20698 (bibtex-clean-entry): First delete the old key so that a
20699 customized algorithm for generating the new key does not get
20700 confused by the old key.
20701 (bibtex-url): Obey regexp of first step.
20702 (bibtex-search-entries): Do not use add-to-list with local
20703 list-var.
20704
20705 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20706
20707 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20708 stored a user name, then query for the password first, instead of
20709 waiting for SMTP to give an error message and the trying again.
20710
20711 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20712
20713 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20714 BUFFER in call-process.
20715
20716 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20717
20718 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20719 QUIT twice.
20720 (smtpmail-try-auth-methods): Require user name and password from
20721 auth-source.
20722
20723 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20724
20725 * window.el (display-buffer-default-specifiers)
20726 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20727 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20728 (split-window): Normalize SIDE argument (Bug#8916).
20729
20730 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20731 (special-display-frame-alist, special-display-popup-frame):
20732 Remove duplicate declarations. These are now in window.el.
20733
20734 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20735
20736 * mail/smtpmail.el (smtpmail-via-smtp):
20737 Set :use-starttls-if-possible so that we always use STARTTLS if the
20738 server supports it. SMTP servers that support STARTTLS commonly
20739 require it.
20740
20741 * net/network-stream.el (network-stream-open-starttls): Support
20742 upgrading to STARTTLS always, even if we don't have built-in support.
20743 (open-network-stream): Add the :always-query-capabilities keyword.
20744
20745 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20746 upgrades with `open-network-stream', and rely solely on
20747 auth-source for all credentials. Big changes throughout the file,
20748 but in particular:
20749 (smtpmail-auth-credentials): Remove.
20750 (smtpmail-starttls-credentials): Remove.
20751 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20752 MAIL FROM, too.
20753
20754 * net/network-stream.el (network-stream-open-starttls):
20755 Provide support for client certificates both for external and built-in
20756 STARTTLS.
20757 (auth-source): Require.
20758 (open-network-stream): Document the :client-certificate keyword.
20759 (network-stream-certificate): Change cert-cert to cert and
20760 cert-key to key.
20761
20762 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20763
20764 * net/tramp-cache.el (top): Don't load the persistency file when
20765 "emacs -Q" has been called.
20766
20767 2011-06-21 Tim Harper <timcharper@gmail.com>
20768
20769 * term/ns-win.el (ns-initialize-window-system):
20770 Set application-specific `ApplePressAndHoldEnabled' system
20771 resource to NO as it is not yet supported by the NS port.
20772
20773 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20774
20775 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20776 (list-dynamic-libraries): ...not here.
20777
20778 2011-06-21 Leo Liu <sdl.web@gmail.com>
20779
20780 * subr.el (sha1): Implement sha1 using secure-hash.
20781
20782 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20783
20784 * window.el (display-buffer-alist): In default value do not
20785 enforce searching a window on any but the selected frame.
20786 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20787 (display-buffer-select-window): Remove function.
20788 (display-buffer-in-window): When a window on another frame gets
20789 reused, do not select it any more but just raise its frame if
20790 necessary (Bug#8851) and (Bug#8856).
20791 (display-buffer-normalize-options): Handle pop-up-frames related
20792 options more faithfully.
20793 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20794 window if it is on another frame.
20795 (display-buffer-alist, display-buffer-default-specifiers):
20796 Don't make new frame unsplittable by default.
20797 (display-buffer-normalize-argument): Fix doc-string typo and use
20798 'same-frame-other-window instead of 'other-window when associating
20799 with display-buffer-macro-specifiers.
20800
20801 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20802
20803 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20804 New functions.
20805 (5x5-mode-map, 5x5-mode-menu): Bind them.
20806 (5x5-draw-grid): Tweak the solver's rendering.
20807
20808 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20809
20810 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20811 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20812
20813 2011-06-21 Drew Adams <drew.adams@oracle.com>
20814
20815 * menu-bar.el: Use function variable instead of switch-to-buffer.
20816 (menu-bar-select-buffer-function): New variable.
20817 (menu-bar-update-buffers): Use it (bug#8876).
20818
20819 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20820
20821 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20822 variable's status.
20823
20824 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20825
20826 * x-dnd.el (x-dnd-version-from-flags)
20827 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20828 and long as number (Bug#8899).
20829 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20830
20831 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20832
20833 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20834 (completion-try-completion, completion-all-completions): Compute the
20835 metadata argument if it's missing; make it optional (bug#8795).
20836
20837 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20838 (widget-complete): Use new :completion-function property.
20839 (widget-completions-at-point): New function.
20840 (default): Use :completion-function instead of :complete.
20841 (widget-default-completions): Rename from widget-default-complete;
20842 Rewrite.
20843 (widget-string-complete, widget-file-complete, widget-color-complete):
20844 Remove functions.
20845 (file, symbol, function, variable, coding-system, color):
20846 * international/mule-cmds.el (default-input-method, charset)
20847 (language-info-custom-alist):
20848 * cus-edit.el (face): Use new property :completions.
20849
20850 * progmodes/pascal.el (pascal-completions-at-point): New function.
20851 (pascal-mode): Use it.
20852 (pascal-mode-map): Use completion-at-point.
20853 (pascal-toggle-completions): Make obsolete.
20854 (pascal-complete-word, pascal-show-completions):
20855 * progmodes/octave-mod.el (octave-complete-symbol):
20856 Redefine as obsolete alias.
20857 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20858 Signal absence of completion info for old Octave,
20859 (inferior-octave-complete): Redefine as obsolete alias.
20860 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20861 (meta-completions-at-point): Rename from meta-complete-symbol and
20862 adapt it for use on completion-at-point-functions.
20863 (meta-common-mode): Use it.
20864 (meta-looking-at-backward, meta-match-buffer): Remove.
20865 (meta-complete-symbol): Redefine as obsolete alias.
20866 (meta-common-mode-map): Use completion-at-point.
20867 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20868 (makefile-mode-map): Use completion-at-point.
20869 (makefile-completions-at-point): Rename from makefile-complete and
20870 adapt it for use on completion-at-point-functions.
20871 (makefile-mode): Use it.
20872 (makefile-complete): Redefine as obsolete alias.
20873
20874 2011-06-20 Deniz Dogan <deniz@dogan.se>
20875
20876 * net/rcirc.el: Delete trailing whitespaces once and for all.
20877
20878 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20879
20880 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20881
20882 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20883
20884 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20885
20886 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20887
20888 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20889
20890 * window.el (display-buffer-other-window-means-other-frame):
20891 Call display-buffer-normalize-alist.
20892 (display-buffer-normalize-specifiers-1): Rename to
20893 display-buffer-normalize-argument. New argument other-frame.
20894 Rewrite.
20895 (display-buffer-normalize-specifiers-2): Rename to
20896 display-buffer-normalize-options.
20897 (display-buffer-normalize-alist-1): New function.
20898 (display-buffer-normalize-specifiers-3): Rename to
20899 display-buffer-normalize-alist.
20900 Call display-buffer-normalize-alist-1.
20901 (display-buffer-normalize-options-inhibit): New variable.
20902 (display-buffer-normalize-specifiers): Rewrite calling
20903 display-buffer-normalize-alist,
20904 display-buffer-normalize-argument, and
20905 display-buffer-normalize-options. Don't call the latter if
20906 display-buffer-normalize-options-inhibit is non-nil.
20907 (frame-auto-delete): New option.
20908 (window-deletable-p): Use frame-auto-delete.
20909 (window-list-no-nils, window-state-ignored-parameters)
20910 (window-state-get-1, window-state-get, window-state-put-list)
20911 (window-state-put-1, window-state-put-2, window-state-put):
20912 New functions.
20913 (display-buffer-normalize-options): Move special-display-p group
20914 after pop-up-frame group (Bug#8851) and (Bug#8856).
20915
20916 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
20917
20918 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20919 groups (Bug#8776).
20920 (rx-submatch-n): New function.
20921 (rx): Document it.
20922
20923 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20924 (Bug#8768).
20925
20926 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20927
20928 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20929
20930 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20931 anytime existing face settings are present (Bug#8889).
20932
20933 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20934 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20935 Remove unused argument.
20936
20937 2011-06-18 Martin Rudalics <rudalics@gmx.at>
20938
20939 * window.el (display-buffer-default-specifiers):
20940 Remove pop-up-frame. Add pop-up-window-min-height,
20941 pop-up-window-min-width, and another reuse-window specifier
20942 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
20943 (display-buffer-normalize-specifiers-2):
20944 Handle split-height-threshold and split-width-threshold also when
20945 pop-up-windows is unset. Add a reuse-window specifier for the
20946 case popping up a new window fails.
20947 (special-display-popup-frame): Remove double quoting.
20948 (display-buffer-normalize-specifiers-1): Fix thinko.
20949
20950 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20951
20952 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20953 according to comint-completion-addsuffix.
20954
20955 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20956 (pcomplete-suffix-list): Mark as obsolete.
20957 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20958 pcomplete-seen in the closure.
20959 (pcomplete-comint-setup): Setup completion-at-point as well.
20960 (pcomplete--entries): New function.
20961 (pcomplete--env-regexp): New var.
20962 (pcomplete-entries): Rewrite to work with partial-completion and
20963 without relying on pcomplete-suffix-list.
20964 (pcomplete-pare-list): Remove, unused.
20965
20966 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20967
20968 * window.el (display-buffer-alist): Set pop-up-window-min-height
20969 and pop-up-window-min-width in default value. Reported by
20970 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20971 other-window-means-other-frame.
20972 (display-buffer-macro-specifiers): Comment out entry for
20973 other-window specifier.
20974 (display-buffer-other-window-means-other-frame): New function.
20975 (display-buffer-normalize-specifiers-1): New arguments
20976 buffer-name and label. Treat other-window case specially.
20977 (display-buffer-normalize-specifiers-2): Treat other-window case
20978 specially.
20979 (display-buffer-normalize-specifiers-3): New function.
20980 (display-buffer-normalize-specifiers):
20981 Call display-buffer-normalize-specifiers-3.
20982
20983 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20984
20985 * window.el (same-window-p): Fix two typos introduced when
20986 adding with-no-warnings.
20987 (display-buffer-normalize-specifiers-1): Don't check
20988 pop-up-frames for 'unset initialization.
20989 (display-buffer-normalize-specifiers-2): Major rewrite using
20990 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20991 (pop-up-frames, display-buffer-reuse-frames)
20992 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20993 Suggested by David Engster <deng@randomsample.de>.
20994 (even-window-heights): Initialize to 'unset.
20995 (display-buffer-alist-set): Handle new 'unset initializations.
20996 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20997 other window case.
20998
20999 2011-06-16 Martin Rudalics <rudalics@gmx.at>
21000
21001 * window.el (display-buffer-normalize-specifiers-1):
21002 Respect current value of pop-up-frames for most reasonable values of
21003 second argument of display-buffer (Bug#8865).
21004 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
21005 (switch-to-buffer-other-window-same-frame)
21006 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
21007 Adams (Bug#8875).
21008 (display-buffer): Don't check noninteractive when calling
21009 display-buffer-pop-up-frame.
21010 (display-buffer-pop-up-frame): Never pop up a frame in
21011 noninteractive mode (Bug#8857).
21012 (enlarge-window, shrink-window): Don't report an error when the
21013 window can't be resized as requested (Bug#8862).
21014
21015 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21016
21017 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
21018
21019 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
21020
21021 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
21022
21023 2011-06-15 Alan Mackenzie <acm@muc.de>
21024
21025 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
21026 for declarators, disable knr checking to speed up for normal files.
21027 2: Refactor, replacing a sequence of nested if forms by a cond form.
21028
21029 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
21030
21031 * net/network-stream.el (open-network-stream): Add the keyword
21032 :always-query-capabilities for the case where you want to force a
21033 `plain' network connection, but the protocol still requires the
21034 capabilitiy command (i.e., SMTP and EHLO).
21035
21036 * subr.el (process-live-p): Rename from `process-alive-p' for
21037 consistency with other `-live-p' functions.
21038
21039 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
21040
21041 * window.el (same-window-buffer-names, same-window-regexps)
21042 (special-display-frame-alist, special-display-popup-frame)
21043 (special-display-function, special-display-buffer-names)
21044 (special-display-regexps, pop-up-frame-alist)
21045 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
21046 (pop-up-windows, split-window-preferred-function)
21047 (split-height-threshold, split-width-threshold, even-window-heights)
21048 (display-buffer-mark-dedicated): Don't encourage the use of
21049 display-buffer-alist from Elisp code.
21050
21051 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21052
21053 * progmodes/python.el (python-mode): Derive from prog-mode.
21054 * progmodes/ps-mode.el (ps-mode):
21055 * progmodes/mixal-mode.el (mixal-mode):
21056 * progmodes/cfengine.el (cfengine-mode):
21057 * progmodes/ld-script.el (ld-script-mode): Likewise.
21058
21059 2011-06-15 Martin Rudalics <rudalics@gmx.at>
21060
21061 * window.el (display-buffer-alist): Trim default value to avoid
21062 popping up a new frame (Bug#8857) or reusing an arbitrary window
21063 on another frame.
21064 (display-buffer): Do not fall back on popping up a new frame in
21065 batch mode (Bug#8857).
21066
21067 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
21068
21069 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21070 (custom-theme-summary): New function.
21071 (customize-themes): Use it.
21072
21073 2011-06-13 Glenn Morris <rgm@gnu.org>
21074
21075 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21076
21077 2011-06-13 Martin Rudalics <rudalics@gmx.at>
21078
21079 * help.el (help-window): Remove variable.
21080 (help-window-point-marker, temp-buffer-max-height)
21081 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21082 (help-print-return-message): Don't set help-window.
21083 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21084 (help-window-setup-finish): Remove.
21085 (help-window-display-message, help-window-setup)
21086 (with-help-window): Major rewrite based on new
21087 display-buffer-window variable.
21088
21089 * help-mode.el (help-mode-finish): Remove help-window related
21090 code.
21091
21092 * view.el (view-exits-all-viewing-windows): Remove reference to
21093 view-return-to-alist in doc-string.
21094 (view-return-to-alist): Make obsolete.
21095 (view-buffer): Call pop-to-buffer-same-window and remove
21096 undo-window code.
21097 (view-buffer-other-window): Call pop-to-buffer-other-window and
21098 simplify code. Ignore second argument.
21099 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21100 simplify code. Ignore second argument.
21101 (view-return-to-alist-update): Make obsolete.
21102 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21103 Rewrite using quit-restore window parameters.
21104 (view-mode-exit): Rename second argument to EXIT-ONLY.
21105 Rewrite using quit-restore-window.
21106 (View-exit, View-exit-and-edit, View-leave, View-quit)
21107 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21108 appropriate arguments.
21109 (view-end-message): Use quit-restore window parameter.
21110
21111 * window.el (display-buffer-function): Rewrite doc-string.
21112 (display-buffer-window, display-buffer-alist): New variables.
21113 (display-buffer-split-specifiers)
21114 (display-buffer-side-specifiers)
21115 (display-buffer-macro-specifiers): New constants.
21116 (display-buffer-even-window-sizes, display-buffer-set-height)
21117 (display-buffer-set-width, display-buffer-select-window)
21118 (display-buffer-in-window, display-buffer-reuse-window)
21119 (display-buffer-split-window-1, display-buffer-split-window)
21120 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21121 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21122 (display-buffer-in-side-window, normalize-buffer-to-display)
21123 (display-buffer-normalize-specifiers-1)
21124 (display-buffer-normalize-specifiers-2)
21125 (display-buffer-normalize-specifiers, display-buffer-frame):
21126 New functions.
21127 (display-buffer): Major rewrite.
21128 (display-buffer-other-window, display-buffer-other-frame)
21129 (pop-to-buffer, switch-to-buffer-other-window)
21130 (switch-to-buffer-other-frame): Rewrite.
21131 (display-buffer-same-window, display-buffer-same-frame)
21132 (display-buffer-same-frame-other-window)
21133 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21134 (pop-to-buffer-other-window)
21135 (pop-to-buffer-same-frame-other-window)
21136 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21137 (switch-to-buffer-other-window-same-frame): New functions.
21138 (same-window-p, special-display-p): Rewrite disabling warnings.
21139 Make obsolete.
21140 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21141 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21142 Make obsolete
21143 (same-window-buffer-names, same-window-regexps)
21144 (special-display-frame-alist, special-display-popup-frame)
21145 (special-display-function, special-display-buffer-names)
21146 (special-display-regexps, pop-up-frame-alist)
21147 (pop-up-frame-function, split-window-preferred-function)
21148 (split-height-threshold, split-width-threshold)
21149 (even-window-heights): Make obsolete.
21150
21151 2011-06-12 Glenn Morris <rgm@gnu.org>
21152
21153 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
21154 Misc simplifications.
21155
21156 2011-06-12 Martin Rudalics <rudalics@gmx.at>
21157
21158 * window.el (window-safely-shrinkable-p): Restore function which
21159 was inadvertently removed in change from 2011-06-11. Declare as
21160 obsolete.
21161
21162 * calendar/calendar.el (calendar-generate-window):
21163 Use window-iso-combined-p instead of combination of one-window-p and
21164 window-safely-shrinkable-p.
21165
21166 2011-06-12 Glenn Morris <rgm@gnu.org>
21167
21168 * progmodes/fortran.el (fortran-mode-syntax-table):
21169 * progmodes/f90.el (f90-mode-syntax-table):
21170 Set % to punctuation. (Bug#8820)
21171 (f90-find-tag-default): Remove, no longer needed.
21172
21173 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21174
21175 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21176
21177 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
21178
21179 * image.el (image-animated-p): Return animation delay in seconds.
21180 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21181 (image-animate-timeout): Remove DELAY argument. Don't assume
21182 every subimage has the same delay; get it from image-animated-p.
21183 (image-animate): Caller changed.
21184
21185 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
21186
21187 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21188 to ignored backtrace functions.
21189
21190 2011-06-11 Glenn Morris <rgm@gnu.org>
21191
21192 * calendar/appt.el (appt-disp-window-function): Doc fix.
21193 (appt-check): Handle overlapping appointments. (Bug#8337)
21194
21195 2011-06-11 Martin Rudalics <rudalics@gmx.at>
21196
21197 * window.el (window-tree-1, window-tree): New functions, moving
21198 the latter to window.el.
21199 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21200 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21201 (bw-refresh-edges): Remove.
21202 (balance-windows-1, balance-windows-2): New functions.
21203 (balance-windows): Rewrite in terms of window tree functions,
21204 balance-windows-1 and balance-windows-2.
21205 (bw-adjust-window): Remove.
21206 (balance-windows-area-adjust): New function with functionality of
21207 bw-adjust-window but using resize-window.
21208 (set-window-text-height): Rewrite doc-string.
21209 Use normalize-live-window and resize-window.
21210 (enlarge-window-horizontally, shrink-window-horizontally):
21211 Rename argument to DELTA.
21212 (window-buffer-height): New function.
21213 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21214 Rewrite using new window resize routines.
21215 (kill-buffer-and-window, mouse-autoselect-window-select):
21216 Use ignore-errors instead of condition-case.
21217 (quit-window): Call delete-frame instead of delete-windows-on
21218 for the only buffer on frame.
21219
21220 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21221
21222 * loadup.el (top-level): Load window before files for the sake
21223 of replace-buffer-in-windows.
21224
21225 * files.el (read-buffer-to-switch)
21226 (switch-to-buffer-other-window)
21227 (switch-to-buffer-other-frame, display-buffer-other-frame):
21228 Move to window.el.
21229
21230 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21231 (previous-buffer): Move to window.el.
21232
21233 * bindings.el (unbury-buffer): Move to window.el.
21234
21235 * window.el (delete-other-windows-vertically): Move after
21236 definition of delete-other-windows.
21237 (other-window, delete-windows-on, replace-buffer-in-windows):
21238 Move here from window.c.
21239 (record-window-buffer, unrecord-window-buffer)
21240 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21241 (switch-to-next-buffer): New functions.
21242 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21243 from simple.el. Call switch-to-next-buffer.
21244 (previous-buffer): Move here from simple.el.
21245 Call switch-to-prev-buffer.
21246 (bury-buffer): Move here from buffer.c. Switch to previous
21247 buffer when window cannot be deleted.
21248 (unbury-buffer): Move here from bindings.el.
21249 (ctl-x-map): Move binding for other-window from window.c to
21250 here.
21251 (read-buffer-to-switch, switch-to-buffer-other-window)
21252 (switch-to-buffer-other-frame): Move here from files.el.
21253 (normalize-buffer-to-switch-to): New functions.
21254 (switch-to-buffer): Move here from buffer.c.
21255 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21256
21257 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21258
21259 * window.el (window-min-height, window-min-width): Move here
21260 from window.c. Add defcustoms and rewrite doc-strings.
21261 (resize-mini-window, resize-window): New functions.
21262 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21263 Move here from window.c.
21264 (maximize-window, minimize-window): New functions.
21265 (delete-window, delete-other-windows, split-window): Move here
21266 from window.c.
21267 (window-split-min-size): New function.
21268 (split-window-keep-point): Mention split-window-above-each-other
21269 instead of split-window-vertically.
21270 (split-window-above-each-other, split-window-vertically):
21271 Rename split-window-vertically to split-window-above-each-other
21272 and provide defalias for old definition.
21273 (split-window-side-by-side, split-window-horizontally):
21274 Rename split-window-horizontally to split-window-side-by-side
21275 and provide defalias for the old definition.
21276 (ctl-x-map): Move bindings for delete-window,
21277 delete-other-windows and enlarge-window here from window.c.
21278 Replace bindings for split-window-vertically and
21279 split-window-horizontally by bindings for
21280 split-window-above-each-other and split-window-side-by-side.
21281
21282 * cus-start.el (all): Remove entries for window-min-height and
21283 window-min-width. Add entries for window-splits and
21284 window-nest.
21285
21286 2011-06-09 Glenn Morris <rgm@gnu.org>
21287
21288 * calendar/appt.el (appt-mode-line): New function.
21289 (appt-check, appt-disp-window): Use it.
21290
21291 * files.el (hack-one-local-variable-eval-safep):
21292 Allow minor-modes with explicit +/-1 arguments.
21293
21294 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21295
21296 * term/xterm.el (xterm): Add defgroup.
21297 (xterm-extra-capabilities): Add defcustom to supply known xterm
21298 capabilities, skip querying them, or query them (default).
21299 (terminal-init-xterm): Use it.
21300 (terminal-init-xterm-modify-other-keys): New function to set up
21301 modifyOtherKeys support to simplify `terminal-init-xterm'.
21302
21303 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21304
21305 * window.el (resize-window-reset, resize-window-reset-1)
21306 (resize-subwindows-skip-p, resize-subwindows-normal)
21307 (resize-subwindows, resize-other-windows, resize-this-window)
21308 (resize-root-window, resize-root-window-vertically)
21309 (window-deletable-p, window-or-subwindow-p)
21310 (frame-root-window-p): New functions.
21311
21312 2011-06-09 Glenn Morris <rgm@gnu.org>
21313
21314 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21315 (ange-ftp-get-files): Use it.
21316
21317 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21318
21319 * mail/sendmail.el (mail-recover-1, mail-recover):
21320 * files.el (recover-file, recover-session):
21321 Handle dired-listing-switches not being just a single short option.
21322
21323 2011-06-09 Glenn Morris <rgm@gnu.org>
21324
21325 * calendar/appt.el (appt-display-message, appt-disp-window):
21326 Handle lists of appointments.
21327
21328 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21329
21330 * window.el (one-window-p): Move down in code.
21331 Rewrite doc-string.
21332 (window-current-scroll-bars): Rewrite doc-string.
21333 Normalize live window argument.
21334 (walk-windows, get-window-with-predicate, count-windows):
21335 Rewrite doc-string. Use window-list-1.
21336 (window-in-direction-2, window-in-direction, get-mru-window):
21337 New functions.
21338
21339 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21340
21341 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21342 Doc fix (Bug#8713).
21343
21344 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21345
21346 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21347
21348 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21349
21350 * loadhist.el (unload-feature-special-hooks):
21351 Add `comint-output-filter-functions'.
21352
21353 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21354
21355 * calendar/appt.el (appt-check): Move some initializations into the let.
21356
21357 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21358
21359 * window.el (window-height): Defalias to window-total-height.
21360 (window-width): Defalias to window-body-width.
21361
21362 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21363
21364 * image-mode.el (image-toggle-animation): New command.
21365 (image-mode-map): Bind it to RET.
21366 (image-mode): Update message.
21367 (image-toggle-display-image): Avoid a spurious cache flush.
21368 (image-transform-rotation): Doc fix.
21369 (image-transform-properties): Return quickly in the normal case.
21370 (image-animate-loop): Rename from image-animate-max-time.
21371
21372 * image.el (image-animate-max-time): Move to image-mode.el.
21373 (create-animated-image): Remove unnecessary function.
21374 (image-animate): Rename from image-animate-start. New arg.
21375 (image-animate-stop): Remove; just use image-animate-timer.
21376 (image-animate-timer): Use car-safe.
21377 (image-animate-timeout): Rename argument.
21378
21379 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21380
21381 * window.el (get-lru-window, get-largest-window): Move here from
21382 window.c. Rename first argument to ALL-FRAMES.
21383 Rephrase doc-strings.
21384 (get-buffer-window-list): Rewrite using window-list-1.
21385 Rephrase doc-string.
21386 (window-safe-min-height, window-safe-min-width): New constants.
21387 (window-size-ignore, window-min-size, window-min-size-1)
21388 (window-sizable, window-sizable-p, window-size-fixed-1)
21389 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21390 (window-max-delta-1, window-max-delta, window-resizable)
21391 (window-resizable-p, window-total-height, window-total-width)
21392 (window-body-width): New functions.
21393 (window-full-height-p, window-full-width-p): Rewrite using
21394 window-total-size.
21395 (window-body-height): Rewrite using window-body-size.
21396
21397 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21398
21399 * window.el (window-right, window-left, window-child)
21400 (window-child-count, window-last-child, window-any-p)
21401 (normalize-live-buffer, normalize-live-frame)
21402 (normalize-any-window, normalize-live-window)
21403 (window-iso-combination-p, window-iso-combined-p)
21404 (window-iso-combinations)
21405 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21406 (windows-with-parameter, window-with-parameter)
21407 (window-atom-root, make-window-atom, window-atom-check-1)
21408 (window-atom-check, window-side-check, window-check):
21409 New functions.
21410 (ignore-window-parameters, window-sides, window-sides-vertical)
21411 (window-sides-slots): New variables.
21412 (window-size-fixed): Move down in code. Minor doc-string fix.
21413
21414 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21415
21416 * comint.el (comint-dynamic-complete-as-filename)
21417 (comint-dynamic-complete-filename): Correctly call
21418 completion-in-region.
21419
21420 2011-06-05 Deniz Dogan <deniz@dogan.se>
21421
21422 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21423 in last change.
21424
21425 2011-06-05 Deniz Dogan <deniz@dogan.se>
21426
21427 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21428 (rcirc): Use it to prompt for encryption.
21429
21430 2011-06-05 Roland Winkler <winkler@gnu.org>
21431
21432 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21433 (bibtex-search-entries): New command bound to C-c C-a.
21434 (bibtex-display-entries): New function.
21435
21436 2011-06-05 Roland Winkler <winkler@gnu.org>
21437
21438 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21439 (bibtex-insert-kill): After yanking insert newline if necessary.
21440 (bibtex-initialize): Call bibtex-string-files-init only once.
21441 (bibtex-mode): Do not call easy-menu-add.
21442 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21443 (bibtex-yank): Set arg properly if nil.
21444
21445 2011-06-05 Roland Winkler <winkler@gnu.org>
21446
21447 * textmodes/bibtex.el (bibtex-search-entry-globally):
21448 New variable.
21449 (bibtex-search-entry): Use it.
21450
21451 2011-06-05 Roland Winkler <winkler@gnu.org>
21452
21453 * textmodes/bibtex.el (bibtex-entry-format): New option
21454 sort-fields.
21455 (bibtex-format-entry, bibtex-reformat): Honor this option.
21456 (bibtex-parse-entry): Return fields in proper order.
21457
21458 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21459
21460 * doc-view.el (doc-view-remove-if): Move computation of result out
21461 of `dolist' to silence misleading lexical-binding warning.
21462
21463 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21464
21465 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21466 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21467
21468 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21469
21470 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21471 "SunOS 5.10".
21472
21473 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21474
21475 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21476 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21477 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21478 (tramp-parse-putty):
21479 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21480 (tramp-completion-function-alist-ssh)
21481 (tramp-completion-function-alist-telnet)
21482 (tramp-completion-function-alist-su)
21483 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21484 cookie.
21485
21486 * net/tramp-ftp.el:
21487 * net/tramp-sh.el:
21488 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21489 load "tramp.el" `tramp-set-completion-function'.
21490
21491 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21492
21493 * shell.el: Require and use pcomplete.
21494 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21495 (shell-completion-vars): Set pcomplete-default-completion-function.
21496
21497 2011-06-04 Deniz Dogan <deniz@dogan.se>
21498
21499 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21500 `memq' (Bug#8799).
21501
21502 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21503
21504 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21505
21506 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21507
21508 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21509 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21510 * vc/log-view.el (log-view-beginning-of-defun):
21511 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21512 (smerge-refine-forward, smerge-refine-chopup-region):
21513 Silence warning for unused `dotimes' counter variables.
21514
21515 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21516
21517 * net/tramp.el (tramp-with-progress-reporter): Rename from
21518 with-progress-reporter. Use `declare'.
21519 * net/tramp-smb.el:
21520 * net/tramp-sh.el:
21521 * net/tramp-gvfs.el: Update all uses.
21522
21523 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21524
21525 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21526 buffer isn't killed before making it current.
21527
21528 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21529
21530 Silence various byte-compiler warnings.
21531 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21532 `access-type' and new obsolescence format.
21533 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21534 new format.
21535 (byte-compile-check-variable): New `access-type' argument.
21536 Only warn if the access-type is obsolete.
21537 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21538 (byte-compile-variable-set): Adjust callers.
21539 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21540 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21541 setting it as obsolete.
21542 * simple.el (minibuffer-completing-symbol):
21543 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21544 access as obsolete.
21545 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21546 obsolete yet.
21547 * international/quail.el (quail-mouse-choose-completion): Remove unused
21548 code referring to obsolete var.
21549 (quail-choose-completion-string): Remove.
21550 * server.el (server-clients-with, server-kill-buffer-query-function)
21551 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21552 * proced.el (proced-send-signal):
21553 * emacs-lisp/lisp.el (lisp-complete-symbol):
21554 Replace completion-annotate-function with completion-extra-properties.
21555
21556 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21557
21558 * simple.el (goto-line): Use read-number.
21559 (overriding-map-is-bound): Remove.
21560 (saved-overriding-map): Change default.
21561 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21562 Take the map as argument.
21563 (universal-argument, negative-argument, digit-argument): Use it.
21564 (restore-overriding-map): Adjust.
21565 (do-auto-fill): Use fill-forward-paragraph.
21566 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21567
21568 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21569 (minibuffer-inactive-mode): New major mode.
21570 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21571 the *Messages* buffer" hack.
21572 (mouse-popup-menubar): Don't burp if the event is a normal key.
21573
21574 Miscellaneous tweaks.
21575 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21576 lexical scoping as in subr.el's dolist and dotimes.
21577 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21578 Silence compiler warning.
21579 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21580 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21581 * international/ccl.el (ccl-compile): Trivial simplification.
21582 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21583 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21584 `printflag' argument.
21585 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21586 Purecopy the whole obsolescence data.
21587
21588 2011-06-01 Leo Liu <sdl.web@gmail.com>
21589
21590 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21591 improve doc-string as suggested by Marco Pessotto
21592 <melmothx@gmail.com>.
21593 (rcirc-print): Fix last change.
21594
21595 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21596
21597 * minibuffer.el (complete-with-action): Return nil for the metadata and
21598 boundaries of non-functional tables.
21599 (completion-table-dynamic): Return nil for the metadata.
21600 (completion-table-with-terminator): Add default case, using
21601 complete-with-action.
21602 (completion--metadata): New function.
21603 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21604 to try and avoid pathological performance problems.
21605 (completion--embedded-envvar-table): Return `category' metadata.
21606
21607 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21608
21609 * subr.el (process-alive-p): New tiny convenience function.
21610
21611 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21612
21613 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21614 content but also its previous major mode.
21615
21616 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21617
21618 * emacs-lisp/debug.el (debug): Restore the previous content of the
21619 *Backtrace* buffer when we exit with C-M-c.
21620
21621 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21622
21623 * minibuffer.el: Add metadata method to completion tables.
21624 (completion-category-overrides): New defcustom.
21625 (completion-metadata, completion--field-metadata)
21626 (completion-metadata-get, completion--styles)
21627 (completion--cycle-threshold): New functions.
21628 (completion-try-completion, completion-all-completions):
21629 Add `metadata' argument to choose completion-styles.
21630 (completion--do-completion): Use metadata to choose cycling.
21631 (completion-all-sorted-completions): Use metadata for sorting.
21632 Remove :completion-cycle-penalty which is not needed any more.
21633 (completion--try-word-completion): Add `metadata' argument.
21634 (minibuffer-completion-help): Check metadata for annotation function
21635 and sorting.
21636 (completion-file-name-table): Return `category' metadata.
21637 (minibuffer-completing-file-name): Make obsolete.
21638 * simple.el (minibuffer-completing-symbol): Make obsolete.
21639 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21640 completion-try-completion.
21641
21642 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21643
21644 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21645
21646 2011-05-30 Leo Liu <sdl.web@gmail.com>
21647
21648 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21649 (rcirc-print): Decode all incoming messages (bug#8744).
21650 (rcirc-decode-coding-system): Allow value nil for automatic coding
21651 system detection.
21652
21653 2011-06-01 Glenn Morris <rgm@gnu.org>
21654
21655 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21656
21657 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21658
21659 * image.el (image-animate-max-time): Allow nil and t values.
21660 Default to nil.
21661 (create-animated-image): Doc fix.
21662 (image-animate-start): Remove second arg; just use
21663 image-animate-max-time.
21664 (image-animate-timeout): Doc fix. Args changed.
21665
21666 * image-mode.el (image-toggle-display-image): Ensure that the
21667 image spec passed to the animate timer is the same object as in
21668 the buffer's display property (Bug#6981).
21669 (image-transform-properties): Doc fix.
21670
21671 * image.el (image-animate-max-time): Default to nil.
21672
21673 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21674
21675 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21676 entire buffer list (Bug#8184).
21677
21678 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21679
21680 * image.el (imagemagick-types-inhibit)
21681 (imagemagick-register-types): Doc fix.
21682
21683 2011-05-29 Deniz Dogan <deniz@dogan.se>
21684
21685 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21686 default.
21687
21688 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21689
21690 * select.el: Don't perform clipboard-manager saving in hooks;
21691 leave the hooks empty.
21692
21693 2011-05-28 Leo Liu <sdl.web@gmail.com>
21694
21695 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21696 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21697 (occur-edit-mode): New major mode (Bug#8463).
21698 (occur-after-change-function): New function.
21699 (occur-engine): Give Occur tags a read-only property.
21700
21701 2011-05-28 Kevin Ryde <user42@zip.com.au>
21702
21703 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21704
21705 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21706
21707 * bindings.el (help-echo): Make the initial non-indicator dash
21708 empty on graphical terminals (Bug#7295).
21709
21710 * files.el (auto-mode-alist): Move config rule after the
21711 in-stripping one (Bug#8547).
21712
21713 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21714
21715 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21716 setting (Bug#8740).
21717
21718 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21719
21720 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21721 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21722 (Bug#8539).
21723
21724 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21725
21726 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21727
21728 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21729
21730 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21731 (hs-hide-block-at-point, hs-find-block-beginning)
21732 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21733 (Bug#8279).
21734
21735 2011-05-28 Glenn Morris <rgm@gnu.org>
21736
21737 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21738
21739 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21740
21741 * help-fns.el (describe-function-1): If the function is a derived
21742 major mode, print the parent mode.
21743
21744 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21745 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21746
21747 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21748
21749 * minibuffer.el (completion--capf-wrapper): Check applicability before
21750 returning non-nil for non-exclusive completion data.
21751 * progmodes/etags.el (tags-completion-at-point-function):
21752 * info-look.el (info-lookup-completions-at-point): Mark as
21753 non-exclusive.
21754 (info-complete): Adjust accordingly.
21755
21756 * info-look.el: Convert to lexical-binding and completion-at-point.
21757 (info-lookup-completions-at-point): New function.
21758 (info-complete): Use it and completion-in-region.
21759
21760 2011-05-28 Drew Adams <drew.adams@oracle.com>
21761
21762 * isearch.el: Let M-e start with point at the first mismatched char.
21763 (isearch-fail-pos): New function.
21764 (isearch-edit-string): Use it.
21765
21766 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21767
21768 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21769
21770 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21771
21772 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21773 traversal functions for avl-trees.
21774 (avl-tree--stack): New struct.
21775 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21776 (avl-tree-enter): Add optional `updatefun' arg.
21777 (avl-tree--do-enter): Add optional `updatefun' arg.
21778 Change return value.
21779 (avl-tree-delete): Add optional `test' and `nilflag' args.
21780 (avl-tree--do-delete): Add `test' and `nilflag' args.
21781 Change return value.
21782 (avl-tree-member): Add optional `nilflag'
21783 (avl-tree-member-p): New function.
21784 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21785 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21786 (avl-tree-stack-empty-p): New functions.
21787
21788 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21789 avl-tree--del-balance1 and make it work both ways.
21790 (avl-tree--del-balance2): Remove.
21791 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21792 make it work both ways.
21793 (avl-tree--enter-balance2): Remove.
21794 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21795 New macros.
21796 (avl-tree--mapc, avl-tree-map): Add direction argument.
21797
21798 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21799
21800 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21801
21802 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21803
21804 * select.el: Support clipboard managers with built-in function
21805 x-clipboard-manager-save, via delete-frame-functions and
21806 kill-emacs-hook.
21807 (xselect-convert-to-targets): Add MULTIPLE target to list.
21808 (xselect-convert-to-save-targets): New function.
21809
21810 2011-05-27 Kenichi Handa <handa@m17n.org>
21811
21812 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21813 let-binding rfc2047-encode-encoded-words to nil.
21814
21815 2011-05-27 Glenn Morris <rgm@gnu.org>
21816
21817 * mail/emacsbug.el: Don't require url-util.
21818
21819 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21820
21821 * files.el (set-auto-mode):
21822 Also respect mode: entries at the end of the file. (Bug#8586)
21823
21824 2011-05-26 Glenn Morris <rgm@gnu.org>
21825
21826 * files.el (hack-local-variables-prop-line, hack-local-variables):
21827 Downcase mode names, as seems to be traditional.
21828 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21829
21830 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21831 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21832
21833 2011-05-25 Julien Danjou <julien@danjou.info>
21834
21835 * textmodes/rst.el (rst-define-level-faces): Do not define face
21836 symbol if it is already defined.
21837
21838 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21839
21840 * play/5x5.el (5x5-new-game, 5x5-randomize):
21841 Reset 5x5-solver-output to nil when a new grid is cast.
21842 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21843 these debugging traces, as defmacro breaks the compiled code.
21844
21845 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21846
21847 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21848
21849 2011-05-24 Leo Liu <sdl.web@gmail.com>
21850
21851 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21852 (vc-bzr-sha1): Adapt.
21853
21854 * sha1.el: Remove. Function `sha1' is now builtin.
21855
21856 * bindings.el: Provide sha1 feature.
21857
21858 2011-05-24 Kenichi Handa <handa@m17n.org>
21859
21860 * mail/sendmail.el: Require `rfc2047'.
21861 (mail-insert-from-field): Do not perform RFC2047 encoding.
21862 (mail-encode-header): New function.
21863 (sendmail-send-it): Set buffer-file-coding-system of the work
21864 buffer to the return value of select-message-coding-system.
21865 Call mail-encode-header.
21866
21867 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21868
21869 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21870
21871 * mail/supercite.el (sc-default-cite-frame):
21872 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21873
21874 2011-05-24 Glenn Morris <rgm@gnu.org>
21875
21876 * progmodes/python.el (brm-menu): Declare.
21877
21878 * emulation/viper.el (viper-set-hooks): Declare.
21879
21880 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21881 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21882 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21883 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21884 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21885 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21886
21887 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21888
21889 Add an :exit-function for completion-at-point.
21890
21891 * minibuffer.el (completion--done): New fun.
21892 (completion--do-completion): Use it. New arg `expect-exact'.
21893 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21894 since completion--do-completion does it for us now.
21895 (minibuffer-force-complete): Use completion--done and
21896 completion--replace. Handle sole-completion case with more care.
21897 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21898 (completion-extra-properties): New var.
21899 (completion-annotate-function): Make obsolete.
21900 (minibuffer-completion-help): Adjust accordingly.
21901 Use completion-list-insert-choice-function.
21902 (completion-at-point, completion-help-at-point):
21903 Bind completion-extra-properties.
21904 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21905 * simple.el (completion-list-insert-choice-function): New var.
21906 (completion-setup-function): Preserve it.
21907 (choose-completion): Pay attention to it, shuffle the code a bit.
21908 (choose-completion-string): New arg `insert-function'.
21909
21910 * textmodes/bibtex.el: Convert to lexical binding.
21911 (bibtex-mode-map): Use completion-at-point.
21912 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21913 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21914 (bibtex-complete): Define as obsolete alias.
21915 (bibtex-complete-internal): Remove.
21916 (bibtex-format-entry): Remove unused sub-group in regexp.
21917 * shell.el (shell--command-completion-data)
21918 (shell-environment-variable-completion):
21919 * pcomplete.el (pcomplete-completions-at-point):
21920 * comint.el (comint--complete-file-name-data): Use :exit-function
21921 instead of completion-table-with-terminator so it also works for
21922 choose-completion.
21923
21924 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21925
21926 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21927
21928 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21929 (bug#8710).
21930
21931 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21932
21933 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21934
21935 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21936 customization variable and implement: If non-nil, auto-fill will
21937 be inhibited while on topic's header line.
21938
21939 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21940
21941 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
21942 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
21943 always have a solution in grid size = 5 cases.
21944 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21945 (5x5-solver-output, 5x5-log-buffer): New vars.
21946 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21947 Make these variables buffer local to achieve 5x5 multi-session-ness.
21948 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21949 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21950 (5x5-solve-suggest): New funs.
21951 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21952 randomize a grid so that we ensure that there is always a solution.
21953 (5x5-make-random-grid): Allow other movement than flipping.
21954
21955 2011-05-23 Kevin Ryde <user42@zip.com.au>
21956
21957 * emacs-lisp/advice.el (ad-read-advised-function):
21958 Use `function-called-at-point' as the default, if it has
21959 advice and passes PREDICATE.
21960
21961 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21962
21963 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21964 byte-compile-lambda if it's actually a lambda.
21965
21966 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21967 Fix function quoting. Use backquote better.
21968
21969 2011-05-22 Yuanle Song <sylecn@gmail.com>
21970
21971 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21972 matching (Bug#8516).
21973
21974 2011-05-22 Jari Aalto <jari.aalto@cante.net>
21975
21976 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21977 different face (Bug#8178).
21978
21979 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
21980
21981 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21982 defface (Bug#8144).
21983
21984 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21985
21986 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21987 funcall as well (bug#8712). Warn when performing those conversions.
21988 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21989
21990 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21991
21992 2011-05-22 Glenn Morris <rgm@gnu.org>
21993
21994 * files.el (hack-local-variables-prop-line): Small simplifications.
21995 (hack-local-variables, hack-local-variables-prop-line):
21996 If MODE-ONLY, return the mode, rather than just `t'.
21997
21998 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21999
22000 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
22001
22002 2011-05-21 Glenn Morris <rgm@gnu.org>
22003
22004 * files.el (hack-local-variables-prop-line, hack-local-variables):
22005 If only interested in the mode, don't bother doing the other stuff.
22006
22007 * image-mode.el (image-after-revert-hook):
22008 Redraw all frames on which the image is visible. (Bug#8567)
22009
22010 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
22011
22012 * wid-edit.el (widget-checklist-match-inline):
22013 Fix 2011-04-19 change. (Bug#8649)
22014
22015 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
22016
22017 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
22018 Also allow singlespace after single-letter capitals followed by a dot.
22019
22020 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
22021 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
22022
22023 2011-05-20 Nix <nix@esperi.org.uk>
22024
22025 * files.el (basic-save-buffer-2):
22026 Fix handling of break-hardlink-on-save with non-existent files.
22027
22028 2011-05-19 Deniz Dogan <deniz@dogan.se>
22029
22030 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
22031 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
22032
22033 2011-05-19 Glenn Morris <rgm@gnu.org>
22034
22035 * progmodes/f90.el (f90-type-def-re):
22036 Handle "type, bind(c)". (Bug#8691)
22037
22038 * emacs-lisp/autoload.el (batch-update-autoloads):
22039 Set autoload-excludes by parsing loadup.el rather than Makefiles.
22040
22041 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
22042
22043 * net/tramp.el (tramp-process-actions): Set "first-password-request"
22044 property for the correct connection in case of multihops.
22045
22046 2011-05-18 Glenn Morris <rgm@gnu.org>
22047
22048 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
22049 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
22050
22051 Rationalize calendar handling of day and month abbrev-arrays.
22052 * calendar/calendar.el (calendar-customized-p): New function.
22053 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22054 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22055 Add :set function.
22056 (calendar-abbrev-length, calendar-day-abbrev-array)
22057 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22058 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22059 Elements may no longer be nil.
22060 (calendar-day-name, calendar-month-name):
22061 Update for changed nature of abbrev arrays.
22062 * calendar/diary-lib.el (diary-name-pattern):
22063 Update for changed nature of abbrev arrays.
22064 (diary-mark-entries-1): Update calendar-make-alist calls.
22065 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22066 * calendar/cal-html.el (cal-html-day-abbrev-array):
22067 Simply inherit from calendar-day-abbrev-array.
22068
22069 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22070
22071 * progmodes/grep.el (grep-mode): Disable default
22072 compilation-directory-matcher setting (bug#8684).
22073
22074 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
22075
22076 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22077 instead of "head" and "tail". There were problems with SunOS 5.9,
22078 and it performs better.
22079
22080 2011-05-17 Glenn Morris <rgm@gnu.org>
22081
22082 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22083
22084 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22085 Replace obsolete function.
22086
22087 * shell.el (pcomplete-parse-arguments-function): Declare.
22088
22089 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22090 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22091 (appt-check): Doc fixes.
22092 (appt-disp-window-function, appt-delete-window-function):
22093 Remove needless special case in custom :type.
22094 (appt-display-count): Default to 0, not nil.
22095 (appt-check): Reset appt-display-count to 0, not nil.
22096
22097 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
22098
22099 * progmodes/python.el (python-font-lock-keywords):
22100 Add the Python 3.X keyword "nonlocal" (bug#8639).
22101
22102 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22103
22104 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22105
22106 2011-05-16 Kevin Ryde <user42@zip.com.au>
22107
22108 * info-look.el (makefile-automake-mode): New setups, looking in
22109 automake manual, then makefile-mode.
22110 (makefile-mode): Remove automake manual, have it just in
22111 makefile-automake-mode since there's various things different or
22112 not relevant to plain make.
22113 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22114 believe a hypothetical automake-mode would go to makefile-mode,
22115 not the other way around.
22116
22117 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
22118
22119 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22120 hunk-end tags (Bug#8672).
22121
22122 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22123 vc-annotate-show-diff-revision-at-line (Bug#8671).
22124
22125 2011-05-14 Glenn Morris <rgm@gnu.org>
22126
22127 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22128 in the middle of an existing one with multiple authors. (Bug#8645)
22129 (change-log-font-lock-keywords): Also handle multiple author lines
22130 with leading tabs. (Bug#8644)
22131
22132 * calendar/appt.el (appt-check): Rename some local variables.
22133 Some simplification/reordering.
22134
22135 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22136 (feedmail-sendmail-f-doesnt-sell-me-out)
22137 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22138 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22139 (feedmail-queue-runner-message-sender): Set :version.
22140 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22141 (bbdb-dwim-net-address, vm-mail): Declare.
22142 (feedmail-binmail-gnulinuxish-template):
22143 Rename from feedmail-binmail-linuxish-template.
22144 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22145 Use insert-buffer-substring.
22146
22147 2011-05-14 Bill Carpenter <bill@carpenter.org>
22148
22149 * mail/feedmail.el (feedmail-patch-level): Increase.
22150 (feedmail-debug): New custom group.
22151 (feedmail-confirm-outgoing-timeout)
22152 (feedmail-sendmail-f-doesnt-sell-me-out)
22153 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22154 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22155 (feedmail-sender-line, feedmail-from-line)
22156 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22157 (feedmail-spray-this-address)
22158 (feedmail-spray-address-fiddle-plex-list)
22159 (feedmail-queue-use-send-time-for-date)
22160 (feedmail-queue-use-send-time-for-message-id)
22161 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22162 (feedmail-buffer-eating-function):
22163 Doc fixes.
22164 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22165 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22166 (feedmail-message-action-scroll-down): New functions.
22167 (feedmail-queue-directory, feedmail-queue-draft-directory):
22168 Use expand-file-name.
22169 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22170 Remove C-v help entry.
22171 (feedmail-queue-buffer-file-name): New variable.
22172 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22173 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22174 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22175 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22176 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22177 (feedmail-message-action-toggle-spray)
22178 (feedmail-run-the-queue-no-prompts)
22179 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22180 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22181 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22182 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22183 (feedmail-envelope-deducer, feedmail-fiddle-from)
22184 (feedmail-fiddle-sender, feedmail-default-date-generator)
22185 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22186 (feedmail-fiddle-spray-address)
22187 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22188 (feedmail-fiddle-list-of-fiddle-plexes)
22189 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22190 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22191 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22192 Change default. Doc fix.
22193 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22194 (feedmail-binmail-linuxish-template): New constant.
22195 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22196 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22197 (feedmail-send-it): Add debug call.
22198 Use feedmail-queue-buffer-file-name, and
22199 feedmail-send-it-immediately-wrapper.
22200 (feedmail-message-action-send): Add debug call.
22201 Use feedmail-send-it-immediately-wrapper.
22202 (feedmail-queue-express-to-queue): Add debug call.
22203 Run feedmail-queue-express-hook.
22204 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22205 (feedmail-message-action-help-blat):
22206 Rename from feedmail-queue-send-edit-prompt-help-first.
22207 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22208 Check line-endings. Handle errors better.
22209 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22210 Doc fix. Add debug call.
22211 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22212 Use feedmail-queue-send-edit-prompt-inner.
22213 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22214 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22215 from feedmail-queue-send-edit-prompt.
22216 (feedmail-queue-send-edit-prompt-help)
22217 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22218 (feedmail-tidy-up-slug): Add debug call.
22219 Respect feedmail-queue-slug-suspect-regexp.
22220 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22221 (feedmail-dump-message-to-queue): Add debug call.
22222 Expand queue-directory.
22223 (feedmail-dump-message-to-queue): Change message slightly.
22224 Use feedmail-say-chatter.
22225 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22226 (feedmail-send-it-immediately-wrapper): New function.
22227 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22228 Insert empty string rather than newline. Handle full-frame case.
22229 Use catch/throw. Use feedmail-say-chatter.
22230 (feedmail-fiddle-from): Try mail-host-address.
22231 (feedmail-default-message-id-generator): Doc fix.
22232 Bind system-time-locale. Handle missing end.
22233 (feedmail-fiddle-x-mailer): Add debug call.
22234 Handle feedmail-x-mailer-line being nil.
22235 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22236 Add debug call. Use buffer-substring-no-properties.
22237 (feedmail-say-debug, feedmail-say-chatter): New functions.
22238 (feedmail-find-eoh): Give an explicit error.
22239
22240 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22241
22242 * net/newst-treeview.el (newsticker-treeview-face): Change default
22243 family from helvetica to sans.
22244 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22245 etc/images/newsticker.
22246
22247 * net/newst-reader.el (newsticker-feed-face): Change default
22248 family from helvetica to sans.
22249
22250 * net/newst-plainview.el (newsticker-new-item-face)
22251 (newsticker-old-item-face, newsticker-immortal-item-face)
22252 (newsticker-obsolete-item-face, newsticker-date-face)
22253 (newsticker-statistics-face): Change default family from
22254 helvetica to sans.
22255 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22256 etc/images/newsticker.
22257
22258 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22259 (newsticker--process-auto-mark-filter-match): Tell user about
22260 auto-marking.
22261
22262 2011-05-13 Didier Verna <didier@xemacs.org>
22263
22264 Common Lisp indentation improvements on defmethod and lambda-lists.
22265 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22266 TODO entries.
22267 (lisp-lambda-list-keyword-parameter-indentation)
22268 (lisp-lambda-list-keyword-parameter-alignment)
22269 (lisp-lambda-list-keyword-alignment): New customizable user options.
22270 (lisp-indent-defun-method): Improve docstring.
22271 (extended-loop-p): Fix comment.
22272 (lisp-indent-lambda-list-keywords-regexp): New variable.
22273 (lisp-indent-lambda-list): New function.
22274 (lisp-indent-259): Use it.
22275 (lisp-indent-defmethod): Support for more than one
22276 method qualifier and properly indent methods lambda-lists.
22277 (defgeneric): Provide a missing common-lisp-indent-function property.
22278
22279 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22280
22281 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22282 bounds for the empty string (bug#8667).
22283
22284 2011-05-13 Glenn Morris <rgm@gnu.org>
22285
22286 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22287
22288 * mail/sendmail.el (sendmail-program): Try executable-find first.
22289 (sendmail-send-it): `sendmail-program' cannot be unbound.
22290
22291 * calendar/appt.el (appt-make-list): Simplify.
22292 (appt-time-msg-list): Doc fix.
22293 (appt-check): Change mode-line message at the time of the appointment.
22294
22295 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22296
22297 * progmodes/ld-script.el (ld-script-keywords)
22298 (ld-script-builtins): Update keywords list.
22299
22300 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22301
22302 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22303
22304 * shell.el (shell-completion-vars): New function.
22305 (shell-mode):
22306 * simple.el (read-shell-command): Use it.
22307 (blink-matching-open): No need for " [...]" in minibuffer-message.
22308
22309 2011-05-12 Glenn Morris <rgm@gnu.org>
22310
22311 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22312 (appt-check): Simplify.
22313
22314 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22315
22316 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22317 literal "/dev/null".
22318
22319 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22320
22321 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22322 Fix typo.
22323
22324 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22325
22326 * progmodes/which-func.el (which-function):
22327 Use add-log-current-defun instead of add-log-current-defun-function,
22328 which might not be defined (Bug#8260).
22329
22330 2011-05-12 Glenn Morris <rgm@gnu.org>
22331
22332 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22333 Let byte-compile-initial-macro-environment always take precedence.
22334
22335 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22336
22337 * net/rcirc.el: Add support for SSL/TLS connections.
22338 (rcirc-server-alist): New field `encryption'.
22339 (rcirc): Check `encryption' settings.
22340 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22341 Merge make-local-variable into `set'.
22342 (rcirc--connection-open-p): New function.
22343 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22344 the process is not a network process (e.g. running gnutls-cli).
22345 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22346 Make rcirc-(en|de)code-coding-system local here.
22347 (rcirc-mode): Merge make-local-variable into `set'.
22348 (rcirc-parent-buffer): Make permanent buffer-local.
22349 (rcirc-multiline-minor-mode): Don't do it here.
22350 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22351 there's no server buffer.
22352
22353 2011-05-11 Glenn Morris <rgm@gnu.org>
22354
22355 * newcomment.el (comment-kill): Prefix "unused" local.
22356
22357 * term/w32console.el (get-screen-color): Declare.
22358
22359 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22360 Handle symbol elements of byte-compile-initial-macro-environment.
22361
22362 2011-05-10 Leo Liu <sdl.web@gmail.com>
22363
22364 * bookmark.el (bookmark-bmenu-mode-map):
22365 Bind bookmark-bmenu-search to `/'.
22366
22367 * mail/footnote.el: Convert to utf-8 encoding.
22368 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22369 (Footnote-unicode): New function.
22370 (footnote-style-alist): Add unicode style to the list.
22371 (footnote-style): Doc fix.
22372
22373 2011-05-10 Jim Meyering <meyering@redhat.com>
22374
22375 Fix doubled-word typos.
22376 * international/quail.el (quail-insert-kbd-layout): and and -> and
22377 * kermit.el: and and -> and
22378 * net/ldap.el (ldap-search-internal): to to -> to
22379 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22380 * progmodes/js.el (js-mode): and and -> and
22381 * textmodes/artist.el (artist-move-to-xy): at at -> at
22382 (artist-draw-region-trim-line-endings): if if -> if
22383 And Safetyc -> Safety.
22384 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22385
22386 2011-05-10 Glenn Morris <rgm@gnu.org>
22387 Stefan Monnier <monnier@iro.umontreal.ca>
22388
22389 * files.el (hack-one-local-variable-eval-safep):
22390 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22391
22392 2011-05-10 Glenn Morris <rgm@gnu.org>
22393
22394 * calendar/diary-lib.el (diary-list-entries-hook)
22395 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22396 (diary-nongregorian-marking-hook, diary-list-entries)
22397 (diary-include-other-diary-files, diary-mark-entries)
22398 (diary-mark-included-diary-files): Doc fixes.
22399
22400 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22401
22402 * misc.el: Require tabulated-list.el during compilation.
22403
22404 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22405
22406 * progmodes/compile.el (compilation-start):
22407 Run compilation-filter-hook for the async case too.
22408 (compilation-filter-hook): Doc fix.
22409
22410 2011-05-09 Deniz Dogan <deniz@dogan.se>
22411
22412 * wdired.el: Remove outdated installation comment. Fix usage
22413 comment.
22414
22415 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22416
22417 * misc.el: Implement new command `list-dynamic-libraries'.
22418 (list-dynamic-libraries--loaded-only-p): New variable.
22419 (list-dynamic-libraries--refresh): New function.
22420 (list-dynamic-libraries): New command.
22421
22422 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22423
22424 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22425 Fix the ant regexp to handle end-line and end-column info from jikes.
22426 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22427 higher priority to avoid clobbering by gnu.
22428
22429 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22430
22431 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22432 if the face has existing theme settings (Bug#8454).
22433
22434 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22435
22436 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22437 Only match variables declared via `my' or `our' (Bug#8261).
22438
22439 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22440 special file names `.' and `..' (Bug#8259).
22441
22442 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22443
22444 * progmodes/grep.el (grep-mode-font-lock-keywords):
22445 Remove buffer-changing entries.
22446 (grep-filter): New function.
22447 (grep-mode): Add it to compilation-filter-hook.
22448
22449 * progmodes/compile.el (compilation-filter-hook)
22450 (compilation-filter-start): New defvars.
22451 (compilation-filter): Call compilation-filter-hook prior to
22452 updating the process mark.
22453
22454 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22455
22456 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22457
22458 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22459
22460 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22461 mailclient-send-it even if window-system is nil. (Bug#8595)
22462
22463 * term/w32console.el (terminal-init-w32console):
22464 Call get-screen-color and use its output to set the frame
22465 background-mode. (Bug#8597)
22466
22467 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22468
22469 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22470 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22471 New functions.
22472 (defgeneric, eieio--defmethod): Use them.
22473 (eieio-defgeneric): Remove.
22474 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22475
22476 2011-05-07 Glenn Morris <rgm@gnu.org>
22477
22478 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22479 Use let rather than let*.
22480 (timeclock-find-discrep): Remove unused local.
22481
22482 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22483
22484 * calendar/appt.el (appt-time-msg-list): Doc fix.
22485
22486 2011-05-06 Noah Friedman <friedman@splode.com>
22487
22488 * apropos.el (apropos-print-doc): Only use
22489 emacs-lisp-docstring-fill-column when it is bound to an integer,
22490 per that variable's documentation.
22491
22492 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22493
22494 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22495 and warnings are not silently discarded (e.g. use -d instead of -P).
22496
22497 2011-05-06 Glenn Morris <rgm@gnu.org>
22498
22499 * calendar/appt.el (appt-message-warning-time): Doc fix.
22500 (appt-warning-time-regexp): New option.
22501 (appt-make-list): Respect appt-message-warning-time.
22502
22503 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22504 New options.
22505 (diary-add-to-list): Strip comments from the displayed string.
22506 (diary-mode): Set comment-start and comment-end.
22507
22508 * vc/diff-mode.el (smerge-refine-subst): Declare.
22509 (diff-refine-hunk): Don't require smerge-mode when compiling.
22510
22511 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22512
22513 * simple.el (list-processes): Return nil as the docstring says.
22514
22515 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22516
22517 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22518 to "".
22519 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22520 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22521 determining of binary transfer. (Bug#7383)
22522
22523 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22524
22525 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22526 Fix port computation bug. (Bug#8618)
22527
22528 2011-05-05 Glenn Morris <rgm@gnu.org>
22529
22530 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22531
22532 * simple.el (shell-dynamic-complete-functions)
22533 (comint-dynamic-complete-functions): Declare.
22534
22535 * net/network-stream.el (gnutls-negotiate):
22536 * simple.el (tabulated-list-print): Fix declarations.
22537
22538 * progmodes/gud.el (syntax-symbol, syntax-point):
22539 Remove unnecessary and incorrect declarations.
22540
22541 * emacs-lisp/check-declare.el (check-declare-scan):
22542 Handle byte-compile-initial-macro-environment in bytecomp.el.
22543
22544 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22545
22546 Fix earlier half-done eieio-defmethod change (bug#8338).
22547 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22548 Streamline and change calling convention.
22549 (defmethod): Adjust accordingly and simplify.
22550 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22551 new eieio--defmethod.
22552 (slot-boundp): Minor CSE simplification.
22553
22554 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22555
22556 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22557 (glasses-make-readable): Use glasses-separate-capital-groups.
22558
22559 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22560
22561 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22562 (warning-series): Doc fix.
22563 (display-warning): Don't try to create the buffer if we just found it.
22564
22565 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22566
22567 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22568 (autoload-find-generated-file): New function.
22569 (generate-file-autoloads): Bind generated-autoload-file to
22570 buffer-file-name.
22571 (update-file-autoloads, update-directory-autoloads):
22572 Use autoload-find-generated-file. If called interactively, prompt for
22573 output file (Bug#7989).
22574 (batch-update-autoloads): Doc fix.
22575
22576 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22577
22578 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22579
22580 2011-05-04 Glenn Morris <rgm@gnu.org>
22581
22582 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22583 function, so it follows changes in calendar-date-style.
22584 (diary-fancy-date-matcher): New function.
22585 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22586 (diary-fancy-font-lock-fontify-region-function):
22587 Use diary-fancy-date-pattern as a function.
22588
22589 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22590 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22591
22592 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22593
22594 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22595 instead of positional arguments. Allow :keylist and :crlfiles
22596 arguments.
22597 (open-gnutls-stream): Call it.
22598
22599 * net/network-stream.el (network-stream-open-starttls): Adjust to
22600 call `gnutls-negotiate' with :process and :hostname arguments.
22601
22602 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22603
22604 * minibuffer.el (completion--message): New function.
22605 (completion--do-completion, minibuffer-complete)
22606 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22607 (completion--do-completion): Don't ignore completion-auto-help when in
22608 icomplete-mode.
22609
22610 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22611 internal encoding (e.g. tibetan zero is not whitespace).
22612 (global-whitespace-mode): Prefer save-current-buffer.
22613 (whitespace-trailing-regexp): Remove useless save-match-data.
22614 (whitespace-empty-at-bob-regexp): Minor simplification.
22615
22616 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22617
22618 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22619
22620 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22621
22622 * textmodes/ispell.el (ispell-add-per-file-word-list):
22623 Use `concat' to create string for insertion.
22624
22625 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22626
22627 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22628 Avoid open-line which runs post-self-insert-hook.
22629 (bibtex-fill-entry): Remove unused `end' var.
22630
22631 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22632
22633 * textmodes/ispell.el (ispell-add-per-file-word-list):
22634 Protect against `nil' value of `comment-start' (Bug#8579).
22635
22636 2011-05-03 Leo Liu <sdl.web@gmail.com>
22637
22638 * isearch.el (isearch-yank-pop): New command.
22639 (isearch-mode-map): Bind it to `M-y'.
22640 (isearch-forward): Mention it.
22641
22642 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22643
22644 * simple.el (minibuffer-complete-shell-command): Remove.
22645 (minibuffer-local-shell-command-map): Use completion-at-point.
22646 (read-shell-command): Setup completion vars here instead.
22647 (read-expression-map): Bind TAB to symbol completion.
22648
22649 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22650 error directly rather via storing it into `results'.
22651
22652 2011-05-02 Leo Liu <sdl.web@gmail.com>
22653
22654 * vc/diff.el: Fix description.
22655
22656 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22657
22658 * server.el (server-eval-at): New function.
22659
22660 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22661
22662 * net/network-stream.el (open-network-stream): Take a :nowait
22663 parameter and pass it on to `make-network-process'.
22664 (network-stream-open-plain): Ditto.
22665
22666 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22667
22668 * faces.el (face-spec-set-match-display): Don't match toolkit
22669 options on terminal frames.
22670
22671 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22672
22673 * progmodes/pascal.el: Use lexical binding.
22674 (pascal-mode-map): Remove author preferences.
22675
22676 * pcomplete.el (pcomplete-std-complete): Don't abuse
22677 completion-at-point.
22678
22679 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22680
22681 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22682 removing code that has been dead since 1991 or so.
22683
22684 * startup.el (command-line): When warning about "_emacs", use a
22685 delayed warning to allow the user to filter it out.
22686
22687 2011-04-28 Deniz Dogan <deniz@dogan.se>
22688
22689 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22690 user has not joined.
22691
22692 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22693
22694 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22695 aren't any completions at point.
22696
22697 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22698
22699 * subr.el (display-delayed-warnings): New function.
22700 (delayed-warnings-hook): New variable.
22701
22702 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22703
22704 * minibuffer.el (completion-at-point, completion-help-at-point):
22705 Don't presume that a given completion-at-point-function will always
22706 use the same calling convention.
22707
22708 * pcomplete.el (pcomplete-completions-at-point):
22709 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22710 pcomplete-seen is non-nil.
22711 (pcomplete-comint-setup): Also recognize the new comint/shell
22712 completion functions.
22713 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22714 pcomplete-seen is non-nil.
22715
22716 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22717
22718 * calendar/icalendar.el (diary-lib): Add require statement.
22719 (icalendar--create-uid): Read out a uid from a text-property on
22720 the first character in the entry. This allows for code to add its
22721 own uid to the entry.
22722 (icalendar--convert-float-to-ical): Add export of
22723 `diary-float'-entries save for those with the optional DAY
22724 argument.
22725
22726 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22727
22728 * subr.el (shell-quote-argument): Use alternate escaping strategy
22729 when we spot a variable reference in a string.
22730
22731 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22732
22733 * cus-start.el (all): Define customization for debug-on-event.
22734
22735 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22736
22737 * subr.el (shell-quote-argument): Escape correctly under Windows.
22738
22739 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22740
22741 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22742
22743 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22744
22745 * net/tramp.el (tramp-process-actions): Add POS argument.
22746 Delete region between POS and (pos).
22747
22748 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22749 Use `nil' position in `tramp-process-actions' call.
22750 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22751
22752 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22753 position in `tramp-process-actions' call.
22754
22755 * net/trampver.el: Update release number.
22756
22757 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22758
22759 * custom.el (defcustom): Obey lexical-binding.
22760
22761 Fix octave-inf completion problems reported by Alexander Klimov.
22762 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22763 Inherit from octave-mode-syntax-table.
22764 (inferior-octave-mode): Set info-lookup-mode.
22765 (inferior-octave-completion-at-point): New function.
22766 (inferior-octave-complete): Use it and completion-in-region.
22767 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22768 comint-filename-completion.
22769 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22770 symbol elements which shouldn't be word elements.
22771 (octave-font-lock-keywords, octave-beginning-of-defun)
22772 (octave-function-header-regexp): Adjust regexps accordingly.
22773 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22774
22775 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22776
22777 * net/gnutls.el (gnutls-errorp): Declare before first use.
22778
22779 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22780
22781 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22782 verify-error, and verify-hostname-error parameters. Check whether
22783 default trustfile exists before going to use it. Add missing
22784 argument to gnutls-message-maybe call. Return value.
22785 Reported by Claudio Bley <claudio.bley@gmail.com>.
22786 (open-gnutls-stream): Add usage example.
22787
22788 * net/network-stream.el (network-stream-open-starttls): Give host
22789 parameter to `gnutls-negotiate'.
22790 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22791 * subr.el (shell-quote-argument): Escape correctly under Windows.
22792
22793 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22794
22795 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22796 Use correct match group (bug#8438).
22797
22798 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22799
22800 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22801 (package-menu--generate): New arg specifying packages to show.
22802 (package-menu-refresh, package-menu-execute, list-packages):
22803 Callers changed.
22804 (package-show-package-list): New function, replacing deleted
22805 package--list-packages (renamed because it is non-internal).
22806
22807 * finder.el (finder-list-matches): Use package-show-package-list
22808 instead of deleted package--list-packages.
22809
22810 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22811 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22812 (vc-annotate-mode-map): Bind it to RET.
22813
22814 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22815
22816 * progmodes/etags.el (next-file): Don't use set-buffer to change
22817 buffers (Bug#8478).
22818
22819 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22820
22821 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22822
22823 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22824 (apropos-accumulator): Doc fix.
22825 (apropos-function, apropos-macro, apropos-command)
22826 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22827 (apropos-plist): Add face property.
22828 (apropos-symbols-internal): Fix indentation.
22829 (apropos-print): Simplify help, and recognize apropos-multi-type.
22830 (apropos-print-doc): Use button-type-get to extract the button's
22831 face property. Fill docstring (Bug#8352).
22832
22833 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22834
22835 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22836
22837 * play/mpuz.el (mpuz-silent): Doc fix.
22838 (mpuz-mode-map): Use mapc.
22839 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22840 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22841 Fix typos in docstrings.
22842
22843 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22844 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22845
22846 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22847
22848 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22849
22850 * minibuffer.el (completion--do-completion): Avoid the "Next char
22851 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22852
22853 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22854 mouse-2 into unread-command-events, it is interpreted correctly.
22855
22856 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22857 (image-toggle-display): Doc fix.
22858
22859 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22860
22861 * textmodes/page.el (what-page): Use line-number-at-pos to
22862 calculate line number (Bug#6825).
22863
22864 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22865
22866 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22867 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22868 Pass argument NO-DEFAULT to `find-tag-interactive'.
22869
22870 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22871
22872 Lexical-binding cleanup.
22873
22874 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22875 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22876 * progmodes/ada-prj.el (ada-prj-initialize-values)
22877 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22878 (ada-prj-show-value):
22879 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22880 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22881 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22882 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22883 * progmodes/bug-reference.el (bug-reference-push-button):
22884 * progmodes/fortran.el (fortran-line-length):
22885 * progmodes/glasses.el (glasses-change):
22886 * progmodes/octave-mod.el (octave-fill-paragraph):
22887 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22888 (python-pdbtrack-grub-for-buffer, python-sentinel):
22889 * progmodes/sql.el (sql-save-connection):
22890 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22891 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22892 Mark unused parameters.
22893
22894 * progmodes/compile.el (compilation--flush-directory-cache)
22895 (compilation--flush-parse, compile-internal): Mark unused parameters.
22896 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22897 (compilation-next-error-function): Remove unused variable `timestamp'.
22898
22899 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22900 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22901
22902 * progmodes/dcl-mode.el (dcl-end-of-command):
22903 Remove unused variable `start'.
22904 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22905 (dcl-option-value-basic, dcl-option-value-offset)
22906 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22907 Mark unused parameters.
22908 (dcl-save-local-variable): Remove unused variable `val'.
22909 (mode): Declare.
22910
22911 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22912 Mark unused parameters.
22913 (delphi-ignore-changes): Move before first use.
22914 (delphi-charset-token-at): Remove unused variable `start'.
22915 (delphi-else-start): Remove unused variable `if-count'.
22916 (delphi-comment-block-start, delphi-comment-block-end):
22917 Remove unused variable `kind'.
22918 (delphi-indent-line): Remove unused variable `new-point'.
22919
22920 * progmodes/ebrowse.el (ebrowse-files-list)
22921 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22922 Mark unused parameters. Don't quote `lambda'.
22923 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22924 Don't quote `lambda'.
22925 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22926 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22927 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22928 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22929 Use `ignore-errors'.
22930 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22931 (ebrowse-view/find-file-and-search-pattern)
22932 (ebrowse-view/find-member-declaration/definition):
22933 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22934 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22935 Rename parameter PREFIX-ARG to PREFIX.
22936 (ebrowse-tags-read-name): Remove unused variables `start' and
22937 `member-info'.
22938 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22939 to `tags-file'.
22940
22941 * progmodes/etags.el (local-find-tag-hook): Declare.
22942 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22943 Mark unused parameters.
22944
22945 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22946 (executable-interpret): Mark unused parameter.
22947
22948 * progmodes/flymake.el (flymake-process-sentinel)
22949 (flymake-after-change-function)
22950 (flymake-create-temp-with-folder-structure)
22951 (flymake-get-include-dirs-dot): Mark unused parameters.
22952 (flymake-safe-delete-directory): Remove unused variable `err'.
22953
22954 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22955 (speedbar-timer-fn, speedbar-line-text)
22956 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22957 (speedbar-center-buffer-smartly): Declare functions.
22958 (gdb-find-watch-expression): Remove unused variable `array'.
22959 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22960 (gdb-starting): Mark unused parameters.
22961 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22962 (gdb-table-string): Remove unused variable `res'.
22963 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22964 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22965 (gdb-display-buffer): Remove unused variable `cur-size'.
22966
22967 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22968 allow lexical-binding compilation.
22969 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22970 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22971 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22972 Mark unused parameters.
22973 (gud-gdb-marker-filter): Remove unused variable `match'.
22974 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22975 lambda expressions and funcall them, instead of using `fset'.
22976
22977 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22978 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22979
22980 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22981 variable `header-beg'; use `let'.
22982
22983 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22984 `restart', `last-sexp' and `at-do'.
22985
22986 * progmodes/js.el (js--debug): Mark unused parameter.
22987 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22988 (js--splice-into-items): Remove unused variable `item'.
22989 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22990
22991 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22992 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22993 (makefile-complete): Remove unused variable `try'.
22994 (makefile-fill-paragraph, makefile-match-function-end):
22995 Mark unused parameters.
22996
22997 * progmodes/octave-inf.el (inferior-octave-complete):
22998 Remove unused variable `proc'.
22999 (inferior-octave-output-digest): Mark unused parameter.
23000
23001 * progmodes/perl-mode.el (perl-calculate-indent):
23002 Remove unused variable `err'.
23003
23004 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
23005 (prolog-indent-line): Mark unused parameters.
23006 (prolog-indent-line): Remove unused variable `beg'.
23007
23008 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
23009 (reporter-dont-compact-list): Declare.
23010
23011 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
23012 Remove unused variable `char'.
23013 (sh-debug): Mark unused parameter.
23014 (sh-get-indent-info): Remove unused variable `start'.
23015 (sh-calculate-indent): Remove unused variable `var'.
23016
23017 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
23018 (simula-electric-keyword): Remove unused variable `null'.
23019 (simula-search-backward, simula-search-forward): Remove unused
23020 variables `begin' and `end'.
23021
23022 * progmodes/vera-mode.el (vera-guess-basic-syntax):
23023 Remove unused variable `pos'.
23024 (vera-electric-tab, vera-comment-uncomment-region):
23025 Mark unused parameters.
23026 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
23027
23028 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
23029
23030 * emacs-lisp/package.el (package--builtins, package-alist)
23031 (package-load-descriptor, package-built-in-p, package-activate)
23032 (define-package, package-installed-p)
23033 (package-compute-transaction, package-buffer-info)
23034 (package--push): Doc fix. Distinguish more clearly between
23035 version strings and version lists.
23036
23037 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
23038
23039 Lexical-binding cleanup.
23040
23041 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
23042 (5x5-make-mutate-best):
23043 * play/fortune.el (fortune-in-buffer):
23044 * play/gomoku.el (gomoku-init-display):
23045 * play/solitaire.el (solitaire, solitaire-do-check):
23046 * play/tetris.el (tetris-default-update-speed-function):
23047 Mark unused parameters.
23048
23049 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
23050 (bubbles--shift): Remove unused variable `char-org'.
23051 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23052 (bubbles--show-images): Remove unused variable `char'.
23053
23054 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23055 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23056 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23057 (decipher-analyze-buffer): Use ?\s.
23058 (decipher-make-checkpoint): Remove unused variable `mapping'.
23059
23060 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23061
23062 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23063 Remove unused variable `result'; use `let'.
23064
23065 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23066 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23067 (gametree-children-shown-p, gametree-compute-reduced-score):
23068 Use `ignore-errors'.
23069
23070 * play/handwrite.el (ps-lpr-switches): Declare.
23071 (handwrite): Remove unused variables `pmin' and `lastp'.
23072
23073 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23074
23075 * play/landmark.el (landmark-init-display)
23076 (landmark-update-naught-weights): Mark unused parameters.
23077 (landmark-y): Remove unused variable `noise'. Simplify.
23078 (landmark-human-plays): Remove unused variable `score'.
23079
23080 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23081 (mpuz-try-proposal): Remove unused variable `game'.
23082
23083 * play/zone.el (life-patterns): Declare.
23084
23085 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
23086
23087 * vc/vc.el (ediff-vc-internal): Declare function.
23088
23089 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23090
23091 * shell.el: Use lexical-binding and std completion UI.
23092 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23093 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23094 comint-preoutput-filter-functions rather than on
23095 comint-output-filter-functions.
23096 (shell-command-completion, shell--command-completion-data)
23097 (shell-filename-completion, shell-environment-variable-completion)
23098 (shell-c-a-p-replace-by-expanded-directory): New functions.
23099 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23100 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23101 (shell-dynamic-complete-environment-variable): Use them.
23102 (shell-dynamic-complete-as-environment-variable)
23103 (shell-dynamic-complete-as-command): Remove.
23104 (shell-match-partial-variable): Match past point.
23105 * comint.el: Clean up use of completion-at-point-functions.
23106 (comint-completion-at-point): New function.
23107 (comint-mode): Use it completion-at-point-functions.
23108 (comint-dynamic-complete): Make it obsolete.
23109 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23110 (comint-c-a-p-replace-by-expanded-history): New function.
23111 (comint-dynamic-complete-functions)
23112 (comint-replace-by-expanded-history): Use it.
23113 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23114 termination strings. Try harder to avoid second try-completion.
23115 (completion-in-region-mode-map): Disable bindings that don't work yet.
23116
23117 * comint.el: Use lexical-binding. Require CL.
23118 (comint-dynamic-complete-functions): Use comint-filename-completion.
23119 (comint-completion-addsuffix): Tweak custom type.
23120 (comint-filename-completion, comint--common-suffix)
23121 (comint--common-quoted-suffix, comint--table-subvert)
23122 (comint--complete-file-name-data): New functions.
23123 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23124 (comint-dynamic-list-filename-completions): Use them.
23125 (comint-dynamic-simple-complete): Make obsolete.
23126
23127 * minibuffer.el (completion-in-region-mode):
23128 Keep completion-in-region-mode--predicate global.
23129 (completion-in-region--postch):
23130 Assume completion-in-region-mode--predicate is not null.
23131
23132 * progmodes/flymake.el (flymake-start-syntax-check-process):
23133 Obey `dir'. Simplify.
23134
23135 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23136 we're in VC after all.
23137
23138 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23139
23140 * vc/vc.el (vc-diff-build-argument-list-internal)
23141 (vc-version-ediff, vc-ediff): New commands.
23142 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23143
23144 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23145
23146 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23147 add sanity check.
23148
23149 * obsolete/erc-hecomplete.el: Make obsolete.
23150 * obsolete/: Standardize obsolescence info in the header.
23151
23152 2011-04-20 Glenn Morris <rgm@gnu.org>
23153
23154 * calendar/solar.el (solar-horizontal-coordinates):
23155 Use the longitude argument rather than `calendar-longitude'.
23156 (solar-date-next-longitude): Remove unused locals.
23157
23158 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23159
23160 * whitespace.el: New version 13.2.1.
23161
23162 2011-04-20 felix <EmacsWiki> (tiny change)
23163
23164 * whitespace.el (global-whitespace-mode): Keep highlight when
23165 switching between major modes on a file.
23166
23167 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23168
23169 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23170 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23171 multi-line comments as well.
23172
23173 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
23174
23175 Lexical-binding cleanup.
23176
23177 * arc-mode.el (archive-mode-revert):
23178 * cmuscheme.el (scheme-interactively-start-process):
23179 * custom.el (custom-initialize-delay):
23180 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23181 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23182 * emacs-lock.el (emacs-lock-clear-sentinel):
23183 * ezimage.el (defezimage):
23184 * follow.el (follow-avoid-tail-recenter):
23185 * fringe.el (set-fringe-mode-1):
23186 * generic-x.el (bat-generic-mode-compile):
23187 * help-mode.el (help-info-variable, help-do-xref)
23188 (help-mode-revert-buffer):
23189 * help.el (view-emacs-todo):
23190 * iswitchb.el (iswitchb-completion-help):
23191 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23192 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23193 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23194 * locate.el (locate-update):
23195 * longlines.el (longlines-encode-region)
23196 (longlines-after-change-function):
23197 * outline.el (outline-isearch-open-invisible):
23198 * ps-def.el (declare-function, charset-dimension, char-width)
23199 (encode-char):
23200 * ps-mule.el (ps-mule-plot-string):
23201 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23202 (recentf-edit-list-select, recentf-edit-list-validate)
23203 (recentf-open-files-action):
23204 * rect.el (delete-whitespace-rectangle-line)
23205 (rectangle-number-line-callback):
23206 * register.el (window-configuration-to-register)
23207 (frame-configuration-to-register):
23208 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23209 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23210 (xselect-convert-to-targets, xselect-convert-to-delete)
23211 (xselect-convert-to-filename, xselect-convert-to-charpos)
23212 (xselect-convert-to-lineno, xselect-convert-to-colno)
23213 (xselect-convert-to-os, xselect-convert-to-host)
23214 (xselect-convert-to-user, xselect-convert-to-class)
23215 (xselect-convert-to-name, xselect-convert-to-integer)
23216 (xselect-convert-to-atom, xselect-convert-to-identity):
23217 * subr.el (declare, ignore, process-kill-without-query)
23218 (text-clone-maintain):
23219 * terminal.el (te-get-char, te-tic-sentinel):
23220 * tool-bar.el (tool-bar-make-keymap):
23221 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23222 * type-break.el (type-break-mode, type-break-noninteractive-query):
23223 * view.el (View-back-to-mark):
23224 * wid-browse.el (widget-browse-action, widget-browse-widget)
23225 (widget-browse-widgets, widget-browse-sexp):
23226 * widget.el (define-widget-keywords):
23227 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23228 Mark unused parameters.
23229
23230 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23231 (align-areas): Remove unused variable `look'.
23232 (align-region): Remove unused variables `real-end' and `pos-list'.
23233
23234 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23235
23236 * bindings.el (mode-line-modified, mode-line-remote):
23237 Mark unused parameters.
23238 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23239
23240 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23241 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23242
23243 * comint.el (comint-history-isearch-pop-state)
23244 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23245 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23246 (comint-substitute-in-file-name): Doc fix.
23247
23248 * completion.el (cmpl-statistics-block): Mark unused parameter.
23249 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23250 (save-completions-to-file, load-completions-from-file):
23251 Remove unused local variable `e'.
23252
23253 * composite.el (compose-chars): Remove unused variable `len'.
23254 (lgstring-insert-glyph): Remove unused variable `g'.
23255 (compose-glyph-string): Remove unused variables `ascent',
23256 `descent', `lbearing' and `rbearing'.
23257 (compose-glyph-string-relative): Remove unused variables
23258 `lbearing', `rbearing' and `wadjust'.
23259 (compose-gstring-for-graphic): Remove unused variables `header',
23260 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23261 (compose-gstring-for-terminal): Remove unused variables `header'
23262 and `nchars'. Use `let', not `let*'.
23263
23264 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23265 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23266 (Custom-buffer-done, custom-buffer-create-internal)
23267 (custom-browse-visibility-action, custom-browse-group-tag-action)
23268 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23269 (widget-magic-mouse-down-action, custom-toggle-parent)
23270 (custom-add-parent-links, custom-toggle-hide-variable)
23271 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23272 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23273 (custom-face-menu-create, custom-variable-menu-create, get)
23274 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23275 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23276 (customize-apropos): Remove unused variable `tests'.
23277 (custom-group-value-create): Remove unused variable `hidden-p'.
23278 (sort-fold-case): Declare.
23279
23280 * cus-theme.el (custom-reset-standard-faces-list)
23281 (custom-reset-standard-variables-list): Declare.
23282 (customize-create-theme, custom-theme-revert, custom-theme-write)
23283 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23284 Mark unused parameters.
23285
23286 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23287
23288 * delim-col.el (delimit-columns-max): Move defvar before first use.
23289
23290 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23291 (describe-char): Don't quote `lambda'. Mark unused parameter.
23292
23293 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23294 (auto-insert): Declare.
23295 (desktop-restore-file-buffer): Rename desktop-* parameters;
23296 mark unused ones.
23297 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23298 (desktop-buffer): Rename desktop-* parameters.
23299
23300 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23301 (dframe-reposition-frame-xemacs, dframe-help-echo)
23302 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23303 Mark unused parameters.
23304
23305 * dired-aux.el (backup-extract-version-start, overwrite-query)
23306 (overwrite-backup-query, rename-regexp-query)
23307 (rename-non-directory-query): Declare.
23308 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23309 (dired-add-entry): Remove unused variable `orig-file-name'.
23310 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23311 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23312 `dired-copy-preserve-time' directly.
23313 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23314 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23315
23316 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23317 (dired-virtual-revert, dired-make-relative-symlink):
23318 Mark unused parameters.
23319 (manual-program): Declare.
23320 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23321 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23322 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23323
23324 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23325
23326 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23327
23328 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23329 Declare.
23330
23331 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23332
23333 * electric.el (Electric-command-loop): Rename parameter
23334 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23335
23336 * expand.el (expand-in-literal): Remove unused variable `here'.
23337
23338 * facemenu.el (facemenu-add-new-color):
23339 Remove unused variable `docstring'.
23340
23341 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23342 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23343 (face-attr-construct): Mark unused parameter. Doc fix.
23344 (read-color): Remove unused variable `hex-string'.
23345
23346 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23347 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23348 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23349 (display-buffer-other-frame): Remove unused variable `old-window'.
23350 (kill-buffer-hook): Declare.
23351 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23352 Mark unused parameters.
23353 (after-find-file): Pass 1 to `auto-save-mode', not t.
23354
23355 * files-x.el (auto-insert): Declare.
23356 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23357
23358 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23359 variable `buf'. Mark unused parameter.
23360 (find-lisp-insert-directory): Mark unused parameter.
23361
23362 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23363 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23364 (format-common-tail): Remove, unused.
23365 (format-deannotate-region): Remove unused variable `loc'.
23366 (format-annotate-region): Remove unused variable `p'.
23367 (format-annotate-single-property-change): Remove unused variables
23368 `default' and `tail'.
23369
23370 * forms.el (read-file-filter): Declare.
23371 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23372
23373 * frame.el (frame-creation-function-alist): Mark unused parameter.
23374 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23375
23376 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23377 Remove unused parameters.
23378 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23379 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23380
23381 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23382 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23383 (hfy-prepare-tag-map): Mark unused parameters.
23384 (htmlfontify-buffer): Use `called-interactively-p'.
23385
23386 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23387 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23388 (ibuffer-do-occur): Mark unused parameters.
23389 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23390 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23391
23392 * ibuffer.el: Don't quote `lambda'.
23393 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23394 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23395 Mark unused parameters.
23396
23397 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23398 (ido-completing-read): Mark unused parameters.
23399 (ido-copy-current-word): Mark unused parameters;
23400 remove unused variable `name'.
23401 (ido-sort-merged-list): Remove unused parameter `dirs'.
23402
23403 * ielm.el (ielm-input-sender): Mark unused parameter.
23404 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23405 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23406 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23407 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23408 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23409
23410 * image-dired.el (image-dired-display-thumbs): Remove unused
23411 variables `curr-file' and `count'.
23412 (image-dired-remove-tag): Remove unused variable `start'.
23413 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23414 variable `curr-file'
23415 (image-dired-rotate-original): Remove unused variable `temp-file'.
23416 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23417 Remove unused variable `file'.
23418 (image-dired-gallery-generate): Remove unused variable `curr'.
23419 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23420
23421 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23422
23423 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23424
23425 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23426
23427 * isearch.el (minibuffer-history-symbol): Declare.
23428 (isearch-edit-string): Remove unused variable `err'.
23429 (isearch-message-prefix, isearch-message-suffix):
23430 Mark unused parameters.
23431
23432 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23433
23434 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23435
23436 * makesum.el (double-column): Remove unused variable `cnt'.
23437
23438 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23439 (ido-ignore-item-temp-list): Declare.
23440
23441 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23442 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23443 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23444 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23445 `mouse-col-delta'.
23446
23447 * mouse-sel.el (mouse-extend-internal):
23448 Remove unused variable `orig-window-frame'.
23449
23450 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23451 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23452 Move declarations before first use.
23453 (pcomplete-opt): Mark unused parameters; doc fix.
23454
23455 * proced.el (proced-revert): Mark unused parameter.
23456 (proced-send-signal): Remove unused variable `err'.
23457
23458 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23459 Rename parameter PREFIX-ARG to ARG.
23460 (ps-basic-plot-string, ps-basic-plot-whitespace):
23461 Mark unused parameters.
23462
23463 * replace.el (replace-count): Define.
23464 (occur-revert-function): Mark unused parameters.
23465 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23466 (isearch-case-fold-search, isearch-string): Declare.
23467 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23468 bind `case-fold-search'. Remove unused variables `beg' and `end',
23469 and simplify.
23470 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23471 COUNT and bind `replace-count'.
23472 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23473 to COUNT.
23474
23475 * savehist.el (print-readably, print-string-length): Declare.
23476
23477 * shadowfile.el (shadow-expand-cluster-in-file-name):
23478 Remove unused variable `cluster'.
23479 (shadow-copy-file): Remove unused variable `i'.
23480 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23481 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23482 (shadow-define-literal-group, shadow-define-regexp-group)
23483 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23484
23485 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23486 (shell): Use `called-interactively-p'.
23487 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23488
23489 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23490 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23491 (delete-backward-char): Remove unused variable `ocol'.
23492 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23493 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23494 (event-apply-hyper-modifier, event-apply-shift-modifier)
23495 (event-apply-control-modifier, event-apply-meta-modifier):
23496 Mark unused parameters.
23497 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23498 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23499
23500 * speedbar.el (speedbar-ignored-directory-expressions)
23501 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23502 (speedbar-find-file, speedbar-dir-follow)
23503 (speedbar-directory-buttons-follow, speedbar-tag-find)
23504 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23505 (speedbar-buffers-line-directory, speedbar-buffer-click):
23506 Mark unused parameters.
23507 (speedbar-tag-file): Remove unused variable `mode'.
23508 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23509
23510 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23511
23512 * talk.el (talk): Remove unused variable `display'.
23513
23514 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23515 (tar-write-region-annotate): Mark unused parameter.
23516
23517 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23518 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23519 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23520 warning by another.
23521
23522 * time-stamp.el (time-stamp-string-preprocess):
23523 Remove unused variable `require-padding'.
23524
23525 * tree-widget.el (widget-glyph-enable): Declare.
23526 (tree-widget-action): Mark unused parameter.
23527
23528 * w32-fns.el (x-get-selection): Mark unused parameter.
23529 (autoload-make-program, generated-autoload-file): Declare.
23530
23531 * wdired.el (wdired-revert): Mark unused parameters.
23532 (wdired-xcase-word): Remove unused variable `err'.
23533
23534 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23535 (whitespace-help-scroll): Remove unused variable `data-help'.
23536
23537 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23538 (widget-image-insert, widget-after-change, default)
23539 (widget-default-format-handler, widget-default-notify)
23540 (widget-default-prompt-value, widget-info-link-action)
23541 (widget-url-link-action, widget-function-link-action)
23542 (widget-variable-link-action, widget-file-link-action)
23543 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23544 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23545 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23546 (widget-insert-button-action, widget-delete-button-action, visibility)
23547 (widget-documentation-link-action, widget-documentation-string-action)
23548 (widget-const-prompt-value, widget-regexp-match, symbol)
23549 (widget-coding-system-prompt-value)
23550 (widget-key-sequence-value-to-external, sexp)
23551 (widget-sexp-value-to-internal, character, vector, cons)
23552 (widget-choice-prompt-value, widget-boolean-prompt-value)
23553 (widget-color--choose-action): Mark unused parameters.
23554 (widget-item-match-inline, widget-choice-match-inline)
23555 (widget-checklist-match, widget-checklist-match-inline)
23556 (widget-group-match): Rename parameter VALUES to VALS.
23557 (widget-field-value-set): Remove unused variable `size'.
23558 (widget-color-action): Remove unused variables `value' and `start'.
23559
23560 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23561 variable `dir'. Doc fix.
23562 (windmove-find-other-window): Don't pass it.
23563
23564 * window.el (count-windows): Mark unused parameter.
23565 (bw-adjust-window): Remove unused variable `err'.
23566
23567 * woman.el (woman-file-name): Remove unused variable `default'.
23568 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23569 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23570 (global-font-lock-mode): Declare.
23571 (woman-decode-region): Mark unused parameter.
23572 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23573
23574 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23575 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23576 (x-dnd-handle-moz-url): Remove unused variable `title'.
23577 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23578
23579 * xml.el (xml-parse-tag, xml-parse-attlist):
23580 Remove unused variable `pos'.
23581
23582 2011-04-19 Glenn Morris <rgm@gnu.org>
23583
23584 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23585 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23586 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23587 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23588 * calendar/cal-html.el (cal-html-insert-minical):
23589 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23590 (calendar-mark-date-pattern):
23591 Prefix "unused" locals.
23592
23593 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23594 optional argument `style'.
23595
23596 * calendar/appt.el (appt-make-list):
23597 * calendar/cal-china.el (calendar-chinese-date-string):
23598 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23599 (diary-hebrew-yahrzeit):
23600 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23601 * calendar/calendar.el (calendar-generate-window):
23602 * calendar/time-date.el (time-to-days):
23603 Remove unused local variables.
23604
23605 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23606
23607 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23608 glyphless-char-display table.
23609 (tabulated-list-glyphless-char-display): New var.
23610
23611 2011-04-18 Sam Steingold <sds@gnu.org>
23612
23613 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23614 to acknowledgments.
23615
23616 2011-04-17 Glenn Morris <rgm@gnu.org>
23617
23618 * calendar/diary-lib.el (diary-sexp-entry):
23619 * calendar/holidays.el (holiday-sexp):
23620 Set debug-on-error rather than the removed stack-trace-on-error.
23621
23622 2011-04-16 Glenn Morris <rgm@gnu.org>
23623
23624 * progmodes/f90.el: Use lexical-binding.
23625 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23626
23627 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23628
23629 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23630 (mail-mode): Setup mailalias completion here instead.
23631 * mail/mailalias.el: Use lexical-binding.
23632 (pattern, mailalias-done): Declare dynamic.
23633 (mail-completion-at-point-function): New function, from mail-complete.
23634 (mail-complete): Use it.
23635 (mail-completion-expand): New function.
23636 (mail-get-names): Use it.
23637 (mail-directory, mail-directory-process, mail-directory-stream):
23638 Don't use `pattern' for lexically bound arg.
23639
23640 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23641
23642 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23643 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23644 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23645
23646 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23647 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23648 (byte-interactive-p): Define them again, for use when inlining
23649 old code.
23650
23651 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23652
23653 * loadup.el: Use `string-to-number', not `string-to-int'.
23654
23655 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23656
23657 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23658 gud-gdb-complete-command.
23659 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23660 (gud-gdb-completion-at-point): New function.
23661 (gud-gdb-completions): Remove.
23662
23663 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23664
23665 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23666 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23667 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23668 whether `executable-find' is bound.
23669
23670 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23671
23672 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23673
23674 * minibuffer.el (completion-in-region-mode-predicate)
23675 (completion-in-region-mode--predicate): New vars.
23676 (completion-in-region, completion-in-region--postch)
23677 (completion-in-region-mode): Use them.
23678 (completion--capf-wrapper): Also return the hook function.
23679 (completion-at-point, completion-help-at-point):
23680 Adjust and provide a predicate.
23681
23682 Preserve arg names for advice of subr and lexical functions (bug#8457).
23683 * help-fns.el (help-function-arglist): Consolidate the subr and
23684 new-byte-code cases. Add argument `preserve-names' to extract names
23685 from the docstring when needed.
23686 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23687 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23688 (ad-arglist): Use help-function-arglist's new arg.
23689 (ad-definition-type): Use cond.
23690
23691 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23692
23693 * autorevert.el (auto-revert-handler):
23694 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23695 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23696 Don't quote lambda.
23697
23698 * image-mode.el (image-transform-set-scale):
23699 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23700
23701 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23702
23703 * net/network-stream.el (network-stream-open-starttls): Only do
23704 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23705 Upgrades via gnutls-cli are too slow to be done opportunistically.
23706
23707 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23708
23709 * dframe.el (dframe-current-frame): Remove spurious quote.
23710
23711 2011-04-12 Glenn Morris <rgm@gnu.org>
23712
23713 * calendar/cal-tex.el (cal-tex-end-document):
23714 Try to automatically use latin1 input if needed.
23715
23716 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23717 Don't try to cons a mark onto an empty element.
23718
23719 2011-04-11 Leo Liu <sdl.web@gmail.com>
23720
23721 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23722 buffers.
23723 (ido-kill-buffer-at-head): Support killing virtual buffers.
23724
23725 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23726
23727 * minibuffer.el (completion-show-inline-help): New var.
23728 (completion--do-completion, minibuffer-complete)
23729 (minibuffer-force-complete, minibuffer-complete-word):
23730 Inhibit minibuffer messages if completion-show-inline-help is nil.
23731
23732 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23733 to avoid interference from inline help (Bug#5849).
23734
23735 2011-04-10 Leo Liu <sdl.web@gmail.com>
23736
23737 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23738 Fix typo.
23739
23740 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23741
23742 * image-mode.el (image-toggle-display-image): Signal an error if
23743 not in Image mode.
23744 (image-transform-mode, image-transform-resize)
23745 (image-transform-set-rotation): Doc fix.
23746 (image-transform-set-resize): Delete.
23747 (image-transform-set-scale, image-transform-fit-to-height)
23748 (image-transform-fit-to-width): Handle image-toggle-display-image
23749 and image-transform-resize directly.
23750
23751 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23752
23753 * doc-view.el (doc-view-fit-width-to-window)
23754 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23755 New functions for fitting the shown image to the Emacs window size.
23756 (doc-view-mode-map): Add bindings for the new functions.
23757
23758 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23759
23760 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23761 Fix typo in docstring.
23762
23763 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23764
23765 * files.el (file-size-human-readable): Produce one digit after
23766 decimal, like "ls -lh" does.
23767
23768 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23769 the file size representation.
23770
23771 * simple.el (list-processes): If async subprocesses are not
23772 available, error out with a clear error message.
23773
23774 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23775
23776 * help.el (help-form-show): New function, to be called from C.
23777 Put help-form output in a buffer named differently than *Help*.
23778
23779 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23780
23781 * files.el (file-size-human-readable): New function.
23782
23783 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23784 computing the representation inline. Don't require `cl'.
23785
23786 2011-04-08 Glenn Morris <rgm@gnu.org>
23787
23788 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23789
23790 * net/browse-url.el (browse-url-firefox):
23791 Test system-type, not system-configuration.
23792
23793 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23794 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23795 Use log-edit-empty-buffer-p. (Bug#7598)
23796
23797 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23798 (rlogin-mode-map): Initialize in the defvar.
23799 (rlogin): Use ignore-errors.
23800
23801 * replace.el (occur-mode-map): Some fixes for menu items.
23802
23803 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23804
23805 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23806
23807 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23808
23809 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23810 issuing unused warnings.
23811
23812 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23813 macro directly.
23814
23815 * simple.el: Lisp reimplement of list-processes. Based on an
23816 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23817 (process-menu-mode): New major mode.
23818 (list-processes--refresh, list-processes):
23819 (process-menu-visit-buffer): New functions.
23820
23821 * files.el (save-buffers-kill-emacs): Don't assume any return
23822 value of list-processes, which is undocumented anyway.
23823
23824 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23825
23826 * emacs-lisp/tabulated-list.el: New file.
23827
23828 * emacs-lisp/package.el: Use Tabulated List mode.
23829 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23830 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23831 table format using Tabulated List mode variables.
23832 (package--push): New macro, replacing package-list-maybe-add.
23833 (package-menu--generate): Use package--push. Renamed from
23834 package--generate-package-list.
23835 (package-menu-refresh, list-packages): Use it.
23836 (package-menu--print-info): Rename from package-print-package.
23837 Return insertion data instead of inserting it directly.
23838 (package-menu-describe-package, package-menu-execute):
23839 Use tabulated-list-get-id.
23840 (package-menu-mark-delete, package-menu-mark-install)
23841 (package-menu-mark-unmark, package-menu-backup-unmark)
23842 (package-menu-mark-obsolete-for-deletion):
23843 Use tabulated-list-put-tag.
23844 (package--list-packages, package-menu-revert)
23845 (package-menu-get-package, package-menu-get-version)
23846 (package-menu-sort-by-column): Functions deleted.
23847 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23848 (package-menu--status-predicate, package-menu--version-predicate)
23849 (package-menu--name-predicate)
23850 (package-menu--description-predicate): Handle arguments in the
23851 Tabulated List format.
23852 (package-list-packages-no-fetch): Call list-packages.
23853
23854 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23855
23856 * files.el (after-find-file-from-revert-buffer): Remove variable.
23857 (after-find-file): Don't bind it.
23858 (revert-buffer-in-progress-p): New variable.
23859 (revert-buffer): Bind it.
23860 Pass nil for `after-find-file-from-revert-buffer'.
23861
23862 * saveplace.el (save-place-find-file-hook): Use new variable
23863 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23864
23865 2011-04-06 Glenn Morris <rgm@gnu.org>
23866
23867 * Makefile.in (AUTOGEN_VCS): New variable.
23868 (autoloads): Use $AUTOGEN_VCS.
23869
23870 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23871 * calendar/calendar.el (calendar-mode-map):
23872 Check for toolkit scroll bars. (Bug#8305)
23873
23874 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23875
23876 * minibuffer.el (completion-in-region--postch)
23877 (completion-in-region-mode): Remove unnecessary messages.
23878
23879 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23880
23881 * font-lock.el (font-lock-refresh-defaults):
23882 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23883 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23884
23885 * info.el (Info-directory-list, Info-read-node-name-2)
23886 (Info-split-parameter-string): Doc fixes.
23887 (Info-virtual-nodes): Reflow docstring.
23888 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23889 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23890 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23891 Fix typos in docstrings.
23892 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23893 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23894 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23895 (Info-restore-desktop-buffer): Mark unused parameters.
23896 (Info-directory-find-file, Info-directory-find-node)
23897 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23898 (Info-virtual-index-find-node, Info-apropos-find-file)
23899 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23900 Mark unused parameters; fix typos in docstrings.
23901 (Info-virtual-index): Remove unused local variable `nodename'.
23902
23903 2011-04-05 Deniz Dogan <deniz@dogan.se>
23904
23905 * net/rcirc.el: Update my e-mail address.
23906 (rcirc-mode-map): Remove M-o binding.
23907
23908 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23909
23910 * startup.el (command-line): Save the cursor's theme-face
23911 directly, instead of using face-override-spec.
23912
23913 * custom.el (load-theme): Minor optimization in assigning faces.
23914
23915 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23916
23917 * help-fns.el (describe-variable): Complete all variables having
23918 documentation, including keywords.
23919 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23920
23921 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23922
23923 Convert to lexical-binding.
23924
23925 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23926 (bs--get-marked-string, bs--get-modified-string)
23927 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23928 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23929 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23930
23931 * ehelp.el (electric-help-execute-extended)
23932 (electric-help-ctrl-x-prefix):
23933 * hexl.el (hexl-revert-buffer-function):
23934 * linum.el (linum-after-change, linum-after-scroll):
23935 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23936
23937 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23938
23939 2011-04-04 Daiki Ueno <ueno@unixuser.org>
23940
23941 * epa-dired.el:
23942 * epa-mail.el:
23943 * epa-hook.el:
23944 * epa-file.el:
23945 * epa.el:
23946 * epg.el: Use lexical binding.
23947
23948 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
23949
23950 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23951
23952 * textmodes/flyspell.el (flyspell-word): Recognize default
23953 dictionary case for flyspell-mark-duplications-exceptions.
23954 Use regexp matching for languages.
23955 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23956 default dictionary (Bug#7926).
23957
23958 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
23959
23960 * emacs-lisp/package.el (package--with-work-buffer):
23961 Recognize https URLs.
23962
23963 * net/network-stream.el: Move from gnus/proto-stream.el.
23964 Change prefix to network-stream throughout.
23965 (open-protocol-stream): Merge into open-network-stream, leaving
23966 open-protocol-stream as an alias. Handle nil BUFFER args.
23967
23968 * subr.el (open-network-stream): Move to net/network-stream.el.
23969
23970 2011-04-02 Glenn Morris <rgm@gnu.org>
23971
23972 * find-dired.el (find-exec-terminator): New option.
23973 (find-ls-option): Test for -ls support.
23974 (find-ls-subdir-switches): Test for -b in find-ls-option.
23975 (find-dired, find-grep-dired): Doc fixes.
23976 (find-dired): Use find-exec-terminator.
23977
23978 * find-dired.el (find-ls-option, find-ls-subdir-switches)
23979 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23980 (find-name-arg): Remove purecopy.
23981
23982 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23983 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23984 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23985 accordingly. Don't add the null-device if not needed.
23986
23987 * files.el (save-some-buffers): Doc fix.
23988
23989 2011-04-02 Eli Zaretskii <eliz@gnu.org>
23990
23991 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23992
23993 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
23994
23995 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23996 Use `dolist' rather than `mapcar'.
23997
23998 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23999
24000 Add lexical binding.
24001
24002 * subr.el (apply-partially): Use new closures rather than CL.
24003 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
24004 (dolist, dotimes): Use slightly different expansion for lexical code.
24005 (functionp): Move to C.
24006 (letrec): New macro.
24007 (with-wrapper-hook): Use it and apply-partially instead of CL.
24008 (eval-after-load): Preserve lexical-binding.
24009 (save-window-excursion, with-output-to-temp-buffer): Turn them
24010 into macros.
24011
24012 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
24013
24014 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
24015 than the arglist.
24016 (help-add-fundoc-usage): Don't add `Not documented'.
24017 (help-function-arglist): Handle closures, subroutines, and new
24018 byte-code-functions.
24019 (help-make-usage): Remove leading underscores.
24020 (describe-function-1): Handle closures.
24021 (describe-variable): Use special-variable-p for completion.
24022
24023 * files.el (lexical-binding): Declare safe.
24024
24025 * emacs-lisp/pcase.el: Don't use destructuring-bind.
24026 (pcase--memoize): Rename from pcase-memoize. Change weakness.
24027 (pcase): Add `let' pattern.
24028 Change memoization so it actually works.
24029 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
24030 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
24031 <let>: New case.
24032
24033 * emacs-lisp/macroexp.el: Use lexical binding.
24034 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
24035 Don't convert ' to #' without checking that it's indeed quoting
24036 a lambda.
24037
24038 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
24039 Use eval-sexp-add-defvars.
24040 (eval-sexp-add-defvars): New fun.
24041
24042 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
24043
24044 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
24045 Don't autoload.
24046 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
24047 than the internal `byte-compile-lambda'.
24048 (defmethod): Don't hide code under quotes.
24049 (eieio-defmethod): New `code' argument.
24050
24051 * emacs-lisp/eieio-comp.el: Remove.
24052
24053 * emacs-lisp/edebug.el (edebug-eval-defun)
24054 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24055 (edebug-toggle): Avoid `eval'.
24056
24057 * emacs-lisp/disass.el (disassemble-internal): Handle new
24058 `closure' objects.
24059 (disassemble-1): Handle new byte codes.
24060
24061 * emacs-lisp/cl.el (pushnew): Silence warning.
24062
24063 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24064 (cl-byte-compile-throw): Remove.
24065 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24066
24067 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24068 closures.
24069
24070 * emacs-lisp/cconv.el: New file.
24071
24072 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24073 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24074 (byte-compile-initial-macro-environment):
24075 Handle declare-function here.
24076 (byte-compile--lexical-environment): New var.
24077 (byte-stack-ref, byte-stack-set, byte-discardN)
24078 (byte-discardN-preserve-tos): New lap codes.
24079 (byte-interactive-p): Don't use any more.
24080 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24081 New macros.
24082 (byte-compile-lapcode): Use them and handle new lap codes.
24083 (byte-compile-obsolete): Remove.
24084 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24085 (byte-compile-arglist-warn): Check late def of inlinable funs.
24086 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24087 since they should have been expanded by now.
24088 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24089 (byte-compile-from-buffer): Remove unused second arg.
24090 (byte-compile-preprocess): New function.
24091 (byte-compile-toplevel-file-form): New function to distinguish
24092 file-form calls from outside from file-form calls from hunk-handlers.
24093 (byte-compile-file-form): Simplify.
24094 (byte-compile-file-form-defsubst): Remove.
24095 (byte-compile-file-form-defmumble): Simplify now that
24096 byte-compile-lambda always returns a byte-code-function.
24097 (byte-compile): Preprocess.
24098 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24099 Remove, not used any more.
24100 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24101 (byte-compile-make-args-desc): New funs.
24102 (byte-compile-lambda): Handle lexical functions. Always return
24103 a byte-code-function.
24104 (byte-compile-reserved-constants): New var, to make up room for
24105 closed-over variables.
24106 (byte-compile-constants-vector): Obey it.
24107 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24108 (byte-compile-macroexpand-declare-function): New function.
24109 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24110 byte-code-functions.
24111 (byte-compile-form): Check obsolescence here.
24112 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24113 (byte-compile-variable-ref): Remove.
24114 (byte-compile-dynamic-variable-op): New fun.
24115 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24116 (byte-compile-variable-set): New funs.
24117 (byte-compile-discard): Add 2 args.
24118 (byte-compile-stack-ref, byte-compile-stack-set)
24119 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24120 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24121 macroexpand-all instead.
24122 (byte-compile-quote-form): Remove.
24123 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24124 (byte-compile-bind, byte-compile-unbind): New funs.
24125 (byte-compile-let): Handle let* and lexical binding.
24126 (byte-compile-let*): Remove.
24127 (byte-compile-catch, byte-compile-unwind-protect)
24128 (byte-compile-track-mouse, byte-compile-condition-case):
24129 Handle a new :fun-body form, used for lexical scoping.
24130 (byte-compile-save-window-excursion)
24131 (byte-compile-with-output-to-temp-buffer): Remove.
24132 (byte-compile-defun): Simplify.
24133 (byte-compile-stack-adjustment): New fun.
24134 (byte-compile-out): Use it.
24135 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24136
24137 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24138 handler any more.
24139
24140 * emacs-lisp/byte-opt.el: Use lexical binding.
24141 (byte-inline-lapcode): Remove (to bytecomp).
24142 (byte-compile-inline-expand): Pay attention to inlining to/from
24143 lexically bound code.
24144 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24145 any more.
24146 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24147 any more and don't call compiler-macros.
24148 (byte-compile-splice-in-already-compiled-code): Remove.
24149 (byte-code): Don't inline any more.
24150 (disassemble-offset): Receive `bytes' as argument rather than via
24151 dynamic scoping.
24152 (byte-compile-tag-number): Declare before first use.
24153 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24154 `return' even if make-spliceable.
24155 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24156 obsolete interactive-p.
24157 (byte-optimize-lapcode): Optimize new lap-codes.
24158 Don't trip up on new form of `byte-constant' lap code.
24159
24160 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24161
24162 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24163
24164 * custom.el (custom-initialize-default, custom-declare-variable):
24165 Use `defvar'.
24166
24167 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24168 New variables.
24169 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24170 (COMPILE_FIRST): Add macroexp and cconv.
24171 * makefile.w32-in: Mirror changes in Makefile.in.
24172
24173 * vc/cvs-status.el:
24174 * vc/diff-mode.el:
24175 * vc/log-edit.el:
24176 * vc/log-view.el:
24177 * vc/smerge-mode.el:
24178 * textmodes/bibtex-style.el:
24179 * textmodes/css-mode.el:
24180 * startup.el:
24181 * uniquify.el:
24182 * minibuffer.el:
24183 * newcomment.el:
24184 * reveal.el:
24185 * server.el:
24186 * mpc.el:
24187 * emacs-lisp/smie.el:
24188 * doc-view.el:
24189 * dired.el:
24190 * abbrev.el: Use lexical binding.
24191
24192 2011-04-01 Eli Zaretskii <eliz@gnu.org>
24193
24194 * info.el (info-display-manual): New function.
24195
24196 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24197
24198 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24199
24200 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24201
24202 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24203 an entry for that server in rcirc-authinfo. (Bug#8385)
24204
24205 2011-03-31 Glenn Morris <rgm@gnu.org>
24206
24207 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24208
24209 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24210
24211 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24212
24213 * progmodes/python.el (python-default-interpreter)
24214 (python-python-command-args, python-jython-command-args)
24215 (python-which-shell, python-which-args, python-which-bufname)
24216 (python-file-queue, python-comint-output-filter-function)
24217 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24218 variables and functions.
24219
24220 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24221
24222 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24223 (completion-in-region-mode): New minor mode.
24224 (completion-in-region): Use it.
24225 (completion-in-region--data, completion-in-region-mode-map): New vars.
24226 (completion-in-region--postch): New function.
24227 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24228 New vars.
24229 (completion--capf-wrapper): New function.
24230 (completion-at-point): Use it to track well-behavedness of
24231 hook functions.
24232 (completion-help-at-point): New command.
24233
24234 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24235
24236 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24237 syntax class to search for whitespace on a single line
24238 (Message-ID: <4D938140.4030905@redhat.com>).
24239
24240 2011-03-30 Leo Liu <sdl.web@gmail.com>
24241
24242 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24243 New commands.
24244 (edit-abbrevs-map): Bind them here.
24245 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24246
24247 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24248
24249 * allout.el (allout-hide-by-annotation, allout-flag-region):
24250 Reduce possibility of overlay leakage by making them volatile.
24251
24252 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24253 hash is not shared between buffers. Mode initialization is
24254 responsible for giving it a useful starting value.
24255 (allout-item-span): Reduce possibility of overlay leakage by
24256 making them volatile.
24257 (allout-widgets-count-buttons-in-region): Add diagnostic function
24258 for tracking down button overlay leaks.
24259
24260 2011-03-29 Leo Liu <sdl.web@gmail.com>
24261
24262 * ido.el (ido-read-internal): Use the default history var
24263 minibuffer-history if no HISTORY is specified.
24264
24265 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24266
24267 * net/imap.el (imap-shell-open, imap-process-connection-type):
24268 Use imap-process-connection-type for 'shell' streams as well as
24269 Kerberos, SSL, other subprocesses.
24270
24271 2011-03-28 Leo Liu <sdl.web@gmail.com>
24272
24273 * abbrev.el (abbrev-table-empty-p): New function.
24274 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24275 nonempty ones. (Bug#5937)
24276
24277 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24278
24279 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24280
24281 2011-03-27 Leo Liu <sdl.web@gmail.com>
24282
24283 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24284 for foreground and background colors.
24285 (ansi-color-make-color-map): Adapt.
24286
24287 2011-03-25 Leo Liu <sdl.web@gmail.com>
24288
24289 * midnight.el (midnight-time-float): Remove. Note it calculates
24290 the microsecond component incorrectly and seconds-to-time does the
24291 same job.
24292 Remove redundant (require 'timer).
24293
24294 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24295 (ido-completions): Remove unused arguments. (Bug#8329)
24296
24297 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24298
24299 * minibuffer.el (completion--flush-all-sorted-completions):
24300 Remove itself from hook.
24301 (completion-at-point): Let the functions perform the completion
24302 immediately and return nil or t.
24303 * comint.el (comint-dynamic-complete-functions): Now identical to
24304 completion-at-point-functions.
24305 (comint-dynamic-list-input-ring): Remove unused var `index'.
24306 (comint--match-partial-filename, comint--unquote&expand-filename):
24307 New funs, split from comint-match-partial-filename.
24308 (comint-dynamic-complete): Use completion-at-point.
24309 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24310
24311 2011-03-24 Drew Adams <drew.adams@oracle.com>
24312
24313 * thingatpt.el: Support `defun'.
24314
24315 2011-03-23 Leo Liu <sdl.web@gmail.com>
24316
24317 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24318
24319 * help-mode.el (help-mode-finish): Tweak regexp.
24320
24321 2011-03-23 Glenn Morris <rgm@gnu.org>
24322
24323 * eshell/esh-opt.el (eshell-eval-using-options):
24324 Do not bind unused local variable `eshell-option-stub'.
24325
24326 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24327
24328 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24329
24330 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24331 keymap variable in `with-no-warnings' to avoid a warning when the
24332 keymap has been already `defconst'ed.
24333
24334 2011-03-22 Leo Liu <sdl.web@gmail.com>
24335
24336 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24337 encode all chars in abbrevs; otherwise use emacs-mule or
24338 utf-8-emacs. (Bug#8308)
24339
24340 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24341
24342 * simple.el (backward-delete-char-untabify):
24343 Avoid warning about using `delete-backward-char'.
24344
24345 * image.el (image-type-file-name-regexps): Make it variable.
24346 `imagemagick-register-types' modifies it, and the user may want
24347 to add new extensions for known image types.
24348 (imagemagick-register-types): Throw error if not using ImageMagick.
24349
24350 2011-03-22 Leo Liu <sdl.web@gmail.com>
24351
24352 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24353 located before rcirc-prompt-end-marker.
24354 (rcirc-complete): Error if point is not after rcirc prompt.
24355 Handle the case when table is nil.
24356 (rcirc-user-authenticated): Define to fix compiler warning.
24357
24358 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24359
24360 * custom.el (custom--inhibit-theme-enable): Make it affect only
24361 custom-theme-set-variables and custom-theme-set-faces.
24362 (provide-theme): Ignore custom--inhibit-theme-enable.
24363 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24364 (custom-enabling-themes): Delete variable.
24365 (enable-theme): Accept only loaded themes as arguments.
24366 Ignore the special custom-enabled-themes variable.
24367 (custom-enabled-themes): Forbid themes from setting this.
24368 Eliminate use of custom-enabling-themes.
24369 (custom-push-theme): Quote "changed" custom var entry.
24370
24371 2011-03-21 Leo Liu <sdl.web@gmail.com>
24372
24373 * ido.el (ido-read-internal): Add ido-selected to history instead
24374 of user input.
24375
24376 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24377
24378 * subr.el (deferred-action-list, deferred-action-function):
24379 Mark obsolete.
24380
24381 2011-03-21 Leo Liu <sdl.web@gmail.com>
24382
24383 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24384 change on 2011-02-13 (bug#8309).
24385
24386 * minibuffer.el (read-file-name-function): Change default value.
24387 (read-file-name--defaults): Rename from read-file-name-defaults.
24388 (read-file-name-default): Rename from read-file-name.
24389 (read-file-name): Call read-file-name-function.
24390
24391 2011-03-21 Glenn Morris <rgm@gnu.org>
24392
24393 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24394 Doc fixes.
24395
24396 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24397
24398 * cus-theme.el: Add missing provide statement.
24399 (customize-create-theme): Extract theme value correctly.
24400 (custom-theme-visit-theme): Autoload.
24401 (customize-create-theme): Prompt before inserting default faces.
24402
24403 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24404
24405 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24406 units and musical notes.
24407
24408 2011-03-20 Leo Liu <sdl.web@gmail.com>
24409
24410 * ido.el (ido-read-internal): Use completing-read-default.
24411 (ido-completing-read): Fix compatibility with completing-read.
24412
24413 2011-03-20 Christian Ohler <ohler@gnu.org>
24414
24415 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24416 (ert-delete-all-tests): Use `called-interactively-p' rather than
24417 `interactive-p'.
24418 (ert--make-xrefs-region): Respect END.
24419
24420 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24421
24422 * dired-aux.el (dired-create-directory): Signal an error if the
24423 directory already exists (Bug#8246).
24424
24425 * facemenu.el (list-colors-display): Call list-faces-display
24426 inside with-help-window.
24427 (list-colors-print): Use display property to align the final
24428 column, instead of checking window-width.
24429
24430 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24431
24432 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24433 windows-nt systems.
24434 (emerge-protect-metachars): Quote correctly for ms-dos and
24435 windows-nt systems.
24436
24437 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24438
24439 * info.el (info-initialize): Replace all uses of `:' with
24440 path-separator for compatibility with non-Unix systems.
24441 Cache quoting of path-separator. (Bug#8258)
24442
24443 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24444
24445 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24446 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24447 (mouse-avoidance-mode): Fix typos in docstrings.
24448
24449 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24450
24451 * startup.el (package-subdirectory-regexp): Move from package.el.
24452 Omit \\` and \\', and let callers add them.
24453
24454 * emacs-lisp/package.el (package-strip-version)
24455 (package-load-all-descriptors): Add \\` and \\' to
24456 package-subdirectory-regexp before using it.
24457 (package-untar-buffer): New arg DIR; ensure that file untars only
24458 into this expected directory. Remove superfluous delete-region.
24459 (package-unpack): Caller changed.
24460 (package-tar-file-info): Use package-subdirectory-regexp.
24461
24462 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24463
24464 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24465 diff-mode-shared-map (bug#8284).
24466 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24467
24468 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24469
24470 * calendar/time-date.el (format-seconds): Use assoc instead of
24471 assoc-string, since assoc-string doesn't exist in XEmacs.
24472
24473 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24474
24475 * custom.el (custom-known-themes): Reflow docstring.
24476 (custom-theme-load-path): Fix typo in docstring.
24477 (load-theme): Fix typo in error message.
24478 (custom-available-themes, custom-variable-theme-value):
24479 Use `let', not `let*'.
24480
24481 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24482
24483 * calc/README: Mention inclusion of musical notes.
24484
24485 * calc/calc-units.el (calc-lu-quant): Rename from
24486 `calc-logunits-quantity'.
24487 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24488 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24489 (calc-db): Rename from `calc-dblevel'.
24490 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24491 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24492 (calc-np): Rename from `calc-nplevel'.
24493 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24494 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24495 (calc-lu-plus): Rename from `calc-logunits-add'.
24496 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24497 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24498 (calc-lu-minus): Rename from `calc-logunits-sub'.
24499 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24500 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24501 (calc-lu-times): Rename from `calc-logunits-mul'.
24502 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24503 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24504 (calc-lu-divide): Rename from `calc-logunits-div'.
24505 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24506 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24507
24508 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24509 functions being autoloaded.
24510
24511 * calc/calc.el (calc-lu-power-reference): Rename from
24512 `calc-logunits-power-reference'.
24513 (calc-lu-field-reference): Rename from
24514 `calc-logunits-field-reference'.
24515
24516 * calc/calc-help.el (calc-l-prefix-help):
24517 Mention musical note functions.
24518
24519 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24520
24521 * minibuffer.el (completion-all-sorted-completions):
24522 Use :completion-cycle-penalty text property if present.
24523
24524 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24525
24526 * allout.el (allout-yank-processing): Adjust for new rebulleting
24527 regime so bullet being yanked is used without prompting the user
24528 for a choice.
24529
24530 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24531
24532 * startup.el (command-line): Warn the user that _emacs is deprecated.
24533
24534 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24535
24536 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24537 (delphi-verbose, delphi-comment-face, delphi-string-face)
24538 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24539 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24540 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24541 (delphi-new-comment-line, delphi-font-lock-defaults)
24542 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24543 Fix typos in docstrings.
24544
24545 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24546
24547 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24548 Invert the roles of character and string values for INSTEAD, so a
24549 string is used for the more common case of a defaulting prompt.
24550
24551 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24552
24553 * progmodes/ruby-mode.el (ruby-backward-sexp):
24554 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24555 * play/gamegrid.el (gamegrid-make-face):
24556 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24557 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24558 * notifications.el (notifications-notify):
24559 * net/xesam.el (xesam-search-engines):
24560 * net/quickurl.el (quickurl-list-insert):
24561 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24562
24563 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24564
24565 * startup.el (command-line): Update package subdirectory regexp.
24566
24567 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24568
24569 * allout.el (allout-abbreviate-flattened-numbering)
24570 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24571
24572 * subr.el (read-char-choice): Only show the cursor after the prompt,
24573 not after the answer.
24574
24575 2011-03-15 Kevin Ryde <user42@zip.com.au>
24576
24577 * help-fns.el (variable-at-point): Skip leading quotes, if any
24578 (bug#8253).
24579
24580 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24581
24582 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24583 warning message.
24584
24585 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24586
24587 * shell.el (shell): When called interactively, offer to change the
24588 shell file name on remote hosts.
24589
24590 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24591
24592 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24593 integration for LDAP parameters. The host, base, user or binddn,
24594 and secret tokens can be specified in a netrc file, for instance.
24595 This is optional because an `auth-source' parameter must be
24596 specified in the search attributes.
24597
24598 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24599
24600 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24601
24602 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24603
24604 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24605 into declaration. Remove redundant and harmful binding.
24606
24607 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24608
24609 * files.el (file-ownership-preserved-p): Pass `integer' as an
24610 explicit 2nd argument to `file-attributes'. If the file's owner
24611 is the Administrators group on Windows, and the current user is
24612 Administrator, consider that a match.
24613
24614 * server.el (server-ensure-safe-dir): Consider server directory
24615 safe on MS-Windows if its owner is the Administrators group while
24616 the current Emacs user is Administrator. Use `=' to compare
24617 numerical UIDs, since they could be integers or floats.
24618
24619 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24620
24621 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24622
24623 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24624
24625 Sync with Tramp 2.2.1.
24626
24627 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24628
24629 * net/trampver.el: Update release number.
24630
24631 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24632
24633 * progmodes/compile.el (compilation--previous-directory): Fix up
24634 various nil/dead-marker mismatches (bug#8014).
24635 (compilation-directory-properties, compilation-error-properties):
24636 Don't call it at a position past the one we're about to change.
24637
24638 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24639 Disable obsolescence warnings in the file that declares it.
24640
24641 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24642
24643 * allout-widgets.el (allout-widgets-tally):
24644 Initialize allout-widgets-tally as a hash table rather than nil to
24645 prevent mode-line redisplay warnings. Also, clarify the module
24646 description and fix a comment typo.
24647
24648 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24649
24650 * help-fns.el (describe-variable): Don't complete keywords.
24651 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24652
24653 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24654
24655 * emacs-lisp/package.el (package-version-join): Impose a standard
24656 string representation for pre/alpha/beta version lists.
24657 (package-unpack-single): Standardize the directory name by passing
24658 it through package-version-join.
24659 (package-strip-rcs-id): Accept any version string that does not
24660 signal an error in version-to-list.
24661
24662 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24663
24664 * simple.el (delete-trailing-whitespace): Return nil for the
24665 benefit of `write-file-functions'.
24666
24667 2011-03-10 Glenn Morris <rgm@gnu.org>
24668
24669 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24670
24671 * vc/vc-git.el (vc-git-program): New option.
24672 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24673 (vc-git--call): Use it.
24674
24675 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24676
24677 * cus-edit.el (Custom-newline): If no button at point, look
24678 for a subgroup button at start-of-line. (Bug#2298)
24679
24680 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24681
24682 2011-03-10 Julien Danjou <julien@danjou.info>
24683
24684 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24685 `cursor-type' is nil.
24686
24687 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24688
24689 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24690
24691 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24692
24693 * allout.el: Change so yank of distinctive-bullet items
24694 preserves the existing header prefix, rebulleting it if necessary,
24695 rather than replacing it. This is necessary for proper operation
24696 of cooperative addons like allout-widgets.
24697 (allout-make-topic-prefix, allout-rebullet-heading):
24698 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24699 value as alternate bullet to be used, instead of prompting the user
24700 for a bullet character.
24701
24702 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24703
24704 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24705 Do not use `tramp-file-name-port', because this returns also
24706 `tramp-default-port'.
24707
24708 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24709
24710 * net/rcirc.el (rcirc-handler-001): Remove useless
24711 with-rcirc-process-buffer.
24712 (rcirc-check-auth-status): Swap arguments to string-match.
24713
24714 2011-03-09 Glenn Morris <rgm@gnu.org>
24715
24716 * shell.el (shell-mode):
24717 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24718
24719 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24720 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24721
24722 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24723
24724 * emacs-lisp/package.el (package-refresh-contents)
24725 (package-menu-execute): Use condition-case-no-debug.
24726
24727 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24728
24729 * simple.el (shell-command-to-string): Use `process-file'.
24730
24731 * emacs-lisp/package.el (package-tar-file-info): Handle also
24732 remote files.
24733
24734 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24735 Use `equal' for upload base check.
24736
24737 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24738
24739 * textmodes/texinfo.el (texinfo-environments):
24740 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24741
24742 2011-03-08 Glenn Morris <rgm@gnu.org>
24743
24744 * cus-start.el (cursor-in-non-selected-windows):
24745 Fix :set quoting oddness. (Bug#8192)
24746
24747 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24748 in some setf expressions. (Bug#2159)
24749
24750 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24751
24752 * custom.el (custom-available-themes): Return themes in
24753 alphabetical order.
24754
24755 See ChangeLog.15 for earlier changes.
24756
24757 ;; Local Variables:
24758 ;; coding: utf-8
24759 ;; End:
24760
24761 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24762
24763 This file is part of GNU Emacs.
24764
24765 GNU Emacs is free software: you can redistribute it and/or modify
24766 it under the terms of the GNU General Public License as published by
24767 the Free Software Foundation, either version 3 of the License, or
24768 (at your option) any later version.
24769
24770 GNU Emacs is distributed in the hope that it will be useful,
24771 but WITHOUT ANY WARRANTY; without even the implied warranty of
24772 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24773 GNU General Public License for more details.
24774
24775 You should have received a copy of the GNU General Public License
24776 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.