]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Don't call 'select' from emacs_gnutls_pull.
[gnu-emacs] / lisp / ChangeLog
1 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
2
3 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
4
5 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Handle
6 multibyte file names.
7
8 2013-02-22 Glenn Morris <rgm@gnu.org>
9
10 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
11 (sgml-transformation-function): Give it a :set function.
12 (sgml-tag): Doc fix.
13
14 * cmuscheme.el (scheme-buffer):
15 * progmodes/inf-lisp.el (inferior-lisp-buffer):
16 * progmodes/tcl.el (inferior-tcl-buffer):
17 * textmodes/tex-mode.el (tex-command): Doc fixes.
18
19 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
20
21 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
22
23 2013-02-21 Bastien Guerry <bzg@gnu.org>
24
25 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
26
27 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
28
29 * progmodes/python.el (python-info-current-defun): Enhance
30 match-data cluttering prevention.
31
32 2013-02-21 Glenn Morris <rgm@gnu.org>
33
34 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
35 loaded while outline-regexp is let bound. (Bug#9584)
36
37 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
38
39 * progmodes/python.el (python-info-current-defun): Fix failed
40 defun name retrieval because of unwanted match-data cluttering.
41
42 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
43
44 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
45 defconst. Apply independent check for ControlPersist.
46
47 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
48 temporarily, via "env".
49
50 2013-02-21 Glenn Morris <rgm@gnu.org>
51
52 * info.el (Info-enable-edit): Remove.
53 (Info-edit): Disable it rather than using Info-enable.
54 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
55 (Info-cease-edit): Make editing of Info files obsolete.
56
57 * informat.el (Info-tagify):
58 Handle buffers not visiting files. (Bug#13763)
59
60 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
61
62 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
63
64 2013-02-21 Glenn Morris <rgm@gnu.org>
65
66 * files.el (basic-save-buffer): Move check for existing parent
67 directory after hooks. (Bug#13773)
68
69 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
70
71 * simple.el (command-execute): Move from C. Add obsolete check.
72 (extended-command-history): Move from C.
73
74 2013-02-20 Ulrich Müller <ulm@gentoo.org>
75
76 * jka-cmpr-hook.el (jka-compr-compression-info-list)
77 (jka-compr-mode-alist-additions): Handle .txz suffix for
78 XZ-compressed tar archives (bug#13770).
79
80 2013-02-20 Bastien Guerry <bzg@gnu.org>
81
82 * outline.el (outline-regexp, outline-heading-end-regexp):
83 Make variables, not options (bug#13731).
84
85 2013-02-20 Glenn Morris <rgm@gnu.org>
86
87 * image.el (image-current-frame): Change from variable to function.
88 (image-show-frame): Rename from image-nth-frame. Update callers.
89 * image-mode.el (image-multi-frame): New variable.
90 (image-mode-map, image-mode, image-goto-frame):
91 Use image-multi-frame rather than image-current-frame.
92 (image-mode, image-goto-frame): Use image-current-frame as
93 function rather than as variable.
94
95 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
96 * emacs-lisp/cl-macs.el (cl--make-type-test)
97 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
98
99 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
100
101 * net/tramp-cache.el (tramp-get-hash-table): New defun.
102 (tramp-get-file-property, tramp-set-file-property)
103 (tramp-get-connection-property, tramp-set-connection-property): Use it.
104 (tramp-flush-file-property, tramp-flush-directory-property):
105 Rename argument to KEY.
106 (tramp-flush-connection-property): Simplify a little bit.
107 (tramp-connection-property-p): New defun.
108 (top): Reapply saved values only if there isn't a corresponding
109 entry in `tramp-connection-properties'.
110
111 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
112
113 * progmodes/python.el (python-indent-context):
114 Fix python-info-line-ends-backslash-p call.
115 (python-info-line-ends-backslash-p)
116 (python-info-beginning-of-backslash): Respect line-number argument.
117 (python-info-current-line-comment-p):
118 Fix behavior when not at beginning-of-line.
119 (python-util-position): Remove function.
120 (python-util-goto-line): New function.
121
122 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
123
124 * eshell/em-unix.el (eshell/su): Require tramp.
125 (eshell/sudo): Require tramp. Remove now unnecessary check.
126
127 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
128 `tramp-current-connection' in order to avoid an error when several
129 commands are invoked in a short time in eshell and friends.
130
131 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
132
133 Cleanup some of EIEIO's namespace.
134 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
135 Use it to define all the class-* and object-* field accessors (renamed
136 to eieio--class-* and eieio--object-*). Update all uses.
137 (eieio--class-num-slots, eieio--object-num-slots): Rename from
138 class-num-slots and object-num-slots.
139 (eieio--check-type): New macro.
140 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
141 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
142 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
143 (object-assoc-list-safe): Use it.
144 (eieio-defclass): Tighten regexp.
145 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
146 Remove unreachable code.
147 (object-class-fast): Declare obsolete.
148 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
149 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
150 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
151 Rename from class-name, object-name, object-set-name-string,
152 object-class, object-class-name, class-parents, class-children,
153 class-precedence-list, class-parent; with obsolete alias.
154 (class-of, class-direct-superclasses, class-direct-subclasses):
155 Declare obsolete.
156 (eieio-defmethod): Use `memq'; remove unreachable code.
157 * emacs-lisp/eieio-base.el (eieio-persistent-read):
158 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
159 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
160
161
162 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
163
164 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
165 Use font-lock-keyword-face for macros and special forms (bug#8345).
166
167 2013-02-17 Didier Verna <didier@didierverna.net>
168
169 * net/network-stream.el (network-stream-open-starttls):
170 Check that response to the starttls-command is non-nil. (Bug#13706)
171
172 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
173
174 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
175 Don't assume all identifier chars have syntax word.
176 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
177 Remove bar-not-symbol. Adjust callers.
178 (lisp-mode-variables): Don't set a font-lock-syntax-table.
179
180 2013-02-17 Leo Liu <sdl.web@gmail.com>
181
182 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
183
184 2013-02-17 Glenn Morris <rgm@gnu.org>
185
186 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
187
188 * image-mode.el (image-mode-map): Add image-dired menu entry.
189
190 * image-dired.el (tumme): Make this alias obsolete.
191
192 2013-02-16 Glenn Morris <rgm@gnu.org>
193
194 * image.el (image-animated-types): Remove.
195 (image-multi-frame-p): Rename from image-animated-p, and generalize.
196 (image-animated-p): Make obsolete alias.
197 (image-animate, image-nth-frame, image-animate-timeout):
198 Use image-multi-frame-p.
199 (image-animate-timeout): If no delay, use image-default-frame-delay.
200 * image-mode.el (image-mode, image-toggle-animation):
201 Use image-multi-frame-p. (Bug#763, bug#10739)
202 (image-mode): Adjust startup message for a multi-frame image.
203
204 * image-mode.el (image-mode-map): Give it a menu.
205
206 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
207
208 * net/tramp-cache.el (tramp-connection-properties): New customer
209 option.
210 (tramp-get-connection-property): Use it.
211
212 * net/tramp-compat.el (top): Require 'trampver.
213
214 * net/tramp-sh.el (tramp-remote-process-environment):
215 Set tramp-autoload cookie.
216
217 2013-02-16 Kevin Ryde <user42@zip.com.au>
218
219 * info-look.el (info-lookup-select-mode): If major-mode has no
220 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
221
222 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
223
224 * replace.el (read-regexp): Tighten the regexp that matches tag.
225 When tag is retrieved with `find-tag-default', use regexp that
226 matches tag at point. Also update docstring (Bug#13687).
227
228 2013-02-16 Eli Zaretskii <eliz@gnu.org>
229
230 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
231 add watch for the file, not its parent directory, since w32notify
232 sets up the watch for the directory internally. (Bug#13725)
233
234 2013-02-16 Glenn Morris <rgm@gnu.org>
235
236 * image.el (image-default-frame-delay): New variable.
237 (image-animated-p): Use image-default-frame-delay.
238 (image-minimum-frame-delay): New constant.
239 (image-animate-timeout): Use image-minimum-frame-delay.
240
241 * image.el (image-nth-frame): New, split from image-animate-timeout.
242 (image-animate-timeout): Use image-nth-frame.
243 * image-mode.el (image-goto-frame, image-next-frame)
244 (image-previous-frame): New commands.
245 (image-mode-map): Add new frame commands.
246
247 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
248
249 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
250 If col-desc already has help-echo, use it. (Bug#13563)
251
252 2013-02-16 Glenn Morris <rgm@gnu.org>
253
254 * image.el (image-current-frame): New variable.
255 (image-animate-timeout): Set image-current-frame.
256 * image-mode.el (image-mode): For animated images,
257 display a frame counter via mode-line-process.
258
259 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
260
261 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
262
263 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
264
265 2013-02-15 Alan Mackenzie <acm@muc.de>
266
267 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
268 global minor mode has been enabled, call the minor mode function
269 for a new buffer once only, after the major mode hook, whilst
270 allowing that hook explicitly to disable the minor mode.
271 (MODE-disable-in-buffer): New (generated) function.
272 (disable-MODE): New (generated) buffer local variable.
273
274 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
275
276 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
277 `iswitchb-next-match' and `iswitchb-prev-match' resply.
278 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
279 `ido-next-match' and `ido-prev-match' resply.
280 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
281 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
282 `icomplete-backward-completions' (Bug#13708).
283
284 2013-02-15 Glenn Morris <rgm@gnu.org>
285
286 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
287
288 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
289
290 * net/goto-addr.el (goto-address-fontify): Add start and end args.
291 (goto-address-fontify-region): Use them instead of narrowing, so
292 syntax-ppss has access to the whole buffer.
293
294 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
295
296 * progmodes/python.el: Explain how to restore "cc-mode"-like
297 forward-sexp movement in header documentation (Bug#13642).
298 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
299 comments and strings (GH bug 114).
300
301 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
302
303 * progmodes/python.el (python-info-current-defun): Fix current
304 defun detection (Bug#13618).
305
306 2013-02-15 Chong Yidong <cyd@gnu.org>
307
308 * xml.el (xml-parse-string): Fix typo in handling of bad character
309 references.
310
311 2013-02-15 Glenn Morris <rgm@gnu.org>
312
313 * play/fortune.el (fortune-compile): Simplify and fix previous change.
314
315 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
316
317 * net/tramp.el (tramp-debug-message):
318 Add `tramp-condition-case-unless-debug'.
319 (tramp-debug-on-error): New defvar.
320 (tramp-condition-case-unless-debug): New defun.
321 (tramp-file-name-handler): Use it.
322
323 2013-02-14 Juri Linkov <juri@jurta.org>
324
325 * info.el (Info-isearch-filter): Treat non-nil values of
326 `search-invisible' including its default value `open'
327 like the value `t' to match hidden text. (Bug#13402)
328
329 2013-02-14 Glenn Morris <rgm@gnu.org>
330
331 * help-fns.el (find-lisp-object-file-name): Give special treatment
332 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
333
334 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
335
336 * net/quickurl.el (quickurl-save-urls):
337 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
338
339 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
340
341 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
342 depth for unfinished percent literal. Not using it in the caller.
343 (ruby-move-to-block): Jump over multiline literals of all types,
344 ignoring code-looking contents inside them.
345 (ruby-add-log-current-method): Improve performance at the expense
346 of accuracy. `ruby-block-contains-point' is relatively slow, so
347 only use it for method and singleton class blocks.
348
349 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
350
351 Use ControlMaster where applicable. (Bug#13677)
352
353 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
354 replacing `tramp-detect-ssh-controlmaster'.
355 (tramp-default-method): Use it.
356
357 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
358 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
359 arguments.
360 [scpc, rsyncc]: Remove methods.
361 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
362 and "ssh2_old".
363 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
364 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
365
366 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
367
368 * emacs-lisp/package.el (package--initialized): Move before first use.
369
370 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
371
372 * icomplete.el (icomplete-hide-common-prefix): New user option.
373 (icomplete-first-match): New face.
374 (icomplete-completions): Correct handling of "complete but not
375 unique" (Bug#12638).
376
377 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
378
379 * descr-text.el (describe-char): Display the script (bug#13698).
380
381 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
382
383 * tmm.el: Use lexical-binding and current-active-maps.
384 (tmm-menubar): Use map-keymap and pcase.
385 (tmm--completion-table): New function.
386 (tmm-prompt): Use it to fix the menu order.
387 (tmm-get-keybind): Use current-active-maps.
388
389 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
390
391 Add dired-hide-details-mode. (Bug#6799)
392
393 * locate.el (locate-mode): Set parent mode property to dired-mode.
394
395 * find-dired.el (find-dired): Call dired-insert-set-properties on
396 initial information line. Set process mark on end of buffer.
397 (find-dired-sentinel):
398 Call dired-insert-set-properties on summary.
399
400 * dired.el (dired-hide-details-hide-symlink-targets)
401 (dired-hide-details-hide-information-lines): New options.
402 (dired-insert-directory):
403 Set properties after final treatment of output.
404 (dired-insert-set-properties):
405 Set dired-hide-details-* properties.
406 (dired-mode-map): Bind dired-hide-details-mode.
407 (dired-mode): Set buffer-invisibility-spec to a list.
408 (dired-next-line): Skip hidden lines.
409 (dired-previous-line): Use dired-next-line.
410 (dired-hide-details-mode): New minor mode.
411 (dired-hide-details-update-invisibility-spec): New function.
412
413 2013-02-13 Glenn Morris <rgm@gnu.org>
414
415 * play/yow.el: Move to obsolete/. (Bug#9384)
416
417 2013-02-13 Juri Linkov <juri@jurta.org>
418
419 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
420 to select `ediff-control-frame' and set input focus correctly on Xfce.
421 (Bug#12218)
422
423 2013-02-13 Juri Linkov <juri@jurta.org>
424
425 * image-mode.el (image-mode-map):
426 * doc-view.el (doc-view-mode-map):
427 * vc/ediff-util.el (ediff-setup-keymap):
428 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
429
430 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
431
432 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
433 performance. Instead of recalculating indentation fully for each
434 line, sum up indentation depth based only on visited lines.
435 (ruby-parse-partial): Increase the depth after "do" even when END
436 is right after it.
437 (ruby-parse-partial): When END is in the middle of a percent
438 literal, increase the depth if the delimiter chars belong to the
439 paren syntax class.
440
441 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
442
443 * play/fortune.el (fortune-compile): Also make the compiled file
444 if it does not exist at all, not just if it is old. (Bug#5338)
445
446 2013-02-13 Glenn Morris <rgm@gnu.org>
447
448 * emacs-lisp/package.el (package-menu-execute): Doc fix.
449
450 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
451
452 * lisp/emacs-lisp/package.el (package-menu-execute):
453 Add optional noquery argument. (Bug#13625)
454
455 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
456
457 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
458 if DIR exists and PARENTS is non-nil.
459
460 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
461
462 * progmodes/js.el (js--multi-line-declaration-indentation):
463 Silence byte-compiler warning.
464
465 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
466
467 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
468
469 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
470 only if it doesn't exist.
471
472 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
473 Set process marker.
474
475 2013-02-12 Tassilo Horn <tsdh@gnu.org>
476
477 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
478 UserInstallation when calling soffice to work around LibreOffice
479 bug 37531.
480
481 2013-02-12 Glenn Morris <rgm@gnu.org>
482
483 * files.el (basic-save-buffer):
484 Offer to create a non-existing directory. (Bug#3016)
485
486 * calc/calc-graph.el (calc-graph-show-dumb):
487 * calendar/calendar.el (calendar-mode-map):
488 * cus-edit.el (custom-mode-map):
489 * ehelp.el (electric-help-map):
490 * emulation/vip.el (vip-mode-map):
491 * epa.el (epa-key-list-mode-map):
492 * info.el (Info-mode-map):
493 * mail/rmail.el (rmail-mode-map):
494 * mail/rmailsum.el (rmail-summary-mode-map):
495 * man.el (Man-mode-map):
496 * net/newst-plainview.el (newsticker-mode-map):
497 * progmodes/cpp.el (cpp-edit-mode-map):
498 * progmodes/grep.el (grep-mode-map):
499 * progmodes/idlw-help.el (idlwave-help-mode-map):
500 * simple.el (special-mode-map):
501 * startup.el (splash-screen-keymap):
502 * view.el (view-mode-map):
503 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
504
505 2013-02-11 Elias Pipping <pipping@lavabit.com>
506
507 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
508 (bug#13679).
509
510 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
511
512 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
513
514 2013-02-11 Glenn Morris <rgm@gnu.org>
515
516 * vc/diff.el (diff-use-labels): New variable.
517 (diff-no-select): Use --label rather than -L, and first
518 check that it is supported. (Bug#11067)
519
520 * files.el (enable-dir-local-variables): New variable.
521 (hack-dir-local-variables): Respect enable-dir-local-variables.
522 * tutorial.el (help-with-tutorial):
523 Ignore directory-local variables. (Bug#11127)
524
525 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
526 (vc-svn-global-switches): ... to here. (Bug#13513)
527
528 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
529
530 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
531 Handle "foo (bar, default: xxx): " prompts.
532
533 2013-02-10 Chong Yidong <cyd@gnu.org>
534
535 * files.el (basic-save-buffer-1): Do not set
536 buffer-file-coding-system-explicit (Bug#4533).
537
538 * mail/emacsbug.el (report-emacs-bug): Change binding of
539 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
540
541 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
542
543 * calc/calc.el (calc-allow-units-as-numbers): New variable.
544 * calc/calc-units.el (calc-convert-units): Use new variable.
545
546 2013-02-09 Eli Zaretskii <eliz@gnu.org>
547
548 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
549
550 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
551 buffer-file-type.
552
553 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
554 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
555 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
556 coding-system-for-write instead.
557
558 * jka-compr.el (jka-compr-write-region): Don't bind
559 buffer-file-type.
560
561 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
562 buffer-file-type.
563
564 * files.el (file-name-buffer-file-type-alist): Remove defvar.
565 (insert-file-contents-literally): Remove reference to
566 file-name-buffer-file-type-alist.
567
568 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
569 make-obsolete.
570 (find-buffer-file-type-match, find-buffer-file-type): Remove.
571 (find-buffer-file-type-coding-system): Remove references to
572 find-buffer-file-type-match, find-buffer-file-type, and
573 buffer-file-type.
574 Don't put find-buffer-file-type-coding-system into
575 file-coding-system-alist.
576 (find-file-binary, find-file-text): Bind coding-system-for-read
577 instead of file-name-buffer-file-type-alist.
578
579 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
580
581 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
582 converter (Bug#13622).
583 (doc-view-unoconv-program): Make obsolete alias.
584 (doc-view-odf->pdf-converter-program): New variable.
585 (doc-view-odf->pdf-converter-function): New variable.
586 (doc-view-mode-p): Use it.
587 (doc-view-odf->pdf-converter-unoconv):
588 Rename from `doc-view-odf->pdf-converter-unoconv'.
589 (doc-view-odf->pdf-converter-soffice): New function.
590 (doc-view-convert-current-doc):
591 Use `doc-view-odf->pdf-converter-function'.
592
593 2013-02-09 Chong Yidong <cyd@gnu.org>
594
595 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
596 view-echo-area-messages (Bug#13340).
597
598 * help.el (view-echo-area-messages): Use display-buffer.
599
600 * dired-x.el (dired-do-run-mail): Prompt for confirmation
601 (Bug#13561).
602
603 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
604
605 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
606 Eval body right away, now that we do eager macroexpansion (bug#13605).
607
608 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
609 (fundamental-mode): Use run-mode-hooks.
610
611 * eshell/esh-proc.el (eshell/kill): Fix last change.
612 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
613
614 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
615
616 * eshell/esh-proc.el (eshell/kill): Rewrite.
617
618 * eshell/em-ls.el (show-almost-all): Declare.
619 (eshell-do-ls): Add support for -A argument.
620
621 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
622
623 * icomplete.el (icomplete-forward-completions)
624 (icomplete-backward-completions): Handle corner case (bug#13602).
625
626 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
627
628 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
629 be nil. Handle this. (Bug#13636)
630
631 2013-02-07 Richard Stallman <rms@gnu.org>
632
633 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
634 `save-buffer-coding-system'.
635
636 2013-02-07 Alan Mackenzie <acm@muc.de>
637
638 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
639 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
640 (c-parse-state-get-strategy): Don't return 'BOD any more.
641 (c-append-lower-brace-pair-to-state-cache):
642 Extra parameter HERE instead of narrowing.
643 Widen to top of buffer before searching backwards for a brace pair.
644 (c-state-push-any-brace-pair): Add HERE parameter to function call.
645 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
646 Narrow to parameter HERE, in place of being called narrowed.
647 (c-remove-stale-state-cache): Extra parameter HERE in place of
648 narrowing. Check there's an open brace in the cache before
649 searching for its match.
650 (c-invalidate-state-cache-1): Add HERE parameter to function call.
651 (c-parse-state-1): Don't narrow here for 'forward strategy,
652 instead passing extra parameter HERE to several functions.
653 Remove 'BOD strategy.
654
655 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
656
657 * emacs-lisp/package.el (describe-package-1): Tell what archive is
658 used to install the package.
659
660 2013-02-06 Glenn Morris <rgm@gnu.org>
661
662 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
663 if we can't get user input. (Bug#6567)
664
665 * startup.el (command-line): If simple.el is missing,
666 test and warn about for some possible causes.
667
668 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
669
670 * cus-start.el (all): Add ns-use-native-fullscreen.
671
672 2013-02-05 Glenn Morris <rgm@gnu.org>
673
674 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
675
676 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
677 Fix directory creation in fallback case.
678
679 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
680
681 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
682 (vc-update-change-log): Use dolist.
683
684 2013-02-04 Chong Yidong <cyd@gnu.org>
685
686 * thingatpt.el: Rewrite the URL detection routines, absorbing some
687 code from ffap.el.
688 (thing-at-point-beginning-of-url-regexp): New var.
689 (thing-at-point-uri-schemes): Update list of URI schemes.
690 (thing-at-point-url-regexp): Variable deleted.
691 (thing-at-point-markedup-url-regexp): Disallow newlines.
692 (thing-at-point-newsgroup-regexp)
693 (thing-at-point-newsgroup-heads)
694 (thing-at-point-default-mail-uri-scheme): New variables.
695 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
696 method to find the possible bounds of the URI at point.
697 New optional argument to find ill-formed URIs.
698 (thing-at-point-url-at-point): Rewrite. New arguments for finding
699 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
700 the scheme-adding heuristics from ffap-url-at-point.
701 (thing-at-point--bounds-of-well-formed-url): New function.
702 Do parens matching to decide whether to include parens in the URI
703 (Bug#9153).
704
705 * ffap.el: Require thingatpt.
706 (ffap-url-at-point): Delegate URI detection to thing-at-point.
707 All URI-valid characters are now recognized (Bug#5673).
708 (ffap-string-at-point): Use use-region-p.
709 (ffap-url-regexp): Extra character is handled by thing-at-point.
710 (ffap-string-at-point-mode-alist): Allow parentheses.
711 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
712 Convert to aliases; code moved to thingatpt.el.
713 (ffap-gnus-hook): Use setq-local.
714
715 2013-02-04 Glenn Morris <rgm@gnu.org>
716
717 * emacs-lisp/ert.el (ert--explain-format-atom):
718 Don't try to print non-characters as characters. (Bug#13543)
719
720 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
721
722 * net/tramp.el (tramp-debug-message): Extend function exclude list.
723 (tramp-backtrace): New defun.
724 (tramp-handle-insert-file-contents): Use `visit' when inserting
725 the local copy.
726
727 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
728 Use `remote-file-name-inhibit-cache'.
729
730 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
731
732 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
733 (bug#13614).
734
735 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
736 current-load-list (bug#13366).
737
738 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
739
740 * progmodes/compile.el (compilation-error-regexp-alist-alist):
741 Identify g++ template instantiation trace. (Bug#12287)
742 (compilation-mode-hook, compilation-start-hook)
743 (compilation-window-height): Simplify docstrings. (Bug#13379)
744
745 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
746
747 * mouse.el (mouse-drag-track): Always deactivate the mark before
748 running the final event's command since that command is in charge of
749 activating the mark if needed (bug#13523).
750
751 2013-02-02 Juri Linkov <juri@jurta.org>
752
753 * replace.el (perform-replace): Move let-bindings of isearch-*
754 variables deeper to the loop that searches for the next match.
755 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
756 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
757 (Bug#13579)
758
759 * isearch.el (isearch-search-fun-default): Check for null
760 first element of isearch-cmds as a precaution when it's used
761 with inactive isearch.
762
763 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
764
765 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
766 error when buffer in question is narrowed so position 1 is out of
767 visible part.
768
769 2013-02-02 Glenn Morris <rgm@gnu.org>
770
771 * textmodes/remember.el (remember-clipboard): Doc fix.
772
773 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
774
775 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
776 properties (bug#13179).
777
778 2013-02-02 Juri Linkov <juri@jurta.org>
779
780 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
781 instead of hard-coded default face `match'. (Bug#9438)
782
783 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
784
785 * vc/vc-arch.el (vc-arch-registered):
786 * vc/vc-bzr.el (vc-bzr-registered):
787 * vc/vc-cvs.el (vc-cvs-registered):
788 * vc/vc-git.el (vc-git-registered):
789 * vc/vc-hg.el (vc-hg-registered):
790 * vc/vc-mtn.el (vc-mtn-registered):
791 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
792 (Bug#13139)
793
794 * info.el (Info-next-reference, Info-prev-reference): Add numeric
795 prefix argument. (Bug#11656)
796
797 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
798
799 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
800
801 2013-02-01 Glenn Morris <rgm@gnu.org>
802
803 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
804 if the backend is known not to support it.
805
806 * imenu.el (imenu-default-create-index-function):
807 Tweak infinite loop test to check for forward motion as well as none.
808
809 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
810
811 * net/soap-client.el (soap-invoke): Encode the string for
812 `url-request-data' as UTF-8.
813 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
814
815 2013-02-01 Glenn Morris <rgm@gnu.org>
816
817 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
818
819 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
820
821 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
822
823 * net/tramp.el (tramp-tramp-file-p): Comment check for
824 `string-as-unibyte'. The function does not exist on XEmacs, and
825 likely we need another approach.
826
827 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
828 `tramp-gw-*' variables are bound.
829
830 2013-01-31 Glenn Morris <rgm@gnu.org>
831
832 * files.el (basic-save-buffer-2): Choose coding system for
833 writing the file before backing it up, to reduce delay between
834 backing up and writing the new version. (Bug#13522)
835
836 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
837
838 * simple.el (cycle-spacing): New command.
839 (just-one-space): Use it.
840
841 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
842
843 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
844 (opascal-newline-always-indents): Remove custom.
845 (opascal-tab, opascal-newline): Remove commands.
846 (opascal-new-comment-line): Insert "\n" instead of calling newline.
847 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
848 (opascal-save-match-data): Remove, use save-match-data instead.
849 (opascal-save-state): Use with-silent-modifications.
850
851 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
852 (bug#13585).
853
854 2013-01-30 Juri Linkov <juri@jurta.org>
855
856 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
857 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
858 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
859
860 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
861
862 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
863 column if we're just deleting the backslashes.
864 (makefile-fill-paragraph): Use eolp.
865
866 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
867
868 * autorevert.el (auto-revert-use-notify): Fix docstring.
869
870 2013-01-30 Leo Liu <sdl.web@gmail.com>
871
872 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
873
874 2013-01-30 Glenn Morris <rgm@gnu.org>
875
876 * mouse.el (mouse-drag-line): Avoid pushing same event onto
877 unread-command-events twice in some cases. This tries to implement
878 the 2012-07-26 changes in a different way. (Bug#13560)
879
880 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
881
882 * progmodes/python.el
883 (python-pdbtrack-comint-output-filter-function): Enhancements on
884 stacktrace detection. (thanks @gnovak)
885
886 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
887
888 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
889 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
890 Use defvar-local.
891 (jit-lock-register): Use setq-local.
892
893 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
894
895 * calc-units.el (math-default-units-table): Remove initial value.
896 (calc-convert-units): Treat expressions where all the units cancel as
897 if they didn't have units.
898
899 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
900
901 * net/tramp.el (tramp-process-connection-type): Fix docstring.
902 (tramp-completion-reread-directory-timeout): Fix type.
903 (tramp-connection-min-time-diff): New defcustom.
904
905 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
906
907 2013-01-30 Glenn Morris <rgm@gnu.org>
908
909 * imenu.el (imenu-default-create-index-function):
910 Put back a version of the infinite loop test removed 2013-01-23.
911
912 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
913
914 * progmodes/python.el (python-shell-parse-command):
915 Find python-shell-interpreter with modified environment.
916
917 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
918
919 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
920
921 2013-01-29 Alan Mackenzie <acm@muc.de>
922
923 Amend to fontify /regexp/s in actions correctly.
924 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
925 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
926 are no longer included.
927 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
928 What used to be these variables without "-line" in the name.
929 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
930 (c-awk-non-arith-op-bra-re): Now also matches {.
931 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
932 "return", and "case".
933 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
934 by /.
935 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
936 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
937
938 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
939
940 * autorevert.el (auto-revert-use-notify):
941 Use `custom-initialize-default' for initialization. (Bug#13583)
942
943 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
944
945 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
946 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
947 in `tramp-file-name-handler'.
948 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
949 compatibility.
950 (tramp-compute-multi-hops): Check, whether
951 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
952
953 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
954
955 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
956 (bug#13297).
957
958 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
959
960 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
961 checks made superfluous by the \_< operator.
962 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
963 temporarily) broken indentation.
964 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
965 Highlight nested constants, too. \_< broke that.
966
967 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
968
969 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
970 instead of "\\b".
971
972 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
973
974 * autorevert.el (auto-revert-handler): Notifications which result
975 from a saved file shall not be taken into account. (Bug#13557)
976
977 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
978
979 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
980 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
981 (lisp-mode): Pass t for it. (Bug#13556)
982
983 2013-01-25 Alan Mackenzie <acm@muc.de>
984
985 AWK Mode: Fix indentation bug at top level. Bug #12274.
986
987 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
988 just before CASE 5D.
989
990 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
991
992 * net/socks.el (socks-nslookup-host): Use string-to-number.
993
994 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
995
996 * autorevert.el (auto-revert-remote-files)
997 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
998 (auto-revert-notify-enabled, auto-revert-use-notify)
999 (auto-revert-notify-watch-descriptor-hash-list)
1000 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
1001 (auto-revert-notify-event-descriptor)
1002 (auto-revert-notify-event-action)
1003 (auto-revert-notify-event-file-name): Doc fix.
1004 (global-auto-revert-mode): Reorder checks.
1005 (auto-revert-notify-rm-watch): Respect changed values of
1006 `auto-revert-notify-watch-descriptor-hash-list'.
1007 (auto-revert-notify-add-watch): Check for
1008 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
1009 `inotify-add-watch'. Watch `default-directory' instead of
1010 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
1011 has a changed meaning now. (Bug#13540)
1012 (auto-revert-notify-handler): Change implementation wrt events
1013 returning from a directory.
1014 (auto-revert-handler): Reorder implementation for checks of remote
1015 files.
1016 (auto-revert-buffers): Fix parentheses error.
1017
1018 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
1019
1020 * progmodes/python.el: Enhancements to header documentation about
1021 skeletons. (Bug#5716)
1022
1023 * imenu.el (imenu-default-create-index-function): Remove useless
1024 infinite loop check. (Bug#13438)
1025
1026 2013-01-25 Alan Mackenzie <acm@muc.de>
1027
1028 Fix a bug in the state cache mechanism. Refactor this a bit.
1029
1030 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
1031 `cache-pos' element from the return value.
1032 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
1033 buffer to enable proper searching from beyond HERE. Amend the
1034 test for detecting the sought brace pair. Amend the value written
1035 to the "brace desert cache" when the brace isn't found.
1036 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
1037 and several other variables analogously.
1038 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
1039 parameter to a locally calculated variable.
1040 (c-parse-state-1): Change the calling conventions to the two
1041 defuns involving `cache-pos'.
1042
1043 2013-01-25 Chong Yidong <cyd@gnu.org>
1044
1045 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
1046
1047 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
1048
1049 * paren.el (show-paren-function): Make sure to set 'priority and
1050 'face only if the overlay does exist.
1051
1052 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
1053
1054 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
1055
1056 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
1057 basic attributes.
1058 (tramp-sh-handle-set-file-acl): Improve error checking.
1059
1060 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
1061
1062 * doc-view.el (doc-view-display): Force mode line update until all
1063 document is converted. Suggested by Stefan Monnier (Bug#13164).
1064
1065 2013-01-23 Bastien Guerry <bzg@gnu.org>
1066
1067 * paren.el (show-paren-function): Make sure an overlay exists
1068 before trying to delete it. Also use `pos' as a position only
1069 when it is an integer.
1070
1071 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
1072
1073 * play/gametree.el (gametree-break-line-here): Use point-marker.
1074
1075 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
1076
1077 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1078 Mark descriptive parts with `display' property.
1079
1080 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1081
1082 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
1083 New variable to map standard dict names to hunspell ones.
1084 (ispell-set-spellchecker-params): Make sure specific dict names
1085 are used for standard dicts with hunspell.
1086
1087 2013-01-21 Tassilo Horn <tsdh@gnu.org>
1088
1089 * textmodes/reftex-cite.el (reftex-format-citation): Add format
1090 chars for note (%N) and url (%U).
1091 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
1092
1093 2013-01-21 Juri Linkov <juri@jurta.org>
1094
1095 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
1096 in addition to existing separate binding `meta f10' in `global-map'.
1097 (Bug#13484)
1098
1099 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
1100
1101 Improve XEmacs compatibility.
1102
1103 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
1104
1105 * net/tramp-adb.el (top): Require `time-date'.
1106 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
1107 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
1108 Use `tramp-file-name-handler'.
1109 (tramp-adb-maybe-open-connection):
1110 Use `tramp-compat-set-process-query-on-exit-flag'.
1111
1112 * net/tramp-sh.el (tramp-sh-handle-file-acl):
1113 Use `tramp-compat-funcall'.
1114
1115 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
1116 `tramp-compat-funcall'.
1117
1118 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
1119
1120 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
1121 reimplementation using "adb shell command ..." instead of running
1122 remote shell interactively.
1123
1124 2013-01-20 Glenn Morris <rgm@gnu.org>
1125
1126 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
1127 Add native profiler menu entries.
1128
1129 * profiler.el (profiler-running-p): New function.
1130 (profiler-cpu-profile): Use profiler-running-p.
1131 (profiler-report-mode-map): Add some more menu entries.
1132
1133 2013-01-19 Glenn Morris <rgm@gnu.org>
1134
1135 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
1136 fixes 2012-12-07 change. (Bug#13499)
1137
1138 2013-01-19 Leo Liu <sdl.web@gmail.com>
1139
1140 * dired.el (dired-get-marked-files): Prune erroneous values due to
1141 last change. (Bug#13152)
1142
1143 2013-01-19 Glenn Morris <rgm@gnu.org>
1144
1145 * progmodes/etags.el (tags-table-check-computed-list):
1146 Preserve point in tags buffer. (Bug#13412)
1147
1148 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
1149
1150 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
1151 Chong Yidong <cyd@gnu.org>
1152
1153 * image-mode.el (image-next-file, image-previous-file):
1154 New commands (Bug#8453).
1155 (image-mode-map): Bind them to n and p.
1156 (image-mode--images-in-directory): New helper function.
1157
1158 2013-01-19 Chong Yidong <cyd@gnu.org>
1159
1160 * image-mode.el (image-mode-fit-frame): Add a frame argument.
1161 Suggested by Drew Adams (Bug#7730). Handle window decorations;
1162 save and restore the old window configuration.
1163
1164 2013-01-18 Leo Liu <sdl.web@gmail.com>
1165
1166 * progmodes/js.el: Tweak autoload cookie for alias.
1167
1168 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1169
1170 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
1171 buffer local, again. This was lost with the fix on 2013-01-12.
1172
1173 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
1174
1175 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
1176 order to support several eshell buffers in parallel.
1177
1178 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
1179
1180 * autorevert.el (auto-revert-use-notify): In the :set function, do
1181 not modify `kill-buffer-hook'.
1182 (auto-revert-notify-rm-watch):
1183 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
1184 (auto-revert-notify-add-watch): Do not call
1185 `auto-revert-notify-rm-watch', but add it to a buffer local
1186 `kill-buffer-hook'.
1187
1188 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1189
1190 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
1191 call to `eval' rather than a backquoted lambda.
1192
1193 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
1194
1195 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
1196 to return an explicit nil.
1197 (advice--remove-function): Change accordingly.
1198
1199 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
1200 the use of nadvice.el.
1201
1202 * progmodes/which-func.el (which-function): Silence imenu errors
1203 (bug#13433).
1204
1205 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1206
1207 * progmodes/sql.el: (sql-imenu-generic-expression):
1208 (sql-mode-font-lock-object-name): Match schema qualified names.
1209 (sql-connect): Use string keys.
1210 (sql-product-interactive): Wait for interpreter prompt.
1211 (sql-comint-oracle): Set process coding based on NLS_LANG.
1212
1213 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
1214
1215 * progmodes/sql.el (sql-output-to-send): Remove, unused.
1216 (sql-interactive-remove-continuation-prompt):
1217 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
1218
1219 2013-01-14 Leo Liu <sdl.web@gmail.com>
1220
1221 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
1222 (Bug#13420)
1223
1224 2013-01-14 Glenn Morris <rgm@gnu.org>
1225
1226 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1227 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
1228
1229 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
1230
1231 * progmodes/python.el (python-nav-end-of-statement):
1232 Fix cornercase when handling multiline strings.
1233
1234 2013-01-13 Richard Stallman <rms@gnu.org>
1235
1236 * mail/sendmail.el (mail-position-on-field): Add doc string.
1237
1238 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1239 Get current message boundaries and pass them to
1240 message-forward-make-body-mime. Minor style changes.
1241
1242 2013-01-13 Eli Zaretskii <eliz@gnu.org>
1243
1244 * cus-start.el (all): Avoid warnings about
1245 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
1246
1247 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
1248
1249 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
1250
1251 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1252
1253 * jit-lock.el (jit-lock-debug-mode): New minor mode.
1254 (jit-lock--debug-fontifying): New var.
1255 (jit-lock--debug-fontify): New function.
1256 * subr.el (condition-case-unless-debug): Don't prevent catching the
1257 error, just let the debbugger run.
1258 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
1259 timer code and don't drop errors silently.
1260
1261 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
1262
1263 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
1264 `permanent-local' property.
1265 (auto-revert-notify-handler): Use `file-equal-p'.
1266
1267 2013-01-12 Eli Zaretskii <eliz@gnu.org>
1268
1269 * autorevert.el (auto-revert-notify-handler): Fix filtering of
1270 file notification by ACTION. For filtering by file name, compare
1271 only the non-directory part of the file name.
1272
1273 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1274
1275 * autorevert.el: Use cl-lib instead of cl.
1276
1277 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
1278 (vc-bzr-checkin): Use it.
1279 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
1280 will preserve match-data.
1281
1282 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
1283
1284 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
1285 (js--declaration-keyword-re): New var.
1286 (js--multi-line-declaration-indentation): New function.
1287 (js--proper-indentation): Use it.
1288
1289 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
1290
1291 * calc/calc.el (calc-highlight-selections-with-faces)
1292 (calc-dispatch):
1293 * comint.el (comint-history-isearch-message):
1294 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
1295 * ffap.el (ffap-string-at-point-region, ffap-next)
1296 (ffap-string-at-point, ffap-string-around)
1297 (ffap-copy-string-as-kill, ffap-highlight-overlay)
1298 (ffap-literally):
1299 * font-lock.el (font-lock-keywords-alist)
1300 (font-lock-removed-keywords-alist):
1301 * help-mode.el (help-xref-symbol-regexp):
1302 * info.el (Info-find-emacs-command-nodes):
1303 * international/mule.el (add-to-coding-system-list):
1304 * isearch.el (isearch-message-function, isearch-fail-pos):
1305 * misearch.el (multi-isearch-next-buffer-function):
1306 * newcomment.el (comment-box):
1307 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
1308 (pr-setting-database):
1309 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
1310 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
1311 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
1312 (pike-font-lock-keywords-3):
1313 * progmodes/compile.el (compile):
1314 * progmodes/etags.el (tags-table-files)
1315 (tags-table-files-function, tags-included-tables-function):
1316 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
1317 (gdb-restore-windows):
1318 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
1319 (ps-n-up-filling-database):
1320 * server.el (server-buffer, server-log):
1321 * simple.el (newline, delete-backward-char, delete-forward-char)
1322 (minibuffer-history-isearch-message, kill-line, track-eol)
1323 (temporary-goal-column):
1324 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
1325 (flyspell-default-deplacement-commands):
1326 * textmodes/ispell.el (ispell-accept-output):
1327 * textmodes/sgml-mode.el (html-tag-help):
1328 * vc/compare-w.el (compare-ignore-whitespace)
1329 (compare-ignore-case, compare-windows-dehighlight):
1330 * vc/diff.el (diff):
1331 * whitespace.el (whitespace-point)
1332 (whitespace-font-lock-refontify, whitespace-bob-marker)
1333 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
1334
1335 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
1336
1337 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
1338 (auto-revert-notify-rm-watch): Ignore errors.
1339 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
1340 inotify, and '(size last-write-time) for w32notify.
1341 Set buffer-local `auto-revert-use-notify' to nil when adding a file
1342 watch fails - this is a fallback to the file modification check.
1343 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
1344 (auto-revert-notify-event-action)
1345 (auto-revert-notify-event-file-name): New defuns.
1346 (auto-revert-notify-handler): Use them. Implement first
1347 plausibility checks.
1348 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
1349
1350 2013-01-11 Julien Danjou <julien@danjou.info>
1351
1352 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
1353 max are almost equal. Also return the correct value for V which is
1354 already between 0 and 1.
1355
1356 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
1357
1358 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
1359
1360 2013-01-11 Eli Zaretskii <eliz@gnu.org>
1361
1362 * autorevert.el (auto-revert-notify-rm-watch)
1363 (auto-revert-notify-add-watch): Fix typos in w32notify function
1364 names.
1365
1366 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1367
1368 * autorevert.el (auto-revert-notify-enabled): Move up.
1369 (auto-revert-use-notify): New defcustom.
1370 (auto-revert-mode, global-auto-revert-mode)
1371 (auto-revert-notify-add-watch, auto-revert-handler)
1372 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
1373 `auto-revert-notify-enabled'.
1374
1375 2013-01-10 Elias Pipping <pipping@exherbo.org>
1376
1377 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
1378 * doc-view.el (doc-view-document->bitmap):
1379 Use doc-view-single-page-converter-function instead of
1380 single-page-converter arg; adjust callers.
1381
1382 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
1383
1384 * progmodes/which-func.el (which-function): Understand Semantic's use
1385 of overlays in imenu--index-alist.
1386
1387 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
1388
1389 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
1390 (Man-man-k-use-anchor): New var.
1391 (Man-parse-man-k): New function.
1392 (Man-completion-table): Use it.
1393 (man): Flush the completion cache between uses.
1394
1395 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
1396
1397 * autorevert.el: Add file watch support.
1398 (auto-revert-notify-enabled): New defconst.
1399 (auto-revert-notify-watch-descriptor-hash-list)
1400 (auto-revert-notify-watch-descriptor)
1401 (auto-revert-notify-modified-p): New defvars.
1402 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
1403 (auto-revert-notify-handler): New defuns.
1404 (auto-revert-mode, global-auto-revert-mode): Remove file watches
1405 when mode is disabled.
1406 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
1407 (auto-revert-buffers): Add file watches for active buffers.
1408
1409 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
1410
1411 * cus-start.el (toplevel): Only allow float values for
1412 scroll-up-aggressively and scroll-down-aggressively.
1413 Allow any number for line-spacing.
1414
1415 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1416
1417 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
1418 (doc-view-pdf->png-converter-function): Use mupdf if available.
1419 (doc-view-djvu->png-converter-function)
1420 (doc-view-ps->png-converter-function): Remove.
1421 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
1422 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
1423 (doc-view-already-converted-p): Adjust accordingly.
1424 (doc-view-mode-p): Simplify.
1425 (doc-view-enlarge): Use setq-local.
1426 (doc-view-pdf->png-converter-ghostscript)
1427 (doc-view-djvu->png-converter-ddjvu)
1428 (doc-view-pdf->png-converter-mupdf): Rework to call
1429 doc-view-start-process directly.
1430 (doc-view-pdf/ps->png): Simplify accordingly.
1431 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
1432 (doc-view-document->bitmap): Rename from doc-view-document->png.
1433 (doc-view-convert-current-doc): Merge pdf and djvu cases.
1434 (doc-view-set-slice-from-bounding-box): Fix completion table.
1435 (doc-view-mode): Use add-hook for after-revert-hook.
1436
1437 2013-01-10 Glenn Morris <rgm@gnu.org>
1438
1439 * emacs-lisp/authors.el (authors-ignored-files)
1440 (authors-valid-file-names, authors-renamed-files-alist):
1441 Add some more entries.
1442
1443 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
1444
1445 * image-mode.el (image-mode-winprops): Don't throw away the fallback
1446 `t' pseudo-window entry.
1447
1448 2013-01-10 Alan Mackenzie <acm@muc.de>
1449
1450 Fix bugs in the c-parse-state mechanism. Reuse some markers
1451 instead of continually generating new ones.
1452
1453 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
1454 (c-state-old-cpp-end-marker): New variables.
1455 (c-append-lower-brace-pair-to-state-cache): Start a backward
1456 search for "}" definitively outside CPP constructs.
1457 (c-remove-stale-state-cache): Inform the caller of a need to
1458 search back for a brace pair in certain circumstances.
1459 (c-state-maybe-marker): New macro.
1460 (c-parse-state): Reuse markers when appropriate.
1461
1462 2013-01-10 Glenn Morris <rgm@gnu.org>
1463
1464 * simple.el (execute-extended-command): Doc fix.
1465 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
1466
1467 2013-01-10 Chong Yidong <cyd@gnu.org>
1468
1469 * faces.el (read-face-name): Doc fix.
1470
1471 2013-01-10 Roland Winkler <winkler@gnu.org>
1472
1473 * emacs-lisp/crm.el: Allow any regexp for separators.
1474 (crm-default-separator): All spaces around the default comma separator.
1475 (crm--completion-command): New macro.
1476 (crm-completion-help, crm-complete, crm-complete-word): Use it.
1477 (crm-complete-and-exit): Handle non-single-char separators.
1478
1479 2013-01-09 Elias Pipping <pipping@lavabit.com>
1480
1481 * doc-view.el: Add support for DjVu (bug#13164).
1482 (doc-view-djvu->png-converter-function): New config var.
1483 (doc-view-single-page-converter-function, doc-view--image-type)
1484 (doc-view--image-file-extension): New vars.
1485 (doc-view-mode): Initialize them.
1486 (doc-view-goto-page): Use them.
1487 (doc-view-mode-p): Add support for ddjvu.
1488 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
1489 (doc-view-set-up-single-converter): New funs.
1490 (doc-view-pdf/ps->png): Extend for djvu.
1491 (doc-view-document->png): Rename from doc-view-pdf->png.
1492 (doc-view-convert-current-doc): Handle djvu.
1493 (doc-view-insert-image, doc-view-display)
1494 (doc-view-already-converted-p): Don't hardcode png.
1495 (doc-view-set-doc-type): Recognize djvu docs.
1496
1497 2013-01-09 Elias Pipping <pipping@lavabit.com>
1498
1499 * doc-view.el: Add support for mupdf converter (bug#13164).
1500 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
1501 (doc-view-ps->png-converter-function): New config vars.
1502 (doc-view-pdf->png-converter-ghostscript)
1503 (doc-view-ps->png-converter-ghostscript)
1504 (doc-view-pdf->png-converter-mupdf): New functions.
1505 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
1506
1507 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
1508
1509 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
1510 first in session cache: When `tramp-own-remote-path' is in
1511 `tramp-remote-path', the remote path is only set in the session
1512 cache.
1513
1514 2013-01-09 Glenn Morris <rgm@gnu.org>
1515
1516 * emacs-lisp/trace.el (trace-function-foreground)
1517 (trace-function-background): Doc fix.
1518
1519 2013-01-09 Juri Linkov <juri@jurta.org>
1520
1521 * international/mule-cmds.el (read-char-by-name): Move let-binding
1522 of completion-ignore-case around completing-read to fix regression
1523 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
1524 `string-match-p' using the nil value of `case-fold-search' and
1525 `completion-ignore-case' in `completion-pcm--all-completions'.
1526 (Bug#12615).
1527
1528 2013-01-09 Glenn Morris <rgm@gnu.org>
1529
1530 * progmodes/compile.el (compilation-parse-errors):
1531 Fix typo. (Bug#13369)
1532
1533 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1534
1535 * comint.el (comint-send-input): Check size of buffer before
1536 waiting for process output, in case already accepted. (Bug#13290)
1537
1538 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
1539
1540 Spelling fixes.
1541 * net/tramp-adb.el (tramp-adb-get-toolbox):
1542 Fix misspelling of 'unknown'.
1543
1544 2013-01-08 Juri Linkov <juri@jurta.org>
1545
1546 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
1547 * progmodes/flymake.el (flymake-errline, flymake-warnline):
1548 Use underline style wave on terminals that support it. (Bug#13000)
1549
1550 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1551
1552 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
1553 the predicate returns nil.
1554
1555 * simple.el: Use lexical-binding.
1556 (primitive-undo): Use pcase.
1557 (minibuffer-history-isearch-push-state): Use a closure.
1558
1559 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
1560
1561 * simple.el (primitive-undo): Move from undo.c.
1562
1563 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1564
1565 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
1566 (cvs-mode-remove-handled): Use it (bug#13380).
1567
1568 * emacs-lisp/nadvice.el (advice--tweak): New function.
1569 (advice--remove-function, advice--subst-main): Use it.
1570
1571 * emacs-lisp/advice.el: Update commentary.
1572
1573 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
1574
1575 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1576 Remove spurious entry.
1577
1578 2013-01-08 Glenn Morris <rgm@gnu.org>
1579
1580 * net/tramp.el (tramp-default-host-alist): Add :version.
1581
1582 2013-01-08 Juri Linkov <juri@jurta.org>
1583
1584 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
1585 single completion. (Bug#12456)
1586 (info--manual-names): Expand node completions into an explicit list
1587 before appending it to another list. Filter out internal buffers
1588 with the leading space in the buffer name. (Bug#10771)
1589
1590 2013-01-08 Juri Linkov <juri@jurta.org>
1591
1592 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
1593 that defaults to the Top node.
1594 (Info-goto-node, Info-read-node-name): Doc fix to mention that
1595 the short format (FILENAME) goes to the Top node.
1596 (Info-build-node-completions): Rename arg `file' to `filename'.
1597 (Bug#13365)
1598
1599 2013-01-07 Bastien Guerry <bzg@gnu.org>
1600
1601 * menu-bar.el (menu-bar-search-documentation-menu):
1602 Use `apropos-user-option' and fix the help message.
1603
1604 2013-01-07 Bastien Guerry <bzg@gnu.org>
1605
1606 * apropos.el (apropos-do-all): Update docstring.
1607 (apropos-user-option-button): New face.
1608 (apropos-user-option): Rename from `apropos-variable' and update
1609 docstring.
1610 (apropos-variable): Rewrite, now show all variables by default.
1611 (apropos-print): Mention "User option" instead of "Variable" when
1612 printing doc for user options. (Bug#13276)
1613
1614 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
1615
1616 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1617 Handle filename correctly, when parsing "source -> target" symlink
1618 output.
1619 (tramp-adb-handle-set-file-times): New defun.
1620
1621 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
1622
1623 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
1624 advice list when the interactive-spec of ad-Advice-* changes.
1625
1626 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
1627
1628 * wid-edit.el (widget-default-get): Work for inlined elements.
1629 (Bug#12670)
1630
1631 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
1632
1633 * net/tramp.el (tramp-default-host-alist): New defcustom.
1634 (tramp-find-host): Use it.
1635 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
1636 `eshell-directory-change-hook'.
1637
1638 * net/tramp-adb.el (top): Add adb specific entry in
1639 `tramp-default-host-alist'.
1640 (tramp-adb-file-name-host): Remove function.
1641 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1642 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
1643
1644 * net/tramp-sh.el: Move eshell integration code to tramp.el.
1645
1646 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
1647
1648 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
1649
1650 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
1651
1652 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
1653 consist of more than one digit.
1654 (tramp-adb-file-name-handler-alist):
1655 Use `tramp-handle-file-exists-p' consistently.
1656 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
1657 (tramp-adb-handle-file-exists-p): Remove function.
1658 (tramp-adb-file-name-host): New defun.
1659 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
1660 Use it.
1661 (tramp-adb-maybe-open-connection): Set "remote-path" property.
1662
1663 2013-01-06 Chong Yidong <cyd@gnu.org>
1664
1665 * vc/vc.el (vc-next-action): Detect buffer modifications
1666 conflicting with locking VCS operation (Bug#11490).
1667
1668 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
1669
1670 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
1671
1672 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
1673 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
1674
1675 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
1676
1677 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
1678 parsing of ls output using regular expression (handle filenames
1679 with spaces). Use virtual device number.
1680 (tramp-do-parse-file-attributes-with-ls): New defun (Code
1681 cleanup).
1682
1683 2013-01-04 Daiki Ueno <ueno@gnu.org>
1684
1685 * epg.el: Silence byte-compiler warnings.
1686 (epg--start): Use delete-char instead of delete-backward-char.
1687 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
1688
1689 2013-01-04 Daiki Ueno <ueno@gnu.org>
1690
1691 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
1692 Suggested by Eli Zaretskii <eliz@gnu.org>.
1693
1694 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
1695
1696 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
1697 non-negative integers. Otherwise, the default values are used.
1698 (tramp-convert-file-attributes): Convert uid and gid to integers.
1699
1700 2013-01-04 Glenn Morris <rgm@gnu.org>
1701
1702 * term.el (term-handle-colors-array): Ensure face attributes
1703 are fully specified, not nil. (Bug#13337)
1704
1705 * term.el (term-default-fg-color, term-default-bg-color):
1706 Fix custom type.
1707
1708 * progmodes/etags.el (tags-compression-info-list): Doc fix.
1709 (tag-find-file-of-tag-noselect): Check auto-compression-mode
1710 rather than 'jka-compr being loaded. (Bug#13338)
1711
1712 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
1713
1714 * icomplete.el (icomplete-completions):
1715 Honor icomplete-prospects-height once more following
1716 2012-11-29 changes. (Bug#13224)
1717
1718 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
1719
1720 * subr.el (internal--called-interactively-p--get-frame): Find aliases
1721 of called-interactively-p as well (bug#13237).
1722
1723 * view.el (view--enable, view--disable): Rename from view-mode-enable
1724 and view-mode-disable and assume it's called from view-mode.
1725 (view-mode-enable, view-mode-disable): Redefine as obsolete
1726 compatibility layer above view-mode.
1727 (view-mode-enter): Call `view-mode'.
1728
1729 * files.el (after-find-file): Call `view-mode'.
1730
1731 * doc-view.el (doc-view-scale-internally): New var.
1732 (doc-view-enlarge, doc-view-insert-image): Obey it.
1733
1734 2013-01-03 Daiki Ueno <ueno@gnu.org>
1735
1736 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
1737 exist. (Bug#13344)
1738
1739 2013-01-03 Glenn Morris <rgm@gnu.org>
1740
1741 * mail/rmail.el (rmail-set-header-1): Ignore case.
1742 Handle multi-line headers. (Bug#13330)
1743
1744 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
1745 Handle paragraph starting at beginning of buffer.
1746
1747 * subr.el (eval-after-load): Don't purecopy the form, so that it
1748 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
1749
1750 * emacs-lisp/byte-run.el (defun): Place cl declarations
1751 after any interactive spec. (Bug#13265)
1752
1753 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1754
1755 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
1756 defun. Don't check for DECL if DOCSTRING isn't a string.
1757 (defun): Likewise.
1758
1759 2013-01-02 Glenn Morris <rgm@gnu.org>
1760
1761 * eshell/em-cmpl.el (eshell-pcomplete):
1762 More thoroughly imitate pcomplete. (Bug#13293)
1763
1764 * files.el (parse-colon-path): Doc fix. (Bug#12351)
1765 Return nil for empty path elements. (Bug#13296)
1766
1767 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
1768
1769 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
1770 order to improve efficiency (Based on Daniel Colascione's
1771 <dancol@dancol.org> patch). (Bug#13182)
1772
1773 2013-01-02 Glenn Morris <rgm@gnu.org>
1774
1775 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
1776
1777 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
1778
1779 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
1780 neither DOCSTRING nor DECL was given. (Bug#13316)
1781
1782 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
1783
1784 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
1785 `error' call.
1786 (tramp-do-copy-or-rename-file): Ignore errors when calling
1787 `set-file-extended-attributes'.
1788
1789 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1790 Add handler for `file-acl'.
1791 (tramp-smb-handle-file-acl): New defun.
1792
1793 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
1794
1795 * calc/README: Mention ISO 8601 week-numbering dates.
1796
1797 2013-01-01 Martin Rudalics <rudalics@gmx.at>
1798
1799 * view.el (view-mode-enable): New argument run-view-mode-hook.
1800 Run view-mode-hook only when it's non-nil (Bug#13315).
1801 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
1802 argument t.
1803
1804 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
1805
1806 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
1807 (No device connected, invalid device name). (Bug #13299)
1808
1809 2012-12-31 Martin Rudalics <rudalics@gmx.at>
1810
1811 * window.el (window-resizable--p): Rename to window-resizable-p.
1812 (window-resize-no-error): New function.
1813
1814 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
1815 broken in fix from 2012-12-28.
1816
1817 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
1818
1819 * subr.el (special-form-p): Don't signal errors on undef aliases.
1820
1821 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
1822
1823 * calc/calc-forms.el (math-parse-date): Try using
1824 `math-parse-iso-date' when it looks like it might be needed.
1825 Allow times of 24:00.
1826 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
1827 of 24:00.
1828
1829 2012-12-30 Glenn Morris <rgm@gnu.org>
1830
1831 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
1832 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
1833 (rmail-summary-displayed, rmail-summary): Declare.
1834 (mairix-rmail-display): Just require rmail.
1835
1836 2012-12-30 Chong Yidong <cyd@gnu.org>
1837
1838 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
1839 check for the tarball contents.
1840
1841 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
1842
1843 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
1844 tarfile content listings (Bug#13136).
1845
1846 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
1847
1848 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
1849 Insert the undecoded text of the message being forwarded. (Bug#9521)
1850
1851 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
1852
1853 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
1854 integers, if they are real numbers. (Bug#13282)
1855
1856 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
1857 Return `t' on success.
1858
1859 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1860 Add handler for `set-file-selinux-context'.
1861
1862 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
1863
1864 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
1865 (tramp-sh-handle-set-file-acl): Return `t' on success.
1866
1867 2012-12-29 Eli Zaretskii <eliz@gnu.org>
1868
1869 * files.el (backup-buffer-copy, basic-save-buffer-2):
1870 If set-file-extended-attributes fails, fall back on set-file-modes
1871 instead of signaling an error. (Bug#13298)
1872 (basic-save-buffer): Likewise.
1873
1874 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1875
1876 * progmodes/python.el: Support other commands triggering
1877 python-indent-line so indentation cycling continues to work.
1878 (python-indent-trigger-commands): New defcustom.
1879 (python-indent-line): Use it.
1880
1881 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1882
1883 * progmodes/python.el (python-shell-send-region): Add blank lines
1884 for non sent code so backtraces remain correct.
1885
1886 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
1887
1888 * progmodes/python.el: Remove cl dependency.
1889 (python-syntax-count-quotes): Replace incf call.
1890 (python-fill-string): Replace setf call.
1891
1892 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
1893
1894 * info.el (info-other-window): New arg, for consistency with info.
1895
1896 2012-12-28 Martin Rudalics <rudalics@gmx.at>
1897
1898 * mail/rmail.el (rmail-maybe-display-summary):
1899 Rewrite (Bug#13066).
1900
1901 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
1902
1903 * epg.el (epg--start): Modify process-environment locally.
1904
1905 2012-12-28 Daiki Ueno <ueno@gnu.org>
1906
1907 * epg.el: Support pinentry-curses.
1908 Suggested by Werner Koch in
1909 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
1910 (epg-agent-file, epg-agent-mtime): New variable.
1911 (epg--start): Record the modified time of gpg-agent socket file,
1912 to restore Emacs frame after pinentry-curses termination.
1913 (epg-wait-for-completion): Restore Emacs frame here.
1914
1915 2012-12-27 Juri Linkov <juri@jurta.org>
1916
1917 * info.el (Info-file-completions): New variable.
1918 (Info-read-node-name-1): Complete node names in the Info file
1919 when a file name is given. Call `Info-build-node-completions'
1920 with a file name.
1921 (Info-build-node-completions): Add new arg `file'. When it is
1922 non-nil, visit it in a temporary buffer and cache its completions in
1923 `Info-current-file-completions'. Move most of the function body to
1924 `Info-build-node-completions-1'.
1925 (Info-build-node-completions-1): New function with the body from
1926 `Info-build-node-completions'. (Bug#12456)
1927
1928 2012-12-27 Juri Linkov <juri@jurta.org>
1929
1930 * frame.el (frame-maximization-style): Remove user option.
1931 (cycle-frame-maximized): Remove function.
1932 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
1933 (toggle-frame-fullscreen): New command bound to <f11> instead of
1934 `toggle-frame-maximized'.
1935 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
1936
1937 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
1938
1939 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
1940
1941 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
1942 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1943 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
1944 for `file-accessible-directory-p'. (Bug#13275)
1945
1946 2012-12-27 Sam Steingold <sds@gnu.org>
1947
1948 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
1949 continuations, see <http://stackoverflow.com/questions/3582436>.
1950
1951 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
1952
1953 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
1954 "module" and "def" to have indentation before them.
1955 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
1956
1957 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
1958
1959 2012-12-27 Alan Mackenzie <acm@muc.de>
1960
1961 Speed up fontification where there's large brace blocks.
1962 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
1963 to a call of c-beginning-of-decl-1.
1964
1965 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
1966
1967 * comint.el (comint-adjust-window-point): New function.
1968 (comint-postoutput-scroll-to-bottom):
1969 Call comint-adjust-window-point (Bug#13248).
1970
1971 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
1972
1973 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
1974 Rakefile regexp.
1975 (auto-mode-alist): Associate .gemspec files with ruby-mode
1976 (https://bugs.ruby-lang.org/issues/5453).
1977
1978 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
1979
1980 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
1981 Suppress coloring, if possible (required for BusyBox based systems like
1982 CyanogenMod).
1983 (tramp-adb-handle-file-attributes)
1984 (tramp-adb-handle-insert-directory)
1985 (tramp-adb-handle-file-name-all-completions): Use it.
1986 (tramp-adb-get-toolbox): New defun. Check for remote shell
1987 implementation (BusyBox or Toolbox).
1988
1989 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
1990
1991 * startup.el (initial-buffer-choice): Allow function as value
1992 (Bug#13251).
1993 (command-line-1): Handle case where initial-buffer-choice
1994 specifies a function.
1995 * server.el (server-execute): Handle case where
1996 initial-buffer-choice specifies a function.
1997
1998 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1999
2000 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
2001 its own function.
2002 (smtpmail-try-auth-methods): Forget the user name/password if the
2003 login is unsuccessful (bug#12424).
2004
2005 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
2006
2007 * notifications.el (notifications-notify): Protect body with
2008 `with-demoted-errors'.
2009
2010 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2011 Check properties of remote device. Restart connection, if there is a
2012 change.
2013
2014 2012-12-21 Chong Yidong <cyd@gnu.org>
2015
2016 * sort.el (sort-subr): Doc fix (Bug#13056).
2017
2018 2012-12-21 Bastien Guerry <bzg@gnu.org>
2019
2020 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
2021
2022 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
2023
2024 * simple.el (process-file): Overwrite stderr file, if exists.
2025
2026 2012-12-21 Daiki Ueno <ueno@gnu.org>
2027
2028 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
2029 (epg-error): Set `error-message' property.
2030
2031 2012-12-21 Chong Yidong <cyd@gnu.org>
2032
2033 * international/mule-cmds.el (read-char-by-name): Signal an error
2034 if the user does not supply a valid character (Bug#13177).
2035
2036 * simple.el (transpose-subr-1): Preserve marker positions by
2037 changing the insertion sequence (Bug#13122).
2038
2039 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2040
2041 * simple.el (kill-region): Deactivate mark even for empty regions
2042 (Bug#13169).
2043
2044 2012-12-21 Chong Yidong <cyd@gnu.org>
2045
2046 * help-fns.el (describe-variable): Make sure we get the right
2047 buffer name (Bug#13105). Suggested by Kelly Dean.
2048
2049 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
2050
2051 * comint.el (comint-redirect-previous-input-string): New variable.
2052 (comint-redirect-setup, comint-redirect-cleanup)
2053 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
2054 (comint-redirect-preoutput-filter): Fix verbose message.
2055
2056 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
2057
2058 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
2059 is too long for Tramp. See discussion in
2060 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
2061
2062 * progmodes/compile.el (compilation-start): Remove line escape
2063 template.
2064
2065 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
2066
2067 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
2068 Adjust comment.
2069
2070 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
2071
2072 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
2073 following non-comment text (bug#13207).
2074 (lm-header-multiline): Continuation lines need to be indented more than
2075 the first line.
2076 (lm-homepage): New function.
2077 (lm-with-file): Don't be confused if narrowing is in effect.
2078
2079 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2080
2081 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
2082 very beginning of a hunk (e.g. killing the first line).
2083
2084 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
2085
2086 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
2087 and text properties from returned ACL string.
2088 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
2089 for "setfacl" command.
2090
2091 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
2092
2093 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
2094 `tramp-cleanup-this-connection', when the process has died.
2095 (Bug#13151)
2096
2097 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2098
2099 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
2100
2101 2012-12-17 Kevin Ryde <user42@zip.com.au>
2102
2103 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
2104
2105 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
2106
2107 Add support for preserving ACL entries of files.
2108
2109 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
2110 `set-file-acl' handlers.
2111
2112 * net/tramp-adb.el (tramp-adb-handle-copy-file):
2113 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2114
2115 * net/tramp-compat.el (tramp-compat-copy-file):
2116 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2117
2118 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
2119 Add `file-acl' and `set-file-acl' handlers.
2120 (tramp-gvfs-handle-copy-file):
2121 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2122 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
2123 New defuns.
2124
2125 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2126 Add `file-acl' and `set-file-acl' handlers.
2127 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
2128 (tramp-sh-handle-set-file-acl): New defuns.
2129 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
2130 Handle PRESERVE-EXTENDED-ATTRIBUTES.
2131
2132 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2133 Add `file-acl' and `set-file-acl' handlers.
2134 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
2135
2136 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2137
2138 * help-macro.el (make-help-screen): Instead of switch-to-buffer
2139 use pop-to-buffer with NORECORD argument t. As buffer name, use
2140 *Metahelp* with a leading space (Bug#13190).
2141
2142 2012-12-16 Romain Francoise <romain@orebokech.com>
2143
2144 * files.el (file-extended-attributes)
2145 (set-file-extended-attributes): New functions.
2146 (backup-buffer): Use them to handle both SELinux context and ACL
2147 entries.
2148 (backup-buffer-copy): Work with an alist of extended attributes,
2149 rather than an SELinux context.
2150 (basic-save-buffer-2): Ditto.
2151
2152 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
2153
2154 * battery.el (battery-bsd-apm): New function.
2155
2156 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
2157
2158 * calc/calc.el (calc-standard-date-formats): Adjust one of the
2159 standard date formats.
2160
2161 2012-12-15 Juri Linkov <juri@jurta.org>
2162
2163 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
2164 `isearch-insert-char-by-name'.
2165 (with-isearch-suspended): New defmacro with body mostly from
2166 `isearch-edit-string' except the part that sets
2167 `isearch-new-string' and `isearch-new-message'.
2168 (isearch-edit-string): Use new macro `with-isearch-suspended' with
2169 body that sets `isearch-new-string' and `isearch-new-message'.
2170 (isearch-insert-char-by-name): New command.
2171 * international/mule-cmds.el (read-char-by-name): Let-bind
2172 `enable-recursive-minibuffers' to t.
2173 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
2174
2175 2012-12-15 Juri Linkov <juri@jurta.org>
2176
2177 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
2178 (Bug#13175)
2179
2180 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
2181
2182 * dired-x.el (dired-guess-shell-command): Put colon at the end of
2183 the prompt. (Bug#13045)
2184
2185 2012-12-14 Glenn Morris <rgm@gnu.org>
2186
2187 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
2188 Try to include filename in non-bytecomp warning. (Bug#13132)
2189
2190 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
2191
2192 Fix permissions bugs with setgid directories etc. (Bug#13125)
2193 * files.el (backup-buffer): Don't rely on 9th output of
2194 file-attributes, as it's now a placeholder. Instead, use the new
2195 optional arg of file-ownership-preserved-p.
2196 (file-ownership-preserved-p): New optional arg GROUP.
2197 Fix mishandling of setuid directories that would cause this
2198 function to return t when it should have returned nil.
2199 Document what happens if the file does not exist, and when
2200 it's not known whether the ownership will be preserved.
2201 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
2202 Likewise.
2203 (tramp-get-local-gid): Use group-gid for integer, as that's
2204 faster and more reliable.
2205
2206 2012-12-14 Julien Danjou <julien@danjou.info>
2207
2208 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
2209 Update keywords list, data type and PL/pgSQL.
2210
2211 2012-12-14 Dave Abrahams <dave@boostpro.com>
2212
2213 * vc/ediff-util.el (ediff-buffer-type): New function.
2214 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
2215 rather than taking it as as argument.
2216 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
2217
2218 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
2219
2220 * json.el: Add pretty-print option (bug#12634).
2221 (json-encoding-separator, json-encoding-default-indentation)
2222 (json--encoding-current-indentation, json-encoding-pretty-print)
2223 (json-encoding-lisp-style-closings): New vars.
2224 (json--with-indentation): New macro.
2225 (json-encode-hash-table, json-encode-alist, json-encode-plist)
2226 (json-encode-array): Use it to obey json-encoding-pretty-print.
2227 (json-pretty-print-buffer, json-pretty-print): New commands.
2228
2229 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
2230
2231 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2232 Extract `ruby-syntax-propertize-expansions'.
2233 (ruby-syntax-propertize-expansions): Only change syntax on
2234 certain string delimiters, to punctuation. This way the common
2235 functions like forward-word and thing-at-point still work.
2236 (ruby-match-expression-expansion): Improve readability.
2237 (ruby-block-contains-point): New function.
2238 (ruby-add-log-current-method): Handle several edge cases.
2239
2240 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2241
2242 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
2243 unload-feature finishes even when aborting an ongoing edebug session.
2244 Also, do not worry about edebug-mode, unload-feature takes care of it.
2245
2246 2012-12-13 Andreas Schwab <schwab@suse.de>
2247
2248 * net/tls.el (tls-program): Update customize type.
2249
2250 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
2251
2252 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
2253 (edebug-setup-hook, cl-read-load-hooks): Use it.
2254 (edebug-unload-function): New function. (Bug#13163)
2255
2256 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
2257
2258 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
2259 Otherwise, there could be errors in autoloading. (Bug#13151)
2260
2261 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
2262
2263 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
2264 sequences.
2265
2266 2012-12-13 Alan Mackenzie <acm@muc.de>
2267
2268 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
2269 * progmodes/cc-engine.el (c-backward-comments): Add code to work
2270 around `forward-comment' not recognizing ^M as whitespace.
2271
2272 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
2273
2274 * progmodes/python.el (python-skeleton-class)
2275 (python-skeleton-def): Do not add space after defun name.
2276
2277 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
2278
2279 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
2280 (cl--symbol-function): Remove (now that funbound is like nil).
2281
2282 2012-12-12 Glenn Morris <rgm@gnu.org>
2283
2284 * button.el (button--area-button-p): Fix typo.
2285
2286 2012-12-12 Sam Steingold <sds@gnu.org>
2287
2288 * frame.el (frame-maximization-style): New user option.
2289 (toggle-frame-maximized): Toggle frame maximization according to
2290 `frame-maximization-style', bound to <f11>.
2291 (cycle-frame-maximized): Cycle between all maximization styles and
2292 non-maximized frame, bound to shift-<f11>.
2293
2294 2012-12-12 David Cadé <codename68@gmail.com>
2295
2296 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
2297
2298 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
2299
2300 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
2301 (eieio-override-prin1): Don't quote kewords and booleans.
2302 (object-write) <eieio-default-superclass>: Don't put closing parens
2303 on new line, avoid needless empty lines, align values that are objects
2304 with the slot keyword (instead of beginning on the same line).
2305 (eieio-list-prin1): Align value with slot keyword; increase
2306 eieio-print-depth before printing members of the list.
2307
2308 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2309
2310 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
2311 a display text-property.
2312 (report-emacs-bug-hook): Don't bother deleting it any more.
2313
2314 * hilit-chg.el (highlight-save-buffer-state): Delete.
2315 Use with-silent-modifications instead.
2316 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
2317
2318 * button.el: Handle buttons in display text-properties.
2319 (button--area-button-p, button--area-button-string):
2320 Use (STRING . STRING-POS) representation instead of just STRING.
2321
2322 2012-12-11 Eli Zaretskii <eliz@gnu.org>
2323
2324 * makefile.w32-in (compile4-SH): Fix a typo that caused term
2325 subdirectory be skipped.
2326
2327 2012-12-11 Glenn Morris <rgm@gnu.org>
2328
2329 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
2330
2331 * progmodes/f90.el (f90-line-continued, f90-indent-region):
2332 Treat preprocessor lines embedded in continuations like comments.
2333 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
2334
2335 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
2336
2337 * calc/calc.el (calc-standard-date-formats): Add more date
2338 formats.
2339 * calc/calc-forms.el (math-parse-iso-date): New function.
2340 (math-parse-date): Use `math-parse-iso-date' when appropriate.
2341 (math-parse-iso-date-validate): Add extra error checking.
2342 (calc-date-notation): Add ability to access new date formats.
2343
2344 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2345
2346 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
2347 font-lock as well as when there's no text-property.
2348
2349 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
2350
2351 * hi-lock.el: Refine the choice of default face.
2352 (hi-lock-keyword->face): New function. Use it wherever we used
2353 cadadadr instead.
2354 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
2355 (hi-lock--last-face): Remove var.
2356 (hi-lock--unused-faces): New var to replace it.
2357 (hi-lock-read-face-name): Use/maintain it.
2358 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
2359 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
2360 if it has another face.
2361
2362 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2363
2364 * subr.el (w32notify-handle-event): New function.
2365 (inotify-handle-event): Doc fix.
2366
2367 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2368
2369 * subr.el (inotify-event-p, inotify-handle-event): New functions.
2370
2371 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
2372
2373 * simple.el (just-one-space): Doc fix.
2374
2375 2012-12-10 Eli Zaretskii <eliz@gnu.org>
2376
2377 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
2378
2379 2012-12-10 Le Wang <l26wang@gmail.com>
2380
2381 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
2382 narrowed buffer (bug#12361).
2383
2384 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
2385
2386 * vc/vc-hooks.el (vc-state): Doc fix.
2387
2388 2012-12-10 Glenn Morris <rgm@gnu.org>
2389
2390 * mail/rmail.el (rmail-maybe-display-summary):
2391 Preserve buffer, in case select-window changes it. (Bug#13066)
2392
2393 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2394
2395 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
2396 cl-load-hook where they belong.
2397
2398 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
2399
2400 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
2401
2402 2012-12-09 Eli Zaretskii <eliz@gnu.org>
2403
2404 Parallelize byte compilation on MS-Windows.
2405 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
2406 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
2407 (WINS_BASIC): Define as concatenation of the above.
2408 (compile): Subdivide into 4 separate and independent jobs that can
2409 be run in parallel.
2410 (compile0-CMD, compile0-SH): New targets for compiling
2411 COMPILE_FIRST files, which are prerequisites for the rest of the
2412 byte-compilation.
2413 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
2414 New targets for parallel compilation with cmd.exe.
2415 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
2416 compiling under a Unixy shell.
2417
2418 2012-12-09 Chong Yidong <cyd@gnu.org>
2419
2420 * simple.el (set-mark-default-inactive): Delete this
2421 accidentally-introduced option.
2422 (set-mark-command, exchange-point-and-mark): Remove calls.
2423
2424 2012-12-09 Glenn Morris <rgm@gnu.org>
2425
2426 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
2427 Respect a defcustom's :set function, if appropriate. (Bug#109)
2428 (eval-defun): Doc fix.
2429
2430 2012-12-08 Juri Linkov <juri@jurta.org>
2431
2432 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
2433 (Info-fontify-node, Info-bookmark-make-record): Remove the
2434 file extension from Info-current-file (Bug#13016).
2435
2436 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2437
2438 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
2439 point, still provide some default.
2440 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
2441 names, since we don't use it right now. Actually return the list.
2442 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
2443
2444 2012-12-07 Chong Yidong <cyd@gnu.org>
2445
2446 * novice.el (disabled-command-function): Remove a spurious help
2447 xref (Bug#13043). Suggested by Kelly Dean.
2448
2449 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
2450 syntax is specified (Bug#13025).
2451
2452 * info.el (Info-set-mode-line): Remove the file extension from
2453 Info-current-file if there is one (Bug#13016).
2454
2455 2012-12-07 Glenn Morris <rgm@gnu.org>
2456
2457 * mail/rmail.el (rmail-mime-decoded): New permanent local.
2458 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
2459 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
2460 and rmail-mime-decoded. (Bug#9841)
2461
2462 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
2463 (batch-unrmail, unrmail): Doc fixes.
2464 (unrmail): Respect unrmail-mbox-format.
2465 * mail/rmail.el (rmail-mbox-format): New option.
2466 (rmail-show-message-1): Respect rmail-mbox-format.
2467
2468 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
2469
2470 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
2471
2472 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2473
2474 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
2475 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
2476 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
2477 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
2478 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
2479 (cl-progv): Don't rely on dynamic scoping to find the body.
2480 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
2481 (cl--proclaims-deferred): Rename from the "cl-" prefix.
2482 (cl-declaim): Use backquotes.
2483 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
2484 Use "cl--" prefix for the object's tag.
2485
2486 * ses.el: Use advice-add/remove.
2487 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
2488 (copy-region-as-kill, yank): Use advice-add.
2489 (ses-unload-function): Use advice-remove.
2490
2491 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
2492
2493 * button.el: Make them work in header-lines (bug#12817).
2494 (button-map): Add bindings for header-line and mode-line use.
2495 (button-get, button-put, button-label): `button' may now be a string.
2496 (button-activate): Don't make it a defsubst.
2497 (button--area-button-p, button--area-button-string): New functions.
2498 (make-text-button): Fix the return value when `beg' was a string.
2499 (push-button): Handle the mode-line case.
2500
2501 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2502
2503 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
2504 (sql-signum): Remove. Use `cl-signum' instead.
2505 (sql-read-passwd): Remove; use read-passwd instread.
2506 (sql-get-login-ext): Use read-string.
2507 (sql-get-login): Use dolist and pcase.
2508 (sql--completion-table): Rename from sql-try-completion.
2509 Use complete-with-action.
2510 (sql-mode): Don't change abbrev-all-caps globally.
2511 (sql-connect): Don't rely on dynamic scoping for `new-name'.
2512 (sql-postgres-completion-object): Initialize vars in their `let'.
2513 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
2514 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
2515 (sql-comint-interbase): Use a single append, without setq.
2516 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
2517
2518 * hi-lock.el: Rework the default face and the serialize regexp code.
2519 (hi-lock--auto-select-face-defaults): Remove.
2520 (hi-lock-string-serialize-serial): Remove.
2521 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
2522 make weak.
2523 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
2524 equal string.
2525 (hi-lock-set-pattern): Adjust accordingly.
2526 (hi-lock--regexps-at-point): Simplify accordingly.
2527 (hi-lock--auto-select-face-defaults): Remove.
2528 (hi-lock--last-face): New var to replace it.
2529 (hi-lock-read-face-name): Rewrite (bug#11095).
2530 (hi-lock-unface-buffer): Arrange for the face to be the next default.
2531
2532 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
2533
2534 * net/tramp.el (tramp-replace-environment-variables):
2535 Hide compiler warning.
2536 (tramp-file-name-for-operation): Remove `executable-find',
2537 `start-process', `call-process' and `call-process-region'.
2538
2539 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
2540
2541 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
2542 compatibility.
2543
2544 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
2545
2546 2012-12-06 Chong Yidong <cyd@gnu.org>
2547
2548 * ffap.el (ffap-replace-file-component): Fix typo.
2549
2550 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2551
2552 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
2553 fix open-paren-like token test (bug#12785).
2554
2555 2012-12-06 Glenn Morris <rgm@gnu.org>
2556
2557 * mail/rmailsum.el (rmail-new-summary): Tweak for
2558 rmail-maybe-display-summary changing buffer. (Bug#13066)
2559
2560 2012-12-06 Juri Linkov <juri@jurta.org>
2561
2562 * info.el (Info-fontify-node): Don't hide the last newline.
2563 (Bug#12272)
2564
2565 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
2566
2567 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
2568 so as to enable message-read-from-minibuffer to expand mail aliases.
2569
2570 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
2571
2572 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
2573 the `intangible' property.
2574 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
2575
2576 2012-12-05 Deniz Dogan <deniz@dogan.se>
2577
2578 * net/rcirc.el (rcirc-urls): Update documentation.
2579 (rcirc-condition-filter): New function.
2580 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
2581 and exclude consecutive duplicate URLs (Bug#6082).
2582
2583 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
2584
2585 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2586 Check return code of copy command.
2587
2588 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
2589 Use group `tramp'. Add version.
2590
2591 2012-12-05 Chong Yidong <cyd@gnu.org>
2592
2593 * ffap.el (ffap-url-regexp): Don't require matching at front of
2594 string (Bug#4952).
2595 (ffap-url-p): If only a substring matches, return that.
2596 (ffap-url-at-point): Use the return value of ffap-url-p.
2597 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
2598 (find-file-at-point, dired-at-point, dired-at-point-prompter)
2599 (ffap-guess-file-name-at-point): Likewise.
2600 (ffap-replace-file-component): Fix typo.
2601
2602 * info.el (info-display-manual): Add existing Info buffers, whose
2603 files may not be in Info-directory-list, to the completion.
2604 (info--manual-names): New helper function.
2605
2606 2012-12-05 Glenn Morris <rgm@gnu.org>
2607
2608 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
2609 New functions, for detecting and resolving conflicts. (Bug#10709)
2610
2611 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
2612
2613 * hi-lock.el (hi-lock-auto-select-face): New user variable.
2614 (hi-lock-auto-select-face-defaults): New buffer local variable.
2615 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
2616 (hi-lock-unface-buffer): Prompt user with useful defaults.
2617 With prefix arg, unhighlight all hi-lock patterns in buffer.
2618
2619 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2620
2621 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
2622
2623 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
2624
2625 * Makefile.in (TRAMP_SRC):
2626 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
2627
2628 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
2629
2630 * net/tramp-adb.el: New package.
2631
2632 2012-12-04 Chong Yidong <cyd@gnu.org>
2633
2634 * terminal.el: Move to obsolete/.
2635
2636 * longlines.el: Move to obsolete/.
2637
2638 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
2639 Remove code referring to longlines mode.
2640
2641 2012-12-03 Juri Linkov <juri@jurta.org>
2642
2643 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
2644
2645 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2646
2647 * textmodes/ispell.el (ispell-init-process)
2648 (ispell-start-process, ispell-internal-change-dictionary):
2649 Make sure personal dictionary name is expanded after initial
2650 `default-directory' value. Use expanded strings for
2651 keep/restart checks and for value (Bug#13019).
2652
2653 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2654
2655 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
2656
2657 2012-12-03 Leo Liu <sdl.web@gmail.com>
2658
2659 * files.el (dir-locals-read-from-file): Check file non-empty
2660 before reading. (Bug#13038)
2661
2662 2012-12-03 Glenn Morris <rgm@gnu.org>
2663
2664 * jka-cmpr-hook.el (jka-compr-get-compression-info):
2665 Remove any version extension before checking filename. (Bug#13006)
2666 (jka-compr-compression-info-list): Belated :version bump.
2667
2668 2012-12-03 Chong Yidong <cyd@gnu.org>
2669
2670 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
2671
2672 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
2673 (buffer-menu): Doc fix (Bug#12294).
2674
2675 2012-12-03 Roland Winkler <winkler@gnu.org>
2676
2677 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
2678 of diary-show-all-entries in the diary buffer (Bug#12994).
2679
2680 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
2681
2682 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
2683 "<STDIN>". This is binary safe.
2684
2685 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
2686
2687 * calc/calc-forms.el (math-absolute-from-iso-dt)
2688 (math-date-to-iso-dt, math-parse-iso-date-validate)
2689 (math-iso-dt-to-date): New functions.
2690 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
2691 (math-fd-isoweekday): New variables.
2692 (calc-date-notation, math-parse-standard-date, math-format-date)
2693 (math-format-date-part): Add support for more formatting codes.
2694
2695 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
2696
2697 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
2698 current buffer's file name when called interactively (Bug#12488).
2699
2700 2012-12-02 Juri Linkov <juri@jurta.org>
2701
2702 * info.el (info-display-manual): Don't clobber an existing Info
2703 buffer (Bug#10770). Add completion (Bug#10771).
2704
2705 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
2706
2707 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
2708 before using it for comparison (Bug#5297).
2709
2710 2012-12-01 Jari Aalto <jari.aalto@cante.net>
2711
2712 * textmodes/css-mode.el (css-current-defun-name): New function.
2713 (css-mode): Use it.
2714
2715 * textmodes/sgml-mode.el (html-current-defun-name): New function.
2716 (html-mode): Use it.
2717
2718 2012-12-01 Chong Yidong <cyd@gnu.org>
2719
2720 Modularize add-log-current-defun (Bug#2224).
2721 Suggested by Jari Aalto.
2722
2723 * vc/add-log.el (add-log-current-defun-function): Doc fix.
2724 (add-log-current-defun): Move mode-specific code to other files.
2725 (add-log-lisp-like-modes, add-log-c-like-modes)
2726 (add-log-tex-like-modes): Variables deleted.
2727
2728 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
2729 (lisp-mode-variables): Use it.
2730
2731 * progmodes/cc-mode.el (c-common-init):
2732 * progmodes/cperl-mode.el (cperl-mode): Set a value for
2733 add-log-current-defun-function.
2734
2735 * progmodes/m4-mode.el (m4-current-defun-name): New function.
2736 (m4-mode): Use it.
2737
2738 * progmodes/perl-mode.el (perl-current-defun-name): New.
2739 (perl-mode): Use it.
2740
2741 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
2742 Use lisp-current-defun-name.
2743
2744 * textmodes/tex-mode.el (tex-current-defun-name): New.
2745 (tex-common-initialization): Use it.
2746
2747 * textmodes/texinfo.el (texinfo-current-defun-name): New.
2748 (texinfo-mode): Use it.
2749
2750 2012-12-01 Chong Yidong <cyd@gnu.org>
2751
2752 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
2753 * progmodes/autoconf.el (autoconf-mode):
2754 * progmodes/js.el (js-mode):
2755 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
2756 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
2757 * progmodes/perl-mode.el (perl-mode):
2758 * progmodes/sh-script.el (sh-mode, sh-set-shell):
2759 * textmodes/css-mode.el (css-mode):
2760 * textmodes/sgml-mode.el (html-mode, sgml-mode)
2761 (sgml-tags-invisible, sgml-guess-indent):
2762 * textmodes/tex-mode.el (tex-common-initialization)
2763 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
2764 (doctex-mode, plain-tex-mode, latex-mode):
2765 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
2766
2767 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
2768
2769 * vc/vc-hg.el (vc-hg-next-revision):
2770 Ensure use of default "tip" output format. (Bug#6968)
2771
2772 2012-12-01 Kim F. Storm <storm@cua.dk>
2773
2774 * startup.el (fancy-startup-tail): Add a clickable link
2775 (Bug#2176).
2776
2777 2012-12-01 Chong Yidong <cyd@gnu.org>
2778
2779 * startup.el (fancy-startup-tail): Improve the message about
2780 auto-save files (Bug#2176).
2781
2782 * files.el (recover-session): Improve the descriptive message, and
2783 use substitute-command-keys.
2784
2785 2012-12-01 Glenn Morris <rgm@gnu.org>
2786
2787 * ido.el (ido-file-internal):
2788 Handle other-window, other-frame for dired. (Bug#13036)
2789
2790 2012-11-30 Glenn Morris <rgm@gnu.org>
2791
2792 * icomplete.el (icomplete-separator): Fix :version.
2793
2794 2012-11-30 Chong Yidong <cyd@gnu.org>
2795
2796 * shell.el (shell): For C-u M-x shell, use an inactive shell
2797 buffer as the default (Bug#1975).
2798 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
2799 (shell-mode): Use them to reapply ansi colorization if Shell mode
2800 is re-enabled.
2801
2802 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
2803
2804 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
2805
2806 2012-11-30 Samuel Bronson <naesten@gmail.com>
2807
2808 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
2809 flag to xargs, for compatibility with BSD xargs (Bug#11703).
2810
2811 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
2812
2813 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
2814 by move-to-column (Bug#3234).
2815
2816 2012-11-30 Chong Yidong <cyd@gnu.org>
2817
2818 * longlines.el (longlines-wrap-line, longlines-encode-region):
2819 Preserve text properties (Bug#1425).
2820
2821 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
2822
2823 * vc/vc.el (vc-register): Allow registering a file which is
2824 already registered with a different backend (Bug#10589).
2825
2826 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
2827 Stefan Monnier <monnier@iro.umontreal.ca>
2828
2829 * icomplete.el: Change separator; add ido-style commands.
2830 (icomplete-show-key-bindings): Remove custom var.
2831 (icomplete-get-keys): Remove function.
2832 (icomplete-forward-completions, icomplete-backward-completions):
2833 New commands.
2834 (icomplete-minibuffer-map): New var.
2835 (icomplete-minibuffer-setup): Use it.
2836 (icomplete-exhibit): Don't delay if the list of completions is known.
2837 (icomplete-separator): New custom.
2838 (icomplete-completions): Use it.
2839 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
2840 (minibuffer-force-complete-and-exit): New command.
2841 (minibuffer--complete-and-exit): New function extracted from
2842 minibuffer-complete-and-exit.
2843 (minibuffer-complete-and-exit): Use it.
2844
2845 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
2846 error message when the file doesn't exist (bug#12974).
2847
2848 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
2849
2850 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
2851
2852 2012-11-29 Glenn Morris <rgm@gnu.org>
2853
2854 * files.el (hack-dir-local-variables): Warn if try to set
2855 coding via dir-locals, since it doesn't work. (Bug#7169)
2856
2857 Add desktop support for restoring vc-dir buffers. (Bug#10606)
2858 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
2859 Set buffer-local value of desktop-save-buffer.
2860 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
2861 New functions.
2862 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
2863 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
2864
2865 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
2866 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
2867 Doc fix.
2868 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
2869 Doc fixes.
2870
2871 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
2872
2873 * calc/calc-forms.el (calc-date-notation): Fix regexp
2874 used to find time codes. Fix symbol for seconds.
2875
2876 2012-11-27 Glenn Morris <rgm@gnu.org>
2877
2878 * emacs-lisp/derived.el (derived-mode-make-docstring):
2879 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
2880
2881 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2882
2883 * textmodes/table.el (table-insert): Don't use `symbol-name' on
2884 lexically scoped variables (bug#13005).
2885
2886 2012-11-27 Glenn Morris <rgm@gnu.org>
2887
2888 * vc/vc-hooks.el (vc-mistrust-permissions):
2889 Default to t, to avoid data-loss. (Bug#11490)
2890
2891 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
2892
2893 * progmodes/python.el (python-indent-guess-indent-offset):
2894 If indentation is guessed make python-indent-offset buffer-local.
2895
2896 Fix Imenu regression.
2897 * progmodes/python.el (python-nav-beginning-of-defun):
2898 Fix forward movement when statement(s) separates point from defun.
2899 (python-imenu-prev-index-position): New function.
2900
2901 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2902
2903 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
2904
2905 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2906 Don't set buffer-file-type. Return nil. (Bug#12989)
2907
2908 2012-11-27 Glenn Morris <rgm@gnu.org>
2909
2910 * hippie-exp.el (hippie-expand-try-functions-list):
2911 Re-autoload it. (Bug#12982)
2912
2913 2012-11-27 Eli Zaretskii <eliz@gnu.org>
2914
2915 * descr-text.el (describe-char-padded-string):
2916 Call internal-char-font only on GUI frames. (Bug#11964)
2917
2918 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
2919
2920 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
2921 and obsoletion message.
2922
2923 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
2924
2925 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
2926 the constructs to keep outside of the `cl-block' (bug#12977).
2927
2928 2012-11-27 Chong Yidong <cyd@gnu.org>
2929
2930 * mouse.el (mouse-drag-line): Even if the line is not draggable,
2931 keep reading until we get the up-event anyway, in order to process
2932 the up-event for mouse-1-click-follows-link (Bug#12971).
2933
2934 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
2935
2936 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
2937 base function is not yet defined (bug#12965).
2938 (ad-activate-advised-definition): Use ad-compile-function.
2939 (ad-activate): Use cond.
2940
2941 2012-11-25 Leo Liu <sdl.web@gmail.com>
2942
2943 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
2944 (Bug#12979)
2945
2946 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2947
2948 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
2949 reftex-section-info-function in order to be compatible with
2950 Texinfo integration.
2951
2952 * textmodes/reftex.el (reftex-section-pre-regexp)
2953 (reftex-section-post-regexp, reftex-section-info-function):
2954 New variable.
2955 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
2956 reftex-section-post-regexp, and reftex-section-info-function in order
2957 to be compatible with Texinfo integration.
2958
2959 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2960 use reftex-section-pre-regexp variable in order to be compatible with
2961 Texinfo integration.
2962
2963 2012-11-25 Chong Yidong <cyd@gnu.org>
2964
2965 * faces.el: Make face-spec-set more analogous to setq.
2966 (face-spec-set): Change the third arg to specify whether this
2967 function is being called via defface, customize, or a third party.
2968 Set the appropriate symbol properties. Clear the override spec if
2969 setting via Custom. Initialize face if necessary. (Bug#4988)
2970 (face-spec-recalc): Allow theme faces to completely replace the
2971 defface spec, in the same way as custom faces (Bug#8454).
2972
2973 * cus-face.el (custom-declare-face): Move face initialization to
2974 face-spec-set.
2975 (custom-theme-set-faces): Don't initialize the face name here, as
2976 that is now done in face-spec-set.
2977
2978 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
2979 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
2980 Simplify by using the new arg to face-spec-set.
2981
2982 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
2983 reset face-override-spec too, and use custom-declare-face.
2984
2985 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
2986
2987 * term/ns-win.el (ns-initialize-window-system): Move creation of
2988 fontsets here (Bug#11964).
2989
2990 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
2991
2992 * ses.el (ses-rename-cell): Correct bug on mode-line update after
2993 cell renaming.
2994
2995 2012-11-24 Chong Yidong <cyd@gnu.org>
2996
2997 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
2998 obsolete.
2999
3000 * custom.el (custom-theme-set-variables): Use a topological sort
3001 for ordering by custom dependencies (Bug#12952).
3002 (custom--sort-vars, custom--sort-vars-1): New functions.
3003
3004 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
3005
3006 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
3007 lexical-binding (bug#12938).
3008
3009 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
3010
3011 * image-mode.el (image-transform-check-size): Use assertions only
3012 for images of type imagemagick.
3013
3014 Otherwise no error, image-transform-fit-to-{width,height} is
3015 silently ignored, as before. Doc fix.
3016
3017 2012-11-24 Chong Yidong <cyd@gnu.org>
3018
3019 * faces.el (color-defined-p): Doc fix (Bug#12853).
3020
3021 2012-11-24 Juri Linkov <juri@jurta.org>
3022
3023 * dired.el (dired-mark): Add optional arg `interactive'.
3024 Check for `use-region-p' if `interactive' is non-nil.
3025 (dired-unmark, dired-flag-file-deletion): Add optional arg
3026 `interactive'. Call `dired-mark' with the arg `interactive'.
3027 (Bug#10624)
3028
3029 * wdired.el: Revert 2012-10-17 change partly and replace it with
3030 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
3031 (wdired-finish-edit): Add marks for new file names to
3032 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
3033 after `revert-buffer'.
3034 (wdired-do-renames): Remove calls to `dired-remove-file',
3035 `dired-add-file', `dired-add-entry'. (Bug#11795)
3036
3037 2012-11-24 Alan Mackenzie <acm@muc.de>
3038
3039 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
3040
3041 Fix bugs in the state cache. Enhance a debugging mechanism.
3042 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
3043 "brace at column zero" strategy for C++.
3044 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
3045 (c-parse-state-point): New variable.
3046 (c-record-parse-state-state): Record old parse state with
3047 `copy-tree'. Record previous value of point.
3048 (c-debug-parse-state-double-cons): New debugging function.
3049 (c-debug-parse-state): Call the above new function.
3050 (c-toggle-parse-state-debug): Output a confirmatory message.
3051
3052 * progmodes/cc-mode.el (c-before-change, c-after-change):
3053 Call c-invalidate-state-cache from `c-before-change' instead of
3054 `c-after-change'.
3055
3056 2012-11-23 Chong Yidong <cyd@gnu.org>
3057
3058 * find-cmd.el (find-constituents): Add executable, ipath,
3059 readable, samefile, writable, daystart, regextype (Bug#12856).
3060
3061 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
3062
3063 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
3064
3065 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
3066
3067 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
3068 definition. This fixes a bootstrap failure.
3069 (calc-gregorian-switch): In menu, put dates before regions.
3070 This is easier to follow, lines up better in the menu, and lets us
3071 coalesce regions that switch at the same time. Give country
3072 names, not "Vatican", as that's better for non-expert users.
3073 Use names that are stable between the date of switch and now, e.g.,
3074 Bohemia and Moravia (which existed then and now) and not
3075 Czechoslovakia (which didn't exist then and doesn't exist now).
3076 What is now the U.S. mostly did not switch at the same time as
3077 Britain, so omit the U.S. Correct spelling of "Britain".
3078 Catholic Switzerland was too much of a mess, so omit it.
3079
3080 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
3081
3082 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
3083 after the variable is changed.
3084
3085 2012-11-21 Daniel Colascione <dancol@dancol.org>
3086
3087 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
3088 in SQL declarations for font-lock.
3089 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
3090
3091 2012-11-21 Glenn Morris <rgm@gnu.org>
3092
3093 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
3094 (face-italic-p): Add optional argument "inherit".
3095
3096 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
3097 Remove -p suffix from names, for consistency with other set-face-*.
3098 (set-face-inverse-video): Fix interactive spec.
3099 * play/gamegrid.el (gamegrid-make-mono-tty-face):
3100 * textmodes/table.el (table--update-cell-face):
3101 Use set-face-inverse-video rather than now obsolete alias.
3102
3103 2012-11-21 Eli Zaretskii <eliz@gnu.org>
3104
3105 * simple.el (line-move): Don't call line-move-partial if
3106 scroll-conservatively is in effect. (Bug#12927)
3107
3108 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3109
3110 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
3111 Fallback on completion-at-point rather than
3112 pcomplete-expand-and-complete, and only if pcomplete actually failed.
3113 (eshell-cmpl-initialize): Setup completion-at-point.
3114
3115 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
3116
3117 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
3118
3119 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
3120
3121 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
3122 are remote, check out-of-band property for both.
3123
3124 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3125
3126 * window.el (switch-to-buffer): Re-add the warning that was lost in the
3127 code rewrite.
3128
3129 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
3130
3131 More minor time fixes.
3132 * calendar/time-date.el: Commentary fix.
3133 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
3134 too much other code depends on (0 0) time stamps.
3135 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
3136 Add a couple of FIXME comments.
3137
3138 Minor cleanup for times as lists of four integers.
3139 * files.el (dir-locals-directory-cache):
3140 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
3141 Doc fixes.
3142 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
3143 * ps-bdf.el (bdf-file-newer-than-time):
3144 Process four-integers time stamps, not two. Doc fixes.
3145
3146 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
3147
3148 * uniquify.el (uniquify-managed): Use defvar-local.
3149 (rename-buffer, create-file-buffer): Advise with advice-add.
3150 (uniquify-unload-function): Unadvise accordingly.
3151
3152 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
3153 (trace-buffer): Don't purecopy.
3154 (trace-entry-message, trace-exit-message): Add `context' arg.
3155 (trace--timer): New var.
3156 (trace-make-advice): Adjust for use in nadvice.
3157 Add `context' argument. Delay `display-buffer' via a timer.
3158 (trace-function-internal): Use advice-add.
3159 (trace--read-args): New function.
3160 (trace-function-foreground, trace-function-background): Use it.
3161 (trace-function): Rename to trace-function-foreground and redefine as
3162 an alias to that new name.
3163 (untrace-function, untrace-all): Adjust to the use of nadvice.
3164
3165 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
3166
3167 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
3168
3169 * subr.el (called-interactively-p-functions): New var.
3170 (internal--called-interactively-p--get-frame): New macro.
3171 (called-interactively-p, interactive-p): Rewrite in Lisp.
3172 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
3173 (called-interactively-p-functions): Use it.
3174 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
3175 (called-interactively-p-functions): Use it.
3176 * allout.el (allout-called-interactively-p): Don't assume
3177 called-interactively-p is a subr.
3178
3179 2012-11-20 Glenn Morris <rgm@gnu.org>
3180
3181 * profiler.el (profiler-report-mode-map): Add a menu.
3182 No need to bind `q' because we derive from special-mode.
3183 (profiler-report-find-entry): Handle calls from the menu-bar.
3184
3185 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
3186
3187 * emacs-lisp/byte-run.el (defun-declarations-alist):
3188 Allow a compiler-macro to be a lambda expression.
3189
3190 * progmodes/python.el: Use cl-lib. Move var declarations outside of
3191 eval-when-compile.
3192 (python-syntax-context): Add compiler-macro.
3193 (python-font-lock-keywords): Simplify with De Morgan.
3194
3195 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
3196
3197 * files.el (load-file): Require match in minibuffer selection, as was
3198 the case in Emacs-20 before we changed the spec to allow .elc files
3199 (bug#12935).
3200
3201 * json.el: Don't require cl since we don't use it.
3202 * color.el: Don't require cl.
3203 (color-complement): `caddr' -> `nth 2'.
3204
3205 * calendar/time-date.el (time-to-seconds): De-obsolete.
3206
3207 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
3208
3209 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
3210 year numbers.
3211 (math-date-to-julian-dt): Adjust the initial approximation for the
3212 year to deal with the new definition of the DATE.
3213
3214 2012-11-19 Daniel Colascione <dancol@dancol.org>
3215
3216 * term/w32-win.el (cygwin-convert-path-from-windows):
3217 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
3218
3219 2012-11-18 Chong Yidong <cyd@gnu.org>
3220
3221 * filecache.el (file-cache--read-list): New function.
3222 (file-cache-add-directory-list, file-cache-add-file-list)
3223 (file-cache-delete-file-list, file-cache-delete-directory-list):
3224 Use it to read a list of files or directories (Bug#12846).
3225 (file-cache-add-file, file-cache-add-directory)
3226 (file-cache-delete-file-list, file-cache-delete-file-regexp)
3227 (file-cache-delete-directory): Print an message.
3228
3229 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
3230
3231 * calc/calc-forms.el (math-date-to-dt): Use integer date when
3232 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
3233
3234 2012-11-18 Glenn Morris <rgm@gnu.org>
3235
3236 * image.el (insert-image, insert-sliced-image): Doc fix.
3237
3238 2012-11-18 Chong Yidong <cyd@gnu.org>
3239
3240 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
3241 (Bug#12810).
3242
3243 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
3244
3245 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
3246 response when the target file is in a subdirectory (Bug#12757).
3247
3248 2012-11-18 Chong Yidong <cyd@gnu.org>
3249
3250 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
3251
3252 2012-11-18 Glenn Morris <rgm@gnu.org>
3253
3254 * emacs-lisp/cl-lib.el (face-underline-p):
3255 Use set-face-underline rather than the alias set-face-underline-p.
3256
3257 * window.el (with-temp-buffer-window): Doc fix.
3258 * subr.el (with-output-to-temp-buffer):
3259 Add doc xref to with-temp-buffer-window.
3260
3261 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
3262
3263 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
3264 * calc/calc.el (math-format-date-cache): Declare.
3265
3266 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
3267
3268 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
3269 It also uses January 1, 1 AD as its day number 1.
3270 * calc/calc-forms.el (math-julian-date-beginning)
3271 (math-julian-date-beginning-int): Implement this.
3272
3273 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
3274
3275 * descr-text.el (quail-find-key):
3276 * dired.el (desktop-file-name):
3277 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
3278 * generic-x.el (comint-mode, comint-exec):
3279 * image-dired.el (widget-forward):
3280 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
3281 (speedbar-change-expand-button-char)
3282 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
3283 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
3284 * printing.el (easy-menu-add-item, easy-menu-remove-item)
3285 (widget-field-action, widget-value-set):
3286 * speedbar.el (imenu--make-index-alist):
3287 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
3288 (ring-length, ring-insert):
3289 * vcursor.el (compare-windows-skip-whitespace):
3290 * woman.el (dired-get-filename):
3291 Declare functions.
3292
3293 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
3294
3295 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3296
3297 * calc/calc.el (calc-gregorian-switch): New variable.
3298
3299 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
3300 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
3301 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
3302 (math-leap-year-p): Add option to distinguish between Julian
3303 and Gregorian calendars.
3304 (math-day-number): Use `math-day-in-year' to do the computations.
3305 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
3306 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
3307 to do the computations.
3308 (math-date-to-dt): Use `math-date-to-julian-dt' and
3309 `math-date-to-gregorian-dt' to do the computations.
3310 (calcFunc-weekday, math-format-date-part): Use the new version of
3311 the DATE to determine the weekday.
3312 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
3313 when necessary.
3314
3315 2012-11-17 Eli Zaretskii <eliz@gnu.org>
3316
3317 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
3318 Cygwin; otherwise use 'file:'. (Bug#12914)
3319 (cygwin-convert-path-from-windows): Declare, to avoid
3320 byte-compiler warnings.
3321
3322 2012-11-17 Andreas Politz <politza@fh-trier.de>
3323
3324 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
3325 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
3326 prefix and negative numeric prefix args (Bug#12795).
3327
3328 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
3329
3330 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
3331 Don't signal an error with a score that is too low to add to the
3332 list of top scores. (Bug#12779)
3333
3334 2012-11-17 Chong Yidong <cyd@gnu.org>
3335
3336 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
3337
3338 * filecache.el (file-cache-add-file): Handle relative file name in
3339 the argument (Bug#12694).
3340
3341 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
3342
3343 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
3344
3345 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3346
3347 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
3348
3349 * emacs-lisp/cl-lib.el: Set more meaningful version number.
3350
3351 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3352
3353 * window.el (enlarge-window, shrink-window): Don't mention return
3354 value in doc-string (Bug#12896).
3355 (window--display-buffer): Don't resize frames - it won't work
3356 with all window managers and defeat pop-up-frame-alist.
3357 (display-buffer-alist): In doc-string explain that CONDITION can
3358 be a function and which arguments are passed to it (Bug#12854).
3359 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
3360 expressions (Bug#12854).
3361 (display-buffer): Pass ACTION argument to
3362 display-buffer-assq-regexp.
3363
3364 2012-11-16 Glenn Morris <rgm@gnu.org>
3365
3366 * window.el (fit-frame-to-buffer-bottom-margin)
3367 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
3368
3369 * faces.el (face-underline-p): Use face-attribute-specified-or.
3370
3371 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
3372
3373 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
3374
3375 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
3376
3377 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
3378
3379 2012-11-16 Glenn Morris <rgm@gnu.org>
3380
3381 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
3382 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
3383
3384 * faces.el (face-underline-p): Doc fix. Handle :underline being
3385 things other than `t' (a string, a list).
3386 (face-inverse-video-p): Doc fix.
3387 (set-face-underline): Rename it back from set-face-underline-p.
3388 Doc fix. Allow interactive input of values other than t.
3389 (read-face-attribute): Apply formatting to :underline,
3390 since like :box and :stipple it can take list values.
3391
3392 * term.el (ansi-term): Don't let C-x escape-char binding
3393 clobber the more standard C-c binding. (Bug#12842)
3394
3395 * subr.el (set-temporary-overlay-map): Doc fix.
3396
3397 2012-11-16 Martin Rudalics <rudalics@gmx.at>
3398
3399 * window.el (record-window-buffer)
3400 (display-buffer-record-window): When copying the markers to
3401 window-point preserve window-point-insertion-type. (Bug#12588)
3402
3403 2012-11-16 Glenn Morris <rgm@gnu.org>
3404
3405 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
3406 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
3407 Use new names for hooks rather than obsolete aliases.
3408
3409 2012-11-15 Daniel Colascione <dancol@dancol.org>
3410
3411 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
3412 prefix instead of "file:" so that when FILE-NAME begins with "//",
3413 as it does when the target file is on a network share, url-handler
3414 isn't confused.
3415
3416 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3417
3418 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
3419 a preactivated advice from an old advice.el; they're not compatible!
3420
3421 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
3422
3423 * emacs-lisp/nadvice.el (advice--make-interactive-form):
3424 Fix string-spec case.
3425
3426 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
3427
3428 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3429
3430 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
3431 (advice--buffer-local-function-sample): New var.
3432 (advice--set-buffer-local, advice--buffer-local): New functions.
3433 (add-function, remove-function): Use them.
3434
3435 2012-11-15 Drew Adams <drew.adams@oracle.com>
3436
3437 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
3438
3439 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
3440
3441 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
3442 potential binding of print-gensym to t, and prettify (back)quotes in
3443 case they appear in args's default values (bug#12884).
3444
3445 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3446
3447 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
3448 (advice-eval-interactive-spec): New function.
3449 (advice--make-interactive-form): Support around advice (bug#12844).
3450
3451 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
3452
3453 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
3454 more strict. Add docstring.
3455 (ruby-expression-expansion-re): Extract from
3456 `ruby-match-expression-expansion'.
3457 (ruby-syntax-propertize-function): After everything else, search
3458 for expansions in string literals, mark their insides as
3459 whitespace syntax and save match data for font-lock.
3460 (ruby-font-lock-keywords): Use the 2nd group from expression
3461 expansion matches.
3462 (ruby-match-expression-expansion): Use the match data saved to the
3463 text property in ruby-syntax-propertize-function.
3464
3465 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3466
3467 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
3468 (bug#12879).
3469
3470 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3471
3472 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
3473 start/end keyword a bit harder. Works with different values of N.
3474 Add more comments.
3475 (ruby-end-of-block): Update accordingly.
3476
3477 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3478
3479 * woman.el (woman-file-name): Don't mess with unread-command-events
3480 (bug#12861).
3481
3482 * emacs-lisp/advice.el: Layer on top of nadvice.el.
3483 Remove out of date self-require hack.
3484 (ad-do-advised-functions): Use simple `dolist'.
3485 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
3486 (ad-advice-definition): Redefine as functions.
3487 (ad-advice-classes): Move before first use.
3488 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
3489 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
3490 (ad--defalias-fset): Remove functions.
3491 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
3492 (ad-get-orig-definition): Rewrite.
3493 (ad-make-advised-definition-docstring): Change base docstring.
3494 (ad-real-orig-definition): Rewrite.
3495 (ad-map-arglists): Change name of called function.
3496 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
3497 (ad-make-advised-definition): Simplify.
3498 (ad-assemble-advised-definition): Tweak for new calling context.
3499 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
3500 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
3501 function and call ad-activate if needed.
3502 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
3503 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
3504 (ad-compile-function): Compile ad-Advice-*.
3505 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
3506 (ad-start-advice, ad-stop-advice): Remove.
3507
3508 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3509
3510 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
3511 period before class method names, not after. Remove handling of
3512 one impossible case. Add comments.
3513
3514 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3515
3516 * emacs-lisp/advice.el: Remove support for freezing.
3517 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
3518 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
3519 Remove support for `freeze'.
3520
3521 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
3522 override the default.
3523 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
3524 cl--dotimes/dolist.
3525 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
3526 `cl' is loaded.
3527
3528 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
3529 from add-advice.
3530 (advice--strip-macro): New function.
3531 (advice--defalias-fset): Use them to handle macros.
3532 (advice-add): Use them.
3533 (advice-member-p): Correctly handle macros.
3534
3535 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3536
3537 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3538 Never font-lock the beginning of singleton class as heredoc.
3539
3540 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
3541
3542 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
3543
3544 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
3545
3546 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
3547 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
3548 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
3549
3550 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
3551
3552 Fix end-of-defun misbehavior.
3553 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
3554 python-beginning-of-defun-function. Handle nested defuns
3555 correctly.
3556 (python-nav-end-of-defun): Rename from
3557 python-end-of-defun-function. Ensure forward movement.
3558 (python-info-current-defun): Reimplement to work as intended
3559 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
3560 parent defuns as soon as possible.
3561
3562 2012-11-13 Glenn Morris <rgm@gnu.org>
3563
3564 * progmodes/flymake.el (flymake-error-bitmap)
3565 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
3566 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
3567
3568 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
3569
3570 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
3571 backward, always stop at indentation. Reverts the change from
3572 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
3573
3574 2012-11-13 Glenn Morris <rgm@gnu.org>
3575
3576 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
3577 Add ibuffer-filter-by-derived-mode.
3578
3579 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
3580 the same name shadowing each other.
3581
3582 * window.el (with-temp-buffer-window): Doc tweak.
3583
3584 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
3585
3586 * help.el (temp-buffer-max-height):
3587 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
3588 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
3589
3590 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
3591
3592 * emacs-lisp/nadvice.el: New package.
3593 * subr.el (special-form-p): New function.
3594 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
3595 (elp-all-instrumented-list): Remove var.
3596 (elp-not-profilable): Remove elp-wrapper.
3597 (elp-profilable-p): Use autoloadp and special-form-p.
3598 (elp--advice-name): New const.
3599 (elp-instrument-function): Use advice-add.
3600 (elp--instrumented-p): New predicate.
3601 (elp-restore-function): Use advice-remove.
3602 (elp-restore-all, elp-reset-all): Use mapatoms.
3603 (elp-set-master): Use elp--instrumented-p.
3604 (elp--make-wrapper): Rename from elp-wrapper, return a function
3605 suitable for advice-add. Use cl-inf.
3606 (elp-results): Use mapatoms+elp--instrumented-p.
3607 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
3608 (debug-function-list): Remove var.
3609 (debug): Rename arg, and then let-bind it explicitly inside.
3610 (debugger-setup-buffer): Rename arg.
3611 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
3612 (debugger-frame-number): Adjust to new debug-on-entry setup.
3613 (debug--implement-debug-on-entry): Rename from
3614 implement-debug-on-entry, add argument.
3615 (debugger-special-form-p): Remove, use special-form-p instead.
3616 (debug-on-entry): Use advice-add.
3617 (debug--function-list): New function.
3618 (cancel-debug-on-entry): Use it, along with advice-remove.
3619 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
3620 (debugger-list-functions): Use debug--function-list instead of
3621 debug-function-list.
3622 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
3623 (ad-special-form-p): Remove, use special-form-p instead.
3624 (ad-set-advice-info): Use add-function and remove-function.
3625 (ad--defalias-fset): Adjust accordingly.
3626
3627 2012-11-10 Glenn Morris <rgm@gnu.org>
3628
3629 * mail/emacsbug.el (report-emacs-bug-tracker-url)
3630 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
3631 (report-emacs-bug-create-existing-bugs-buffer)
3632 (report-emacs-bug-parse-query-results)
3633 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
3634
3635 * term.el (term-default-fg-color, term-default-bg-color):
3636 Make obsolete, rather than just saying "deprecated" in the doc.
3637
3638 * term.el (term): Rename from `term-face'.
3639 (term-current-face, ansi-term-color-vector)
3640 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
3641 Update all users.
3642
3643 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
3644
3645 * server.el (server-create-window-system-frame): Handle Nextstep
3646 specially (Bug#12780).
3647
3648 2012-11-10 Glenn Morris <rgm@gnu.org>
3649
3650 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
3651 Unautoload, and make obsolete. (Bug#7449)
3652
3653 2012-11-10 Chong Yidong <cyd@gnu.org>
3654
3655 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
3656 rename from diff-remove-trailing-whitespace (Bug#12831).
3657
3658 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3659
3660 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
3661 miscompilation of trace.el.
3662
3663 2012-11-10 Glenn Morris <rgm@gnu.org>
3664
3665 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
3666
3667 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3668
3669 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
3670 (bug#12812).
3671
3672 2012-11-10 Chong Yidong <cyd@gnu.org>
3673
3674 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
3675 a defcustom with an appropriate :set function.
3676 (minibuffer-default--in-prompt-regexps): New function.
3677
3678 2012-11-10 Glenn Morris <rgm@gnu.org>
3679
3680 * emacs-lisp/cl.el (define-setf-expander, defsetf)
3681 (define-modify-macro): Doc fixes.
3682
3683 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
3684 (gv-define-simple-setter): Update doc of `fix-return'.
3685
3686 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
3687
3688 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
3689 twice when `fix-return' is set (bug#12813).
3690
3691 * emacs-lisp/cl.el (defsetf): Pass the third arg to
3692 gv-define-simple-setter (bug#12812).
3693
3694 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
3695 (bug#12756).
3696
3697 2012-11-10 Glenn Morris <rgm@gnu.org>
3698
3699 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
3700
3701 * emacs-lisp/cl-extra.el (cl-prettyexpand):
3702 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
3703 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
3704 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
3705
3706 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
3707
3708 2012-11-10 Leo Liu <sdl.web@gmail.com>
3709
3710 * ido.el (ido-set-matches-1): Improve flex matching performance by
3711 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
3712
3713 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3714
3715 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
3716 (ad--defalias-fset): New function.
3717 (ad-safe-fset): Remove.
3718 (ad-make-freeze-definition): Use cl-letf*.
3719
3720 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3721
3722 * subr.el (dolist): Don't bind VAR in RESULT.
3723
3724 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
3725 (fset, documentation): Don't save real def since we don't advise.
3726 (ad-do-advised-functions): Remove problematic `result-form'.
3727 (ad-safe-fset): `ad-real-fset' => `fset'.
3728 (ad-read-advised-function): Don't assume that ad-do-advised-functions
3729 uses CL's dolist internally.
3730 (ad-arglist): Remove unused arg `name'.
3731 (ad-docstring, ad-make-advised-docstring):
3732 `ad-real-documentation' => `documentation'.
3733 (warning-suppress-types): Declare.
3734 (ad-set-arguments): Simple CSE.
3735 (ad-recover-normality): Sanity check.
3736
3737 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
3738 (funcall '(lambda ..) ..) into ((lambda ..) ..).
3739
3740 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
3741
3742 * ses.el: symbol to coordinate mapping is made by symbol property
3743 `ses-cell'. This means that the same mapping is done for all SES
3744 sheets. That is good enough for cells with standard A1 names, but
3745 not for named cell. So a hash map is added for the latter.
3746 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
3747 (ses-sym-rowcol): Use hashmap for named cell.
3748 (ses-is-cell-sym-p): New defun.
3749 (ses-decode-cell-symbol): New defun.
3750 (ses-create-cell-variable): Add cell to hashmap when name is not
3751 A1-like.
3752 (ses-rename-cell): Check that cell new name is not already in
3753 spreadsheet with the use of ses-is-cell-sym-p
3754 (ses-rename-cell): Use hash map for named cells, but accept also
3755 renaming back to A1-like.
3756
3757 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
3758
3759 * emacs-lisp/advice.el: Use new dynamic docstrings.
3760 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3761 Use dynamic-docstring-function instead of ad-advice-info.
3762 (ad--make-advised-docstring): New function extracted from
3763 ad-make-advised-docstring.
3764 (ad-make-advised-docstring): Use it.
3765 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
3766 from sql-help.
3767 (sql-help): Use it with dynamic-docstring-function.
3768
3769 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
3770
3771 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3772
3773 * files.el (hack-one-local-variable--obsolete): New function.
3774 (hack-one-local-variable): Use it for obsolete settings.
3775
3776 * subr.el (locate-user-emacs-file): If both old and new name exist, use
3777 the new name.
3778
3779 * progmodes/js.el (js--filling-paragraph): New var.
3780 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
3781 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
3782 less sneaky.
3783
3784 2012-11-08 Julien Danjou <julien@danjou.info>
3785
3786 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
3787 `auto-mode-alist' (Bug#12835).
3788
3789 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3790
3791 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
3792 (perl--prettify-symbols-alist): New const.
3793 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
3794 New functions.
3795 (perl-font-lock-keywords-2): Use them.
3796 (perl-electric-noindent-p): New function.
3797 (perl-mode): Use it to set up electric-indent-mode.
3798 (perl-electric-terminator, perl-indent-command): Mark obsolete.
3799 (perl-mode-map): Remove bindings for them.
3800 (perl-imenu-generic-expression, perl-outline-level):
3801 Match functions&packages in column>0.
3802
3803 * env.el (env--substitute-vars-regexp): New const.
3804 (substitute-env-vars): Use it. Add `only-defined' arg.
3805 * net/tramp.el (tramp-replace-environment-variables): Use it.
3806
3807 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
3808 Byte-compile *before* eval in eval-and-compile.
3809 (byte-compile-log-warning): Remove redundant inhibit-read-only.
3810 (byte-compile-file-form-autoload): Don't hide actual definition.
3811 (byte-compile-maybe-guarded): Accept `functionp' as well.
3812
3813 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
3814
3815 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
3816
3817 * notifications.el (notifications-get-server-information-method):
3818 New defconst.
3819 (notifications-get-capabilities): Fix docstring.
3820 (notifications-get-server-information): New defun.
3821
3822 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3823
3824 * textmodes/ispell.el (ispell-region): Standard re-indent for better
3825 readability.
3826
3827 * textmodes/ispell.el: Experimental support for support debugging.
3828 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
3829 buffer for ispell.
3830 (ispell-print-if-debug): New function to print stuff to
3831 `ispell-debug-buffer' if debugging is enabled.
3832 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
3833 show some debugging info.
3834 (ispell-buffer-with-debug): New function that creates a debugging
3835 buffer and calls `ispell-buffer' with debugging enabled.
3836
3837 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
3838 comment in autoconf mode. (Bug#12768)
3839
3840 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
3841
3842 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
3843 frame-first-window, frame-root-window, frame-selected-window,
3844 minibuffer-selected-window, minibuffer-window,
3845 window-absolute-pixel-edges, window-at, window-body-height,
3846 window-body-width, window-display-table, window-combination-limit,
3847 window-frame, window-fringes, window-inside-absolute-pixel-edges,
3848 window-inside-edges, window-inside-pixel-edges, window-left-child,
3849 window-left-column, window-margins, window-next-buffers,
3850 window-next-sibling, window-new-normal, window-new-total,
3851 window-normal-size, window-parameter, window-parameters, window-parent,
3852 window-pixel-edges, window-point, window-prev-buffers,
3853 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
3854 window-start, window-text-height, window-top-child, window-top-line,
3855 window-total-height, window-total-width and window-use-time to the list
3856 of functions without side-effects.
3857 (toplevel): Add window-valid-p to the list of error-free functions
3858 without side-effects.
3859
3860 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3861
3862 * textmodes/ispell.el (ispell-program-name):
3863 Update spellchecker parameters when customized.
3864
3865 2012-11-04 Glenn Morris <rgm@gnu.org>
3866
3867 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
3868
3869 2012-11-04 Chong Yidong <cyd@gnu.org>
3870
3871 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
3872 same-window-* variables.
3873
3874 2012-11-04 Juri Linkov <juri@jurta.org>
3875
3876 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
3877 (isearch-describe-key, isearch-describe-mode): Use a display
3878 action instead of binding same-window-* variables (Bug#10040).
3879
3880 2012-11-03 Glenn Morris <rgm@gnu.org>
3881
3882 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
3883 Rename handler properties back from cl-- to cl-. (Bug#12788)
3884
3885 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
3886
3887 2012-11-03 Eli Zaretskii <eliz@gnu.org>
3888
3889 * term/pc-win.el: Don't load term/internal from here.
3890
3891 * loadup.el: Load term/internal from here.
3892
3893 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
3894
3895 * progmodes/python.el (inferior-python-mode): Fix hang in
3896 jit-lock (Bug#12645).
3897
3898 2012-11-03 Martin Rudalics <rudalics@gmx.at>
3899
3900 * window.el (switch-to-visible-buffer)
3901 (switch-to-buffer-preserve-window-point): Fix doc-strings.
3902
3903 2012-11-03 Glenn Morris <rgm@gnu.org>
3904
3905 * emacs-lisp/cl-lib.el (cl--random-time):
3906 Rename from cl-random-time. (Bug#12773)
3907 (cl--gensym-counter, cl--random-state): Update callers.
3908 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
3909
3910 2012-11-03 Chong Yidong <cyd@gnu.org>
3911
3912 * cus-start.el: Make cursor-type customizable (Bug#11633).
3913
3914 2012-11-02 Glenn Morris <rgm@gnu.org>
3915
3916 * filecache.el: No need to load find-lisp when compiling.
3917 (find-lisp-find-files): Autoload it.
3918 (file-cache-add-directory-recursively): Don't require find-lisp.
3919
3920 * image.el (image-type-from-file-name): Trivial simplification.
3921
3922 * emacs-lisp/bytecomp.el (byte-compile-eval):
3923 Decouple "noruntime" and "cl-functions" warnings.
3924
3925 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
3926
3927 * play/gomoku.el (gomoku-display-statistics): Update mode line
3928 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
3929
3930 2012-10-31 Martin Rudalics <rudalics@gmx.at>
3931
3932 * window.el (quit-restore-window): If the window has been
3933 created on an existing frame and ended up as the sole window on
3934 that frame, do not delete it (Bug#12764).
3935
3936 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3937
3938 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3939 Rename from sh--inside-arithmetic-expression, handle more cases
3940 (bug#11263).
3941
3942 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
3943 (sh-font-lock-open-heredoc): Use it (bug#12770).
3944
3945 2012-10-30 Glenn Morris <rgm@gnu.org>
3946
3947 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
3948
3949 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
3950
3951 2012-10-29 Chong Yidong <cyd@gnu.org>
3952
3953 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
3954 function key is stored in a keyboard macro (Bug#4894).
3955
3956 * thingatpt.el (number-at-point): Apply a thing-at-point property.
3957
3958 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3959
3960 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
3961 header comments".
3962 (diff-unified->context, diff-context->unified)
3963 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
3964
3965 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
3966
3967 * files.el (find-alternate-file): Only ask one question (bug#12487).
3968
3969 2012-10-29 Chong Yidong <cyd@gnu.org>
3970
3971 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
3972 Suggested by Dan Nicolaescu (Bug#6326).
3973
3974 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
3975
3976 * startup.el (fancy-about-screen): Don't message (Bug#12680).
3977
3978 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
3979
3980 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
3981
3982 * face-remap.el (face-remap-add-relative): Handle the case where a
3983 face-remapping-alist entry is a cons cell (Bug#12762).
3984
3985 2012-10-29 Kevin Ryde <user42@zip.com.au>
3986
3987 * woman.el (woman-parse-numeric-value): Handle picas correctly
3988 (Bug#12639).
3989
3990 2012-10-29 Glenn Morris <rgm@gnu.org>
3991
3992 * emacs-lisp/cl.el (defsetf): Doc fix.
3993
3994 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3995
3996 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
3997 syntax to the matching opener, if any (bug#12547).
3998 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
3999 matching open as a "case-(".
4000 (sh-smie-rc-grammar): Add a corresponding rule for it.
4001
4002 2012-10-28 Daniel Hackney <dan@haxney.org>
4003
4004 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
4005 "PKGNAME-autoloads.el" in case we created it.
4006
4007 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
4008
4009 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
4010 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
4011 (completion--twq-all): Disable too-strict assertions.
4012
4013 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
4014
4015 2012-10-27 Eli Zaretskii <eliz@gnu.org>
4016
4017 * profiler.el (profiler-report-make-entry-part): Fix help-echo
4018 text to match the real keybindings.
4019
4020 2012-10-27 Juri Linkov <juri@jurta.org>
4021
4022 * wdired.el (wdired-keep-marker-rename): New defcustom.
4023 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
4024 (Bug#11795)
4025
4026 * dired.el (dired-keep-marker-rename): Add reference to
4027 `wdired-keep-marker-rename' in the docstring.
4028 Add default character value ?R to display initially in
4029 Customization UI instead of ?@.
4030
4031 2012-10-27 Martin Rudalics <rudalics@gmx.at>
4032
4033 * window.el (display-buffer): In doc-string describe
4034 window-height and window-width alist entries.
4035
4036 * time.el (display-time-world): Restore fit-window-to-buffer
4037 behavior.
4038
4039 2012-10-27 Chong Yidong <cyd@gnu.org>
4040
4041 * subr.el (insert-buffer-substring-as-yank): Doc fix.
4042
4043 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
4044
4045 * minibuffer.el (completion-category-overrides): New completion
4046 category `bookmark' (bug#11131).
4047
4048 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4049
4050 * emacs-lisp/advice.el (ad-assemble-advised-definition):
4051 Silence bogus compiler warnings for ad-do-it.
4052
4053 * bookmark.el (bookmark-completing-read): Set the completion category
4054 to `bookmark' (bug#11131).
4055
4056 2012-10-26 Bastien <bzg@altern.org>
4057 Stefan Monnier <monnier@iro.umontreal.ca>
4058
4059 * face-remap.el: Use lexical-binding.
4060 (text-scale-adjust): Improve docstring. Use itself for the temporary
4061 overlay-map bindings, so as to repeat the "Use..." message each time.
4062
4063 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4064
4065 * emacs-lisp/macroexp.el (macroexp--expand-all):
4066 Obey byte-compile-warning-enabled-p (bug#12486).
4067
4068 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
4069 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
4070
4071 2012-10-26 Martin Rudalics <rudalics@gmx.at>
4072
4073 * mouse.el (mouse-drag-line): Move last form into preceding when
4074 clause (Bug#12731).
4075
4076 * help.el (resize-temp-buffer-window): Fix doc-string.
4077
4078 2012-10-25 David Engster <deng@randomsample.de>
4079
4080 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
4081 Remove. This feature is already integrated in imenu.
4082
4083 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
4084 always loaded. Require `speedbar' unconditionally.
4085
4086 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4087
4088 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
4089
4090 * minibuffer.el (minibuffer-force-complete): Fix thinko.
4091
4092 * net/ldap.el (ldap-search-internal): The official ldif format starts
4093 with a "version: 1" header (bug#12724).
4094
4095 * emacs-lisp/package.el (package-installed-p): Warn if not ready
4096 (bug#12721).
4097
4098 2012-10-25 Glenn Morris <rgm@gnu.org>
4099
4100 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
4101
4102 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4103
4104 * minibuffer.el (minibuffer-force-complete): Use one more marker
4105 for the temporary-overlay-map command (bug#12619).
4106
4107 2012-10-24 Chong Yidong <cyd@gnu.org>
4108
4109 * time.el (display-time-world-mode): Derive from special-mode.
4110 (display-time-world): Use display-buffer (Bug#12708).
4111 (display-time-world-mode-map): Variable deleted.
4112 (display-time-world-display): Wrap the final delete-char inside
4113 inhibit-read-only.
4114
4115 2012-10-24 Chong Yidong <cyd@gnu.org>
4116
4117 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
4118 Doc fix.
4119
4120 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
4121
4122 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4123
4124 * minibuffer.el (completion--all-sorted-completions-location): New var.
4125 (completion--cache-all-sorted-completions)
4126 (completion--flush-all-sorted-completions): Use it.
4127 (completion-in-region, completion-in-region--postch)
4128 (completion-at-point, completion-help-at-point): Use markers in
4129 completion-in-region--data (bug#12619).
4130
4131 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4132
4133 * progmodes/compile.el (compilation-start): Try to handle common
4134 quoting of `cd' argument (bug#12640).
4135
4136 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
4137 (bug#12671).
4138
4139 2012-10-23 Glenn Morris <rgm@gnu.org>
4140
4141 * progmodes/gud.el (gud-menu-map):
4142 Check gdb-active-process is bound. (Bug#12358)
4143
4144 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4145
4146 * repeat.el (repeat): Set real-this-command (bug#12232).
4147
4148 * htmlfontify.el (hfy-post-html-hook):
4149 * filesets.el (filesets-cache-fill-content-hook):
4150 * arc-mode.el (archive-extract-hook):
4151 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
4152 * net/rcirc.el (rcirc-sentinel-functions)
4153 (rcirc-receive-message-functions, rcirc-activity-functions)
4154 (rcirc-print-functions):
4155 * net/dbus.el (dbus-event-error-functions):
4156 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
4157 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
4158 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
4159 * term/sun.el (sun-raw-prefix-hooks):
4160 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
4161
4162 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
4163
4164 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
4165 Set `tramp-chunksize' to 1. This improves the performance.
4166 (tramp-smb-wait-for-output): Add timeout to
4167 `tramp-accept-process-output' calls.
4168
4169 2012-10-23 Chong Yidong <cyd@gnu.org>
4170
4171 * faces.el (font-list-limit): Define as an obsolete variable.
4172
4173 * startup.el (command-line):
4174 * cus-start.el: Don't refer to font-list-limit.
4175
4176 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
4177
4178 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4179
4180 * subr.el (internal-temp-output-buffer-show): Rename from
4181 temp-output-buffer-show, since previously compiled files expect this name.
4182
4183 2012-10-23 Glenn Morris <rgm@gnu.org>
4184
4185 * image.el (image-type-from-file-name): If multiple types match,
4186 return the first one that is supported. (Bug#9045)
4187
4188 2012-10-22 Glenn Morris <rgm@gnu.org>
4189
4190 * image.el (imagemagick-enabled-types): Doc fix.
4191
4192 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
4193
4194 * progmodes/which-func.el (which-func-current): The hash-table may have
4195 an explicit nil (bug#12338).
4196
4197 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4198
4199 * electric.el (electric-pair-delete-selection-self-insert-function):
4200 Rename to electric-pair-will-use-region, return a boolean.
4201 (electric-pair-mode): Adjust accordingly. Don't require delsel.
4202
4203 * delsel.el (delete-selection-helper): Use a function instead of a hook.
4204 (delete-selection-pre-hook): Use use-region-p.
4205 (delete-selection-self-insert-function): Remove.
4206 (self-insert-command): Obey self-insert-uses-region-functions.
4207 (self-insert-iso): Revert to previous setting, since we don't actually
4208 know what that command does.
4209 (delete-selection-self-insert-hooks): Remove.
4210
4211 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
4212
4213 * delsel.el (delete-selection-helper): New function, extracted from
4214 delete-selection-pre-hook.
4215 (delete-selection-pre-hook): Use it.
4216 (delete-selection-self-insert-function): New function.
4217 (delete-selection-self-insert-hooks): New hook.
4218 (self-insert-command, self-insert-iso): Use it.
4219 * electric.el (electric-pair-syntax): New function, extracted from
4220 electric-pair-post-self-insert-function.
4221 (electric-pair-post-self-insert-function): Use it.
4222 (electric-pair-delete-selection-self-insert-function): New function.
4223 (electric-pair-mode): Require delsel and setup
4224 delete-selection-self-insert-hooks (bug#11520).
4225
4226 2012-10-20 Chong Yidong <cyd@gnu.org>
4227
4228 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
4229 no changes to show (Bug#12586).
4230
4231 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
4232 list explicitly (Bug#12571).
4233
4234 2012-10-20 Arne Jørgensen <arne@arnested.dk>
4235
4236 * progmodes/flymake.el (flymake-create-temp-inplace):
4237 Use file-truename.
4238
4239 2012-10-20 Eli Zaretskii <eliz@gnu.org>
4240
4241 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
4242
4243 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
4244
4245 * calc/calc-units.el (math-extract-units): Properly extract powers
4246 of units.
4247
4248 2012-10-20 Daniel Colascione <dancol@dancol.org>
4249
4250 * frame.el (make-frame): Set x-display-name as we used to in order
4251 to unbreak creating an X11 frame from an Emacs daemon started
4252 without a display.
4253
4254 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4255
4256 * minibuffer.el (minibuffer-force-complete): Make the next completion use
4257 the same completion-field (bug#12221).
4258
4259 2012-10-19 Martin Rudalics <rudalics@gmx.at>
4260
4261 * emacs-lisp/debug.el (debug): Record height of debugger window
4262 also when debugger will be back (Bug#8789).
4263
4264 2012-10-18 Chong Yidong <cyd@gnu.org>
4265
4266 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4267 Convert to defcustom.
4268 (gdb-get-source-file): Don't bind pop-up-windows.
4269
4270 * progmodes/gud.el (gud-display-line): Don't specially re-use
4271 other frames for the gdb-mi case (Bug#12648).
4272
4273 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4274
4275 * emacs-lisp/advice.el: Clean up commentary a bit.
4276 (ad-do-advised-functions, ad-with-originals): Use `declare'.
4277 (byte-code-function-p): Never redefine.
4278
4279 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
4280
4281 2012-10-18 Glenn Morris <rgm@gnu.org>
4282
4283 * dired.el (dired-sort-toggle): Some ls implementations only allow
4284 a single option string. (Bug#12666)
4285
4286 * minibuffer.el (completion-cycle-threshold): Doc fix.
4287
4288 2012-10-17 Kenichi Handa <handa@gnu.org>
4289
4290 * international/mule.el (set-keyboard-coding-system):
4291 Recover input meta mode when the new coding system doesn not use 8-bit.
4292 Supply TERMINAL arg to set-input-meta-mode.
4293
4294 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
4295
4296 * wdired.el (wdired-old-marks): New variable.
4297 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
4298 (wdired-do-renames): Move point with renamed file and don't lose
4299 mark status (Bug#11795).
4300
4301 2012-10-16 Juri Linkov <juri@jurta.org>
4302
4303 * replace.el (query-replace-help): Mention multi-buffer replacement
4304 keys in the Help message. (Bug#12655)
4305
4306 2012-10-15 Chong Yidong <cyd@gnu.org>
4307
4308 * emacs-lisp/byte-run.el (defsubst): Doc fix.
4309
4310 2012-10-14 Eli Zaretskii <eliz@gnu.org>
4311
4312 * window.el (display-buffer): Doc fix.
4313
4314 * progmodes/compile.el (compilation-error-regexp-alist-alist):
4315 Adjust the msft regexp to the output of Studio 2010, and move msft
4316 before edg-1. See the discussion on emacs-devel,
4317 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
4318 for the details.
4319
4320 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4321
4322 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
4323 (oset): Move uses of object-class-fast macro after its definition.
4324
4325 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
4326
4327 2012-10-13 Chong Yidong <cyd@gnu.org>
4328
4329 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
4330 enabled, re-enable it (Bug#11963).
4331
4332 2012-10-13 Martin Rudalics <rudalics@gmx.at>
4333
4334 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
4335 non-nil, restore window configuration (Bug#12623).
4336
4337 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 * help-fns.el (describe-variable, describe-function-1):
4340 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
4341
4342 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
4343
4344 2012-10-12 Glenn Morris <rgm@gnu.org>
4345
4346 * mail/rmailsum.el (rmail-header-summary):
4347 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
4348
4349 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
4350
4351 * progmodes/python.el (python-mode-map):
4352 Replace subtitute-key-definition with proper command remapping.
4353 (python-nav--up-list): Fix behavior for blocks on the same level.
4354
4355 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4356
4357 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
4358
4359 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
4360 changes to the format of load-history.
4361
4362 * international/mule-cmds.el (read-char-by-name): Move let-binding of
4363 completion-ignore-case in case that var is buffer-local (bug#12615).
4364
4365 2012-10-11 Kenichi Handa <handa@gnu.org>
4366
4367 * international/eucjp-ms.el: Re-generated.
4368
4369 2012-10-10 Kenichi Handa <handa@gnu.org>
4370
4371 * select.el (xselect--encode-string): If a coding is specified for
4372 selection, and that is compatible with COMPOUND_TEXT, use it.
4373
4374 2012-10-10 Martin Rudalics <rudalics@gmx.at>
4375
4376 * window.el (switch-to-buffer-preserve-window-point): New option.
4377 (switch-to-buffer):
4378 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
4379
4380 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4381
4382 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
4383 Don't document nil as a useful value (bug#12583).
4384
4385 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
4386
4387 * net/tramp.el (tramp-debug-message):
4388 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
4389 (with-tramp-progress-reporter): Rename from
4390 `tramp-with-progress-reporter'.
4391 (with-tramp-file-property, with-tramp-connection-property):
4392 Move from tramp-cache.el, rename from `with-file-property' and
4393 `with-connection-property', respectively.
4394
4395 * net/tramp-cache.el: Remove `with-file-property' and
4396 `with-connection-property'.
4397
4398 * net/tramp.el:
4399 * net/tramp-gvfs.el:
4400 * net/tramp-sh.el:
4401 * net/tramp-smb.el: Adapt callees.
4402
4403 * net/trampver.el: Update release number.
4404
4405 2012-10-09 Glenn Morris <rgm@gnu.org>
4406
4407 * w32-fns.el (set-message-beep):
4408 * term/w32-win.el (set-message-beep): Update declarations.
4409
4410 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4411
4412 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
4413 (mode-line-widen, mode-line-input-method-map)
4414 (mode-line-coding-system-map, mode-line-remote)
4415 (mode-line-unbury-buffer, mode-line-bury-buffer)
4416 (mode-line-next-buffer, mode-line-previous-buffer):
4417 Replace save-selected-window+select-window => with-selected-window.
4418
4419 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
4420 * progmodes/cc-vars.el (bq-process): Remove, unused.
4421
4422 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
4423
4424 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
4425
4426 Implemented `backward-up-list'-like navigation.
4427 * progmodes/python.el (python-nav-up-list)
4428 (python-nav-backward-up-list): New functions.
4429 (python-mode-map): Define substitute key for backward-up-list to
4430 python-nav-backward-up-list.
4431
4432 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4433
4434 * progmodes/python.el (python-fill-paragraph): Rename from
4435 python-fill-paragraph-function. Fixed fill-paragraph for
4436 decorators (Bug#12605).
4437
4438 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4439
4440 * progmodes/python.el (python-shell-output-filter): Handle extra
4441 carriage return in OSX (Bug#12409).
4442
4443 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4444
4445 Fix shell handling of unbalanced quotes and parens in output.
4446 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
4447 (python-syntax-propertize-function): Use it.
4448 (python-shell-output-syntax-table): New var.
4449 (inferior-python-mode): Prevent unbalanced parens/quotes from
4450 previous output mess with current input context.
4451
4452 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
4453
4454 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
4455 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
4456
4457 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
4458
4459 * ffap.el (ffap-replace-file-component): Support Tramp file name
4460 syntax, not only ange-ftp's one.
4461
4462 2012-10-08 Glenn Morris <rgm@gnu.org>
4463
4464 * cus-start.el (message-log-max): Set :version.
4465
4466 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
4467
4468 2012-10-08 Martin Rudalics <rudalics@gmx.at>
4469
4470 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
4471 the minibuffer window (Bug#10851).
4472
4473 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
4474
4475 Enhancements on forward-sexp movement.
4476 * progmodes/python.el (python-nav-beginning-of-statement)
4477 (python-nav-end-of-statement): Return point-marker.
4478 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
4479 (python-info-current-symbol)
4480 (python-info-statement-starts-block-p): Rename from
4481 python-info-beginning-of-block-p.
4482 (python-info-statement-ends-block-p): Rename from
4483 python-info-end-of-block-p.
4484 (python-info-beginning-of-statement-p)
4485 (python-info-end-of-statement-p)
4486 (python-info-beginning-of-block-p, python-info-end-of-block-p):
4487 New functions.
4488
4489 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4490
4491 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
4492 frame-selected-windows.
4493
4494 2012-10-08 Daniel Colascione <dancol@dancol.org>
4495
4496 * battery.el (battery-status-function): Check for
4497 w32-battery-status itself, not system-time windows-nt.
4498
4499 * frame.el: Require cl-lib.
4500 (display-format-alist): New variable mapping frame types to
4501 functions that initialize them.
4502 (window-system-for-display): New function: interprets
4503 display-format-alist.
4504 (make-frame-on-display): Remove existing display-selection logic
4505 and just forward to make-frame, which will now DTRT.
4506 (make-frame): Restructure to use window-system-for-display to
4507 figure out how to create a frame on a given display.
4508 (display-mouse-p): Look for frame-type w32, not a particular
4509 system-type.
4510
4511 * loadup.el: Load w32 lisp code when we have the w32 feature.
4512
4513 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
4514 system-type windows-nt.
4515
4516 * server.el (server-create-window-system-frame): Look for window
4517 type.
4518 (server-proces-filter): Only force a window system when windows-nt
4519 _and_ w32. Explain why.
4520
4521 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
4522 of window systems we configure for the mode.
4523
4524 * startup.el (command-line): Mark window system is initialized
4525 after we've done it.
4526
4527 * common-win.el (x-select-text): Look for w32, not windows-nt.
4528
4529 * ns-win.el: Require cl-lib. Add ourselves to
4530 display-format-alist.
4531 (ns-initialize-window-system): Assert we're not initialized twice.
4532
4533 * w32-win.el: Enable lexical binding; require cl-lib; add
4534 ourselves to display-format-alist.
4535 (w32-handle-dropped-file): Convert incoming dropped files from
4536 Windows paths to Cygwin ones before passing them on to the rest of
4537 Emacs.
4538 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
4539 (w32-initialize-window-system): Assert we're not initialized twice.
4540
4541 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
4542 (x-initialize-window-system): Assert we're not initialized twice.
4543
4544 * w32-common-fns.el: New File.
4545 (w32-version, w32-using-nt, w32-get-clipboard-data)
4546 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4547 (w32-charset-info-alist, x-last-selected, text)
4548 (x-get-selection-value, x-selection-value): Move here.
4549
4550 * w32-fns.el: Require w32-common-fns.
4551 (w32-version, w32-using-nt, w32-get-clipboard-data)
4552 (w32-set-clipboard-data, x-set-selection, x-get-selection)
4553 (w32-charset-info-alist, x-last-selected, text)
4554 (x-get-selection-value, x-selection-value): Move to
4555 w32-common-fns.
4556
4557 * w32-vars.el:
4558 (w32-allow-system-shell, w32-system-shells): Define only in
4559 non-cygwin case.
4560
4561 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4562
4563 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
4564 (read-passwd): Remove a few more potential sources of leaks.
4565
4566 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4567
4568 * progmodes/python.el (inferior-python-mode)
4569 (python-shell-make-comint): Fix initialization of local
4570 variables copied from parent buffer.
4571
4572 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
4573
4574 * term/ns-win.el (ns-read-file-name): Update declaration to match
4575 nsfns.m.
4576 (ns-respond-to-change-font): Change fontsize separatly so we are sure
4577 it is set when font is acted upon.
4578
4579 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4580
4581 Enhancements to indentation.
4582 * progmodes/python.el (python-indent-context): Give priority to
4583 inside-string context. Make comments indentation markers.
4584 (python-indent-region): Do not mess with strings, unless it's the
4585 enclosing set of quotes.
4586
4587 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4588
4589 * window.el (internal--before-save-selected-window)
4590 (internal--after-save-selected-window): New functions extracted from
4591 save-selected-window. Make sure we return the `alist' we construct.
4592 (save-selected-window): Use them.
4593
4594 * textmodes/tex-mode.el (tex-recenter-output-buffer):
4595 Use with-selected-window.
4596
4597 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
4598 forms that define macros (bug#12593).
4599
4600 2012-10-07 Kenichi Handa <handa@gnu.org>
4601
4602 * international/mule-conf.el (compound-text-with-extensions):
4603 Add :mime-charset property as x-ctext.
4604
4605 2012-10-07 Stefan Merten <smerten@oekonux.de>
4606
4607 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4608 (rst-indent-literal-normal, rst-indent-literal-minimized)
4609 (rst-indent-comment): Correct :version tag.
4610 (rst-official-cvs-rev): Correct version string.
4611
4612 2012-10-07 Glenn Morris <rgm@gnu.org>
4613
4614 * mail/rmailmm.el (rmail-mime-process-multipart):
4615 Do not confuse a multipart message with an epilogue
4616 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
4617
4618 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
4619
4620 Fix shell output retrieval and comint-prompt-regexp init.
4621 * progmodes/python.el (inferior-python-mode):
4622 (python-shell-make-comint): Fix initialization of
4623 comint-prompt-regexp from copied file local variables.
4624 (python-shell-fetched-lines): Remove var.
4625 (python-shell-output-filter-in-progress): Rename from
4626 python-shell-fetch-lines-in-progress.
4627 (python-shell-output-filter-buffer): Rename from
4628 python-shell-fetch-lines-string.
4629 (python-shell-fetch-lines-filter): Delete function.
4630 (python-shell-output-filter): New function.
4631 (python-shell-send-string-no-output): Use them.
4632
4633 2012-10-07 Glenn Morris <rgm@gnu.org>
4634
4635 * hi-lock.el (hi-lock-process-phrase):
4636 Try to make it less fragile. (Bug#7161)
4637
4638 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
4639
4640 2012-10-06 Glenn Morris <rgm@gnu.org>
4641
4642 * ehelp.el (electric-help-mode): Use help-mode rather than
4643 non-existent mode `help'.
4644 (electric-help-map): Use button-buffer-map. (Bug#10917)
4645
4646 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
4647 (reftex-create-bibtex-footer): Fix custom types.
4648
4649 * progmodes/sh-script.el (sh-indent-after-continuation):
4650 Add explicit :group.
4651
4652 * textmodes/rst.el (rst-preferred-decorations)
4653 (rst-shift-basic-offset): Clarify obsolescence versions.
4654
4655 * profiler.el (profiler): Add missing group :version tag.
4656 * avoid.el (mouse-avoidance-banish-position):
4657 * proced.el (proced-renice-command):
4658 * calc/calc.el (calc-ensure-consistent-units):
4659 * calendar/icalendar.el (icalendar-import-format-uid):
4660 * net/tramp.el (tramp-save-ad-hoc-proxies):
4661 * progmodes/bug-reference.el (bug-reference-bug-regexp):
4662 * progmodes/flymake.el (flymake-error-bitmap)
4663 (flymake-warning-bitmap, flymake-fringe-indicator-position):
4664 * progmodes/sh-script.el (sh-indent-after-continuation):
4665 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
4666 (verilog-before-save-font-hook, verilog-after-save-font-hook):
4667 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
4668 (vhdl-array-index-record-field-in-sensitivity-list)
4669 (vhdl-indent-comment-like-next-code-line):
4670 * textmodes/reftex-vars.el (reftex-ref-style-alist)
4671 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
4672 (reftex-cite-key-separator, reftex-create-bibtex-header)
4673 (reftex-create-bibtex-footer):
4674 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
4675 (rst-indent-literal-normal, rst-indent-literal-minimized)
4676 (rst-indent-comment): Add missing custom :version tags.
4677
4678 * calendar/timeclock.el (timeclock-modeline-display):
4679 Add missing obsolete alias for renamed user option.
4680
4681 * strokes.el (strokes-modeline-string):
4682 * emulation/crisp.el (crisp-mode-modeline-string):
4683 * eshell/esh-mode.el (eshell-status-in-modeline):
4684 Aliases to defcustoms must come before the defcustom.
4685
4686 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
4687 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
4688 (cal-tex-cursor-week-monday): Doc fixes.
4689 (cal-tex-cursor-week2-summary): Doc fix.
4690 Rename from cal-tex-cursor-week-at-a-glance.
4691
4692 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
4693 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
4694
4695 * calendar/calendar.el (calendar-mode-map):
4696 Add cal-tex-cursor-week2-summary.
4697
4698 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
4699
4700 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
4701
4702 * subr.el (read-passwd-map): New var.
4703 (read-passwd): Use `read-string' again.
4704 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
4705
4706 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
4707
4708 * register.el (append-to-register, prepend-to-register):
4709 Deactivate mark, as does `copy-to-register' (bug#12389).
4710
4711 2012-10-06 Chong Yidong <cyd@gnu.org>
4712
4713 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
4714
4715 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
4716
4717 * international/characters.el: Fix simple mistake ((car chars) ->
4718 elt), delete duplicated code.
4719
4720 2012-10-06 Glenn Morris <rgm@gnu.org>
4721
4722 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
4723
4724 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
4725
4726 * color.el (color-hsl-to-rgb): Fix incorrect results for
4727 small and large hue values. (Bug#12559)
4728
4729 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
4730
4731 Enhancements to docstring formatting when filling paragraphs.
4732 * progmodes/python.el (python-fill-docstring-style): Rename from
4733 python-fill-string-style. Added new style.
4734 (python-fill-string): Use new style. Better checks for
4735 docstrings.
4736
4737 2012-10-05 Glenn Morris <rgm@gnu.org>
4738
4739 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
4740
4741 * color.el (color-name-to-rgb, color-rgb-to-hex)
4742 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
4743 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
4744 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
4745 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
4746
4747 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
4748
4749 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
4750
4751 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
4752 to get the correct size across symlinks.
4753
4754 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
4755
4756 2012-10-04 Juri Linkov <juri@jurta.org>
4757
4758 * replace.el (query-replace-interactive): Declare obsolete.
4759 (query-replace-read-from): Add the last incremental search string
4760 to the list of default values accessible via M-n.
4761 (map-query-replace-regexp): Use `read-regexp'.
4762 (query-replace, query-replace-regexp, query-replace-regexp-eval)
4763 (map-query-replace-regexp, replace-string, replace-regexp):
4764 Fix docstrings to replace mentions of `query-replace-interactive'
4765 with alternatives. (Bug#12526)
4766
4767 2012-10-04 Juri Linkov <juri@jurta.org>
4768
4769 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
4770 (dired-pop-to-buffer): Declare obsolete.
4771 (dired-mark-pop-up): Doc fix.
4772
4773 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
4774
4775 Allow user to set docstring style for fill-paragraph.
4776 * progmodes/python.el
4777 (python-fill-comment-function, python-fill-string-function)
4778 (python-fill-decorator-function, python-fill-paren-function):
4779 Remove :safe for defcustoms.
4780 (python-fill-string-style): New defcustom
4781 (python-fill-paragraph-function): Enhance context detection.
4782 (python-fill-string): Honor python-fill-string-style settings.
4783
4784 2012-10-04 Martin Rudalics <rudalics@gmx.at>
4785
4786 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
4787 after setting its buffer (Bug#10805).
4788
4789 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
4790
4791 Fix cornercase for string syntax.
4792 * progmodes/python.el (python-syntax-propertize-function):
4793 Simplify and enhance the regexp for unescaped quotes. Now it also
4794 matches quotes in weird situations like the single quote in
4795 "something\"'".
4796 (python-syntax-stringify): Simplify num-quotes detecting code.
4797
4798 2012-10-03 Glenn Morris <rgm@gnu.org>
4799
4800 * help-macro.el (three-step-help):
4801 Revert 2012-09-29 change. (Bug#12567)
4802
4803 2012-10-03 Martin Rudalics <rudalics@gmx.at>
4804
4805 * menu-bar.el (kill-this-buffer): Don't do anything when
4806 `menu-frame' is not alive or visible (Bug#8184).
4807
4808 * emacs-lisp/debug.el (debug): When quitting the debugger window
4809 restore current buffer (Bug#12502).
4810
4811 2012-10-02 Chong Yidong <cyd@gnu.org>
4812
4813 * progmodes/hideif.el (hif-lookup, hif-defined):
4814 Handle semantic-c-takeover-hideif.
4815
4816 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
4817
4818 Change sampling interval units from ms to ns.
4819 * profiler.el (profiler-sampling-interval): Change units
4820 from ms to ns, multiplying the default by 1000000 so that
4821 it remains 1 ms.
4822 (profiler-report-cpu-line-format): Give enough room for
4823 the maximum counters on 64-bit hosts.
4824 (profiler-report-render-calltree-1): Call them "CPU samples",
4825 not "Time (ms)", since they are not milliseconds now (and
4826 never really were).
4827
4828 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4829
4830 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
4831 Fix querying BBDB for entries without a last name (Bug#11580).
4832
4833 2012-10-02 Chong Yidong <cyd@gnu.org>
4834
4835 * emacs-lisp/eieio.el: Restore Version header.
4836
4837 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4838
4839 * vc/diff-mode.el (diff--auto-refine-data): New var.
4840 (diff-hunk): Use it to delay refinement.
4841 (diff-mode): Remove overlays when we turn off font-lock.
4842
4843 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
4844 (table-initialize-table-fixed-width-mode)
4845 (table-set-table-fixed-width-mode): Remove functions.
4846 (table-command-list): Move initialization into declaration.
4847 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
4848 (table-with-cache-buffer): Use `declare'.
4849 (table-span-cell): Simplify via CSE.
4850 (table-fixed-width-mode): Use define-minor-mode.
4851 (table-call-interactively, table-funcall, table-apply): Remove.
4852 (table-function): New function, to replace them.
4853
4854 * bookmark.el (bookmark-search-pattern): Remove var.
4855 (bookmark-read-search-input): Remove function.
4856 (bookmark-bmenu-search): Reimplement using a minibuffer.
4857
4858 * faces.el (modeline): Remove obsolete face name.
4859
4860 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
4861 and give a non-nil default value.
4862 (add-change-log-entry): Simplify accordingly.
4863
4864 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
4865
4866 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
4867 (vc-git-log-edit-toggle-amend): New function.
4868 (vc-git-log-edit-toggle-signoff): New function.
4869 (vc-git-log-edit-mode): New major mode.
4870 (vc-git-log-edit-mode-map): Keymap for it.
4871 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
4872
4873 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
4874 header names.
4875 (log-edit-toggle-header): New function.
4876 (log-edit-extract-headers): Accept function values in HEADERS alist.
4877
4878 2012-10-01 David Engster <deng@randomsample.de>
4879
4880 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
4881 from symbol property and change message to be more consistent with
4882 Emacs proper.
4883 (eieio-describe-generic): Add filename for each implementation.
4884 Fix indices for generic and normal methods.
4885 (eieio-method-def, eieio-class-def): New buttons.
4886 (eieio-help-find-method-definition)
4887 (eieio-help-find-class-definition): New functions.
4888 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
4889 class, constructor and method definitions.
4890
4891 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
4892 information in symbol property.
4893 (scoped-class): Remove.
4894 (eieio-slot-name-index, call-next-method): Check if it is bound.
4895
4896 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
4897
4898 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
4899 (eieio-custom-mode): New major mode.
4900 (eieio-customize-object): Use it.
4901
4902 2012-10-01 Eric Ludlam <zappo@gnu.org>
4903
4904 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
4905 specifying the expected class, and whether subclassing is allowed.
4906 (eieio-persistent-convert-list-to-object):
4907 (eieio-persistent-validate/fix-slot-value)
4908 (eieio-persistent-slot-type-is-class-p): New functions.
4909 (eieio-named::slot-missing): Doc fix.
4910
4911 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
4912 Stop using unused publd variable.
4913
4914 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
4915 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
4916 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
4917 (eieio-speedbar-handle-click): Do not specify a class for the
4918 method. Fixes method invocation order problems with EDE.
4919
4920 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4921
4922 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
4923 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
4924
4925 2012-10-01 Karl Fogel <kfogel@red-bean.com>
4926
4927 * bookmark.el (bookmark-version-control): Give tags in the
4928 :type choices (Bug#12309), and improve doc string.
4929 (bookmark-write-file): Bind `print-circle' to `t' to allow
4930 circular custom bookmark types. (Bug#12503)
4931
4932 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
4933
4934 Revert the FOLLOW-SYMLINKS change for file-attributes.
4935 * files.el (remote-file-name-inhibit-cache, after-find-file):
4936 * time.el (display-time-file-nonempty-p): Undo last change.
4937
4938 * profiler.el (profiler-sampling-interval): Change default back to 1.
4939 See Stefan Monnier in
4940 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
4941
4942 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
4943
4944 Shell output catching a la gud-gdb.
4945 * progmodes/python.el (python-shell-fetch-lines-in-progress)
4946 (python-shell-fetch-lines-string, python-shell-fetched-lines):
4947 New Vars.
4948 (python-shell-fetch-lines-filter): New function.
4949 (python-shell-send-string-no-output): Use them.
4950
4951 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
4952
4953 * profiler.el (profiler-sampling-interval): Rename from
4954 profiler-sample-interval.
4955 (profiler-sampling-interval): Default to 10.
4956 (profiler-find-profile): New command (was profiler-find-log).
4957 (profiler-find-profile-other-window): New command.
4958 (profiler-find-profile-other-frame): New command.
4959 (profiler-profile): Introduce API-level data structure.
4960
4961 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
4962
4963 file-attributes has a new optional arg FOLLOW-SYMLINKS.
4964 * files.el (remote-file-name-inhibit-cache):
4965 * time.el (display-time-file-nonempty-p): Use it.
4966 * files.el (after-find-file): Don't chase links before calling
4967 file-exists-p, as file-exists-p already does the right thing.
4968
4969 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
4970
4971 Merge from standalone RefTeX repository.
4972
4973 The following ChangeLog entries are shortened versions of the
4974 original ones with file paths adapted. A not so strongly edited
4975 version of the original ChangeLog can be found in the commit log.
4976
4977 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
4978 (reftex-arg-cite): Use `reftex-cite-key-separator'.
4979 Correctly handle new value type returned by `reftex-citation'.
4980
4981 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
4982 that entries with whitespace at various places are found.
4983 Doc fix. Include entries that are cross-referenced from cited entries.
4984 Include @String definitions in the resulting bib file. Add header
4985 and footer defined in `reftex-create-bibtex-header' and
4986 `reftex-create-bibtex-footer'.
4987 (reftex-do-citation): Make it possible again to insert
4988 non-existent entries. Save match data when asking for optional
4989 arguments. Return all keys, not just the first one.
4990 (reftex-all-used-citation-keys): Fix regexp to correctly extract
4991 all citations in the same line.
4992 (reftex-parse-bibtex-entry): Accept additional optional argument
4993 `raw' and keep quotes or braces if it is non-nil. Match fields
4994 containing hyphens besides word constituents.
4995 (reftex-get-string-refs): New function.
4996 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
4997 and ask if it should be reread in case it did.
4998 (reftex-pop-to-bibtex-entry)
4999 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
5000 entries with spaces or tabs in front of arguments.
5001 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5002 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
5003 Match entries containing numbers and symbol constituents.
5004 (reftex-do-citation, reftex-figure-out-cite-format):
5005 Use `reftex-cite-key-separator'.
5006
5007 * textmodes/reftex-dcr.el: Move provide statement to end of file.
5008 (reftex-mouse-view-crossref): Explain why point is set.
5009
5010 * textmodes/reftex-global.el: Whitespace changes.
5011
5012 * textmodes/reftex-index.el: Move provide statement to end of
5013 file.
5014 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
5015 (reftex-index-visit-phrases-buffer): Set marker when visiting
5016 buffer. This allows for returning from the phrases file to the
5017 file one was just editing instead of the file where the last
5018 phrases was added from.
5019 (reftex-index-phrases-syntax-table): New variable. Give ?\"
5020 punctuation syntax as it usually is not used as string quote in
5021 TeX-related modes and may occur unmatched. The change also
5022 prevents fontification of quoted content.
5023 (reftex-index-phrases-mode): Use it.
5024
5025 * textmodes/reftex-parse.el (reftex-parse-from-file):
5026 Move backward one char if a `\' was matched after a section macro.
5027 (reftex-parse-from-file): Use beginning of match instead of end as
5028 bound.
5029
5030 * textmodes/reftex-ref.el: Adapt creation of
5031 `reftex-<package>-<macro>' functions to new structure of
5032 `reftex-ref-style-alist'.
5033 (reftex-reference): Use `reftex-ref-style-list' function.
5034 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
5035 reference macro if `reftex-ref-macro-prompt' is non-nil.
5036 (reftex-reference): Pass refstyle to `reftex-format-special'.
5037 Determine reference macro by looking at
5038 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
5039 Use only one special format function.
5040 (reftex-varioref-vref, reftex-fancyref-fref)
5041 (reftex-fancyref-Fref): Remove definitions. The functions are now
5042 generated from `reftex-ref-style-alist'.
5043 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
5044 Remove.
5045 (reftex-format-special): New function.
5046
5047 * textmodes/reftex-sel.el
5048 (reftex-select-cycle-ref-style-internal): Adapt to new structure
5049 of `reftex-ref-style-alist'. Remove code for testing macro type.
5050 (reftex-select-toggle-varioref)
5051 (reftex-select-toggle-fancyref): Remove.
5052 (reftex-select-cycle-ref-style-internal)
5053 (reftex-select-cycle-ref-style-forward)
5054 (reftex-select-cycle-ref-style-backward): New functions.
5055 (reftex-select-label-map): Use `v' and `V' for general cycling
5056 through reference styles. Add `p' for switching between number
5057 and page reference types.
5058
5059 * textmodes/reftex-toc.el (reftex-re-enlarge):
5060 Call `enlarge-window' only if there is something to do because in Emacs
5061 the horizontal version throws an error even if the parameter is 0.
5062
5063 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
5064 (reftex-plug-into-AUCTeX): Doc fix.
5065 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
5066 string. Adapt to new name.
5067 (reftex-ref-style-alist): Change structure so that it is not
5068 possible to use multiple different package names within a style.
5069 Remove the symbols for symbols for macro type distinction.
5070 Add characters for macro selection.
5071 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
5072 (reftex-create-bibtex-footer): New variables.
5073 (reftex-format-ref-function): Mention third argument of special
5074 format function.
5075 (reftex-ref-style-alist, reftex-ref-style-default-list):
5076 New variables.
5077 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
5078 to new implementation. Mark as obsolete. Add compatibility code
5079 for honoring the variable values in case they are set.
5080 (reftex-cite-format-builtin, reftex-bibliography-commands):
5081 Add support for ConTeXt.
5082 (reftex-format-ref-function, reftex-format-cite-function):
5083 Fix custom type.
5084 (reftex-cite-key-separator): New variable.
5085
5086 * textmodes/reftex.el (reftex-syntax-table-for-bib)
5087 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
5088 `reftex-syntax-table' because parens have to retain their paren
5089 syntax in order for parsing of BibTeX entries like @book(...) to
5090 work.
5091 (reftex-in-comment): Do not error out if `comment-start-skip' is
5092 not set. Deal correctly with escaped comment characters.
5093 (reftex-tie-multifile-symbols): Add doc string.
5094 Initialize `reftex-ref-style-list'.
5095 (reftex-untie-multifile-symbols): Add doc string.
5096 (reftex-add-index-macros): Doc fix.
5097 (reftex-ref-style-activate, reftex-ref-style-toggle)
5098 (reftex-ref-style-list): New functions.
5099 (reftex-mode-menu): Use them. Adapt to new structure of
5100 `reftex-ref-style-alist'.
5101 (reftex-select-with-char): Kill the RefTeX Select buffer when
5102 done.
5103 (reftex-remove-if): New function.
5104 (reftex-erase-all-selection-and-index-buffers)
5105 (reftex-mode-menu): Reference styles are now computed from
5106 `reftex-ref-style-alist'. Fix typo.
5107 (reftex-report-bug): New function.
5108 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
5109 algorithms with O(n log n). Introduce optional argument SORT (not
5110 yet used).
5111
5112 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
5113
5114 Enhancements for triple-quote string syntax.
5115 * progmodes/python.el (python-syntax-propertize-function):
5116 Match both quote cases in one regexp.
5117 (python-syntax-stringify): Handle matches properly.
5118
5119 2012-09-30 Juri Linkov <juri@jurta.org>
5120
5121 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
5122 to nil around the call to `insert' to prevent
5123 directory time modification by lock_file. (Bug#2295)
5124 * tar-mode.el (tar-summarize-buffer): Idem.
5125
5126 2012-09-30 Juri Linkov <juri@jurta.org>
5127
5128 * facemenu.el (list-colors-sort): Add option "Luminance".
5129 (list-colors-sort-key): Implement it.
5130
5131 * vc/diff-mode.el (diff-refine-removed):
5132 * vc/ediff-init.el (ediff-fine-diff-A):
5133 * vc/smerge-mode.el (smerge-refined-removed):
5134 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
5135
5136 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
5137
5138 * term/ns-win.el (x-file-dialog): New function.
5139
5140 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
5141
5142 * ido.el (ido-max-directory-size): Default to nil; the current
5143 default is small for POSIX systems, and impractical on Windows 7
5144 now that lstat returns directory sizes for NTFS.
5145
5146 2012-09-30 Martin Rudalics <rudalics@gmx.at>
5147
5148 In buffer display functions handle window-height/window-width
5149 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
5150 * window.el (window--display-buffer): New argument ALIST.
5151 Obey window-height and window-width alist entries.
5152 (window--try-to-split-window): New argument ALIST.
5153 Bind window-combination-limit to t when the window's size shall be
5154 changed and window-combination-limit equals `window-size'.
5155 (display-buffer-in-atom-window)
5156 (display-buffer-in-major-side-window)
5157 (display-buffer-in-side-window, display-buffer-same-window)
5158 (display-buffer-reuse-window, display-buffer-pop-up-frame)
5159 (display-buffer-pop-up-window, display-buffer-below-selected)
5160 (display-buffer-at-bottom, display-buffer-in-previous-window)
5161 (display-buffer-use-some-window): Adjust all callers of
5162 window--display-buffer and window--try-to-split-window.
5163 (fit-frame-to-buffer): New option.
5164 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
5165 is non-nil.
5166 (display-buffer-in-major-side-window): Evaluate window-height /
5167 window-width alist entries.
5168
5169 * help.el (temp-buffer-resize-frames)
5170 (temp-buffer-resize-regexps): Remove options.
5171 (temp-buffer-resize-mode): Adjust doc-string.
5172 (resize-temp-buffer-window): Don't consult
5173 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
5174 temp-buffer-resize-frames.
5175
5176 * dired.el (dired-mark-pop-up):
5177 Call display-buffer-below-selected with a fit-window-to-buffer alist
5178 entry.
5179
5180 2012-09-30 Chong Yidong <cyd@gnu.org>
5181
5182 * server.el (server-host): Document the security implications.
5183 (server-auth-key): Doc fix.
5184
5185 * startup.el (initial-buffer-choice): Doc fix.
5186
5187 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
5188
5189 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
5190 restriction change.
5191
5192 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
5193
5194 * help-fns.el (help-fns--obsolete): Fix last change.
5195
5196 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
5197
5198 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
5199 (minor-mode-map-alist): Remove redundant code.
5200
5201 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
5202 visited in a buffer.
5203 (cvs-insert-visited-file): New function.
5204 (find-file-hook): Use it.
5205
5206 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
5207
5208 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
5209 chose face.
5210 (log-edit-empty-buffer-p): Don't require a space after a header.
5211
5212 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
5213
5214 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
5215
5216 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
5217 a proper minor-mode.
5218
5219 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
5220
5221 2012-09-29 Glenn Morris <rgm@gnu.org>
5222
5223 * winner.el (winner-mode): Remove variable (let define-minor-mode
5224 handle it).
5225 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
5226 Doc fixes.
5227 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
5228 (winner-mode): Use define-minor-mode.
5229
5230 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
5231 the full definition in loaddefs, rather than duplicating it.
5232
5233 * help-macro.el (three-step-help): No need to autoload defcustom.
5234
5235 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5236 (inferior-lisp-program, inferior-lisp-load-command)
5237 (inferior-lisp-prompt, inferior-lisp-mode-hook):
5238 No need to autoload defcustoms.
5239
5240 * hippie-exp.el (hippie-expand-try-functions-list)
5241 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
5242 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
5243 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
5244 (hippie-expand-only-buffers): No need to autoload defcustoms.
5245 * progmodes/vhdl-mode.el (vhdl-line-expand):
5246 Explicitly load hippie-exp, so it does not get autoloaded
5247 while hippie-expand-try-functions-list is let-bound.
5248
5249 2012-09-28 Glenn Morris <rgm@gnu.org>
5250
5251 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
5252
5253 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
5254 Only "cl.el" counts as cl these days.
5255
5256 2012-09-28 Juri Linkov <juri@jurta.org>
5257
5258 Display archive errors in the echo area instead of inserting
5259 to the file buffer.
5260
5261 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
5262 to STDERR-TEST that can be a regexp matching a successful output.
5263 Create a temporary file and redirect stderr to it. Search for
5264 STDERR-TEST in the stderr output and display it in the echo area
5265 if no match is found.
5266 (archive-extract-by-file): New function like
5267 `archive-extract-by-stdout' but extracting archives to files
5268 and looking for successful matches in stdout. Function body is
5269 mostly copied from `archive-rar-extract'.
5270 (archive-rar-extract): Use `archive-extract-by-file'.
5271 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
5272
5273 2012-09-28 Leo Liu <sdl.web@gmail.com>
5274
5275 * pcomplete.el (pcomplete-show-completions):
5276 Use minibuffer-message to make pcomplete usable in minibuffer.
5277
5278 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
5279
5280 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5281
5282 * type-break.el: Use lexical-binding.
5283 (type-break-mode): Use define-minor-mode.
5284
5285 * emacs-lisp/pcase.el (pcase--mark-used): New.
5286 (pcase--u1): Use it (bug#12512).
5287
5288 * custom.el (load-theme): Set buffer-file-name so the load is recorded
5289 in load-history with the right file name.
5290
5291 2012-09-28 Tassilo Horn <tsdh@gnu.org>
5292
5293 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
5294 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
5295 (doc-view-get-bounding-box): Make bounding box slicing work for
5296 ODF and DVI documents.
5297
5298 2012-09-28 Glenn Morris <rgm@gnu.org>
5299
5300 * type-break.el (type-break-mode, type-break-interval)
5301 (type-break-good-rest-interval, type-break-keystroke-threshold):
5302 No need to autoload.
5303 (type-break-good-rest-interval, type-break-keystroke-threshold):
5304 Add :set-after.
5305
5306 2012-09-28 Chong Yidong <cyd@gnu.org>
5307
5308 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
5309 Add :version tag.
5310
5311 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5312
5313 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
5314
5315 2012-09-27 Glenn Morris <rgm@gnu.org>
5316
5317 * faces.el (x-display-name): Declare (for without-x builds).
5318
5319 * linum.el (linum-format): Don't autoload it. Improve :type.
5320
5321 * progmodes/tcl.el: Don't require outline when compiling.
5322 (outline-regexp, outline-level): Declare.
5323 * textmodes/sgml-mode.el: Don't require outline when compiling.
5324 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
5325
5326 * term.el (term-ansi-reset):
5327 Try setting term-ansi-face-already-done to nil. (Bug#11785)
5328
5329 * vc/vc.el (vc-next-action): Only gripe about committing read-only
5330 files for RCS and SCCS. (Bug#9781)
5331
5332 2012-09-27 Chong Yidong <cyd@gnu.org>
5333
5334 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
5335 change; value should be t.
5336
5337 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5338
5339 * image-mode.el: Use lexical-binding.
5340 (image-mode-winprops): Use t to stand for the window of
5341 a buffer that's not displayed.
5342 * doc-view.el (doc-view-new-window-function): Handle the new
5343 t in winprops.
5344 (doc-view-enlarge): Make it a real nop if the size is not changed.
5345 (doc-view-display): Handle the case where the buffer is not (yet?)
5346 displayed in any window.
5347 (doc-view-saved-settings): New var.
5348 (doc-view-mode): Use it.
5349 (doc-view-fallback-mode): Set it.
5350
5351 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
5352 Set lexical-binding.
5353 (minibuffer-eldef-shorten-default): New var.
5354 (minibuffer-default-in-prompt-regexps): Use it for new default.
5355 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
5356
5357 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5358
5359 * international/uni-bidi.el:
5360 * international/uni-category.el:
5361 * international/uni-name.el:
5362 * international/uni-numeric.el: Regenerate.
5363
5364 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
5365 Stefan Monnier <monnier@iro.umontreal.ca>
5366
5367 * profiler.el: New file.
5368
5369 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
5370
5371 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
5372 (testcover-reinstrument): Simplify with CSE.
5373
5374 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
5375
5376 * window.el (temp-buffer-window-setup): Fix typo in docstring.
5377
5378 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
5379
5380 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
5381 (verilog-auto-input, verilog-auto-insert-lisp)
5382 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
5383 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
5384 (verilog-auto-unused, verilog-auto-wire)
5385 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
5386 newline. Reported by Andrew Jones.
5387 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
5388 Reported by Brad Dobbie.
5389 (verilog-batch-delete-trailing-whitespace):
5390 Create verilog-batch-delete-trailing-whitespace.
5391 Reported by Brad Dobbie.
5392 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
5393 parameters from another module. Reported by Dan Katz.
5394 (verilog-auto, verilog-auto-assign-modport)
5395 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
5396 AUTOINOUTMODPORT for UVM interface module shell generation.
5397 Reported by Brad Dobbie.
5398 (verilog-auto-inst-interfaced-ports): Make default nil, as more
5399 standard behavior.
5400 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
5401 Reported by Matt Martin.
5402
5403 2012-09-25 Martin Rudalics <rudalics@gmx.at>
5404
5405 * window.el (window--resize-child-windows): When resizing child
5406 windows proportionally, process them in reverse order to
5407 preserve the "when splitting a window the new one gets the odd
5408 line" behavior.
5409 (window--resize-root-window-vertically): When resizing the
5410 minibuffer window try to affect only windows at the bottom of the
5411 frame. (Bug#12419)
5412
5413 2012-09-25 Chong Yidong <cyd@gnu.org>
5414
5415 * subr.el (declare): Doc fix.
5416
5417 * help-fns.el (help-fns--obsolete): Handle macros properly.
5418
5419 2012-09-25 Chong Yidong <cyd@gnu.org>
5420
5421 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
5422 this function obsolete.
5423
5424 * calendar/cal-x.el (calendar-two-frame-setup)
5425 (calendar-only-one-frame-setup, calendar-one-frame-setup):
5426 * calendar/calendar.el (american-calendar, european-calendar)
5427 (calendar-for-loop):
5428 * comint.el (comint-dynamic-simple-complete)
5429 (comint-dynamic-complete-as-filename, comint-unquote-filename):
5430 * desktop.el (desktop-load-default):
5431 * dired-x.el (dired-omit-here-always)
5432 (dired-hack-local-variables, dired-default-directory):
5433 * emacs-lisp/derived.el (derived-mode-class):
5434 * emacs-lisp/timer.el (timer-set-time-with-usecs):
5435 * emacs-lock.el (toggle-emacs-lock):
5436 * epa.el (epa-display-verify-result):
5437 * epg.el (epg-sign-keys, epg-start-sign-keys)
5438 (epg-passphrase-callback-function):
5439 * eshell/esh-util.el (eshell-for):
5440 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
5441 (eshell-add-to-window-buffer-names):
5442 * files.el (locate-file-completion):
5443 * imenu.el (imenu-example--create-c-index)
5444 (imenu-example--create-lisp-index)
5445 (imenu-example--lisp-extract-index-name)
5446 (imenu-example--name-and-position):
5447 * international/mule-cmds.el (princ-list):
5448 * international/mule-diag.el (decode-codepage-char):
5449 * international/mule-util.el (detect-coding-with-priority):
5450 * iswitchb.el (iswitchb-read-buffer):
5451 * mail/mailalias.el (mail-complete):
5452 * mail/sendmail.el (mail-sent-via):
5453 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
5454 (mouse-major-mode-menu):
5455 * password-cache.el (password-read-and-add):
5456 * pcomplete.el (pcomplete-parse-comint-arguments):
5457 * progmodes/sh-script.el (sh-maybe-here-document):
5458 * replace.el (query-replace-regexp-eval):
5459 * savehist.el (savehist-load):
5460 * simple.el (choose-completion-delete-max-match):
5461 * term.el (term-dynamic-simple-complete):
5462 * vc/ediff-init.el (ediff-check-version):
5463 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
5464 * vc/vc.el (vc-diff-switches-list):
5465 * view.el (view-return-to-alist-update): Likewise.
5466
5467 * subr.el (eval-next-after-load, makehash, insert-string)
5468 (assoc-ignore-representation, assoc-ignore-case): Use declare to
5469 mark obsolete.
5470 (mode-line-inverse-video): Variable deleted.
5471
5472 * international/mule-util.el (string-to-sequence): Remove.
5473
5474 * calendar/calendar.el (calendar-version):
5475 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
5476 (icalendar-convert-diary-to-ical):
5477 * cus-edit.el (custom-mode):
5478 * ansi-color.el (ansi-color-unfontify-region):
5479 * international/latin1-disp.el (latin1-char-displayable-p):
5480 * progmodes/cwarn.el (turn-on-cwarn-mode):
5481 * progmodes/which-func.el (which-func-update-1):
5482 Use define-obsolete-function-alias.
5483
5484 * net/newst-backend.el (newsticker-cache-filename):
5485 * net/newst-treeview.el (newsticker-groups-filename):
5486 Fix incorrect obsolescence declaration.
5487
5488 * allout.el (allout-passphrase-hint-string): Likewise.
5489 (allout-init): Use a declare form to mark obsolete.
5490
5491 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
5492 this applies to functions.
5493
5494 * iswitchb.el (iswitchb-read-buffer): Move code of
5495 iswitchb-define-mode-map here, and delete that obsolete function.
5496
5497 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
5498 font-lock-reference-face.
5499
5500 2012-09-25 Glenn Morris <rgm@gnu.org>
5501
5502 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
5503 Doc fixes.
5504
5505 * eshell/em-term.el (eshell-term-name):
5506 Default to term-term-name. (Bug#12485)
5507
5508 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5509
5510 * progmodes/python.el (python-shell-send-buffer): Better handling
5511 of "if __name__ == '__main__':" conditionals when sending the buffer.
5512
5513 2012-09-24 Glenn Morris <rgm@gnu.org>
5514
5515 * eshell/esh-cmd.el (eshell-find-alias-function):
5516 Tighten up file-name regexp. (Bug#12499)
5517
5518 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
5519
5520 Enhancements for triple-quote string syntax.
5521 * progmodes/python.el (python-quote-syntax): Remove.
5522 (python-syntax-propertize-function): New value.
5523 (python-syntax-count-quotes, python-syntax-stringify):
5524 New functions.
5525
5526 2012-09-24 Chong Yidong <cyd@gnu.org>
5527
5528 * mail/supercite.el (sc-version): Remove obsolete function.
5529 (sc-describe): Don't mark as obsolete, since it is bound.
5530 (sc-submit-bug-report): Remove.
5531
5532 * vc/log-edit.el (cvs-changelog-full-paragraphs)
5533 (cvs-commit-buffer-require-final-newline): Remove.
5534 (log-edit-require-final-newline)
5535 (log-edit-changelog-full-paragraphs): Default to t.
5536
5537 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
5538 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
5539 * vc/vc.el (vc-checkout-carefully): Likewise.
5540
5541 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
5542 (emerge-version): Remove.
5543
5544 * progmodes/compile.el (compile-internal): Remove.
5545 (compilation-parse-errors-function): Fix typo.
5546
5547 * international/mule.el (set-char-table-default): Remove.
5548 (set-coding-priority, make-coding-system, generic-char-p)
5549 (charset-list, charset-bytes, charset-id): Use declare to mark
5550 functions as obsolete.
5551
5552 * vc/pcvs-defs.el (cvs-buffer-name-alist)
5553 (cvs-invert-ignore-marks): Remove references to obsolete vars.
5554 * vc/vc-hooks.el (vc-default-registered): Don't use
5555 vc-master-templates.
5556
5557 * font-lock.el (font-lock-reference-face):
5558 Use define-obsolete-variable-alias.
5559
5560 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
5561 * calendar/calendar.el (calendar-font-lock-keywords):
5562 * calendar/diary-lib.el (diary-font-lock-keywords)
5563 (diary-fancy-font-lock-keywords):
5564 * textmodes/reftex-sel.el (reftex-insert-docstruct):
5565 * textmodes/reftex-index.el (reftex-insert-index):
5566 * textmodes/reftex-cite.el (reftex-format-bib-entry):
5567 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5568 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
5569 * progmodes/prolog.el (prolog-font-lock-keywords):
5570 * progmodes/idlwave.el (idlwave-idl-keywords):
5571 * progmodes/ada-mode.el (ada-font-lock-keywords):
5572 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
5573
5574 2012-09-24 Glenn Morris <rgm@gnu.org>
5575
5576 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
5577
5578 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
5579
5580 * progmodes/python.el (python-indent-line): More consistent cursor
5581 movement behavior.
5582
5583 2012-09-23 Stefan Merten <smerten@oekonux.de>
5584
5585 * textmodes/rst.el: Fix compiler warning.
5586
5587 2012-09-23 Roland Winkler <winkler@gnu.org>
5588
5589 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
5590 Transcribe also LaTeX hyphenation.
5591 (bibtex-reformat): Bug fix. Do not quote twice the elements of
5592 bibtex-reformat-previous-options.
5593
5594 2012-09-23 Roland Winkler <winkler@gnu.org>
5595
5596 * proced.el (proced-renice-command): New variable.
5597 (proced-marked-processes): New function.
5598 (proced-with-processes-buffer): New macro.
5599 (proced-send-signal): Use them.
5600 (proced-renice): New command bound to r.
5601
5602 2012-09-23 Roland Winkler <winkler@gnu.org>
5603
5604 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
5605 ibuffer-saved-filter-groups has one element, shortcut the call of
5606 completing-read. (Bug#12331)
5607
5608 2012-09-23 Chong Yidong <cyd@gnu.org>
5609
5610 * bindings.el (mode-line-toggle-read-only):
5611 * bs.el (bs-toggle-readonly):
5612 * buff-menu.el (Buffer-menu-toggle-read-only):
5613 * dired.el (dired-toggle-read-only):
5614 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
5615
5616 2012-09-23 Chong Yidong <cyd@gnu.org>
5617
5618 * image.el (image-type-available-p): Adapt to init-image-library
5619 argument changes.
5620
5621 2012-09-22 Juri Linkov <juri@jurta.org>
5622
5623 * dired.el (dired-mode-map): Add [remap read-only-mode] for
5624 `dired-toggle-read-only'. (Bug#12462)
5625
5626 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5627
5628 * subr.el (temp-output-buffer-show): New function.
5629 (with-output-to-temp-buffer): Call temp-output-buffer-show
5630 instead of internal-temp-output-buffer-show.
5631
5632 2012-09-22 Chong Yidong <cyd@gnu.org>
5633
5634 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
5635 (Bug#12462).
5636
5637 * repeat.el (repeat): Doc fix (Bug#12348).
5638
5639 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
5640 (Bug#10909).
5641
5642 * simple.el (shell-command-on-region): Doc fix.
5643 (read-only-mode): Doc fix.
5644
5645 2012-09-22 Eli Zaretskii <eliz@gnu.org>
5646
5647 * emacs-lisp/timer.el (run-with-idle-timer)
5648 (timer-activate-when-idle): Warn against reinvoking an idle timer
5649 from within its own timer action. (Bug#12447)
5650
5651 2012-09-22 Martin Rudalics <rudalics@gmx.at>
5652
5653 * cus-start.el (window-combination-limit): Add new optional
5654 values.
5655 * window.el (temp-buffer-window-show)
5656 (window--try-to-split-window): Handle new values of
5657 window-combination-limit (Bug#1806).
5658 (split-window): Test window-combination-limit for t instead of
5659 non-nil.
5660 (display-buffer-at-bottom): New buffer display action function.
5661 * help.el (temp-buffer-resize-regexps): New option.
5662 (temp-buffer-resize-mode): Rewrite doc-string.
5663 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
5664 Don't resize reused window. Suggested by Glenn Morris.
5665
5666 2012-09-22 Stefan Merten <smerten@oekonux.de>
5667
5668 * textmodes/rst.el: Revamp section title faces.
5669 (rst-official-version)
5670 (rst-package-emacs-version-alist): Sync with official version
5671 V1.4.0.
5672 (rst-faces-defaults, rst-set-level-default)
5673 (rst-level-face-max, rst-level-face-base-color)
5674 (rst-level-face-base-light, rst-level-face-format-light)
5675 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
5676 (rst-adornment-faces-alist): Match new setup.
5677 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
5678 (rst-level-5, rst-level-6): New faces.
5679
5680 2012-09-22 Chong Yidong <cyd@gnu.org>
5681
5682 * simple.el (undo): Handle indirect buffers (Bug#8207).
5683
5684 2012-09-21 Leo Liu <sdl.web@gmail.com>
5685
5686 IDO: Disable match re-ordering for buffer switching.
5687 * ido.el (ido-buffer-disable-smart-matches): New variable.
5688 (ido-set-matches-1): Use it. (Bug#2042)
5689
5690 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
5691
5692 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
5693 Fix 2011-05-17 change. (Bug#12418)
5694
5695 2012-09-21 Leo Liu <sdl.web@gmail.com>
5696
5697 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
5698
5699 2012-09-21 Glenn Morris <rgm@gnu.org>
5700
5701 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
5702 Be more robust about locating simple.el.
5703
5704 2012-09-21 Glenn Morris <rgm@gnu.org>
5705
5706 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
5707
5708 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
5709
5710 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
5711
5712 2012-09-20 Juri Linkov <juri@jurta.org>
5713
5714 * replace.el (query-replace-read-from): Use `read-regexp' instead
5715 of `read-from-minibuffer' when `regexp-flag' is non-nil.
5716 (occur-read-primary-args): Use `read-regexp' instead of
5717 `read-string'.
5718 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
5719 `read-from-minibuffer'.
5720 * isearch.el (isearch-occur): Use `read-regexp' instead of
5721 `read-string'.
5722 * dired.el (dired-read-regexp): Use `read-regexp' instead of
5723 `read-from-minibuffer'.
5724 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
5725 of `read-string'. (Bug#7567)
5726
5727 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
5728 and allow accepting a list of strings prepended to a list of
5729 standard default values. Doc fix. (Bug#12321)
5730
5731 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
5732
5733 * replace.el (read-regexp): Don't add ": " when PROMPT already
5734 ends with a colon and space. (Bug#12321)
5735
5736 2012-09-20 Tassilo Horn <tsdh@gnu.org>
5737
5738 * doc-view.el (doc-view-display): Better fix for the cl-assertion
5739 error.
5740
5741 2012-09-20 Stefan Merten <smerten@oekonux.de>
5742
5743 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
5744 Fixes feature request bug#11711.
5745 (rst-mode): Create `imenu-create-index-function'.
5746 (rst-get-stripped-line): Delete after refactoring.
5747 (rst-section-tree, rst-section-tree-rec)
5748 (rst-section-tree-point): Refactor and document properly.
5749 (rst-imenu-find-adornments-for-position)
5750 (rst-imenu-convert-cell, rst-imenu-create-index):
5751 New function.
5752
5753 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5754
5755 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
5756 (macroexp--expand-all): Use it.
5757 (macroexp--funcall-and-return): Remove by folding it into its sole
5758 caller (macroexp--warn-and-return).
5759 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
5760 Use macroexp--obsolete-warning.
5761
5762 * calc/calc.el: Fix last change by removing the whole chunk, since it
5763 was only needed back when Calc was not bundled.
5764
5765 2012-09-20 Martin Rudalics <rudalics@gmx.at>
5766
5767 * emacs-lisp/debug.el (debug): Restore assignment to
5768 debugger-old-buffer removed on 2012-09-08.
5769
5770 2012-09-20 Juri Linkov <juri@jurta.org>
5771
5772 * dired-aux.el (dired-diff): Remove (require 'diff) since
5773 `diff-latest-backup-file' is now autoloaded.
5774
5775 2012-09-20 Chong Yidong <cyd@gnu.org>
5776
5777 * vc/diff.el (diff-latest-backup-file): Autoload.
5778
5779 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5780
5781 * calc/calc.el: Remove redundant autoload shape check.
5782 (sel-mode): Don't defvar.
5783 (calc-get-stack-element): Add `sel-mode' arg instead.
5784 (calc-top, calc-top-list): Pass it this additional argument.
5785 * calc/calc-store.el (calc-store-map):
5786 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
5787 (calc-map-equation, calc-outer-product, calc-inner-product):
5788 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
5789
5790 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
5791
5792 2012-09-19 Juri Linkov <juri@jurta.org>
5793
5794 * dired-aux.el (dired-diff): Add (require 'diff) because
5795 `diff-latest-backup-file' is not autoloaded.
5796 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
5797 of `dired-get-filename' to t to not report error when there is
5798 no default file on the current line.
5799
5800 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5801
5802 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
5803 macroexp--eval-if-compile.
5804 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
5805 (macroexp--expand-all): Use them (bug#12371).
5806
5807 * doc-view.el (doc-view-guess-paper-size)
5808 (doc-view-scale-bounding-box): Fix unbound `caddr'.
5809
5810 2012-09-19 Tassilo Horn <tsdh@gnu.org>
5811
5812 New feature: set optimal slice from BoundingBox information.
5813 * doc-view.el (doc-view-mode-map): Add keybinding.
5814 (doc-view-menu): Add menu entry.
5815 (doc-view-set-slice): Adapt docstring.
5816 (doc-view-get-bounding-box, doc-view-guess-paper-size)
5817 (doc-view-scale-bounding-box)
5818 (doc-view-set-slice-from-bounding-box): New functions.
5819 (doc-view-paper-sizes): New defvar.
5820
5821 2012-09-19 Glenn Morris <rgm@gnu.org>
5822
5823 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
5824 (byte-compile-log-warning): Autoload. (Bug#12371)
5825
5826 * calendar/calendar.el (calendar-american-month-header)
5827 (calendar-european-month-header, calendar-iso-month-header)
5828 (calendar-month-header): New options.
5829 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
5830 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
5831
5832 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
5833
5834 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
5835
5836 2012-09-18 Juri Linkov <juri@jurta.org>
5837
5838 * dired-aux.el (dired-diff): Restore original functionality of
5839 getting the default value, but keep new feature of using the
5840 latest existing backup file (`diff-latest-backup-file').
5841
5842 2012-09-18 Juri Linkov <juri@jurta.org>
5843
5844 * dired.el (dired-mark): If the region is active in Transient Mark
5845 mode, mark all files in the active region. Doc fix.
5846 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
5847 Doc fix. (Bug#10624)
5848
5849 2012-09-18 Juri Linkov <juri@jurta.org>
5850
5851 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
5852 attributes for M-n are pulled from the file at point.
5853 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
5854 Suggested by Drew Adams. (Bug#10624)
5855
5856 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
5857
5858 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
5859 whitespace after "end".
5860 (ruby-do-end-to-brace): Collapse block to one line if it fits
5861 within fill-column.
5862
5863 2012-09-18 Martin Rudalics <rudalics@gmx.at>
5864
5865 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
5866 value.
5867 (debug): Don't remove debugger window when debugger is expected
5868 to be back.
5869
5870 2012-09-18 Chong Yidong <cyd@gnu.org>
5871
5872 * custom.el (defface): Doc fix.
5873
5874 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
5875
5876 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
5877
5878 * progmodes/compile.el (compilation-start): Use compilation-always-kill
5879 to initialize query-on-exit; then test that instead (bug#12288).
5880
5881 2012-09-17 Stefan Merten <smerten@oekonux.de>
5882
5883 * textmodes/rst.el: Add support for `testcover'.
5884 (rst-defcustom-testcover, rst-testcover-add-compose)
5885 (rst-testcover-add-1value): New functions.
5886 (rst-portable-mark-active-p): Replace by `use-region-p'.
5887 (rst-update-section, rst-classify-adornment)
5888 (rst-find-title-line): Mark `1value' forms.
5889 (rst-classify-adornment): Remove superfluous form.
5890 (rst-update-section, rst-get-adornments-around)
5891 (rst-adornment-complete-p, rst-get-next-adornment)
5892 (rst-adjust, rst-promote-region)
5893 (rst-display-adornments-hierarchy, rst-straighten-adornments)
5894 (rst-find-pfx-in-region, rst-section-tree-rec)
5895 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
5896 (rst-toc-node, rst-toc, rst-forward-section)
5897 (rst-iterate-leftmost-paragraphs)
5898 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
5899 (rst-bullet-list-region)
5900 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
5901 (rst-compile-find-conf, rst-compile)
5902 (rst-repeat-last-character): Fix style.
5903
5904 2012-09-17 Chong Yidong <cyd@gnu.org>
5905
5906 * comint.el (comint--complete-file-name-data): Don't add a space
5907 if the status is `sole'; that adds a gratuitous space in the
5908 completion-cycling case (Bug#12092).
5909
5910 * pcomplete.el (pcomplete-completions-at-point): Likewise.
5911
5912 2012-09-17 Richard Stallman <rms@gnu.org>
5913
5914 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
5915 only in the mime-shown mode, not in raw mode.
5916 (rmail-mime): Toggle off mime by displaying the message without
5917 mime processing. (Bug#12305)
5918
5919 * mail/rmail.el (rmail-retry-failure):
5920 Turn off mime processing first. (Bug#12037)
5921
5922 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
5923
5924 2012-09-17 Chong Yidong <cyd@gnu.org>
5925
5926 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
5927 (shell-dynamic-complete-functions): Convert to defcustom.
5928 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
5929
5930 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
5931 * comint.el (comint-prompt-read-only):
5932 * custom.el (defcustom):
5933 * hi-lock.el (hi-lock-mode):
5934 * ibuffer.el (ibuffer-formats):
5935 * ielm.el (ielm-prompt-read-only):
5936 * novice.el (disable-command):
5937 * saveplace.el (toggle-save-place):
5938 * speedbar.el (speedbar-supported-extension-expressions):
5939 * startup.el (auto-save-list-file-prefix, init-file-user)
5940 (after-init-hook, inhibit-startup-echo-area-message):
5941 * strokes.el (strokes-help):
5942 * time-stamp.el (time-stamp):
5943 * calendar/calendar.el (calendar, diary-file):
5944 * calendar/diary-lib.el (diary-mail-entries, diary)
5945 (diary-list-entries-hook):
5946 * calendar/holidays.el (holidays, calendar-holidays):
5947 * calendar/lunar.el (lunar-phases):
5948 * calendar/solar.el (sunrise-sunset):
5949 * emulation/edt.el (edt-load-keys):
5950 * emulation/viper.el (viper-mode):
5951 * eshell/em-alias.el (eshell-command-aliases-list):
5952 * eshell/esh-util.el (eshell-convert-numeric-arguments):
5953 * international/ogonek.el (ogonek-information):
5954 * net/tramp-cmds.el (tramp-bug):
5955 * net/quickurl.el (quickurl-reread-hook-postfix):
5956 * play/decipher.el (decipher-font-lock-keywords):
5957 * progmodes/cc-styles.el (c-set-style):
5958 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
5959 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5960 * progmodes/octave-mod.el (octave-mode):
5961 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
5962 * progmodes/verilog-mode.el (verilog-read-defines):
5963 * textmodes/two-column.el (2C-mode): Likewise.
5964
5965 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
5966
5967 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
5968 that holds many addresses.
5969
5970 2012-09-16 Chong Yidong <cyd@gnu.org>
5971
5972 * align.el (align-areas): Call the indication function with
5973 positions instead of markers for arguments (Bug#12343).
5974
5975 * files.el (parse-colon-path): Use split-string (Bug#12351).
5976
5977 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
5978 (display-buffer-function): Mark as obsolete.
5979
5980 * progmodes/compile.el (compilation-parse-errors): Accept list
5981 values similar to font-lock-keywords (Bug#12136).
5982 Suggested by Oleksandr Manzyuk.
5983 (compilation-error-regexp-alist): Doc fix.
5984
5985 2012-09-15 Glenn Morris <rgm@gnu.org>
5986
5987 * version.el (emacs-bzr-version-bzr): New function.
5988 (emacs-bzr-get-version): Add optional EXTERNAL argument.
5989
5990 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
5991 checkouts, check the parent dirstate matches the branch.
5992 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
5993 empty string.
5994
5995 * version.el (emacs-bzr-version): Doc fix.
5996 (emacs-bzr-version-dirstate): New function.
5997 (emacs-bzr-get-version): For lightweight checkouts, if the parent
5998 is local try and check that it matches the branch. If not, just
5999 use dirstate information. (Bug#12441)
6000
6001 2012-09-14 Juri Linkov <juri@jurta.org>
6002
6003 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
6004 (Bug#12399)
6005
6006 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6007
6008 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
6009
6010 * emacs-lisp/edebug.el: Miscellaneous cleanup.
6011 Remove obsolete byte-compiler hack that tried to silence some warnings.
6012 (edebug-submit-bug-report): Remove.
6013 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
6014 Remove aliases, use the un-prefixed name instead.
6015 (edebug-pop-to-buffer): Consider other frames.
6016 (edebug-original-read):: Make it more obvious that it's always defined.
6017 (edebug--make-form-data-entry, edebug--form-data-name)
6018 (edebug--form-data-begin, edebug--form-data-end): Rename from the
6019 single-dashed name, and implement with cl-defstruct.
6020 (edebug-set-form-data-entry): Use the standard accessors.
6021 (edebug-make-top-form-data-entry): Use push.
6022 (edebug-no-match): Drop useless `funcall'.
6023 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
6024 to functions.
6025 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
6026 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
6027 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
6028 (easy-menu-define, with-custom-print): Remove redundant specs.
6029 (edebug-outside-overriding-local-map)
6030 (edebug-outside-overriding-terminal-local-map): Remove, unused.
6031 (edebug--display): Bind unread-command-events directly to nil rather
6032 than binding it to unread-command-events and later setting it to nil.
6033 (edebug--display): Kill edebug-eval-buffer here...
6034 (edebug--recursive-edit): ...rather than here.
6035 Bind standard-output and standard-input.
6036 (edebug-eval): Check cl-macroexpand-all is fboundp.
6037 (edebug-temp-display-freq-count): Fix last change.
6038
6039 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
6040 * subr.el (noreturn, 1value): Add `debug' spec.
6041 * emacs-lisp/advice.el: Require cl-lib.
6042 (ad-copy-tree): Remove, use copy-tree instead.
6043 (ad-dolist): Remove use dolist or cl-dolist instead.
6044 (ad-do-return): Remove, use cl-return instead.
6045 (defadvice): Add `debug' spec.
6046
6047 2012-09-13 Juri Linkov <juri@jurta.org>
6048
6049 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
6050 (Bug#12399)
6051
6052 2012-09-13 Glenn Morris <rgm@gnu.org>
6053
6054 * calc/calc.el (math-compose-expr):
6055 * calc/calc-ext.el (math-compose-expr):
6056 * progmodes/cc-defs.el (cl-macroexpand-all):
6057 * progmodes/cc-langs.el (delete-duplicates, mapcan)
6058 (cl-macroexpand-all): Update declarations.
6059
6060 * vc/vc.el: No need to require ediff.
6061 (ediff-load-version-control): Declare.
6062 (ediff-vc-internal): Fix declaration.
6063 (vc-version-ediff): Require ediff.
6064
6065 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6066
6067 Use a more backwards-compatible timer format (Bug#12430).
6068 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
6069 being right after USECS, as that better supports old code that
6070 inadvisedly looked directly at the timer vector.
6071
6072 2012-09-13 Kenichi Handa <handa@gnu.org>
6073
6074 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
6075 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
6076 `coding-priority' property of these language environment.
6077
6078 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
6079
6080 Fix glitches caused by addition of psec to timers (Bug#12430).
6081 * image.el (image-animate-timer):
6082 * time.el (display-time-world-timer):
6083 Use timer--function and timer--args rather than raw access to
6084 timer vector.
6085
6086 2012-09-13 Glenn Morris <rgm@gnu.org>
6087
6088 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
6089 If not compiling a file, try using load-file-name.
6090
6091 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6092
6093 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
6094 Fix last change.
6095 (edebug-update-eval-list): Use `push'.
6096
6097 * emacs-lisp/edebug.el: Use lexical-binding.
6098 Remove the "edebug-" prefix from non-dynamically-scoped variables.
6099 Mark unused args with underscore.
6100 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
6101 (edebug-form-data): Use defvar-local.
6102 (edebug-make-before-and-after-form, edebug-make-after-form):
6103 Use backquote.
6104 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
6105 Not dynamically scoped any more.
6106 (edebug--enter-trace): Add arguments `function' and `args'.
6107 Rename from edebug-enter-trace.
6108 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
6109 (edebug--update-coverage): Add `after-index' and `value' args.
6110 Rename from edebug-update-coverage.
6111 (edebug-slow-after): Call it accordingly.
6112 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
6113 edebug-recursive-edit.
6114 (edebug--display): Call it accordingly. Add args `value',
6115 `offset-index', and `arg-mode'. Rename from edebug-display.
6116 (edebug-debugger, edebug): Call it accordingly.
6117 (edebug-eval-display-list): Use dolist.
6118
6119 2012-09-12 Juri Linkov <juri@jurta.org>
6120
6121 * info.el (Info-search): Don't check for isearch-mode and
6122 isearch-regexp before let-binding search-spaces-regexp to
6123 Info-search-whitespace-regexp.
6124 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
6125 search-whitespace-regexp if isearch-lax-whitespace or
6126 isearch-regexp-lax-whitespace is non-nil.
6127 (Info-mode): Don't set local variable search-whitespace-regexp.
6128 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
6129
6130 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6131
6132 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
6133 (debugger-env-macro): Remove support for unread-command-char.
6134
6135 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
6136 the temporary map re-appearing on emulation-mode-map-alists.
6137
6138 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
6139 since 22.1.
6140
6141 * ehelp.el (with-electric-help): Accept functions in
6142 electric-help-form-to-execute.
6143 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
6144 And replace unread-command-char -> unread-command-events.
6145
6146 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
6147
6148 Sync with Tramp 2.2.6.
6149
6150 * net/tramp.el (tramp-accept-process-output): Don't use
6151 JUST-THIS-ONE in the XEmacs case.
6152
6153 * net/trampver.el: Update release number.
6154
6155 2012-09-12 Martin Rudalics <rudalics@gmx.at>
6156
6157 * emacs-lisp/debug.el (debugger-previous-window-height):
6158 New variable.
6159 (debug): When debugger-jumping-flag is non-nil try to restore
6160 height of debugger window. (Bug#8789)
6161
6162 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6163
6164 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
6165 overriding-local-map and pre/post-command-hook here.
6166 (edebug-recursive-edit): Do it here instead (bug#12345).
6167 (edebug-outside-unread-command-char): Remove all uses of
6168 unread-command-char.
6169
6170 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
6171 inhibit-debugger is bound instead.
6172
6173 2012-09-11 Bastien Guerry <bzg@gnu.org>
6174
6175 * subr.el (set-temporary-overlay-map): Add a docstring.
6176 (Bug#12346)
6177
6178 2012-09-11 Bastien Guerry <bzg@gnu.org>
6179
6180 * minibuffer.el (completion-table-subvert): Fix docstring.
6181 (Bug#12347)
6182
6183 2012-09-11 Bastien Guerry <bzg@gnu.org>
6184
6185 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
6186
6187 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
6188
6189 * progmodes/sql.el: Version 3.1
6190 (sql-db2-escape-newlines): New variable.
6191 (sql-escape-newlines-filter): Use it.
6192
6193 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
6194
6195 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
6196
6197 2012-09-10 Dan Nicolaescu <dann@gnu.org>
6198
6199 * vc/diff-mode.el (diff-mode-menu):
6200 Bind diff-remove-trailing-whitespace.
6201
6202 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6203
6204 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
6205 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
6206 (emacs-lisp-byte-code-mode): New functions.
6207 (eval-sexp-add-defvars): Don't skip defvars in column >0.
6208 (eval-defun-2): Remove bogus interactive spec.
6209 (lisp-indent-line): Remove redundant whole-exp code, now done in
6210 indent-according-to-mode.
6211 (save-match-data): Remove redundant indent data.
6212
6213 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
6214 Use `declare'.
6215
6216 2012-09-09 Juri Linkov <juri@jurta.org>
6217
6218 * replace.el (replace-regexp-lax-whitespace): New defcustom.
6219 (replace-lax-whitespace, query-replace-regexp)
6220 (query-replace-regexp-eval, replace-regexp): Doc fix.
6221 (perform-replace, replace-highlight): Let-bind
6222 isearch-lax-whitespace to replace-lax-whitespace and
6223 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
6224
6225 * isearch.el (isearch-query-replace): Let-bind
6226 replace-lax-whitespace to isearch-lax-whitespace and
6227 replace-regexp-lax-whitespace to
6228 isearch-regexp-lax-whitespace. (Bug#10885)
6229
6230 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6231
6232 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
6233
6234 2012-09-09 Alan Mackenzie <acm@muc.de>
6235
6236 * progmodes/cc-engine.el (c-state-cache-init):
6237 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
6238 (c-record-parse-state-state):
6239 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
6240
6241 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
6242
6243 * register.el (register-separator): Rename from
6244 separator-register. All uses changed. Doc fix.
6245 (register): Fix version.
6246
6247 2012-09-09 Chong Yidong <cyd@gnu.org>
6248
6249 * replace.el (query-replace-map): Bind four new symbols for
6250 requesting window scrolling.
6251
6252 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
6253 query-replace-map (Bug#8948).
6254
6255 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
6256
6257 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
6258 since they are now in query-replace-map.
6259
6260 * window.el (scroll-other-window-down): Make the arg optional.
6261
6262 2012-09-09 Chong Yidong <cyd@gnu.org>
6263
6264 * files.el (hack-local-variables-confirm): Use quit-window to kill
6265 the *Local Variables* buffer.
6266
6267 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6268
6269 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
6270 not just expect to be at its beginning. Adjust callees.
6271 Succeed when do-end block has no space before the pipe character.
6272 (ruby-brace-to-do-end): When the original block is one-liner,
6273 convert to multiline. Reindent the result.
6274
6275 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
6276
6277 * register.el (register): New group.
6278 (separator-register): New user option.
6279 (increment-register): Route it to `append-to-register', if
6280 register contains text. Implication is that `C-x r +' can now be
6281 used for appending to a text register (bug#12217).
6282 (append-to-register, prepend-to-register): Add separator based on
6283 `separator-register'.
6284
6285 2012-09-08 Alan Mackenzie <acm@muc.de>
6286
6287 AWK Mode: make auto-newline work when there's "==" in the pattern.
6288 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
6289 correctly.
6290 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
6291 Test more rigorously for "=" token.
6292
6293 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
6294
6295 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
6296 Only fail when reached LIMIT.
6297
6298 2012-09-08 Chong Yidong <cyd@gnu.org>
6299
6300 * dired.el (dired-mode-map): Don't bind M-=.
6301
6302 * dired-aux.el (dired-diff): Use backup file as default.
6303
6304 2012-09-08 Drew Adams <drew.adams@oracle.com>
6305
6306 * subr.el (add-to-history): Fix delete usage (Bug#12314).
6307
6308 2012-09-08 Chong Yidong <cyd@gnu.org>
6309
6310 * subr.el (syntax-after, syntax-class): Doc fix.
6311
6312 2012-09-08 Martin Rudalics <rudalics@gmx.at>
6313
6314 * window.el (display-buffer-in-previous-window): New buffer
6315 display action function.
6316
6317 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
6318 (debugger-previous-window): New variable.
6319 (debug): Rewrite using display-buffer-in-previous-window,
6320 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
6321
6322 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
6323
6324 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
6325
6326 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
6327
6328 * progmodes/python.el (python-shell-send-string):
6329 When default-directory is remote, create temp file on remote
6330 filesystem.
6331 (python-shell-send-file): When file is remote, pass local view of
6332 file paths to remote Python interpreter. (Bug#12340)
6333
6334 2012-09-07 Chong Yidong <cyd@gnu.org>
6335
6336 * window.el (switch-to-buffer): Doc fix (Bug#12181).
6337
6338 * files.el (after-find-file): Don't fail on a read-only buffer if
6339 require-final-newline is `visit' or `visit-save' (Bug#11156).
6340
6341 * subr.el (read-char-choice): Allow quitting via ESC ESC.
6342
6343 * userlock.el (ask-user-about-supersession-threat):
6344 Use read-char-choice (Bug#12093).
6345
6346 2012-09-07 Chong Yidong <cyd@gnu.org>
6347
6348 * subr.el (buffer-narrowed-p): New function.
6349
6350 * ses.el (ses-widen):
6351 * simple.el (count-words--buffer-message):
6352 * net/browse-url.el (browse-url-of-buffer): Use it.
6353
6354 * simple.el (count-words-region): Don't signal an error if there
6355 is a non-nil prefix arg and the mark is not set.
6356
6357 * help.el (describe-key-briefly): Allow the message to be seen
6358 when invoked from the minibuffer (Bug#7014).
6359
6360 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6361
6362 * progmodes/ruby-mode.el (ruby-end-of-defun)
6363 (ruby-beginning-of-defun): Simplify, allow indentation before
6364 block beginning and end keywords.
6365 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
6366 (ruby-end-of-defun): Expect that the point is at the beginning of
6367 the defun.
6368
6369 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6370
6371 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
6372 (bug#12367).
6373 (cl--make-usage-args): Strip _ from argument names.
6374
6375 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6376
6377 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
6378 obsolete alias speedbar-key-map.
6379 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
6380 (vhdl-index-menu-init): Don't use obsolete variable
6381 font-lock-maximum-size.
6382
6383 2012-09-06 Chong Yidong <cyd@gnu.org>
6384
6385 * frame.el (window-system-version): Mark as obsolete.
6386
6387 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
6388 of obsolete variable speedbar-key-map.
6389
6390 2012-09-06 Juri Linkov <juri@jurta.org>
6391
6392 * replace.el (replace-lax-whitespace): New defcustom.
6393 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6394 (replace-string, replace-regexp): Mention it in docstrings.
6395 (perform-replace, replace-highlight): Let-bind
6396 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
6397 to the values of replace-lax-whitespace and regexp-flag.
6398 Don't let-bind search-whitespace-regexp. (Bug#10885)
6399
6400 * isearch.el (isearch-query-replace): Let-bind
6401 replace-lax-whitespace instead of let-binding
6402 replace-search-function and replace-re-search-function.
6403 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
6404 and isearch-regexp-lax-whitespace to lazy-highlight variables.
6405 (isearch-toggle-symbol): Set isearch-regexp to nil
6406 in isearch-word mode (like in isearch-toggle-word).
6407
6408 2012-09-06 Juri Linkov <juri@jurta.org>
6409
6410 * replace.el (replace-search-function)
6411 (replace-re-search-function): Set default values to nil.
6412 (perform-replace): Let-bind isearch-related variables based on
6413 replace-related values, call `isearch-search-fun' and let-bind
6414 the result to `search-function'. Remove code that sets
6415 `search-function' and `search-string' separately for
6416 `delimited-flag'.
6417 (replace-highlight): Add new argument `delimited-flag' and
6418 rename other arguments to the names used in `perform-replace'.
6419 Let-bind `isearch-word' to the argument `delimited-flag'.
6420 (Bug#10885, bug#10887)
6421
6422 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
6423
6424 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
6425 ruby-beginning-of-indent, simplify, allow all keywords to have
6426 indentation before them.
6427 (ruby-beginning-of-indent): Adjust for above. Search until the
6428 found point is not inside a string or comment.
6429 (ruby-font-lock-keywords): Allow symbols to start with "@"
6430 character, give them higher priority than variables.
6431 (ruby-syntax-propertize-function)
6432 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
6433 matchers. Expression expansions are not comments when inside a
6434 string, and there comment syntax status is irrelevant.
6435 (ruby-match-expression-expansion): New function. Check that
6436 expression expansion is inside a string, and it's not escaped.
6437 (ruby-font-lock-keywords): Use it.
6438
6439 2012-09-05 Martin Rudalics <rudalics@gmx.at>
6440
6441 * help.el (temp-buffer-max-height): New default value.
6442 (temp-buffer-resize-frames): New option.
6443 (resize-temp-buffer-window): Optionally resize frame.
6444
6445 * window.el (fit-frame-to-buffer-bottom-margin): New option.
6446 (fit-frame-to-buffer): New function.
6447
6448 2012-09-05 Glenn Morris <rgm@gnu.org>
6449
6450 * emulation/cua-rect.el (cua--init-rectangles):
6451 * textmodes/picture.el (picture-mode-map):
6452 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
6453 like forward-char and backward-char. (Bug#12317)
6454
6455 2012-09-05 Leo Liu <sdl.web@gmail.com>
6456
6457 * progmodes/flymake.el (flymake-warning-re): New variable.
6458 (flymake-parse-line): Use it.
6459
6460 2012-09-05 Glenn Morris <rgm@gnu.org>
6461
6462 * calendar/holidays.el (holiday-christian-holidays):
6463 Rename an entry. (Bug#12289)
6464
6465 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6466
6467 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
6468 (bug#12222).
6469
6470 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6471
6472 * loadup.el: Load macroexp. Remove hack.
6473 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
6474 (macroexp--expand-all): Use it to get better warnings.
6475 (macroexp--backtrace, macroexp--trim-backtrace-frame)
6476 (internal-macroexpand-for-load): New functions.
6477 (macroexp--pending-eager-loads): New var.
6478 (emacs-startup-hook): New hack to replace one in loadup.el.
6479 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
6480 (cl--compiler-macro-cXXr): Move to top, before they can be used.
6481 (cl-psetf): Simplify.
6482 (cl-defstruct): Add indent rule.
6483
6484 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
6485
6486 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
6487 over `user-mail-address' for the SMTP MAIL FROM envelope.
6488 (smtpmail-via-smtp): Ditto.
6489
6490 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
6491
6492 * progmodes/ruby-mode.el: Clean up keybindings.
6493 (ruby-mode-map): Don't bind ruby-electric-brace,
6494 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
6495 backward-kill-word, reindent-then-newline-and-indent.
6496 (ruby-mark-defun): Remove.
6497 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
6498 (ruby-mode): Set local beginning-of-defun-function and
6499 end-of-defun-function values.
6500
6501 2012-09-03 Martin Rudalics <rudalics@gmx.at>
6502
6503 * window.el (temp-buffer-window-setup-hook)
6504 (temp-buffer-window-show-hook): New hooks.
6505 (temp-buffer-window-setup, temp-buffer-window-show)
6506 (with-temp-buffer-window): New functions.
6507 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
6508 (special-display-popup-frame): Make sure the window used shows BUFFER.
6509
6510 * help.el (temp-buffer-resize-mode): Fix doc-string.
6511 (resize-temp-buffer-window): New optional argument WINDOW.
6512
6513 * files.el (recover-file, save-buffers-kill-emacs):
6514 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
6515
6516 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
6517
6518 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
6519 remote definition of `default-directory', ensure we can connect.
6520
6521 2012-09-02 Juri Linkov <juri@jurta.org>
6522
6523 Toggle whitespace matching mode with M-s SPC.
6524 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
6525
6526 * isearch.el (search-whitespace-regexp): Doc fix.
6527 Remove cons cell customization.
6528 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
6529 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
6530 New variables.
6531 (isearch-forward, isearch-forward-regexp): Doc fix.
6532 (isearch-toggle-lax-whitespace): New command.
6533 (search-forward-lax-whitespace, search-backward-lax-whitespace)
6534 (re-search-forward-lax-whitespace)
6535 (re-search-backward-lax-whitespace): New functions.
6536 (isearch-whitespace-regexp): Remove function.
6537 (isearch-query-replace): Let-bind replace-search-function and
6538 replace-re-search-function.
6539 (isearch-occur): Let-bind search-spaces-regexp according to the
6540 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
6541 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
6542 condition for C-q SPC.
6543 (isearch-search-fun-default): Use new functions mentioned above.
6544 (isearch-search-forward, isearch-search-backward): Remove functions.
6545 (isearch-search): Don't let-bind search-spaces-regexp.
6546 (isearch-lazy-highlight-space-regexp): Remove variable.
6547 (isearch-lazy-highlight-lax-whitespace)
6548 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
6549 (isearch-lazy-highlight-new-loop): Use them.
6550 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
6551
6552 2012-09-02 Chong Yidong <cyd@gnu.org>
6553
6554 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
6555
6556 2012-09-02 Glenn Morris <rgm@gnu.org>
6557
6558 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
6559
6560 2012-09-01 Glenn Morris <rgm@gnu.org>
6561
6562 * term.el: Tidy up menu definitions.
6563 (term-mode-map): Use easymenu for In/Out, Complete menus.
6564 (term-pager-break-map): Initialize in the defvar.
6565 (term-terminal-menu, term-signals-menu): Define with easymenu.
6566 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
6567 (term-pager-menu): New, extracted from term-process-pager.
6568 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
6569 (term-update-mode-line): Propertize line/char and page items.
6570 (term-process-pager): Move keymap initialization elsewhere.
6571
6572 2012-09-01 Martin Rudalics <rudalics@gmx.at>
6573
6574 * window.el (switch-to-prev-buffer): Handle additional values of
6575 BURY-OR-KILL argument. Don't switch in minibuffer window.
6576 (switch-to-next-buffer): Don't switch in minibuffer window.
6577 (quit-restore-window): New function based on quit-window.
6578 Handle additional values of former KILL argument.
6579 (quit-window): Call quit-restore-window with appropriate
6580 interpretation of KILL argument.
6581 (display-buffer-below-selected): New buffer display action
6582 function.
6583
6584 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6585
6586 * minibuffer.el (completion-at-point-functions): Complete docstring
6587 (bug#12254).
6588
6589 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
6590
6591 Better seed support for (random).
6592 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
6593 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
6594 * play/mpuz.el, play/tetris.el, play/zone.el:
6595 * calc/calc-comb.el (math-init-random-base):
6596 * play/blackbox.el (bb-init-board):
6597 * play/life.el (life):
6598 * server.el (server-use-tcp):
6599 * type-break.el (type-break):
6600 Remove unnecessary call to (random t).
6601 * net/sasl.el (sasl-unique-id-function):
6602 Change (random t) to (random), now that the latter is more random.
6603 * play/life.el (life-initialized): Remove no-longer-needed var.
6604
6605 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
6606
6607 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
6608 Consider frame's buffer predicate when choosing the buffer.
6609 (Bug#12081)
6610
6611 2012-08-30 Richard Stallman <rms@gnu.org>
6612
6613 * simple.el (special-mode-map): Delete binding for `z'.
6614
6615 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
6616
6617 * progmodes/compile.el (compilation-always-kill): Doc fix.
6618
6619 2012-08-30 Chong Yidong <cyd@gnu.org>
6620
6621 * window.el (display-buffer-reuse-frames): Make the obsolescence
6622 message more informative.
6623
6624 2012-08-30 Glenn Morris <rgm@gnu.org>
6625
6626 * paren.el (show-paren-delay):
6627 Add a :set function. Doc fix. (Bug#12297)
6628
6629 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
6630
6631 * progmodes/compile.el (compilation-always-kill): New var.
6632 (compilation-start): Use it.
6633
6634 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6635
6636 * simple.el (read-only-mode): Move from files.el for bootstrapping.
6637 * files.el (read-only-mode): Move to simple.el.
6638
6639 * files.el (read-only-mode): New minor mode.
6640 (toggle-read-only): Use it and mark obsolete.
6641 (find-file--read-only):
6642 * vc/vc.el (vc-next-action, vc-checkout):
6643 * vc/vc-cvs.el (vc-cvs-checkout):
6644 * obsolete/vc-mcvs.el (vc-mcvs-update):
6645 * ffap.el (ffap--toggle-read-only): Update callers.
6646
6647 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
6648
6649 * eshell/esh-ext.el (eshell-external-command): Do not examine
6650 remote shell scripts.
6651 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
6652
6653 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
6654 "/usr/local/sbin".
6655
6656 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6657
6658 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
6659
6660 2012-08-28 Leo Liu <sdl.web@gmail.com>
6661
6662 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
6663 completion-at-point. (Bug#12220)
6664
6665 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
6666
6667 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
6668
6669 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6670
6671 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
6672 be buffer-local; add delete-trailing-whitespace (bug#12259).
6673
6674 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
6675
6676 * progmodes/hideif.el (hif-compress-define-list):
6677 Fix typo. (Bug#11951)
6678
6679 2012-08-28 Dan Nicolaescu <dann@gnu.org>
6680
6681 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
6682 buffer local setting.
6683
6684 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
6685 rcirc-encode-coding-system.
6686
6687 2012-08-28 Leo Liu <sdl.web@gmail.com>
6688
6689 * net/rcirc.el (rcirc-split-message): New function.
6690 (rcirc-send-message): Use it. (Bug#12051)
6691
6692 2012-08-28 Juri Linkov <juri@jurta.org>
6693
6694 * info.el (Info-fontify-node): Hide empty lines at the end of
6695 the node. (Bug#12272)
6696
6697 2012-08-27 Drew Adams <drew.adams@oracle.com>
6698
6699 * dired.el (dired-pop-to-buffer): Make window start at beginning
6700 of buffer (Bug#12281).
6701
6702 2012-08-26 Chong Yidong <cyd@gnu.org>
6703
6704 * window.el (special-display-regexps, special-display-frame-alist)
6705 (special-display-buffer-names, special-display-function)
6706 (display-buffer-reuse-frames): Mark as obsolete.
6707
6708 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
6709
6710 * help.el (help-print-return-message): Don't treat
6711 display-buffer-reuse-frames specially.
6712
6713 2012-08-26 Chong Yidong <cyd@gnu.org>
6714
6715 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6716 New variable, replacing gdb-frame-parameters.
6717 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
6718 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
6719 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
6720 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
6721 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
6722 the functions directly with gdb-display-buffer-other-frame-action.
6723 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
6724 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
6725 (gdb-display-stack-buffer, gdb-display-locals-buffer)
6726 (gdb-display-registers-buffer): Define directly.
6727 (def-gdb-display-buffer): Macro deleted.
6728 (gdb-display-buffer): Remove second and third args, callers don't
6729 use them. Defer to the default display-buffer behavior, apart
6730 from making windows dedicated.
6731 (gdb-setup-windows): Don't call display-buffer unnecessarily.
6732
6733 * progmodes/gud.el (gud-display-line): Just use display-buffer.
6734
6735 * window.el (display-buffer-pop-up-frame): Handle a
6736 pop-up-frame-parameters alist entry.
6737 (display-buffer): Document it.
6738
6739 2012-08-26 Chong Yidong <cyd@gnu.org>
6740
6741 * isearch.el (search-whitespace-regexp): Make string and nil
6742 values apply to both ordinary and regexp search. Allow a cons
6743 cell value to distinguish between the two.
6744 (isearch-whitespace-regexp, isearch-search-forward)
6745 (isearch-search-backward): New functions.
6746 (isearch-occur, isearch-search-fun-default, isearch-search)
6747 (isearch-lazy-highlight-new-loop): Use them.
6748 (isearch-forward, isearch-forward-regexp): Doc fix.
6749
6750 2012-08-26 Chong Yidong <cyd@gnu.org>
6751
6752 * faces.el (help-argument-name): Always inherit from italic
6753 (Bug#12213).
6754
6755 2012-08-25 Martin Rudalics <rudalics@gmx.at>
6756
6757 * window.el (window--even-window-heights): Even heights when
6758 WINDOW and the selected window form a vertical combination.
6759 (display-buffer-use-some-window): Provide that window used gets
6760 sized back by quit-window. (Bug#11880) and (Bug#12091)
6761
6762 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
6763
6764 Fix file time stamp problem with bzr and CVS (Bug#12001).
6765 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
6766 in the file's time stamp, since the version control system loses
6767 that information.
6768
6769 2012-08-22 Juri Linkov <juri@jurta.org>
6770
6771 * info.el (Info-fontify-node): Hide the suffix of the
6772 Info file name in the header line. (Bug#12187)
6773
6774 2012-08-22 Glenn Morris <rgm@gnu.org>
6775
6776 * calendar/cal-tex.el (cal-tex-weekly-common):
6777 Restore leading blank page.
6778
6779 2012-08-22 Le Wang <l26wang@gmail.com>
6780
6781 * misc.el (forward-to-word, backward-to-word): Activate or extend
6782 the region under `shift-select-mode'. (Bug#12231)
6783
6784 2012-08-22 Bastien Guerry <bzg@gnu.org>
6785
6786 * progmodes/executable.el (executable-prefix): Set to "#!" instead
6787 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
6788 gives details on why the space is never needed.
6789
6790 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6791
6792 * window.el (walk-window-tree, window-with-parameter):
6793 New optional argument MINIBUF to control whether these functions
6794 should run on the minibuffer window.
6795 (window-at-side-list): Don't operate on minibuffer window.
6796 (window-in-direction): Simplify and rewrite doc-string.
6797 (window--size-ignore): Rename to window--size-ignore-p.
6798 Update callers.
6799 (display-buffer-in-atom-window, window--major-non-side-window)
6800 (window--major-side-window, display-buffer-in-major-side-window)
6801 (delete-side-window, display-buffer-in-side-window):
6802 New functions.
6803 (window--side-check, window-deletable-p, delete-window)
6804 (delete-other-windows, split-window): Handle side windows and
6805 atomic windows appropriately.
6806 (window--display-buffer): Call display-buffer-record-window also
6807 when the window buffer did not change.
6808
6809 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
6810
6811 * help-fns.el (help-fns--key-bindings):
6812 Abbreviate non-symbol remap targets. (Bug#12174)
6813
6814 2012-08-22 Martin Rudalics <rudalics@gmx.at>
6815
6816 * dired.el (dired-mark-remembered): Don't clobber point.
6817 (Bug#11795)
6818
6819 2012-08-22 Glenn Morris <rgm@gnu.org>
6820
6821 * progmodes/bug-reference.el (bug-reference): New custom group.
6822 (bug-reference-bug-regexp): Make it a defcustom.
6823
6824 2012-08-22 Daiki Ueno <ueno@unixuser.org>
6825
6826 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
6827 (js-paren-indent-offset, js-square-indent-offset)
6828 (js-curly-indent-offset): Add :safe (Bug#12257).
6829
6830 2012-08-22 Edward O'Connor <hober0@gmail.com>
6831
6832 * json.el (json-key-format): Add error properties.
6833 (json-encode-key): New function.
6834 (json-encode-hash-table, json-encode-alist, json-encode-plist):
6835 Use json-encode-key.
6836
6837 2012-08-22 Glenn Morris <rgm@gnu.org>
6838
6839 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
6840 (cal-tex-leftday, cal-tex-rightday): Remove functions.
6841 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
6842 Update for above change.
6843
6844 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
6845
6846 * cus-face.el (custom-face-attributes): Fix customize type for the
6847 :underline attribute. (Bug#11805)
6848
6849 2012-08-21 Martin Rudalics <rudalics@gmx.at>
6850
6851 * window.el (window-point-1, set-window-point-1): Remove.
6852 (window-in-direction, record-window-buffer)
6853 (set-window-buffer-start-and-point, split-window-below)
6854 (window--state-get-1, display-buffer-record-window):
6855 Replace calls to window-point-1 and set-window-point-1 by calls to
6856 window-point and set-window-point respectively.
6857
6858 2012-08-21 Glenn Morris <rgm@gnu.org>
6859
6860 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
6861 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
6862 Use it.
6863
6864 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
6865 (cal-tex-shortday): New function.
6866 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
6867 (cal-tex-cursor-filofax-daily): Use the above.
6868
6869 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
6870 New functions.
6871 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6872 (cal-tex-cursor-filofax-week): Use them.
6873
6874 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
6875 New constants.
6876 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
6877 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
6878
6879 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
6880 (cal-tex-end-document): Don't rely on buffer name.
6881
6882 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
6883 Use cal-tex-vspace.
6884 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
6885 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
6886 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
6887 Use cal-tex-arg.
6888
6889 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
6890 (cal-tex-cursor-week, cal-tex-cursor-week2)
6891 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
6892 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6893 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
6894 (cal-tex-insert-preamble, cal-tex-b-document)
6895 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
6896 Improve cal-tex-cmd usage.
6897
6898 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
6899 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
6900 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
6901 (cal-tex-weekly-paper): New function.
6902 (cal-tex-cursor-week, cal-tex-cursor-week2)
6903 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
6904 (cal-tex-cursor-day): Use it.
6905
6906 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
6907 (cal-tex-cursor-filofax-week): Remove leading blank page.
6908
6909 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6910 Add autoload cookie. For now at least, don't use color, since
6911 no other cal-tex function does.
6912
6913 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
6914 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
6915 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
6916
6917 2012-08-21 Juri Linkov <juri@jurta.org>
6918
6919 * info.el (Info-file-attributes): New variable.
6920 (info-insert-file-contents): Add file attributes to
6921 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
6922 `Info-toc-nodes' when previous modtime of the Info file is less
6923 than new modtime.
6924 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
6925 of info.el. (Bug#12230)
6926
6927 2012-08-20 Glenn Morris <rgm@gnu.org>
6928
6929 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
6930 * calendar/holidays.el (calendar-holiday-list):
6931 Report errors with display-warning rather than beep'n'sleep.
6932
6933 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
6934
6935 * net/tramp.el (tramp-accept-process-output): Accept only output
6936 from PROC. Otherwise, process filters and sentinels might be
6937 confused. (Bug#12145)
6938
6939 2012-08-20 Chong Yidong <cyd@gnu.org>
6940
6941 * descr-text.el (describe-text-properties-1): Use overlays-in to
6942 report on empty overlays (Bug#3322).
6943
6944 2012-08-20 Glenn Morris <rgm@gnu.org>
6945
6946 * mail/rmailout.el (rmail-output-read-file-name):
6947 Trap and report errors in rmail-output-file-alist elements.
6948
6949 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
6950 since most non-font-lock faces are not also variables).
6951
6952 2012-08-20 Edward Reingold <reingold@iit.edu>
6953
6954 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
6955 New function. (Bug12160)
6956
6957 2012-08-19 Glenn Morris <rgm@gnu.org>
6958
6959 * mail/rmailout.el (rmail-output-read-file-name):
6960 Fix previous change (when the alist is nil or does not match).
6961
6962 2012-08-19 Chong Yidong <cyd@gnu.org>
6963
6964 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
6965 (Bug#12228).
6966
6967 2012-08-18 Chong Yidong <cyd@gnu.org>
6968
6969 * simple.el (yank-handled-properties): New defcustom.
6970 (yank-excluded-properties): Add font-lock-face and category.
6971 (yank): Doc fix.
6972
6973 * subr.el (remove-yank-excluded-properties):
6974 Obey yank-handled-properties. The special handling of font-lock-face
6975 and category is now done this way, instead of being hard-coded.
6976 (insert-for-yank-1): Remove font-lock-face handling.
6977 (yank-handle-font-lock-face-property)
6978 (yank-handle-category-property): New function.
6979
6980 2012-08-17 Glenn Morris <rgm@gnu.org>
6981
6982 * mail/rmailout.el (rmail-output-read-file-name):
6983 Check rmail-output-file-alist against the full message body
6984 in the correct rmail buffer. (Bug#12214)
6985
6986 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
6987
6988 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6989 Eliminate superfluous prompt. (Bug#12203)
6990
6991 2012-08-17 Chong Yidong <cyd@gnu.org>
6992
6993 * mouse.el (mouse-appearance-menu): If x-select-font returns a
6994 font spec, set the font directly (Bug#3228).
6995
6996 2012-08-17 Martin Rudalics <rudalics@gmx.at>
6997
6998 * window.el (delete-window): Fix last fix.
6999
7000 2012-08-16 Martin Rudalics <rudalics@gmx.at>
7001
7002 * window.el (window-valid-p): Move to window.c.
7003 (window-child, window-child-count, window-last-child)
7004 (window-normalize-window, window-combined-p)
7005 (window-combinations, window-atom-root, window-min-size)
7006 (window-sizable, window-sizable-p, window-size-fixed-p)
7007 (window-min-delta, window-max-delta, window--resizable)
7008 (window--resizable-p, window-resizable, window-total-size)
7009 (window-full-height-p, window-full-width-p, window-body-size)
7010 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
7011 (minimize-window, window-deletable-p, delete-window)
7012 (delete-other-windows, set-window-buffer-start-and-point)
7013 (next-buffer, previous-buffer, split-window, balance-windows-2)
7014 (set-window-text-height, window-buffer-height)
7015 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
7016 (truncated-partial-width-window-p): Minor code adjustments.
7017 In doc-strings state whether the argument window has to denote a
7018 live, valid or any window.
7019
7020 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
7021
7022 * progmodes/subword.el (subword-forward-function)
7023 (subword-backward-function, subword-forward-regexp)
7024 (subword-backward-regexp): New variables.
7025 (subword-forward, subword-forward-internal, subword-backward-internal):
7026 Use new variables, eg so that different "word" definitions
7027 can be easily used. (Bug#11411)
7028
7029 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7030
7031 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
7032 for composite selectors.
7033 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
7034 operation just because we can't find a previous revision.
7035
7036 2012-08-15 Chong Yidong <cyd@gnu.org>
7037
7038 * frame.el (set-frame-font): Accept font objects.
7039
7040 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7041
7042 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
7043
7044 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
7045
7046 * man.el (Man-overstrike-face, Man-underline-face)
7047 (Man-reverse-face): Remove variables.
7048 (Man-overstrike, Man-underline, Man-reverse): New faces.
7049 (Man-fontify-manpage): Use them instead of the variables.
7050 (Man-cleanup-manpage): Comment change.
7051 (Man-ansi-color-map): New variable.
7052 (Man-fontify-manpage): Use it.
7053 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
7054
7055 Implement ANSI SGR parameters 22-27 (bug#12146).
7056 * ansi-color.el (ansi-colors): Doc fix.
7057 (ansi-color-context, ansi-color-context-region): Doc fix.
7058 (ansi-color--find-face): New function.
7059 (ansi-color-apply, ansi-color-apply-on-region): Use it.
7060 Rename the local variable `face' to `codes' since it is now a list of
7061 ansi codes. Doc fix.
7062 (ansi-color-get-face): Remove.
7063 (ansi-color-parse-sequence): New function, derived from
7064 ansi-color-get-face.
7065 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
7066 codes 22-27.
7067
7068 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
7069
7070 * subr.el (read-passwd): Allow use from a minibuffer.
7071
7072 2012-08-14 Eli Zaretskii <eliz@gnu.org>
7073
7074 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
7075 inside comments and strings as identifiers.
7076
7077 * progmodes/gud.el (gud-tooltip-print-command): Quote the
7078 expression to evaluate. This allows to evaluate expressions with
7079 embedded whitespace.
7080 (gud-tooltip-tips): Add a blank before the newline in the
7081 message-box text, for the benefit of message-box emulation on
7082 MS-Windows.
7083
7084 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
7085 messages from GDB, pop them up in a tooltip to give feedback to
7086 user.
7087 (gdb-tooltip-print-1): Quote the expression to evaluate.
7088 This allows to evaluate expressions with embedded whitespace.
7089 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
7090 if the TTY name is nil or empty (which happens when communicating
7091 with the inferior via pipes, e.g. on MS-Windows).
7092 (gdb-internals): If GDB sends a "&\n" empty debugging message,
7093 don't send that to the GUD buffer.
7094
7095 2012-08-14 Glenn Morris <rgm@gnu.org>
7096
7097 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
7098 Optimize away setq-default with no args, as for setq. (Bug#12195)
7099
7100 2012-08-14 Chong Yidong <cyd@gnu.org>
7101
7102 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
7103
7104 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
7105 (Bug#12085).
7106
7107 2012-08-14 Glenn Morris <rgm@gnu.org>
7108
7109 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
7110
7111 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
7112
7113 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
7114 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7115 Use cached shell name.
7116
7117 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7118
7119 * progmodes/python.el (python-shell-send-string):
7120 (python-shell-send-setup-code): Do not use `format' with `message'.
7121
7122 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
7123
7124 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
7125 (ruby-percent-literal-beg-re): New constant.
7126 (ruby-syntax-general-delimiters-goto-beg): Rename to
7127 `ruby-syntax-enclosing-percent-literal', improve literal type check.
7128 (ruby-syntax-propertize-general-delimiters): Rename to
7129 `ruby-syntax-propertize-percent-literal', it's a shorter and more
7130 popular term. Adjust comments everywhere.
7131 (ruby-syntax-propertize-percent-literal): Only propertize when not
7132 inside a simple string or comment. When the literal is unclosed,
7133 leave the text after it unpropertized.
7134 (ruby-syntax-methods-before-regexp): New constant.
7135 (ruby-syntax-propertize-function): Use it to recognize regexps.
7136 Don't look at the text after regexp, just use the whitelist.
7137
7138 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
7139
7140 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
7141 non-nil always load the compiled file if it exists. (Bug#12197)
7142
7143 2012-08-14 Chong Yidong <cyd@gnu.org>
7144
7145 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
7146 (hi-lock-set-pattern): When deciding whether to use font lock or
7147 overlays, look at font-lock-mode instead of font-lock-fontified
7148 (Bug#12168).
7149 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
7150 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
7151
7152 2012-08-14 Daiki Ueno <ueno@unixuser.org>
7153
7154 * subr.el (internal--after-with-selected-window): Fix typo
7155 (Bug#12193).
7156
7157 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
7158
7159 Use `completion-table-dynamic' for completion functions.
7160 * progmodes/python.el
7161 (python-shell-completion--do-completion-at-point)
7162 (python-shell-completion--get-completions):
7163 Remove functions.
7164 (python-shell-completion-complete-at-point): New function.
7165 (python-completion-complete-at-point): Use it.
7166
7167 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
7168
7169 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
7170 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
7171
7172 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7173
7174 * subr.el (function-get): Refine `autoload' arg so it can also
7175 autoload functions for gv.el (bug#12191).
7176 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
7177 autoloads macros.
7178
7179 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
7180 Prefer pcase-let over destructuring-bind.
7181 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
7182 Also, remove whitespace as we go, rather than after accumulating the
7183 various places.
7184
7185 * subr.el (internal--before-with-selected-window)
7186 (internal--after-with-selected-window): Fix typo seleted->selected.
7187 (with-selected-window): Adjust callers.
7188 Reported by Dmitry Gutov <dgutov@yandex.ru>.
7189
7190 2012-08-13 Bastien Guerry <bzg@gnu.org>
7191
7192 * window.el (special-display-popup-frame): Minor docstring
7193 enhancement. (Bug#12172)
7194
7195 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7196
7197 * tar-mode.el (tar-header-data-end): Only ignore size for files of
7198 type 1-6.
7199 (tar-header-block-summarize, tar-get-descriptor): Handle pax
7200 extended headers.
7201
7202 * files.el (hack-local-variables-filter): Remove useless eval.
7203
7204 2012-08-13 Martin Rudalics <rudalics@gmx.at>
7205
7206 * subr.el (with-selected-window): Fix last change.
7207
7208 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7209
7210 * subr.el (internal--before-with-seleted-window)
7211 (internal--after-with-seleted-window): New functions.
7212 (with-selected-window): Use them, to replace dependency on
7213 tty-top-frame.
7214
7215 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
7216
7217 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
7218 binding for `newline'.
7219 (ruby-move-to-block): When moving backward, stop at block opening,
7220 not indentation.
7221 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
7222 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
7223 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7224 `ruby-toggle-block'.
7225
7226 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
7227
7228 * ibuffer.el (ibuffer-do-toggle-read-only):
7229 * dired.el (dired-toggle-read-only):
7230 * buff-menu.el (Buffer-menu-toggle-read-only):
7231 * bindings.el (mode-line-toggle-read-only):
7232 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
7233
7234 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
7235
7236 * descr-text.el (describe-char): Put the overlays over the
7237 "displayed as" character.
7238
7239 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7240
7241 * calc/calc-units.el (math-default-units-table): Give an
7242 initial value.
7243 (math-put-default-units): Add options to put composite units and
7244 unit systems in the default units table.
7245 (calc-convert-units): Send composite units to
7246 `math-put-default-units' when appropriate.
7247
7248 2012-08-11 Glenn Morris <rgm@gnu.org>
7249
7250 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
7251
7252 * tutorial.el (help-with-tutorial):
7253 * emacs-lisp/copyright.el (copyright-update-directory):
7254 * emacs-lisp/autoload.el (autoload-find-generated-file)
7255 (autoload-find-file): Disable local eval: (for insurance).
7256
7257 * files.el (hack-local-variables-filter): If an eval: form is not
7258 known to be safe, and enable-local-variables is :safe, then ignore
7259 the form totally, as is done for non-eval forms. (Bug#12155)
7260 This is CVE-2012-3479.
7261
7262 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7263
7264 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
7265 (rx-form): Simplify.
7266
7267 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
7268
7269 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
7270 ?, _, and : are symbol constituents, ! is not (but kinda should be).
7271 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
7272 (ruby-syntax-propertize-function): Adjust for changes in
7273 `ruby-syntax-propertize-heredoc'.
7274
7275 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
7276
7277 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
7278 binding (use `M-;' instead).
7279 (ruby-singleton-class-p): New function.
7280 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
7281
7282 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7283
7284 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
7285
7286 2012-08-10 Chong Yidong <cyd@gnu.org>
7287
7288 * progmodes/python.el (python-shell-get-process-name): Don't mess
7289 with same-window-buffer-names.
7290
7291 * eshell/eshell.el (eshell-add-to-window-buffer-names)
7292 (eshell-remove-from-window-buffer-names): Make obsolete.
7293 (eshell-buffer-name, eshell-unload-hook): Don't use them.
7294 (eshell): Just use pop-to-buffer-same-window instead.
7295
7296 2012-08-10 Chong Yidong <cyd@gnu.org>
7297
7298 * bindings.el: Bind M-= back to count-words-region.
7299
7300 * simple.el (count-words-region): Accept a prefix arg for acting
7301 on the entire buffer.
7302 (count-words--buffer-message): New helper function.
7303
7304 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7305
7306 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
7307 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
7308 (event-start, event-end): Use posn-at-point to return a more
7309 informative posn.
7310 (posnp): New function.
7311 * mouse.el (popup-menu-normalize-position): Use it.
7312
7313 2012-08-10 Masatake YAMATO <yamato@redhat.com>
7314
7315 * mouse.el (popup-menu-normalize-position): New function.
7316 (popup-menu): Use `popup-menu-normalize-position' to normalize
7317 the form for POSITION argument.
7318
7319 * term/x-win.el (x-menu-bar-open):
7320 Use the value returend from (posn-at-point) as position
7321 passed to `popup-menu'.
7322
7323 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7324
7325 * calc/calccomp.el (math-compose-expr): Add extra argument
7326 indicating that parentheses should be put around products in
7327 denominators. Give multiplication precedence over division during
7328 composition.
7329
7330 2012-08-09 Chong Yidong <cyd@gnu.org>
7331
7332 * man.el (Man-switches, Man-sed-command, Man-awk-command)
7333 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
7334 (Man-untabify-command, manual-program): Convert to defcustom
7335 (Bug#10429).
7336
7337 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
7338
7339 * descr-text.el (describe-char): Don't insert extra newlines
7340 (Bug#10127).
7341
7342 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
7343 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
7344
7345 * align.el (align-region): Delete temporary markers (Bug#10047).
7346 Plus some code cleanups.
7347
7348 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7349
7350 * progmodes/python.el (python-pdbtrack-tracked-buffer)
7351 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
7352 (python-shell-internal-last-output): Use make-local-variable
7353 instead of make-variable-buffer-local.
7354
7355 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
7356
7357 * progmodes/python.el: Enhancements to forward-sexp.
7358 (python-nav-forward-sexp): Rename from
7359 python-nav-forward-sexp-function.
7360 (python-nav--forward-sexp, python-nav--backward-sexp):
7361 New functions.
7362
7363 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
7364
7365 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
7366 modes and simplification modes.
7367
7368 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7369
7370 * delsel.el (delete-selection-pre-hook): Don't propagate the
7371 file-supersession signals (bug#12161).
7372
7373 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7374
7375 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
7376 (cl-map-extents): Add compatibility aliases (bug#12135).
7377
7378 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
7379
7380 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
7381 tests by `ignore-error'.
7382 (tramp-find-shell): Open also a new shell, when cache is already
7383 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
7384
7385 2012-08-08 Juri Linkov <juri@jurta.org>
7386
7387 * bookmark.el: Add `defaults' property to the bookmark record.
7388 (bookmark-current-buffer): Doc fix.
7389 (bookmark-make-record): Add `defaults' property with default values
7390 to the bookmark record.
7391 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
7392 with `bookmark-insert-current-bookmark'.
7393 (bookmark-set): Get `defaults' property from the bookmark record
7394 and use it in `read-from-minibuffer'.
7395 (bookmark-insert-current-bookmark): Remove function.
7396
7397 * info.el (Info-bookmark-make-record): Add `defaults' property
7398 with values of canonical Info node name, the current Info file
7399 name and the current Info node name. (Bug#12107)
7400
7401 2012-08-08 Juri Linkov <juri@jurta.org>
7402
7403 * files.el (basic-save-buffer): Use `buffer-name' as the default
7404 of `read-file-name' when buffer is not visiting a file (bug#12128).
7405
7406 2012-08-08 Juri Linkov <juri@jurta.org>
7407
7408 * info.el (Info-isearch-search): Doc fix.
7409 (Info-search): Change search-failed message from "initial node" to
7410 "end of node" (bug#12078).
7411 (Info-isearch-search): Change `isearch-string-state' to
7412 `isearch--state-string'.
7413
7414 2012-08-08 Glenn Morris <rgm@gnu.org>
7415
7416 * language/persian.el: Remove file.
7417 * language/misc-lang.el: Move unique part of persian.el here.
7418 * loadup.el: Remove language/persian.
7419
7420 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
7421
7422 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
7423
7424 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
7425
7426 * progmodes/python.el: Fix defsubst warning.
7427 (python-syntax-context) Rename from python-info-ppss-context.
7428 (python-syntax-context-type): Rename from
7429 python-info-ppss-context-type.
7430 (python-syntax-comment-or-string-p): Rename from
7431 python-info-ppss-comment-or-string-p.
7432
7433 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
7434
7435 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
7436
7437 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
7438
7439 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
7440 a defcustom that is quoted with backquote.
7441
7442 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
7443 Fix handling of interactive spec when the body uses return.
7444 (math-do-arg-check, math-define-function-body): Use backquote forms.
7445 * calc/calc-ext.el (math-defcache): Likewise.
7446 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
7447 * allout.el (allout-new-exposure): Likewise.
7448 * calc/calcalg2.el (math-tracing-integral): Likewise.
7449 * info.el (Info-last-menu-item): Likewise.
7450 * emulation/vip.el (vip-loop): Likewise.
7451 * textmodes/artist.el (artist-funcall): Likewise.
7452 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
7453 Construct menu-item directly.
7454
7455 * progmodes/autoconf.el (font-lock-syntactic-keywords):
7456 Don't declare.
7457
7458 2012-08-07 Chong Yidong <cyd@gnu.org>
7459
7460 * simple.el (deactivate-mark): Preserve text properties when
7461 saving the primary selection (Bug#8384).
7462
7463 2012-08-07 Kevin Ryde <user42@zip.com.au>
7464
7465 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
7466 (woman-parse-numeric-value): On a bad .IP line, issue a warning
7467 and continue processing (Bug#12110).
7468
7469 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7470
7471 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
7472 syntax-propertize-function (bug#10095).
7473
7474 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
7475
7476 * help-fns.el (help-fns--key-bindings, help-fns--signature)
7477 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
7478 describe-function-1.
7479 (describe-function-1): Use them. Move compiler macro after sig.
7480 (help-fns--compiler-macro): Use function-get. Assume we're already in
7481 standard-output. Adjust layout to new call order.
7482
7483 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
7484 re-binding a symbol that has a symbol-macro (bug#12119).
7485
7486 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
7487
7488 * language/persian.el: New file. (Bug#11812)
7489 * loadup.el: Add language/persian.el.
7490
7491 2012-08-06 Chong Yidong <cyd@gnu.org>
7492
7493 * window.el (window--maybe-raise-frame): New function.
7494 (window--display-buffer): Split off from here.
7495 (display-buffer-reuse-window, display-buffer-pop-up-frame)
7496 (display-buffer-pop-up-window, display-buffer-use-some-window):
7497 Obey an inhibit-switch-frame action alist entry.
7498 (display-buffer): Update doc.
7499
7500 * replace.el (occur-after-change-function): Avoid losing focus by
7501 using the inhibit-switch-frame display parameter (Bug#12139).
7502
7503 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
7504
7505 Make internal shell process buffer names start with space.
7506 * progmodes/python.el (python-shell-make-comint): Add optional
7507 argument INTERNAL.
7508 (run-python-internal): Use it.
7509 (python-shell-internal-get-or-create-process): Check for new
7510 internal buffer names.
7511
7512 2012-08-06 Glenn Morris <rgm@gnu.org>
7513
7514 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
7515 Do less getting and setting of environment variables.
7516
7517 2012-08-05 Chong Yidong <cyd@gnu.org>
7518
7519 * proced.el (proced): Add substitution string to docstring to
7520 trigger autoloading of the proced library on C-h f (Bug#1768).
7521
7522 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7523 Don't show defvars which have no second argument (Bug#8638).
7524
7525 * imenu.el (imenu-generic-expression): Move documentation here
7526 from imenu--generic-function.
7527 (imenu--generic-function): Refer to imenu-generic-expression.
7528
7529 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
7530
7531 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
7532 indentation declaration.
7533 (viper-loop): Add indentation declaration (Bug#7025).
7534
7535 2012-08-05 Chong Yidong <cyd@gnu.org>
7536
7537 * help-fns.el (describe-variable): Add hyperlink for
7538 directory-local variables files. Improve buffer-local and
7539 permanent-local reporting; suggested by MON KEY (Bug#6644).
7540
7541 * help-mode.el (help-dir-local-var-def): New button type.
7542
7543 * files.el (kill-buffer-hook): Provide a defvar.
7544
7545 2012-08-05 Glenn Morris <rgm@gnu.org>
7546
7547 * eshell/esh-ext.el (eshell/addpath):
7548 Also update eshell-path-env. (Bug#12013)
7549
7550 2012-08-05 Chong Yidong <cyd@gnu.org>
7551
7552 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
7553
7554 * fringe.el (fringe-styles): Add docstring.
7555 (fringe--check-mode): New function.
7556 (set-fringe-mode, set-fringe-style): Use it.
7557 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
7558
7559 * files.el (set-auto-mode): Fix invalid setq call.
7560
7561 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7562
7563 * isearch.el: Misc simplification; use defstruct.
7564 (isearch-mode-map): Dense maps now work like sparse ones.
7565 (isearch--state): New defstruct.
7566 (isearch-string-state, isearch-message-state, isearch-point-state)
7567 (isearch-success-state, isearch-forward-state)
7568 (isearch-other-end-state, isearch-word-state, isearch-error-state)
7569 (isearch-wrapped-state, isearch-barrier-state)
7570 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
7571 replaced by defstruct's accessors.
7572 (isearch--set-state): Rename from isearch-top-state and change
7573 calling convention.
7574 (isearch-push-state): Use new isearch--get-state.
7575 (isearch-toggle-word): Disable regexp when enabling word.
7576 (isearch-message-prefix): Remove unused arg _c-q-hack.
7577 (isearch-message-suffix): Remove unused arg _ellipsis.
7578
7579 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
7580
7581 * simple.el (list-processes--refresh): For a server use :host or
7582 :local as the address.
7583 (list-processes): Doc fix.
7584
7585 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
7586
7587 * lisp/mpc.el: Support password in host argument.
7588 (mpc--proc-connect): Parse and use new password element.
7589 Set mpc-proc variable instead of returning process.
7590 (mpc-proc): Adjust accordingly.
7591
7592 2012-08-03 Eli Zaretskii <eliz@gnu.org>
7593
7594 * whitespace.el (whitespace-display-mappings): Use Unicode
7595 codepoints, instead of emacs-mule codepoints. See
7596 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
7597 for the details.
7598
7599 * files.el (file-truename): Don't skip symlink-chasing part on
7600 windows-nt. Incorporate the resolution of 8+3 short aliases on
7601 Windows into the loop that recursively chases symlinks.
7602 Compare directory and its parent case-insensitively on MS-Windows and
7603 MS-DOS.
7604
7605 2012-08-03 Chong Yidong <cyd@gnu.org>
7606
7607 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
7608
7609 * sort.el (sort-regexp-fields): Doc fix.
7610
7611 2012-08-03 Tassilo Horn <tsdh@gnu.org>
7612
7613 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
7614 labels regex position point at the expected place.
7615
7616 2012-08-03 MON KEY <monkey@sandpframing.com>
7617
7618 * net/imap.el (imap-interactive-login, imap-authenticate)
7619 (imap-mailbox-lsub, imap-mailbox-list)
7620 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
7621 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
7622 (imap-parse-response): Doc fix.
7623
7624 2012-08-03 João Távora <joaotavora@gmail.com>
7625
7626 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
7627 if sexp scanning does not move point (Bug#5734).
7628
7629 2012-08-02 Tassilo Horn <tsdh@gnu.org>
7630
7631 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
7632 Add listings, minted, and ctable packages.
7633 (reftex-label-alist-builtin): Move listings, minted, and ctable
7634 entries before LaTeX.
7635 (reftex-label-alist): Docfix.
7636
7637 2012-08-02 Bastien Guerry <bzg@gnu.org>
7638
7639 * replace.el (occur): Fix docstring (bug#12122).
7640
7641 2012-08-02 Glenn Morris <rgm@gnu.org>
7642
7643 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
7644
7645 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
7646
7647 Obsolete alias inactivate-current-input-method-function (Bug#10150).
7648 * international/mule-cmds.el: Create
7649 inactivate-current-input-method-function as an obsolete alias for
7650 deactivate-current-input-method-function. See Katsumi Yamaoka in
7651 <http://bugs.gnu.org/10150#46>.
7652
7653 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
7654
7655 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
7656 of nested `if's.
7657
7658 2012-08-01 Glenn Morris <rgm@gnu.org>
7659
7660 * progmodes/autoconf.el (autoconf-definition-regexp):
7661 Add AH_TEMPLATE, adjust submatch numbering.
7662 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
7663 (autoconf-current-defun-function): Update for above change.
7664 (autoconf-current-defun-function): First skip to end of current word.
7665
7666 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
7667
7668 * calendar/cal-html.el (cal-html-insert-agenda-days):
7669 Fix typo. (Bug#12018)
7670
7671 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7672
7673 Shell processes: enhancements to startup and CEDET compatibility.
7674 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
7675 (python-shell-make-comint): accept-process-output at startup.
7676 (run-python-internal): Set inferior-python-mode-hook to nil.
7677 (python-shell-internal-get-or-create-process): call sit-for.
7678 (python-preoutput-result): Add obsolete alias.
7679 (python-shell-internal-send-string): Use it.
7680 (python-shell-send-setup-code): Remove call to
7681 accept-process-output.
7682
7683 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
7684
7685 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
7686 (Bug#12108)
7687
7688 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
7689
7690 * calc-mode.el (calc-basic-simplification-mode): Rename from
7691 `calc-limited-simplification-mode'.
7692 (calc-alg-simplification-mode): New function.
7693 (calc-set-simplify-mode): Adjust message.
7694
7695 * calc.el (calc-set-mode-line): Adjust mode line display for
7696 basic simplification mode.
7697
7698 * calc-help.el (calc-m-prefix-help): Update help message.
7699
7700 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
7701 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
7702
7703 2012-07-31 Bastien Guerry <bzg@gnu.org>
7704
7705 * man.el (man): Fix comment. (bug#12101)
7706
7707 2012-07-31 Martin Rudalics <rudalics@gmx.at>
7708
7709 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7710 Don't return a non-nil value when no suitable buffer was found.
7711
7712 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
7713
7714 * progmodes/python.el (run-python-internal): Disable font lock for
7715 internal shells.
7716
7717 2012-07-30 Stefan Merten <smerten@oekonux.de>
7718
7719 * textmodes/rst.el: Silence `checkdoc-ispell'.
7720 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
7721 (rst-official-version, rst-official-cvs-rev)
7722 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
7723 (rst-mode-map): New key binding.
7724
7725 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
7726
7727 Update .PHONY listings in makefiles.
7728 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
7729 autoloads, update-subdirs, updates, bzr-update, update-authors,
7730 compile-onefile, compile-calc, backup-compiled-files,
7731 compile-after-backup, compile-one-process, mh-autoloads,
7732 bootstrap-clean, distclean, maintainer-clean.
7733
7734 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7735
7736 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
7737 (calc-set-mode-line): Don't display "AlgSimp ".
7738
7739 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
7740 (calc-lim-simplify-mode): New function.
7741 (calc-set-simplify-mode): Default to 'alg.
7742 (calc-default-simplify-mode): Make algebraic simplifications
7743 the default.
7744
7745 * calc/calc-ext.el (calc-init-extensions): Remove binding for
7746 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
7747
7748 * calc/calc-help.el (calc-m-prefix-help): Change messages to
7749 indicate new simplification modes.
7750
7751 * calc/README: Mention new default simplification mode.
7752
7753 * calc/calc.el (math-normalize-error): New variable.
7754 (math-normalize): Set `math-normalize-error' to t
7755 when there's an error.
7756
7757 * calc/calc-alg.el (math-simplify): Don't simplify when
7758 `math-normalize' returns an error.
7759
7760 2012-07-29 Eli Zaretskii <eliz@gnu.org>
7761
7762 * international/mule-cmds.el (set-locale-environment): Revert last
7763 change, since display-graphic-p returns nil when this function is
7764 called during startup. Instead...
7765
7766 * term/w32console.el (terminal-init-w32console): ...setup the
7767 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
7768
7769 2012-07-29 Juri Linkov <juri@jurta.org>
7770
7771 * simple.el (goto-line): Don't display default line number in the
7772 prompt because it should be displayed by `read-number' (bug#9952).
7773 Add the current line number to the defaults of `goto-line' to
7774 allow its easier modification by users with `M-n' (bug#9201).
7775
7776 * subr.el (read-number): Support multiple default values like in
7777 other minibuffer reading functions. Replace `read' with
7778 `string-to-number' for consistency with `number-to-string'.
7779
7780 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
7781
7782 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
7783 * emulation/viper-init.el (viper-deactivate-input-method-action):
7784 Rename from viper-inactivate-input-method-action.
7785 (viper-deactivate-input-method):
7786 Rename from viper-inactivate-input-method.
7787 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
7788 * international/mule-cmds.el (deactivate-input-method):
7789 Rename from inactivate-input-method.
7790 Also run input-method-deactivate-hook.
7791 (deactivate-current-input-method-function):
7792 Rename from inactivate-current-input-method-function.
7793 (input-method-deactivate-hook): New hook.
7794 (input-method-inactivate-hook): Mark obsolete.
7795 (inactivate-input-method): Mark obsolete.
7796
7797 * international/quail.el (quail-activate):
7798 Also run quail-deactivate-hook.
7799 (quail-deactivate): Rename from quail-inactivate.
7800 * international/robin.el (robin-activate):
7801 Also run robin-deactivate-hook.
7802 (robin-deactivate): Rename from robin-inactivate.
7803
7804 2012-07-29 Chong Yidong <cyd@gnu.org>
7805
7806 * simple.el (indicate-copied-region): New function.
7807 (kill-ring-save): Split off from here.
7808
7809 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
7810 (kill-rectangle): Set deactivate-mark to t on read-only error.
7811
7812 * register.el (copy-to-register, copy-rectangle-to-register):
7813 Deactivate the mark, and use indicate-copied-region (Bug#10056).
7814 (append-to-register, prepend-to-register): Call indicate-copied-region.
7815
7816 2012-07-29 Juri Linkov <juri@jurta.org>
7817
7818 * simple.el (async-shell-command-buffer): New defcustom.
7819 (shell-command): Use it. (Bug#4719)
7820
7821 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7822
7823 * international/mule-cmds.el (set-locale-environment): In a
7824 console session on MS-Windows, set up keyboard and terminal
7825 encoding from the OEM codepage, not the ANSI codepage.
7826 (Bug#12055)
7827
7828 2012-07-28 Chong Yidong <cyd@gnu.org>
7829
7830 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
7831 gdb-get-location.
7832
7833 2012-07-28 Leo Liu <sdl.web@gmail.com>
7834
7835 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
7836 the alist (bug#12029).
7837
7838 2012-07-28 Eli Zaretskii <eliz@gnu.org>
7839
7840 * makefile.w32-in (custom-deps, finder-data, updates, compile)
7841 (compile-always, compile-first)
7842 ($(lisp)/calendar/cal-loaddefs.el)
7843 ($(lisp)/calendar/diary-loaddefs.el)
7844 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7845 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
7846 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
7847 instead of on update-subdirs.
7848 (bootstrap-clean): Delete $(lisp)/subdirs.el.
7849
7850 2012-07-28 Chong Yidong <cyd@gnu.org>
7851
7852 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
7853 directory if vc-deduce-backend returns nil (Bug#7350).
7854
7855 * simple.el (delete-trailing-lines): New option.
7856 (delete-trailing-whitespace): Obey it (Bug#11879).
7857
7858 2012-07-28 David Engster <deng@randomsample.de>
7859
7860 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
7861 Explanation of new 'symbol-qnames feature in doc-strings.
7862 (xml-maybe-do-ns): Return expanded names as plain symbols if
7863 'symbol-qnames was provided in XML-NS argument (Bug#11916).
7864 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
7865
7866 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7867
7868 Consistent completion in inferior python with emacs -nw.
7869 * progmodes/python.el (inferior-python-mode): replace "<tab>"
7870 binding in inferior-python-mode-map with "\t".
7871 (python-shell-completion-complete-at-point)
7872 (python-completion-complete-at-point): Remove interactive spec.
7873
7874 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7875
7876 * calc/calccomp.el (math-compose-expr): Undo previous change.
7877
7878 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
7879
7880 * progmodes/python.el (python-mode-map): Add keybinding for
7881 run-python.
7882 (python-shell-make-comint): Fix pop-to-buffer call.
7883 (run-python): Autoload. New arg SHOW.
7884 (python-shell-get-or-create-process): Do not pop python process
7885 buffer.
7886
7887 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
7888
7889 * notifications.el (notifications-on-action-signal)
7890 (notifications-on-closed-signal): Use also the bus address for the map.
7891 (notifications-notify, notifications-close-notification)
7892 (notifications-get-capabilities): Add optional argument BUS.
7893
7894 2012-07-27 Tassilo Horn <tsdh@gnu.org>
7895
7896 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
7897 Add support for the lstlisting and minted environments, and for the
7898 ctable macro.
7899 * textmodes/reftex.el (reftex-compile-variables): Also recognize
7900 labels written in keyvals syntax.
7901
7902 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
7903
7904 * calc/calccomp.el (math-compose-expr): Use parentheses when
7905 there is a product in the denominator of a fraction.
7906
7907 2012-07-26 Eli Zaretskii <eliz@gnu.org>
7908
7909 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
7910 ($(lisp)/calendar/diary-loaddefs.el)
7911 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
7912 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
7913 Fixes failures in parallel bootstrap because subdirs.el is being
7914 rewritten while the autoload files are built at the same time,
7915 which needs to load subdirs.el.
7916
7917 2012-07-26 Martin Rudalics <rudalics@gmx.at>
7918
7919 * mouse.el (popup-menu): Fix doc-string and re-indent code.
7920 (mouse-drag-line): Don't exit tracking when a switch-frame or
7921 switch-window event occurs (Bug#12006).
7922
7923 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7924
7925 * mouse.el (popup-menu): Fix last change.
7926
7927 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7928
7929 Autoload from Lisp with more care. Follow aliases when looking for
7930 function properties.
7931 * subr.el (autoloadp): New function.
7932 (symbol-file): Use it.
7933 (function-get): New function.
7934 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
7935 autoload-do-load.
7936 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
7937 (lisp-indent-function):
7938 * emacs-lisp/gv.el (gv-get):
7939 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
7940 * emacs-lisp/byte-opt.el (byte-optimize-form):
7941 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
7942 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
7943 Use function-get.
7944 * emacs-lisp/cl.el: Don't propagate function properties any more.
7945
7946 * speedbar.el (speedbar-add-localized-speedbar-support):
7947 * emacs-lisp/disass.el (disassemble-internal):
7948 * desktop.el (desktop-load-file):
7949 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
7950 (describe-function-1):
7951 * emacs-lisp/find-func.el (find-function-noselect):
7952 * emacs-lisp/elp.el (elp-instrument-function):
7953 * emacs-lisp/advice.el (ad-has-proper-definition):
7954 * apropos.el (apropos-safe-documentation, apropos-macrop):
7955 * emacs-lisp/debug.el (debug-on-entry):
7956 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
7957 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
7958 * calc/calc.el (name): Use autoloadp & autoload-do-load.
7959
7960 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
7961
7962 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
7963 function, not an obsolete variable (Bug#12046).
7964
7965 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
7966
7967 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
7968
7969 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
7970
7971 * emacs-lisp/pp.el (pp-display-expression): Select old selected
7972 window only if it is still live (Bug#12034).
7973
7974 2012-07-25 Martin Rudalics <rudalics@gmx.at>
7975
7976 * subr.el (redirect-frame-focus): Add advertised calling
7977 convention (Bug#12030).
7978
7979 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
7980
7981 Prefer typical American spelling for "acknowledgment".
7982 * vc/add-log.el (change-log-acknowledgment): Rename from
7983 change-log-acknowledgement, with an alias for the old name.
7984
7985 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
7986
7987 * calc-alg.el (math-simplify-divide): Don't cross multiply
7988 in an equation when the lhs is a variable.
7989
7990 2012-07-24 Julien Danjou <julien@danjou.info>
7991
7992 * net/netrc.el (netrc-find-service-number, netrc-store-data):
7993 Remove, unused.
7994
7995 2012-07-23 Eli Zaretskii <eliz@gnu.org>
7996
7997 * startup.el (command-line): Don't display an empty user name in
7998 the error message about non-existent home directory, when
7999 init-file-user was set to an empty string. See
8000 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
8001 for the details and context.
8002
8003 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
8004
8005 * ses.el (ses-cell-formula-aset): New macro.
8006 (ses-cell-references-aset): New macro.
8007 (ses-cell-p): New function.
8008 (ses-rename-cell): Do no longer rely on complex operations like
8009 ses-cell-set-formula or ses-set-cell to change the cell and handle
8010 the undo at the same time, but rather use lower level new macros
8011 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
8012 the undo directly. Refresh the mode line.
8013
8014 2012-07-21 Leo Liu <sdl.web@gmail.com>
8015
8016 * progmodes/cc-cmds.el (c-defun-name):
8017 Use match-string-no-properties instead for consistency.
8018
8019 2012-07-20 Leo Liu <sdl.web@gmail.com>
8020
8021 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
8022 (Bug#7879)
8023
8024 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
8025
8026 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
8027
8028 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
8029 * progmodes/bug-reference.el, misearch.el: Provide themselves
8030 (bug#11915).
8031
8032 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
8033 of narrowed buffer (bug#11966).
8034
8035 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
8036
8037 * ses.el (ses-rename-cell): Set new name also in reference list of
8038 cells of which the renamed cell depends.
8039
8040 2012-07-20 Masatake YAMATO <yamato@redhat.com>
8041
8042 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
8043 to check whether menu-bar is shown or not. If not shown,
8044 show the menu-bar as a popup menu instead of using tmm.
8045 * mouse.el (popup-menu): Accept `point' as `position' argument.
8046
8047 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
8048
8049 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
8050 up inside string symbol literal (bug#11923).
8051
8052 2012-07-20 Eli Zaretskii <eliz@gnu.org>
8053
8054 * startup.el (fancy-startup-text): Read the whole tutorial, not
8055 just its first 256 bytes. Prevents gibberish in display of the
8056 tutorial title.
8057
8058 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
8059
8060 Drop idle buffer compaction due to an absence of the
8061 proved efficiency.
8062 * compact.el: Remove.
8063
8064 2012-07-19 Sam Steingold <sds@gnu.org>
8065
8066 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
8067 vc-bzr-pull & vc-bzr-merge-branch.
8068 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
8069 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
8070 for consistency with compilation-error-regexp-alist.
8071 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
8072 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
8073 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
8074 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
8075
8076 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8077
8078 * emacs-lisp/chart.el: Use lexical-binding.
8079 (chart-emacs-storage): Don't hardcode the list of entries.
8080
8081 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8082
8083 Next round of tweaks caused by Fgarbage_collect changes.
8084 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
8085
8086 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
8087
8088 Compact buffers when idle.
8089 * compact.el: New file.
8090
8091 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
8092
8093 * subr.el (eventp): Presume that if it looks vaguely like an event,
8094 it's an event (bug#10190).
8095
8096 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
8097
8098 Enhancements to ppss related code (thanks Stefan).
8099 * progmodes/python.el (python-indent-context)
8100 (python-indent-calculate-indentation, python-indent-dedent-line)
8101 (python-indent-electric-colon, python-nav-forward-block)
8102 (python-mode-abbrev-table)
8103 (python-info-assignment-continuation-line-p): Simplify checks
8104 for ppss context.
8105 (python-info-continuation-line-p): Cleanup.
8106 (python-info-ppss-context): Do not catch 'quote.
8107 (python-info-ppss-context-type)
8108 (python-info-ppss-comment-or-string-p): Simplify.
8109
8110 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
8111
8112 * progmodes/python.el: Enhancements to eldoc support.
8113 (python-info-current-symbol): New function.
8114 (python-eldoc-at-point): Use python-info-current-symbol.
8115 (python-info-current-defun): Fix cornercase on first defun scan.
8116 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
8117 and signal error when no inferior python process is available.
8118
8119 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
8120
8121 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
8122 assume it's always t.
8123 (vc-git-registered): Remove caching, the function is only called
8124 once.
8125 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
8126
8127 2012-07-18 Chong Yidong <cyd@gnu.org>
8128
8129 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
8130
8131 * simple.el (count-words): Report on narrowing (Bug#9959).
8132
8133 * bindings.el: Bind M-= to count-words.
8134
8135 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
8136
8137 2012-07-18 Masatake YAMATO <yamato@redhat.com>
8138
8139 * progmodes/sh-script.el (sh-imenu-generic-expression):
8140 Capture a function with `function' keyword and without parentheses
8141 like "function FOO" (bug#11856).
8142
8143 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
8144
8145 * window.el (split-window-sensibly): Make WINDOW argument
8146 optional.
8147
8148 2012-07-18 Chong Yidong <cyd@gnu.org>
8149
8150 * subr.el (keyboard-translate): Doc fix (Bug#7261).
8151
8152 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
8153 and make C-x 8 RET exit isearch (Bug#11439).
8154
8155 * international/iso-transl.el: Move isearch-mode-map key
8156 definitions to isearch.el.
8157
8158 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
8159
8160 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
8161 (eieio-defclass): Use gv-define-setter when possible.
8162
8163 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
8164
8165 Reflect recent changes in Fgarbage_collect.
8166 * emacs-lisp/chart.el (chart-emacs-storage): Change to
8167 reflect new format of data returned by Fgarbage_collect.
8168
8169 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8170
8171 New utility functions + python-info-ppss-context fix (Bug#11910).
8172 * progmodes/python.el (python-info-beginning-of-block-statement-p)
8173 (python-info-ppss-comment-or-string-p): New functions.
8174 (python-info-ppss-context): Small fix for string check.
8175
8176 2012-07-17 Juri Linkov <juri@jurta.org>
8177
8178 * dired-aux.el (dired-do-async-shell-command): Doc fix.
8179 (dired-do-async-shell-command): Don't add `*' at the end of the
8180 command (Bug#11815).
8181 (dired-do-shell-command): Doc fix.
8182 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
8183 Join the individual commands using either "&" or ";" as the
8184 separator depending on the values of these trailing characters.
8185 At the end re-add the trailing "&". (Bug#10598)
8186
8187 * simple.el (async-shell-command): Sync the interactive spec with
8188 `shell-command'. Doc fix.
8189 (shell-command): Doc fix.
8190
8191 2012-07-17 Juri Linkov <juri@jurta.org>
8192
8193 * descr-text.el (describe-char): Fix format args. (Bug#10129)
8194
8195 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8196
8197 Final renames and doc fixes for movement commands (bug#11899).
8198 * progmodes/python.el (python-nav-beginning-of-statement):
8199 Rename from python-nav-statement-start.
8200 (python-nav-end-of-statement): Rename from
8201 python-nav-statement-end.
8202 (python-nav-beginning-of-block): Rename from
8203 python-nav-block-start.
8204 (python-nav-end-of-block): Rename from python-nav-block-end.
8205
8206 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
8207
8208 * progmodes/python.el (python-shell-send-string-no-output):
8209 Allow accept-process-output to quit, keeping shell process ready for
8210 future interactions (Bug#11868).
8211
8212 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8213
8214 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
8215
8216 * emacs-lisp/elint.el (elint-find-args-in-code):
8217 Use help-function-arglist, so as to handle lexical byte-code.
8218
8219 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
8220 change (bug#11826).
8221
8222 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
8223
8224 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
8225 Avoid spuriously marking the buffer as modified because of c-is-sws.
8226
8227 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
8228 as not-a-comment (bug#11946).
8229
8230 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
8231 for uninterned vars.
8232
8233 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
8234 Use read-event since we don't really want to read chars but bytes.
8235
8236 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
8237 $$..$$ but also $..$ using regexps (bug#11953).
8238 Use tex-verbatim for \url and \path.
8239 (tex-font-lock-keywords): Define as defconst like the others.
8240 (tex-common-initialization): Don't use font-lock-syntax-table any more.
8241
8242 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
8243
8244 * international/mule-cmds.el (ucs-insert): Make it an obsolete
8245 alias for insert-char.
8246
8247 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8248
8249 * progmodes/python.el: Simplified imenu implementation.
8250 (python-nav-jump-to-defun): Remove command.
8251 (python-mode-map): Use `imenu' instead.
8252 (python-nav-list-defun-positions-cache)
8253 (python-imenu-include-defun-type, python-imenu-make-tree)
8254 (python-imenu-subtree-root-label, python-imenu-index-alist):
8255 Remove vars.
8256 (python-nav-list-defun-positions, python-nav-read-defun)
8257 (python-imenu-tree-assoc, python-imenu-make-element-tree)
8258 (python-imenu-make-tree, python-imenu-create-index):
8259 Remove functions.
8260 (python-mode): Update to interact with imenu by setting
8261 `imenu-extract-index-name-function' only.
8262
8263 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
8264
8265 * progmodes/python.el: Enhancements to navigation commands.
8266 (python-nav-backward-sentence)
8267 (python-nav-forward-sentence): Remove.
8268 (python-nav-backward-statement, python-nav-forward-statement)
8269 (python-nav-statement-start, python-nav-statement-end)
8270 (python-nav-backward-block, python-nav-forward-block)
8271 (python-nav-block-start, python-nav-block-end)
8272 (python-nav-forward-sexp-function)
8273 (python-info-current-line-comment-p)
8274 (python-info-current-line-empty-p): New functions.
8275 (python-indent-context): Use `python-nav-statement-start'.
8276
8277 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
8278
8279 * eshell/em-ls.el (eshell/ls): Use `apply'.
8280
8281 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
8282 multi-hops, instead of Tramp internals.
8283
8284 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
8285
8286 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
8287 when F1 and F2 are located on different hosts.
8288
8289 2012-07-14 Chong Yidong <cyd@gnu.org>
8290
8291 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
8292 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
8293 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
8294 (xterm-mouse--read-event-sequence-1000)
8295 (xterm-mouse--read-event-sequence-1006): New functions. For old
8296 mouse protocol, handle M-mouse-X events correctly.
8297 (xterm-mouse-event): New arg specifying mouse protocol.
8298 (turn-on-xterm-mouse-tracking-on-terminal)
8299 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
8300 sequence to toggle extended coordinates on newer XTerms.
8301 This appears to be harmless on terminals which do not support this.
8302
8303 2012-07-14 Leo Liu <sdl.web@gmail.com>
8304
8305 Add fringe bitmap indicators for flymake. (Bug#11253)
8306 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
8307 (flymake-make-overlay): New arg BITMAP.
8308 (flymake-error-bitmap, flymake-warning-bitmap)
8309 (flymake-fringe-indicator-position): New user variables.
8310
8311 * fringe.el: New bitmap exclamation-mark.
8312
8313 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
8314
8315 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
8316 also (Bug#7879).
8317
8318 2012-07-14 Chong Yidong <cyd@gnu.org>
8319
8320 * electric.el (electric-pair-post-self-insert-function): Fix pair
8321 insertion in empty-region case (Bug#11520).
8322
8323 2012-07-14 Chong Yidong <cyd@gnu.org>
8324
8325 * bindings.el: Consolidate ctl-x-r-map bindings.
8326 Bind copy-rectangle-as-kill to C-x r w.
8327
8328 * rect.el, register.el: Move bindings to bindings.el.
8329
8330 2012-07-14 Reuben Thomas <rrt@sc3d.org>
8331
8332 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
8333
8334 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
8335
8336 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
8337
8338 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
8339
8340 * bindings.el (top): Use `mapc' instead of `mapcar'.
8341
8342 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
8343
8344 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
8345
8346 * progmodes/sql.el (sql-comint): Suppress the check for program on
8347 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
8348 (Bug#11908)
8349
8350 2012-07-13 Chong Yidong <cyd@gnu.org>
8351
8352 * bindings.el: Assign a non-nil permanent-local property to
8353 per-buffer variables which lack a default value (Bug#11930).
8354
8355 * help-fns.el (describe-variable): In the "automatically becomes
8356 local" notice, take note of permanent-local variables.
8357
8358 2012-07-13 Chong Yidong <cyd@gnu.org>
8359
8360 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
8361 to allow printing the message when called from Lisp.
8362
8363 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8364 Remove toggle-read-only.
8365
8366 * bs.el (bs-toggle-readonly):
8367 * buff-menu.el (Buffer-menu-toggle-read-only):
8368 Remove with-no-warnings around toggle-read-only.
8369
8370 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
8371 Remove with-no-warnings around toggle-read-only.
8372 (ffap-read-only, ffap-read-only-other-window)
8373 (ffap-read-only-other-frame): Callers changed.
8374
8375 * help-mode.el: Don't require view package.
8376 (help-mode-finish): Set buffer-read-only instead of calling
8377 toggle-read-only.
8378
8379 * bindings.el (mode-line-toggle-read-only):
8380 * dired.el (dired-toggle-read-only):
8381 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
8382 with non-nil second arg.
8383
8384 * emacs-lisp/eieio-custom.el (eieio-customize-object):
8385 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
8386 directly.
8387
8388 2012-07-12 Eli Zaretskii <eliz@gnu.org>
8389
8390 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
8391 not incf.
8392
8393 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
8394
8395 More CL cleanups and reduction of use of cl.el.
8396 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
8397 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
8398 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
8399 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
8400 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
8401 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
8402 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
8403 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
8404 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
8405 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
8406 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
8407 * eshell/em-cmpl.el, eshell/em-banner.el:
8408 * calendar/parse-time.el: Use cl-lib.
8409 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
8410 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
8411 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
8412 * term/ns-win.el, term.el, shell.el, ps-samp.el:
8413 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
8414 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
8415 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
8416 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
8417 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
8418 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
8419 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
8420 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
8421 `lambda' rather than with `quote'.
8422 (eshell-do-opt): Adjust accordingly.
8423 (eshell-process-option): Simplify.
8424 * eshell/esh-var.el:
8425 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
8426 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
8427 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
8428 to `pcase--dontcare'.
8429 * emacs-lisp/cl.el (labels): Mark obsolete.
8430 (cl--letf, letf): Move to cl-lib.
8431 (cl--letf*, letf*): Remove.
8432 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
8433 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
8434 (cl-progv): Rewrite.
8435 (cl--letf, cl-letf): Move from cl.el.
8436 (cl-letf*): New macro.
8437 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
8438
8439 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
8440
8441 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
8442
8443 2012-07-11 Chong Yidong <cyd@gnu.org>
8444
8445 * vc/log-edit.el (log-edit-vc-backend): New variable.
8446 (log-edit): Doc fix.
8447
8448 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
8449 argument of log-edit to set up all local variables.
8450 (vc-start-logentry): New optional arg specifying VC backend.
8451
8452 * vc/vc.el (vc-checkin): Use it.
8453 (vc-deduce-fileset): Handle Log Edit buffers.
8454 (vc-diff): Make first argument optional too.
8455
8456 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
8457
8458 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
8459
8460 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
8461 command, just in case. The function is not needed anymore.
8462 (eshell-external-command): Do not call `eshell-remote-command'.
8463
8464 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
8465
8466 Reduce use of (require 'cl).
8467 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
8468 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
8469 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
8470 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
8471 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
8472 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
8473 * battery.el, avoid.el, abbrev.el: Use cl-lib.
8474 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
8475 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
8476 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
8477 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
8478 * calculator.el, autorevert.el, apropos.el: Don't require CL.
8479 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
8480 (byte-compile-unfold-bcf, byte-compile-check-variable):
8481 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
8482 (byte-compile-nilconstp):
8483 * emacs-lisp/autoload.el (make-autoload): Use pcase.
8484 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
8485
8486 * emacs-lisp/gv.el (cond): Make it a valid place.
8487 (if): Simplify slightly.
8488
8489 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
8490 (pcase--self-quoting-p): New function.
8491 (pcase--u1): Use it.
8492
8493 2012-07-10 Glenn Morris <rgm@gnu.org>
8494
8495 * emacs-lisp/authors.el (authors-fixed-entries):
8496 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
8497
8498 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
8499
8500 Rename configure.in to configure.ac (Bug#11603).
8501 * emacs-lisp/authors.el (authors-canonical-file-name):
8502 * progmodes/autoconf.el (autoconf-mode):
8503 Prefer configure.ac to configure.in.
8504
8505 2012-07-08 Chong Yidong <cyd@gnu.org>
8506
8507 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
8508 Implement the mouse-1-click-follows-link handling properly.
8509
8510 * info.el (Info-link-keymap): Use follow-link mechanism for
8511 header-line links (Bug#374).
8512
8513 * simple.el (deactivate-mark): Do not set the primary selection
8514 if another program has acquired it (Bug#11772).
8515
8516 2012-07-07 Kevin Ryde <user42@zip.com.au>
8517
8518 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
8519 (woman-decode-region): Replace escaped-escapes without destroying
8520 bold or underline (Bug#11552).
8521 (woman2-process-escapes): Handle nofill regions (Bug#11591).
8522
8523 2012-07-07 Chong Yidong <cyd@gnu.org>
8524
8525 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
8526 (interprogram-cut-function, interprogram-paste-function):
8527 Mention that we typically mean the clipboard.
8528
8529 2012-07-06 Glenn Morris <rgm@gnu.org>
8530
8531 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
8532
8533 * files.el (toggle-read-only): Restrict message to interactive use.
8534
8535 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
8536
8537 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
8538
8539 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
8540
8541 2012-07-06 Glenn Morris <rgm@gnu.org>
8542
8543 * Makefile.in (compile-one-process): Rename from "recompile".
8544
8545 * Makefile.in (bzr-update): "compile" is the same as "recompile
8546 autoloads", but parallelizable, so use that instead.
8547
8548 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
8549
8550 * window.el (quit-window): Always restore window height when
8551 it's saved in quit-restore parameter (Bug#11810).
8552
8553 2012-07-06 Glenn Morris <rgm@gnu.org>
8554
8555 * simple.el (kill-whole-line): Doc tweak.
8556
8557 2012-07-06 Eli Zaretskii <eliz@gnu.org>
8558
8559 * files.el (file-relative-name): Compare file names
8560 case-insensitively if on MS-Windows or MS-DOS, or if
8561 read-file-name-completion-ignore-case is non-nil. Don't use
8562 case-fold-search for this purpose. (Bug#11827)
8563
8564 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
8565
8566 * calendar/cal-dst.el (calendar-current-time-zone):
8567 Return calendar-current-time-zone-cache if non-nil.
8568
8569 2012-07-17 Masatake YAMATO <yamato@redhat.com>
8570 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
8571
8572 * calendar/cal-dst.el (calendar-current-time-zone):
8573 Return calendar-current-time-zone-cache if non-nil.
8574
8575 2012-07-06 Glenn Morris <rgm@gnu.org>
8576
8577 * Makefile.in (cvs-update): Remove old alias.
8578
8579 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
8580
8581 Sync with Tramp 2.2.6-pre.
8582
8583 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
8584 compatible declaration.
8585
8586 * net/tramp-cmds.el (tramp-append-tramp-buffers):
8587 Protect `list-load-path-shadows' call.
8588
8589 * net/tramp-compat.el (top): Require packages, which aren't
8590 autoloaded anymore for XEmacs. Protect call of
8591 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
8592 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
8593 it hurts at least for SXEmacs.
8594 (tramp-compat-temporary-file-directory): In XEmacs, there is no
8595 standard-value for `temporary-file-directory'.
8596
8597 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
8598 Redirect stderr to /dev/null.
8599 (tramp-sh-handle-write-region): uid and gid can be floats.
8600 Reported by Russell Sim <russell.sim@gmail.com>.
8601 (tramp-sh-handle-vc-registered): Hide errors.
8602 (tramp-vc-file-name-handler): Use dummy results for `process-file'
8603 and `start-file-process'.
8604 (tramp-maybe-open-connection): Check also whether `non-essential'
8605 is bound.
8606
8607 2012-07-04 Chong Yidong <cyd@gnu.org>
8608
8609 * xml.el (xml--parse-buffer): Use xml-syntax-table.
8610 (xml-parse-tag): Likewise, and avoid changing entity tables.
8611 (xml-syntax-table): Define from scratch, making sure not to give
8612 x2000 and other Unicode spaces whitespace syntax, since those are
8613 not spaces in XML.
8614 (xml-parse-fragment): Delete unused function.
8615 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
8616 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
8617 (xml-entity-ref, xml-pe-reference-re)
8618 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
8619 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
8620 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
8621 (xml-entity-value-re): Use syntax references in regexps where
8622 possible; no need to define inside a let-binding.
8623 (xml-parse-dtd): Use xml-pe-reference-re.
8624 (xml-entity-or-char-ref-re): New defconst.
8625 (xml-parse-string, xml-substitute-special): Use it.
8626
8627 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
8628
8629 * files.el (locate-dominating-file): Allow `name' to be a predicate.
8630 (find-file--read-only): New function.
8631 (find-file-read-only, find-file-read-only-other-window)
8632 (find-file-read-only-other-frame): Use it.
8633 (insert-file-contents-literally): Don't `fset'.
8634 (get-free-disk-space): Use locate-dominating-file.
8635
8636 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
8637 function is already compiled.
8638
8639 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
8640
8641 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
8642
8643 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
8644 files on the same host.
8645
8646 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
8647
8648 * help-fns.el (describe-function-1): Only call
8649 help-fns--autoloaded-p when we have a file name. (Bug#11848)
8650
8651 2012-07-03 Chong Yidong <cyd@gnu.org>
8652
8653 * xml.el: Protect parser against XML bombs.
8654 (xml-entity-expansion-limit): New variable.
8655 (xml-parse-string, xml-substitute-special): Use it.
8656 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
8657
8658 2012-07-03 Glenn Morris <rgm@gnu.org>
8659
8660 * progmodes/bug-reference.el (bug-reference-bug-regexp):
8661 Allow linking to specific messages in debbugs reports (eg 123#5).
8662
8663 2012-07-02 Chong Yidong <cyd@gnu.org>
8664
8665 * xml.el: Fix entity and character reference expansion, allowing
8666 them to expand into markup as per XML spec.
8667 (xml-default-ns): New variable.
8668 (xml-entity-alist): Use XML spec definitions for lt and amp.
8669 (xml-parse-region): Make first two arguments optional.
8670 Discard text properties.
8671 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
8672 All callers changed.
8673 (xml-parse-tag): Call xml-parse-tag-1. For backward
8674 compatibility, this function should not modify buffer contents.
8675 (xml-parse-tag-1): Fix opening-tag regexp.
8676 (xml-parse-string): Rewrite, handling entity and character
8677 references properly.
8678 (xml--entity-replacement-text): Signal an error if a parameter
8679 entity is undefined.
8680
8681 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
8682
8683 * comint.el (comint-output-filter): Filter out repeated prompts.
8684
8685 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
8686 and file-name-absolute-p.
8687 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
8688 internal calls.
8689
8690 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
8691
8692 Spelling fixes.
8693 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
8694 Rename from byte-compile--refiy-function. All uses changed.
8695
8696 2012-07-01 Chong Yidong <cyd@gnu.org>
8697
8698 * xml.el (xml--parse-buffer): New function. Move most of
8699 xml-parse-region here.
8700 (xml-parse-region): Copy region into a temporary buffer, since
8701 parameter entity substitution requires changing buffer contents.
8702 Use xml--parse-buffer.
8703 (xml-parse-file): Use xml--parse-buffer.
8704 (xml-parse-dtd): Make parameter entity substitution work right.
8705 Use proper regexps for ELEMENT declarations (Bug#7172).
8706
8707 2012-06-30 Glenn Morris <rgm@gnu.org>
8708
8709 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
8710
8711 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
8712 Remove outdated and unnecessary dbus declarations.
8713
8714 2012-06-30 Eli Zaretskii <eliz@gnu.org>
8715
8716 * emacs-lisp/timer.el (timer-until): Subtract results of
8717 float-time, instead of taking float-time of the result of
8718 time-subtract, since float-time signals an error for negative time
8719 arguments.
8720
8721 2012-06-30 Chong Yidong <cyd@gnu.org>
8722
8723 * xml.el (xml-*-re): Convert defvars into defconsts, and
8724 eval-and-compile them so eval-and-compile works on derivatives.
8725 (xml--entity-replacement-text): Use eval-and-comple.
8726
8727 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
8728
8729 * vc/vc-git.el (vc-git-registered): Use cache property
8730 `git-registered'.
8731 (vc-git-mode-line-string): Call `vc-working-revision' instead of
8732 `vc-git-working-revision' in order to benefit from the cache.
8733 (vc-git-root): Use cache property `git-root'. (Bug#11757)
8734
8735 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
8736
8737 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
8738 removed (likely outside Emacs). (Bug#11757)
8739
8740 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8741
8742 * emacs-lisp/cl-lib.el: Require macroexp.
8743
8744 2012-06-30 Chong Yidong <cyd@gnu.org>
8745
8746 * xml.el: Implement XML parameter entities.
8747 (xml-parameter-entity-alist): New variable.
8748 (xml-parse-region, xml-parse-fragment): Preserve previous values
8749 of xml-entity-alist and xml-parameter-entity-alist, so that
8750 repeated calls on different documents do not change them.
8751 (xml-parse-tag): Fix doctype regexp.
8752 (xml--entity-replacement-text): New function.
8753 (xml-parse-dtd): Use it. Don't handle system entities; doing that
8754 properly requires url retrieval which is unimplemented.
8755 (xml-escape-string): Doc fix.
8756
8757 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
8758
8759 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
8760
8761 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
8762
8763 * fringe.el (fringe-mode): Doc fix.
8764
8765 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
8766
8767 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
8768 is non-nil.
8769 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
8770 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
8771
8772 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
8773
8774 * calendar/cal-dst.el (calendar-current-time-zone):
8775 Return calendar-current-time-zone-cache if non-nil.
8776
8777 2012-06-29 Masatake YAMATO <yamato@redhat.com>
8778
8779 * progmodes/which-func.el (which-func-format):
8780 Add mouse-face. (Bug#11698)
8781
8782 2012-06-29 Leo Liu <sdl.web@gmail.com>
8783
8784 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
8785
8786 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8787
8788 * minibuffer.el (minibuffer-confirm-exit-commands):
8789 Add completion-at-point (bug#11725).
8790
8791 2012-06-29 Glenn Morris <rgm@gnu.org>
8792
8793 * progmodes/f90.el (f90-font-lock-keywords-2):
8794 Add some preprocessor elements. (Bug#10499)
8795
8796 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
8797
8798 * progmodes/cperl-mode.el (cperl-update-syntaxification):
8799 Use syntax-propertize (bug#11739).
8800
8801 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
8802
8803 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
8804
8805 2012-06-28 Julien Danjou <julien@danjou.info>
8806
8807 * term.el (term-handle-colors-array): Use a set of new faces to
8808 color the terminal. Also uses :inverse-video property.
8809 (term-default-fg-color): Set to nil by default, deprecate in favor
8810 of `term-face'.
8811 (term-default-bg-color): Set to nil by default, deprecate in favor
8812 of `term-face'.
8813 (term-current-face): Use `term-face' by default.
8814 (term-bold-attribute): Variable deleted.
8815
8816 2012-06-28 Glenn Morris <rgm@gnu.org>
8817
8818 * simple.el (completion-list-mode-finish):
8819 Don't use toggle-read-only. (Since completion-list-mode has
8820 a special mode-class, it wasn't doing anything extra anyway.)
8821
8822 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
8823
8824 Make inlining of other-mode interpreted functions work (bug#11799).
8825 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
8826 (byte-compile): Use it to fix compilation of lexical-binding closures.
8827 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
8828 function, if needed.
8829
8830 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
8831
8832 * help-mode.el (help-make-xrefs): Don't just withstand
8833 cyclic-variable-indirection but any error in documentation-property.
8834
8835 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
8836 memory use.
8837 * bindings.el (bindings--define-key): New function.
8838 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
8839 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
8840 * bindings.el: Use it to purecopy define-key bindings.
8841
8842 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
8843
8844 * emacs-lisp/cl.el (flet): Mark obsolete.
8845 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
8846 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
8847 * progmodes/js.el (js-c-fill-paragraph):
8848 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
8849 (ebrowse-switch-member-buffer-to-derived-class):
8850 * play/5x5.el (5x5-solver): Use cl-flet.
8851
8852 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
8853 (cl--symbol-function): New macro.
8854 (cl--letf, cl--letf*): Use it.
8855
8856 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
8857 Strip "toggle-" if any.
8858
8859 2012-06-27 Glenn Morris <rgm@gnu.org>
8860
8861 * info.el (Info-default-directory-list): Move here from paths.el.
8862 * paths.el: Remove file, which is now empty.
8863 * loadup.el: No longer load "paths".
8864
8865 * custom.el (custom-initialize-delay): Doc fix.
8866
8867 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
8868 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
8869 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
8870 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
8871 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
8872 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
8873 * eshell/eshell.el (eshell-defgroup): Remove alias.
8874
8875 2012-06-27 Chong Yidong <cyd@gnu.org>
8876
8877 * help.el (help-enable-auto-load): New variable.
8878
8879 * help-fns.el (help-fns--autoloaded-p): New function.
8880 (describe-function-1): Refer to a function as "autoloaded" if it
8881 was autoloaded at any time in the past. Perform autoloading if
8882 help-enable-auto-load is non-nil.
8883
8884 2012-06-26 Eli Zaretskii <eliz@gnu.org>
8885
8886 * makefile.w32-in (compile, compile-always): Depend on
8887 update-subdirs, not on subdirs.el. Otherwise, several different
8888 sub-targets of 'bootstrap' running in parallel could
8889 simultaneously write to subdirs.el, producing a garbled file.
8890
8891 2012-06-26 Sam Steingold <sds@gnu.org>
8892
8893 * files.el (file-name-base): New convenience function.
8894 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
8895 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
8896 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
8897 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
8898 * textmodes/ispell.el, textmodes/reftex-ref.el:
8899 * textmodes/tex-mode.el: Use it.
8900 Did not touch cedet and org because they are maintained elsewhere.
8901
8902 2012-06-26 Martin Rudalics <rudalics@gmx.at>
8903
8904 * calendar/calendar.el (calendar-exit): Don't try to delete or
8905 iconify last frame. See:
8906 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
8907
8908 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
8909
8910 * server.el (server-process-filter): Remember dir in the
8911 process's `server-client-directory' properties.
8912
8913 2012-06-24 Chong Yidong <cyd@gnu.org>
8914
8915 * xml.el (xml-parse-tag): Correctly handle comment embedded in
8916 non-tag text.
8917
8918 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
8919
8920 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
8921
8922 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8923
8924 * help-fns.el (describe-variable): Don't croak when doc is not found.
8925 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
8926 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
8927 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
8928 * emacs-lisp/smie.el (smie-next-sexp): CSE.
8929 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
8930 ((lambda ..) ..).
8931 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
8932
8933 2012-06-23 Chong Yidong <cyd@gnu.org>
8934
8935 * info.el (Info-mouse-follow-link): Accept symbol values of
8936 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
8937 (Info-fontify-node): Use Info-link-keymap for all navigation
8938 buttons, with link-args property to perform the desired action.
8939 (Info-link-keymap): Doc fix.
8940 (Info-next-link-keymap, Info-prev-link-keymap)
8941 (Info-up-link-keymap): Delete now-unused keymaps.
8942
8943 2012-06-23 Chong Yidong <cyd@gnu.org>
8944
8945 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
8946
8947 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
8948 system abbrevs.
8949
8950 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
8951
8952 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
8953
8954 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
8955 (bug#11719).
8956
8957 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
8958 the requote function doesn't work properly (bug#11714).
8959
8960 2012-06-23 Glenn Morris <rgm@gnu.org>
8961
8962 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
8963
8964 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8965
8966 Further GV/CL cleanups.
8967 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
8968 gv-expander.
8969 (gv--defun-declaration): New function.
8970 (defun-declarations-alist): Use it.
8971 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
8972 (gv-place): Autoload.
8973 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
8974 original definition of dotimes and dolist.
8975 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
8976 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
8977 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
8978 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
8979 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
8980 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
8981 to the function's definition.
8982 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
8983 * window.el:
8984 * files.el:
8985 * faces.el:
8986 * env.el: Don't use CL.
8987
8988 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
8989
8990 Support higher-resolution time stamps (Bug#9000).
8991
8992 * calendar/time-date.el (with-decoded-time-value): New arg
8993 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
8994 (encode-time-value): New optional arg PICO. New type 3.
8995 (time-to-seconds) [!float-time]: Support the new picoseconds
8996 component if it's used.
8997 (seconds-to-time, time-subtract, time-add):
8998 Support ps-resolution time stamps as well.
8999
9000 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
9001 (timerp): Timer vectors now have length 9, not 8.
9002 (timer--time): Support new-style (4-part) time stamps.
9003 (timer-next-integral-multiple-of-time): Time stamps now have
9004 picosecond resolution, so take a bit more care about rounding.
9005 (timer-relative-time, timer-inc-time): New optional arg psecs.
9006 (timer-set-time-with-usecs): Set psecs to 0.
9007 (timer--activate): Check psecs component, too.
9008
9009 * proced.el (proced-time-lessp): Support ps-resolution stamps.
9010
9011 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9012
9013 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
9014 Move the non-essential binding to the post/pre-command-hook where it is
9015 more obviously correct.
9016
9017 * subr.el (read-passwd): Don't use a history at all.
9018 * savehist.el (savehist-save): Remove password saved accidentally
9019 because of the above bug.
9020
9021 2012-06-22 Bastien Guerry <bzg@gnu.org>
9022
9023 * files.el (toggle-read-only): Display a message telling whether
9024 the buffer is read-only or not (bug#11726).
9025
9026 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9027
9028 * emacs-lisp/gv.el: New file.
9029 * subr.el (push, pop): Extend to generalized variables.
9030 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
9031 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
9032 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
9033 gv-define-simple-setter, and gv-define-expander.
9034 Remove setf-methods defined in gv. Rename cl-setf -> setf.
9035 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
9036 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
9037 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
9038 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
9039 gv-letplace.
9040 (cl-defstruct): Don't define setf-method any more.
9041 * emacs-lisp/cl.el (flet): Don't autoload.
9042 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
9043 (define-setf-expander, defsetf, define-modify-macro)
9044 (cl-struct-setf-expander): Move from cl-lib.el.
9045 * emacs-lisp/syntax.el:
9046 * emacs-lisp/ewoc.el:
9047 * emacs-lisp/smie.el:
9048 * emacs-lisp/cconv.el:
9049 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
9050 (timer--time): Use gv-define-simple-setter.
9051 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
9052 to avoid coding-system problems in subr.el. Adjust all users.
9053 (macroexp--maxsize, macroexp-small-p): New functions.
9054 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
9055 * scroll-bar.el (scroll-bar-mode):
9056 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9057 (normal-erase-is-backspace-mode): Don't use the `eq' place.
9058 * winner.el (winner-configuration, winner-make-point-alist)
9059 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
9060 * files.el (locate-file-completion-table): Avoid list*.
9061
9062 2012-06-22 Chong Yidong <cyd@gnu.org>
9063
9064 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
9065 (dired-create-files): Doc fix (Bug#11329).
9066 (dired-do-copy): Doc fix (Bug#11334).
9067 (dired-mark-read-string): Doc fix (Bug#11553).
9068
9069 * dired.el (dired-recursive-copies, dired-recursive-deletes):
9070 Doc fix (Bug#11326).
9071 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
9072 (dired-dwim-target): Doc fix.
9073
9074 * wdired.el (wdired-mode): Doc fix.
9075
9076 2012-06-22 Glenn Morris <rgm@gnu.org>
9077
9078 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
9079 (pcmpl-rpm-cache-stamp-file): New constant.
9080 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
9081 (pcmpl-rpm-packages): Optionally cache list of packages.
9082
9083 * pcmpl-rpm.el (pcmpl-rpm): New group.
9084 (pcmpl-rpm-query-options): New option.
9085 (pcmpl-rpm-packages): No need to inline it.
9086 Use pcmpl-rpm-query-options.
9087
9088 * calendar/calendar.el (calendar-in-read-only-buffer):
9089 Avoid some needless mode changes.
9090
9091 2012-06-21 Chong Yidong <cyd@gnu.org>
9092
9093 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
9094 (desktop-path): Remove . from the default value (Bug#10977).
9095 (desktop-read): Use user-emacs-directory if desktop-path is nil.
9096
9097 2012-06-20 Chong Yidong <cyd@gnu.org>
9098
9099 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
9100
9101 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
9102
9103 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
9104 (bug#11201).
9105
9106 2012-06-20 Chong Yidong <cyd@gnu.org>
9107
9108 * term.el (term-window-width): Handle the case of a missing right
9109 fringe (Bug#8837).
9110 (term-check-size): Use window-text-height (Bug#5445).
9111 (term-mode): Use define-derived-mode. Minor cleanups.
9112 Set font-lock-defaults (Bug#7692).
9113 (term-move-columns, term-insert-char, term-emulate-terminal)
9114 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
9115
9116 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
9117
9118 * net/ange-ftp.el (ange-ftp-get-passwd):
9119 Bind `enable-recursive-minibuffers'.
9120 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
9121
9122 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
9123
9124 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
9125
9126 2012-06-19 Glenn Morris <rgm@gnu.org>
9127
9128 * progmodes/python.el (python-mode): Derive from prog-mode.
9129
9130 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
9131
9132 * emulation/edt.el (edt-default-menu-bar-update-buffers)
9133 (edt-user-menu-bar-update-buffers): New functions.
9134 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
9135
9136 2012-06-19 Chong Yidong <cyd@gnu.org>
9137
9138 * subr.el (with-selected-window): Preserve the selected window's
9139 terminal's top-frame (Bug#4702).
9140
9141 * window.el (save-selected-window): Likewise.
9142
9143 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9144
9145 * progmodes/python.el (python-rx-constituents): Move backquote.
9146 (python-skeleton-define, python-define-auxiliary-skeleton):
9147 Use `declare'.
9148
9149 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
9150
9151 * minibuffer.el (read-file-name-default): Revert the patch from
9152 2012-06-17.
9153
9154 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9155
9156 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
9157 (pcase--u1, pcase--q1): Don't use apply-partially.
9158
9159 2012-06-18 Glenn Morris <rgm@gnu.org>
9160
9161 * progmodes/python.el (python-proc, python-buffer)
9162 (python-send-receive, python-send-string): Fix obsolete versions.
9163
9164 2012-06-18 Martin Rudalics <rudalics@gmx.at>
9165
9166 * window.el (special-display-p): Completely remove stringp
9167 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
9168
9169 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
9170
9171 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
9172
9173 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
9174
9175 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
9176 * net/tramp-sh.el (tramp-maybe-open-connection):
9177 Throw if `non-essential' is non-nil.
9178
9179 2012-06-17 Martin Rudalics <rudalics@gmx.at>
9180
9181 * window.el (special-display-p): Signal an error if BUFFER-NAME
9182 is not a string (Bug#11713).
9183
9184 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
9185
9186 * progmodes/python.el (python-info-beginning-of-backslash):
9187 Rename from python-info-beginning-of-backlash, as a spelling fix.
9188
9189 2012-06-17 Chong Yidong <cyd@gnu.org>
9190
9191 * term.el (term-emulate-terminal): If term-check-size is called,
9192 move point to the process mark without resetting point (Bug#4635).
9193
9194 2012-06-17 Glenn Morris <rgm@gnu.org>
9195
9196 * international/mule-cmds.el (mule-menu-keymap)
9197 (set-language-environment, set-locale-environment): Doc tweaks.
9198
9199 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
9200
9201 * cus-face.el (custom-face-attributes): Add wave-style underline
9202 attribute.
9203 * faces.el (set-face-attribute): Update docstring to describe
9204 wave-style underline attribute.
9205
9206 2012-06-16 Chong Yidong <cyd@gnu.org>
9207
9208 * term/xterm.el (terminal-init-xterm): Discard input before
9209 querying background mode (Bug#10959).
9210
9211 2012-06-16 Stefan Merten <smerten@oekonux.de>
9212
9213 * textmodes/rst.el: Added and corrected some comments.
9214 (rst-re-alist-def): Improve symbol syntax.
9215 (rst-mode-syntax-table): Correct syntax entries.
9216 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9217 (rst-official-version, rst-official-cvs-rev): Update version
9218 information.
9219
9220 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
9221
9222 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
9223 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
9224
9225 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
9226
9227 * progmodes/python.el: New python.el merge.
9228 (python-guess-indent): Obsolete var.
9229 (python-indent-guess-indent-offset): New defcustom.
9230 (python-indent): Obsolete var.
9231 (python-indent-offset): New defcustom.
9232 (python-python-command, python-jython-command): Delete var.
9233 (python-shell-interpreter): New defcustom.
9234 (python-pdbtrack-do-tracking-p): Delete var.
9235 (python-pdbtrack-activate): New defcustom.
9236 (python-use-skeletons): Obsolete var.
9237 (python-skeleton-autoinsert): New defcustom.
9238 (inferior-python-filter-regexp, python-continuation-offset)
9239 (python-honour-comment-indentation, python-indent-string-contents)
9240 (python-jython-packages, python-mode-hook)
9241 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
9242 (python-shell-prompt-alist)
9243 (python-source-modes): Delete defcustoms.
9244 (python-check-buffer-name, python-eldoc-setup-code)
9245 (python-eldoc-string-code, python-ffap-setup-code)
9246 (python-ffap-string-code, python-fill-comment-function)
9247 (python-fill-decorator-function, python-fill-paren-function)
9248 (python-fill-string-function, python-imenu-include-defun-type)
9249 (python-imenu-make-tree, python-imenu-subtree-root-label)
9250 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
9251 (python-shell-compilation-regexp-alist)
9252 (python-shell-completion-module-string-code)
9253 (python-shell-completion-pdb-string-code)
9254 (python-shell-completion-setup-code)
9255 (python-shell-completion-string-code)
9256 (python-shell-enable-font-lock, python-shell-exec-path)
9257 (python-shell-extra-pythonpaths)
9258 (python-shell-internal-buffer-name, python-shell-interpreter-args)
9259 (python-shell-process-environment)
9260 (python-shell-prompt-block-regexp)
9261 (python-shell-prompt-output-regexp)
9262 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
9263 (python-shell-send-setup-max-wait, python-shell-setup-codes)
9264 (python-shell-virtualenv-path): New defcustoms.
9265 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
9266 (inferior-python-mode-syntax-table, python--prompt-regexp)
9267 (python-buffer, python-command python-python-command)
9268 (python-default-template, python-imports, python-indent-index)
9269 (python-indent-list, python-indent-list-length)
9270 (python-mode-running, python-pdbtrack-is-tracking-p)
9271 (python-preoutput-continuation, python-preoutput-leftover)
9272 (python-preoutput-result, python-preoutput-skip-next-prompt)
9273 (python-prev-dir/file, python-recursing)
9274 (python-saved-check-command, python-version-checked)
9275 (python-which-func-length-limit)
9276 (view-return-to-alist): Delete vars.
9277 (python-check-custom-command, python-dotty-syntax-table)
9278 (python-imenu-index-alist, python-indent-current-level)
9279 (python-indent-dedenters, python-indent-levels)
9280 (python-nav-beginning-of-defun-regexp)
9281 (python-nav-list-defun-positions-cache)
9282 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
9283 (python-shell-internal-buffer)
9284 (python-skeleton-available): New vars.
9285 (def-python-skeleton): Delete macro.
9286 (python-skeleton-define): New macro.
9287 (python-define-auxiliary-skeleton, python-rx): New macros.
9288 (python-insert-class): Delete command.
9289 (python-skeleton-class): New command.
9290 (python-insert-def): Delete command.
9291 (python-skeleton-def): New command.
9292 (python-insert-for): Delete command.
9293 (python-skeleton-for): New command.
9294 (python-insert-if): Delete command.
9295 (python-skeleton-if): New command.
9296 (python-insert-try/except, python-insert-try/finally): Delete commands.
9297 (python-skeleton-try): New command.
9298 (python-insert-while): Delete command.
9299 (python-skeleton-while): New command.
9300 (python-backspace): Delete command.
9301 (python-indent-dedent-line-backspace): New command.
9302 (python-electric-colon): Delete command.
9303 (python-indent-electric-colon): New command.
9304 (python-guess-indent): Delete command.
9305 (python-indent-guess-indent-offset): New command.
9306 (python-shift-left): Delete command.
9307 (python-indent-shift-left): New command.
9308 (python-shift-right): Delete command.
9309 (python-indent-shift-right): New command.
9310 (python-find-function): Delete command.
9311 (python-nav-jump-to-defun): New command.
9312 (python-next-statement): Delete command.
9313 (python-nav-forward-sentence): New command.
9314 (python-previous-statement): Delete command.
9315 (python-nav-backward-sentence): New command.
9316 (python-fill-paragraph): Delete command.
9317 (python-fill-paragraph-function): New command.
9318 (python-send-buffer): Delete command.
9319 (python-shell-send-buffer): New command.
9320 (python-send-defun): Delete command.
9321 (python-shell-send-defun): New command.
9322 (python-send-region, python-send-region-and-go): Delete commands.
9323 (python-shell-send-region)
9324 (python-shell-switch-to-shell): New commands.
9325 (python-send-string): Delete command.
9326 (python-shell-send-string): New command.
9327 (python-switch-to-python): Delete command.
9328 (python-shell-switch-to-shell): New command.
9329 (python-describe-symbol): Delete command.
9330 (python-eldoc-at-point): New command.
9331 (python--set-prompt-regexp, python-args-to-list)
9332 (python-after-info-look, python-check-version)
9333 (python-check-comint-prompt, python-find-imports)
9334 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
9335 (python-unload-function, python-expand-template)
9336 (python-maybe-jython, python-preoutput-filter)
9337 (python-pdbtrack-get-source-buffer)
9338 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
9339 (python-pdbtrack-toggle-stack-tracking)
9340 (python-pdbtrack-track-stack-file, python-initial-text)
9341 (python-first-word, python-comment-line-p, python-send-command)
9342 (python-setup-brm, python-sentinel, python-set-proc)
9343 (python-skip-out, python-input-filter, python-outdent-p)
9344 (python-outline-level, python-backslash-continuation-line-p)
9345 (python-end-of-block, python-end-of-statement, python-mark-block)
9346 (python-beginning-of-block, python-beginning-of-statement)
9347 (python-blank-line-p, python-beginning-of-string)
9348 (python-open-block-statement-p): Delete functions.
9349 (python-indent-line, python-indent-line-1): Delete functions.
9350 (python-indent-line): New function.
9351 (python-indentation-levels): Delete function.
9352 (python-indent-calculate-levels): New function.
9353 (python-proc): Delete function.
9354 (python-shell-get-process): New function.
9355 (python-send-receive): Delete function.
9356 (python-shell-send-string-no-output): New function.
9357 (python-module-path): Delete function.
9358 (python-ffap-module-path): New function.
9359 (python-completion-at-point)
9360 (python-symbol-completions): Delete functions.
9361 (python-completion-complete-at-point): New function.
9362 (python-load-file): Delete function.
9363 (python-shell-send-file): New function.
9364 (python-calculate-indentation): Delete function.
9365 (python-indent-calculate-indentation): New function.
9366 (python-skip-comments/blanks): Delete function.
9367 (python-util-forward-comment): New function.
9368 (python-continuation-line-p): Delete function.
9369 (python-info-continuation-line-p): New function.
9370 (python-which-func, python-current-defun): Delete function.
9371 (python-info-current-defun): New function.
9372 (python-beginning-of-defun): Delete function.
9373 (python-nav-beginning-of-defun): New function.
9374 (python-close-block-statement-p)
9375 (python-block-end-p): Delete function.
9376 (python-info-closing-block): New function.
9377 (python-comint-output-filter-function)
9378 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
9379 (python-fill-comment, python-fill-decorator, python-fill-paren)
9380 (python-fill-string, python-imenu-make-element-tree)
9381 (python-imenu-make-tree, python-imenu-tree-assoc)
9382 (python-indent-context, python-indent-dedent-line)
9383 (python-indent-line-function)
9384 (python-indent-post-self-insert-function)
9385 (python-indent-toggle-levels)
9386 (python-info-assignment-continuation-line-p)
9387 (python-info-beginning-of-backlash)
9388 (python-info-block-continuation-line-p)
9389 (python-info-closing-block-message)
9390 (python-info-line-ends-backslash-p)
9391 (python-info-looking-at-beginning-of-defun)
9392 (python-info-ppss-context, python-info-ppss-context-type)
9393 (python-nav-list-defun-positions, python-nav-read-defun)
9394 (python-nav-sentence-end, python-nav-sentence-start)
9395 (python-pdbtrack-comint-output-filter-function)
9396 (python-pdbtrack-set-tracked-buffer)
9397 (python-shell-calculate-exec-path)
9398 (python-shell-calculate-process-environment)
9399 (python-shell-completion--do-completion-at-point)
9400 (python-shell-completion--get-completions)
9401 (python-shell-completion-complete-at-point)
9402 (python-shell-completion-complete-or-indent)
9403 (python-shell-get-or-create-process)
9404 (python-shell-get-process-name)
9405 (python-shell-internal-get-or-create-process)
9406 (python-shell-internal-get-process-name)
9407 (python-shell-internal-send-string, python-shell-make-comint)
9408 (python-shell-parse-command, python-shell-send-setup-code)
9409 (python-skeleton-add-menu-items)
9410 (python-util-clone-local-variables, python-util-position)
9411 (run-python-internal, python-indentation-levels)
9412 (python-nav-beginning-of-defun)
9413 (python-completion-complete-at-point): New functions.
9414 (run-python): Change arguments. New API requirements.
9415
9416 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9417
9418 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
9419 (bug#11649).
9420
9421 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
9422 (macroexp--expand-all): Use it.
9423
9424 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
9425 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
9426 Use `cl-function' instead.
9427
9428 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
9429
9430 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
9431 Suggested by Stefan Monnier while discussing bug#11657.
9432
9433 2012-06-14 Sam Steingold <sds@gnu.org>
9434
9435 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
9436
9437 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
9438
9439 * play/doctor.el (doctor-doc): Remove parameter and use
9440 doctor-sent instead of sent.
9441 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
9442
9443 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9444
9445 * files.el: Require cl-lib.
9446 (file-name-non-special): Replace case -> cl-case.
9447
9448 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
9449
9450 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
9451 mapping from #' to function*.
9452
9453 2012-06-13 Chong Yidong <cyd@gnu.org>
9454
9455 * mouse.el (mouse-drag-track): Do not set the mark if the user
9456 releases the mouse without selecting anything (Bug#11588).
9457
9458 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9459
9460 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
9461 as well (bug#11646).
9462
9463 * loadup.el: Count byte-code functions as well.
9464
9465 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
9466 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
9467
9468 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
9469 (bug#11649). Add cl-defun and cl-defmacro.
9470
9471 2012-06-13 Drew Adams <drew.adams@oracle.com>
9472
9473 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9474 Fix last change.
9475
9476 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
9477
9478 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
9479 Otherwise, it blocks in batch mode.
9480
9481 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
9482
9483 * help-mode.el (bookmark-make-record-default): Declare.
9484
9485 2012-06-13 Chong Yidong <cyd@gnu.org>
9486
9487 * emacs-lisp/package.el (list-packages): Compute a list of
9488 packages that are newly-available since the last list-packages
9489 invocation.
9490 (package-menu--new-package-list): New var.
9491 (package-menu--generate, package-menu--print-info)
9492 (package-menu--status-predicate, package-menu-mark-install):
9493 Handle new status label "new".
9494
9495 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9496
9497 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
9498 conversion to backquotes.
9499
9500 2012-06-12 Chong Yidong <cyd@gnu.org>
9501
9502 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
9503 Rename from gud-inhibit-global-bindings.
9504
9505 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
9506
9507 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
9508 hook from nxml-glyph-set-hook.
9509
9510 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
9511 declaration.
9512
9513 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
9514
9515 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
9516 Convert to defcustom.
9517
9518 2012-06-12 Drew Adams <drew.adams@oracle.com>
9519
9520 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
9521 New functions.
9522 (help-mode): Use them.
9523
9524 2012-06-11 Glenn Morris <rgm@gnu.org>
9525
9526 * progmodes/fortran.el (fortran-font-lock-keywords-3):
9527 Use preprocessor face for directives.
9528 (fortran-directive-re): Doc fix.
9529
9530 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9531
9532 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
9533 conversion to backquotes (bug#11652).
9534
9535 Fix compiler-expansion of CL's cXXr functions (bug#11673).
9536 * emacs-lisp/cl-lib.el (cl--defalias): New function.
9537 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
9538 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
9539 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
9540 (cl-ninth, cl-tenth): Mark them as inlinable.
9541 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
9542 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
9543 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
9544 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
9545 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
9546 (cl-list*, cl-adjoin): Don't put an autoload manually.
9547 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
9548 (cl--compiler-macro-list*): Add autoload cookie.
9549 (cl--compiler-macro-cXXr): New function.
9550
9551 * help-fns.el (help-fns--compiler-macro): New function extracted from
9552 describe-function-1; follow aliases and use `compiler-macro' property.
9553 (describe-function-1): Use it.
9554
9555 2012-06-11 Chong Yidong <cyd@gnu.org>
9556
9557 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
9558 is uninstalled, if imagemagick is installed.
9559
9560 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9561
9562 * emacs-lisp/cl-lib.el: Use lexical-binding.
9563 (cl-map-extents, cl-maclisp-member): Remove.
9564 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
9565 (cl--set-substring, cl--block-wrapper, cl--block-throw)
9566 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
9567 * emacs-lisp/cl-extra.el: Use lexical-binding.
9568 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
9569 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
9570 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
9571 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
9572 * emacs-lisp/cl-seq.el: Use lexical-binding.
9573 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
9574 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
9575 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
9576 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
9577 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
9578 CL's internals.
9579
9580 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
9581
9582 Sync with Tramp 2.2.6-pre.
9583
9584 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
9585 `print-length' and `print-level' to nil, in order to avoid
9586 truncation. Reported by Christopher Schmidt
9587 <christopher@ristopher.com>.
9588
9589 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
9590
9591 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
9592 New defmacro.
9593 (tramp-compat-copy-directory): Add optional argument
9594 COPY-CONTENTS. It is not handled yet.
9595
9596 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
9597 (tramp-ftp-file-name-p): Simplify.
9598
9599 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
9600 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
9601 connection vector.
9602
9603 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
9604 (tramp-methods): Do not use `tramp-password-end-of-line'.
9605 (tramp-completion-function-alist-putty): Handle UNIX case.
9606 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
9607 (tramp-do-file-attributes-with-stat)
9608 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
9609 gid as real numbers. They could run out of integer range on cygwin.
9610 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
9611 (tramp-sh-handle-expand-file-name): Handle hops.
9612 (tramp-open-connection-setup-interactive-shell):
9613 Use `tramp-cleanup'. Move check for busyboxes ...
9614 (tramp-find-shell): ... here. Simplify implementation.
9615 Set "remote-shell" property also for alternative shells.
9616 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
9617 If failing, a regular file would be written otherwise.
9618 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
9619 (tramp-find-inline-encoding): Cache the coding commands in the
9620 process cache. Apply test command on the remote side, if defined.
9621 (tramp-find-inline-compress): Cache the compress commands in the
9622 process cache.
9623 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
9624 when requested. Handle hops.
9625 (tramp-current-connection): New defvar.
9626 (tramp-maybe-open-connection): Use `tramp-cleanup'.
9627 Throw `suppress', if there was a failed connection shortly before.
9628 Handle user interrupt. (Bug#10187)
9629 (tramp-get-inline-compress, tramp-get-inline-coding):
9630 Read connection properties from the process cache.
9631
9632 * net/tramp-smb.el (tramp-smb-server-version)
9633 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
9634 New defconsts.
9635 (tramp-smb-prompt): Extend for powershell prompt.
9636 (tramp-smb-file-name-handler-alist): Add handlers for
9637 `process-file', `shell-command' and `start-file-process'.
9638 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
9639 (tramp-smb-winexe-shell-command-switch): New defcustoms.
9640 (tramp-smb-file-name-p): Simplify.
9641 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
9642 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
9643 (tramp-smb-shell-quote-argument): New defuns.
9644 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
9645 Implement using "tar". By this, time-stamps are preserved.
9646 (tramp-smb-handle-copy-file): Handle also the case of directories.
9647 (tramp-smb-do-file-attributes-with-stat)
9648 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
9649 Use `tramp-get-connection-buffer').
9650 (tramp-smb-handle-rename-file): Use "rename", when source and
9651 target are on the same share.
9652 (tramp-smb-maybe-open-connection): Handle wrong passwords.
9653 Use `tramp-smb-server-version'.
9654 (tramp-smb-wait-for-output): Remove prompt.
9655
9656 * net/tramp.el (top): Require 'cl.
9657 (tramp-methods, tramp-rsh-end-of-line):
9658 Remove `tramp-password-end-of-line' from docstring.
9659 (tramp-save-ad-hoc-proxies): New defcustom.
9660 (tramp-completion-function-alist): Adapt docstring.
9661 (tramp-default-password-end-of-line): Remove defcustom.
9662 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
9663 (tramp-user-regexp, tramp-file-name-regexp-unified)
9664 (tramp-file-name-regexp-url): Extend regexp by hop separator.
9665 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
9666 (tramp-remote-file-name-spec-regexp): New defconst.
9667 (tramp-file-name-structure): Extend structure for hops.
9668 (tramp-get-method-parameter): Move up.
9669 (tramp-file-name-p, tramp-dissect-file-name)
9670 (with-parsed-tramp-file-name): Handle hops.
9671 (tramp-file-name-hop): New defun.
9672 (tramp-make-tramp-file-name): New optional arg HOP.
9673 (tramp-message-show-progress-reporter-message): New defvar.
9674 (tramp-with-progress-reporter): Use it. We cannot use
9675 `tramp-message-show-message' here, because this suppresses also
9676 error buffers.
9677 (tramp-error-with-buffer): Suppress buffer view, if
9678 `tramp-message-show-message' is nil.
9679 Use `tramp-get-connection-buffer'.
9680 (tramp-cleanup): New defun.
9681 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
9682 (tramp-file-name-handler): If `debug-on-error' is set, propagate
9683 an error unchanged.
9684 (tramp-completion-handle-file-name-all-completions): Handle hops.
9685 Fix an error when called from ido.
9686 (tramp-completion-dissect-file-name): Use better local variable
9687 name. Add hop to the vector.
9688 (tramp-handle-insert-file-contents): Use progress-reporter for the
9689 whole scenario.
9690 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
9691 to `t'.
9692 (tramp-check-for-regexp): Simplify search.
9693 (tramp-enter-password): Remove it. Move implementation ...
9694 (tramp-action-password): ... here.
9695 (tramp-mode-string-to-int, tramp-local-host-p)
9696 (tramp-make-tramp-temp-file, tramp-read-passwd)
9697 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
9698 Set tramp-autoload cookie.
9699
9700 * net/trampver.el: Update release number.
9701
9702 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9703 Michael Albinus <michael.albinus@gmx.de>
9704
9705 * net/tramp.el (tramp-set-completion-function): Fix docstring.
9706 (tramp-parse-group, tramp-parse-file)
9707 (tramp-parse-shostkeys-sknownhosts): New defuns.
9708 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
9709 (tramp-parse-shosts-group, tramp-parse-sconfig)
9710 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
9711 (tramp-parse-sknownhosts, tramp-parse-hosts)
9712 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
9713 Use them.
9714 (tramp-parse-passwd-group, tramp-parse-netrc-group)
9715 (tramp-parse-putty-group): Don't narrow.
9716 (tramp-parse-putty): Make a loop.
9717 (tramp-file-name-handler): Catch the `suppress' signal.
9718
9719 2012-06-11 Chong Yidong <cyd@gnu.org>
9720
9721 * image.el (imagemagick-register-types): Put the ImageMagick entry
9722 at the end of image-type-file-name-regexps.
9723
9724 2012-06-11 Johan Bockgård <bojohan@gnu.org>
9725
9726 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
9727 (pcase, pcase-let*, pcase-dolist): Use them.
9728
9729 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9730
9731 * emacs-lisp/pcase.el (pcase--let*): New function.
9732 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
9733 (pcase--expand): Use macroexp-let².
9734
9735 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
9736
9737 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
9738 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
9739 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
9740 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
9741 * emacs-lisp/derived.el: Use pcase instead of `cl'.
9742 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
9743
9744 2012-06-10 Glenn Morris <rgm@gnu.org>
9745
9746 * mail/rmail.el (rmail-yank-current-message): Leave point at
9747 correct position. (Bug#11660)
9748
9749 2012-06-10 Chong Yidong <cyd@gnu.org>
9750
9751 * allout-widgets.el: Fix code header.
9752
9753 2012-06-10 Chong Yidong <cyd@gnu.org>
9754
9755 * cus-edit.el (customize-changed-options-previous-release):
9756 Bump to 24.1.
9757
9758 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
9759
9760 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
9761
9762 2012-06-09 Chong Yidong <cyd@gnu.org>
9763
9764 * ebuff-menu.el (electric-buffer-list): Preserve header line.
9765
9766 2012-06-09 Martin Rudalics <rudalics@gmx.at>
9767
9768 * window.el (special-display-popup-frame): Don't use
9769 window--display-buffer (Bug#11651).
9770
9771 2012-06-09 Eli Zaretskii <eliz@gnu.org>
9772
9773 Fix parallel builds: make sure loaddefs.el is not being written
9774 while Lisp files are compiled.
9775 (compile): Don't depend on 'mh-autoloads'.
9776 (compile-CMD, compile-SH): Depend on 'autoloads'.
9777 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
9778
9779 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
9780
9781 2012-06-09 Chong Yidong <cyd@gnu.org>
9782
9783 * face-remap.el (face-remap-add-relative, face-remap-set-base)
9784 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
9785 Doc fixes (Bug#11225).
9786
9787 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
9788
9789 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
9790 a function if there's a clear indication that it has a compiler-macro.
9791 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
9792 (macro-declarations-alist): Add arglist to declaration functions.
9793 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
9794 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
9795 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
9796 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
9797 Also add autoload to find the compiler macro.
9798 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
9799 (cl--compiler-macro-member, cl--compiler-macro-assoc)
9800 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
9801 (cl--compiler-macro-get): New functions, replacing calls to
9802 cl-define-compiler-macro.
9803 (cl-typep) [compiler-macro]: Use macroexp-let².
9804
9805 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
9806
9807 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
9808 string properly, fixes Bug#11473.
9809
9810 2012-06-08 Chong Yidong <cyd@gnu.org>
9811
9812 * faces.el (set-face-attribute): Doc fix.
9813 (modify-face): Don't use :bold and :italic.
9814 (error, warning, success): Tweak definitions.
9815
9816 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
9817 (custom-modified, custom-set, custom-changed, custom-themed)
9818 (custom-saved, custom-button, custom-button-mouse)
9819 (custom-button-pressed, custom-state, custom-comment-tag)
9820 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
9821 (custom-group-subtitle): Use new-style face specs.
9822 (custom-invalid-face, custom-rogue-face, custom-modified-face)
9823 (custom-set-face, custom-changed-face, custom-saved-face)
9824 (custom-button-face, custom-button-pressed-face)
9825 (custom-documentation-face, custom-state-face)
9826 (custom-comment-face, custom-comment-tag-face)
9827 (custom-variable-tag-face, custom-variable-button-face)
9828 (custom-face-tag-face, custom-group-tag-face-1)
9829 (custom-group-tag-face): Remove obsolete face alias.
9830
9831 * epa.el (epa-validity-high, epa-validity-medium)
9832 (epa-validity-low, epa-mark, epa-field-name, epa-string)
9833 (epa-field-name, epa-field-body):
9834 * font-lock.el (font-lock-comment-face, font-lock-string-face)
9835 (font-lock-keyword-face, font-lock-builtin-face)
9836 (font-lock-function-name-face, font-lock-variable-name-face)
9837 (font-lock-type-face, font-lock-constant-face):
9838 * ido.el (ido-first-match, ido-only-match, ido-subdir)
9839 (ido-virtual, ido-indicator, ido-incomplete-regexp):
9840 * speedbar.el (speedbar-button-face, speedbar-file-face)
9841 (speedbar-directory-face, speedbar-tag-face)
9842 (speedbar-selected-face, speedbar-highlight-face)
9843 (speedbar-separator-face):
9844 * whitespace.el (whitespace-newline, whitespace-space)
9845 (whitespace-hspace, whitespace-tab, whitespace-trailing)
9846 (whitespace-line, whitespace-space-before-tab)
9847 (whitespace-space-after-tab, whitespace-indentation)
9848 (whitespace-empty):
9849 * emulation/cua-base.el (cua-global-mark):
9850 * eshell/em-prompt.el (eshell-prompt):
9851 * net/newst-plainview.el (newsticker-new-item-face)
9852 (newsticker-old-item-face, newsticker-immortal-item-face)
9853 (newsticker-obsolete-item-face, newsticker-date-face)
9854 (newsticker-statistics-face, newsticker-default-face):
9855 * net/newst-reader.el (newsticker-feed-face)
9856 (newsticker-extra-face, newsticker-enclosure-face):
9857 * net/newst-treeview.el (newsticker-treeview-face)
9858 (newsticker-treeview-new-face, newsticker-treeview-old-face)
9859 (newsticker-treeview-immortal-face)
9860 (newsticker-treeview-obsolete-face)
9861 (newsticker-treeview-selection-face):
9862 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
9863 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
9864 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
9865 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
9866 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
9867 (nxml-outline-active-indicator, nxml-outline-ellipsis):
9868 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
9869 (mpuz-text):
9870 * progmodes/vera-mode.el (vera-font-lock-number)
9871 (vera-font-lock-function, vera-font-lock-interface):
9872 * textmodes/table.el (table-cell): Use new-style face specs, and
9873 don't use the old :bold and :italic attributes.
9874
9875 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
9876 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
9877 (ebrowse-member-class, ebrowse-progress): Likewise.
9878 (ebrowse-tree-mark-face, ebrowse-root-class-face)
9879 (ebrowse-file-name-face, ebrowse-default-face)
9880 (ebrowse-member-attribute-face, ebrowse-member-class-face)
9881 (ebrowse-progress-face): Remove obsolete faces.
9882
9883 * progmodes/flymake.el (flymake-errline, flymake-warnline):
9884 Inherit from error and warning faces respectively.
9885
9886 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
9887 Likewise.
9888 (flyspell-incorrect-face, flyspell-duplicate-face):
9889 Remove obsolete aliases.
9890
9891 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
9892
9893 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
9894 Avoid infloop.
9895
9896 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9897
9898 * startup.el (argv, argi): Make lexically scoped.
9899 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
9900 * emacs-lisp/cl-macs.el: Use lexical-binding.
9901 Rename cl-bind-* to cl--bind-*.
9902 * files.el: Don't require `cl' since it doesn't use it.
9903 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
9904
9905 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
9906
9907 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
9908 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
9909 instead of calling external sort utility.
9910 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
9911
9912 2012-06-08 Eli Zaretskii <eliz@gnu.org>
9913
9914 * descr-text.el (describe-char): Mention how to insert the
9915 character, if the current input method doesn't support it.
9916 See the discussion in this thread for the details:
9917 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
9918
9919 2012-06-08 Sam Steingold <sds@gnu.org>
9920
9921 * bindings.el (global-map): Bind XF86Forward to next-buffer and
9922 XF86Back to previous-buffer.
9923 (minibuffer-local-map): Bind them to next-history-element and
9924 previous-history-element respectively.
9925 * help-mode.el (help-mode-map): Bind them to help-go-forward and
9926 help-go-back respectively.
9927 * info.el (Info-mode-map): Bind them to Info-history-forward and
9928 Info-history-back respectively.
9929 These are the keys next to Up on the ThinkPad keyboard.
9930
9931 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
9932
9933 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
9934 * emacs-lisp/cl-macs.el: Provide itself.
9935 (cl--labels-convert-cache): New var.
9936 (cl--labels-convert): New function.
9937 (cl-flet, cl-labels): New implementation with new semantics, relying on
9938 lexical-binding.
9939 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
9940 (cl-closure-vars, cl--function-convert-cache)
9941 (cl--function-convert): Move from cl-macs.el.
9942 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
9943 rename by removing the "cl-" prefix.
9944 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
9945
9946 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9947
9948 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
9949 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
9950 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
9951 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
9952 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
9953 (cl-hash-table-count): Add old compatibility aliases.
9954
9955 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
9956 Use macroexpand-all-environment instead.
9957 (cl--old-macroexpand): New var.
9958 (cl--sm-macroexpand): New function.
9959 (cl-symbol-macrolet): Use it during macro expansion.
9960 (cl--function-convert-cache): New var.
9961 (cl--function-convert): New function, extracted from
9962 cl-macroexpand-all.
9963 (cl-lexical-let): Use it.
9964
9965 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
9966 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
9967 (cl-member): Remove old alias.
9968
9969 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
9970 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
9971 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
9972 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
9973 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
9974 (cl-macroexpand-cmacs): Remove var.
9975 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
9976 Use macroexpand-all instead.
9977
9978 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9979
9980 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
9981 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
9982 (macroexp-copyable-p): New functions and macros.
9983 * emacs-lisp/edebug.el (edebug-unwrap):
9984 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
9985 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
9986 (pcase--let*): Remove.
9987 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
9988 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
9989 macroexp-const-p instead.
9990 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
9991
9992 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
9993 instead of "cl-" for internal definitions. Use macroexp-const-p.
9994 (cl-old-bc-file-form): Remove var.
9995 (cl-const-exprs-p): Remove fun.
9996 (cl-labels, cl-macrolet): Use backquote.
9997 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
9998 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
9999 (cl-define-setf-expander): Rename from cl-define-setf-method.
10000 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
10001
10002 * international/mule-cmds.el: Don't require CL.
10003 (view-hello-file): Don't use `letf'.
10004
10005 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10006
10007 * tmm.el (tmm-prompt): Use string-prefix-p.
10008 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
10009 (tmm-add-prompt): Use minibuffer-completion-help.
10010 (tmm-delete-map): Remove.
10011
10012 * subr.el (kbd): Make it its own function.
10013
10014 2012-06-07 Stefan Merten <smerten@oekonux.de>
10015
10016 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
10017 Silence compiler warnings. Fix versions.
10018 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
10019 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
10020 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
10021 (rst-package-emacs-version-alist): Correct Emacs version to
10022 represent major merge with upstream.
10023 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
10024
10025 2012-06-06 Glenn Morris <rgm@gnu.org>
10026
10027 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
10028 Only print environment variables if set.
10029
10030 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10031
10032 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
10033 (macroexp--cons): Rename from maybe-cons.
10034 (macroexp--accumulate): Rename from macroexp-accumulate.
10035 (macroexp--all-forms): Rename from macroexpand-all-forms.
10036 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
10037 (macroexp--expand-all): Rename from macroexpand-all-1.
10038
10039 2012-06-06 Sam Steingold <sds@gnu.org>
10040
10041 * calendar/calendar.el (calendar-in-read-only-buffer):
10042 Call `special-mode' to enable the standard read-only keybindings.
10043
10044 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
10045
10046 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
10047 with "loading" messages (bug#11635).
10048
10049 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
10050
10051 * files.el (enable-remote-dir-locals): New option.
10052 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
10053
10054 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
10055 Ensure, that the temp directory is local.
10056
10057 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
10058 `temporary-file-directory'.
10059
10060 * progmodes/python.el (python-send-region): Ensure, that the
10061 temporary file is created also in the remote case.
10062
10063 2012-06-06 Glenn Morris <rgm@gnu.org>
10064
10065 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
10066 (vc-rcs-update-changelog): Use it.
10067
10068 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
10069
10070 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
10071 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
10072 (vc-sccs-diff): Replace use of the external vcdiff script.
10073
10074 2012-06-05 Glenn Morris <rgm@gnu.org>
10075
10076 * ledit.el: Move to obsolete/.
10077
10078 2012-06-05 Sam Steingold <sds@gnu.org>
10079
10080 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
10081 patch (Bug#11140).
10082
10083 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10084
10085 * emacs-lisp/cust-print.el: Move to obsolete.
10086
10087 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
10088 compiler-macro expansion.
10089
10090 Add native compiler-macro support.
10091 * emacs-lisp/macroexp.el (macroexpand-all-1):
10092 Support compiler-macros directly. Properly follow aliases and apply
10093 the compiler macros more thoroughly.
10094 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
10095 macroexpand now properly follows aliases.
10096 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
10097 (cl-compiler-macroexpand): Use new prop.
10098 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
10099
10100 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
10101
10102 2012-06-05 Martin Rudalics <rudalics@gmx.at>
10103
10104 * window.el (get-lru-window, get-mru-window, get-largest-window):
10105 New argument NOT-SELECTED to avoid picking the selected window.
10106 (window--display-buffer-1, window--display-buffer-2): Replace by
10107 new function window--display-buffer
10108 (display-buffer-same-window, display-buffer-reuse-window)
10109 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10110 Use window--display-buffer.
10111 (display-buffer-use-some-window): Remove temporary dedication
10112 hack by calling get-lru-window and get-largest-window with
10113 NOT-SELECTED argument non-nil. Call window--display-buffer.
10114
10115 2012-06-05 Glenn Morris <rgm@gnu.org>
10116
10117 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
10118 Replace external vcdiff script.
10119
10120 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10121
10122 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
10123
10124 2012-06-04 Chong Yidong <cyd@gnu.org>
10125
10126 * image.el (imagemagick-types-inhibit): Revert last change.
10127 Add INFO and M.
10128 (imagemagick-enabled-types): Remove CIN and EPS*.
10129
10130 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
10131
10132 * emacs-lisp/cl-lib.el: Rename from cl.el.
10133 * emacs-lisp/cl.el: New compatibility file.
10134 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
10135 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
10136 to obey the "cl-" prefix.
10137 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
10138
10139 2012-06-03 Glenn Morris <rgm@gnu.org>
10140
10141 * emacs-lisp/authors.el (authors-aliases): Addition.
10142
10143 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
10144 Fix :version.
10145
10146 2012-06-03 Stefan Merten <smerten@oekonux.de>
10147
10148 * textmodes/rst.el: Add comments.
10149 (rst-transition, rst-adornment): New faces.
10150 (rst-adornment-faces-alist): Make default safe to reevaluate.
10151 Fixes
10152 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
10153 Improve customization tags.
10154 (rst-define-level-faces): Clarify meaning.
10155
10156 2012-06-03 Chong Yidong <cyd@gnu.org>
10157
10158 * progmodes/compile.el (compilation-mode-line-fail)
10159 (compilation-mode-line-run, compilation-mode-line-exit):
10160 New faces.
10161 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
10162
10163 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
10164
10165 * progmodes/which-func.el (which-func-update-ediff-windows):
10166 New function. Use it in ediff-select-hook (Bug#11478).
10167
10168 2012-06-03 Chong Yidong <cyd@gnu.org>
10169
10170 * bindings.el: Remove explicit help text from format-mode-line.
10171 It is now supplied by mode-line-default-help-echo.
10172 (mode-line-front-space, mode-line-end-spaces)
10173 (mode-line-misc-info): New variables.
10174 (mode-line-modes, mode-line-position): Move the default value to
10175 the variable definition.
10176 (mode-line-default-help-echo): New defcustom.
10177 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
10178 (mode-line-modified-help-echo): New functions.
10179 (mode-line-mule-info, mode-line-modified): Use them.
10180 (mode-line-eol-desc, propertized-buffer-identification):
10181 Consistency fixes for help text.
10182 (mode-line-coding-system-map): Allow using mouse-3 to invoke
10183 set-buffer-file-coding-system (Bug#289).
10184 (mode-line-mule-info-help-echo): Update help text.
10185
10186 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
10187
10188 * simple.el (execute-extended-command): Set real-this-command
10189 (bug#11506).
10190
10191 2012-06-02 Chong Yidong <cyd@gnu.org>
10192
10193 Remove incorrect uses of "modeline" in comments, docstrings, and
10194 function/variable names (Bug#10329).
10195
10196 * cus-edit.el (mode-line):
10197 * dframe.el (dframe-mouse-hscroll):
10198 * emacs-lisp/re-builder.el:
10199 * emacs-lisp/easy-mmode.el (define-minor-mode):
10200 * frame.el (set-frame-name):
10201 * help.el (lookup-minor-mode-from-indicator):
10202 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
10203 * progmodes/cc-cmds.el (c-toggle-auto-newline)
10204 (c-toggle-hungry-state):
10205 * progmodes/antlr-mode.el (antlr-language-alist):
10206 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
10207 * progmodes/vhdl-mode.el (vhdl-mode):
10208 * progmodes/which-func.el (which-func, which-func-cleanup-function):
10209 * term/ns-win.el (ns-face-at-pos):
10210 * term/sup-mouse.el (sup-mouse-report):
10211 * textmodes/flyspell.el (flyspell-mode-line-string):
10212 * textmodes/ispell.el (ispell-highlight-face):
10213 * textmodes/reftex-global.el:
10214 * vc/vc-arch.el (vc-arch-mode-line-string):
10215 * vc/vc-cvs.el (vc-cvs-mode-line-string):
10216 * vc/vc-git.el (vc-git-mode-line-string):
10217 * vc/vc-hooks.el (vc-display-status)
10218 (vc-default-mode-line-string):
10219 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
10220
10221 * ansi-color.el (ansi-color-faces-vector): Change default faces.
10222
10223 * dired.el (dired-sort-set-mode-line): Rename from
10224 dired-sort-set-modeline. All callers changed.
10225
10226 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
10227 eshell-status-in-modeline.
10228
10229 * foldout.el (foldout-mode-line-string): Rename from
10230 foldout-modeline-string. All callers changed.
10231 (foldout-update-mode-line): Rename from foldout-update-modeline.
10232
10233 * subr.el (redraw-modeline): Make into obsolete alias.
10234
10235 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
10236 timeclock-modeline-display. Make old name an alias.
10237 (timeclock-update-mode-line): Likewise. All callers changed.
10238 (timeclock-mode-line-display): No need to check before using
10239 add-hook.
10240 (timeclock-relative, timeclock-day-over-hook)
10241 (timeclock-use-elapsed, timeclock-mode-string)
10242 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
10243
10244 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
10245 crisp-mode-modeline-string.
10246
10247 * play/solitaire.el (solitaire-build-mode-line): Rename from
10248 solitaire-build-modeline. All callers changed.
10249
10250 * play/zone.el (zone-hiding-mode-line): Rename from
10251 zone-hiding-modeline. All callers changed.
10252 (zone): Remove unusued `modeline-hidden-level' property.
10253
10254 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
10255 xscheme-modeline-initialize. All callers changed.
10256
10257 * strokes.el (strokes-lighter): Rename from
10258 strokes-modeline-string.
10259
10260 * textmodes/sgml-mode.el (html-face-tag-alist)
10261 (html-tag-face-alist): Use mode-line face instead of obsolete
10262 alias modeline.
10263
10264 2012-06-02 Stefan Merten <smerten@oekonux.de>
10265
10266 * textmodes/rst.el: Always require `cl'.
10267 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
10268
10269 2012-06-02 Chong Yidong <cyd@gnu.org>
10270
10271 * image.el (imagemagick-enabled-types): Rename from
10272 imagemagick-types-enable. Add many more types.
10273 (imagemagick-types-inhibit): Change default to nil.
10274 (imagemagick-filter-types): Caller changed.
10275
10276 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
10277
10278 * emacs-lisp/cl-macs.el: Use backquotes.
10279 (cl-transform-function-property): Use eval-and-compile rather than
10280 abusing `require'.
10281 (defstruct): Use declare-function instead of with-no-warnings.
10282
10283 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
10284 (byte-compile-output-docform): Re-add the print-circle bindings.
10285 (byte-compile-fix-header): Use #$ just because it's shorter.
10286 (byte-compile-output-file-form): Remove defun/defmacro.
10287
10288 2012-06-01 Martin Rudalics <rudalics@gmx.at>
10289
10290 * simple.el (choose-completion): Remove now obsolete binding for
10291 owindow.
10292
10293 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
10294
10295 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
10296 in order to avoid "Stack overflow in regexp matcher".
10297
10298 2012-05-31 Glenn Morris <rgm@gnu.org>
10299
10300 * image.el: For clarity, call imagemagick-register-types at
10301 top-level, rather than relying on a custom :initialize.
10302 (imagemagick-types-enable): New option. (Bug#11557)
10303 (imagemagick-filter-types): New function. (Bug#7406)
10304 (imagemagick-register-types): Use imagemagick-filter-types.
10305 If disabling support, remove elements altogether rather
10306 than using an impossible regexp.
10307 (imagemagick-types-inhibit): Give it the default init function.
10308
10309 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10310
10311 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
10312 Handle arbitrary file name lengths (Bug#11585).
10313
10314 2012-05-31 Martin Rudalics <rudalics@gmx.at>
10315
10316 * desktop.el (desktop-read): Clear previous and next buffers for
10317 all windows and bury *Messages* buffer (bug#11556).
10318
10319 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
10320
10321 Add `declare' for `defun'. Align `defmacro's with it.
10322 * emacs-lisp/easy-mmode.el (define-minor-mode)
10323 (define-globalized-minor-mode): Don't autoload the var definitions.
10324 * emacs-lisp/byte-run.el: Use lexical-binding.
10325 (defun-declarations-alist, macro-declarations-alist): New vars.
10326 (defmacro, defun): Use them.
10327 (make-obsolete, define-obsolete-function-alias)
10328 (make-obsolete-variable, define-obsolete-variable-alias):
10329 Use `declare'.
10330 (macro-declaration-function): Mark obsolete.
10331 * emacs-lisp/autoload.el: Use lexical-binding.
10332 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
10333
10334 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10335
10336 * textmodes/ispell.el (ispell-with-no-warnings):
10337 Define as a macro.
10338 (ispell-kill-ispell, ispell-change-dictionary):
10339 Use `called-interactively-p' for Emacs instead of obsolete
10340 `interactive-p'.
10341
10342 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10343
10344 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
10345 (macro-declaration-function): Move var from C code.
10346 (macro-declaration-function): Define function with defalias.
10347 * emacs-lisp/macroexp.el (macroexpand-all-1):
10348 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
10349 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
10350 defun/defmacro any more.
10351 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
10352 Provide fallback for unknown arglist.
10353 (byte-compile-arglist-warn): Change calling convention.
10354 (byte-compile-output-file-form): Move print-vars binding.
10355 (byte-compile-output-docform): Simplify accordingly.
10356 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
10357 (byte-compile-defmacro-declaration): Remove.
10358 (byte-compile-file-form-defmumble): Generalize to defalias.
10359 (byte-compile-output-as-comment): Return byte-positions.
10360 Simplify callers accordingly.
10361 (byte-compile-lambda): Use `assert'.
10362 (byte-compile-defun, byte-compile-defmacro): Remove.
10363 (byte-compile-file-form-defalias):
10364 Use byte-compile-file-form-defmumble.
10365 (byte-compile-defalias-warn): Remove.
10366
10367 2012-05-29 Stefan Merten <smerten@oekonux.de>
10368
10369 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
10370 possible. Fix authors. Improve comments. Improve loading of `cl'.
10371
10372 (rst-mode-abbrev-table): Merge definition.
10373 (rst-mode): Make sure `font-lock-defaults' is buffer local.
10374 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
10375
10376 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
10377
10378 * calendar/icalendar.el
10379 (icalendar-export-region): Export UID properly.
10380
10381 2012-05-29 Leo Liu <sdl.web@gmail.com>
10382 * calendar/icalendar.el (icalendar-import-format):
10383 Add `icalendar-import-format-uid' (Bug#11525).
10384 (icalendar-import-format-uid): New.
10385 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
10386 Export UID.
10387
10388 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10389
10390 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
10391 different alternative patterns.
10392 (pcase-codegen): Be more careful to preserve identity.
10393 (pcase--u1): Don't forget to mark vars as used.
10394
10395 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
10396 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
10397 (byte-compile-from-buffer): ...rather than here.
10398
10399 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
10400 functions from byte-compile-function-environment.
10401
10402 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
10403
10404 * window.el (window-deletable-p): Avoid deleting the root window
10405 of a frame with an active minibuffer.
10406
10407 2012-05-29 Martin Rudalics <rudalics@gmx.at>
10408
10409 * simple.el (choose-completion): Use quit-window (Bug#11567).
10410
10411 2012-05-29 Chong Yidong <cyd@gnu.org>
10412
10413 * whitespace.el (whitespace-cleanup): Fix usage of
10414 whitespace-empty-at-bob-regexp (Bug#11492).
10415
10416 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10417
10418 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
10419 revert (Bug#11488).
10420
10421 2012-05-29 Juri Linkov <juri@jurta.org>
10422
10423 * isearch.el (isearch-mode-map): Bind `M-s _' to
10424 `isearch-toggle-symbol'. Bind `M-s c' to
10425 `isearch-toggle-case-fold'.
10426 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
10427 (isearch-forward): Add `M-s _' to the docstring.
10428 (isearch-forward-symbol, isearch-toggle-case-fold)
10429 (isearch-symbol-regexp): New functions. (Bug#11381)
10430
10431 2012-05-29 Juri Linkov <juri@jurta.org>
10432
10433 * isearch.el (isearch-word): Add docstring. (Bug#11381)
10434 (isearch-occur, isearch-search-and-update): If `isearch-word' is
10435 a function, call it to get the regexp.
10436 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
10437 property `isearch-message-prefix' instead of the string "word ".
10438 (isearch-search-fun-default): For the case of `isearch-word',
10439 return a lambda that calls re-search-forward/re-search-backward
10440 with a regexp returned by `word-search-regexp' or by the function
10441 in `isearch-word'.
10442
10443 2012-05-29 Juri Linkov <juri@jurta.org>
10444
10445 * isearch.el (isearch-search-fun-default): New function.
10446 (isearch-search-fun): Move default part to the new function
10447 `isearch-search-fun-default'.
10448 (isearch-search-fun-function): Set the default value to
10449 `isearch-search-fun-default'. (Bug#11381)
10450
10451 * comint.el (comint-history-isearch-end):
10452 Use `isearch-search-fun-default'.
10453 (comint-history-isearch-search): Use `isearch-search-fun-default'
10454 and remove spacial case for `isearch-word'.
10455 (comint-history-isearch-wrap): Remove spacial case for
10456 `isearch-word'.
10457
10458 * hexl.el (hexl-isearch-search-function):
10459 Use `isearch-search-fun-default'.
10460
10461 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
10462 Use `word-search-regexp' for `isearch-word'.
10463
10464 * misearch.el (multi-isearch-search-fun):
10465 Use `isearch-search-fun-default'.
10466
10467 * simple.el (minibuffer-history-isearch-search):
10468 Use `isearch-search-fun-default' and remove spacial case for
10469 `isearch-word'.
10470 (minibuffer-history-isearch-wrap): Remove spacial case for
10471 `isearch-word'.
10472
10473 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
10474 Remove spacial case for `isearch-word'.
10475 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
10476
10477 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10478
10479 Decrease XEmacs incompatibilities.
10480 * textmodes/flyspell.el (flyspell-check-pre-word-p):
10481 Use `string-match'.
10482 (flyspell-delete-region-overlays): Use alternative definition for
10483 XEmacs.
10484 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
10485 (flyspell-word): Use `process-kill-without-query' if XEmacs.
10486 (flyspell-mode-on): Use `interactive-p' if XEmacs.
10487 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
10488 `define-obsolete-face-alias' under XEmacs, but old method.
10489
10490 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
10491 `with-no-warnings' definition or Emacs alias.
10492 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
10493 (ispell-word): Do not use `region-p' if XEmacs.
10494
10495 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10496
10497 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
10498 Check for `ispell-dictionary-base-alist' instead of full
10499 `ispell-dictionary-alist'.
10500 (ispell-init-process): Show spellchecker when starting new Ispell
10501 process.
10502
10503 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
10504
10505 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
10506 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
10507
10508 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
10509
10510 * version.el (motif-version-string, gtk-version-string)
10511 (ns-version-string): Declare.
10512
10513 2012-05-27 Juri Linkov <juri@jurta.org>
10514
10515 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
10516 after the `eval-defun-1' specialcaseing
10517 like in `edebug-eval-defun' (bug#10181).
10518
10519 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
10520 like in `eval-defun-1'.
10521
10522 2012-05-27 Eli Zaretskii <eliz@gnu.org>
10523
10524 * mail/sendmail.el (mail-yank-region):
10525 Recognize rmail-yank-current-message in addition to insert-buffer.
10526 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
10527 a *mail* buffer created through rmail-start-mail with sendmail as
10528 mail-user-agent.
10529
10530 2012-05-27 Chong Yidong <cyd@gnu.org>
10531
10532 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
10533 Default to 256 (Bug#11267).
10534
10535 * help.el (describe-mode): Doc fix.
10536
10537 2012-05-26 Glenn Morris <rgm@gnu.org>
10538
10539 * w32-fns.el (w32-init-info): Remove.
10540 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
10541
10542 * info.el (info-initialize): For self-contained NS builds, put the
10543 included info/ directory at the front. (Bug#2791)
10544
10545 * paths.el (Info-default-directory-list): Make it a defcustom,
10546 mainly so that we can use custom-initialize-delay.
10547
10548 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
10549
10550 * subr.el (buffer-has-markers-at): Mark obsolete.
10551
10552 * subr.el (lambda): Use declare.
10553
10554 * emacs-lisp/lisp-mode.el (lambda):
10555 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
10556
10557 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
10558
10559 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
10560
10561 2012-05-26 Glenn Morris <rgm@gnu.org>
10562
10563 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
10564
10565 2012-05-25 Glenn Morris <rgm@gnu.org>
10566
10567 * paths.el: Remove no-byte-compile.
10568 * loadup.el: No need to load paths.el uncompiled.
10569
10570 * image.el (imagemagick-types-inhibit): Doc fix.
10571
10572 * version.el: Remove no-byte-compile and associated formatting.
10573 * loadup.el: No need to load version.el uncompiled. AFAICS, this
10574 is ancient code from when there was an "inc-vers.el".
10575
10576 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10577
10578 * progmodes/gdb-mi.el: Minor style changes.
10579 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
10580 Turn into minor modes.
10581 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
10582 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
10583 (gdb-shell): Remove unneeded let-binding.
10584 (gdb-get-many-fields): Eliminate O(n²) behavior.
10585
10586 2012-05-25 Eli Zaretskii <eliz@gnu.org>
10587
10588 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
10589 platforms that don't link in fontset.c.
10590
10591 2012-05-25 Juri Linkov <juri@jurta.org>
10592
10593 Use the same diff color scheme as in modern VCSes (bug#10181).
10594
10595 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
10596 to avoid confusion with `diff-added' that now uses green colors.
10597 (diff-removed): Use shades of red.
10598 (diff-added): Use shades of green.
10599 (diff-changed): Leave just the yellow color.
10600 (diff-use-changed-face): New variable.
10601 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
10602 how to highlight context diff changes.
10603 (diff-refine-change): Use shades of yellow.
10604 (diff-refine-removed): New face that uses shades of red.
10605 (diff-refine-added): New face that uses shades of green.
10606 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
10607 `diff-refine-removed' in the call to `smerge-refine-subst'
10608 depending on the value of `diff-use-changed-face'.
10609
10610 * vc/smerge-mode.el (smerge-mine): Use shades of red.
10611 (smerge-other): Use shades of green.
10612 (smerge-base): Use shades of yellow.
10613 (smerge-refined-change): Empty face.
10614 (smerge-refined-removed): New face that uses shades of red.
10615 (smerge-refined-added): New face that uses shades of green.
10616 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
10617 args `props-r' and `props-a', and use them. Doc fix.
10618 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
10619 on its value use different faces `smerge-refined-change',
10620 `smerge-refined-removed', `smerge-refined-added' in the call to
10621 `smerge-refine-subst'.
10622
10623 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
10624 Add face condition `min-colors 88' with shades of red.
10625 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
10626 `min-colors 88' with shades of green.
10627 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
10628 `min-colors 88' with shades of yellow.
10629
10630 2012-05-24 Glenn Morris <rgm@gnu.org>
10631
10632 * paths.el (prune-directory-list, remote-shell-program): Move to...
10633 * files.el (prune-directory-list, remote-shell-program): ...here.
10634 For the latter, delay initialization, prefer ssh, just search PATH.
10635
10636 * paths.el (term-file-prefix): Move to faces.el (the only user).
10637 * faces.el (term-file-prefix): Move here, make it a defcustom.
10638
10639 * paths.el (news-directory, news-path, news-inews-program):
10640 Move to gnus/nnspool.el.
10641
10642 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
10643
10644 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
10645 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
10646 Make the latter a defcustom, with a delayed initialization.
10647
10648 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
10649 These were deleted from Gnus itself late 2010.
10650
10651 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
10652
10653 * progmodes/which-func.el (which-func-ff-hook):
10654 Check against user-error, not error.
10655
10656 * emacs-lisp/edebug.el (top): Do not load or set up loading of
10657 cl-specs.el, which no longer exists.
10658
10659 2012-05-22 Glenn Morris <rgm@gnu.org>
10660
10661 * info.el (info-emacs-bug): New command.
10662 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
10663 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
10664
10665 2012-05-21 Glenn Morris <rgm@gnu.org>
10666
10667 * makefile.w32-in (update-subdirs-SH):
10668 * Makefile.in (update-subdirs): Update for moved update-subdirs.
10669
10670 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
10671
10672 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
10673
10674 * progmodes/compile.el (compilation-error-regexp-alist-alist):
10675 Simplify Maven regexp, and make sure the file can't start with a space
10676 (bug#11517).
10677
10678 2012-05-21 Glenn Morris <rgm@gnu.org>
10679
10680 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10681 Scrap superfluous subshells.
10682
10683 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
10684
10685 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
10686 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
10687
10688 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
10689
10690 * calc/calc.el (calc-ensure-consistent-units): New variable.
10691
10692 * calc/calc-units.el (math-consistent-units-p)
10693 (math-check-unit-consistency): New functions.
10694 (calc-quick-units, calc-convert-units):
10695 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
10696 is non-nil.
10697 (calc-extract-units): Fix typo.
10698
10699 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10700
10701 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
10702
10703 * textmodes/flyspell.el: Commenting style, plus code simplifications.
10704 (flyspell-default-deplacement-commands): Don't spell check after
10705 repeated window/frame switches (e.g. triggered by mouse-movement).
10706 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
10707 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
10708 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
10709 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
10710 Remove unused vars.
10711 (flyspell-get-casechars, flyspell-get-not-casechars):
10712 Simplify; Don't bother removing a ] just to add it back.
10713 * textmodes/ispell.el (ispell-program-name): Use executable-find.
10714
10715 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10716
10717 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
10718 New functions.
10719 (math-function-table): Add support for more C functions.
10720
10721 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10722
10723 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10724 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10725 Protect delay handling for otherchars against empty otherchars.
10726
10727 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
10728
10729 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
10730 their respective macro declarations.
10731 * skeleton.el (define-skeleton):
10732 * progmodes/compile.el (define-compilation-mode):
10733 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
10734 (define-ibuffer-filter):
10735 * emacs-lisp/generic.el (define-generic-mode):
10736 * emacs-lisp/easy-mmode.el (define-minor-mode)
10737 (define-globalized-minor-mode):
10738 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
10739 * emacs-lisp/byte-run.el (defsubst):
10740 * custom.el (deftheme): Add doc-string metadata.
10741
10742 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10743
10744 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
10745
10746 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10747
10748 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
10749
10750 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
10751 * emacs-lisp/cl-macs.el: Idem.
10752 * emacs-lisp/cl-specs.el: Remove.
10753
10754 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10755
10756 Minor renaming of internal CL functions and variables.
10757 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
10758 (cl--position): Rename from cl-position.
10759 (cl--delete-duplicates): Rename from cl-delete-duplicates.
10760 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
10761 (cl--random-state): Rename from *random-state*.
10762
10763 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10764
10765 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
10766 parens around the arg list (bug#11499).
10767
10768 2012-05-17 Juri Linkov <juri@jurta.org>
10769
10770 * isearch.el (word-search-regexp, word-search-backward)
10771 (word-search-forward, word-search-backward-lax)
10772 (word-search-forward-lax): Move functions from search.c
10773 (bug#10145, bug#11381).
10774
10775 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
10776
10777 * textmodes/flyspell.el (flyspell-check-pre-word-p)
10778 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
10779 Delay for otherchars as for normal word components.
10780
10781 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
10782
10783 * minibuffer.el (completion--sifn-requote): Fix last change.
10784 (minibuffer-local-must-match-filename-map):
10785 Move define-obsolete-variable-alias before its var.
10786
10787 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
10788
10789 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
10790
10791 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
10792 behavior.
10793 (completion--string-equal-p): New function.
10794 (completion--twq-all): Use it to get better assertion failure data.
10795
10796 Only handle ".." and '..' quoting in shell-mode (bug#11466).
10797 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
10798 (shell--requote-argument): New functions.
10799 (shell-completion-vars): Use them.
10800 (shell--parse-pcomplete-arguments): Rename from
10801 shell-parse-pcomplete-arguments.
10802 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
10803 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
10804 Obey comint-file-name-quote-list.
10805
10806 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
10807 (smie-indent-keyword): Use it.
10808
10809 2012-05-14 Stefan Merten <smerten@oekonux.de>
10810
10811 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
10812
10813 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10814
10815 * net/rlogin.el (rlogin-mode-map): Fix last change.
10816
10817 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
10818
10819 * mail/smtpmail.el (smtpmail-send-command): Send the command and
10820 the following \r\n using a single `process-send-string', since the
10821 Lotus SMTP server refuses to accept any commands if they are sent
10822 with two `process-send-string's (Bug#11444).
10823
10824 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
10825
10826 * shell.el (shell-parse-pcomplete-arguments):
10827 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
10828
10829 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10830
10831 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
10832 (image-transform-scale, image-transform-right-angle-fudge): New vars.
10833 (image-transform-width, image-transform-fit-width): New functions.
10834 (image-transform-properties): Use them.
10835 (image-transform-check-size): New function.
10836 (image-toggle-display-image): Use it (for testing).
10837 (image-transform-set-rotation): Reduce angle mod 360.
10838 Delete obsolete comment.
10839
10840 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
10841
10842 * image-mode.el: Fix scaling (bug#11399).
10843 (image-transform-resize): Doc fix.
10844 (image-transform-properties): Default scale is 1 and height should
10845 be an integer.
10846
10847 2012-05-13 Johan Bockgård <bojohan@gnu.org>
10848
10849 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
10850 than hard-coding `car', to fix misbehavior when moving forward.
10851
10852 2012-05-13 Chong Yidong <cyd@gnu.org>
10853
10854 * emacs-lisp/tabulated-list.el (tabulated-list-format)
10855 (tabulated-list-entries, tabulated-list-padding)
10856 (tabulated-list-sort-key): Make permanent-local.
10857
10858 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
10859 (electric-buffer-list): Put electric buffer menu
10860 command descriptions in this docstring, instead of the docstring
10861 of electric-buffer-menu-mode. Code cleanups.
10862 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
10863 Electric-buffer-menu-mode.
10864 (electric-buffer-update-highlight): Minor code cleanup.
10865
10866 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
10867
10868 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
10869 (Bug#11447)
10870
10871 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
10872
10873 Move define-obsolete-variable-alias before the var's definition.
10874 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
10875 * tooltip.el (tooltip-hook):
10876 * textmodes/reftex-toc.el (reftex-toc-map):
10877 * textmodes/reftex-sel.el (reftex-select-label-map)
10878 (reftex-select-bib-map):
10879 * textmodes/reftex-index.el (reftex-index-map)
10880 (reftex-index-phrases-map):
10881 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
10882 * progmodes/meta-mode.el (meta-mode-map):
10883 * novice.el (disabled-command-hook):
10884 * loadhist.el (unload-hook-features-list):
10885 * frame.el (blink-cursor):
10886 * files.el (find-file-not-found-hooks, write-file-hooks)
10887 (write-contents-hooks):
10888 * emulation/tpu-edt.el (GOLD-map):
10889 * emacs-lock.el (emacs-lock-from-exiting):
10890 * emacs-lisp/generic.el (generic-font-lock-defaults):
10891 * emacs-lisp/chart.el (chart-map):
10892 * dos-fns.el (register-name-alist):
10893 * dired-x.el (dired-omit-files-p):
10894 * desktop.el (desktop-enable):
10895 * cus-edit.el (custom-mode-hook):
10896 * buff-menu.el (buffer-menu-mode-hook):
10897 * bookmark.el (bookmark-read-annotation-text-func)
10898 (bookmark-exit-hooks):
10899 * allout.el (allout-mode-deactivate-hook)
10900 (allout-exposure-change-hook, allout-structure-added-hook)
10901 (allout-structure-deleted-hook, allout-structure-shifted-hook):
10902 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
10903 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
10904 comes before the corresponding variable's definition.
10905
10906 2012-05-12 Chong Yidong <cyd@gnu.org>
10907
10908 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
10909 (Buffer-menu-mouse-select): Restore function (Bug#11459).
10910 (Buffer-menu-mode-map): Bind it.
10911 (Buffer-menu--pretty-name): Add a mouse-face property.
10912
10913 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
10914
10915 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
10916 (prolog-upper-case-string, prolog-lower-case-string)
10917 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
10918 (prolog-use-smie, prolog-smie-grammar): New vars.
10919 (prolog-smie-forward-token, prolog-smie-backward-token)
10920 (prolog-smie-rules): New funs.
10921 (prolog-comment-indent): Remove.
10922 (prolog-mode-variables): Use default comment indentation instead.
10923 Setup SMIE.
10924 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
10925 (prolog-mode): Don't call them any more.
10926 (prolog-electric-colon, prolog-electric-dash)
10927 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
10928
10929 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
10930
10931 * minibuffer.el (completion--twq-all): Again, allow case differences.
10932
10933 * term.el: Move keymap initialization code to be more idiomatic.
10934 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
10935 (term-terminal-menu): Move initialization into declaration.
10936 (term-escape-char): Let the user set it in her .emacs.
10937
10938 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
10939 Provide SMIE-based indentation (not enabled by default yet).
10940 (sh-mode-map): Don't bind electric keys.
10941 Use electric-pair-mode instead of skeleton-pair.
10942 (sh-assignment-regexp): Fit within 80 columns.
10943 (sh-indent-supported): Specify actual shell name instead of boolean.
10944 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
10945 (sh-maybe-here-document): Use it. Make obsolete.
10946 (sh-electric-here-document-mode) New minor mode.
10947 (sh-mode): Use it. Don't set sh-indent-supported-here here.
10948 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
10949 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
10950 (sh-smie-rc-grammar, sh-use-smie): New vars.
10951 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
10952 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
10953 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
10954 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
10955 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
10956 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
10957 (sh-set-shell): Use smie-setup if requested.
10958
10959 * term.el (term-set-escape-char): Properly set term-escape-char.
10960 See http://stackoverflow.com/questions/10524656.
10961
10962 2012-05-10 Chong Yidong <cyd@gnu.org>
10963
10964 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
10965 Use url-generic-parse-url, and handle host names and Windows
10966 filenames properly.
10967 (ffap-url-unwrap-remote): Use url-generic-parse-url.
10968 (ffap-url-unwrap-remote): Accept list values, specifying a list of
10969 URL schemes to work on.
10970 (ffap--toggle-read-only): New function.
10971 (ffap-read-only, ffap-read-only-other-window)
10972 (ffap-read-only-other-frame): Use it.
10973 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
10974 necessary for ffap-url-unwrap-remote.
10975
10976 2012-05-10 Dave Abrahams <dave@boostpro.com>
10977
10978 * cus-start.el (create-lockfiles): Add it.
10979
10980 2012-05-09 Chong Yidong <cyd@gnu.org>
10981
10982 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
10983 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
10984
10985 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
10986
10987 * shell.el (shell-completion-vars): Fix last change (bug#11348).
10988
10989 2012-05-09 Chong Yidong <cyd@gnu.org>
10990
10991 * ansi-color.el (ansi-color-process-output): Check for validity of
10992 comint-last-output-start before using it. This avoids a bad
10993 interaction with gdb-mi's input/output buffer.
10994
10995 2012-05-09 Glenn Morris <rgm@gnu.org>
10996
10997 * files.el (dir-locals-read-from-file):
10998 Mention dir-locals in any error message.
10999
11000 2012-05-09 Chong Yidong <cyd@gnu.org>
11001
11002 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
11003 package (Bug#11410).
11004
11005 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
11006 variables into description.
11007
11008 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11009
11010 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
11011 shell-delimiter-argument-list (bug#11348).
11012 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
11013
11014 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
11015
11016 * textmodes/rst.el: Silence byte-compiler warnings.
11017 (rst-re-alist, rst-reset-section-caches): Move around.
11018 (rst-re): Use `characterp', not `char-valid-p'.
11019 (font-lock-beg, font-lock-end): Declare.
11020
11021 * progmodes/idlw-shell.el (specs): Remove reference to deleted
11022 variable `idlwave-shell-activate-alt-keybindings' and simplify.
11023
11024 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
11025
11026 2012-05-08 Glenn Morris <rgm@gnu.org>
11027
11028 * files.el (auto-mode-alist): Treat ".make" like ".mk".
11029
11030 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11031
11032 * vc/log-edit.el: Add GNU coding standards highlighting.
11033 (log-edit-font-lock-gnu-style)
11034 (log-edit-font-lock-gnu-keywords): New vars.
11035 (log-edit-font-lock-keywords): New fun.
11036 (log-edit-mode): Don't fold case in font-lock.
11037 (log-edit-font-lock-keywords): Do not assume case-folding.
11038
11039 * imenu.el: Misc cleanup. Make docstrings out of comments.
11040 Use lexical-binding.
11041 (imenu--index-alist, imenu--last-menubar-index-alist)
11042 (imenu-menubar-modified-tick): Use defvar-local.
11043 (imenu--split-menu): Remove unused var.
11044 (imenu--cleanup-seen): Declare as global.
11045 (imenu--cleanup): Use dolist.
11046
11047 * subr.el (defvar-local): Add debug spec and doc-string position.
11048
11049 2012-05-08 Glenn Morris <rgm@gnu.org>
11050
11051 * language/burmese.el, language/cham.el, language/czech.el:
11052 * language/english.el, language/georgian.el, language/greek.el:
11053 * language/japanese.el, language/khmer.el, language/korean.el:
11054 * language/lao.el, language/misc-lang.el, language/romanian.el:
11055 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
11056 * language/thai.el, language/utf-8-lang.el:
11057 Remove no-byte-compile setting.
11058
11059 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
11060
11061 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11062
11063 * progmodes/make-mode.el (makefile-browse):
11064 Remove unnecessary interactive. (Bug#11324)
11065
11066 2012-05-07 Glenn Morris <rgm@gnu.org>
11067
11068 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
11069
11070 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
11071
11072 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11073
11074 * loadup.el: Preload newcomment.el.
11075 * newcomment.el: Move autoload-only code to toplevel.
11076
11077 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
11078 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11079 Handle new :right-align column property.
11080 (tabulated-list-print-col): Idem, plus use `display' text-property to
11081 try and preserve alignment for variable pitch fonts.
11082
11083 2012-05-07 Chong Yidong <cyd@gnu.org>
11084
11085 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
11086 (tabulated-list-use-header-line): New var.
11087 (tabulated-list-init-header): Use it.
11088 (tabulated-list-print-fake-header): New function.
11089 (tabulated-list-print): Use it.
11090 (tabulated-list-sort-button-map): Add non-header-line commands.
11091 (tabulated-list-init-header): Add column name property to basic
11092 labels as well.
11093 (tabulated-list-col-sort): Handle non-header-line button case.
11094 (tabulated-list--sort-by-column-name): Fix a corner case.
11095
11096 * buff-menu.el (list-buffers--refresh):
11097 Handle Buffer-menu-use-header-line.
11098
11099 2012-05-06 Chong Yidong <cyd@gnu.org>
11100
11101 * buff-menu.el: Convert to Tabulated List mode.
11102 (Buffer-menu-buffer+size-width): Make obsolete.
11103 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
11104 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
11105 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
11106 documentation into docstring of buffer-menu.
11107 (Buffer-menu-toggle-files-only): Add an informative message.
11108 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
11109 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
11110 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
11111 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
11112 (Buffer-menu-execute, Buffer-menu-select)
11113 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
11114 (Buffer-menu-bury): Use Tabulated List machinery.
11115 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
11116 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
11117 Delete.
11118 (list-buffers--refresh): New function.
11119 (list-buffers-noselect): Use it.
11120 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
11121 (Buffer-menu--pretty-file-name): New helper functions.
11122
11123 * loadup.el: Preload tabulated-list.
11124
11125 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
11126 tabulated-list-sort-column.
11127 (tabulated-list-init-header): Add the initial aligning space even
11128 if tabulated-list-padding is zero.
11129
11130 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
11131
11132 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
11133 whose cdr is not a cons cell correctly (bug#11038).
11134
11135 2012-05-06 Chong Yidong <cyd@gnu.org>
11136
11137 * emacs-lisp/tabulated-list.el (tabulated-list-format):
11138 Accept additional plist in column descriptors.
11139 (tabulated-list-init-header): Obey it.
11140 (tabulated-list-get-entry): New function.
11141 (tabulated-list-put-tag): Use it. Use string-width instead of
11142 length.
11143 (tabulated-list--column-number): New function.
11144 (tabulated-list-print): Use it.
11145 (tabulated-list-print-col): New function.
11146 Set `tabulated-list-column-name' property on each column's text.
11147 (tabulated-list-print-entry): Use it.
11148 (tabulated-list-delete-entry, tabulated-list-set-col):
11149 New functions.
11150 (tabulated-list-sort-column): New command (Bug#11337).
11151
11152 * buff-menu.el (list-buffers): Move C-x C-b binding from
11153 buff-menu.el to bindings.el.
11154
11155 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
11156 :advertised-binding feature.
11157
11158 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
11159
11160 * progmodes/compile.el (compilation-internal-error-properties):
11161 Calculate start position correctly when end-col is set but
11162 end-line is not (Bug#11382).
11163
11164 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
11165
11166 * man.el (Man-unindent): Use text-property-default-nonsticky to
11167 prevent untabify from inheriting face properties (Bug#11408).
11168
11169 2012-05-05 Stefan Merten <smerten@oekonux.de>
11170
11171 * textmodes/rst.el: Major merge with upstream development up to
11172 Docutils SVN r7399 / rst.el V1.2.1.
11173
11174 Clarify maintainership and authors.
11175
11176 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
11177 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
11178 (rst-official-version, rst-official-cvs-rev, rst-version)
11179 (rst-package-emacs-version-alist): New functions and variables
11180 for version information.
11181
11182 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
11183 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
11184 (rst-mode-syntax-table, rst-mode): New and corrected functions
11185 and variables representing reStructuredText features.
11186
11187 (rst-re): New function for reStructuredText regexes. Use in
11188 many places.
11189
11190 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
11191 (rst-mode-map): Rebind keys.
11192
11193 (rst-mode-lazy, rst-font-lock-keywords)
11194 (rst-font-lock-extend-region)
11195 (rst-font-lock-extend-region-internal)
11196 (rst-font-lock-extend-region-extend)
11197 (rst-font-lock-find-unindented-line-limit)
11198 (rst-font-lock-find-unindented-line-match)
11199 (rst-adornment-level, rst-font-lock-adornment-level)
11200 (rst-font-lock-adornment-match)
11201 (rst-font-lock-handle-adornment-pre-match-form)
11202 (rst-font-lock-handle-adornment-matcher): Major revision of
11203 font-locking. Integrate with other code. Use `jit-lock-mode'.
11204
11205 (rst-preferred-adornments, rst-adjust-hook)
11206 (rst-new-adornment-down, rst-preferred-bullets)
11207 (rst-preferred-bullets, rst-indent, rst-indent-width)
11208 (rst-indent-field, rst-indent-literal-normal)
11209 (rst-indent-literal-minimized, rst-indent-comment): Change,
11210 extend and improve customization.
11211
11212 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
11213 (rst-normalize-cursor-position, rst-get-decoration)
11214 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
11215 (rst-rstrip, rst-toc-insert-find-delete-contents)
11216 (rst-shift-fill-region, rst-compute-bullet-tabs)
11217 (rst-debug-print-tabs, rst-debug-mark-found)
11218 (rst-shift-region-guts, rst-shift-region-right)
11219 (rst-shift-region-left, rst-use-char-classes)
11220 (rst-font-lock-keywords-function)
11221 (rst-font-lock-indentation-point)
11222 (rst-font-lock-find-unindented-line-begin)
11223 (rst-font-lock-find-unindented-line-end)
11224 (rst-font-lock-find-unindented-line)
11225 (rst-font-lock-adornment-point, rst-font-lock-level)
11226 (rst-adornment-level-alist): Remove functions and variables.
11227
11228 (rst-compare-adornments, rst-get-adornment-match)
11229 (rst-suggest-new-adornment, rst-get-adornments-around)
11230 (rst-adornment-complete-p, rst-get-next-adornment)
11231 (rst-adjust-adornment, rst-display-adornments-hierarchy)
11232 (rst-straighten-adornments): Standardize function names to
11233 use "adornment" instead of "decoration". Correct callers.
11234 Similar standardizing in many places.
11235
11236 (rst-update-section, rst-adjust, rst-promote-region)
11237 (rst-enumerate-region, rst-bullet-list-region)
11238 (rst-repeat-last-character): Correct use of `interactive'.
11239
11240 (rst-classify-adornment, rst-find-all-adornments)
11241 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
11242 (rst-find-leftmost-column, rst-repeat-last-character):
11243 Refactor functions.
11244
11245 (rst-find-title-line, rst-reset-section-caches)
11246 (rst-get-adornments-around, rst-adjust-adornment-work)
11247 (rst-arabic-to-roman, rst-roman-to-arabic)
11248 (rst-insert-list-pos, rst-insert-list-new-item)
11249 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
11250 New functions.
11251
11252 (rst-all-sections, rst-section-hierarchy)
11253 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
11254 New variables.
11255
11256 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
11257 configuration instead of only buffer. Change where necessary.
11258
11259 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
11260 (rst-shift-region, rst-adaptive-fill): New functions for
11261 indentation and filling.
11262
11263 (rst-comment-line-break, rst-comment-indent)
11264 (rst-comment-insert-comment, rst-comment-region)
11265 (rst-uncomment-region): New functions for handling comments.
11266
11267 (rst-compile): Quote shell arguments.
11268
11269 (rst-compile-pdf-preview, rst-compile-slides-preview):
11270 Delete temporary files after use.
11271
11272 2012-05-05 Glenn Morris <rgm@gnu.org>
11273
11274 * calendar/cal-html.el: Optionally include holidays in the output.
11275 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
11276 (cal-html-holidays): New option.
11277 (cal-html-css-default): Add holiday entry.
11278 (holiday-in-range): Autoload it.
11279 (cal-html-htmlify-entry): Add optional class argument.
11280 (cal-html-htmlify-list): Add optional holidays argument.
11281 (cal-html-insert-agenda-days): Include holidays in the output.
11282 (cal-html-one-month): Maybe include holidays.
11283
11284 * calendar/holidays.el (holiday-in-range):
11285 Move here from cal-tex-list-holidays.
11286 * calendar/cal-tex.el (cal-tex-list-holidays):
11287 Make it an obsolete alias for holiday-in-range. Update all callers.
11288
11289 2012-05-05 Chong Yidong <cyd@gnu.org>
11290
11291 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
11292 Nextstep.
11293
11294 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
11295
11296 * files.el (file-auto-mode-skip): New var.
11297 (set-auto-mode-1): Use it.
11298
11299 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11300
11301 * repeat.el: Use lexical-binding.
11302 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
11303 (repeat-undo-count): Remove.
11304 (repeat):
11305 * progmodes/octave-mod.el (octave-abbrev-start):
11306 * progmodes/f90.el (f90-abbrev-start):
11307 * face-remap.el (text-scale-adjust):
11308 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
11309
11310 * emacs-lisp/pcase.el (pcase--let*): New function.
11311 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
11312 a bit more.
11313 (pcase--split-pred): Be more clever about ruling out overlap between
11314 a predicate and some constant pattern.
11315 (pcase--q1): Use `null' instead of (eq foo nil).
11316
11317 * subr.el (setq-local, defvar-local): New macros.
11318 (kbd): Redefine as an alias.
11319 (with-selected-window): Leave unrelated frames alone.
11320 (set-temporary-overlay-map): New function.
11321
11322 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11323
11324 * subr.el (user-error): New function.
11325 * window.el (switch-to-buffer):
11326 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
11327 (smerge-match-conflict):
11328 * simple.el (previous-matching-history-element)
11329 (next-matching-history-element, goto-history-element, undo-more)
11330 (undo-start):
11331 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
11332 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
11333 (next-file, tags-loop-scan, list-tags, complete-tag):
11334 * progmodes/compile.el (compilation-loop):
11335 * mouse.el (mouse-minibuffer-check):
11336 * man.el (Man-bgproc-sentinel, Man-goto-page):
11337 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
11338 (Info-history-forward, Info-follow-reference, Info-menu)
11339 (Info-extract-menu-item, Info-extract-menu-counting)
11340 (Info-forward-node, Info-backward-node, Info-next-menu-item)
11341 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
11342 (Info-next-reference, Info-prev-reference, Info-index)
11343 (Info-index-next, Info-follow-nearest-node)
11344 (Info-copy-current-node-name):
11345 * imenu.el (imenu--make-index-alist)
11346 (imenu-default-create-index-function, imenu-add-to-menubar):
11347 * files.el (basic-save-buffer, recover-file):
11348 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11349 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
11350 (checkdoc-message-text, checkdoc-defun):
11351 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
11352 * cus-edit.el (customize-changed-options, customize-rogue)
11353 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
11354 (custom-variable-mark-to-reset-standard)
11355 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
11356 (custom-file):
11357 * completion.el (check-completion-length):
11358 * comint.el (comint-search-arg)
11359 (comint-previous-matching-input-string-position)
11360 (comint-previous-matching-input)
11361 (comint-replace-by-expanded-history-before-point, comint-send-input)
11362 (comint-copy-old-input, comint-backward-matching-input)
11363 (comint-goto-process-mark, comint-set-process-mark):
11364 * calendar/calendar.el (calendar-cursor-to-date): Use it.
11365 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
11366
11367 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11368
11369 * dabbrev.el (dabbrev--ignore-case-p): New function.
11370 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
11371 Use it.
11372
11373 * files.el (automount-dir-prefix): Mark as obsolete.
11374
11375 2012-05-04 Glenn Morris <rgm@gnu.org>
11376
11377 * patcomp.el, play/bruce.el: Move to obsolete/.
11378
11379 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
11380
11381 Fix minor Y10k bugs.
11382 * arc-mode.el (archive-unixdate):
11383 * autoinsert.el (auto-insert-alist):
11384 * calc/calc-forms.el (math-this-year):
11385 * emacs-lisp/copyright.el (copyright-current-year)
11386 (copyright-update-year, copyright):
11387 * tar-mode.el (tar-clip-time-string):
11388 * time.el (display-time-update):
11389 Don't assume years have 4 digits.
11390
11391 2012-05-04 Chong Yidong <cyd@gnu.org>
11392
11393 * dos-w32.el (file-name-buffer-file-type-alist)
11394 (direct-print-region-use-command-dot-com):
11395 * ffap.el (ffap-menu-regexp):
11396 * find-file.el (ff-special-constructs):
11397 * follow.el (follow-debug):
11398 * forms.el (forms--debug):
11399 * iswitchb.el (iswitchb-all-frames):
11400 * ido.el (ido-all-frames):
11401 * emacs-lisp/timer.el (timer-max-repeats):
11402 * mail/feedmail.el (feedmail-mail-send-hook)
11403 (feedmail-mail-send-hook-queued):
11404 * mail/footnote.el (footnote-signature-separator):
11405 * mail/mailabbrev.el (mail-alias-separator-string)
11406 (mail-abbrev-mode-regexp):
11407 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
11408 * progmodes/idlwave.el (idlwave-libinfo-file)
11409 (idlwave-default-completion-case-is-down)
11410 (idlwave-library-routines): Convert defvars to defcustoms.
11411
11412 * mail/rmail.el (rmail-decode-mime-charset):
11413 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
11414 (idlwave-shell-fix-inserted-breaks)
11415 (idlwave-shell-activate-alt-keybindings)
11416 (idlwave-shell-use-breakpoint-glyph):
11417 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
11418
11419 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11420
11421 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
11422
11423 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
11424
11425 * progmodes/verilog-mode.el (font-lock-keywords):
11426 Fix mis-highligting auto. Reported by Craig Barner.
11427 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
11428 defines from global name space. Reported by Dan Dever.
11429 (verilog-auto-reset, verilog-auto-reset-widths)
11430 (verilog-auto-tieoff): Support using unbased numbers for
11431 AUTORESET and AUTOTIEOFF.
11432 (verilog-submit-bug-report): Update variable list.
11433 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
11434 parenthesis from not matching. Reported by Michael Rytting.
11435 (verilog-auto-template-lint): Fix hash error when linting modules
11436 with no used templates.
11437 (verilog-warn, verilog-warn-error)
11438 (verilog-warn-fatal): When non-interactive report multiple
11439 warnings before exiting. Suggested by Brad Dobbie.
11440 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
11441 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
11442 to report unused template errors. Reported by Brad Dobbie.
11443 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
11444 nets, bug438. Reported by Vns Blore.
11445 (verilog-auto-inout-module, verilog-auto-reg)
11446 (verilog-read-decls, verilog-read-sub-decls-sig)
11447 (verilog-signals-edit-wire-reg, verilog-signals-with):
11448 Fix passing of Verilog data types in ANSI input/output ports
11449 such as "output logic" into the AUTOs. Special case "wire" and
11450 "reg" for backwards compatibility presuming Verilog 2001.
11451 (verilog-auto-ascii-enum): Add "auto enum" as alias.
11452 (verilog-preprocess): Fix replication of preprocess output.
11453 Reported by Brad Dobbie.
11454 (verilog-auto-inst-interfaced-ports):
11455 Create verilog-auto-inst-interfaced-ports, bug429.
11456 Reported by Julian Gorfajn.
11457 (verilog-after-save-font-hook)
11458 (verilog-before-save-font-hook): New variable.
11459 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
11460 (verilog-save-font-mods): Wrap disabling fontification, reported
11461 by David Rogoff.
11462 (verilog-do-indent, verilog-pretty-declarations-auto)
11463 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
11464 Reported by Pierre-David Pfister.
11465 (verilog-set-auto-endcomments): Fix endtask auto comments outside
11466 of class declarations, bug292. Reported by Kevin Heilman.
11467 (verilog-read-decls): Fix 'parameter type' not appearing in
11468 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
11469 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
11470 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
11471 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
11472 Reported by David Kravitz.
11473
11474 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
11475
11476 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
11477 assignment with tests in ifs and for loops.
11478 (verilog-extended-complete-re, verilog-complete-reg): Change so
11479 that DPI inport functions don't look like fuction declarations.
11480 (verilog-pretty-expr): Don't line up assignment
11481 operations to the test and increment in if and for loops
11482 (verilog-extended-complete-re, verilog-complete-reg): Change so
11483 that DPI inport functions don't look like fuction declarations.
11484
11485 2012-05-03 Kenichi Handa <handa@m17n.org>
11486
11487 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
11488 decoding, and show a warning message without signaling an error
11489 (Bug#11282).
11490
11491 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
11492
11493 * emacs-lisp/bytecomp.el
11494 (byte-compile-file-form-custom-declare-variable): Compile all elements,
11495 since cconv.el might have introduced :fun-body, internal-make-closure,
11496 and friends for bytecomp to handle (bug#11391).
11497 * custom.el (defcustom): Avoid ((λ ..) ..).
11498
11499 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
11500
11501 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
11502
11503 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
11504
11505 * notifications.el (dbus-debug):
11506 * term/linux.el (gpm-mouse-enable):
11507 * term/screen.el (xterm-register-default-colors): Declare.
11508
11509 2012-05-02 Chong Yidong <cyd@gnu.org>
11510
11511 * cus-start.el (gc-cons-percentage, exec-suffixes)
11512 (dos-display-scancodes, dos-hyper-key, dos-super-key)
11513 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
11514 (make-cursor-line-fully-visible, void-text-area-pointer)
11515 (font-list-limit): Add customization data.
11516
11517 * allout.el (allout-exposure-change-functions)
11518 (allout-structure-added-functions)
11519 (allout-structure-deleted-functions)
11520 (allout-structure-shifted-functions): Rename abnormal hooks from
11521 *-hook, and convert to defcustoms.
11522 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
11523 Convert to defcustoms.
11524 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
11525
11526 * allout-widgets.el: Hook callers changed.
11527
11528 2012-05-02 Eli Zaretskii <eliz@gnu.org>
11529
11530 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
11531 the yanked message in preference to the default value of
11532 buffer-file-coding-system.
11533
11534 2012-05-02 Martin Rudalics <rudalics@gmx.at>
11535
11536 * window.el (display-buffer--action-function-custom-type):
11537 Fix entry.
11538
11539 2012-05-02 Alan Mackenzie <acm@muc.de>
11540
11541 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
11542
11543 2012-05-01 Glenn Morris <rgm@gnu.org>
11544
11545 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
11546
11547 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
11548
11549 * cus-edit.el (custom-variable-documentation): Simplify with format.
11550
11551 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11552 Stefan Monnier <monnier@iro.umontreal.ca>
11553
11554 * simple.el (suggest-key-bindings, execute-extended-command):
11555 Move from keyboard.c.
11556
11557 2012-05-01 Chong Yidong <cyd@gnu.org>
11558
11559 * follow.el: Eliminate advice.
11560 (set-process-filter, process-filter, sit-for): Advice deleted.
11561 (follow-mode-off-hook): Obsolete hook removed.
11562 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
11563 Vars deleted.
11564 (follow-auto): Use a :set function.
11565 (follow-mode): Rewritten. Don't advise process filters.
11566 (follow-switch-to-current-buffer-all, follow-scroll-up)
11567 (follow-scroll-down): Assume follow-mode is bound.
11568 (follow-comint-scroll-to-bottom)
11569 (follow-align-compilation-windows): New functions.
11570 (follow--window-sorter): New function.
11571 (follow-all-followers): Use it to explicitly sort windows by their
11572 positions; don't make assumptions about next-window order.
11573 (follow-windows-start-end, follow-delete-other-windows-and-split)
11574 (follow-calc-win-start): Doc fix.
11575 (follow-windows-aligned-p, follow-select-if-visible): Don't call
11576 vertical-motion unnecessarily.
11577 (follow-adjust-window): New function.
11578 (follow-post-command-hook): Use it.
11579 (follow-call-set-process-filter, follow-call-process-filter)
11580 (follow-intercept-process-output, follow-tidy-process-filter-alist)
11581 (follow-stop-intercept-process-output, follow-generic-filter):
11582 Functions deleted.
11583 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
11584 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
11585 New functions, replacing advice on scroll-bar-* commands.
11586 (follow-mwheel-scroll): New function (Bug#4112).
11587
11588 * comint.el (comint-adjust-point): New function.
11589 (comint-postoutput-scroll-to-bottom): Use it.
11590 Call follow-comint-scroll-to-bottom for Follow mode buffers.
11591
11592 2012-05-01 Glenn Morris <rgm@gnu.org>
11593
11594 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
11595 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
11596 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
11597 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
11598 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
11599 Remove no-byte-compile setting.
11600
11601 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
11602
11603 * minibuffer.el (completion-table-with-quoting): Fix compatibility
11604 all-completions code to not return a number in the last cdr.
11605
11606 2012-04-30 Leo Liu <sdl.web@gmail.com>
11607
11608 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
11609 read-only error.
11610
11611 2012-04-29 Chong Yidong <cyd@gnu.org>
11612
11613 * follow.el (follow-calc-win-end): Rewrite to handle partial
11614 screen lines correctly (Bug#8390).
11615 (follow-avoid-tail-recenter): Minor cleanup.
11616
11617 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
11618
11619 Avoid the obsolete `assoc' package.
11620 * speedbar.el (speedbar-refresh): Avoid adelete.
11621 (speedbar-file-lists): Simplify and avoid aput.
11622 * man.el (Man--sections, Man--refpages): New vars, replacing
11623 Man-sections-alist and Man-refpages-alist.
11624 (Man-build-section-alist, Man-build-references-alist):
11625 Use them; avoid aput.
11626 (Man--last-section, Man--last-refpage): New vars.
11627 (Man-follow-manual-reference): Use them.
11628 Use the `default' arg of completing-read.
11629 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
11630
11631 2012-04-27 Chong Yidong <cyd@gnu.org>
11632
11633 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
11634
11635 * startup.el (x-apply-session-resources): New function.
11636
11637 * term/ns-win.el (ns-initialize-window-system):
11638 * term/w32-win.el (w32-initialize-window-system):
11639 * term/x-win.el (x-initialize-window-system): Use it to properly
11640 set menu-bar-mode and other vars from X resources, even if the
11641 initial frame is not a window-system frame (Bug#2299).
11642
11643 * subr.el (read-key): Avoid running filter function when setting
11644 up temporary tool bar entries (Bug#9922).
11645
11646 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11647
11648 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
11649 (Bug#11344)
11650
11651 2012-04-27 Chong Yidong <cyd@gnu.org>
11652
11653 * select.el (xselect--encode-string): New function, split from
11654 xselect-convert-to-string.
11655 (xselect-convert-to-string): Use it.
11656 (xselect-convert-to-filename, xselect-convert-to-os)
11657 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
11658 returned strings are properly encoded (Bug#11315).
11659
11660 2012-04-27 Chong Yidong <cyd@gnu.org>
11661
11662 * simple.el (delete-active-region): Move to killing custom group.
11663
11664 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
11665
11666 * progmodes/which-func.el (which-func-current): Quote %
11667 characters for mode-line processing.
11668
11669 2012-04-27 Chong Yidong <cyd@gnu.org>
11670
11671 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
11672 reaching eob (Bug#11286).
11673
11674 2012-04-27 Eli Zaretskii <eliz@gnu.org>
11675
11676 * progmodes/gdb-mi.el (gdb-control-level): New variable.
11677 (gdb): Make it buffer-local and init to zero.
11678 (gdb-control-commands-regexp): New variable.
11679 (gdb-send): Don't wrap in "-interpreter-exec console" if
11680 gdb-control-level is positive. Increment gdb-control-level
11681 whenever the command matches gdb-control-commands-regexp, and
11682 decrement it each time the command is "end". (Bug#11279)
11683
11684 2012-04-27 Martin Rudalics <rudalics@gmx.at>
11685
11686 * window.el (adjust-window-trailing-edge, enlarge-window)
11687 (shrink-window, window-resize):
11688 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
11689 windows (Bug#11276).
11690
11691 2012-04-27 Chong Yidong <cyd@gnu.org>
11692
11693 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
11694 fix "missing prefix" warning. All callers changed.
11695
11696 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11697
11698 * emacs-lisp/assoc.el: Move to obsolete/.
11699
11700 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11701
11702 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
11703
11704 * term/ns-win.el (ns-define-service):
11705 * progmodes/pascal.el (pascal-goto-defun):
11706 * progmodes/js.el (js--read-tab):
11707 * progmodes/etags.el (tags-lazy-completion-table):
11708 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
11709 * emacs-lisp/ewoc.el (ewoc--wrap):
11710 * emacs-lisp/assoc.el (aput, adelete, amake):
11711 * doc-view.el (doc-view-convert-current-doc):
11712 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
11713
11714 2012-04-26 Chong Yidong <cyd@gnu.org>
11715
11716 * image.el (image-type-from-buffer): Only return supported image
11717 type (Bug#9045).
11718
11719 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
11720 value, for symmetry with diff-end-of-hunk.
11721 (diff-split-hunk, diff-find-source-location)
11722 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
11723 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
11724 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
11725 compute the relevant hunk or file properly (Bug#6005).
11726 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
11727
11728 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11729
11730 * vc/vc-mtn.el:
11731 * vc/vc-hg.el:
11732 * vc/vc-git.el:
11733 * vc/vc-dir.el:
11734 * vc/vc-cvs.el:
11735 * vc/vc-bzr.el:
11736 * vc/vc-arch.el:
11737 * vc/vc.el: Replace lexical-let by lexical-binding.
11738 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
11739 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
11740 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
11741
11742 2012-04-26 Chong Yidong <cyd@gnu.org>
11743
11744 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
11745 (diff-mode-shared-map): Bind it to / and [remap undo].
11746
11747 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
11748 (ediff-window-setup-function): Use it as the default, to set up
11749 windows based on whether the current frame is graphical (Bug#2138).
11750 (ediff-choose-window-setup-function-automatically): Make obsolete.
11751
11752 * vc/ediff-init.el: Always define ediff-pixel-width/height.
11753
11754 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11755
11756 * ffap.el: Remove old code for obsolete package.
11757 (ffap-complete-as-file-p): Remove.
11758
11759 Use completion-table-with-quoting for comint and pcomplete.
11760 * comint.el (comint--unquote&requote-argument)
11761 (comint--unquote-argument, comint--requote-argument): New functions.
11762 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
11763 (comint-quote-filename): Use regexp-opt-charset.
11764 (comint--common-suffix, comint--common-quoted-suffix)
11765 (comint--table-subvert): Remove.
11766 (comint-unquote-function, comint-requote-function): New vars.
11767 (comint--complete-file-name-data): Use them with
11768 completion-table-with-quoting.
11769 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
11770 * pcomplete.el (pcomplete-arg-quote-list)
11771 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
11772 (pcomplete-unquote-argument-function): Default to non-nil.
11773 (pcomplete-unquote-argument): Simplify.
11774 (pcomplete--common-quoted-suffix): Remove.
11775 (pcomplete-requote-argument-function): New var.
11776 (pcomplete--common-suffix): New function.
11777 (pcomplete-completions-at-point): Use completion-table-with-quoting
11778 and completion-table-subvert.
11779
11780 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
11781 (minibuffer--double-dollars): Preserve properties.
11782 (completion--sifn-requote): New function.
11783 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
11784
11785 * minibuffer.el: Add support for completion of quoted/escaped data.
11786 (completion-table-with-quoting, completion-table-subvert): New funs.
11787 (completion--twq-try, completion--twq-all): New functions.
11788 (completion--nth-completion): New function.
11789 (completion-try-completion, completion-all-completions): Use it.
11790
11791 2012-04-25 Leo Liu <sdl.web@gmail.com>
11792
11793 * progmodes/python.el (python-pdbtrack-get-source-buffer):
11794 Use compilation-message if available to find real filename.
11795
11796 2012-04-25 Chong Yidong <cyd@gnu.org>
11797
11798 * vc/diff-mode.el (diff-setup-whitespace): New function.
11799 (diff-mode): Use it.
11800
11801 * vc/diff.el (diff-sentinel):
11802 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
11803 Whitespace mode variables based on diff style (Bug#8612).
11804
11805 2012-04-25 Leo Liu <sdl.web@gmail.com>
11806
11807 * progmodes/python.el (python-send-region): Add suffix .py to the
11808 temp file.
11809
11810 * files.el (auto-mode-alist): Use javascript-mode instead.
11811
11812 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
11813
11814 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
11815
11816 * net/soap-client.el (soap-resolve-references-for-sequence-type)
11817 (soap-resolve-references-for-array-type): Hack to prevent self
11818 references, see Bug#9.
11819 (soap-parse-envelope): Report the contents of the 'detail' node
11820 when receiving a fault reply.
11821 (soap-parse-envelope): Report the contents of the entire 'detail' node.
11822
11823 * net/soap-inspect.el (soap-sample-value-for-simple-type)
11824 (soap-inspect-simple-type): New function.
11825
11826 * net/soap-client.el (soap-simple-type): New struct.
11827 (soap-default-xsd-types, soap-default-soapenc-types)
11828 (soap-decode-basic-type, soap-encode-basic-type):
11829 support unsignedInt and double basic types.
11830 (soap-resolve-references-for-simple-type)
11831 (soap-parse-simple-type, soap-encode-simple-type): New function.
11832 (soap-parse-schema): Parse xsd:simpleType declarations.
11833
11834 * net/soap-client.el (soap-default-xsd-types)
11835 (soap-default-soapenc-types): Add integer, byte and anyURI types.
11836 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
11837 the local name of "soapenc:Array".
11838 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
11839 decoding integer, byte and anyURI xsd types.
11840
11841 2012-04-25 Chong Yidong <cyd@gnu.org>
11842
11843 * cus-edit.el (custom-buffer-create-internal): Update header text.
11844
11845 2012-04-25 Eli Zaretskii <eliz@gnu.org>
11846
11847 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
11848 settings on 'system-type', not on 'window-system'. On MS-Windows,
11849 set interactive-mode on in GDB.
11850
11851 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11852
11853 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
11854 (ruby-syntax-propertize-regexp): Remove.
11855 (ruby-syntax-propertize-function): Split regexp into chunks.
11856 Match following code directly.
11857
11858 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
11859
11860 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
11861 (ruby-syntax-propertize-regexp): New function.
11862 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
11863 by a special keyword.
11864
11865 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
11866 (ruby-syntax-general-delimiters-goto-beg)
11867 (ruby-syntax-propertize-general-delimiters): New functions.
11868 (ruby-syntax-propertize-function): Use them to handle GDL.
11869 (ruby-font-lock-keywords): Move old handling of GDL...
11870 (ruby-font-lock-syntactic-keywords): .. to here.
11871 (ruby-calculate-indent): Adjust indentation for GDL.
11872
11873 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
11874
11875 * notifications.el (top): Remove unneeded declarations.
11876 (notifications-specification-version): Change to "1.2".
11877 (notifications-interface, notifications-notify-method)
11878 (notifications-close-notification-method): Fix docstring.
11879 (notifications-get-capabilities-method): New defconst.
11880 (notifications-notify): Add :action-items, :resident and
11881 :transient hints. Change "image_data" to "image-data" and
11882 "image_path" to "image-path".
11883 (notifications-get-capabilities): New defun.
11884
11885 2012-04-24 Leo Liu <sdl.web@gmail.com>
11886
11887 * progmodes/python.el: Move hideshow setup to the end.
11888
11889 2012-04-24 Martin Rudalics <rudalics@gmx.at>
11890
11891 * window.el (handle-select-window): Clear echo area since this is
11892 no more done by read_char (Bug#11304).
11893
11894 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11895
11896 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
11897 and `/ M' to filter-derived-mode.
11898 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
11899 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
11900 (ibuffer-mark-by-mode): Use default rather than initial-input.
11901 (ibuffer-filter-by-derived-mode): Autoload and require-match.
11902
11903 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
11904
11905 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
11906 (ibuffer-filter-by-derived-mode): New filter.
11907 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
11908
11909 2012-04-23 Andreas Politz <politza@fh-trier.de>
11910
11911 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
11912
11913 2012-04-23 Chong Yidong <cyd@gnu.org>
11914
11915 * cus-edit.el (customize-apropos, customize-apropos-options):
11916 Disable matching of non-option variables (Bug#11176).
11917 (customize-option, customize-option-other-window)
11918 (customize-changed-options): Doc fix.
11919 (customize-apropos-options, customize-apropos-faces)
11920 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
11921
11922 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
11923 Fix word list splitting (Bug#11132).
11924 (apropos-symbol, apropos-keybinding, apropos-label)
11925 (apropos-property, apropos-function-button)
11926 (apropos-variable-button, apropos-misc-button): New faces.
11927 (apropos-symbol-face, apropos-keybinding-face)
11928 (apropos-label-face, apropos-property-face, apropos-match-face):
11929 Variables removed (Bug#8396).
11930 (apropos-library-button, apropos-format-plist, apropos-print)
11931 (apropos-print-doc, apropos-describe-plist): Callers changed.
11932
11933 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
11934
11935 * net/xesam.el (xesam-mode-map): Use let-bound map in
11936 initialization. (Bug#11292)
11937
11938 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11939
11940 Preserve ispell session localwords when switching back to
11941 original buffer.
11942
11943 * textmodes/ispell.el (ispell-buffer-session-localwords):
11944 New buffer-local variable to hold buffer session localwords.
11945 (ispell-kill-ispell): Add option 'clear to delete session
11946 localwords.
11947 (ispell-command-loop, ispell-change-dictionary)
11948 (ispell-buffer-local-words): Preserve session localwords when
11949 needed.
11950
11951 * textmodes/flyspell.el (flyspell-process-localwords)
11952 (flyspell-do-correct): Preserve session localwords when needed.
11953
11954 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11955
11956 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
11957 using obsolete `translation-table-for-input'.
11958 (ispell-word, ispell-process-line, ispell-complete-word):
11959 Use plain `insert' instead of removed `ispell-insert-word'.
11960
11961 2012-04-22 Chong Yidong <cyd@gnu.org>
11962
11963 * cus-edit.el (custom-variable-menu)
11964 (custom-variable-reset-saved, custom-face-menu)
11965 (custom-face-reset-saved): If there is no saved value, make the
11966 "reset-saved" operation bring back the default (Bug#9509).
11967 (custom-face-state): Properly detect themed faces.
11968
11969 * faces.el (face-spec-set): Stop supporting deprecated form of
11970 third arg.
11971
11972 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
11973
11974 Move functions from C to Lisp. Make non-blocking method calls
11975 the default. Implement further D-Bus standard interfaces.
11976
11977 * net/dbus.el (dbus-message-internal): Declare function.
11978 Remove unneeded function declarations.
11979 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
11980 (dbus-message-type-method-return, dbus-message-type-error)
11981 (dbus-message-type-signal): Declare variables. Remove local
11982 definitions.
11983 (dbus-interface-dbus, dbus-interface-peer)
11984 (dbus-interface-introspectable, dbus-interface-properties)
11985 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
11986 Adapt docstring.
11987 (dbus-interface-objectmanager): New defconst.
11988 (dbus-call-method, dbus-call-method-asynchronously)
11989 (dbus-send-signal, dbus-method-return-internal)
11990 (dbus-method-error-internal, dbus-register-service)
11991 (dbus-register-signal, dbus-register-method): New defuns, moved
11992 from dbusbind.c
11993 (dbus-call-method-handler, dbus-setenv)
11994 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
11995 New defuns.
11996 (dbus-call-method-non-blocking): Make it an obsolete function.
11997 (dbus-unregister-object, dbus-unregister-service)
11998 (dbus-handle-event, dbus-register-property)
11999 (dbus-property-handler): Obey the new structure of
12000 `bus-registered-objects'.
12001 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
12002 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12003 Use `dbus-call-method'.
12004
12005 2012-04-22 Chong Yidong <cyd@gnu.org>
12006
12007 * cus-edit.el (custom-commands, custom-reset-menu)
12008 (Custom-reset-standard): Tweak labels.
12009 (custom-reset-button-menu): Change default to t.
12010 (custom-buffer-create-internal): For the custom-reset-button-menu
12011 case, put the revert button first.
12012 (custom-group-subtitle): New face.
12013 (custom-group-value-create): Align docstring to a specific column.
12014
12015 * wid-edit.el (widget-documentation-link-add): Don't handle
12016 indentation in this function.
12017 (widget-documentation-string-indent-to): New function.
12018 (widget-documentation-string-value-create): Use it.
12019
12020 * autorevert.el (auto-revert):
12021 * epg-config.el (epg):
12022 * ibuffer.el (ibuffer):
12023 * mpc.el (mpc):
12024 * ses.el (ses):
12025 * eshell/eshell.el (eshell):
12026 * net/ange-ftp.el (ange-ftp):
12027 * progmodes/ebnf2ps.el (postscript):
12028 * progmodes/flymake.el (flymake):
12029 * progmodes/prolog.el (prolog):
12030 * progmodes/verilog-mode.el (verilog-mode):
12031 * progmodes/which-func.el (which-func):
12032 * term/xterm.el (xterm):
12033 * textmodes/picture.el (picture):
12034 * textmodes/tildify.el (tildify):
12035 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
12036 customization buffers.
12037
12038 2012-04-22 Alan Mackenzie <acm@muc.de>
12039
12040 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12041 Adding a ) can hide the resulting (..) from searches. Fix it.
12042 Bound the backward search to the position of the existing (.
12043
12044 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
12045
12046 * progmodes/verilog-mode.el (verilog-mode): Check whether
12047 which-func-modes is t before adding verilog-mode.
12048 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
12049
12050 2012-04-21 Leo Liu <sdl.web@gmail.com>
12051
12052 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
12053
12054 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
12055
12056 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
12057 filling of the last column of a table (Bug#5635).
12058 (woman-find-next-control-line): New arg, specifying an additional
12059 regexp component for the control line.
12060 (woman2-roff-buffer): Use it.
12061 (woman-break-table): New function.
12062 (woman2-TS): Use it.
12063
12064 2012-04-21 Chong Yidong <cyd@gnu.org>
12065
12066 * woman.el (woman-set-buffer-display-table, woman-decode-region)
12067 (woman-horizontal-escapes, woman-negative-vertical-space)
12068 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
12069 (WoMan-warn-ignored): Use ?\s instead of ?\ .
12070
12071 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12072
12073 * minibuffer.el (completion-file-name-table): Complete user names.
12074
12075 2012-04-20 Leo Liu <sdl.web@gmail.com>
12076
12077 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
12078 and pcase-let*.
12079
12080 2012-04-20 Chong Yidong <cyd@gnu.org>
12081
12082 * server.el (server-execute): Respect initial-buffer-choice if it
12083 is a string and there are no files to open (Bug#2825).
12084 (server-create-window-system-frame, server-create-tty-frame):
12085 Don't switch buffers here.
12086 (server-process-filter): Only try to open a window system frame if
12087 compiled with graphical support (Bug#8314).
12088
12089 2012-04-20 Dan Nicolaescu <dann@gnu.org>
12090
12091 * battery.el (battery-echo-area-format): Display remaining time
12092 for sysfs backend too (Bug#11269).
12093 (battery-linux-sysfs): Fix conditional for the charge.
12094
12095 2012-04-20 Chong Yidong <cyd@gnu.org>
12096
12097 * progmodes/gdb-mi.el (gdb): Revert previous change.
12098 (gdb-inferior-io--init-proc): New function.
12099 (gdb-init-1): Use it.
12100 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
12101 responsible for allocating a new pty and hooking it to gdb when
12102 the old pty gets an EIO due to process exit.
12103 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
12104 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
12105 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
12106
12107 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12108
12109 * window.el (window-min-size, window-sizable, window-min-delta)
12110 (window-max-delta, window--resizable, window-resizable)
12111 (window-total-size, window-full-height-p, window-full-width-p)
12112 (window-in-direction, window--resize-mini-window, window-resize)
12113 (window--resize-child-windows-normal)
12114 (window--resize-child-windows, window--resize-siblings)
12115 (window--resize-this-window, adjust-window-trailing-edge)
12116 (enlarge-window, shrink-window): Doc fixes.
12117
12118 2012-04-20 Chong Yidong <cyd@gnu.org>
12119
12120 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
12121 New function to call delete-process on the gdb-inferior buffer's pty.
12122 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
12123 pty process (Bug#11273).
12124 (gdb-update): New arg to suppress talking to the gdb process.
12125 (gdb-done-or-error): Use it.
12126 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
12127 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
12128 sentinel not being called.
12129
12130 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
12131
12132 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
12133
12134 2012-04-20 Glenn Morris <rgm@gnu.org>
12135
12136 * net/network-stream.el (open-network-stream): Doc fix.
12137
12138 2012-04-20 Chong Yidong <cyd@gnu.org>
12139
12140 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
12141
12142 2012-04-20 Alan Mackenzie <acm@muc.de>
12143
12144 Ensure searching for keywords is case sensitive.
12145
12146 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
12147 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
12148 (c-defun-name, c-mark-function, c-cpp-define-name)
12149 (c-comment-indent, c-scan-conditionals, c-indent-defun)
12150 (c-context-line-break): Bind case-fold-search to nil.
12151
12152 * progmodes/cc-mode.el (c-font-lock-fontify-region):
12153 Bind case-fold-search to nil.
12154
12155 2012-04-20 Chong Yidong <cyd@gnu.org>
12156
12157 * mail/sendmail.el (mail-bury): Call return action with the right
12158 Rmail buffer (Bug#11242).
12159
12160 * server.el (server-process-filter): Handle corner case where both
12161 tty and nowait options are present (Bug#11102).
12162
12163 2012-04-20 Eli Zaretskii <eliz@gnu.org>
12164
12165 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
12166 (top level): Put into the executable the ident-style '$Id:' tag on
12167 windows-nt as well.
12168
12169 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12170
12171 * electric.el (electric-indent-post-self-insert-function): Check that
12172 electric-indent-mode is enabled in current buffer.
12173
12174 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12175
12176 * imenu.el (imenu-progress-message): Restore; it is "used" in
12177 erc/erc-imenu.el and net/snmp-mode.el.
12178
12179 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
12180
12181 * avoid.el (mouse-avoidance-mode): Mark unused arg.
12182 (mouse-avoidance-nudge-mouse): Remove unused binding.
12183
12184 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
12185
12186 * descr-text.el (describe-char):
12187 * progmodes/python.el (python-describe-symbol):
12188 Don't call `toggle-read-only', set `buffer-read-only'.
12189
12190 * imenu.el (imenu-default-goto-function): Mark unused args.
12191 (imenu-progress-message): Remove obsolete macro; all callers changed.
12192
12193 * subr.el (keymap-canonicalize): Remove unused binding.
12194 (read-passwd): Mark unused arg.
12195
12196 * tutorial.el (tutorial--display-changes): Remove unused binding.
12197 (tutorial--save-tutorial-to): Remove unused variable.
12198
12199 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
12200 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
12201 (package-generate-autoloads, package-menu--generate)
12202 (package-menu--find-upgrades): Remove unused bindings.
12203
12204 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
12205 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
12206 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
12207 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
12208 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
12209 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
12210 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
12211 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
12212 (cua-delete-char-rectangle): Mark unused args.
12213 (cua-align-rectangle): Remove unused binding.
12214
12215 * mail/rmail.el (compilation--message->loc)
12216 (epa--find-coding-system-for-mime-charset): Declare.
12217
12218 * net/dbus.el (dbus-register-service): Declare.
12219 (dbus-name-owner-changed-handler): Remove unused binding.
12220
12221 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
12222 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
12223 (nxml-scan-backward-within): Mark unused arg.
12224 (nxml-dynamic-markup-word): Remove unused binding.
12225
12226 * mouse.el (mouse-menu-major-mode-map):
12227 * emacs-lisp/authors.el (authors-scan-change-log)
12228 (authors-add-to-author-list):
12229 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
12230 * emacs-lisp/smie.el (smie-auto-fill):
12231 * mail/sendmail.el (mail-bury):
12232 * mail/unrmail.el (unrmail):
12233 * net/tls.el (open-tls-stream):
12234 * textmodes/picture.el (picture-mouse-set-point):
12235 Remove unused bindings.
12236
12237 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
12238
12239 * net/tramp.el (tramp-action-password): Let-bind
12240 `enable-recursive-minibuffers' to t.
12241
12242 2012-04-18 Sam Steingold <sds@gnu.org>
12243
12244 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
12245 instead of 'string to accommodate values like [f11].
12246 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
12247 * progmodes/gdb-mi.el: Likewise.
12248
12249 2012-04-18 Leo Liu <sdl.web@gmail.com>
12250
12251 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
12252 current buffer.
12253 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
12254 LOCAL is nil.
12255
12256 2012-04-18 Chong Yidong <cyd@gnu.org>
12257
12258 * simple.el (line-move): Use forward-line if in batch mode
12259 (Bug#11053).
12260
12261 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
12262
12263 * files.el (after-find-file): Do not try to add a final newline if
12264 the buffer is read-only (Bug#11156).
12265
12266 2012-04-17 Richard Stallman <rms@gnu.org>
12267
12268 * mail/rmail.el (rmail-start-mail):
12269 Pass (rmail-mail-return...) for the return-action.
12270 Pass (rmail-yank-current-message...) for the yank-action.
12271 (rmail-yank-current-message): New function.
12272 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
12273 (rmail-reply): Likewise.
12274 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
12275
12276 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
12277 buffer, not the last. Reject temp buffers. Use the rmail-mode
12278 buffer, not newbuf.
12279
12280 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
12281
12282 * server.el (server-ensure-safe-dir): Simplify.
12283
12284 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12285
12286 * emacs-lisp/smie.el: Provide smarter auto-filling.
12287 (smie-auto-fill): New function.
12288 (smie-setup): Use it.
12289
12290 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
12291
12292 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
12293
12294 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
12295 (comment-indent): Use it.
12296
12297 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
12298
12299 * ses.el: The overall change is to add cell renaming, that is
12300 setting fancy names for cell symbols other than name matching
12301 "\\`[A-Z]+[0-9]+\\'" regexp .
12302 (ses-localvars): Add ses--renamed-cell-symb-list.
12303 (ses-create-cell-variable): New defun.
12304 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
12305 (ses-relocate-formula): Relocate formulas only for cells the
12306 symbols of which are not renamed, i.e. symbols whose names do not
12307 match regexp "\\`[A-Z]+[0-9]+\\'".
12308 (ses-relocate-all): Relocate values only for cells the symbols of
12309 which are not renamed.
12310 (ses-load): Create cells variables as the (ses-cell ...) are read,
12311 in order to check row col consistency with cell symbol name only
12312 for cells that are not renamed.
12313 (ses-replace-name-in-formula): New defun.
12314 (ses-rename-cell): New defun.
12315
12316 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
12317
12318 * progmodes/perl-mode.el (perl-indent-parens-as-block):
12319 New option (bug#11118).
12320 (perl-calculate-indent): Respect it.
12321
12322 2012-04-17 Glenn Morris <rgm@gnu.org>
12323
12324 * dired-aux.el (dired-mark-read-string): Doc fix.
12325
12326 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
12327
12328 * dired-aux.el (dired-mark-read-string): Offer optional completion.
12329 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
12330
12331 2012-04-17 Glenn Morris <rgm@gnu.org>
12332
12333 * mouse.el (mouse-drag-track):
12334 * speedbar.el (speedbar-frame-mode):
12335 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
12336
12337 2012-04-16 Leo Liu <sdl.web@gmail.com>
12338
12339 * progmodes/python.el: Trivial cleanup.
12340
12341 2012-04-16 Glenn Morris <rgm@gnu.org>
12342
12343 * vc/vc.el (vc-string-prefix-p):
12344 * vc/pcvs-util.el (cvs-string-prefix-p):
12345 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
12346 * mpc.el (mpc-string-prefix-p):
12347 Make all of these into obsolete aliases for string-prefix-p.
12348 Update callers.
12349 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
12350
12351 * textmodes/two-column.el: Move custom options to the start.
12352 (frame-width): Remove compat definition.
12353 (2C-associate-buffer, 2C-dissociate):
12354 Use with-current-buffer rather than save-excursion.
12355 (2C-dissociate): Force a mode-line update.
12356 (2C-autoscroll): Use ignore-errors.
12357
12358 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
12359 Autoload trivia.
12360
12361 * emacs-lisp/cl-extra.el (*random-state*):
12362 Remove unnecessary declaration.
12363
12364 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
12365
12366 * play/cookie1.el (cookie-snarf):
12367 Give an explicit error if input file cannot be read.
12368
12369 * play/yow.el (yow-file): Use expand-file-name rather than concat.
12370
12371 * progmodes/perl-mode.el (c-macro-expand):
12372 Remove unnecessary autoload (it is in loaddefs.el).
12373
12374 * textmodes/picture.el (picture-desired-column)
12375 (picture-update-desired-column): Convert comments to doc-strings.
12376 (picture-substitute): Remove function.
12377 (picture-mode-map): Initialize in the defvar.
12378
12379 * woman.el: Remove eval-after-load for tar-mode.
12380 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
12381 (woman-tar-extract-file): Autoload it.
12382
12383 * frame.el (automatic-hscrolling): Make this alias obsolete.
12384
12385 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12386
12387 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
12388 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
12389 (ispell-dictionary-base-alist): Revert to original XEmacs
12390 friendly version for default. [:alpha:] will be added in
12391 `ispell-set-spellchecker-params' if needed.
12392
12393 2012-04-16 Chong Yidong <cyd@gnu.org>
12394
12395 * image.el (imagemagick--file-regexp): New variable.
12396 (imagemagick-register-types): Use it.
12397 (imagemagick-types-inhibit): Add :set function. Allow new value
12398 of t to inhibit all types.
12399
12400 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
12401 so we can preload it.
12402
12403 * loadup.el (fboundp): Preload regexp-opt, needed by
12404 imagemagick-register-types.
12405
12406 2012-04-15 Chong Yidong <cyd@gnu.org>
12407
12408 * frame.el (scrolling): Remove nearly unused customization group.
12409
12410 * scroll-all.el (scroll-all-mode): Move to windows group.
12411
12412 2012-04-15 Chong Yidong <cyd@gnu.org>
12413
12414 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
12415
12416 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12417
12418 Avoid the use of ((lambda ...) ...) in lexical-binding code.
12419 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
12420
12421 2012-04-15 Glenn Morris <rgm@gnu.org>
12422
12423 * simple.el (process-file-side-effects): Doc fix.
12424
12425 2012-04-15 Glenn Morris <rgm@gnu.org>
12426
12427 * international/mule-cmds.el (set-language-environment): Doc fix.
12428
12429 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12430
12431 * server.el (server-auth-key, server-generate-key): Doc fixes.
12432 (server-get-auth-key): Doc fix. Use `string-match-p'.
12433 (server-start): Reflow docstring.
12434
12435 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
12436
12437 * server.el (server-generate-key): `called-interactively-p'
12438 requires a parameter.
12439
12440 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
12441
12442 * server.el (server-auth-key): New variable.
12443 (server-generate-key, server-get-auth-key): New function.
12444 (server-start): Use the new variable and functions to allow
12445 setting a permanent server key (bug#9423).
12446
12447 2012-04-14 Leo Liu <sdl.web@gmail.com>
12448
12449 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
12450
12451 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
12452
12453 Spelling fixes.
12454 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
12455 Emacs uses American spelling.
12456
12457 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
12458
12459 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
12460 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
12461 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
12462 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
12463
12464 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12465
12466 * progmodes/which-func.el (which-func-modes): Change default.
12467
12468 2012-04-14 Kim F. Storm <storm@cua.dk>
12469
12470 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
12471 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
12472
12473 2012-04-14 Chong Yidong <cyd@gnu.org>
12474
12475 * custom.el (custom-theme-set-variables): Doc fix.
12476
12477 2012-04-14 Glenn Morris <rgm@gnu.org>
12478
12479 * international/mule.el (set-auto-coding-for-load): Doc fix.
12480
12481 2012-04-14 Alan Mackenzie <acm@muc.de>
12482
12483 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
12484 imenu work again for Objective C Mode. Correct the *-index values,
12485 these having been disturbed by a previous change in 2011-08.
12486
12487 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
12488 Correct two search limits.
12489
12490 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12491
12492 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
12493
12494 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
12495
12496 * international/characters.el: Fix sorting.
12497
12498 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12499
12500 * international/characters.el: Add more missing Latin case pairs.
12501
12502 2012-04-14 Glenn Morris <rgm@gnu.org>
12503
12504 * files.el (dir-locals-set-class-variables): Doc fix.
12505
12506 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12507
12508 * international/characters.el: Add set-case-syntax-pair call for
12509 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
12510 counterpart. (Bug#11209)
12511
12512 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
12513
12514 2012-04-14 Glenn Morris <rgm@gnu.org>
12515
12516 * calendar/holidays.el (calendar-check-holidays): Doc fix.
12517
12518 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12519
12520 * textmodes/ispell.el (ispell-dictionary-base-alist):
12521 Add data for Hebrew.
12522
12523 2012-04-14 Chong Yidong <cyd@gnu.org>
12524
12525 * net/rcirc.el (rcirc-cmd-quit):
12526 Revert 2012-03-18 change (Bug#11192).
12527
12528 2012-04-14 Glenn Morris <rgm@gnu.org>
12529
12530 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
12531
12532 2012-04-14 Eli Zaretskii <eliz@gnu.org>
12533
12534 * minibuffer.el (completion-in-region-mode-map):
12535 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
12536
12537 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
12538
12539 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
12540
12541 2012-04-13 Masatake YAMATO <yamato@redhat.com>
12542
12543 * minibuffer.el (minibuffer-local-filename-syntax): New variable
12544 to allow `C-M-f' and `C-M-b' to move to the nearest path
12545 separator (bug#9511).
12546
12547 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
12548
12549 * avoid.el: Require cl when compiling. And also move the
12550 `provide' to the end.
12551
12552 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12553
12554 * avoid.el (mouse-avoidance-banish-position): New variable.
12555 (mouse-avoidance-banish-destination): Use it (bug#10165).
12556
12557 2012-04-13 Leo Liu <sdl.web@gmail.com>
12558
12559 * progmodes/which-func.el (which-func-modes): Add objc-mode.
12560
12561 2012-04-13 Ken Brown <kbrown@cornell.edu>
12562
12563 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
12564 this is no longer needed now that cygstart understands file:// URLs.
12565 (browse-url-filename-alist): For the same reason, don't modify
12566 file:// URLs on Cygwin.
12567
12568 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
12569
12570 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
12571 the region on shift if the binding is already shifted (bug#11221).
12572
12573 2012-04-12 Glenn Morris <rgm@gnu.org>
12574
12575 * mail/mailpost.el: Move to obsolete/.
12576
12577 2012-04-12 Drew Adams <drew.adams@oracle.com>
12578
12579 * imenu.el (imenu--generic-function): Ignore invisible definitions
12580 (bug#10123).
12581
12582 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
12583
12584 * hexl.el (hexl-bits): New variable.
12585 (hexl-options): Mention the variable in the doc string.
12586 (hexl-rulerise, hexl-line-displen): New functions.
12587 (hexl-mode): Mention the new variable.
12588 (hexl-mode, hexl-current-address, hexl-current-address):
12589 Use the displen.
12590 (hexl-ascii-start-column): New function.
12591 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
12592 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
12593
12594 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12595
12596 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
12597 '("-i" ENCODING), in 2 separate command-line arguments, to specify
12598 the encoding, as expected by hunspell.
12599
12600 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
12601
12602 * battery.el (battery--linux-sysfs-regexp): New const.
12603 (battery-status-function): Use it. Remove yeeloong special case.
12604 (battery-yeeloong-sysfs): Remove.
12605 (battery-echo-area-format): Remove yeeloong special case.
12606
12607 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12608
12609 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
12610 Reported by Noah Friedman.
12611
12612 * subr.el (read-passwd): Use read-string.
12613
12614 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12615
12616 * vcursor.el (vcursor-move): Increase the priority of the overlay
12617 (bug#9663).
12618
12619 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
12620
12621 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
12622 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
12623
12624 2012-04-11 William Stevenson <yhvh2000@gmail.com>
12625
12626 * textmodes/artist.el (artist-mode): Convert artist-mode to use
12627 define-minor-mode (bug#10760).
12628
12629 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12630
12631 * progmodes/grep.el (rgrep): Tweak the find command line so
12632 that directories matching `grep-find-ignored-files' won't be
12633 pruned (bug#10351).
12634
12635 2012-04-11 Chong Yidong <cyd@gnu.org>
12636
12637 * startup.el (command-line): Remove support for long-obsolete
12638 variable font-lock-face-attributes.
12639
12640 2012-04-11 Glenn Morris <rgm@gnu.org>
12641
12642 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
12643
12644 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12645
12646 * window.el (window--state-get-1): Obey window-point-insertion-type.
12647
12648 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
12649
12650 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
12651 to previous function when point is on the first character of a
12652 function. Take care of that in `narrow-to-defun' (bug#6157).
12653
12654 2012-04-11 Glenn Morris <rgm@gnu.org>
12655
12656 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
12657 not just file-errors.
12658
12659 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
12660 (vc-bzr-sha1): Use internal sha1.
12661
12662 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
12663
12664 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
12665
12666 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
12667
12668 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
12669 that start in the middle of the line (bug#10496).
12670
12671 2012-04-10 Dan Nicolaescu <dann@gnu.org>
12672
12673 * battery.el (battery-linux-proc-acpi): Only one battery is
12674 discharged at a time, but that seems to confuse battery.el when
12675 computing `rate-type' for the battery not being discharged
12676 (bug#10332).
12677
12678 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12679
12680 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
12681
12682 * international/quail.el: Use dolist and simplify.
12683 (quail-define-package, quail-update-keyboard-layout)
12684 (quail-define-rules): Use dolist.
12685 (quail-insert-kbd-layout, quail-get-translation): CSE.
12686
12687 * tmm.el: Use dolist, remove left over hook.
12688 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
12689 Use dolist.
12690 (calendar-load-hook): Don't mess with it.
12691
12692 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
12693 Use derived-mode-p. Run the diff asynchronously.
12694
12695 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12696
12697 * obsolete/mouse-sel.el: Add an Obsolete-since header.
12698
12699 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
12700
12701 * misc.el: Display absolute path of loaded DLLs (bug#10424).
12702 (list-dynamic-libraries--loaded): New function.
12703 (list-dynamic-libraries--refresh): Use it.
12704
12705 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
12706
12707 * progmodes/python.el (python-fill-paragraph):
12708 Make python-fill-region in a multiline string work when font-lock is
12709 disabled (bug#7018).
12710
12711 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
12712
12713 * language/european.el (cp775): Add oem/legacy (en)coding on
12714 DOS/MS Windows for the Baltic languages. There are still plenty
12715 of texts written in this encoding/codepage (bug#6519).
12716
12717 2012-04-10 Glenn Morris <rgm@gnu.org>
12718
12719 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
12720 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
12721
12722 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
12723
12724 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
12725 next-line "n" and previous-line "p" in order to make recentf more
12726 consistent with ibuffer, dired or org-mode (bug#9387).
12727
12728 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12729
12730 * image.el (put-image): Return the overlay created instead of the
12731 optional input string (bug#7834). Note that this may break code
12732 that is (for some reason or other) depending on `put-image'
12733 returning the string.
12734
12735 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
12736
12737 * simple.el (zap-to-char): Allow zapping using input methods
12738 (bug#1580).
12739
12740 * textmodes/fill.el (fill-region): Leave point and mark where they
12741 were before filling (bug#5399).
12742
12743 2012-04-09 Glenn Morris <rgm@gnu.org>
12744
12745 * version.el (emacs-bzr-get-version):
12746 Handle lightweight checkouts of local branches.
12747
12748 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
12749
12750 * international/characters.el: Recover lost case pairs. (Bug#11209)
12751
12752 2012-04-09 Chong Yidong <cyd@gnu.org>
12753
12754 * custom.el (custom-variable-p): Return nil for non-symbol
12755 arguments instead of signaling an error.
12756 (user-variable-p): Obsolete alias for custom-variable-p.
12757
12758 * apropos.el (apropos-variable):
12759 * files-x.el (read-file-local-variable):
12760 * simple.el (set-variable):
12761 * woman.el (woman-mini-help):
12762 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
12763
12764 2012-04-09 Glenn Morris <rgm@gnu.org>
12765
12766 * startup.el (normal-top-level): Don't look for leim-list.el
12767 in places where it will not be found. (Bug#910)
12768
12769 * international/mule-cmds.el (set-default-coding-systems):
12770 * files.el (normal-mode):
12771 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
12772 This function was removed with ucs-tables.el in 2008.
12773
12774 2012-04-08 Eli Zaretskii <eliz@gnu.org>
12775
12776 * textmodes/ispell.el (ispell-check-version): For hunspell, set
12777 ispell-encoding8-command to "-i", without a trailing space.
12778 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
12779 separate command-line arguments, to specify the encoding, since
12780 that's how hunspell expects it.
12781
12782 2012-04-08 Glenn Morris <rgm@gnu.org>
12783
12784 * loadup.el: Load bindings before cus-start.
12785 This reduces somewhat the number of "rogue" settings in emacs -Q.
12786
12787 2012-04-07 Glenn Morris <rgm@gnu.org>
12788
12789 * version.el (emacs-bzr-get-version): New function.
12790 (emacs-bzr-version): New variable.
12791 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
12792 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
12793
12794 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12795
12796 * international/uni-bidi.el, international/uni-category.el:
12797 * international/uni-combining.el, international/uni-decimal.el:
12798 * international/uni-decomposition.el, international/uni-digit.el:
12799 * international/uni-lowercase.el, international/uni-mirrored.el:
12800 * international/uni-name.el, international/uni-numeric.el:
12801 * international/uni-titlecase.el, international/uni-uppercase.el:
12802 Update for Unicode 6.1.
12803
12804 2012-04-07 Eli Zaretskii <eliz@gnu.org>
12805
12806 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
12807
12808 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
12809
12810 * window.el (shrink-window): Mention the `window-min-height'
12811 variable in the doc string.
12812
12813 2012-04-05 Bastien Guerry <bzg@altern.org>
12814
12815 * color.el (color-lighten-name): Fix typo.
12816
12817 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12818
12819 * server.el (server--on-display-p): New function.
12820 (server--on-display-p): Use it.
12821
12822 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
12823
12824 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
12825 (bug#11145).
12826
12827 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12828
12829 * comint.el (comint--common-quoted-suffix): Check string boundary
12830 before comparing (bug#11158).
12831 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
12832
12833 2012-04-04 Chong Yidong <cyd@gnu.org>
12834
12835 * minibuffer.el (completion-extra-properties): Doc fix.
12836
12837 * subr.el (delayed-warnings-hook): Doc fix.
12838
12839 2012-04-04 Daiki Ueno <ueno@unixuser.org>
12840
12841 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
12842 selection (Bug#11159).
12843 (epa-insert-keys): Inform that the default public key will be
12844 exported if no key is selected.
12845
12846 2012-04-04 Richard Stallman <rms@gnu.org>
12847
12848 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
12849
12850 2012-04-03 Chong Yidong <cyd@gnu.org>
12851
12852 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
12853 mail-insert-file, not its obsolete alias mail-attach-file.
12854
12855 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
12856
12857 * notifications.el (notifications-notify): Fix docstring.
12858
12859 2012-04-02 Glenn Morris <rgm@gnu.org>
12860
12861 * emacs-lisp/authors.el (authors-aliases): Another addition.
12862
12863 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
12864
12865 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
12866 `tramp-compat-call-process' instead of `tramp-local-call-process'.
12867 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
12868
12869 2012-04-01 Chong Yidong <cyd@gnu.org>
12870
12871 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
12872 Handle root directory properly.
12873 (copy-directory): Caller changed.
12874
12875 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12876 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
12877
12878 2012-03-31 Glenn Morris <rgm@gnu.org>
12879
12880 * term/xterm.el (xterm-extra-capabilities): Doc fix.
12881
12882 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
12883
12884 * calendar/calendar.el (calendar-window-list)
12885 (calendar-hide-window): Restore. (Bug#11140)
12886 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
12887
12888 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
12889
12890 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12891
12892 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
12893 Check if file is a symlink (Bug#10489).
12894
12895 * files.el (copy-directory): Likewise.
12896
12897 2012-03-30 Chong Yidong <cyd@gnu.org>
12898
12899 * image.el (imagemagick-types-inhibit)
12900 (imagemagick-register-types): Doc fix.
12901
12902 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12903
12904 * textmodes/ispell.el (ispell-get-extended-character-mode):
12905 Disable extended-char-mode for hunspell. hunspell does not support it
12906 and treats ~word as ordinary words in pipe mode.
12907
12908 2012-03-30 Glenn Morris <rgm@gnu.org>
12909
12910 * tutorial.el (help-with-tutorial): Ensure local variables don't
12911 happen to make the buffer read-only. (Bug#11127)
12912
12913 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
12914
12915 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
12916 (perl-calculate-indent): Return `noindent' in strings.
12917
12918 2012-03-28 Sam Steingold <sds@gnu.org>
12919
12920 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
12921 instead of the broken adhockery which does not prevent calendar
12922 buffers from being displayed at random after exit.
12923 (calendar-window-list, calendar-hide-window): Remove the broken
12924 adhockery.
12925
12926 2012-03-28 Glenn Morris <rgm@gnu.org>
12927
12928 * replace.el (query-replace-map): Doc fix.
12929
12930 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
12931
12932 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
12933 contents. (Bug#11109)
12934
12935 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12936
12937 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
12938 (bug#11077).
12939 (avl-tree--check, avl-tree--check-node): New funs.
12940
12941 2012-03-27 Martin Rudalics <rudalics@gmx.at>
12942
12943 * window.el (switch-to-visible-buffer): New option.
12944 (switch-to-prev-buffer, switch-to-next-buffer):
12945 Observe switch-to-visible-buffer. Make sure that checking for a window
12946 showing a buffer already is done on the same frame.
12947
12948 2012-03-27 Glenn Morris <rgm@gnu.org>
12949
12950 * startup.el (mail-host-address): Doc fix.
12951
12952 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12953
12954 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
12955 than 197 variables.
12956
12957 2012-03-26 Ami Fischman <ami@fischman.org>
12958
12959 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
12960
12961 2012-03-26 Glenn Morris <rgm@gnu.org>
12962
12963 * files.el (save-buffers-kill-emacs): Doc fix.
12964
12965 * startup.el (normal-top-level, command-line, command-line-1):
12966 Give them doc strings.
12967
12968 2012-03-25 Eli Zaretskii <eliz@gnu.org>
12969
12970 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
12971 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
12972
12973 2012-03-25 Chong Yidong <cyd@gnu.org>
12974
12975 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
12976 theme if it was previously enabled before (Bug#11031).
12977
12978 * cus-theme.el (custom-theme-write-faces): Retrieve current face
12979 spec with custom-face-get-current-spec if its :shown-value is not
12980 determined yet (Bug#9337).
12981 (customize-create-theme, custom-theme-revert): Doc fixes.
12982
12983 * button.el (button-at): Minor addition to docstring.
12984
12985 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
12986
12987 * vc/vc.el (vc-merge): Fix a prompt.
12988
12989 2012-03-24 Chong Yidong <cyd@gnu.org>
12990
12991 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
12992 point (Bug#9623).
12993
12994 * button.el (button-at): Minor addition to docstring.
12995
12996 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
12997
12998 * newcomment.el (comment-choose-indent): No space after BOL.
12999
13000 2012-03-22 Sam Steingold <sds@gnu.org>
13001
13002 * window.el (switch-to-prev-buffer): Revert last patch because the
13003 bug turned out to be an advertised feature (Elisp manual 28.14).
13004
13005 2012-03-22 Glenn Morris <rgm@gnu.org>
13006
13007 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
13008 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
13009
13010 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13011
13012 * net/network-stream.el (network-stream-open-starttls): Make error
13013 message under Windows be less misleading.
13014
13015 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
13016
13017 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
13018 understands (bug#9942).
13019
13020 2012-03-22 Chong Yidong <cyd@gnu.org>
13021
13022 * simple.el (end-of-visible-line): Handle return value of
13023 next-single-property-change properly (Bug#9371).
13024
13025 2012-03-22 Kenichi Handa <handa@m17n.org>
13026
13027 * international/quail.el (quail-insert-kbd-layout): Fix previous
13028 change. To avoid unwanted bidi reordering, use
13029 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
13030
13031 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
13032
13033 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
13034 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
13035 (ruby-beginning-of-indent): Be more careful with the difference
13036 between word-boundary and symbol boundary.
13037 (ruby-mode-syntax-table): Make : a symbol constituent.
13038
13039 2012-03-21 Andreas Politz <politza@fh-trier.de>
13040
13041 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
13042
13043 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13044
13045 * progmodes/etags.el (tags-completion-at-point-function):
13046 Improve last fix.
13047
13048 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
13049
13050 2012-03-21 Sam Steingold <sds@gnu.org>
13051
13052 * progmodes/etags.el (tags-completion-at-point-function):
13053 Avoid the error when point is inside the pattern.
13054
13055 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
13056
13057 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
13058 line (Bug#10855).
13059
13060 2012-03-21 Drew Adams <drew.adams@oracle.com>
13061
13062 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
13063
13064 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
13065
13066 * ido.el (ido-set-current-directory, ido-read-internal)
13067 (ido-choose-completion-string, ido-completion-help): Handle nil
13068 value of ido-completion-buffer (Bug#11008).
13069
13070 2012-03-21 Sam Steingold <sds@gnu.org>
13071
13072 * window.el (switch-to-prev-buffer): Do not switch to a visible
13073 window previous buffer, just like with the frame previous buffers.
13074
13075 2012-03-21 Chong Yidong <cyd@gnu.org>
13076
13077 * faces.el (make-face, make-empty-face, copy-face):
13078 * face-remap.el (face-remap-add-relative, face-remap-set-base):
13079 Doc fixes.
13080
13081 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
13082
13083 * wid-edit.el (widget-complete-field): Remove (bug#11051).
13084 (widget-complete): Remove broken use of it.
13085
13086 2012-03-20 Chong Yidong <cyd@gnu.org>
13087
13088 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
13089 Use string-width and truncate-string-width to handle arbitrary
13090 characters.
13091
13092 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
13093
13094 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
13095 to draw rectangles, not squares. (Regression introduced by revno
13096 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
13097
13098 2012-03-18 Chong Yidong <cyd@gnu.org>
13099
13100 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
13101 it is not yet defined (for temacs).
13102
13103 2012-03-18 Leo Liu <sdl.web@gmail.com>
13104
13105 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
13106 prefix.
13107
13108 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13109
13110 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
13111 (ispell-choices-win-default-height, ispell-silently-savep)
13112 (ispell-dictionary-alist, ispell-encoding8-command)
13113 (ispell-check-version, ispell-aspell-find-dictionary)
13114 (ispell-valid-dictionary-list, ispell-words-keyword)
13115 (ispell-get-word, ispell-internal-change-dictionary)
13116 (ispell-region, ispell-skip-region-list)
13117 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
13118 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
13119 (ispell-message-text-end, ispell-message)
13120 (ispell-buffer-local-parsing): Doc fix.
13121
13122 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
13123
13124 * htmlfontify.el: Add support for code block fontification for ODT
13125 export (Bug #9914).
13126 (hfy-optimisations): Define new option
13127 `body-text-only'
13128 (hfy-fontify-buffer): Honor above setting.
13129 (hfy-begin-span, hfy-end-span): New routines factored out form
13130 `hfy-fontify-buffer'.
13131 (hfy-begin-span-handler, hfy-end-span-handler): New variables
13132 that permit insertion of custom tags.
13133 (hfy-fontify-buffer): Use above handlers.
13134 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
13135 (hfy-face-to-css): Re-defined to be a variable.
13136 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
13137 over multiple runs. This is made possible by having the caller let
13138 bind a special variable `hfy-user-sheet-assoc'.
13139 (htmlfontify-string): New defun.
13140 (hfy-compile-face-map): Make sure that the last char in the
13141 buffer is correctly fontified.
13142 (hfy-face-resolve-face): Whitespace only change.
13143
13144 2012-03-17 Eli Zaretskii <eliz@gnu.org>
13145
13146 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
13147 message more clear.
13148
13149 2012-03-16 Leo Liu <sdl.web@gmail.com>
13150
13151 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
13152
13153 2012-03-16 Alan Mackenzie <acm@muc.de>
13154
13155 Further optimize the handling of large macros.
13156
13157 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
13158 limit to a call of `c-literal-limits'.
13159 (c-determine-+ve-limit): New function.
13160 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
13161 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
13162 In CASE 5B, restrict a search limit to 500.
13163 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
13164
13165 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
13166 Restrict macro bounds to +-500 from after-change's BEG END.
13167
13168 2012-03-16 Leo Liu <sdl.web@gmail.com>
13169
13170 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
13171
13172 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
13173
13174 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
13175 `special-mode' setting of `buffer-read-only'. (Bug#11010)
13176
13177 2012-03-16 Glenn Morris <rgm@gnu.org>
13178
13179 * view.el (view-buffer, view-buffer-other-window)
13180 (view-buffer-other-frame): Doc fixes re special mode-class.
13181
13182 * subr.el (eval-after-load): If named feature is provided not from
13183 a file, run after-load forms. (Bug#10946)
13184
13185 * calendar/calendar.el (calendar-insert-at-column):
13186 Handle non-unit-width characters a bit better. (Bug#10978)
13187
13188 2012-03-15 Chong Yidong <cyd@gnu.org>
13189
13190 * emacs-lisp/ring.el (ring-extend): New function.
13191 (ring-insert+extend): Extend the ring correctly (Bug#11019).
13192
13193 * comint.el (comint-read-input-ring)
13194 (comint-add-to-input-history): Grow comint-input-ring lazily.
13195
13196 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
13197
13198 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
13199 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
13200
13201 * imenu.el: Fix multiple inheritance breakage (bug#9199).
13202 (imenu-add-to-menubar): Don't add a redundant index.
13203 (imenu-update-menubar): Handle a dynamically composed keymap.
13204
13205 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
13206
13207 * mail/sendmail.el (mail-encode-header):
13208 Bind rfc2047-encode-encoded-words to nil.
13209
13210 2012-03-13 Glenn Morris <rgm@gnu.org>
13211
13212 * calendar/calendar.el (calendar-string-spread):
13213 Handle non-unit-width characters a bit better. (Bug#10978)
13214
13215 2012-03-13 Leo Liu <sdl.web@gmail.com>
13216
13217 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
13218 directory and file as argument (Bug#10822).
13219
13220 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13221
13222 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
13223 For dynamically generated code, follow $PC.
13224 (gdb-disassembly-handler-custom): Handle no function name case.
13225
13226 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
13227
13228 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
13229 * emulation/ws-mode.el (ws-query-replace):
13230 * sort.el (sort-regexp-fields):
13231 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
13232
13233 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13234
13235 * dabbrev.el: Fix cycle completion order (bug#10963).
13236 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
13237 (dabbrev-completion): Don't use an obarray; provide
13238 a cycle-sort-function.
13239
13240 2012-03-12 Leo Liu <sdl.web@gmail.com>
13241
13242 * simple.el (kill-new): Use equal-including-properties for comparison.
13243 (kill-do-not-save-duplicates): Doc fix.
13244
13245 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13246
13247 * dabbrev.el: Fix cycle completion (bug#10963).
13248 Use lexical binding and wrap to 80 columns.
13249 (dabbrev-completion): Delay computing the list of completions.
13250
13251 2012-03-12 Kenichi Handa <handa@m17n.org>
13252
13253 * international/quail.el (quail-insert-kbd-layout): Surround each
13254 row by LRO and PDF instead of inserting many LRMs. Pad the left
13255 and right of each non-spacing marks. Insert invisible space
13256 between lower and upper characters to prevent composition.
13257
13258 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13259
13260 * minibuffer.el (minibuffer-complete): Don't get confused when the
13261 function is run twice via different commands (bug#10958).
13262 (complete-with-action): Fix docstring.
13263
13264 2012-03-12 Chong Yidong <cyd@gnu.org>
13265
13266 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
13267 (nxml-completion-at-point-function): New function.
13268 (nxml-mode): Use it.
13269 (nxml-bind-meta-tab-to-complete-flag): Default to t.
13270
13271 * emacs-lisp/package.el (package-unpack, package-unpack-single):
13272 Load generated autoloads file before byte compiling (Bug#10970).
13273 (package--make-autoloads-and-compile): New helper fun.
13274
13275 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
13276
13277 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
13278
13279 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
13280
13281 * autorevert.el (auto-revert-handler): Ensure, that
13282 file-readable-p is applied only for local files or in
13283 auto-revert-tail-mode.
13284
13285 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
13286
13287 * server.el (server-eval-at): Handle non-tcp connections.
13288 Decode result string.
13289
13290 * server.el (server-msg-size): New constant.
13291 (server-reply-print): New function.
13292 (server-eval-and-print): Use it.
13293 (server-eval-at): Use server-quote-arg and server-unquote-arg.
13294 Handle -print-nonl.
13295
13296 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
13297
13298 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
13299 (Bug#10987).
13300
13301 2012-03-11 Chong Yidong <cyd@gnu.org>
13302
13303 * simple.el (goto-line): Doc fix (Bug#9938).
13304
13305 * subr.el (save-window-excursion): Doc fix (Bug#9979).
13306
13307 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
13308 when finished (Bug#10963).
13309
13310 2012-03-11 Martin Rudalics <rudalics@gmx.at>
13311
13312 * window.el (split-window-below): Fix bug in case where
13313 split-window-keep-point is nil (Bug#10971).
13314
13315 2012-03-11 Juri Linkov <juri@jurta.org>
13316
13317 * replace.el (replace-highlight): Set isearch-word to nil
13318 unconditionally. (Bug#10887)
13319
13320 2012-03-10 Eli Zaretskii <eliz@gnu.org>
13321
13322 * net/mairix.el (mairix-replace-invalid-chars): Rename from
13323 mairix-replace-illegal-chars; all callers changed. Don't remove
13324 ^, ~, and = characters: they are meaningful in mairix search specs.
13325 (mairix-widget-create-query): Add usage information about mairix
13326 search forms: negating words, searching for substrings, etc.
13327
13328 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
13329
13330 * international/fontset.el (font-encoding-alist): Add an entry for
13331 ksx1001 (Bug#5667).
13332
13333 2012-03-10 Richard Stallman <rms@gnu.org>
13334
13335 * mail/sendmail.el (mail-encode-header):
13336 Set rfc2047-encode-encoded-words.
13337
13338 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
13339
13340 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
13341 view buffer means not swapped.
13342 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
13343 (rmail-write-region-annotate): Error if real text has disappeared.
13344
13345 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
13346
13347 2012-03-10 Chong Yidong <cyd@gnu.org>
13348
13349 * emulation/cua-rect.el (cua--init-rectangles):
13350 * emulation/cua-base.el (cua--init-keymaps):
13351 Add delete-forward-char to remappings (Bug#9666).
13352
13353 2012-03-10 Martin Rudalics <rudalics@gmx.at>
13354
13355 * speedbar.el (speedbar-unhighlight-one-tag-line):
13356 Avoid unhighlighting due to frame switching (Bug#10275).
13357
13358 2012-03-10 Chong Yidong <cyd@gnu.org>
13359
13360 * minibuffer.el (completion-in-region, completion-help-at-point):
13361 Give the completion field overlay a high priority (Bug#6830).
13362
13363 * dired.el (dired-goto-file): Recognize absolute file name
13364 listings (Bug#7126).
13365 (dired-goto-file-1): New helper function.
13366 (dired-toggle-read-only): Inhibit warnings.
13367
13368 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
13369
13370 * net/dbus.el (dbus-property-handler): Return empty array if
13371 there are no properties.
13372
13373 2012-03-09 Leo Liu <sdl.web@gmail.com>
13374
13375 * savehist.el (savehist-printable): Stricter check for string
13376 value (Bug#10937).
13377
13378 2012-03-09 Eli Zaretskii <eliz@gnu.org>
13379
13380 * mail/smtpmail.el (smtpmail-send-it):
13381 Bind coding-system-for-write to *-unix, so that FCC files are kept in
13382 valid mbox format.
13383
13384 2012-03-09 Glenn Morris <rgm@gnu.org>
13385
13386 * files.el (dir-locals-find-file):
13387 Don't check result is regular, readable.
13388 (dir-locals-read-from-file): Demote errors.
13389
13390 2012-03-08 Eli Zaretskii <eliz@gnu.org>
13391
13392 * international/quail.el (quail-insert-kbd-layout):
13393 Insert invisible LRM characters before each character in a keyboard
13394 layout cell, to prevent their reordering by bidi display engine.
13395 For details, see the discussion in
13396 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
13397
13398 2012-03-08 Alan Mackenzie <acm@muc.de>
13399
13400 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
13401 the starting position; make it extend the marked region when
13402 invoked repeatedly - all under appropriate circumstances.
13403 Fixes bugs #5525, #10906.
13404
13405 2012-03-08 Glenn Morris <rgm@gnu.org>
13406
13407 * files.el (locate-dominating-file, dir-locals-find-file):
13408 Undo 2012-03-06 change.
13409
13410 2012-03-07 Eli Zaretskii <eliz@gnu.org>
13411
13412 * international/quail.el (quail-help):
13413 Force bidi-paragraph-direction be left-to-right. See discussion in
13414 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
13415 for the reason.
13416
13417 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
13418
13419 Avoid superfluous registering of signals. (Bug#10807)
13420
13421 * notifications.el (notifications-on-action-object)
13422 (notifications-on-close-object): New defvars.
13423 (notifications-on-action-signal, notifications-on-closed-signal):
13424 Unregister the signal if not needed any longer.
13425 (notifications-notify): Register `notifications-action-signal' or
13426 `notifications-closed-signal', if :on-action or :on-close has been
13427 passed as argument.
13428
13429 2012-03-07 Chong Yidong <cyd@gnu.org>
13430
13431 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
13432 non-X platforms.
13433
13434 2012-03-06 Glenn Morris <rgm@gnu.org>
13435
13436 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13437 (x-disown-selection-internal, x-get-selection-internal):
13438 Doc fix (add arglist signatures). (Bug#10783)
13439
13440 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
13441
13442 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
13443 Handle breakpoints with no "type".
13444
13445 2012-03-06 Glenn Morris <rgm@gnu.org>
13446
13447 * files.el (locate-dominating-file): Add optional predicate argument.
13448 (dir-locals-find-file): Make use of above change.
13449
13450 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
13451
13452 * info.el (Info-insert-dir): Also try "dir.gz".
13453
13454 2012-03-06 Glenn Morris <rgm@gnu.org>
13455
13456 * files.el (dir-locals-find-file):
13457 Ignore non-readable or non-regular files. (Bug#10928)
13458
13459 * files.el (locate-dominating-file): Doc fix.
13460
13461 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
13462
13463 * calendar/calendar.el (calendar-set-mode-line):
13464 `getenv' returns a string. (Bug#10951)
13465
13466 2012-03-05 Leo Liu <sdl.web@gmail.com>
13467
13468 * simple.el (backward-delete-char-untabify): Constrain point to
13469 field (Bug#10939).
13470
13471 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
13472
13473 2012-03-05 Chong Yidong <cyd@gnu.org>
13474
13475 * simple.el (count-words): If called from Lisp, return the word
13476 count, for symmetry with `count-lines'. Arglist changed.
13477 (count-words--message): Args changed. Consolidate counting code
13478 from count-words and count-words-region.
13479 (count-words-region): Caller changed.
13480 (count-lines-region): Make it an obsolete alias.
13481
13482 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
13483
13484 * saveplace.el (save-place-to-alist)
13485 (save-place-ignore-files-regexp): Allow value nil to disable this
13486 feature.
13487
13488 2012-03-04 Chong Yidong <cyd@gnu.org>
13489
13490 * faces.el (face-spec-reset-face): For the default face, reset the
13491 attributes to default values (Bug#10748).
13492
13493 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
13494
13495 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
13496 previous patch: Check `message-send-mail-function', and not the
13497 default function (bug#10897).
13498
13499 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
13500
13501 * notifications.el (notifications-on-action-signal)
13502 (notifications-on-closed-signal): Check for unique service name of
13503 incoming event. Fix error in removing entry.
13504 (top): Register for signals with wildcard service name.
13505 (notifications-notify): Use daemon unique service name for map entries.
13506
13507 2012-03-04 Chong Yidong <cyd@gnu.org>
13508
13509 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
13510
13511 2012-03-04 Glenn Morris <rgm@gnu.org>
13512
13513 * abbrev.el (copy-abbrev-table, abbrev-table-p)
13514 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
13515 (expand-abbrev, define-abbrev-table): Doc fixes.
13516
13517 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
13518
13519 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
13520 `message-default-send-mail-function' and not `send-mail-function'
13521 when doing the prompting for `sendmail-query-once' before sending
13522 in Message buffers (bug#10897).
13523
13524 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
13525 This is inconsistent with all the other stream functions, which leave
13526 the setting up to the higher levels (if so wanted) (bug#10931).
13527
13528 2012-03-02 Alan Mackenzie <acm@muc.de>
13529
13530 Depessimize the handling of very large macros.
13531
13532 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
13533 (c-macro-cache-syntactic): New variables to implement a one
13534 element macro cache.
13535 (c-invalidate-macro-cache): New function.
13536 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
13537 Adapt to use the new cache.
13538 (c-state-safe-place): Use better the cache of safe positions.
13539 (c-state-semi-nonlit-pos-cache)
13540 (c-state-semi-nonlit-pos-cache-limit):
13541 New variables for...
13542 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
13543 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
13544 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
13545 Use c-state-semi-safe-place.
13546
13547 * progmodes/cc-langs.el (c-get-state-before-change-functions):
13548 Add c-invalidate-macro-cache to the C, C++, Obj entries.
13549
13550 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
13551
13552 * jka-compr.el (jka-compr-call-process):
13553 Apply `file-accessible-directory-p' only when the default directory is
13554 not remote.
13555
13556 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
13557
13558 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
13559 access of FILE2, if FILE1 does not exist.
13560
13561 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
13562 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
13563
13564 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
13565 Add "PAGER=" to `process-environment'.
13566
13567 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
13568
13569 * progmodes/sql.el: Bug fix
13570 (sql-get-login-ext): Save login values in globals.
13571 (sql-get-login): Use new version of `sql-get-login-ext'.
13572 (sql-interactive-mode): Set global `sql-connection' to nil.
13573 (sql-connect): Set global values for connection.
13574 (sql-product-interactive): Save global values as buffer local.
13575
13576 2012-02-29 Leo Liu <sdl.web@gmail.com>
13577
13578 * abbrev.el (define-abbrevs): Reset sys to nil.
13579
13580 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13581
13582 * files.el (file-equal-p): Rename from `files-equal-p'.
13583 Return nil when one or both files don't exist.
13584 (file-subdir-of-p): Now only top directory must exists,
13585 return nil if it doesn't.
13586 (copy-directory): No need to test with `file-subdir-of-p' after
13587 creating dir.
13588 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
13589 to `file-equal-p'.
13590
13591 2012-02-28 Glenn Morris <rgm@gnu.org>
13592
13593 * shell.el (shell-mode):
13594 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
13595 * play/landmark.el (landmark-font-lock-face-O):
13596 * play/handwrite.el (handwrite):
13597 * play/gomoku.el (gomoku-O):
13598 * net/browse-url.el (browse-url-browser-display):
13599 * international/mule.el (define-charset):
13600 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
13601 * filesets.el (filesets-find-file-delay):
13602 * eshell/em-xtra.el (eshell-xtra):
13603 * eshell/em-unix.el (eshell-grep):
13604 * emulation/viper.el (viper-mode):
13605 * emacs-lisp/regexp-opt.el (regexp-opt-group):
13606 * emacs-lisp/easymenu.el (easy-menu-define):
13607 * calendar/timeclock.el (timeclock-use-display-time):
13608 * bs.el (bs-mode):
13609 * bookmark.el (bookmark-save-flag):
13610 Doc fix (standardize possessive apostrophe usage).
13611
13612 2012-02-27 Chong Yidong <cyd@gnu.org>
13613
13614 * emulation/viper-cmd.el (viper-intercept-ESC-key):
13615 Fix key-binding lookup for ESC key (Bug#9146).
13616
13617 * font-lock.el (font-lock-specified-p): Rename from
13618 font-lock-spec-present. Callers changed.
13619
13620 2012-02-27 Daniel Hackney <dan@haxney.org>
13621
13622 * emacs-lisp/package.el (package-compute-transaction):
13623 Handle holding a package version to t in package-load-list.
13624
13625 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
13626
13627 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
13628 (tramp-get-inode, tramp-get-device): Use cached values.
13629
13630 2012-02-26 Alan Mackenzie <acm@muc.de>
13631
13632 Check there is a font-lock specification before doing initial
13633 fontification.
13634
13635 * font-core.el (font-lock-mode): Move the conditional from
13636 :after-hook to font-lock-initial-fontify.
13637 (font-lock-default-function): Move the check for a specification
13638 to font-lock-spec-present.
13639
13640 * font-lock.el (font-lock-initial-fontify): Call ...
13641 (font-lock-spec-present): New function.
13642
13643 2012-02-26 Jim Blandy <jimb@red-bean.com>
13644
13645 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
13646 (gdb-send): Apply it to the operand of the '-interpreter-exec
13647 console' command, so that we can pass arguments with (say) quotes
13648 in them. Store exact string sent in gdb-debug-log (Bug#10765).
13649
13650 2012-02-26 Chong Yidong <cyd@gnu.org>
13651
13652 * help-fns.el (describe-function-1): Clarify description of
13653 remapping (Bug#10844).
13654
13655 * files.el (files-equal-p): Doc fix.
13656 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
13657 and quit the loop once a mismatch is found.
13658
13659 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
13660
13661 * bs.el (bs--show-with-configuration): Don't throw an error
13662 if the window cannot be split; otherwise, subsequent calls to
13663 bs-show fail, restoring a stale window config. (Bug#10882)
13664
13665 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
13666
13667 * term/ns-win.el (global-map): Bind ns-drag-file to
13668 ns-find-file (Bug#5855, Bug#10050).
13669
13670 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
13671
13672 * calendar/parse-time.el (parse-time-string): Allow extractor to
13673 return nil.
13674
13675 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
13676
13677 * net/tramp.el (tramp-file-name-for-operation):
13678 Add `files-equal-p' and `file-subdir-of-p'.
13679
13680 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
13681 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
13682 Add COPY-CONTENTS argument.
13683
13684 2012-02-25 Chong Yidong <cyd@gnu.org>
13685
13686 Add custom groups for VC backends, for consistency with vc-bzr.
13687
13688 * vc/vc-arch.el (vc-arch):
13689 * vc/vc-cvs.el (vc-cvs):
13690 * vc/vc-git.el (vc-git):
13691 * vc/vc-hg.el (vc-hg):
13692 * vc/vc-mtn.el (vc-mtn):
13693 * vc/vc-rcs.el (vc-rcs):
13694 * vc/vc-sccs.el (vc-sccs):
13695 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
13696 All relevant defcustoms reassigned.
13697
13698 2012-02-25 Chong Yidong <cyd@gnu.org>
13699
13700 * newcomment.el (comment-styles): Add autoload (Bug#10868).
13701
13702 * term/x-win.el (x-initialize-window-system): Reduce default for
13703 x-selection-timeout to 5 seconds (Bug#8869).
13704
13705 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13706
13707 * files.el (files-equal-p, file-subdir-of-p): New functions.
13708 (copy-directory): Error when trying to copy a directory on itself.
13709 Add missing copy-contents arg to tramp handler.
13710 * dired-aux.el (dired-copy-file-recursive): Same.
13711 (dired-create-files): Modify destination when source is equal to
13712 dest when copying files.
13713 Return also when dest is a subdir of source. (Bug#10489)
13714
13715 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
13716
13717 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
13718 (Bug#10874)
13719
13720 2012-02-23 Alan Mackenzie <acm@muc.de>
13721
13722 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
13723 parameter "after-hook:" to allow the expansion to run code after
13724 the execution of the mode hooks.
13725
13726 * font-lock.el (font-lock-initial-fontify): New function extracted
13727 from font-lock-mode-internal.
13728
13729 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
13730 :after-hook.
13731
13732 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13733
13734 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
13735 (completion--cache-all-sorted-completions): New function.
13736 (completion-all-sorted-completions): Use it.
13737 (completion--do-completion, minibuffer-force-complete):
13738 Use it to re-instate the flush hook.
13739
13740 * icomplete.el (icomplete-completions): Replace last fix with a better
13741 one (bug#10850).
13742
13743 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
13744
13745 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
13746 when it might call us back infinitely (bug#10797).
13747
13748 2012-02-23 Glenn Morris <rgm@gnu.org>
13749
13750 * minibuffer.el (completion-category-overrides): Doc fix.
13751
13752 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
13753
13754 * minibuffer.el (completion-table-with-context): Fix inf-loop.
13755 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
13756
13757 2012-02-23 Glenn Morris <rgm@gnu.org>
13758
13759 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
13760 (authors-obsolete-files-regexps, authors-ignored-files)
13761 (authors-ambiguous-files, authors-renamed-files-alist):
13762 Add more entries.
13763
13764 2012-02-23 Juri Linkov <juri@jurta.org>
13765
13766 * isearch.el (isearch-occur): Sync interactive spec with occur's
13767 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
13768
13769 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
13770
13771 2012-02-22 Juri Linkov <juri@jurta.org>
13772
13773 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
13774 (ucs-insert): Doc fix. Check for hex digits in the string.
13775 Don't display `nil' in the error message. (Bug#10857)
13776
13777 2012-02-22 Alan Mackenzie <acm@muc.de>
13778
13779 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
13780
13781 2012-02-22 Glenn Morris <rgm@gnu.org>
13782
13783 * ffap.el (ffap-c-path):
13784 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
13785
13786 2012-02-22 Chong Yidong <cyd@gnu.org>
13787
13788 * custom.el (load-theme): Doc fix.
13789
13790 2012-02-22 Glenn Morris <rgm@gnu.org>
13791
13792 * dired-x.el (dired-guess-shell-alist-default):
13793 Remove escape sequences from nroff output. (Bug#172)
13794
13795 2012-02-21 Glenn Morris <rgm@gnu.org>
13796
13797 * vc/emerge.el (emerge-defvar-local):
13798 Set `permanent-local' property rather than unused `preserved'.
13799
13800 * textmodes/picture.el (picture-delete-char): New alias.
13801 (picture-mode-map): Use it. (Bug#10860)
13802 (picture-mode): Doc fix.
13803
13804 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
13805
13806 * newcomment.el (uncomment-region-default): Remove unused binding.
13807
13808 2012-02-21 Glenn Morris <rgm@gnu.org>
13809
13810 * textmodes/picture.el (picture-motion, picture-motion-reverse)
13811 (picture-self-insert, picture-tab-chars): Doc fix.
13812 (picture-mode-map): Fix C-a, C-e.
13813
13814 2012-02-20 Glenn Morris <rgm@gnu.org>
13815
13816 * emacs-lisp/authors.el (authors-aliases): Add another entry.
13817
13818 2012-02-20 Leo Liu <sdl.web@gmail.com>
13819
13820 * icomplete.el (icomplete-completions): Check FROM arg before
13821 passing to substring (Bug#10850).
13822
13823 2012-02-19 Chong Yidong <cyd@gnu.org>
13824
13825 * comint.el: Require ansi-color.
13826 (comint-output-filter-functions): Add ansi-color-process-output.
13827
13828 * ansi-color.el: Don't set comint-output-filter-functions; it is
13829 now in the initial value defined in comint.el.
13830 (ansi-color-apply-face-function): New variable.
13831 (ansi-color-apply-on-region): Use it.
13832 (ansi-color-apply-overlay-face): New function.
13833
13834 * shell.el (shell): No need to require ansi-color.
13835 (shell-mode): Use ansi-color-apply-face-function to highlight
13836 color escapes using font-lock-face property (Bug#10835).
13837
13838 2012-02-19 Chong Yidong <cyd@gnu.org>
13839
13840 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
13841 mode-line formats (Bug#10839).
13842
13843 2012-02-18 Glenn Morris <rgm@gnu.org>
13844
13845 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
13846
13847 * mail/undigest.el (unforward-rmail-message): Doc fix.
13848
13849 * saveplace.el (save-place-ignore-files-regexp): Add :version.
13850
13851 2012-02-18 Eli Zaretskii <eliz@gnu.org>
13852
13853 * international/characters.el (script-list): Sync with the latest
13854 Unicode Character Database.
13855
13856 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
13857
13858 * international/titdic-cnv.el: Remove duplicate coding tag.
13859 * language/cham.el: Likewise.
13860 * language/tai-viet.el: Likewise.
13861
13862 2012-02-18 Glenn Morris <rgm@gnu.org>
13863
13864 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
13865 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
13866 (calendar-bahai-all-holidays-flag, calendar-other-dates):
13867 * calendar/diary-lib.el (diary-abbreviated-year-flag):
13868 * calendar/holidays.el (holiday-bahai-holidays)
13869 (calendar-holidays, list-holidays):
13870 Use utf-8 Bahá'í in doc-strings, menus, etc.
13871
13872 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
13873
13874 * saveplace.el (save-place-ignore-files-regexp): New variable
13875 allowing for excluding files from saving their location of point.
13876 The default value matches the temporary commit message editing
13877 files from Git, SVN, Bazaar, and Mercurial.
13878 (save-place-to-alist): Use it.
13879
13880 2012-02-17 Lawrence Mitchell <wence@gmx.li>
13881 Stefan Monnier <monnier@iro.umontreal.ca>
13882
13883 * newcomment.el (uncomment-region-default): Don't leave extra space
13884 when an arg is provided (bug#8150).
13885
13886 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
13887
13888 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
13889
13890 2012-02-17 Glenn Morris <rgm@gnu.org>
13891
13892 * net/socks.el: Require network-stream. (Bug#10599)
13893
13894 2012-02-17 Kenichi Handa <handa@m17n.org>
13895
13896 * international/charprop.el:
13897 * international/uni-name.el:
13898 * international/uni-old-name.el:
13899 * international/uni-comment.el: Regenerate.
13900
13901 2012-02-16 Glenn Morris <rgm@gnu.org>
13902
13903 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
13904 Interactively in calendar buffer, give an error if not on a date.
13905
13906 2012-02-15 Glenn Morris <rgm@gnu.org>
13907
13908 * shell.el (shell-delimiter-argument-list):
13909 Revert 2011-02-17 change. (Bug#8027)
13910
13911 2012-02-15 Chong Yidong <cyd@gnu.org>
13912
13913 * minibuffer.el (completion-at-point-functions): Doc fix.
13914
13915 * custom.el (defcustom): Doc fix; note use of defvar.
13916
13917 2012-02-15 Glenn Morris <rgm@gnu.org>
13918
13919 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
13920 Doc fixes.
13921
13922 2012-02-14 Glenn Morris <rgm@gnu.org>
13923
13924 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
13925
13926 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
13927
13928 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
13929 way the ports list is computed.
13930 (smtpmail-query-smtp-server): Prompt the user for a port number if
13931 we can't connect to any of the standard ports (bug#10810).
13932
13933 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
13934
13935 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
13936
13937 2012-02-13 Glenn Morris <rgm@gnu.org>
13938
13939 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
13940
13941 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
13942
13943 * net/gnutls.el (gnutls-trustfiles): New variable.
13944 (gnutls-negotiate): Use it.
13945
13946 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
13947
13948 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
13949 does its stuff if Gnus is running.
13950
13951 2012-02-13 Alan Mackenzie <acm@muc.de>
13952
13953 Fix a loop in c-set-fl-decl-start.
13954
13955 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
13956 c-backward-syntactic-ws actually moves backwards.
13957
13958 2012-02-13 Leo Liu <sdl.web@gmail.com>
13959
13960 * net/rcirc.el (rcirc-markup-attributes): Move point to the
13961 beginning so that all \C-o chars are removed.
13962
13963 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
13964
13965 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
13966
13967 2012-02-12 Alan Mackenzie <acm@muc.de>
13968
13969 Fix infinite loop with long macros.
13970 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
13971
13972 2012-02-12 Chong Yidong <cyd@gnu.org>
13973
13974 * window.el (display-buffer): Doc fix (Bug#10785).
13975
13976 2012-02-12 Glenn Morris <rgm@gnu.org>
13977
13978 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
13979 (x-disown-selection-internal, x-get-selection-internal):
13980 Sync docs with the xselect.c versions.
13981
13982 * allout-widgets.el: Add missing license notice.
13983
13984 2012-02-11 Glenn Morris <rgm@gnu.org>
13985
13986 * select.el (x-get-selection-internal, x-own-selection-internal)
13987 (x-disown-selection-internal):
13988 * x-dnd.el (x-get-selection-internal): Update declarations.
13989
13990 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
13991
13992 * window.el (window-sides-slots):
13993 * tool-bar.el (tool-bar-position):
13994 * term/xterm.el (xterm-extra-capabilities):
13995 * ses.el (ses-self-reference-early-detection):
13996 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
13997 (verilog-auto-wire-type)
13998 (verilog-auto-delete-trailing-whitespace)
13999 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
14000 (verilog-auto-tieoff-declaration):
14001 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
14002 (sql-oracle-statement-starters, sql-oracle-scan-on):
14003 * progmodes/prolog.el (prolog-align-comments-flag)
14004 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
14005 (prolog-left-indent-regexp, prolog-paren-indent-p)
14006 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
14007 (prolog-types, prolog-mode-specificators)
14008 (prolog-determinism-specificators, prolog-directives)
14009 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
14010 (prolog-electric-dot-flag)
14011 (prolog-electric-dot-full-predicate-template)
14012 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
14013 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
14014 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
14015 (prolog-program-switches, prolog-prompt-regexp)
14016 (prolog-debug-on-string, prolog-debug-off-string)
14017 (prolog-trace-on-string, prolog-trace-off-string)
14018 (prolog-zip-on-string, prolog-zip-off-string)
14019 (prolog-use-standard-consult-compile-method-flag)
14020 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
14021 (prolog-imenu-max-lines, prolog-info-predicate-index)
14022 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
14023 (prolog-char-quote-workaround):
14024 * progmodes/cc-vars.el (c-defun-tactic):
14025 * net/tramp.el (tramp-encoding-command-interactive)
14026 (tramp-local-end-of-line):
14027 * net/soap-client.el (soap-client):
14028 * net/netrc.el (netrc-file):
14029 * net/gnutls.el (gnutls):
14030 * minibuffer.el (completion-category-overrides)
14031 (completion-cycle-threshold)
14032 (completion-pcm-complete-word-inserts-delimiters):
14033 * man.el (Man-name-local-regexp):
14034 * mail/feedmail.el (feedmail-display-full-frame):
14035 * international/characters.el (glyphless-char-display-control):
14036 * eshell/em-ls.el (eshell-ls-date-format):
14037 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
14038 (lisp-lambda-list-keyword-parameter-indentation)
14039 (lisp-lambda-list-keyword-parameter-alignment):
14040 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
14041 * dired-x.el (dired-omit-verbose):
14042 * cus-theme.el (custom-theme-allow-multiple-selections):
14043 * calc/calc.el (calc-highlight-selections-with-faces)
14044 (calc-lu-field-reference, calc-lu-power-reference)
14045 (calc-note-threshold):
14046 * battery.el (battery-mode-line-limit):
14047 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
14048 (archive-7z-update):
14049 * allout.el (allout-prefixed-keybindings)
14050 (allout-unprefixed-keybindings)
14051 (allout-inhibit-auto-fill-on-headline)
14052 (allout-flattened-numbering-abbreviation):
14053 * allout-widgets.el (allout-widgets-auto-activation)
14054 (allout-widgets-icons-dark-subdir)
14055 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
14056 (allout-widgets-theme-dark-background)
14057 (allout-widgets-theme-light-background)
14058 (allout-widgets-item-image-properties-emacs)
14059 (allout-widgets-item-image-properties-xemacs)
14060 (allout-widgets-run-unit-tests-on-load)
14061 (allout-widgets-time-decoration-activity)
14062 (allout-widgets-hook-error-post-time)
14063 (allout-widgets-track-decoration):
14064 Add missing :version tags to new defcustoms and defgroups.
14065
14066 * progmodes/sql.el (sql-ansi-statement-starters)
14067 (sql-oracle-statement-starters): Add custom type.
14068
14069 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
14070 (prolog-system-version): Give it a type.
14071
14072 2012-02-11 Eli Zaretskii <eliz@gnu.org>
14073
14074 * term/pc-win.el (x-select-text, x-selection-owner-p)
14075 (x-own-selection-internal, x-disown-selection-internal)
14076 (x-get-selection-internal): Sync doc strings and argument lists
14077 with xselect.c, common-win.el and x-win.el. (Bug#10783)
14078
14079 2012-02-11 Leo Liu <sdl.web@gmail.com>
14080
14081 * progmodes/python.el (python-end-of-statement): Fix infinite
14082 loop. (Bug#10788)
14083
14084 2012-02-10 Glenn Morris <rgm@gnu.org>
14085
14086 * international/mule-cmds.el (unify-8859-on-encoding-mode)
14087 (unify-8859-on-decoding-mode): Properly mark as obsolete.
14088
14089 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
14090
14091 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
14092 about SMTP before checking the From header.
14093
14094 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
14095 into own function for reuse by emacsbug.el.
14096
14097 2012-02-10 Leo Liu <sdl.web@gmail.com>
14098
14099 * subr.el (condition-case-unless-debug): Rename from
14100 condition-case-no-debug. All callers changed.
14101 (with-demoted-errors): Fix caller.
14102
14103 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
14104 * nxml/rng-valid.el (rng-do-some-validation):
14105 * emacs-lisp/package.el (package-refresh-contents)
14106 (package-menu-execute):
14107 * desktop.el (desktop-create-buffer):
14108 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
14109
14110 2012-02-10 Glenn Morris <rgm@gnu.org>
14111
14112 * textmodes/bibtex.el:
14113 Add missing :version tags for new/changed defcustoms.
14114
14115 * files.el (remote-file-name-inhibit-cache): Doc fixes.
14116
14117 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
14118
14119 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
14120 (smtpmail-via-smtp): Use it, or fall back on the From address.
14121 (smtpmail-send-it): Ditto.
14122
14123 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
14124
14125 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
14126 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
14127 (byte-compile-tmp-var): New const.
14128 (byte-compile-defvar): Use it to minimize .elc size.
14129 Just use `defvar' rather than simulate it (bug#10761).
14130
14131 2012-02-09 Glenn Morris <rgm@gnu.org>
14132
14133 * files.el (rename-uniquely): Doc fix. (Bug#3806)
14134
14135 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
14136 Add :version tags.
14137
14138 * progmodes/compile.el (compilation-error-screen-columns)
14139 (compilation-first-column, compilation-filter-start): Doc fixes.
14140
14141 * vc/log-view.el (log-view-toggle-entry-display):
14142 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
14143
14144 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
14145 (report-emacs-bug-can-use-xdg-email):
14146 (report-emacs-bug-insert-to-mailer): Doc fixes.
14147 (report-emacs-bug): Message fix.
14148
14149 * net/browse-url.el (browse-url-can-use-xdg-open)
14150 (browse-url-xdg-open): Doc fixes.
14151
14152 * electric.el (electric-indent-mode, electric-pair-mode)
14153 (electric-layout-rules, electric-layout-mode): Doc fixes.
14154 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
14155
14156 2012-02-08 Martin Rudalics <rudalics@gmx.at>
14157
14158 * server.el (server-unselect-display): Don't inadvertently kill
14159 the current buffer. (Bug#10729)
14160
14161 2012-02-08 Glenn Morris <rgm@gnu.org>
14162
14163 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
14164 (sql-list-table): Doc fixes.
14165
14166 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
14167 Comment out (does nothing).
14168
14169 * completion.el (dynamic-completion-mode):
14170 * dirtrack.el (dirtrack-debug-mode):
14171 * electric.el (electric-layout-mode):
14172 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
14173 * face-remap.el (text-scale-mode, buffer-face-mode):
14174 * iimage.el (iimage-mode):
14175 * image-mode.el (image-transform-mode):
14176 * minibuffer.el (completion-in-region-mode):
14177 * scroll-lock.el (scroll-lock-mode):
14178 * simple.el (next-error-follow-minor-mode):
14179 * tar-mode.el (tar-subfile-mode):
14180 * tooltip.el (tooltip-mode):
14181 * vcursor.el (vcursor-use-vcursor-map):
14182 * wid-browse.el (widget-minor-mode):
14183 * emulation/tpu-edt.el (tpu-edt-mode):
14184 * emulation/tpu-extras.el (tpu-cursor-free-mode):
14185 * international/iso-ascii.el (iso-ascii-mode):
14186 * language/thai-util.el (thai-word-mode):
14187 * mail/supercite.el (sc-minor-mode):
14188 * net/goto-addr.el (goto-address-mode):
14189 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
14190 * progmodes/cwarn.el (cwarn-mode):
14191 * progmodes/flymake.el (flymake-mode):
14192 * progmodes/glasses.el (glasses-mode):
14193 * progmodes/hideshow.el (hs-minor-mode):
14194 * progmodes/pascal.el (pascal-outline-mode):
14195 * textmodes/enriched.el (enriched-mode):
14196 * vc/smerge-mode.el (smerge-mode):
14197 Doc fixes (minor mode argument).
14198
14199 2012-02-07 Eli Zaretskii <eliz@gnu.org>
14200
14201 * ls-lisp.el (ls-lisp-sanitize): New function.
14202 (ls-lisp-insert-directory): Use it to fix or remove any elements
14203 in file-alist with missing attributes. (Bug#4673)
14204
14205 2012-02-07 Alan Mackenzie <acm@muc.de>
14206
14207 Fix spurious recognition of c-in-knr-argdecl.
14208
14209 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
14210 putative K&R region.
14211
14212 2012-02-07 Alan Mackenzie <acm@muc.de>
14213
14214 * progmodes/cc-engine.el (c-forward-objc-directive):
14215 Prevent looping in "#pragma mark @implementation".
14216
14217 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
14218
14219 * notifications.el (notifications-on-closed-signal): Make `reason'
14220 optional. (Bug#10744)
14221
14222 2012-02-07 Glenn Morris <rgm@gnu.org>
14223
14224 * emacs-lisp/easy-mmode.el (define-minor-mode):
14225 Doc fixes for the macro and the mode it defines.
14226
14227 * image.el (imagemagick-types-inhibit): Doc fix.
14228
14229 * cus-start.el (imagemagick-render-type): Add it.
14230
14231 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
14232
14233 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
14234 Set the default at load time, too, so that `font-lock-fontify-buffer'
14235 can be called without setting up the entire mode first. This fixes
14236 a bug in `mm-inline-text' with C MIME parts.
14237
14238 2012-02-06 Chong Yidong <cyd@gnu.org>
14239
14240 * simple.el (list-processes--refresh): Delete exited processes
14241 (Bug#8094).
14242
14243 * comint.el (comint-next-prompt): next-single-char-property-change
14244 and prev-single-char-property-change never return nil (Bug#8657).
14245
14246 * custom.el (defcustom): Doc fix (Bug#9711).
14247
14248 2012-02-05 Chong Yidong <cyd@gnu.org>
14249
14250 * cus-edit.el (custom-variable-reset-backup): Quote the value
14251 before storing it in the customized-value property (Bug#6712).
14252 (custom-display): Add a customization type tag.
14253 (custom-buffer-create-internal): Improve tooltip message.
14254
14255 * wid-edit.el (widget-field-value-get): New optional arg to
14256 suppress trailing whitespace truncation.
14257 (character): Use it (Bug#2689).
14258
14259 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
14260
14261 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
14262 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
14263
14264 2012-02-05 Chong Yidong <cyd@gnu.org>
14265
14266 * cus-edit.el (custom-variable-value-create): For mismatched
14267 types, show the current value (Bug#7600).
14268
14269 * custom.el (defcustom): Doc fix.
14270
14271 2012-02-05 Glenn Morris <rgm@gnu.org>
14272
14273 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
14274
14275 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
14276
14277 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
14278 (pp-buffer): Use `ignore-errors', `looking-at-p'.
14279 (pp-last-sexp): Use `looking-at-p'.
14280
14281 2012-02-04 Glenn Morris <rgm@gnu.org>
14282
14283 * files.el (revert-buffer):
14284 Doc fix (mention revert-buffer-in-progress-p).
14285
14286 * emacs-lisp/ert-x.el (ert-simulate-command):
14287 Check deferred-action-list (which is obsolete) is bound.
14288
14289 * subr.el (with-wrapper-hook): Doc fixes.
14290
14291 * simple.el (filter-buffer-substring-functions)
14292 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
14293
14294 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
14295
14296 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
14297 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
14298
14299 2012-02-04 Leo Liu <sdl.web@gmail.com>
14300
14301 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
14302
14303 2012-02-04 Glenn Morris <rgm@gnu.org>
14304
14305 * image.el (image-extension-data): Add obsolete alias.
14306
14307 * isearch.el (isearch-update): Doc fix.
14308
14309 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
14310
14311 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
14312
14313 2012-02-03 Glenn Morris <rgm@gnu.org>
14314
14315 * image.el (image-animated-p): Doc fix. Use image-animated-types.
14316 (image-animate-timeout): Doc fix.
14317
14318 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
14319
14320 2012-02-02 Glenn Morris <rgm@gnu.org>
14321
14322 * server.el (server-auth-dir): Doc fix.
14323 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
14324
14325 * subr.el (run-mode-hooks): Doc fix.
14326
14327 2012-02-02 Juri Linkov <juri@jurta.org>
14328
14329 * image-mode.el (image-toggle-display-image): Remove tautological
14330 `major-mode' from the `derived-mode-p' test.
14331
14332 2012-02-02 Kenichi Handa <handa@m17n.org>
14333
14334 * composite.el (compose-region): Cancel previous change.
14335
14336 2012-02-02 Kenichi Handa <handa@m17n.org>
14337
14338 * composite.el (compose-region, compose-string): Signal error for
14339 a null string component (Bug#6988).
14340
14341 2012-02-01 Chong Yidong <cyd@gnu.org>
14342
14343 * view.el (view-buffer-other-window, view-buffer-other-frame):
14344 Handle special modes like view-buffer (Bug#10650).
14345 (view-buffer): Simplify.
14346
14347 * frame.el (set-frame-font): Tweak meaning of third argument.
14348
14349 * dynamic-setting.el (font-setting-change-default-font):
14350 Use set-frame-font (Bug#9982).
14351
14352 2012-02-01 Glenn Morris <rgm@gnu.org>
14353
14354 * progmodes/compile.el (compilation-internal-error-properties):
14355 Respect compilation-first-column in the "*compilation*" buffer.
14356
14357 * emacs-lisp/easy-mmode.el (define-minor-mode):
14358 Relax :variable's test for a named function.
14359
14360 2012-01-31 Alan Mackenzie <acm@muc.de>
14361
14362 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
14363 off by one error.
14364
14365 2012-01-31 Chong Yidong <cyd@gnu.org>
14366
14367 * frame.el (set-frame-font): New arg ALL-FRAMES.
14368
14369 * menu-bar.el (menu-set-font): Use set-frame-font.
14370
14371 * faces.el (face-spec-reset-face): Don't apply unspecified
14372 attribute values to the default face.
14373
14374 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
14375
14376 * progmodes/cwarn.el (cwarn): Remove dead link.
14377 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
14378 Remove * from defcustom docstrings.
14379 (turn-on-cwarn-mode): Make obsolete.
14380 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
14381 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
14382
14383 2012-01-31 Glenn Morris <rgm@gnu.org>
14384
14385 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
14386 Fix :variable handling of mode a symbol not equal to modefun.
14387 Allow named functions to be used as the cdr of :variable.
14388
14389 2012-01-30 Glenn Morris <rgm@gnu.org>
14390
14391 * emacs-lisp/authors.el (authors-fixed-entries):
14392 Remove reference to deleted file rnewspost.el.
14393
14394 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
14395
14396 * window.el (window-with-parameter): Remove unused variable `windows'.
14397 (window--side-check): Remove unused variable `code'.
14398 (window--resize-siblings): Remove unused variable `first'.
14399 (adjust-window-trailing-edge): Remove unused variable `failed'.
14400 (window-deletable-p, window--delete): Remove unused variable `buffer'.
14401 Use `let', not `let*'.
14402 (balance-windows-2): Remove unused variable `found'.
14403 (window--state-put-2): Remove unused variable `splits'.
14404 (window-state-put): Remove unused variable `selected'.
14405 (same-window-p): Use `string-match-p'.
14406 (display-buffer-assq-regexp): Remove unused variable `value'.
14407 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14408 Mark argument ALIST as ignored.
14409 (pop-to-buffer): Remove unused variable `old-window'.
14410
14411 2012-01-29 Eli Zaretskii <eliz@gnu.org>
14412
14413 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
14414 and .lzma compressed files.
14415
14416 2012-01-29 Chong Yidong <cyd@gnu.org>
14417
14418 * frame.el (window-system-default-frame-alist): Doc fix.
14419
14420 * dynamic-setting.el (font-setting-change-default-font): Don't
14421 change the default face if SET-FONT argument is non-nil (Bug#9982).
14422
14423 2012-01-29 Samuel Bronson <naesten@gmail.com>
14424
14425 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
14426
14427 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
14428
14429 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
14430 breakpoints in files outside current directory (Bug#6098).
14431
14432 2012-01-29 Chong Yidong <cyd@gnu.org>
14433
14434 * progmodes/python.el: Require ansi-color at top-level.
14435
14436 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
14437 Define and use in Emacs Lisp mode (Bug#9360).
14438 (lisp-mode-abbrev-table): Add doc.
14439 (lisp-mode-variables): Don't set local-abbrev-table.
14440 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
14441
14442 2012-01-28 Roland Winkler <winkler@gnu.org>
14443
14444 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
14445
14446 2012-01-28 Roland Winkler <winkler@gnu.org>
14447
14448 * textmodes/bibtex.el (bibtex-entry-alist): New function.
14449 (bibtex-set-dialect): Use it. Either set global values of
14450 dialect-dependent variables or bind these variables buffer-locally
14451 (Bug#10254).
14452 (bibtex-mode): Call bibtex-set-dialect via
14453 hack-local-variables-hook.
14454 (bibtex-dialect): Update docstring.
14455 Add safe-local-variable predicate.
14456 (bibtex-entry-alist, bibtex-field-alist): Initialize via
14457 bibtex-set-dialect.
14458 (bibtex-mode-map): Define menu for each dialect.
14459 (bibtex-entry): Fix docstring.
14460
14461 2012-01-28 Chong Yidong <cyd@gnu.org>
14462
14463 * eshell/esh-arg.el (eshell-quote-argument): New function.
14464
14465 * eshell/esh-ext.el (eshell-invoke-batch-file):
14466 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
14467 first arg to eshell-parse-command (Bug#10523).
14468
14469 2012-01-28 Drew Adams <drew.adams@oracle.com>
14470
14471 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
14472 `default-directory' is non-nil.
14473
14474 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14475
14476 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
14477 line that displays system-configuration-options. (Bug#9924)
14478
14479 2012-01-28 Drew Adams <drew.adams@oracle.com>
14480
14481 * descr-text.el (describe-char): Show information about POS, in
14482 addition to information about the character at POS. Improve and
14483 update the doc string. Change "code point" to "code point in
14484 charset", to avoid confusion with the character's Unicode code
14485 point shown above that. (Bug#10129)
14486
14487 2012-01-28 Eli Zaretskii <eliz@gnu.org>
14488
14489 * descr-text.el (describe-char): Show the raw character, not only
14490 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
14491 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
14492 for the reasons.
14493
14494 2012-01-28 Phil Hagelberg <phil@hagelb.org>
14495
14496 * emacs-lisp/package.el (package-install):
14497 Run package-refresh-contents if there is no archive yet (Bug#9798).
14498
14499 2012-01-28 Chong Yidong <cyd@gnu.org>
14500
14501 * emacs-lisp/package.el (package-maybe-load-descriptor):
14502 New function, split from package-maybe-load-descriptor.
14503 (package-maybe-load-descriptor): Use it.
14504 (package-download-transaction): Fully load required packages
14505 inside the loop, so that `require' calls work (Bug#10593).
14506 (package-install): No need to call package-initialize now.
14507
14508 2012-01-28 Chong Yidong <cyd@gnu.org>
14509
14510 * simple.el (deactivate-mark): Doc fix (Bug#8614).
14511
14512 * tooltip.el (tooltip-mode): Doc fix.
14513 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
14514
14515 * frame.el (set-cursor-color): Doc fix (Bug#352).
14516
14517 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
14518 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
14519
14520 * cus-edit.el (custom-buffer-create-internal): Fix search button
14521 action (Bug#10542).
14522 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
14523
14524 2012-01-27 Eduard Wiebe <usenet@pusto.de>
14525
14526 * dired.el (dired-mark-files-regexp):
14527 Include any subdirectory components. (Bug#10445)
14528
14529 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
14530
14531 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
14532 Handle [host]:port syntax. (Bug#10533)
14533
14534 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
14535
14536 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
14537
14538 2012-01-26 Glenn Morris <rgm@gnu.org>
14539
14540 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
14541 * term.el (term-raw-escape-map): Use Control-X-prefix.
14542 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
14543
14544 2012-01-25 Martin Rudalics <rudalics@gmx.at>
14545
14546 * window.el (window-state-get, window--state-get-1): Don't deal
14547 with fixed-sizeness of windows. Simplify code.
14548
14549 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
14550
14551 * window.el (window--state-get-1, window--state-put-2):
14552 Don't save and restore the mark.
14553
14554 2012-01-25 Chong Yidong <cyd@gnu.org>
14555
14556 * custom.el (custom-variable-p): Doc fix.
14557
14558 2012-01-25 Glenn Morris <rgm@gnu.org>
14559
14560 * dired.el (dired-goto-file): Handle some of the more common
14561 characters that `ls -b' escapes. (Bug#10596)
14562
14563 * progmodes/compile.el (compilation-next-error-function):
14564 Respect compilation-first-column in the "*compilation*" buffer.
14565 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
14566
14567 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
14568
14569 2012-01-24 Glenn Morris <rgm@gnu.org>
14570
14571 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
14572
14573 2012-01-24 Julien Danjou <julien@danjou.info>
14574
14575 * color.el (color-rgb-to-hsl): Fix value computing.
14576 (color-hue-to-rgb): New function.
14577 (color-hsl-to-rgb): New function.
14578 (color-clamp, color-saturate-hsl, color-saturate-name)
14579 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
14580 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
14581
14582 2012-01-24 Glenn Morris <rgm@gnu.org>
14583
14584 * vc/vc-rcs.el (vc-rcs-create-tag):
14585 * vc/vc-sccs.el (vc-sccs-create-tag):
14586 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
14587
14588 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
14589
14590 * eshell/esh-util.el (eshell-read-hosts-file):
14591 Skip comment lines. (Bug#10549)
14592
14593 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
14594
14595 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
14596
14597 * subr.el (display-delayed-warnings): Doc fix.
14598 (collapse-delayed-warnings): New function to collapse identical
14599 adjacent warnings.
14600 (delayed-warnings-hook): Add it.
14601
14602 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
14603
14604 * net/tramp.el (tramp-action-login): Set connection property "login-as".
14605
14606 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
14607 (tramp-default-user-alist): Don't add "pscp".
14608 (tramp-do-copy-or-rename-file-out-of-band): Use connection
14609 property "login-as", if set. (Bug#10530)
14610
14611 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
14612
14613 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
14614 "plink1" and "psftp". (Bug#10530)
14615
14616 2012-01-21 Kenichi Handa <handa@m17n.org>
14617
14618 * international/mule-cmds.el (prefer-coding-system): Show a
14619 warning message if the default value of file-name-coding-system
14620 was not changed.
14621
14622 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
14623
14624 * windmove.el (windmove-reference-loc):
14625 Fix windmove-reference-loc miscalculation.
14626
14627 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
14628
14629 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
14630 default unit.
14631
14632 2012-01-21 Glenn Morris <rgm@gnu.org>
14633
14634 * international/mule.el (auto-coding-alist): Add .tbz.
14635
14636 * files.el (local-enable-local-variables): Doc fix.
14637 (inhibit-local-variables-regexps): Rename from
14638 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
14639 Doc fix. Add some extensions from auto-coding-alist.
14640 (inhibit-local-variables-suffixes):
14641 Rename from inhibit-first-line-modes-suffixes. Doc fix.
14642 (inhibit-local-variables-p):
14643 New function, extracted from set-auto-mode-1.
14644 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
14645 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
14646 (hack-local-variables): Doc fix. Make the mode-only case
14647 respect enable-local-variables and friends.
14648 Respect inhibit-local-variables-regexps for file-locals, but
14649 not for directory-locals.
14650 (set-visited-file-name):
14651 Take account of inhibit-local-variables-regexps.
14652 Whether it applies may change as the file name is changed.
14653 * jka-cmpr-hook.el (jka-compr-install):
14654 * jka-compr.el (jka-compr-uninstall):
14655 Update for inhibit-first-line-modes-suffixes name change.
14656
14657 2012-01-20 Martin Rudalics <rudalics@gmx.at>
14658
14659 * help-macro.el (make-help-screen): Temporarily restore original
14660 binding for minor-mode-map-alist (Bug#10454).
14661
14662 2012-01-19 Julien Danjou <julien@danjou.info>
14663
14664 * color.el (color-name-to-rgb): Use the white color to find the max
14665 color component value and return correctly computed values.
14666 (color-name-to-rgb): Add missing float conversion for max value.
14667
14668 2012-01-19 Martin Rudalics <rudalics@gmx.at>
14669
14670 * window.el (window--state-get-1, window-state-get): Do not use
14671 special state value for window-persistent-parameters.
14672 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
14673 (window--state-put-2): Reset all window parameters to nil before
14674 assigning values of persistent parameters.
14675
14676 2012-01-18 Alan Mackenzie <acm@muc.de>
14677
14678 Eliminate sluggishness and hangs in fontification of "semicolon
14679 deserts".
14680
14681 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
14682 Change value 10000 -> 3000.
14683 (c-state-safe-place): Reformulate so it doesn't stack up an
14684 infinite number of wrong entries in c-state-nonlit-pos-cache.
14685 (c-determine-limit-get-base, c-determine-limit): New functions to
14686 determine backward search limits disregarding literals.
14687 (c-find-decl-spots): Amend commenting.
14688 (c-cheap-inside-bracelist-p): New function which detects "={".
14689
14690 * progmodes/cc-fonts.el
14691 (c-make-font-lock-BO-decl-search-function): Give a limit to a
14692 backward search.
14693 (c-font-lock-declarations): Fix an occurrence of point being
14694 undefined. Check additionally for point being in a bracelist or
14695 near a macro invocation without a semicolon so as to avoid a
14696 fruitless time consuming search for a declarator. Give a more
14697 precise search limit for declarators using the new
14698 c-determine-limit.
14699
14700 2012-01-18 Glenn Morris <rgm@gnu.org>
14701
14702 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
14703 (set-auto-mode): Doc fixes.
14704
14705 2012-01-17 Glenn Morris <rgm@gnu.org>
14706
14707 * isearch.el (search-nonincremental-instead): Fix doc typo.
14708
14709 * dired.el (dired-insert-directory): Handle newlines in directory name.
14710 (dired-build-subdir-alist): Unescape newlines in directory name.
14711
14712 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
14713
14714 * net/tramp.el (tramp-local-end-of-line): New defcustom.
14715 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
14716 (tramp-action-terminal): Use it. (Bug#10530)
14717
14718 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
14719
14720 * minibuffer.el (completion--replace): Strip properties (bug#10062).
14721
14722 2012-01-16 Martin Rudalics <rudalics@gmx.at>
14723
14724 * window.el (window-state-ignored-parameters): Remove variable.
14725 (window--state-get-1): Rename argument MARKERS to IGNORE.
14726 Handle persistent window parameters. Make copy of clone-of
14727 parameter only if requested. (Bug#10348)
14728 (window--state-put-2): Install a window parameter only if it has
14729 a non-nil value or an existing parameter shall be overwritten.
14730
14731 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
14732
14733 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
14734
14735 2012-01-14 Eli Zaretskii <eliz@gnu.org>
14736
14737 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
14738 don't pass the (nil) value of `upnode' to string-match.
14739
14740 2012-01-14 Chong Yidong <cyd@gnu.org>
14741
14742 * startup.el (command-line): Fix X resource class for cursorColor.
14743 Fix values recognized by the cursorBlink resource.
14744
14745 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
14746
14747 * epg.el (epg--make-temp-file): Avoid permission race condition
14748 when running on old Emacs versions (bug#10403).
14749
14750 2012-01-14 Glenn Morris <rgm@gnu.org>
14751
14752 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
14753
14754 2012-01-13 Alan Mackenzie <acm@muc.de>
14755
14756 Fix filling for when filladapt mode is enabled.
14757
14758 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
14759 c-mask-paragraph, pass in `fill-paragraph' rather than
14760 `fill-region-as-paragraph'. (This is a reversion of a previous
14761 change.)
14762 * progmodes/cc-mode.el (c-basic-common-init):
14763 Make fill-paragraph-handle-comment buffer local and set it to nil.
14764
14765 2012-01-13 Glenn Morris <rgm@gnu.org>
14766
14767 * dired.el (dired-switches-escape-p): New function.
14768 (dired-insert-directory): Use dired-switches-escape-p.
14769 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
14770
14771 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
14772
14773 2012-01-12 Glenn Morris <rgm@gnu.org>
14774
14775 * mail/sendmail.el (mail-mode): Update paragraph-separate for
14776 changes in adaptive-fill-regexp. (Bug#10276)
14777
14778 2012-01-11 Alan Mackenzie <acm@muc.de>
14779
14780 Fix Emacs bug #10463 - put `widen's around the critical spots.
14781
14782 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
14783 widen around each invocation of c-state-pp-to-literal. Remove an
14784 unused let variable.
14785
14786 2012-01-11 Glenn Morris <rgm@gnu.org>
14787
14788 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
14789 Doc fix.
14790
14791 2012-01-10 Chong Yidong <cyd@gnu.org>
14792
14793 * net/network-stream.el (network-stream-open-starttls):
14794 Avoid emitting a confusing error message when the server gives a bad
14795 response to the capability command.
14796
14797 2012-01-10 Glenn Morris <rgm@gnu.org>
14798
14799 * mail/unrmail.el (unrmail): Tweak previous change.
14800
14801 2012-01-09 Chong Yidong <cyd@gnu.org>
14802
14803 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
14804
14805 2012-01-08 Alan Mackenzie <acm@muc.de>
14806
14807 Optimize font locking in long enum definitions.
14808
14809 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
14810 arm to a cond form to handle enums.
14811 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
14812 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
14813
14814 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
14815
14816 * files.el (move-file-to-trash): Preserve default file modes on error.
14817 (Bug#10401)
14818
14819 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
14820
14821 * faces.el (set-face-attribute): Clarify the meaning of the nil
14822 frame (bug#10294).
14823
14824 * subr.el (with-selected-frame): Mention that the selected frame
14825 is restored (bug#9980).
14826
14827 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
14828 (bug#9759).
14829
14830 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
14831 (password-read): Don't autoload unused function.
14832
14833 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
14834
14835 * progmodes/which-func.el (which-func-mode): Turn into a
14836 non-interactive function and mark as obsolete (bug#10428).
14837
14838 2012-01-06 Chong Yidong <cyd@gnu.org>
14839
14840 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
14841 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
14842 functions, along with 1 and -1.
14843
14844 2012-01-06 Eli Zaretskii <eliz@gnu.org>
14845
14846 * time.el (display-time-load-average)
14847 (display-time-default-load-average): Doc fixes. See the thread
14848 starting at
14849 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
14850 for the details.
14851
14852 2012-01-06 Glenn Morris <rgm@gnu.org>
14853
14854 * mail/unrmail.el (unrmail): Give an explicit error if the input file
14855 has no messages. (Bug#10377)
14856
14857 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
14858 than Info-edit. (Bug#10385)
14859
14860 * time.el (display-time-load-average, display-time-next-load-average):
14861 Doc fixes.
14862
14863 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
14864 local setting of buffer-read-only to the input buffer. (Bug#10419)
14865
14866 * calendar/calendar.el (calendar-mode):
14867 Locally set scroll-margin to 0. (Bug#10379)
14868
14869 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
14870
14871 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
14872
14873 2012-01-05 Glenn Morris <rgm@gnu.org>
14874
14875 * eshell/em-unix.el (diff-no-select): Autoload it.
14876 (eshell/diff): Use diff-no-select. (Bug#10420)
14877
14878 2012-01-05 Chong Yidong <cyd@gnu.org>
14879
14880 * shell.el (shell-dynamic-complete-functions): Revert last change.
14881 (shell-command-completion-function): New function.
14882 (shell-completion-vars): Use it to implement
14883 shell-completion-execonly (Bug#10417).
14884
14885 * custom.el (enable-theme): Don't set custom-safe-themes.
14886
14887 * cus-theme.el (custom-theme-merge-theme):
14888 Ignore custom-enabled-themes and custom-safe-themes.
14889
14890 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
14891
14892 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
14893 first prompt in `sql-interacive-mode'.
14894 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
14895 keywords.
14896 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
14897 (sql-product-interactive): Bug fix: Set `sql-buffer' in
14898 context of original buffer. Invoke `sql-login-hook'.
14899
14900 2012-01-04 Eli Zaretskii <eliz@gnu.org>
14901
14902 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
14903 letters in cite-prefix.
14904
14905 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14906
14907 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
14908
14909 2012-01-03 Chong Yidong <cyd@gnu.org>
14910
14911 * shell.el (shell-dynamic-complete-functions):
14912 Put pcomplete-completions-at-point, so as to try
14913 comint-filename-completion first (Bug#10417).
14914
14915 2012-01-02 Richard Stallman <rms@gnu.org>
14916
14917 * battery.el (battery-status-function):
14918 Detect when to use battery-yeeloong-sysfs.
14919 (battery-echo-area-format): Add string for Yeeloong.
14920 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
14921 (battery-yeeloong-sysfs): New function.
14922
14923 2012-01-02 Chong Yidong <cyd@gnu.org>
14924
14925 * dirtrack.el (dirtrack-list): Eliminate unused third element.
14926 (dirtrack): Merge code for handling relative filenames in prompt
14927 from shell-dir-cookie-watcher.
14928 (dirtrack-debug-message): New arg to avoid excess format calls.
14929
14930 * shell.el (shell-dir-cookie-re): Variable deleted.
14931 (shell-dir-cookie-watcher): Function deleted.
14932 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
14933 with dirtrack-mode.
14934
14935 2012-01-01 Eli Zaretskii <eliz@gnu.org>
14936
14937 * term/w32-win.el (dynamic-library-alist) <gnutls>:
14938 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
14939 libgnutls-26.dll.
14940
14941 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
14942
14943 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
14944
14945 2011-12-31 Eli Zaretskii <eliz@gnu.org>
14946
14947 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
14948 headers of non-MIME messages, when rmail-enable-mime is non-nil.
14949
14950 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
14951
14952 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
14953 also for alternative shells.
14954 (tramp-open-connection-setup-interactive-shell): Check, whether
14955 the shell is a busybox.
14956 (tramp-send-command): Don't suppress multiple prompts for
14957 busyboxes, it hurts.
14958
14959 2011-12-28 Chong Yidong <cyd@gnu.org>
14960
14961 * progmodes/gdb-mi.el (gdb-get-source-file-list)
14962 (gdb-get-source-file): Move mode line update to
14963 gdb-get-source-file (Bug#10087).
14964
14965 2011-12-25 Chong Yidong <cyd@gnu.org>
14966
14967 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
14968 gud-gdb-marker-filter without taking it as an argument.
14969 (gud-gdb-run-command-fetch-lines): Caller changed.
14970 (gud-gdb-completion-function): New variable.
14971 (gud-gdb-completion-at-point): Use it.
14972 (gud-gdb-completions-1): Split from gud-gdb-completions.
14973
14974 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
14975 function as separate arguments.
14976 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
14977 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
14978 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
14979 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
14980 (gdb-stopped, def-gdb-auto-update-trigger)
14981 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
14982 (gdb-get-changed-registers, gdb-get-main-selected-frame):
14983 Callers changed.
14984 (gud-gdbmi-completions): New function.
14985 (gdb): Use it for generating the completion table.
14986
14987 2011-12-24 Alan Mackenzie <acm@muc.de>
14988
14989 Introduce a mechanism to widen the region used in context font
14990 locking. Use this to protect declarations from losing their contexts.
14991
14992 * progmodes/cc-langs.el (c-before-font-lock-functions):
14993 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
14994 (c-before-context-fontification-functions): New defvar, a list of
14995 functions to be run just before context (etc.) font locking.
14996
14997 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
14998 New, functionality extracted from
14999 c-neutralize-syntax-in-and-mark-CPP.
15000 (c-in-after-change-fontification): New variable.
15001 (c-after-change): Set c-in-after-change-fontification.
15002 (c-set-fl-decl-start): Rejig its interface, so it can be called
15003 from both after-change and context fontifying.
15004 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
15005 New functions.
15006 (c-standard-font-lock-fontify-region-function): New variable.
15007 (c-font-lock-fontify-region): New function.
15008
15009 2011-12-24 Juri Linkov <juri@jurta.org>
15010
15011 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
15012 (Bug#10348)
15013
15014 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
15015
15016 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
15017 existence of source file. (Bug#10325)
15018
15019 2011-12-23 Alan Mackenzie <acm@muc.de>
15020
15021 Fix unstable fontification inside templates.
15022
15023 * progmodes/cc-langs.el (c-before-font-lock-functions):
15024 Newly created from the singular version. The (c c++ objc) entry now
15025 additionally has c-set-fl-decl-start. The other languages (apart
15026 from AWK) have that as a single entry.
15027
15028 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15029 The functionality for "local" declarations has been extracted to
15030 c-set-fl-decl-start.
15031
15032 * progmodes/cc-mode.el (c-common-init, c-after-change):
15033 Changes due to pluralisation of c-before-font-lock-functions.
15034 (c-set-fl-decl-start): New function, extracted from
15035 c-font-lock-enclosing-decls and enhanced.
15036
15037 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
15038
15039 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
15040
15041 2011-12-22 Juri Linkov <juri@jurta.org>
15042
15043 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
15044
15045 2011-12-22 Chong Yidong <cyd@gnu.org>
15046
15047 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
15048
15049 2011-12-21 Drew Adams <drew.adams@oracle.com>
15050
15051 * files.el (file-remote-p): Fix docstring. (Bug#10319)
15052
15053 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15054
15055 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
15056
15057 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
15058
15059 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
15060 highlighting and support. Fix up comments for capitalization.
15061 (cfengine-mode-debug): New var.
15062 (cfengine3-mode): Change the modeline indicator to "CFE3".
15063 (cfengine3-font-lock-keywords): Improve defun highlighting.
15064 (cfengine2-actions): Rename from `cfengine-actions'.
15065 (cfengine2-font-lock-keywords): Rename from
15066 `cfengine-font-lock-keywords'.
15067 (cfengine2-imenu-expression): Rename from
15068 `cfengine-imenu-expression'.
15069 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
15070 (cfengine2-beginning-of-defun): Rename from
15071 `cfengine-beginning-of-defun'.
15072 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
15073 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
15074 (cfengine2-mode): Rename from `cfengine-mode'. Change the
15075 modeline indicator to "CFE2".
15076 (cfengine-mode): Defalias to `cfengine-auto-mode'.
15077 (cfengine-mode-abbrevs): Mark obsolete.
15078
15079 2011-12-21 Chong Yidong <cyd@gnu.org>
15080
15081 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
15082 filename argument.
15083
15084 2011-12-20 Martin Rudalics <rudalics@gmx.at>
15085
15086 * window.el (window-normalize-buffer-to-display): Remove.
15087 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
15088
15089 2011-12-19 Chong Yidong <cyd@gnu.org>
15090
15091 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
15092 Don't signal an error in a predicate function; return non-nil.
15093 (vc-dir-mark-file): Move the error here.
15094 (vc-dir-mark-unmark): If acting on the region, keep going if one
15095 of the entries cannot be marked/unmarked.
15096 (vc-dir-mark-all-files): If current entry is a directory, mark
15097 only child files, as documented.
15098
15099 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
15100
15101 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
15102 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
15103 addition.
15104
15105 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
15106
15107 * term/ns-win.el (ns-get-selection-internal)
15108 (ns-store-selection-internal): Declare.
15109 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
15110 Declare as obsolete.
15111 (ns-get-pasteboard, ns-paste-secondary):
15112 Use ns-get-selection-internal.
15113 (ns-set-pasteboard, ns-copy-including-secondary):
15114 Use ns-store-selection-internal.
15115
15116 2011-12-17 Chong Yidong <cyd@gnu.org>
15117
15118 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
15119 (vc-deduce-fileset): Doc fix.
15120
15121 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
15122
15123 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
15124
15125 2011-12-13 Sam Steingold <sds@gnu.org>
15126
15127 * man.el (Man-getpage-in-background): When running under a
15128 window-system, ignore $MANWIDTH and $COLUMNS.
15129
15130 2011-12-15 Kenichi Handa <handa@m17n.org>
15131
15132 * language/ethio-util.el: Change coding tag to utf-8-emacs.
15133 (setup-ethiopic-environment-internal): Comment out key-binding for
15134 ethio-toggle-punctuation.
15135
15136 2011-12-13 Alan Mackenzie <acm@muc.de>
15137
15138 Add the switch statement to AWK Mode.
15139
15140 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
15141 "default" to the keywords regexp.
15142
15143 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
15144 expression as the rest.
15145 (c-nonlabel-token-key): Allow string literals for AWK.
15146 Refactor for the other modes.
15147
15148 Large brace-block initialisation makes CC Mode slow: Fix.
15149 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
15150 routines. Limit backward searching in c-font-lock-enclosing.decl.
15151
15152 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
15153 pp-state and literal type in addition to the limits.
15154 (c-state-safe-place): New defun, extracted from c-state-literal-at.
15155 (c-state-literal-at): Use the above new defun.
15156 (c-slow-in-literal, c-fast-in-literal): Remove.
15157 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
15158
15159 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
15160 being in a literal. Add a limit for backward searching.
15161
15162 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
15163 c-slow-in-literal.
15164
15165 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
15166
15167 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
15168
15169 2011-12-13 Martin Rudalics <rudalics@gmx.at>
15170
15171 * window.el (delete-other-windows): Use correct frame in call to
15172 window-with-parameter.
15173
15174 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
15175
15176 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
15177 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
15178 (makefile-gmake-statements, makefile-makepp-statements):
15179 Use it and add new makepp keywords.
15180 (makefile-makepp-font-lock-keywords): Add new patterns.
15181 (makefile-match-function-end): Match new [...] and [[...]].
15182
15183 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
15184
15185 * ses.el (ses-call-printer-return, ses-cell-property-get)
15186 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
15187 (ses-create-cell-variable, ses-reset-header-string)
15188 (ses-cell-set-formula, ses-repair-cell-reference-all)
15189 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
15190 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
15191 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
15192 (ses-aset-with-undo, ses-load, ses-truncate-cell)
15193 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
15194 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
15195 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
15196 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
15197 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
15198 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
15199 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
15200 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
15201
15202 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
15203
15204 * ses.el: The overall change is to add cell renaming, that is
15205 setting fancy names for cell symbols other than name matching
15206 "\\`[A-Z]+[0-9]+\\'" regexp .
15207 (ses-create-cell-variable): New defun.
15208 (ses-relocate-formula): Relocate formulas only for cells the
15209 symbols of which are not renamed, i.e. symbols whose names do not
15210 match regexp "\\`[A-Z]+[0-9]+\\'".
15211 (ses-relocate-all): Relocate values only for cells the symbols of
15212 which are not renamed.
15213 (ses-load): Create cells variables as the (ses-cell ...) are read,
15214 in order to check row col consistency with cell symbol name only
15215 for cells that are not renamed.
15216 (ses-replace-name-in-formula): New defun.
15217 (ses-rename-cell): New defun.
15218
15219 2011-12-11 Chong Yidong <cyd@gnu.org>
15220
15221 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
15222 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
15223
15224 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
15225
15226 * window.el (other-window): Fix docstring.
15227
15228 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15229
15230 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
15231 `from' or `to' address before taking its substring.
15232 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
15233 encoded name is chopped in the middle of the encoded string, and
15234 thus displayed encoded.
15235
15236 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
15237
15238 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
15239
15240 2011-12-10 Eli Zaretskii <eliz@gnu.org>
15241
15242 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
15243 to use texinfo-update-node and commands that call it if the
15244 Texinfo file uses @node lines without next/prev/up pointers.
15245 Correct outdated description about texinfo-master-menu.
15246 (texinfo-all-menus-update, texinfo-master-menu)
15247 (texinfo-update-node, texinfo-every-node-update)
15248 (texinfo-multiple-files-update): Doc fix. Warn against updating
15249 all the @node lines.
15250 (texinfo-master-menu): Only call texinfo-update-node if the prefix
15251 argument is numeric. Explain better in the doc string what the
15252 function really does.
15253 (texinfo-insert-master-menu-list): Improve the error message
15254 displayed if there's no menu in the Top node.
15255 (Bug#2975) See also this thread:
15256 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
15257
15258 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
15259
15260 * speedbar.el (speedbar-supported-extension-expressions):
15261 Add .adb and .ads, commonly used for Ada source code (bug#10256).
15262
15263 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
15264
15265 * printing.el (pr-mode-alist):
15266 * simple.el (filter-buffer-substring-functions)
15267 (completion-list-insert-choice-function):
15268 * window.el (window-with-parameter, window-atom-root)
15269 (window-sides-slots, window-size-fixed, window-min-delta)
15270 (window-max-delta, window--resize-mini-window)
15271 (window--resize-child-windows-normal, window-tree)
15272 (delete-other-windows, quit-window, split-window)
15273 (display-buffer-record-window, special-display-buffer-names)
15274 (special-display-regexps, special-display-popup-frame)
15275 (same-window-p, split-window-sensibly)
15276 (display-buffer-overriding-action, display-buffer-alist)
15277 (display-buffer-base-action, display-buffer, switch-to-buffer)
15278 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
15279 (fit-window-to-buffer, recenter-positions)
15280 (mouse-autoselect-window-state, mouse-autoselect-window-select):
15281 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
15282 and remove unneeded backslashes in docstrings.
15283
15284 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
15285
15286 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
15287
15288 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
15289 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
15290 end in ".mk".
15291 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
15292 when reading the makefile (bug#10116).
15293
15294 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
15295
15296 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
15297 (bug#10116).
15298
15299 2011-12-06 Glenn Morris <rgm@gnu.org>
15300
15301 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
15302
15303 2011-12-06 Chong Yidong <cyd@gnu.org>
15304
15305 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
15306
15307 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
15308
15309 * textmodes/table.el (table-shorten-cell): Fix typo.
15310
15311 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
15312
15313 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
15314
15315 2011-12-05 Eli Zaretskii <eliz@gnu.org>
15316
15317 * descr-text.el (describe-char): Fix display of strong
15318 right-to-left characters and directional embeddings and overrides.
15319
15320 * simple.el (what-cursor-position): Fix display of codepoints of
15321 strong right-to-left characters.
15322
15323 2011-12-05 Chong Yidong <cyd@gnu.org>
15324
15325 * faces.el (read-color): Doc fix.
15326
15327 2011-12-05 Glenn Morris <rgm@gnu.org>
15328
15329 * align.el (align--set-marker): Add doc-string.
15330 Don't try to move something that is not a marker. (Bug#10216)
15331
15332 2011-12-04 Glenn Morris <rgm@gnu.org>
15333
15334 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
15335 overly zealous deletion of trailing whitespace.
15336
15337 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
15338
15339 * server.el (server-delete-client): On Windows, do not try to delete
15340 the only terminal.
15341 (server-process-filter): On Windows, treat requests for a tty frame as
15342 if they were for a GUI frame if the running server is in GUI mode.
15343
15344 2011-12-03 Glenn Morris <rgm@gnu.org>
15345
15346 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
15347
15348 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
15349
15350 * electric.el: Streamline electric-indent's hook.
15351 (electric-indent-chars): Revert to simple list.
15352 (electric-indent-functions): New var.
15353 (electric-indent-post-self-insert-function): Use it.
15354
15355 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
15356 there's no inferior buffer (bug#10196).
15357 (prolog-consult-compile): Don't use toggle-read-only.
15358
15359 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
15360
15361 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
15362 interrupt. (Bug#10187)
15363
15364 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
15365
15366 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
15367 (bug#9160).
15368
15369 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
15370 (bug#10191).
15371
15372 2011-12-02 Juri Linkov <juri@jurta.org>
15373
15374 * info.el (Info-search): Display "end of manual" when Isearch
15375 reaches the end of single-file Info manual. (Bug#9918)
15376
15377 2011-12-02 Eli Zaretskii <eliz@gnu.org>
15378
15379 * isearch.el (isearch-message-prefix): Run the input method part
15380 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
15381
15382 2011-12-02 Juri Linkov <juri@jurta.org>
15383
15384 * isearch.el (isearch-occur): Use `word-search-regexp' for
15385 `isearch-word'.
15386 (isearch-search-and-update): Add condition for `isearch-word' and
15387 call `word-search-regexp'. (Bug#10145)
15388
15389 2011-12-01 Glenn Morris <rgm@gnu.org>
15390
15391 * eshell/em-hist.el (eshell-hist-initialize):
15392 Handle eshell-history-size nil and HISTSIZE set or unset.
15393 (eshell-history-file-name, eshell-history-size): Fix custom type.
15394
15395 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
15396
15397 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
15398
15399 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
15400
15401 * progmodes/verilog-mode.el (verilog-pretty-expr):
15402 Rework verilog-pretty-expr to handle new assignment operators in system
15403 verilog, such as += *= and the like.
15404 (verilog-assignment-operator-re): Regular expression to find the
15405 assigment operator in a verilog assignment.
15406 (verilog-assignment-operation-re): Regular expression to find an
15407 assignment statement for pretty-expr.
15408 (verilog-in-attribute-p): Query returns true if point is in an
15409 attribute context; used to skip these for expression line up from
15410 pretty-expr.
15411 (verilog-in-parameter-p): Query returns true if point is in an
15412 parameter definition context; used to skip these for expression
15413 line up from pretty-expr.
15414 (verilog-in-parenthesis-p): Query returns true if point is in a
15415 parenthetical expression, specifically ( ) but not [ ] or { };
15416 used by pretty-expr.
15417 (verilog-just-one-space): If there is no space, don't add one.
15418 (verilog-get-lineup-indent-2): Specifically skip just attribute
15419 contexts for expression lineup, rather than skipping all
15420 parenthetical expressions.
15421 (verilog-calculate-indent): Fix comment, and fix indent.
15422 (verilog-do-indent): Indent declarations in lists (suggested by
15423 Joachim Lechner).
15424 (verilog-mode-abbrev-table): Populate abbrev mode with the various
15425 skeleton items.
15426 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
15427 by Alain Mellan).
15428
15429 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
15430
15431 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
15432 parameters with embedded comments. Reported by Ray Stevens.
15433 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
15434 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
15435 Reported by Tim Holt.
15436 (verilog-auto): Fix AUTOing a upper module then AUTOing module
15437 instantiated by upper module causing wrong expansion until AUTOed a
15438 second time. Reported by K C Buckenmaier.
15439 (verilog-diff-auto): Fix showing .* as a difference when
15440 `verilog-auto-star-save' off. Reported by Dan Dever.
15441 (verilog-auto-reset, verilog-read-always-signals)
15442 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
15443 temporary signals in reset list if
15444 verilog-auto-reset-blocking-in-non is nil, and match assignment
15445 style to each signal's assignment type, bug381.
15446 Reported by Thomas Esposito.
15447 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
15448 (verilog-uvm-statement-re): Support UVM indentation and
15449 highlighting, with old OVM keywords only.
15450 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
15451 Support AUTOTIEOFF creating non-wire data types.
15452 Suggested by Jonathan Greenlaw.
15453 (verilog-auto-insert-lisp, verilog-delete-to-paren)
15454 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
15455 (verilog-inject-sense, verilog-read-inst-pins)
15456 (verilog-read-sub-decls, verilog-read-sub-decls-line):
15457 Fix mismatching parenthesis inside commented out code when deleting
15458 AUTOINST, bug383. Reported by Jonathan Greenlaw.
15459 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
15460 non-numeric vector width. Reported by Alex Reed.
15461 (verilog-auto-ascii-enum): Add "onehot" option to work around not
15462 detecting signals with parameter widths. Reported by Alex Reed.
15463 (verilog-auto-delete-trailing-whitespace):
15464 With `verilog-auto-delete-trailing-whitespace' remove trailing
15465 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
15466 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
15467 Fix verilog-scan-cache corruption when running user AUTO expansion
15468 hooks that call indentation routines.
15469 (verilog-simplify-range-expression): Fix typo ignoring lower case
15470 identifiers.
15471 (verilog-delete-auto): Fix delete-autos to also remove user created
15472 automatics, as long as they start with AUTO.
15473 (verilog-batch-diff-auto, verilog-diff-auto)
15474 (verilog-diff-function): Add `verilog-diff-auto' and bind to
15475 "C-c?" to report differences in AUTO expansion, ignoring spaces.
15476 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
15477 (verilog-in-paren-quick, verilog-re-search-backward-quick)
15478 (verilog-re-search-forward-quick, verilog-syntax-ppss):
15479 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
15480 is disabled and its cache will get corrupt, causing AUTOS not to
15481 expand. Instead use only -quick functions.
15482 (verilog-scan-region): Fix scanning over escaped quotes.
15483 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
15484 (verilog-re-search-backward-quick)
15485 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
15486 related functions now ignore strings, to fix misparsing of strings
15487 with magic comments embedded in them.
15488 (verilog-read-auto-template):
15489 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
15490 Reported by Brad Dobbie.
15491 (verilog-read-auto-template):
15492 Fix 'verilog-auto-inst-template-numbers' with comments.
15493 Reported by Brad Dobbie.
15494 (verilog-auto-inst, verilog-auto-inst-param)
15495 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
15496 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
15497 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
15498 debugging templates without merge conflicts, bug357.
15499 Reported by Brad Dobbie.
15500 (verilog-read-auto-template):
15501 Fix verilog-auto-inst-template-numbers with multiple templates.
15502 Reported by Brad Dobbie.
15503 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
15504 abbrevs so user won't be asked to save.
15505 (verilog-read-auto-lisp-present): Fix to start at beginning of
15506 buffer in case called outside of verilog-auto.
15507 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
15508 to "X-2". Reported by Matthew Myers.
15509 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
15510 all inputs from module templates. Reported by Leith Johnson.
15511 (verilog-module-inside-filename-p): Fix locating programs as with
15512 modules.
15513 (verilog-auto-inst-port): Fix vl-width expressions when using
15514 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
15515 (verilog-decls-get-regs, verilog-decls-get-signals,
15516 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
15517 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
15518 verilog-read-decls): Combine reg and wire structures into one var
15519 structure to represent SystemVerilog concepts.
15520 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
15521 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
15522 (verilog-auto-wire-type, verilog-insert-definition):
15523 Add verilog-auto-wire-type and AUTOLOGIC to support using
15524 SystemVerilog "logic" keyword instead of "wire"/"reg".
15525 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
15526 to declares outputs that also have assignments (presumably in an
15527 ifdef or generate if so there's not a driver conflict).
15528 Reported by Matthew Myers.
15529 (verilog-auto-declare-nettype, verilog-insert-definition):
15530 Add verilog-auto-declare-nettype to fix declarations using
15531 `default_nettype none. Reported by Julian Gorfajn.
15532 (verilog-read-always-signals-recurse, verilog-read-decls)
15533 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
15534 malformed end statement, bug325. Reported by Joshua Wise and
15535 Andrew Drake.
15536 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
15537 (verilog-inst-comment-re): Fix not deleting Interfaced comment
15538 when expanding .* in interfaces, bug320.
15539 Reported by Pierre-David Pfister.
15540 (verilog-read-module-name): Fix import statements between module
15541 name and open parenthesis, bug317.
15542 Reported by Pierre-David Pfister.
15543 (verilog-simplify-range-expression): Fix simplification of
15544 multiplications inside AUTOWIRE connections, bug303.
15545 (verilog-auto-inst-port): Support parameter expansion in
15546 multidimensional arrays.
15547 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
15548 after "assert property". Reported by Julian Gorfajn.
15549 (verilog-simplify-range-expression): Fix "couldn't merge" errors
15550 with multiplication, bug303.
15551 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
15552 Reported by Jan Frode Lonnum.
15553
15554 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
15555
15556 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
15557 (hfy-shell-file-name, hfy-shell):
15558 * international/fontset.el (x-decompose-font-name): Fix typos.
15559
15560 2011-11-29 Ken Brown <kbrown@cornell.edu>
15561
15562 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
15563 (gdb-version): Remove defvar.
15564 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
15565 (gdb-gud-context-command, gdb-non-stop-handler)
15566 (gdb-current-context-command, gdb-stopped): Use it.
15567 (gdb-init-1): Enable pretty printing here.
15568 (gdb-non-stop-handler): Don't enable pretty-printing here.
15569 Check to see if the target supports non-stop mode; if not, turn off
15570 non-stop mode. Use the following.
15571 (gdb-check-target-async): New defun.
15572 (gud-watch, gdb-stopped): Fix whitespace.
15573 (gdb-get-source-file): Don't try to display the source file if
15574 `gdb-main-file' is nil.
15575
15576 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15577
15578 * align.el: Try to generate fewer markers (bug#10047).
15579 (align--set-marker): New macro.
15580 (align-region): Use it.
15581
15582 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
15583
15584 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
15585
15586 2011-11-29 Chong Yidong <cyd@gnu.org>
15587
15588 * indent.el (indent-for-tab-command, indent-according-to-mode):
15589 Doc fix.
15590 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
15591
15592 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
15593
15594 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
15595 aware of remote file names. (Bug#10124)
15596
15597 2011-11-29 Chong Yidong <cyd@gnu.org>
15598
15599 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
15600
15601 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
15602
15603 * files.el (find-file): Don't use force-same-window (bug#10144).
15604 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
15605 use pop-to-buffer if the selected window can't be used.
15606 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
15607
15608 2011-11-28 Eli Zaretskii <eliz@gnu.org>
15609
15610 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
15611 special-mode-map.
15612
15613 2011-11-28 Chong Yidong <cyd@gnu.org>
15614
15615 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
15616
15617 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
15618
15619 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
15620 gdb-get-source-file-list on gdb-create-source-file-list.
15621
15622 2011-11-26 Eli Zaretskii <eliz@gnu.org>
15623
15624 * whitespace.el (whitespace-newline): Use a different foreground
15625 color for 16-color light-background displays.
15626
15627 2011-11-24 Chong Yidong <cyd@gnu.org>
15628
15629 * window.el (display-buffer--special-action): Doc fix.
15630
15631 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
15632
15633 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
15634 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
15635 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
15636 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
15637 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
15638 (avl-tree-stack-first):
15639 * emacs-lisp/cconv.el (cconv--analyse-use):
15640 * net/gnutls.el (gnutls-negotiate): Fix typos.
15641
15642 2011-11-24 Glenn Morris <rgm@gnu.org>
15643
15644 * lpr.el (lpr-windows-system, lpr-lp-system):
15645 * mail/binhex.el (binhex-begin-line):
15646 * progmodes/grep.el (grep-history, grep-find-history):
15647 * textmodes/flyspell.el:
15648 * vc/pcvs-defs.el (cvs-global-menu):
15649 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
15650 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
15651 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
15652
15653 * net/tls.el: Fix case of "GnuTLS".
15654
15655 * paths.el (rmail-file-name): Format doc-string for make-docfile.
15656
15657 * version.el (emacs-build-system): Give it a doc-string.
15658
15659 2011-11-24 Juri Linkov <juri@jurta.org>
15660
15661 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
15662
15663 2011-11-24 Glenn Morris <rgm@gnu.org>
15664
15665 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
15666 if called on a non-mime message just toggle the headers. (Bug#8006)
15667
15668 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
15669
15670 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
15671 (allout-lead-with-comment-string, allout-structure-deleted-hook)
15672 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
15673 (allout-rebullet-heading, allout-open-sibtopic)
15674 (allout-toggle-current-subtree-encryption)
15675 (allout-toggle-subtree-encryption, allout-encrypt-string)
15676 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
15677 (allout-distinctive-bullets-string, allout-auto-activation):
15678 * window.el (window-normalize-buffer-to-display):
15679 * progmodes/verilog-mode.el (verilog-batch-indent):
15680 * textmodes/bibtex.el (bibtex-field-braces-opt)
15681 (bibtex-field-strings-opt):
15682 * vc/cvs-status.el (cvs-tree-merge):
15683 Fix typos.
15684
15685 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
15686
15687 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
15688 `non-essential' to t, in order to avoid remote connections.
15689
15690 2011-11-23 Eli Zaretskii <eliz@gnu.org>
15691
15692 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15693 On MS-DOS and MS-Windows, compare with loaddefs.el
15694 case-insensitively.
15695
15696 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
15697
15698 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
15699
15700 2011-11-23 Glenn Morris <rgm@gnu.org>
15701
15702 * paths.el (rmail-file-name): Reformat the doc-string so that it
15703 is picked up.
15704
15705 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
15706 (rmail-auto-file): Ignore case in the "special" field names,
15707 as mail-fetch-field does for all others.
15708
15709 * mail/rmail.el (rmail-forward):
15710 * mail/rmailkwd.el (rmail-set-label):
15711 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
15712 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
15713
15714 * mail/rmail.el (rmail-current-message): Doc fix.
15715
15716 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
15717
15718 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
15719
15720 * server.el (server-eval-and-print): Allow C-g (bug#6585).
15721
15722 2011-11-22 Glenn Morris <rgm@gnu.org>
15723
15724 * mail/rmailmm.el (test-rmail-mime-handler)
15725 (test-rmail-mime-bulk-handler)
15726 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
15727
15728 2011-11-21 Juri Linkov <juri@jurta.org>
15729
15730 * calc/calc.el (calc-read-key-sequence):
15731 Let-bind `input-method-function' to nil. (Bug#10018)
15732
15733 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
15734
15735 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
15736 Tell the caller that the next line needs recomputation, even
15737 though it doesn't start a sexp (bug#10094).
15738
15739 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
15740
15741 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
15742
15743 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15744
15745 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
15746 Use force-same-window.
15747
15748 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15749
15750 * descr-text.el (describe-char-unicode-data):
15751 * json.el (json-string-escape):
15752 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
15753 (Footnote-unicode, Footnote-style-p):
15754 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
15755
15756 2011-11-20 Chong Yidong <cyd@gnu.org>
15757
15758 * window.el (replace-buffer-in-windows): Restore interactive spec.
15759
15760 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
15761
15762 * electric.el (electric-indent-mode): Fix last change (too optimistic).
15763
15764 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
15765 (byte-compile-global-not-obsolete-vars): New var.
15766 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
15767 Use it.
15768 (byte-compile-warn-obsolete): Align text with the one in *Help*.
15769
15770 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
15771
15772 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
15773 * progmodes/pascal.el (electric-pascal-equal):
15774 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
15775 * xml.el (xml-substitute-special): Fix typos.
15776
15777 2011-11-20 Glenn Morris <rgm@gnu.org>
15778
15779 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
15780 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
15781 Doc fixes.
15782 (rmail-decode-mime-charset): Mark as obsolete.
15783
15784 * mail/rmailsum.el (rmail-message-regexp-p-1):
15785 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
15786 Before using mime functions, check they are set. (Bug#10077)
15787
15788 2011-11-19 Juri Linkov <juri@jurta.org>
15789
15790 * info.el (Info-finder-find-node): Use `package--builtins' instead
15791 of `package-alist'. Use node names formed by the pattern "Keyword "
15792 and the keyword name.
15793
15794 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15795
15796 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
15797
15798 2011-11-19 Juri Linkov <juri@jurta.org>
15799
15800 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
15801 that calls `revert-buffer' on all Info buffers. (Bug#9915)
15802 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
15803 `old-history', `old-history-forward'. Add let-binding
15804 `window-selected'. Remove calls to `kill-buffer',
15805 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
15806 before calling `Info-find-node', so `Info-find-node-2' will reread
15807 the Info file. Restore window positions only when `window-selected'
15808 is non-nil.
15809
15810 2011-11-19 Juri Linkov <juri@jurta.org>
15811
15812 * isearch.el (isearch-lazy-highlight-new-loop):
15813 Remove condition `(not isearch-error)'. (Bug#9918)
15814
15815 * misearch.el (multi-isearch-search-fun): Add condition
15816 `(not bound)' to ignore lazy-highlighting search.
15817 Add the search-failed message "end of multi" when the end of
15818 multi-sequence is reached. Uncapitalize the search-failed
15819 message "Repeat for next buffer".
15820
15821 * info.el (Info-search): Add the search-failed message
15822 "end of the manual" when the end of the manual is reached
15823 in Isearch mode.
15824
15825 2011-11-19 Juri Linkov <juri@jurta.org>
15826
15827 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
15828 Use non-destructive `remove' instead of `delete' because
15829 `Info-history-list' stored to `Info-isearch-initial-history-list' in
15830 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
15831
15832 2011-11-19 Juri Linkov <juri@jurta.org>
15833
15834 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
15835 to nil instead of binding `search-ring' and `regexp-search-ring'.
15836 (Bug#9185)
15837
15838 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15839
15840 * simple.el (line-move): Force movement by logical lines for any
15841 hscrolled window, not only when auto-hscroll-mode is on.
15842 (line-move-visual): Update doc string to that effect. (Bug#10076)
15843
15844 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
15845
15846 * language/european.el (macintosh): Define as alias for mac-roman.
15847
15848 2011-11-19 Eli Zaretskii <eliz@gnu.org>
15849
15850 * mail/rmailmm.el (rmail-mime-display-header)
15851 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
15852 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
15853 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
15854 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
15855 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
15856 of a raw aref.
15857 (rmail-mime-entity-segment): To get past the tagline, move forward
15858 2 more lines, to account for the 2 empty lines that precede and
15859 follow the line with the buttons.
15860 (rmail-mime-update-tagline): Move one more line, to get past the
15861 empty line that follows the buttons in the tagline. (Bug#9520)
15862
15863 2011-11-19 Martin Rudalics <rudalics@gmx.at>
15864
15865 * window.el (window-max-delta-1, window-min-delta-1)
15866 (window-min-size-1, window-state-get-1, window-state-put-1)
15867 (window-state-put-2): Use "window--" prefix.
15868
15869 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
15870
15871 * emacs-lisp/smie.el: Improve warnings and conflict detection.
15872 (smie-warning-count): New var.
15873 (smie-set-prec2tab): Use it.
15874 (smie-bnf->prec2): Improve warnings. Add docstring.
15875 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
15876 (smie-bnf--set-class): New function.
15877 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
15878 corner case.
15879
15880 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
15881 (compilation-error-properties, compilation-move-to-column):
15882 Handle compilation-first-column while in the target buffer.
15883
15884 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
15885 Don't hardcode point-min==1.
15886
15887 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
15888 (eshell-rewrite-for-command): Remove workaround.
15889 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
15890 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
15891 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
15892
15893 * files-x.el (modify-file-local-variable): Obey commenting conventions.
15894
15895 2011-11-17 Glenn Morris <rgm@gnu.org>
15896
15897 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
15898 Ignore buffer-local generated-autoload-file if it is the same
15899 as the global value. (Bug#10049)
15900
15901 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
15902
15903 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
15904 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
15905 (reftex-toc-previous-heading, reftex-toc-max-level)
15906 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
15907 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
15908 (reftex-toc-do-promote, reftex-toc-promote-prepare)
15909 (reftex-toc-promote-action, reftex-toc-extract-section-number)
15910 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
15911 (reftex-toc-rename-label, reftex-toc-visit-location)
15912 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
15913 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
15914 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
15915 leaving "*toc*" only for references to the buffer.
15916
15917 2011-11-17 Martin Rudalics <rudalics@gmx.at>
15918
15919 * window.el (window-resize, delete-window, split-window):
15920 Replace window-splits by window-combination-resize.
15921 * cus-start.el (window-splits): Replace by window-combination-resize.
15922
15923 2011-11-17 Glenn Morris <rgm@gnu.org>
15924
15925 * progmodes/sh-script.el (sh-font-lock-keywords-var):
15926 Make bash entry derive from sh entry, not shell entry.
15927
15928 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
15929
15930 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
15931 local file name.
15932
15933 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15934
15935 * menu-bar.el (menu-bar-file-menu):
15936 * printing.el (pr-ps-utility):
15937 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
15938 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
15939 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
15940 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
15941 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
15942 (icalendar--convert-cyclic-to-ical)
15943 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
15944 (icalendar--convert-ical-to-diary)
15945 (icalendar--convert-recurring-to-diary)
15946 (icalendar--convert-non-recurring-all-day-to-diary)
15947 (icalendar-import-format-sample):
15948 * progmodes/idlw-shell.el (idlwave-shell-mode):
15949 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
15950 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
15951 (vhdl-ps-print-init): Fix typos.
15952
15953 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
15954
15955 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
15956 FSF and collapse date sequence, obscure author/maintainer email address
15957 better, remove extra version line, track relocation of author's webpage.
15958
15959 * progmodes/python.el (python-pdbtrack-input-prompt)
15960 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
15961 regular python pdb prompts. Adjustments shamelessly taken exactly as
15962 suggested in EmacsWiki page (tiny change):
15963 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
15964
15965 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
15966
15967 * expand.el (expand-pos, expand-index, expand-point):
15968 Remove redundant info from docstring.
15969 (expand-add-abbrevs): Doc fix.
15970 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
15971 (expand-sample-perl-mode-expand-list): Fix typos.
15972
15973 * net/dbus.el (dbus-event-member-name):
15974 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
15975 * term/pc-win.el (msdos-create-frame-with-faces):
15976 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
15977
15978 2011-11-16 Martin Rudalics <rudalics@gmx.at>
15979
15980 * window.el (split-window, window-state-get-1)
15981 (window-state-put-1, window-state-put-2): Rename occurrences of
15982 window-nest to window-combination-limit.
15983 * cus-start.el (window-nest): Rename to window-combination-limit.
15984
15985 2011-11-16 Chong Yidong <cyd@gnu.org>
15986
15987 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
15988 regexp (Bug#10033).
15989
15990 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
15991
15992 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
15993 `completing-read' will remove *Completions* and will preserve
15994 current-buffer for us.
15995 (tmm-add-prompt): Users of *Completions* will always (re)set its
15996 major mode.
15997 (tmm-old-comp-map): Remove.
15998
15999 2011-11-16 Glenn Morris <rgm@gnu.org>
16000
16001 * mail/rmailedit.el: Require rmailmm when compiling.
16002 (rmail-old-mime-state): New declaration.
16003 (rmail-edit-current-message): If editing a mime message,
16004 edit the "raw" message from the mbox buffer.
16005 (rmail-cease-edit): Handle mime messages. (Bug#9840)
16006
16007 2011-11-15 Glenn Morris <rgm@gnu.org>
16008
16009 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
16010 which wasn't being used. Add optional arg to force given state.
16011 (rmail-mime): Add optional arg to force given state.
16012
16013 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16014
16015 * allout.el (allout-encryption-plaintext-sanitization-regexps):
16016 * frame.el (display-mm-dimensions-alist):
16017 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
16018 (outline-move-subtree-down):
16019 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
16020 (newsticker--treeview-do-get-node):
16021 * net/quickurl.el (quickurl-list-buffer-name):
16022 * progmodes/dcl-mode.el (dcl-mode):
16023 * progmodes/gdb-mi.el (gdb-mapcar*):
16024 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
16025
16026 2011-11-15 Glenn Morris <rgm@gnu.org>
16027
16028 * mail/rmail.el (rmail-file-coding-system): It's only ever used
16029 in a boolean sense, so just make it a boolean, and fix the doc.
16030 (rmail-show-mime-function, rmail-mime-feature)
16031 (rmail-require-mime-maybe): Doc fixes.
16032 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
16033
16034 * mail/rmailmm.el (rmail-show-mime): Doc fix.
16035
16036 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
16037
16038 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
16039 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
16040 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
16041 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
16042
16043 2011-11-15 Glenn Morris <rgm@gnu.org>
16044
16045 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
16046 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
16047 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
16048 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
16049 (rmail-mime, rmail-show-mime): Doc fixes.
16050
16051 * term/ns-win.el (mode-line-frame-identification):
16052 Leave it alone. (Bug#10051)
16053
16054 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
16055
16056 * mail/rmailout.el (rmail-output-to-rmail-buffer):
16057 Handle empty buffers. (Bug#9978)
16058
16059 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
16060
16061 * international/mule.el (define-charset):
16062 * mail/rmailmm.el (rmail-mime-find-header-encoding):
16063 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
16064 * progmodes/verilog-mode.el (verilog-backward-token):
16065 * textmodes/ispell.el (lookup-words):
16066 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
16067
16068 2011-11-14 Glenn Morris <rgm@gnu.org>
16069
16070 * progmodes/executable.el
16071 (executable-make-buffer-file-executable-if-script-p):
16072 Handle file-modes returning nil.
16073
16074 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
16075 message - not necessary, and causes problems. (Bug#9831)
16076
16077 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
16078
16079 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
16080
16081 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
16082 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
16083 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
16084
16085 2011-11-12 Martin Rudalics <rudalics@gmx.at>
16086
16087 * window.el (window-resize, delete-window): Use window-splits
16088 variable instead of function.
16089 (window-state-get-1, window-state-put-2, window-state-put):
16090 Don't deal with windows' splits status.
16091
16092 2011-11-12 Glenn Morris <rgm@gnu.org>
16093
16094 * apropos.el (apropos-do-all, apropos-library, apropos-value)
16095 (apropos-documentation): Doc fixes.
16096
16097 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
16098
16099 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
16100 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
16101
16102 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
16103
16104 * electric.el (electric-indent-post-self-insert-function): Make it
16105 possible for a char to only indent in some circumstances.
16106 (electric-indent-mode): Simplify.
16107
16108 2011-11-11 Martin Rudalics <rudalics@gmx.at>
16109
16110 * window.el (windows-with-parameter): Remove unused function.
16111 (windows-at-side): Rename to window-at-side-list.
16112 (window-check, window-atom-check, window-atom-check-1)
16113 (window-side-check, window-size-ignore, window-size-fixed-1)
16114 (window-in-direction-2): Prefix with "window--".
16115 (window-tree-1): Rename to window--subtree, fix doc-string.
16116
16117 2011-11-11 Glenn Morris <rgm@gnu.org>
16118
16119 * subr.el (eval-after-load): If FILE is already loaded,
16120 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
16121
16122 2011-11-10 Glenn Morris <rgm@gnu.org>
16123
16124 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
16125 Call svn via vc-svn-command rather than vc-do-command.
16126 (vc-svn-command): Add --non-interactive. (Bug#9993)
16127 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
16128
16129 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16130 Add toggle-read-only. (Bug#7292)
16131 * files.el (toggle-read-only): Mention that it should only
16132 be used interactively. (Bug#10006)
16133
16134 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
16135
16136 * progmodes/compile.el (compilation-error-regexp-alist-alist):
16137 Adjust regexp for OCaml warnings.
16138
16139 * electric.el (electric-pair-post-self-insert-function): Let user
16140 turn it off buffer-locally (bug#9932).
16141
16142 * progmodes/python.el (python-beginning-of-statement):
16143 Rewrite (bug#2703).
16144
16145 * progmodes/compile.el: Better handle TABs (bug#9749).
16146 (compilation-internal-error-properties)
16147 (compilation-next-error-function): Obey the target buffer's
16148 compilation-error-screen-columns.
16149
16150 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
16151
16152 * progmodes/meta-mode.el: Remove obsolete comments.
16153 (meta-right-comment-regexp, meta-ignore-comment-regexp):
16154 Fix typos in docstrings.
16155
16156 2011-11-09 Martin Rudalics <rudalics@gmx.at>
16157
16158 * window.el (window-size-fixed-p): Rewrite doc-string.
16159 (window-resizable-p): Rename to window--resizable-p. Update callers.
16160 (window--resizable): New function. Make all callers of
16161 window-resizable call window--resizable instead.
16162 (window-resizable): Rewrite in terms of window--resizable.
16163
16164 2011-11-08 Glenn Morris <rgm@gnu.org>
16165
16166 * progmodes/delphi.el (delphi-mode-syntax-table):
16167 Let define-derived-mode define a proper syntax table. (Bug#9994)
16168
16169 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16170
16171 * window.el: Stay away from defsubst.
16172 (window-list-no-nils): Remove.
16173 (window-state-get-1, window-state-get): Use backquote instead.
16174
16175 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16176
16177 * emacs-lisp/find-func.el (find-function-read):
16178 Fix incorrect use of default argument in `completing-read'.
16179
16180 2011-11-08 Martin Rudalics <rudalics@gmx.at>
16181
16182 * window.el (display-buffer-function, special-display-function):
16183 Mention display-buffer-record-window but do not mention
16184 help-setup parameter in doc-strings.
16185 (window-min-delta): Fix doc-string typo.
16186
16187 2011-11-08 Chong Yidong <cyd@gnu.org>
16188
16189 * window.el (window-total-height, window-total-width): Doc fix.
16190 (window-body-size): Move from C.
16191 (window-body-height, window-body-width): Move to C.
16192
16193 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
16194
16195 * window.el: Make special-display like display-buffer-alist (bug#9532).
16196 (display-buffer--special-action): New function, morphed
16197 from display-buffer--special.
16198 (display-buffer): Use it to handle special-display-buffers at higher
16199 priority (just after display-buffer-alist).
16200 (display-buffer-fallback-action, display-buffer--other-frame-action)
16201 (pop-to-buffer-same-window): Remove display-buffer--special.
16202
16203 2011-11-07 Glenn Morris <rgm@gnu.org>
16204
16205 * calendar/cal-menu.el (cal-menu-set-date-title):
16206 Do nothing if not in a calendar. (Bug#9976)
16207
16208 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
16209
16210 * files.el (find-file): Always use selected-window.
16211
16212 2011-11-07 Martin Rudalics <rudalics@gmx.at>
16213
16214 * window.el (window-combinations): Make WINDOW argument
16215 mandatory. Rewrite doc-string.
16216 (walk-window-subtree, window-atom-check, window-min-delta)
16217 (window-max-delta, window--resize-this-window)
16218 (window--resize-root-window-vertically, window-tree)
16219 (balance-windows, window-state-put): Rewrite doc-strings as to
16220 not mention the term "subwindow".
16221 (window--resize-subwindows-skip-p): Rename to
16222 window--resize-child-windows-skip-p.
16223 (window--resize-subwindows-normal): Rename to
16224 window--resize-child-windows-normal.
16225 (window--resize-subwindows): Rename to
16226 window--resize-child-windows.
16227 (window-or-subwindow-p): Rename to window--in-subtree-p.
16228
16229 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16230
16231 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
16232 Ensure that mbox format messages end in two newlines (Bug#9974).
16233
16234 2011-11-06 Chong Yidong <cyd@gnu.org>
16235
16236 * window.el (window-combination-p): Function deleted; its
16237 side-effect is not used in any existing code.
16238 (window-combinations, window-combined-p): Call window-*-child
16239 directly.
16240
16241 2011-11-05 Chong Yidong <cyd@gnu.org>
16242
16243 * window.el (window-valid-p): Rename from window-any-p.
16244 (window-size-ignore, window-state-get): Callers changed.
16245 (window-normalize-window): Rename from window-normalize-any-window.
16246 New arg LIVE-ONLY, replacing window-normalize-live-window.
16247 (window-normalize-live-window): Delete.
16248 (window-combination-p, window-combined-p, window-combinations)
16249 (walk-window-subtree, window-atom-root, window-min-size)
16250 (window-sizable, window-sizable-p, window-size-fixed-p)
16251 (window-min-delta, window-max-delta, window-resizable)
16252 (window-resizable-p, window-full-height-p, window-full-width-p)
16253 (window-current-scroll-bars, window-point-1, set-window-point-1)
16254 (window-at-side-p, window-in-direction, window-resize)
16255 (adjust-window-trailing-edge, maximize-window, minimize-window)
16256 (window-deletable-p, delete-window, delete-other-windows)
16257 (record-window-buffer, unrecord-window-buffer)
16258 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
16259 (quit-window, split-window, window-state-put)
16260 (set-window-text-height, fit-window-to-buffer)
16261 (shrink-window-if-larger-than-buffer): Callers changed.
16262
16263 2011-11-04 Eli Zaretskii <eliz@gnu.org>
16264
16265 * mail/rmail.el (rmail-simplified-subject): Decode subject with
16266 rfc2047-decode-string.
16267 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
16268 warnings.
16269
16270 * window.el (window-body-height, window-body-width): Mention in
16271 the doc string that the return values are in frame's canonical
16272 units. (Bug#9949)
16273
16274 2011-11-03 Alan Mackenzie <acm@muc.de>
16275
16276 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
16277 change in cc-engine.el.
16278
16279 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
16280
16281 * window.el (switch-to-buffer): Use `force-same-window' interactively.
16282
16283 2011-11-02 Martin Rudalics <rudalics@gmx.at>
16284
16285 * window.el (quit-window): Call unrecord-window-buffer after
16286 showing another buffer in the window. (Bug#9937)
16287 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
16288
16289 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
16290
16291 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
16292 Accept status with more than 9 shelves. (Bug#9935)
16293 Reported by Colin D Bennett <colin@gibibit.com>.
16294
16295 2011-11-01 Martin Rudalics <rudalics@gmx.at>
16296
16297 * help.el (with-help-window): Don't reference
16298 temp-buffer-show-specifiers in doc-string.
16299
16300 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
16301
16302 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
16303 menu-item.
16304
16305 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16306
16307 * whitespace.el: New version 13.2.2.
16308 (whitespace-newline-mode): Disable properly. Reported by Sarah
16309 <EmacsWiki>.
16310
16311 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
16312
16313 * net/newst-treeview.el: Remove "Time-stamp".
16314 (newsticker--group-manage-orphan-feeds): Do not call
16315 newsticker--treeview-tree-update.
16316 (newsticker-treeview-update, newsticker-treeview):
16317 Call newsticker--treeview-tree-update if necessary.
16318
16319 2011-10-30 Martin Rudalics <rudalics@gmx.at>
16320
16321 * window.el (window-iso-combination-p, window-iso-combined-p)
16322 (window-iso-combinations): Remove "iso-" infix.
16323 Suggested by Chong Yidong.
16324 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
16325 (window-max-delta-1, window-resize, window--resize-siblings)
16326 (window--resize-this-window, adjust-window-trailing-edge)
16327 (split-window, balance-windows-1)
16328 (shrink-window-if-larger-than-buffer):
16329 * calendar/calendar.el (calendar-generate-window):
16330 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
16331
16332 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
16333
16334 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
16335 in place (bug#9907).
16336 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
16337 (eshell-rewrite-if-command, eshell-rewrite-for-command)
16338 (eshell-structure-basic-command, eshell-rewrite-while-command)
16339 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
16340 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
16341 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
16342 (eshell-do-pipelines-synchronously, eshell-eval-command):
16343 Use backquotes and prefer setq to set.
16344 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
16345 (eshell-macrop): Use functionp.
16346 (eshell-do-eval): Handle multiple expressions in `while' body.
16347
16348 2011-10-30 Chong Yidong <cyd@gnu.org>
16349
16350 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
16351 instead of set-mark (Bug#9810).
16352
16353 2011-10-30 Chong Yidong <cyd@gnu.org>
16354
16355 * window.el (split-window-below, split-window-right): Rename from
16356 split-window-above-each-other and split-window-side-by-side
16357 respectively. All callers changed.
16358 (split-window-sensibly, split-window-sensibly): Use them.
16359 (split-window-keep-point): Doc fix.
16360
16361 * isearch.el: Add isearch-scroll property to split-window-below
16362 and split-window-right.
16363
16364 * follow.el (follow-mode):
16365 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
16366 * progmodes/ada-xref.el (ada-gdb-application):
16367 * emulation/vip.el (vip-buffer-in-two-windows):
16368 * image-dired.el (image-dired-dired-with-window-configuration):
16369 * dired-x.el (dired-do-find-marked-files):
16370 * dired.el (dired-pop-to-buffer):
16371 * bs.el (bs--show-with-configuration):
16372 * vc/emerge.el (emerge-setup-windows):
16373 * textmodes/two-column.el (2C-two-columns):
16374 * textmodes/reftex-toc.el (reftex-toc):
16375 * progmodes/gdb-mi.el (gdb-setup-windows):
16376 * progmodes/fortran.el (fortran-window-create):
16377 * net/newst-treeview.el (newsticker--treeview-window-init):
16378 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
16379 * emulation/tpu-edt.el (tpu-gold-map):
16380 * emulation/crisp.el (crisp-mode-map):
16381 * calendar/calendar.el (calendar-basic-setup): Callers changed.
16382
16383 2011-10-29 Chong Yidong <cyd@gnu.org>
16384
16385 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
16386
16387 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
16388
16389 * textmodes/flyspell.el (flyspell-word): Fix char offset for
16390 forged Ispell output (Bug#7904).
16391
16392 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
16393
16394 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16395
16396 * doc-view.el: Avoid ugly errors about not finding nil.
16397 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
16398 (doc-view-dvipdf-program, doc-view-unoconv-program)
16399 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
16400 Avoid nil or absolute file name as default value.
16401 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
16402
16403 2011-10-28 Alan Mackenzie <acm@muc.de>
16404
16405 * progmodes/cc-defs.el (c-version): -> 5.32.2.
16406
16407 2011-10-28 Alan Mackenzie <acm@muc.de>
16408
16409 Amend the handling of c-beginning/end-of-defun in nested declaration
16410 scopes.
16411
16412 * progmodes/cc-vars.el (c-defun-tactic): Move here from
16413 cc-langs.el. Change it to a defcustom.
16414
16415 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
16416 cc-vars.el.
16417
16418 * progmodes/cc-engine.el (c-beginning-of-statement-1):
16419 Prevent "class foo : bar" being spuriously recognized as a label.
16420
16421 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
16422 Add parameter `inclusive' (to include enclosing braces in the region).
16423 (c-widen-to-enclosing-decl-scope): New function.
16424 (c-while-widening-to-decl-block): New macro.
16425 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
16426 outward for defun boundaries, and correspondingly change symbol
16427 `respect-enclosure' to `go-outward'.
16428 (c-declaration-limits): Change algorithm to report only the "innermost"
16429 defun's boundaries.
16430
16431 2011-10-28 Deniz Dogan <deniz@dogan.se>
16432
16433 * net/rcirc.el (rcirc-mode): Use hard newlines.
16434
16435 2011-10-28 Alan Mackenzie <acm@muc.de>
16436
16437 Amend to indent and fontify macros "which include their own semicolon"
16438 correctly, using the "virtual semicolon" mechanism.
16439
16440 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
16441
16442 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
16443 Recode to scan one line at a time rather than having \n and \r
16444 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
16445 (c-forward-label): Amend for virtual semicolons.
16446 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
16447
16448 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
16449 of the new C macros.
16450
16451 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
16452 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
16453 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
16454 (c-opt-cpp-macro-define): Make into a full language variable.
16455 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
16456 AWK Mode (including \n, \r) removed, no longer needed.
16457
16458 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
16459 Invoke c-make-macro-with-semi-re.
16460
16461 * progmodes/cc-vars.el (c-macro-with-semi-re):
16462 (c-macro-names-with-semicolon): New variables.
16463 (c-make-macro-with-semi-re): New function.
16464
16465 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16466
16467 * vc/log-edit.el: Fill empty field rather than adding new one.
16468 (log-edit-add-field): New function.
16469 (log-edit-insert-changelog): Use it.
16470
16471 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16472
16473 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
16474
16475 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
16476
16477 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
16478 (gdb--check-interpreter): New function.
16479 (gdb): Use it.
16480
16481 2011-10-27 Glenn Morris <rgm@gnu.org>
16482
16483 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
16484 (least-positive-float, least-negative-float)
16485 (least-positive-normalized-float, least-negative-normalized-float)
16486 (float-epsilon, float-negative-epsilon):
16487 Remove unnecessary declarations.
16488
16489 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
16490 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
16491 (least-positive-float, least-negative-float)
16492 (least-positive-normalized-float, least-negative-normalized-float)
16493 (float-epsilon, float-negative-epsilon): Add doc-strings,
16494 based on those in cl.texi.
16495
16496 * files.el (set-visited-file-name): If the major-mode changed,
16497 reload the local variables. (Bug#9796)
16498
16499 2011-10-27 Chong Yidong <cyd@gnu.org>
16500
16501 * subr.el (change-major-mode-after-body-hook): New hook.
16502 (run-mode-hooks): Run it.
16503
16504 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16505 Use change-major-mode-before-body-hook.
16506
16507 * simple.el (fundamental-mode):
16508 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
16509 change introducing fundamental-mode-hook.
16510
16511 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
16512
16513 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
16514
16515 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
16516
16517 * ido.el (ido-file-name-all-completions-1): Do not require
16518 tramp.el explicitly. (Bug#7583)
16519
16520 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
16521
16522 * progmodes/octave-mod.el:
16523 * progmodes/octave-inf.el: Update maintainer.
16524
16525 2011-10-26 Chong Yidong <cyd@gnu.org>
16526
16527 * subr.el (with-wrapper-hook): Rewrite doc.
16528
16529 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
16530
16531 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
16532 filenames "/method:foo:". (Bug#9793)
16533
16534 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
16535
16536 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
16537 (bug#9865).
16538
16539 2011-10-24 Glenn Morris <rgm@gnu.org>
16540
16541 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
16542
16543 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
16544
16545 * notifications.el: Add the requirement of a running D-Bus session
16546 bus to the Commentary.
16547
16548 2011-10-24 Juri Linkov <juri@jurta.org>
16549
16550 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
16551 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
16552 (Bug#9364)
16553
16554 2011-10-24 Juri Linkov <juri@jurta.org>
16555
16556 * info.el (Info-following-node-name-re): Add newline to the list
16557 of allowed characters for leading space. (Bug#9824)
16558
16559 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
16560
16561 * progmodes/octave-inf.el (inferior-octave-mode-map):
16562 Fix C-c C-h binding.
16563 * progmodes/octave-mod.el (octave-help): Remove.
16564
16565 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
16566
16567 Sync with Tramp 2.2.3.
16568
16569 * net/tramp-cache.el (top): Pacify byte-compiler using
16570 `init-file-user' and `site-run-file'.
16571
16572 * net/trampver.el: Update release number.
16573
16574 2011-10-23 Chong Yidong <cyd@gnu.org>
16575
16576 * files.el (toggle-read-only): Remove obsolete comment about
16577 version control.
16578
16579 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
16580 for toggle-read-only. Note that this hasn't called vc-next-action
16581 since 2008-05-02, though it wasn't documented at the time.
16582
16583 * vc/ediff-init.el (ediff-toggle-read-only-function):
16584 Use toggle-read-only.
16585
16586 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
16587
16588 Fix bug #9560, sporadic wrong indentation; improve instrumentation
16589 of c-parse-state.
16590
16591 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
16592 correct faulty logical expression.
16593 (c-parse-state-state, c-record-parse-state-state):
16594 (c-replay-parse-state-state): New defvar/defuns.
16595 (c-debug-parse-state): Use new functions.
16596
16597 2011-10-22 Martin Rudalics <rudalics@gmx.at>
16598
16599 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
16600 last fix. Use window-in-direction correctly.
16601
16602 2011-10-21 Chong Yidong <cyd@gnu.org>
16603
16604 * progmodes/idlwave.el (idlwave-mode):
16605 * progmodes/vera-mode.el (vera-mode): No need to set
16606 require-final-newline; that's done in prog-mode.
16607 Suggested by Stefan Monnier.
16608
16609 2011-10-21 Martin Rudalics <rudalics@gmx.at>
16610
16611 * mouse.el (mouse-drag-window-above)
16612 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
16613 (mouse-drag-mode-line-1, mouse-drag-header-line)
16614 (mouse-drag-vertical-line-rightward-window): Remove.
16615 (mouse-drag-line): New function.
16616 (mouse-drag-mode-line, mouse-drag-header-line)
16617 (mouse-drag-vertical-line): Call mouse-drag-line.
16618 * window.el (window-at-side-p, windows-at-side): New functions.
16619
16620 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
16621
16622 * tar-mode.el (tar-grind-file-mode):
16623 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
16624
16625 2011-10-21 Chong Yidong <cyd@gnu.org>
16626
16627 * progmodes/idlwave.el (idlwave-mode):
16628 * progmodes/vera-mode.el (vera-mode):
16629 Use mode-require-final-newline.
16630
16631 2011-10-20 Glenn Morris <rgm@gnu.org>
16632
16633 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
16634
16635 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
16636
16637 * emulation/cua-base.el (cua-set-mark): Fix case of string.
16638
16639 2011-10-20 Chong Yidong <cyd@gnu.org>
16640
16641 * emulation/cua-base.el (cua-mode):
16642 * mail/footnote.el (footnote-mode):
16643 * mail/mailabbrev.el (mail-abbrevs-mode):
16644 * net/xesam.el (xesam-minor-mode):
16645 * progmodes/bug-reference.el (bug-reference-mode):
16646 * progmodes/cap-words.el (capitalized-words-mode):
16647 * progmodes/compile.el (compilation-minor-mode)
16648 (compilation-shell-minor-mode):
16649 * progmodes/gud.el (gud-tooltip-mode):
16650 * progmodes/hideif.el (hide-ifdef-mode):
16651 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
16652 * progmodes/subword.el (subword-mode):
16653 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
16654 * progmodes/which-func.el (which-function-mode):
16655 * term/tvi970.el (tvi970-set-keypad-mode):
16656 * term/vt100.el (vt100-wide-mode):
16657 * textmodes/flyspell.el (flyspell-mode):
16658 * textmodes/ispell.el (ispell-minor-mode):
16659 * textmodes/nroff-mode.el (nroff-electric-mode):
16660 * textmodes/paragraphs.el (use-hard-newlines):
16661 * textmodes/refill.el (refill-mode):
16662 * textmodes/reftex.el (reftex-mode):
16663 * textmodes/rst.el (rst-minor-mode):
16664 * textmodes/sgml-mode.el (html-autoview-mode)
16665 (sgml-electric-tag-pair-mode):
16666 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
16667 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
16668 * emulation/crisp.el (crisp-mode):
16669 * emacs-lisp/eldoc.el (eldoc-mode):
16670 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
16671 minor mode behavior.
16672
16673 2011-10-19 Juri Linkov <juri@jurta.org>
16674
16675 * descr-text.el (describe-char): Add #x2010 and #x2011 to
16676 the list of hard-coded chars with escape-glyph face.
16677
16678 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
16679
16680 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
16681
16682 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
16683
16684 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
16685 running process.
16686
16687 2011-10-19 Glenn Morris <rgm@gnu.org>
16688
16689 * vc/vc-bzr.el (vc-bzr-after-dir-status):
16690 Ignore ignored files. (Bug#9726)
16691
16692 2011-10-19 Chong Yidong <cyd@gnu.org>
16693
16694 Doc fix for minor modes, stating that an omitted argument enables
16695 the mode unconditionally when called from Lisp.
16696
16697 * abbrev.el (abbrev-mode):
16698 * allout.el (allout-mode):
16699 * autoinsert.el (auto-insert-mode):
16700 * autoarg.el (autoarg-mode, autoarg-kp-mode):
16701 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16702 (global-auto-revert-mode):
16703 * battery.el (display-battery-mode):
16704 * composite.el (global-auto-composition-mode)
16705 (auto-composition-mode):
16706 * delsel.el (delete-selection-mode):
16707 * desktop.el (desktop-save-mode):
16708 * dired-x.el (dired-omit-mode):
16709 * dirtrack.el (dirtrack-mode):
16710 * doc-view.el (doc-view-minor-mode):
16711 * double.el (double-mode):
16712 * electric.el (electric-indent-mode, electric-pair-mode):
16713 * emacs-lock.el (emacs-lock-mode):
16714 * epa-hook.el (auto-encryption-mode):
16715 * follow.el (follow-mode):
16716 * font-core.el (font-lock-mode):
16717 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
16718 * help.el (temp-buffer-resize-mode):
16719 * hilit-chg.el (highlight-changes-mode)
16720 (highlight-changes-visible-mode):
16721 * hi-lock.el (hi-lock-mode):
16722 * hl-line.el (hl-line-mode, global-hl-line-mode):
16723 * icomplete.el (icomplete-mode):
16724 * ido.el (ido-everywhere):
16725 * image-file.el (auto-image-file-mode):
16726 * image-mode.el (image-minor-mode):
16727 * iswitchb.el (iswitchb-mode):
16728 * jka-cmpr-hook.el (auto-compression-mode):
16729 * linum.el (linum-mode):
16730 * longlines.el (longlines-mode):
16731 * master.el (master-mode):
16732 * mb-depth.el (minibuffer-depth-indicate-mode):
16733 * menu-bar.el (menu-bar-mode):
16734 * minibuf-eldef.el (minibuffer-electric-default-mode):
16735 * mouse-sel.el (mouse-sel-mode):
16736 * msb.el (msb-mode):
16737 * mwheel.el (mouse-wheel-mode):
16738 * outline.el (outline-minor-mode):
16739 * paren.el (show-paren-mode):
16740 * recentf.el (recentf-mode):
16741 * reveal.el (reveal-mode, global-reveal-mode):
16742 * rfn-eshadow.el (file-name-shadow-mode):
16743 * ruler-mode.el (ruler-mode):
16744 * savehist.el (savehist-mode):
16745 * scroll-all.el (scroll-all-mode):
16746 * scroll-bar.el (scroll-bar-mode):
16747 * server.el (server-mode):
16748 * shell.el (shell-dirtrack-mode):
16749 * simple.el (auto-fill-mode, transient-mark-mode)
16750 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
16751 (line-number-mode, column-number-mode, size-indication-mode)
16752 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
16753 * strokes.el (strokes-mode):
16754 * time.el (display-time-mode):
16755 * t-mouse.el (gpm-mouse-mode):
16756 * tool-bar.el (tool-bar-mode):
16757 * tooltip.el (tooltip-mode):
16758 * type-break.el (type-break-mode-line-message-mode)
16759 (type-break-query-mode):
16760 * view.el (view-mode):
16761 * whitespace.el (whitespace-mode, whitespace-newline-mode)
16762 (global-whitespace-mode, global-whitespace-newline-mode):
16763 * xt-mouse.el (xterm-mouse-mode): Doc fix.
16764
16765 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
16766 Fix autogenerated docstring.
16767
16768 2011-10-19 Juri Linkov <juri@jurta.org>
16769
16770 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
16771 by checking environment variables "DESKTOP_SESSION" and
16772 "XDG_CURRENT_DESKTOP". (Bug#9779)
16773
16774 2011-10-19 Juri Linkov <juri@jurta.org>
16775
16776 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
16777 (browse-url-chromium-program, browse-url-chromium-arguments):
16778 New defcustoms.
16779 (browse-url-default-browser): Check for `browse-url-chromium' and
16780 call `browse-url-chromium-program'.
16781 (browse-url-chromium): New command. (Bug#9779)
16782
16783 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
16784
16785 * facemenu.el (list-colors-duplicates): On Windows, detect more
16786 duplicates by assuming that only colors matching "^System" are
16787 special "system colors". (Bug#9722)
16788
16789 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
16790
16791 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
16792 to distinguish the author from the committer.
16793
16794 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
16795
16796 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
16797
16798 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
16799
16800 * international/mule.el (sgml-html-meta-auto-coding-function):
16801 Add support for detecting encoding in HTML5 specified only as
16802 <meta charset="UTF-8">. Implementation just makes http-equiv and
16803 content-type parts from HTML4 encoding string optional. (Bug#9716)
16804
16805 2011-10-18 Glenn Morris <rgm@gnu.org>
16806
16807 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
16808
16809 2011-10-18 Chong Yidong <cyd@gnu.org>
16810
16811 * faces.el (cursor): Doc fix.
16812
16813 2011-10-17 Chong Yidong <cyd@gnu.org>
16814
16815 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
16816
16817 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
16818
16819 * dirtrack.el (dirtrack): Support shell buffers with path
16820 prefixes, e.g. tramp-based remote shells. (Bug#9647)
16821
16822 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
16823
16824 * json.el: Bump version to 1.3 and note change in History.
16825 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
16826
16827 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
16828
16829 * comint.el (comint-insert-input, comint-send-input)
16830 (comint-get-old-input-default, comint-backward-matching-input)
16831 (comint-next-prompt): Use nil instead of `input' for field property of
16832 past user input (bug#114).
16833
16834 * minibuffer.el (completion--replace): Inherit surrounding properties
16835 (bug#114).
16836 (minibuffer-complete-and-exit): Use it.
16837
16838 * comint.el (comint--table-subvert): Quote the all-completions output
16839 (bug#9160).
16840
16841 2011-10-17 Martin Rudalics <rudalics@gmx.at>
16842
16843 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
16844
16845 * menu-bar.el (menu-bar-file-menu): Add entry for making new
16846 window on right of selected. (Bug#9350) Reword other window
16847 entries and separate them from frame entries.
16848
16849 2011-10-15 Glenn Morris <rgm@gnu.org>
16850
16851 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
16852 Doc fixes.
16853
16854 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
16855
16856 * net/network-stream.el (network-stream-open-starttls):
16857 Improve detection of failure due to lack of TLS support.
16858
16859 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
16860 putting the input text in front and in bold.
16861
16862 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
16863
16864 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
16865
16866 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
16867 empty buffer.
16868
16869 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
16870 unread-command-events rather than pushing yet-another event.
16871
16872 2011-10-14 Eli Zaretskii <eliz@gnu.org>
16873
16874 * mail/sendmail.el (sendmail-query-once): Improve the wording of
16875 the explanation of the possible choices. Make the options passed
16876 to completing-read shorter.
16877
16878 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16879
16880 * textmodes/flyspell.el (flyspell-large-region): Make sure
16881 extended character mode is used if defined (Bug#1339).
16882
16883 2011-10-13 Eli Zaretskii <eliz@gnu.org>
16884
16885 * simple.el (what-cursor-position): Fix the display of the
16886 character info for LRE, LRO, RLE, and RLO characters by appending
16887 an invisible PDF.
16888
16889 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
16890
16891 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
16892 even in case of error; add debug spec; simplify data flow.
16893 (with-timeout-handler): Remove.
16894
16895 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
16896
16897 Fix Bug#6019, Bug#9315.
16898
16899 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
16900 complete `buffer-file-name', the local file name part could look
16901 remotely (for example on VMS).
16902
16903 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
16904 `tramp-run-real-handler'.
16905 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
16906 already quoted by '"'.
16907
16908 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
16909 Let `file-name-handler-alist' be nil, the local file name part
16910 could look remotely (for example on VMS).
16911
16912 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
16913
16914 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
16915 from here...
16916 (flyspell-post-command-hook): ...to here.
16917
16918 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16919
16920 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
16921 if not needed.
16922 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
16923 using completion. Protect against "slow" callers.
16924 Remove the "message hack".
16925
16926 2011-10-11 Juri Linkov <juri@jurta.org>
16927
16928 * isearch.el (isearch-lazy-highlight-word): New variable.
16929 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
16930 Use it. (Bug#9727)
16931
16932 2011-10-11 Glenn Morris <rgm@gnu.org>
16933
16934 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
16935 like f90-previous-statement does.
16936
16937 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16938
16939 * eshell/eshell.el (eshell-command): History should be saved
16940 only in interactive use, to avoid error.
16941
16942 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
16943
16944 * minibuffer.el (completion-file-name-table): Fix last change,
16945 i.e. ignore normal errors but not the other ones.
16946
16947 2011-10-10 Martin Rudalics <rudalics@gmx.at>
16948
16949 * window.el (special-display-buffer-names)
16950 (special-display-regexps): Remove some remnants of earlier
16951 changes from doc-strings.
16952 (quit-windows-on): New function.
16953
16954 * vc/vc.el (vc-revert, vc-rollback):
16955 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
16956 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
16957 (Bug#6183) (Bug#7074) (Bug#7447)
16958
16959 2011-10-09 Martin Rudalics <rudalics@gmx.at>
16960
16961 * window.el (frame-auto-hide-function): Add version tag.
16962 (Bug#9699)
16963
16964 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
16965
16966 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
16967 condition.
16968
16969 2011-10-09 Leo Liu <sdl.web@gmail.com>
16970
16971 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
16972 (Bug#9701)
16973
16974 2011-10-08 Glenn Morris <rgm@gnu.org>
16975
16976 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
16977 before the first code statement zero indent. (Bug#9690)
16978
16979 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
16980
16981 * simple.el (count-words-region): Always count in the region.
16982 Report the number of lines and characters too.
16983 (count-words): New command, which counts in the buffer if the
16984 region is inactive, as count-words-region used to.
16985 (count-words--message): New function. Handle plurals.
16986 (count-lines-region): Make it an alias for count-words-region.
16987
16988 * bindings.el (esc-map): Replace count-lines-region with
16989 count-words-region.
16990
16991 2011-10-08 Martin Rudalics <rudalics@gmx.at>
16992
16993 * window.el (window--delete): Delete dedicated frame
16994 unconditionally when argument KILL is non-nil. (Bug#9699)
16995 (switch-to-buffer): Fix doc-string typo.
16996
16997 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16998
16999 * eshell/eshell.el (eshell-command): Avoid using hooks.
17000
17001 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
17002
17003 * bindings.el ([M-left],[M-right]): Bind to left-word and
17004 right-word respectively.
17005
17006 2011-10-07 Glenn Morris <rgm@gnu.org>
17007
17008 * cus-start.el (debug-on-quit): Fix custom type.
17009
17010 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
17011
17012 * subr.el (define-key-after): Clarify that the function is not
17013 useful for non-menu keymaps.
17014
17015 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
17016
17017 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17018
17019 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
17020 in current minibuffer (Fix bug with recursive minibuffers).
17021
17022 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
17023
17024 * progmodes/gdb-mi.el (gdb): Doc fix.
17025
17026 2011-10-05 Martin Rudalics <rudalics@gmx.at>
17027
17028 * window.el (frame-auto-hide-function): New option replacing
17029 frame-auto-delete. Suggested by Stefan Monnier.
17030 (window--delete): Call frame-auto-hide-function instead of
17031 investigating frame-auto-delete.
17032 (window-point-1, set-window-point-1): New functions.
17033 (window-in-direction, record-window-buffer, window-state-get-1)
17034 (display-buffer-record-window): Use window-point-1 instead of
17035 window-point.
17036 (set-window-buffer-start-and-point): Use set-window-point-1.
17037
17038 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17039
17040 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
17041
17042 2011-10-05 Glenn Morris <rgm@gnu.org>
17043
17044 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
17045 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
17046
17047 2011-10-05 Leo Liu <sdl.web@gmail.com>
17048
17049 * subr.el (read-char-choice): Fix argument to buffer-live-p which
17050 works with buffer object.
17051
17052 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
17053
17054 * mpc.el (mpc-tool-bar-map): Add labels.
17055
17056 2011-10-04 Glenn Morris <rgm@gnu.org>
17057
17058 * calendar/holidays.el (calendar-check-holidays): Doc fix.
17059
17060 2011-10-04 Martin Rudalics <rudalics@gmx.at>
17061
17062 * window.el (window--delete): New function.
17063 (frame-auto-delete): Resuscitate option.
17064 (bury-buffer, replace-buffer-in-windows)
17065 (quit-window): Rewrite using window--delete.
17066 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
17067 Pass display-buffer-mark-dedicated to window--display-buffer-2
17068 (Bug#9639).
17069
17070 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17071
17072 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
17073 returns a list (bug#9554). Add remote file name completion.
17074 * comint.el (comint--table-subvert): Curry and get quote&unquote
17075 functions as arguments.
17076 (comint--complete-file-name-data): Adjust call accordingly.
17077 * pcomplete.el (pcomplete--table-subvert): Remove.
17078 (pcomplete-completions-at-point): Use comint--table-subvert instead.
17079
17080 * minibuffer.el (completion-table-case-fold): Use currying.
17081 (completion--styles-type, completion--cycling-threshold-type):
17082 New constants.
17083 (completion-styles, completion-category-overrides)
17084 (completion-cycle-threshold): Use them.
17085 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
17086 completion-table-case-fold.
17087
17088 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
17089
17090 * minibuffer.el (completion-category-overrides): Fix type of styles
17091 and add more user friendly tags (bug#9660).
17092
17093 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17094
17095 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
17096 (mule-input-method-string): New widget.
17097 (default-input-method, language-info-custom-alist): Use it.
17098
17099 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
17100
17101 * pcomplete.el: Require comint.
17102 (pcomplete--common-suffix): Remove.
17103 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
17104 (pcomplete--table-subvert): Sync with comint--table-subvert.
17105 (pcomplete--entries): Use comint-completion-file-name-table.
17106 * comint.el (comint-unquote-filename): Simplify.
17107 (comint-completion-file-name-table): New function (bug#9616).
17108 (comint--complete-file-name-data): Use it.
17109
17110 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
17111 (pcmpl-gnu-tar-buffer): Remove.
17112 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
17113 around. Make sure pcomplete-suffix-list is only changed temporarily.
17114 Don't look inside the tar's file if it's too large.
17115
17116 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
17117
17118 * cus-edit.el (custom-mode-map):
17119 * epa.el (epa-key-list-mode-map):
17120 * man.el (Man-mode-map):
17121 * startup.el (splash-screen-keymap):
17122 * simple.el (special-mode-map): Use scroll-up-command and
17123 scroll-down-command.
17124
17125 * progmodes/idlw-help.el (idlwave-help-mode-map):
17126 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
17127 * net/newst-plainview.el (newsticker-mode-map):
17128 * emulation/ws-mode.el (wordstar-mode-map):
17129 * emulation/vi.el (vi-com-map):
17130 * calc/calc-graph.el (calc-graph-show-dumb):
17131 * term/sun.el (terminal-init-sun):
17132 * term/ns-win.el (global-map):
17133 * progmodes/grep.el (grep-mode-map):
17134 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
17135 * mail/rmail.el (rmail-mode-map):
17136 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
17137
17138 * custom.el (custom-safe-themes, load-theme): Treat value of t for
17139 custom-safe-themes as special.
17140
17141 2011-10-01 Julien Danjou <julien@danjou.info>
17142
17143 * notifications.el (notifications-notify): Fix docstring.
17144
17145 2011-10-01 Per Starbäck <per@starback.se>
17146
17147 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
17148
17149 2011-09-30 Martin Rudalics <rudalics@gmx.at>
17150
17151 * startup.el (command-line-1): Fix last fix by inserting
17152 initial-scratch-message into *scratch* before displaying it.
17153 (Bug#9605) and (Bug#9636)
17154
17155 2011-09-29 Eli Zaretskii <eliz@gnu.org>
17156
17157 * simple.el (line-move): If auto-hscroll-mode is disabled and the
17158 window is hscrolled, move by logical lines. (Bug#9607)
17159 (line-move-visual): Update the doc string to the above effect.
17160
17161 2011-09-29 Martin Rudalics <rudalics@gmx.at>
17162
17163 * window.el (display-buffer-record-window): When WINDOW is the
17164 selected window use `point' instead of `window-point'. (Bug#9626)
17165
17166 * startup.el (command-line-1): Use insert-before-markers when
17167 inserting initial-scratch-message. (Bug#9605)
17168
17169 * help.el (help-window): Remove variable.
17170
17171 2011-09-29 Glenn Morris <rgm@gnu.org>
17172
17173 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
17174
17175 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
17176
17177 * descr-text.el (describe-char-categories): Accept category
17178 descriptions more than one line long.
17179
17180 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
17181
17182 * simple.el (delete-trailing-whitespace): Fix last change.
17183
17184 * progmodes/perl-mode.el (perl-syntax-propertize-function):
17185 Don't confuse "y => 3" as the beginning of a `y' operation.
17186
17187 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
17188 object has more than 4 slots (bug#9613).
17189
17190 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
17191
17192 * subr.el (with-output-to-temp-buffer):
17193 * net/quickurl.el (quickurl, quickurl-browse-url):
17194 Fix typos in docstrings.
17195
17196 2011-09-27 Eli Zaretskii <eliz@gnu.org>
17197
17198 * minibuffer.el (completion-styles)
17199 (completion-category-overrides): Cross reference each other in doc
17200 strings.
17201
17202 2011-09-27 Glenn Morris <rgm@gnu.org>
17203
17204 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
17205 to split-string. (Bug#9606)
17206
17207 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
17208
17209 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
17210 (bug#9615).
17211
17212 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
17213
17214 * emacs-lisp/package.el (list-packages): Fix echo area message.
17215
17216 2011-09-27 Leo Liu <sdl.web@gmail.com>
17217
17218 * ido.el (ido-read-internal): Accept cons cell HIST arg.
17219
17220 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
17221
17222 * net/dbus.el (dbus-unregister-object): Don't release services for
17223 registered signals. (Bug#9581)
17224
17225 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
17226
17227 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
17228 function that picks between cfengine 2 and 3 support
17229 automatically. Update docs accordingly.
17230
17231 2011-09-22 Kenichi Handa <handa@m17n.org>
17232
17233 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
17234 ZERO.
17235 (indian-itrans-v5-table-for-tamil): New variable.
17236 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
17237
17238 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
17239
17240 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
17241 that's true if the current command involved collapsing of text.
17242 It's reset to false at the beginning of the next command.
17243 (allout-post-command-business): Move the cursor to the beginning
17244 of entry if the cursor is hidden and collapsing activity just
17245 happened.
17246
17247 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
17248
17249 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
17250 tracking (Bug#9541).
17251
17252 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
17253
17254 * net/newst-reader.el (newsticker-html-renderer)
17255 (newsticker-show-news): Automatically load html rendering package
17256 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
17257 because w3m-fill-column is let-bound" and the error "Symbol's value
17258 as variable is void: w3m-fill-column".
17259
17260 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
17261
17262 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
17263 Release services only if they are defined. (Bug#9581)
17264
17265 2011-09-23 Richard Stallman <rms@gnu.org>
17266
17267 * textmodes/paragraphs.el (forward-sentence): For backwards case,
17268 distinguish start of paragraph from start of its text.
17269
17270 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
17271
17272 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
17273 (rmail-generate-viewer-buffer): Put that hook on view buffer.
17274 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
17275
17276 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
17277
17278 * international/mule-diag.el (mule-diag): Insert a newline after
17279 each fontset description.
17280
17281 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17282
17283 * simple.el (delete-trailing-whitespace):
17284 Document last change; simplify.
17285
17286 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
17287
17288 * simple.el (delete-trailing-whitespace): Also delete
17289 extra newlines at the end of the buffer.
17290
17291 * textmodes/picture.el: Make motion commands obey shift-select-mode.
17292 (picture-newline): Use forward-line so as to ignore fields.
17293
17294 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
17295
17296 * subr.el (with-wrapper-hook): Fix edebug spec.
17297
17298 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
17299
17300 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
17301 (bug#4538).
17302
17303 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
17304
17305 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
17306 Fix nasty bug using wrong cached values.
17307
17308 2011-09-23 Alan Mackenzie <acm@muc.de>
17309
17310 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
17311
17312 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
17313
17314 * window.el (pop-to-buffer): Ensure right window is selected if we
17315 chose another frame.
17316
17317 2011-09-22 Eli Zaretskii <eliz@gnu.org>
17318
17319 * simple.el (what-cursor-position): Use get-char-property-change
17320 and next-single-char-property-change, to be able to show display
17321 properties that come from overlays as well as text properties.
17322
17323 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
17324
17325 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
17326
17327 * cmuscheme.el (run-scheme, switch-to-scheme):
17328 * cus-edit.el (customize-group, custom-buffer-create)
17329 (customize-browse):
17330 * info.el (info):
17331 * shell.el (shell):
17332 * mail/sendmail.el (mail):
17333 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
17334
17335 2011-09-22 Richard Stallman <rms@gnu.org>
17336
17337 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
17338 move back only to line beg, don't move back over blank lines.
17339
17340 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
17341
17342 * files.el (copy-directory): Set directory attributes only in case
17343 they could be retrieved from the source directory. (Bug#9565)
17344
17345 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
17346
17347 * progmodes/hideshow.el (hs-looking-at-block-start-p)
17348 (hs-find-block-beginning, hs-hide-level-recursive):
17349 Ignore strings as well as comments. (Bug#9502)
17350
17351 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
17352
17353 * progmodes/sql.el (sql-comint-postgres):
17354 Convert port number to a string. (Bug#9566)
17355
17356 2011-09-22 Martin Rudalics <rudalics@gmx.at>
17357
17358 * window.el (quit-window): Undedicate window when switching to
17359 previous buffer. Reported by Thierry Volpiatto
17360 <thierry.volpiatto@gmail.com>.
17361 (special-display-popup-frame): When popping up a new frame reset
17362 its previous buffers to nil. Simplify code.
17363
17364 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
17365
17366 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
17367 and process filter, as done also in `shell-command'.
17368
17369 2011-09-21 Martin Rudalics <rudalics@gmx.at>
17370
17371 * window.el (set-window-buffer-start-and-point):
17372 Call set-window-start with NOFORCE argument t.
17373 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
17374 (quit-window): Reword doc-string. Handle new format of
17375 quit-restore parameter. Don't delete window if it has a
17376 previous buffer we can show instead of the present one.
17377 (display-buffer-record-window): Rewrite using a new format for
17378 the quit-restore window parameter
17379 (special-display-popup-frame, display-buffer-same-window)
17380 (display-buffer-reuse-window, display-buffer-pop-up-frame)
17381 (display-buffer-pop-up-window, display-buffer-use-some-window):
17382 Adapt symbol passed to display-buffer-record-window.
17383 * help.el (help-window-setup): Handle new format of quit-restore
17384 parameter.
17385
17386 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
17387
17388 * faces.el (face-list): Fix docstring (bug#9564).
17389
17390 * window.el (display-buffer--action-function-custom-type):
17391 Don't include internal functions in the Custom interface.
17392
17393 2011-09-20 Juri Linkov <juri@jurta.org>
17394
17395 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
17396 (Info-forward-node, Info-backward-node, Info-next-preorder)
17397 (Info-last-preorder): Use it. (Bug#9528)
17398
17399 2011-09-20 Juri Linkov <juri@jurta.org>
17400
17401 * info.el (Info-last-preorder): Visit last menu item only when
17402 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
17403
17404 2011-09-20 Julien Danjou <julien@danjou.info>
17405
17406 * password-cache.el (password-cache-remove): Remove entries even if the
17407 value is nil, so that password with a nil value (negative caching) is
17408 possible to invalidate.
17409
17410 2011-09-20 Lawrence Mitchell <wence@gmx.li>
17411
17412 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
17413 all whitespace around breakpoint. (Bug#9553)
17414 (f90-find-breakpoint): Only break at whitespace inside a comment.
17415
17416 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
17417
17418 * minibuffer.el (completion-file-name-table): Keep track of errors.
17419 (completion-table-with-predicate): Handle the case where pred1 is nil.
17420 * pcomplete.el (pcomplete-completions-at-point): Simplify.
17421
17422 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17423
17424 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
17425 (debugger-return-value): Signal an error if the debugging context does
17426 not await any return value.
17427
17428 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
17429 * image-mode.el (image-toggle-display-text)
17430 (image-toggle-display-image): Stay away from evil `intangible'.
17431
17432 2011-09-19 Leo Liu <sdl.web@gmail.com>
17433
17434 * replace.el (occur-revert-arguments): Make it permanent-local.
17435 (occur-mode): Don't call font-lock-defontify.
17436
17437 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
17438
17439 * net/ldap.el (ldap-search-internal): Don't push empty search
17440 result (Bug#9508).
17441
17442 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
17443
17444 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
17445
17446 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
17447
17448 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
17449 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
17450
17451 2011-09-18 Juri Linkov <juri@jurta.org>
17452
17453 * buff-menu.el (Buffer-menu-mode-map):
17454 * dired.el (dired-mode-map):
17455 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
17456 (lisp-interaction-mode-map):
17457 * emacs-lisp/package.el (package-menu-mode-map):
17458 * epa.el (epa-key-list-mode-map):
17459 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
17460 (menu-bar-options-menu):
17461 * outline.el (outline-mode-menu-bar-map):
17462 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
17463 * vc/vc-dir.el (vc-dir-menu-map):
17464 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
17465 Capitalize non-function content words in menu item strings.
17466
17467 * dired.el (dired-mode-map): Add menu item for
17468 `image-dired-dired-toggle-marked-thumbs'.
17469
17470 2011-09-18 Juri Linkov <juri@jurta.org>
17471
17472 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
17473 to `isearch-case-fold-search' and restore its original value
17474 after the `isearch-mode' call.
17475
17476 2011-09-18 Juri Linkov <juri@jurta.org>
17477
17478 * progmodes/grep.el (grep-process-setup): Don't check code for 1
17479 because `zgrep' returns 1 for successful matches (bug#9226).
17480
17481 2011-09-18 Juri Linkov <juri@jurta.org>
17482
17483 * info.el (Info-extract-menu-node-name): Check the second match
17484 for empty string (second test-case of bug#9528).
17485 (Info-last-preorder): Let-bind `Info-history' to nil to not add
17486 intermediate nodes to the history (first test-case of bug#9528).
17487
17488 2011-09-18 Juri Linkov <juri@jurta.org>
17489
17490 * info.el (Info-mode-syntax-table): New variable.
17491 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
17492
17493 2011-09-18 Juri Linkov <juri@jurta.org>
17494
17495 * info.el (Info-file-supports-index-cookies):
17496 Increment line-beginning-position's arg from 3 to 4 because makeinfo
17497 outputs one more line for long file names (bug#4142).
17498
17499 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17500
17501 * newcomment.el (comment-normalize-vars): If prompting for
17502 comment-start, set comment-start-skip too (Bug#8424).
17503
17504 2011-09-18 Johan Bockgård <bojohan@gnu.org>
17505
17506 * icomplete.el: Fix previous fix of Bug#5849.
17507 (icomplete-mode): Don't set completion-show-inline-help.
17508 (icomplete-minibuffer-setup): Set completion-show-inline-help
17509 locally during icompletion.
17510
17511 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
17512
17513 * woman.el (woman2-process-escapes): Don't delete unrecognized
17514 escapes (Bug#7843).
17515
17516 * files.el (inhibit-first-line-modes-regexps): Add image files.
17517 (hack-local-variables-prop-line): Return nil for malformed
17518 prop-lines (Bug#9044).
17519
17520 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
17521
17522 * net/tramp.el (top): Don't require 'shell.
17523 (tramp-methods): Fix docstring.
17524 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
17525 Return complete remote file name. Handle "smb" case.
17526 Use `tramp-tmpdir', if defined for the respective method.
17527 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
17528
17529 * net/tramp-compat.el (top): Require 'shell.
17530
17531 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
17532 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
17533 `tramp-current-host'.
17534 (tramp-get-remote-tmpdir): Remove.
17535
17536 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
17537 `tramp-tmpdir' entries.
17538 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
17539 (tramp-smb-handle-file-attributes): Ignore errors.
17540 (tramp-smb-wait-for-output): Check also for process end.
17541
17542 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
17543
17544 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
17545 when sending QUIT (bug#9312).
17546
17547 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
17548
17549 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
17550 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
17551 occur-mode-display-occurrence.
17552 (occur-edit-mode): Add usage message.
17553 (occur-cease-edit): New command.
17554 (occur-after-change-function): Use text properties to find the
17555 position of the prefix text.
17556 (occur-engine): Set stickiness of prefix text properties.
17557
17558 2011-09-17 Glenn Morris <rgm@gnu.org>
17559
17560 * progmodes/etags.el (complete-tag):
17561 Fix call to completion-in-region. (Bug#9526)
17562
17563 2011-09-17 Juri Linkov <juri@jurta.org>
17564
17565 * textmodes/ispell.el (ispell-word): Add to the error message
17566 the word, ispell program name and current dictionary (bug#9121).
17567 (ispell-tex-arg-end): Capitalize "error" in the error message.
17568
17569 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
17570
17571 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
17572 check. (Bug#4251)
17573
17574 2011-09-17 Juri Linkov <juri@jurta.org>
17575
17576 * window.el (window-safe-min-height, window-safe-min-width):
17577 Fix typos (followup to bug#9522).
17578
17579 2011-09-17 Sven Joachim <svenjoac@gmx.de>
17580
17581 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
17582
17583 2011-09-16 Eli Zaretskii <eliz@gnu.org>
17584
17585 * simple.el (line-move): If goal-column is set, move by logical
17586 lines, not by display lines. (Bug#971)
17587 (next-line, previous-line, goal-column, line-move-visual): Doc fix
17588 to reflect the above change.
17589
17590 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
17591
17592 * image.el (imagemagick-register-types): Use regexp-opt.
17593
17594 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17595
17596 * window.el (display-buffer-base-action): Rename from
17597 display-buffer-default-action. Make default value empty.
17598 (display-buffer-overriding-action): Convert to defvar.
17599 (display-buffer-fallback-action): New var.
17600
17601 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
17602
17603 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
17604 declaration.
17605 (package--add-to-archive-contents): If there is a duplicate entry
17606 with an older version, remove it.
17607 (package-menu-mark-delete, package-menu-mark-install)
17608 (package-menu-mark-unmark): Make unused args optional.
17609 (package-menu-mark-obsolete-for-deletion):
17610 Use package-menu-get-status instead of a regexp search.
17611 (package-menu-get-status): Use tabulated-list-entry.
17612 (package-menu-mark-upgrades): New command.
17613 (package-menu-mode-map): Bind it to U. Add it to menu bar.
17614 (package-menu-execute): Do installation before deletion.
17615 (package-menu-refresh, package-menu-execute): Use derived-mode-p
17616 instead of checking major-mode.
17617 (package-menu--find-upgrades): New function.
17618
17619 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
17620
17621 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
17622 passwords in the log buffer.
17623 (smtpmail-process-filter): Update the process marker so that the
17624 "broken by peer" status message is inserted in the right place.
17625
17626 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
17627
17628 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
17629 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
17630 bibtex-completion-at-point-function.
17631 (bibtex-completion-at-point-function): Use them.
17632
17633 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
17634
17635 * mpc.el (mpc-constraints-tag-lookup): New function.
17636 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
17637 also to browser "album|playlist".
17638
17639 2011-09-14 Juri Linkov <juri@jurta.org>
17640
17641 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
17642 (isearch-edit-string): Use length of `isearch-string' when
17643 `isearch-fail-pos' returns nil.
17644 (isearch-message): Remove duplicate code and call
17645 `isearch-fail-pos' with arg `t'.
17646
17647 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
17648
17649 * replace.el (occur-mode-goto-occurrence): Don't force using other
17650 window (Bug#9499).
17651
17652 * dired-aux.el (dired-do-chmod): Don't provide initial input.
17653
17654 2011-09-14 Martin Rudalics <rudalics@gmx.at>
17655
17656 * window.el (display-buffer-window): Remove.
17657 (display-buffer-record-window): Use help-setup window parameter
17658 instead of variable display-buffer-window.
17659 (display-buffer-function, special-display-buffer-names)
17660 (special-display-function): Mention help-setup parameter instead
17661 of display-buffer-window in doc-string.
17662 * help.el (help-window-setup): New argument help-window.
17663 Use help-window-setup parameter instead of display-buffer-window.
17664 Reword some messages.
17665 (with-help-window): Pass window used for displaying the buffer
17666 to help-window-setup. Don't set display-buffer-window.
17667
17668 2011-09-13 Glenn Morris <rgm@gnu.org>
17669
17670 * emacs-lisp/debug.el (debugger-make-xrefs):
17671 Preserve point. (Bug#9462)
17672
17673 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17674
17675 * window.el (window-deletable-p): Use next-frame.
17676
17677 2011-09-13 Martin Rudalics <rudalics@gmx.at>
17678
17679 * window.el (window-auto-delete): Remove.
17680 (window-deletable-p): Remove argument FORCE. Don't deal with
17681 dedication and previous buffers.
17682 (switch-to-prev-buffer): Don't delete window.
17683 (delete-windows-on): Delete a window's frame if and only if the
17684 window is dedicated.
17685 (replace-buffer-in-windows): Delete buffer's window or frame if
17686 and only if window is dedicated.
17687 (quit-window): Handle quit-restore as before last change.
17688 (bury-buffer): Delete window only if window-deletable-p returns t.
17689
17690 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
17691
17692 * window.el (window-deletable-p): Never delete the last frame on a
17693 given terminal.
17694
17695 2011-09-13 Glenn Morris <rgm@gnu.org>
17696
17697 * help.el (describe-key-briefly): Copy previous standard-output change.
17698
17699 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
17700
17701 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
17702
17703 2011-09-13 Glenn Morris <rgm@gnu.org>
17704
17705 * emacs-lisp/lisp-mode.el (lisp-indent-function):
17706 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
17707
17708 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
17709
17710 * dired-aux.el (dired-mark-read-string): Don't return default
17711 value on empty input (Bug#9361).
17712 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
17713 Omit initial minibuffer contents.
17714 (dired-do-chmod): Signal an error on empty input.
17715 (dired-mark-read-string): Don't return default on empty input.
17716
17717 * files.el (file-modes-symbolic-to-number): Doc fix.
17718
17719 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
17720
17721 * international/mule-cmds.el (ucs-completions): Remove.
17722 (read-char-by-name): Use complete-with-action instead; add metadata.
17723
17724 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17725
17726 * window.el (display-buffer--action-function-custom-type)
17727 (display-buffer--action-custom-type): New vars.
17728 (display-buffer-alist, display-buffer-default-action)
17729 (display-buffer-overriding-action): Add defcustom types.
17730
17731 * frame.el (delete-other-frames): Doc fix (Bug#276).
17732
17733 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17734
17735 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
17736
17737 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
17738
17739 Change modes that used same-window-* vars to use switch-to-buffer.
17740
17741 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
17742 Use switch-to-buffer.
17743
17744 * cus-edit.el (customize-group, custom-buffer-create)
17745 (customize-browse, custom-buffer-create-other-window):
17746 Use switch-to-buffer or switch-to-buffer-other-window.
17747
17748 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
17749 (Info-prev, Info-up, Info-speedbar-goto-node)
17750 (info-display-manual): Use switch-to-buffer.
17751 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
17752
17753 * mail/sendmail.el (mail): Use switch-to-buffer.
17754 (mail-recover): Use switch-to-buffer-other-window.
17755
17756 * cmuscheme.el (run-scheme, switch-to-scheme):
17757 * ielm.el (ielm):
17758 * shell.el (shell):
17759 * net/rlogin.el (rlogin):
17760 * net/telnet.el (telnet, rsh):
17761 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
17762
17763 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
17764
17765 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
17766
17767 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
17768
17769 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
17770 so don't mention it (bug#9301).
17771 (dired-sort-toggle-or-edit): Clarify string further.
17772
17773 * faces.el (face-spec-set-match-display): Make `(type graphic)'
17774 match `x', `w32' and `ns', like the manual says (bug#9029).
17775
17776 * subr.el (eval-after-load): Doc string clarification (bug#9125).
17777 (process-kill-buffer-query-function): Mention the buffer name in
17778 the query.
17779
17780 * image-mode.el (image-next-line): The line parameter is mandatory
17781 (bug#9258).
17782
17783 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
17784 which can be useful (bug#9301).
17785
17786 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
17787
17788 * subr.el (match-string): Mention that the current buffer should
17789 be the same as the search was done in (bug#9282).
17790
17791 * facemenu.el: Disable the remove-* commands if the mark isn't
17792 active (bug#9162).
17793
17794 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17795
17796 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
17797 of display-buffer.
17798 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
17799
17800 * replace.el (occur-mode-goto-occurrence)
17801 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
17802 and display-buffer.
17803
17804 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
17805 display-buffer.
17806
17807 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
17808 special-display and same-window variables.
17809 (mail-other-window): Use switch-to-buffer-other-window.
17810 (mail-other-frame): USe switch-to-buffer-other-frame.
17811
17812 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
17813 Use display-buffer-other-frame.
17814 (gdb-display-gdb-buffer): Use pop-to-buffer.
17815
17816 * progmodes/gud.el (gud-goto-info): Use info-other-window.
17817
17818 * progmodes/python.el: Don't set same-window-buffer-names.
17819
17820 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
17821
17822 * window.el (display-buffer-alist): Add *Python*.
17823
17824 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
17825
17826 * window.el (display-buffer-alist): Add entry for buffers
17827 previously handled same-window-*.
17828 (display-buffer-alist, display-buffer-default-action)
17829 (display-buffer-overriding-action): Mark as risky.
17830 (display-buffer-alist): Document action function changes.
17831 (display-buffer--same-window-action)
17832 (display-buffer--other-frame-action): New variables.
17833 (switch-to-buffer, display-buffer-other-frame): Use them.
17834 (display-buffer): Rename reuse-frame entry to reusable-frames.
17835 (display-buffer-reuse-selected-window): Function deleted.
17836 (display-buffer-reuse-window): Handle reusable-frames alist entry.
17837 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
17838 (display-buffer-special): New function.
17839 (display-buffer--maybe-pop-up-frame-or-window): Rename from
17840 display-buffer-reuse-or-pop-window. Split off special-display
17841 part into display-buffer-special.
17842 (display-buffer-use-some-window): Don't perform any special
17843 pop-up-frames handling.
17844 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
17845 (display-buffer--maybe-same-window): Rename from
17846 display-buffer-maybe-same-window.
17847
17848 * info.el: Don't set same-window-regexps.
17849 (info-setup): New function.
17850 (info-other-window, info): Call it.
17851
17852 * cus-edit.el: Don't set same-window-regexps.
17853 (customize-group): New argument.
17854 (customize-group-other-window): Use it.
17855 (customize-face, customize-face-other-window): Likewise.
17856 (custom-buffer-create-other-window): Use pop-to-buffer directly.
17857
17858 * net/rlogin.el:
17859 * net/telnet.el:
17860 * progmodes/gud.el: Don't set same-window-regexps.
17861
17862 * cmuscheme.el:
17863 * ielm.el:
17864 * shell.el:
17865 * mail/sendmail.el:
17866 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
17867
17868 2011-09-10 Juri Linkov <juri@jurta.org>
17869
17870 * isearch.el (isearch-edit-string): Remove obsolete mention of
17871 `C-w' (`isearch-yank-word-or-char') from docstring.
17872 (isearch-query-replace): Fix typo in docstring (bug#9466).
17873
17874 2011-09-10 Juri Linkov <juri@jurta.org>
17875
17876 * paren.el (show-paren-function): Don't show escaped parens.
17877 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
17878
17879 2011-09-10 Eli Zaretskii <eliz@gnu.org>
17880
17881 * mail/sendmail.el (mml-to-mime, mml-attach-file)
17882 (mm-default-file-encoding): Remove autoload forms, they are
17883 replaced with autoload cookies in mml.el and mm-encode.el.
17884 (mail-add-attachment): New command.
17885 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
17886 (mail-mode): Mention mail-insert-file and mail-add-attachment in
17887 the doc string.
17888 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
17889
17890 2011-09-10 Reuben Thomas <rrt@sc3d.org>
17891
17892 * simple.el (count-words-region): Use buffer if there's no region
17893 (bug#9429).
17894
17895 2011-09-09 Juri Linkov <juri@jurta.org>
17896
17897 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
17898 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
17899 (wdired-isearch-filter-read-only): New function. (Bug#6362)
17900
17901 2011-09-09 Alan Mackenzie <acm@muc.de>
17902
17903 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
17904 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
17905
17906 2011-09-09 Eli Zaretskii <eliz@gnu.org>
17907
17908 Fix for Savannah bug#9392.
17909 * simple.el (mail-encode-mml): New defvar.
17910
17911 * mail/rmail.el (mail-encode-mml): Add a defvar.
17912 (rmail-enable-mime-composing): Default to t.
17913 (rmail-forward): Use MIME method of forwarding only if both
17914 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
17915 Set mail-encode-mml non-nil if the MIME method was used.
17916
17917 * mail/sendmail.el (mml-to-mime): Add autoload form.
17918 (mail-encode-mml): Add a defvar.
17919 (mail-mode): Make mail-encode-mml buffer-local and initialize it
17920 to nil.
17921 (mail-send): If mail-encode-mml is non-nil, run the outgoing
17922 message through mml-to-mime, and reset mail-encode-mml to nil.
17923
17924 2011-09-09 Glenn Morris <rgm@gnu.org>
17925
17926 * woman.el (woman-if-body): When processing an .el block,
17927 do not delete the next .el block as well. (Bug#9447)
17928 (woman-special-characters): Add oq, cq, and hy characters.
17929
17930 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17931
17932 * window.el (window-deletable-p): Make sure window is live before
17933 invoking window-prev-buffers.
17934
17935 2011-09-08 Leo Liu <sdl.web@gmail.com>
17936
17937 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
17938
17939 2011-09-08 Juri Linkov <juri@jurta.org>
17940
17941 * progmodes/compile.el (compilation-environment): Make it
17942 a defcustom (bug#8340).
17943
17944 2011-09-08 Martin Rudalics <rudalics@gmx.at>
17945
17946 * window.el (frame-auto-delete): Rename to window-auto-delete.
17947 Make it control auto-deletion of windows and/or frames.
17948 (window-deletable-p): New argument FORCE. Rewrite conditions
17949 for deleting window/frame. (Bug#9419)
17950 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
17951 Rewrite handling of case when window/frame can be deleted.
17952 (delete-windows-on): Call window-deletable-p with new FORCE
17953 argument t. (Bug#9456)
17954
17955 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
17956
17957 * help-mode.el (help-mode): Restore autoload.
17958
17959 2011-09-07 Juri Linkov <juri@jurta.org>
17960
17961 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
17962 `compilation-environment'. Set buffer-local
17963 `compilation-environment' to `thisenv' later after (funcall mode).
17964 (Bug#8340)
17965
17966 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
17967 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
17968 instead of replacing its value. (Bug#8340)
17969
17970 2011-09-07 Juri Linkov <juri@jurta.org>
17971
17972 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
17973 based on text properties put by `grep-filter' instead of matching
17974 escape sequences.
17975 (grep-mode): Set buffer-local `compilation-error-screen-columns'
17976 to the value of `grep-error-screen-columns' (bug#9438).
17977
17978 2011-09-07 Juri Linkov <juri@jurta.org>
17979
17980 * simple.el (next-error-highlight, next-error-highlight-no-select):
17981 Doc fix (bug#9432).
17982
17983 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
17984
17985 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17986 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
17987
17988 2011-09-07 Leo Liu <sdl.web@gmail.com>
17989
17990 * net/rcirc.el (rcirc-mode): Conditionally initialize
17991 rcirc-input-ring.
17992
17993 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
17994
17995 * emacs-lisp/find-func.el (find-function-C-source): Only set
17996 find-function-C-source-directory after checking that we found a source
17997 file there (bug#9440).
17998
17999 2011-09-06 Alan Mackenzie <acm@muc.de>
18000
18001 * isearch.el (isearch-other-meta-char): Wherever a key list is
18002 unread, "unread" the prefix arg, too. This fixes bug #8901.
18003
18004 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
18005
18006 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
18007
18008 2011-09-05 Juri Linkov <juri@jurta.org>
18009
18010 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
18011
18012 2011-09-05 Juri Linkov <juri@jurta.org>
18013
18014 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
18015 keeping point where processing of grep matches begins, and
18016 continue to delete remaining escape sequences from the same point.
18017 (grep-filter): Make leading zero optional in "0?1;31m" because
18018 git-grep emits "\033[1;31m" escape sequences unlike expected
18019 "\033[01;31m" as GNU Grep does (bug#9408).
18020 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
18021
18022 2011-09-05 Juri Linkov <juri@jurta.org>
18023
18024 * subr.el (y-or-n-p): Capitalize "yes".
18025
18026 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
18027
18028 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
18029 `tramp-cache-unload-hook' where appropriate.
18030 (tramp-methods): Rename `tramp-remote-sh' to
18031 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
18032 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
18033
18034 * net/tramp-sh.el (top): Don't require 'shell.
18035 (tramp-methods): Add `tramp-remote-shell' and
18036 `tramp-remote-shell-args' entries.
18037 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
18038 (tramp-sh-handle-shell-command): Remove.
18039 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18040 Use `tramp-remote-shell'.
18041
18042 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
18043
18044 * mail/sendmail.el (sendmail-query-once-function): Delete.
18045 (sendmail-query-once): Save directly to send-mail-function.
18046 Update message-send-mail-function too.
18047
18048 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
18049
18050 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18051
18052 * progmodes/python.el (python-mode-map): Use correct function to
18053 start python interpreter from menu-bar (as reported by Geert
18054 Kloosterman).
18055 (inferior-python-mode-map): Fix typo.
18056 (python-shell-map): Remove.
18057
18058 2011-09-03 Deniz Dogan <deniz@dogan.se>
18059
18060 * net/rcirc.el (rcirc-print): Simplify code for
18061 rcirc-scroll-show-maximum-output. There is no need to walk
18062 through all windows to find the right one.
18063
18064 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
18065
18066 * help.el (help-return-method): Doc fix.
18067
18068 2011-09-03 Martin Rudalics <rudalics@gmx.at>
18069
18070 * window.el (window-deletable-p): Don't return a non-nil value
18071 when there's a buffer that was shown in the window before.
18072 (Bug#9419)
18073 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18074 Set window's previous buffers to nil.
18075
18076 2011-09-03 Eli Zaretskii <eliz@gnu.org>
18077
18078 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
18079 newline before and after the tag line, so it doesn't interfere
18080 with determining the paragraph direction of bidirectional text.
18081
18082 2011-09-03 Leo Liu <sdl.web@gmail.com>
18083
18084 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
18085
18086 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18087
18088 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
18089 (pop-to-buffer): Change interactive spec. Pass second argument
18090 directly to display-buffer.
18091 (display-buffer): Fix interactive spec. Use functionp to
18092 distinguish between a function and a list of functions.
18093
18094 * abbrev.el (edit-abbrevs):
18095 * arc-mode.el (archive-extract):
18096 * autoinsert.el (auto-insert):
18097 * bookmark.el (bookmark-bmenu-list):
18098 * files.el (find-file):
18099 * view.el (view-buffer):
18100 * progmodes/compile.el (compilation-goto-locus):
18101 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
18102
18103 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
18104
18105 * window.el (display-buffer-alist): Doc fix.
18106 (display-buffer): Add docstring. Don't treat
18107 display-buffer-default specially.
18108 (display-buffer-reuse-selected-window)
18109 (display-buffer-same-window, display-buffer-maybe-same-window)
18110 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18111 (display-buffer-pop-up-window)
18112 (display-buffer-reuse-or-pop-window)
18113 (display-buffer-use-some-window): New functions.
18114 (display-buffer-default-action): Use them.
18115 (display-buffer-default): Delete.
18116 (pop-to-buffer-1): Fix choice of actions.
18117
18118 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
18119
18120 * minibuffer.el (completion--insert-strings): Don't get confused by
18121 completion entries that end with an LF char.
18122
18123 2011-09-01 Eli Zaretskii <eliz@gnu.org>
18124
18125 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
18126
18127 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
18128
18129 * window.el (display-buffer): Restore interactive spec.
18130 (display-buffer-same-window, display-buffer-other-window):
18131 New functions.
18132 (pop-to-buffer-1): New function. Use the above.
18133 (pop-to-buffer, pop-to-buffer-same-window): Use it.
18134 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
18135
18136 * view.el (view-buffer-other-window, view-buffer-other-frame):
18137 Just use pop-to-buffer.
18138
18139 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18140
18141 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
18142
18143 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
18144
18145 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
18146
18147 2011-08-31 Richard Stallman <rms@gnu.org>
18148
18149 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
18150 of the separation of rmail-view-buffer from rmail-buffer.
18151 If you say no to "replace original", the decrypt is in the
18152 view buffer. If you say yes, the decrypt goes into the
18153 rmail buffer also.
18154
18155 2011-08-31 Martin Rudalics <rudalics@gmx.at>
18156
18157 * window.el (display-buffer-window): Rewrite doc-string.
18158 (display-buffer-record-window): New function.
18159 (display-buffer-macro-specifiers)
18160 (display-buffer-even-window-sizes, display-buffer-set-height)
18161 (display-buffer-set-width, display-buffer-in-window)
18162 (display-buffer-reuse-window, display-buffer-split-specifiers)
18163 (display-buffer-side-specifiers, display-buffer-split-window-1)
18164 (display-buffer-split-window, display-buffer-split-atom-window)
18165 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18166 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
18167 (display-buffer-other-window-means-other-frame)
18168 (display-buffer-normalize-special)
18169 (display-buffer-normalize-default)
18170 (display-buffer-normalize-argument)
18171 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
18172 (display-buffer-normalize-specifiers, display-buffer-frame)
18173 (display-buffer-same-window, display-buffer-same-frame)
18174 (display-buffer-other-window)
18175 (display-buffer-same-frame-other-window)
18176 (display-buffer-other-frame, pop-to-buffer-same-window)
18177 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
18178 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
18179 (switch-to-buffer-same-frame)
18180 (switch-to-buffer-other-window-same-frame)
18181 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
18182 (display-buffer-alist-set-1, display-buffer-alist-set-2)
18183 (display-buffer-alist-set): Remove.
18184 (display-buffer-function, special-display-buffer-names)
18185 (special-display-regexps, special-display-function):
18186 In doc-string refer to display-buffer-window and quit-restore
18187 parameter.
18188 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
18189 (special-display-frame-alist, special-display-popup-frame)
18190 (same-window-buffer-names, same-window-regexps, same-window-p)
18191 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18192 (split-window-preferred-function, split-height-threshold)
18193 (split-width-threshold, window-splittable-p)
18194 (split-window-sensibly, window--try-to-split-window)
18195 (window--frame-usable-p, even-window-heights)
18196 (window--even-window-heights, window--display-buffer-1)
18197 (window--display-buffer-2, display-buffer-other-frame):
18198 Restore old Emacs 23 code, order and doc-strings where applicable.
18199 (display-buffer-default, display-buffer-assq-regexp): New functions.
18200 (display-buffer-alist): Rewrite doc-string.
18201 (display-buffer-default-action)
18202 (display-buffer-overriding-action): New variables.
18203 (display-buffer, switch-to-buffer): Rewrite.
18204 (pop-to-buffer): Restore Emacs 23 behavior but use
18205 window-normalize-buffer-to-display.
18206 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
18207 Restore Emacs 23 behavior but use
18208 window-normalize-buffer-to-switch-to.
18209 (pop-to-buffer-same-window): Rewrite.
18210 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
18211 Rewrite using Emacs 23 options.
18212
18213 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
18214
18215 * net/tramp.el (tramp-root-regexp): Remove.
18216 (tramp-completion-file-name-regexp-unified)
18217 (tramp-completion-file-name-regexp-separate)
18218 (tramp-completion-file-name-regexp-url): Don't use leading volume
18219 letter on w32 systems. (Bug#5303, Bug#9311)
18220 (tramp-drop-volume-letter): Simplify definition.
18221 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
18222
18223 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
18224
18225 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
18226 (bug#9356).
18227
18228 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
18229
18230 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
18231
18232 2011-08-29 Juri Linkov <juri@jurta.org>
18233
18234 * isearch.el (isearch-done): Don't display message "Mark saved"
18235 when arg `edit' is non-nil to prevent its flicker in the echo area.
18236
18237 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18238
18239 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
18240 obsolete packages for deletion.
18241
18242 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
18243
18244 * help-mode.el (help-mode-map): Add special-mode-map to parent.
18245 (help-mode): Derive help-mode from special-mode. Don't invoke
18246 view-mode from help-mode.
18247 (help-xref-override-view-map): Remove.
18248 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
18249 view-mode is not used anymore.
18250
18251 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
18252
18253 * server.el (server-port): Doc fix.
18254
18255 * cus-theme.el (custom-theme-choose-mode): Inherit from
18256 special-mode (Bug#9124).
18257 (custom-theme-choose-mode-map): Add special-mode to parent.
18258
18259 2011-08-28 Alan Mackenzie <acm@muc.de>
18260
18261 * progmodes/cc-fonts.el
18262 (c-make-font-lock-BO-decl-search-function): New function.
18263 (c-basic-matchers-after - "Fontify the clauses after various
18264 keywords"): Extract the three keyword lists for the 3 erroneous
18265 constructs from the list of four, and use the new function above
18266 in place of an old one.
18267
18268 2011-08-28 Deniz Dogan <deniz@dogan.se>
18269
18270 * net/rcirc.el (rcirc-insert-prev-input)
18271 (rcirc-insert-next-input): Remove unused argument.
18272
18273 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
18274
18275 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
18276
18277 2011-08-27 Alan Mackenzie <acm@muc.de>
18278
18279 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
18280 handle function pointer parameters properly.
18281
18282 2011-08-27 Martin Rudalics <rudalics@gmx.at>
18283
18284 * window.el (display-buffer-reuse-window): Fix case where
18285 selected window was reused with non-nil OTHER-WINDOW argument.
18286 (Bug#9381)
18287
18288 2011-08-27 Deniz Dogan <deniz@dogan.se>
18289
18290 * net/rcirc.el (rcirc-check-auth-status): Adding support for
18291 oftc's NickServ messages.
18292
18293 2011-08-27 Glenn Morris <rgm@gnu.org>
18294
18295 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
18296
18297 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
18298
18299 * emacs-lisp/package.el (package-install): Call package-initialize
18300 if called interactively.
18301
18302 2011-08-26 Leo Liu <sdl.web@gmail.com>
18303
18304 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
18305
18306 2011-08-25 Juri Linkov <juri@jurta.org>
18307
18308 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18309 `search-whitespace-regexp' (bug#9364).
18310
18311 2011-08-25 Juri Linkov <juri@jurta.org>
18312
18313 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
18314 `regexp-search-ring' to their global values to protect from
18315 updating by `read-from-minibuffer' (bug#9185).
18316
18317 2011-08-25 Juri Linkov <juri@jurta.org>
18318
18319 * textmodes/ispell.el (ispell-command-loop): Add newline
18320 at the end of the "Use option `i'..." line.
18321
18322 2011-08-25 Juri Linkov <juri@jurta.org>
18323
18324 * battery.el (display-battery-mode): If `battery-status-function'
18325 or `battery-mode-line-format' is nil, display the message and set
18326 `display-battery-mode' to nil (bug#9363).
18327
18328 2011-08-25 Eli Zaretskii <eliz@gnu.org>
18329
18330 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
18331 bidi-string-mark-left-to-right; they are unnecessary now.
18332
18333 2011-08-25 Deniz Dogan <deniz@dogan.se>
18334
18335 * net/quickurl.el: Documentation typo fixes.
18336
18337 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
18338
18339 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
18340
18341 2011-08-25 Glenn Morris <rgm@gnu.org>
18342
18343 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
18344
18345 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
18346 (smtpmail-via-smtp): Handle nil response from smtp.
18347
18348 2011-08-24 Juri Linkov <juri@jurta.org>
18349
18350 * proced.el (proced-marked): Inherit from `error' instead of
18351 `font-lock-warning-face'.
18352
18353 * ibuffer.el (ibuffer-marked-face): Change default face from
18354 `font-lock-warning-face' to `warning'.
18355 (ibuffer-deletion-face): Change default face from
18356 `font-lock-type-face' to `error'.
18357
18358 * battery.el (battery-update): Use the face `error' instead of
18359 `font-lock-warning-face' (bug#6117).
18360
18361 2011-08-24 Juri Linkov <juri@jurta.org>
18362
18363 * faces.el (success): Change face color from "Green3" to
18364 "ForestGreen" on light background (bug#9353).
18365
18366 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
18367
18368 * window.el (quit-window): Rename from quit-restore-window.
18369 Use same arglist as old quit-window.
18370 (frame-auto-delete): Doc fix.
18371
18372 * view.el (view-mode-exit): Use quit-window.
18373
18374 2011-08-24 Juri Linkov <juri@jurta.org>
18375
18376 * isearch.el (isearch-ring-adjust1): Start visiting previous
18377 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
18378 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
18379 for empty search string (when the last search string is reused
18380 automatically) to adjust the isearch ring to the last element and
18381 prepare the correct index for further M-p commands (bug#9185).
18382
18383 2011-08-24 Kenichi Handa <handa@m17n.org>
18384
18385 * international/ucs-normalize.el: If decomposition property of
18386 CHAR is the default one (i.e. a list of CHAR itself), treat it as
18387 nil.
18388 (nfd, nfkd): Likewise.
18389
18390 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
18391
18392 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
18393 from process filters aren't reliably transmitted to the surrounding
18394 accept-process-output.
18395 (mpc-proc-check): New function.
18396 (mpc-proc-sync): Use it (bug#8293)
18397
18398 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18399
18400 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
18401 Add compatibility functions (bug#9313).
18402
18403 2011-08-23 Eli Zaretskii <eliz@gnu.org>
18404
18405 * cus-start.el (all): Add entry for bidi-paragraph-direction.
18406
18407 * international/uni-bidi.el: Regenerate.
18408
18409 2011-08-23 Kenichi Handa <handa@m17n.org>
18410
18411 * international/charprop.el:
18412 * international/uni-bidi.el:
18413 * international/uni-category.el:
18414 * international/uni-combining.el:
18415 * international/uni-comment.el:
18416 * international/uni-decimal.el:
18417 * international/uni-decomposition.el:
18418 * international/uni-digit.el:
18419 * international/uni-lowercase.el:
18420 * international/uni-mirrored.el:
18421 * international/uni-name.el:
18422 * international/uni-numeric.el:
18423 * international/uni-old-name.el:
18424 * international/uni-titlecase.el:
18425 * international/uni-uppercase.el: Regenerate.
18426
18427 2011-08-23 Martin Rudalics <rudalics@gmx.at>
18428
18429 * help.el (help-window-setup): Fix message displayed when other
18430 window is reused. (Bug#9341)
18431
18432 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
18433
18434 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
18435 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
18436
18437 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
18438 Mark obsolete.
18439 * shell.el (shell-parse-pcomplete-arguments): New function.
18440 (shell-completion-vars): Use it instead (bug#9160).
18441
18442 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
18443
18444 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
18445 strings and comments (bug#9333).
18446
18447 * emacs-lisp/debug.el (debug-arglist): New function.
18448 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
18449 (debug-on-entry-1): Handle interpreted closures (bug#9120).
18450
18451 2011-08-22 Juri Linkov <juri@jurta.org>
18452
18453 * progmodes/compile.el (compilation-mode-font-lock-keywords):
18454 Revert regexp that highlights output switches to its old
18455 pre-2010-10-28 value and remove one `?' from it (bug#9319).
18456
18457 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
18458 to check for empty output (bug#9226).
18459
18460 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
18461
18462 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
18463 symbol-constituent as the default, as that stops font-lock from
18464 working properly (Bug#8843).
18465
18466 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18467
18468 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
18469 `coding-system-for-*' around the process open call to avoid
18470 auth-source side effects.
18471 (smtpmail-try-auth-methods): Expand the secret password.
18472 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
18473 probe hangs.
18474
18475 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18476
18477 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
18478
18479 * emacs-lisp/find-func.el (find-function-noselect): New arg
18480 lisp-only.
18481
18482 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
18483 signal an error for built-in functions (Bug#6664).
18484
18485 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
18486
18487 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
18488 (smtpmail-try-auth-methods): Use it.
18489
18490 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
18491
18492 * font-lock.el (font-lock-fontify-region)
18493 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
18494 (font-lock-default-unfontify-buffer)
18495 (font-lock-default-fontify-region)
18496 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
18497
18498 * progmodes/compile.el (compilation-error-properties):
18499 Fix confusion between file struct and message struct (Bug#9319).
18500 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
18501 `ant' regexp.
18502
18503 * net/browse-url.el (browse-url-firefox): Don't call
18504 browse-url-firefox-sentinel unless using -remote (Bug#9328).
18505
18506 2011-08-20 Glenn Morris <rgm@gnu.org>
18507
18508 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
18509
18510 * tutorial.el (tutorial--default-keys): Update some default bindings.
18511
18512 * files.el (hack-local-variables): Fully ignore case for "mode:".
18513
18514 2011-08-20 Alan Mackenzie <acm@muc.de>
18515
18516 Resolve invalid use of a regexp in regexp-opt.
18517
18518 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
18519 detection for a java annotation.
18520
18521 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
18522 detection for a java annotation.
18523
18524 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
18525 handling for java.
18526 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
18527
18528 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
18529
18530 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
18531 (Bug#9274).
18532
18533 2011-08-20 Alan Mackenzie <acm@muc.de>
18534
18535 Fontify CPP expressions correctly when starting in the middle of
18536 such a construct. Mainly for when jit-lock etc. starts a chunk
18537 here.
18538
18539 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
18540 variable.
18541 (c-make-font-lock-search-form): New function, extracted from
18542 c-make-font-lock-search-function.
18543 (c-make-font-lock-search-function): Use the above function.
18544 (c-make-font-lock-context-search-function): New function.
18545 (c-cpp-matchers): Enhance the preprocessor expression case with
18546 the above function
18547 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
18548 which takes an expression.
18549
18550 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
18551
18552 2011-08-20 Martin Rudalics <rudalics@gmx.at>
18553
18554 * window.el (display-buffer-reuse-window)
18555 (display-buffer-pop-up-window): Don't reuse or split a side
18556 window.
18557
18558 2011-08-19 Glenn Morris <rgm@gnu.org>
18559
18560 * files.el (hack-local-variables-prop-line, hack-local-variables):
18561 Downcase "Mode:". (Bug#9331)
18562
18563 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
18564
18565 * international/characters.el: Add L and R categories.
18566
18567 * subr.el (bidi-string-mark-left-to-right): Rename from
18568 string-mark-left-to-right. Use category search.
18569
18570 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
18571
18572 2011-08-18 Juri Linkov <juri@jurta.org>
18573
18574 * faces.el (error, warning, success): New faces with definitions
18575 copied from old default values of `font-lock-warning-face',
18576 `compilation-warning', `compilation-info' (bug#6117).
18577
18578 * font-lock.el (font-lock-warning-face): Inherit from `error'.
18579
18580 * progmodes/compile.el (compilation-error): Inherit from `error'.
18581 (compilation-warning): Inherit from `warning'.
18582 (compilation-info): Inherit from `success'.
18583
18584 * dired.el (dired-marked): Inherit from `warning'.
18585 (dired-flagged): Inherit from `error'.
18586
18587 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18588
18589 * mail/smtpmail.el (auth-source): Require to avoid problems with
18590 binding variables (bug#9298). Also clean up some unused
18591 autoloads.
18592
18593 * net/network-stream.el (network-stream-open-starttls):
18594 Support using starttls.el without using gnutls-cli.
18595
18596 2011-08-17 Juri Linkov <juri@jurta.org>
18597
18598 * progmodes/grep.el (rgrep): Handle the case when
18599 `grep-find-command' is a cons cell (bug#9278).
18600
18601 2011-08-17 Martin Rudalics <rudalics@gmx.at>
18602
18603 * window.el (display-buffer-pop-up-frame): Run frame creation
18604 function with BUFFER current (as special-display-popup-frame
18605 does). Reported by Drew Adams.
18606
18607 2011-08-17 Daiki Ueno <ueno@unixuser.org>
18608
18609 * epa-mail.el: Simplify GnuPG group expansion using
18610 epg-expand-group.
18611 (epa-mail-group-alist, epa-mail-group-modtime)
18612 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
18613 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
18614 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
18615 Remove.
18616
18617 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
18618
18619 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
18620
18621 2011-08-16 Alan Mackenzie <acm@muc.de>
18622
18623 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
18624 Correct, to avoid the inside of macros.
18625
18626 2011-08-16 Richard Stallman <rms@gnu.org>
18627
18628 * epa-mail.el: Handle GnuPG group definitions.
18629 (epa-mail-group-alist, epa-mail-group-modtime)
18630 (epa-mail-gnupg-conf-file): New variables.
18631 (epa-mail-parse-groups, epa-mail-sync-groups)
18632 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
18633 (epa-mail-expand-recipients): New functions.
18634 (epa-mail-encrypt): Call epa-mail-expand-recipients.
18635
18636 * mail/rmail.el (rmail-epa-decrypt): New command.
18637
18638 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
18639 Don't bind buffer-read-only, just inhibit-read-only.
18640 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
18641 (epa-decrypt-armor-in-region): Make error message clearer.
18642
18643 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
18644
18645 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
18646 and "a2b" to "ab" for `prefix'.
18647
18648 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
18649
18650 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
18651 filter groups.
18652 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
18653 Fourquet (Bug#8804).
18654
18655 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
18656
18657 * startup.el (argi): Declare as global variable (bug#9275).
18658
18659 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
18660
18661 * subr.el (string-mark-left-to-right): Search the entire string
18662 for RTL script, not just the terminating character. Doc fix.
18663
18664 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
18665
18666 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
18667 New function.
18668 (js--regexp-literal, js-syntax-propertize-function): Remove.
18669 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
18670 (js-mode-map): Don't rebind electric keys.
18671 (js-insert-and-indent): Remove.
18672 (js-mode): Setup electric-layout and electric-indent instead.
18673
18674 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
18675
18676 2011-08-12 Daiki Ueno <ueno@unixuser.org>
18677
18678 * epa.el (epa-progress-callback-function): Fix the logic of
18679 displaying progress.
18680 * epa-file.el (epa-file-insert-file-contents): Make progress
18681 display more user-friendly.
18682 (epa-file-write-region): Ditto.
18683
18684 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
18685
18686 * subr.el (string-mark-left-to-right): New function.
18687
18688 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
18689 Use string-mark-left-to-right.
18690 (list-buffers-noselect): Caller changed.
18691
18692 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
18693 Use string-mark-left-to-right.
18694 (tabulated-list-print): Recenter after moving point.
18695
18696 2011-08-10 Juri Linkov <juri@jurta.org>
18697
18698 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
18699 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
18700 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
18701
18702 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
18703
18704 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
18705 (Bug#7554).
18706
18707 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
18708
18709 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
18710 character. (Bug#6594)
18711
18712 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
18713
18714 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
18715 (image-dired--with-db-file): New macro.
18716 (image-dired-write-tags, image-dired-remove-tag)
18717 (image-dired-create-gallery-lists, image-dired-write-comments)
18718 (image-dired-get-comment, image-dired-mark-tagged-files)
18719 (image-dired-list-tags, image-dired-gallery-generate): Use it.
18720 (image-dired-gallery-generate): Use insert-file-contents.
18721
18722 * time.el (display-time-world-list, display-time-world-display):
18723 * time-stamp.el (time-stamp-string):
18724 * vc/add-log.el (add-change-log-entry): Use setenv instead of
18725 set-time-zone-rule (Bug#7337).
18726
18727 2011-08-08 Daiki Ueno <ueno@unixuser.org>
18728
18729 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
18730 (epg-error-to-string, epg-errors-to-string): New function.
18731 (epg-wait-for-completion): Reverse errors list.
18732 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
18733 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
18734 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
18735 (epg-sign-keys, epg-generate-key-from-file)
18736 (epg-generate-key-from-string): Format errors by using
18737 epg-errors-to-string (bug#9255).
18738 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
18739
18740 2011-08-07 Juri Linkov <juri@jurta.org>
18741
18742 * faces.el (list-faces-display): Remove extra angle bracket
18743 from `help-mode-map'.
18744
18745 * info.el (Info-history-toc-nodes): Doc fix.
18746
18747 * longlines.el (longlines-mode): Doc fix.
18748
18749 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
18750
18751 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
18752 of statements and in a few more cases (bug#9183).
18753
18754 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
18755 New functions.
18756 (cl-transform-lambda): Use them (bug#9239).
18757
18758 2011-08-05 Martin Rudalics <rudalics@gmx.at>
18759
18760 * window.el (display-buffer-same-window)
18761 (display-buffer-same-frame, display-buffer-other-window)
18762 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18763 (pop-to-buffer-other-window)
18764 (pop-to-buffer-same-frame-other-window)
18765 (pop-to-buffer-other-frame): Make them defuns.
18766 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
18767
18768 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18769
18770 * subr.el (make-composed-keymap): Move from C. Change calling
18771 convention, and improve docstring to bring attention to a subtle point.
18772 * minibuffer.el (completing-read-default): Adjust accordingly.
18773
18774 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
18775
18776 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
18777 (tramp-open-shell): Use `tramp-shell-quote-argument'.
18778
18779 * net/trampver.el: Update release number.
18780
18781 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
18782
18783 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
18784 "in" (bug#9190).
18785
18786 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
18787
18788 * mail/sendmail.el (sendmail-query-once): Restore the current
18789 buffer after querying (bug#9074).
18790
18791 * dired.el (dired-flagged): Use different faces for marked and
18792 flagged files (bug#6117).
18793
18794 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
18795 (bug#4433).
18796
18797 * ido.el (ido-mode): Switch off the message if called
18798 non-interactively.
18799
18800 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
18801 before 587, since it appears that that's more likely to work for
18802 more people.
18803
18804 * cus-edit.el (custom-file): When running under emacs -q, always
18805 refuse to save the customizations, even if the .emacs file doesn't
18806 exist.
18807
18808 * info.el: Remove the `Info-beginning-of-buffer' function
18809 (bug#8325).
18810
18811 * net/network-stream.el (network-stream-open-starttls):
18812 Use `starttls-available-p' to see whether starttls.el can be used.
18813
18814 2011-08-01 Martin Rudalics <rudalics@gmx.at>
18815
18816 * window.el (display-buffer-in-window): Don't set dedicated status
18817 of window here (Bug#9215).
18818 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
18819 (display-buffer-pop-up-side-window)
18820 (display-buffer-in-side-window): Set dedicated status of window here.
18821
18822 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
18823
18824 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
18825 before binding generated-autoload-file.
18826
18827 2011-08-01 Deniz Dogan <deniz@dogan.se>
18828
18829 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
18830
18831 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
18832
18833 Sync with Tramp 2.2.2.
18834
18835 * net/trampver.el: Update release number.
18836
18837 2011-07-30 Juri Linkov <juri@jurta.org>
18838
18839 * dired-aux.el (dired-touch-initial): Remove function.
18840 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
18841 current time, and `default' to the last modification time of the
18842 current marked file (bug#6887).
18843
18844 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
18845
18846 * simple.el (goto-line): Use string-to-number to provide a
18847 numeric argument to read-number (bug#9163).
18848
18849 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
18850
18851 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
18852 connection process, it could be nil.
18853
18854 2011-07-27 Leo Liu <sdl.web@gmail.com>
18855
18856 Simplify url handling in rcirc-mode.
18857
18858 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
18859 (rcirc-browse-url-at-mouse): Remove.
18860 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
18861
18862 2011-07-26 Alan Mackenzie <acm@muc.de>
18863
18864 Fontify bitfield declarations properly.
18865
18866 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
18867 (c-symbol-chars): Now exported as a lang variable.
18868 (c-not-primitive-type-keywords): New lang variable.
18869
18870 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
18871 QT keyword "more" to prevent "more slots: ...." being spuriously
18872 parsed as a bitfield declaration.
18873
18874 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18875 Refactor and enhance to handle bitfield declarations.
18876 (c-punctuation-in): New function.
18877 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
18878 declarations properly.
18879
18880 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
18881
18882 * calendar/icalendar.el (icalendar--all-events): Take care of
18883 multiple vcalendars in a single file.
18884 (icalendar--convert-float-to-ical): Checkdoc fixes.
18885
18886 2011-07-25 Deniz Dogan <deniz@dogan.se>
18887
18888 * image.el (insert-image): Clarifying docstring.
18889
18890 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
18891
18892 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
18893 `tramp-send-command-and-check' if there is no error.
18894 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
18895
18896 2011-07-22 Alan Mackenzie <acm@muc.de>
18897
18898 Prevent cc-langs.elc being loaded at run time.
18899
18900 * progmodes/cc-mode.el: Remove two autoload forms which loaded
18901 cc-langs.
18902
18903 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
18904 "(require 'cc-langs)". Quote a form so it will evaluate at
18905 (cc-mode's) compilation time.
18906
18907 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
18908
18909 * net/tramp.el (tramp-file-name-handler): Avoid recursive
18910 loading. (Bug#9114)
18911
18912 2011-07-21 Martin Rudalics <rudalics@gmx.at>
18913
18914 * window.el (display-buffer-pop-up-window)
18915 (display-buffer-pop-up-side-window)
18916 (display-buffer-in-side-window): Call display-buffer-set-height
18917 and display-buffer-set-width after setting the new window's
18918 buffer so `fit-window-to-buffer' and friends work on the right buffer.
18919
18920 2011-07-20 Sam Steingold <sds@gnu.org>
18921
18922 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
18923 (etags-tags-included-tables): Call `convert-standard-filename' on
18924 the file names contained in TAGS so that windows Emacs can handle
18925 TAGS files created by cygwin ctags.
18926
18927 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
18928
18929 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
18930 which apparently didn't work.
18931
18932 2011-07-19 Roland Winkler <winkler@gnu.org>
18933
18934 * proced.el (proced-send-signal): For *Marked Processes* buffer
18935 put point at beginning of buffer.
18936
18937 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
18938
18939 * proced.el (proced-format): Make header lines align with the text
18940 (bug#1779).
18941
18942 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
18943
18944 * view.el (view-buffer): Allow running in `special' modes if we're
18945 visiting a file (bug#8615).
18946
18947 2011-07-19 Martin Rudalics <rudalics@gmx.at>
18948
18949 * window.el (display-buffer-alist-of-strings-p)
18950 (display-buffer-alist-set-1, display-buffer-alist-set-2):
18951 New functions.
18952 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
18953 more accurately.
18954
18955 2011-07-18 Alan Mackenzie <acm@muc.de>
18956
18957 Fontify declarators properly when, e.g., a jit-lock chunk begins
18958 inside a declaration.
18959
18960 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
18961
18962 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
18963 New function.
18964 (c-complex-decl-matchers): Insert reference to
18965 c-font-lock-enclosing-decls.
18966
18967 * progmodes/cc-engine.el (c-backward-single-comment):
18968 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
18969 to nil around calls to (forward-comment -1).
18970
18971 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
18972
18973 * image.el (put-image): Doc typo fix.
18974
18975 * progmodes/etags.el (tags-search): Doc typo fix.
18976
18977 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
18978 password if we get errors 550 to 554.
18979
18980 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
18981
18982 * net/gnutls.el (gnutls-log-level): Remove.
18983
18984 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
18985 indentation character (bug#6380).
18986
18987 * files.el (buffer-offer-save): Made permanently local (bug#6241).
18988
18989 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
18990 to clarify what the problem is (bug#4291).
18991
18992 * simple.el (current-kill): Clarify what
18993 `interprogram-paste-function' does (bug#7500).
18994 (auto-fill-mode): Document `auto-fill-function' in relation to
18995 `auto-fill-mode' (bug#2470).
18996
18997 2011-07-16 Lawrence Mitchell <wence@gmx.li>
18998
18999 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
19000 method if slot is read-only (bug#9035).
19001
19002 2011-07-16 Martin Rudalics <rudalics@gmx.at>
19003
19004 * frame.el (select-frame-set-input-focus): New argument NORECORD.
19005 * window.el (pop-to-buffer): Select window used even if it was
19006 selected before, see discussion of (Bug#8615), (Bug#6954).
19007 Pass argument NORECORD on to select-frame-set-input-focus.
19008
19009 2011-07-15 Glenn Morris <rgm@gnu.org>
19010
19011 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
19012 Respect help-form.
19013
19014 2011-07-09 Lawrence Mitchell <wence@gmx.li>
19015
19016 * net/gnutls.el (gnutls-min-prime-bits): New variable.
19017 (gnutls-negotiate): Use it.
19018
19019 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19020
19021 * net/gnutls.el (gnutls-negotiate):
19022 Upcase `gnutls-algorithm-priority'.
19023
19024 2011-07-15 Glenn Morris <rgm@gnu.org>
19025
19026 * jka-compr.el (jka-compr-verbose): Move from here...
19027 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
19028 Add missing :version tag.
19029 * info.el: No need to require jka-compr when compiling.
19030
19031 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
19032
19033 * net/gnutls.el (gnutls-algorithm-priority): New variable.
19034 (gnutls-negotiate): Use it.
19035
19036 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
19037
19038 * info.el (Info-beginning-of-buffer): New command.
19039 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
19040 announcing `b' as the key (bug#8325).
19041 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
19042
19043 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
19044
19045 * international/mule-cmds.el
19046 (describe-specified-language-support): Make the error message
19047 clearer (bug#8905).
19048
19049 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
19050
19051 * isearch.el (isearch-barrier): Add a doc string, since it's
19052 mentioned in a function doc string (bug#8678).
19053
19054 2011-07-15 Martin Rudalics <rudalics@gmx.at>
19055
19056 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
19057 buffer argument (Bug#9083) and self-identifying label argument.
19058
19059 2011-07-15 Glenn Morris <rgm@gnu.org>
19060
19061 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
19062
19063 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19064
19065 * man.el (Man-fontify-manpage): Fix message when formatting the
19066 man page (bug#7929).
19067
19068 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19069
19070 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
19071 argument LRM; if non-nil, append an invisible LRM character to the
19072 buffer name.
19073 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
19074 last argument non-nil, when formatting buffer names.
19075 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
19076 paragraph direction.
19077
19078 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19079
19080 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
19081 the man page name (bug#7929).
19082
19083 * image.el (put-image): Mention the `put-image' overlay property
19084 (bug#7834).
19085
19086 * scroll-bar.el (set-scroll-bar-mode): Mention that
19087 `scroll-bar-mode' lists the values (bug#7772).
19088
19089 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
19090 command (bug#7729).
19091
19092 * rect.el (apply-on-rectangle): Return the point after the last
19093 operation.
19094 (string-rectangle): Go to the point after the last operation
19095 (bug#7522).
19096
19097 * printing.el (pr-toggle-region): Clarify the documentation
19098 slightly (bug#7493).
19099
19100 * time.el (display-time-update):
19101 Allow `display-time-mail-function' to return nil (bug#7158).
19102 Fix suggested by Detlev Zundel.
19103
19104 * vc/diff.el (diff): Clarify the order the file names are read
19105 (bug#7111).
19106
19107 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
19108 the doc string (bug#7015).
19109
19110 * font-lock.el (font-lock-maximum-decoration): Mention what
19111 numeric levels mean (bug#6935).
19112
19113 * startup.el (initial-buffer-choice): Don't mention the `none'
19114 selection, which is against policy.
19115
19116 2011-07-14 Martin Rudalics <rudalics@gmx.at>
19117
19118 * window.el (display-buffer-normalize-special):
19119 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
19120
19121 2011-07-14 Eli Zaretskii <eliz@gnu.org>
19122
19123 * subr.el (version<, version<=, version=): Mention "-CVS" and
19124 "-12345" alpha version numbers.
19125
19126 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19127
19128 * bindings.el: Add advertised binding for set-mark-command
19129 (Bug#5772).
19130
19131 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
19132
19133 * bindings.el (mode-line-other-buffer):
19134 * bookmark.el (bookmark-bmenu-2-window):
19135 * bs.el (bs-cycle-next, bs-cycle-previous):
19136 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
19137 switch-to-buffer.
19138
19139 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19140 Delete.
19141
19142 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
19143
19144 * follow.el (follow-debug-message, follow-redisplay):
19145 * jka-cmpr-hook.el (with-auto-compression-mode):
19146 Fix typos in docstrings.
19147
19148 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19149
19150 * subr.el (with-silent-modifications): Clarify somewhat what the
19151 macro inhibits (bug#6525).
19152
19153 * simple.el (eval-expression): Note what it does if called
19154 interactively (bug#6495).
19155
19156 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19157
19158 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
19159 Use pop-to-buffer buffer-or-name if it is nil.
19160
19161 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19162 Remove switch-to-buffer.
19163
19164 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19165
19166 * files.el (make-directory): Clarify that an error will be raised
19167 if there's an error (bug#6397).
19168
19169 * startup.el (initial-buffer-choice): Add `none' as a choice
19170 (bug#6234).
19171
19172 * subr.el (add-hook): Clarify section about buffer-local hooks
19173 (bug#6218).
19174
19175 * dired.el (dired-flagged): Clarify doc string (bug#6117).
19176
19177 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19178
19179 * tabify.el (untabify): Preserve the current column so that point
19180 doesn't move (bug#6032).
19181
19182 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19183
19184 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
19185 Rewrite to avoid awkward possessive "s" (bug#5986).
19186
19187 2011-07-13 Glenn Morris <rgm@gnu.org>
19188
19189 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
19190 (dired-insert-directory): Give a message the first time
19191 if ls is found not to support --dired.
19192
19193 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19194
19195 * simple.el (toggle-truncate-lines): Clarify what is toggled
19196 (bug#5580). Text by Drew Adams.
19197
19198 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
19199
19200 * simple.el (blink-matching-open): Make the error message from the
19201 last change less verbose.
19202
19203 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
19204
19205 * font-lock.el (font-lock-comment-face): Use the high contrast
19206 "yellow" color for font-lock-comment-face on low color terminals
19207 using a dark background color (bug#4221).
19208
19209 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19210
19211 * dired.el (dired-insert-set-properties): Make the doc string
19212 reflect what it does now (bug#5325).
19213
19214 * simple.el (blink-matching-open): Say that we were unable to find
19215 the match within the limit, if we're limited (bug#5122).
19216
19217 * international/mule-cmds.el (prefer-coding-system): Add an
19218 example (bug#4869).
19219
19220 * progmodes/etags.el (tags-search): Document `file-list-form'
19221 (bug#4731).
19222
19223 2011-07-13 Lawrence Mitchell <wence@gmx.li>
19224
19225 * net/browse-url.el (browse-url-default-browser)
19226 (browse-url-browser-function): Make the default browser choice a
19227 bit more logical (bug#4300). Also clean up the doc string.
19228
19229 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
19230
19231 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
19232 binary endings (bug#4440).
19233
19234 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
19235
19236 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
19237 which can be pretty annoying (bug#8971).
19238
19239 * jka-compr.el (jka-compr-verbose): New variable, and use
19240 throughout (bug#8971).
19241
19242 * info.el (Info-find-file): Fall back on the installation
19243 directory if we can't find the info node anywhere else.
19244
19245 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
19246
19247 * vc/vc.el (vc-revert-file):
19248 Don't set file time-stamp in the past. (Bug#5181)
19249
19250 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19251
19252 * files.el (after-find-file): Give a better error message when
19253 trying to find a symlink that points to a file that doesn't exist
19254 (bug#4398).
19255
19256 * progmodes/cc-vars.el: Remove (probably) misleading comment
19257 (bug#4396).
19258
19259 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19260
19261 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
19262
19263 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19264
19265 * mouse-sel.el: Hack restoring functionality, while keeping
19266 compatibility with 2010-07-03 changes to mouse selection.
19267 (mouse-sel-primary-overlay): New var.
19268 (mouse-sel-selection-alist): Use it.
19269 (mouse-sel-mode): Doc fix; remove points that are default features
19270 of mouse.el.
19271
19272 2011-07-12 Johan Bockgård <bojohan@gnu.org>
19273
19274 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19275 Fix previous fix (bug#2490).
19276
19277 2011-07-12 Roland Winkler <winkler@gnu.org>
19278
19279 * textmodes/bibtex.el (bibtex-initialize):
19280 Use pop-to-buffer-same-window.
19281 (bibtex-search-entries): Fix interactive call.
19282
19283 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
19284
19285 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19286 Fontise bytecomp Error lines more correctly (bug#2490).
19287 Fix suggested by Johan Bockgård.
19288
19289 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
19290
19291 * dired-x.el (dired-guess-default): Use `delete-dups'.
19292
19293 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
19294
19295 * dired.el (dired-mark-prompt):
19296 * dired-aux.el (dired-read-shell-command): Doc fix.
19297
19298 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19299
19300 * mail/sendmail.el (sendmail-query-once):
19301 Use `customize-save-variable' unconditionally, now that it works under
19302 emacs -Q.
19303
19304 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19305
19306 * cus-edit.el (custom-file): Take an optional no-error variable.
19307 (customize-save-variable): Set the variable, and give a warning if
19308 running under "emacs -q".
19309
19310 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
19311
19312 * loadhist.el (unload-feature-special-hooks):
19313 Add `auto-coding-functions', `fill-nobreak-predicate' and
19314 `find-directory-functions' (bug#5327).
19315
19316 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19317
19318 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
19319
19320 * cus-edit.el (custom-guess-name-alist): -alist variables should
19321 use the `alist' type (bug#3120). Suggested by Drew Adams.
19322
19323 * printing.el: Add documentation to all the `pr-toggle-' commands.
19324
19325 2011-07-11 Leo Liu <sdl.web@gmail.com>
19326
19327 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
19328 backends where it makes sense (bug#2623).
19329
19330 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19331
19332 * dired-x.el (dired-guess-default): Remove duplicate shell command
19333 entries (bug#2028).
19334 (dired-guess-default): Fix grammar in doc string (bug#2028).
19335 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
19336
19337 * subr.el (remove-duplicates): New conveniency function.
19338
19339 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
19340
19341 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
19342 (bug#1526).
19343
19344 2011-07-10 Martin Rudalics <rudalics@gmx.at>
19345
19346 * window.el (display-buffer-normalize-default): Don't invert
19347 meaning of even-window-heights. Reported by Eli Zaretskii
19348 <eliz@gnu.org>.
19349
19350 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
19351
19352 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
19353
19354 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
19355
19356 * window.el (display-buffer): Fix arguments to
19357 display-buffer-reuse-window in last change.
19358
19359 * faces.el (link): Use a less saturated blue on light backgrounds.
19360
19361 * startup.el (fancy-startup-text, fancy-about-text)
19362 (fancy-startup-tail): Use font-lock faces, for background safety.
19363
19364 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
19365
19366 * emulation/viper-cmd.el (viper-change-state-to-vi):
19367 Limit triggering of abbrev expansion (Bug#9038).
19368
19369 2011-07-09 Martin Rudalics <rudalics@gmx.at>
19370
19371 * window.el (display-buffer-default-specifiers): Remove.
19372 (display-buffer-macro-specifiers): Remove default specifiers.
19373 (display-buffer-alist): Default to nil.
19374 (display-buffer-reuse-window): New optional argument other-window.
19375 (display-buffer-pop-up-window): Allow splitting internal
19376 windows. Check whether a live window was created.
19377 (display-buffer-other-window-means-other-frame)
19378 (display-buffer-normalize-arguments): Rename to
19379 display-buffer-normalize-argument and rewrite. Set the
19380 other-window specifier.
19381 (display-buffer-normalize-special): New function.
19382 (display-buffer-normalize-options): Rename to
19383 display-buffer-normalize-default and rewrite.
19384 (display-buffer-normalize-options-inhibit): Remove.
19385 (display-buffer-normalize-specifiers): Rewrite.
19386 (display-buffer): Process other-window specifier and call
19387 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
19388 more faithfully.
19389 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
19390 (display-buffer-alist-set): Don't handle 'unset default values.
19391 (display-buffer-in-window, display-buffer-alist-set):
19392 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
19393 <tassilo@member.fsf.org>.
19394
19395 2011-07-09 Leo Liu <sdl.web@gmail.com>
19396
19397 * register.el (insert-register): Restore accidental change on
19398 2011-06-26. (Bug#9028)
19399
19400 2011-07-09 Glenn Morris <rgm@gnu.org>
19401
19402 * subr.el (remq): Handle the empty list. (Bug#9024)
19403
19404 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
19405
19406 * mail/sendmail.el (send-mail-function): No longer delay custom
19407 initialization.
19408 * custom.el (custom-initialize-delay): Doc fix.
19409
19410 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19411
19412 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
19413
19414 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
19415
19416 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
19417 human-friendly prompt.
19418
19419 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
19420
19421 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
19422 provided by a particular plugin.
19423
19424 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
19425
19426 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
19427 save customizations (with "emacs -Q"), just set the variable
19428 instead of erroring out.
19429
19430 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
19431
19432 2011-07-08 Juri Linkov <juri@jurta.org>
19433
19434 * arc-mode.el (archive-zip-expunge, archive-zip-update)
19435 (archive-zip-update-case): Use 7z if found by `executable-find'.
19436 The order of searching the available programs is the same as in
19437 `archive-zip-extract' (bug#8968).
19438
19439 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19440
19441 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
19442 (menu-bar-options-menu): Tweak descriptions.
19443
19444 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19445
19446 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
19447 menu items into verb phrases (bug#1421). Also refill to fit under
19448 80 columns.
19449
19450 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19451
19452 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
19453 (Info-read-node-name): Doc fix (Bug#1084).
19454
19455 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
19456 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
19457 (end-of-sexp, beginning-of-sexp)
19458 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
19459 (forward-symbol, forward-same-syntax, word-at-point)
19460 (sentence-at-point): Doc fix (Bug#1144).
19461
19462 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
19463
19464 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
19465 should cover it (bug#1281).
19466
19467 * cus-edit.el (custom-show): Mark as obsolete.
19468
19469 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
19470 negotiation fails, then possibly try again with a non-encrypted
19471 connection (bug#9017).
19472
19473 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
19474 be used.
19475
19476 2011-07-07 Richard Stallman <rms@gnu.org>
19477
19478 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
19479 property, and handle its changed format.
19480 Look for the correct line number.
19481 Use file's line contents (but not past first =) to find
19482 correct line in message.
19483
19484 2011-07-07 Kenichi Handa <handa@m17n.org>
19485
19486 * international/characters.el (build-unicode-category-table):
19487 Delete it.
19488 (unicode-category-table): Set it by unicode-property-table-internal.
19489
19490 * international/mule-cmds.el (char-code-property-alist): Move to
19491 to src/chartab.c.
19492 (get-char-code-property): Call unicode-property-table-internal to
19493 load a file. Call get-unicode-property-internal where necessary.
19494 (put-char-code-property): Call unicode-property-table-internal to
19495 load a file. Call put-unicode-property-internal where necessary.
19496 put-unicode-property-internal where necessary.
19497 (char-code-property-description):
19498 Call unicode-property-table-internal to load a file.
19499
19500 * international/charprop.el:
19501 * international/uni-bidi.el:
19502 * international/uni-category.el:
19503 * international/uni-combining.el:
19504 * international/uni-comment.el:
19505 * international/uni-decimal.el:
19506 * international/uni-decomposition.el:
19507 * international/uni-digit.el:
19508 * international/uni-lowercase.el:
19509 * international/uni-mirrored.el:
19510 * international/uni-name.el:
19511 * international/uni-numeric.el:
19512 * international/uni-old-name.el:
19513 * international/uni-titlecase.el:
19514 * international/uni-uppercase.el: Regenerate.
19515
19516 * loadup.el: Load international/charprop.el before
19517 international/characters.
19518
19519 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
19520
19521 * window.el (next-buffer, previous-buffer): Signal an error if
19522 called from a minibuffer window.
19523
19524 * bindings.el: Revert 2011-07-04 change.
19525
19526 2011-07-06 Richard Stallman <rms@gnu.org>
19527
19528 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
19529 (rmail-mime-insert-bulk, rmail-mime-insert-text):
19530 Treat markers like ints.
19531 (rmail-mime-entity): Doc fix.
19532
19533 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19534
19535 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
19536 defcustom again for backwards compatibility.
19537
19538 * simple.el (shell-command-on-region): Fill.
19539
19540 * dired-aux.el (dired-kill-line): Add a doc string.
19541
19542 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
19543 to "\\sw\\|\\s_" (bug#358).
19544
19545 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
19546 (dired-unmark-backward): Ditto.
19547 (dired-flag-backup-files): Ditto.
19548
19549 * dired-x.el (dired-mark-sexp): Ditto.
19550
19551 2011-07-06 Richard Stallman <rms@gnu.org>
19552
19553 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
19554 (rmail-mime-entity): New arg TRUNCATED.
19555 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
19556 New functions.
19557 (rmail-mime-save): Warn if entity is truncated.
19558 (rmail-mime-toggle-hidden): Likewise, for showing.
19559 (rmail-mime-process-multipart): Record when an entity is truncated.
19560
19561 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
19562 if ENTITY is a string.
19563
19564 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
19565
19566 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
19567 of faces when `M-C-x'-ing their definitions (bug#8378).
19568 Also clean up the code slightly.
19569
19570 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
19571 because that makes the colors go away.
19572
19573 * mail/sendmail.el (send-mail-function): Change the default to
19574 `sendmail-query-once'.
19575 (sendmail-query-once): Add an autoload cookie.
19576
19577 * net/network-stream.el (network-stream-open-starttls): Try using
19578 a plain connection even if the server offered STARTTLS, and we
19579 kinda wanted to use it, if Emacs doesn't have any STARTTLS
19580 capability. This should make smtpmail.el work in slightly more
19581 configurations.
19582
19583 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
19584
19585 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
19586 New defun.
19587 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
19588
19589 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
19590
19591 * progmodes/sql.el: Version 3.0
19592 (sql-product-alist): Add product :completion-object,
19593 :completion-column, and :statement attributes.
19594 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
19595 (sql-mode-syntax-table): Mark all punctuation.
19596 (sql-font-lock-keywords-builder): Temporarily remove fallback on
19597 ansi keywords.
19598 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
19599 (sql-mode-oracle-font-lock-keywords): Improve.
19600 (sql-oracle-show-reserved-words): New function for development.
19601 (sql-product-font-lock): Simplify for source code buffers.
19602 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
19603 New functions.
19604 (sql-highlight-product): Set product specific syntax table.
19605 (sql-mode-map): Add statement movement functions.
19606 (sql-ansi-statement-starters, sql-oracle-statement-starters):
19607 New variable.
19608 (sql-statement-regexp, sql-beginning-of-statement)
19609 (sql-end-of-statement, sql-signum): New functions.
19610 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
19611 (sql-show-sqli-buffer): Bug fix.
19612 (sql-interactive-mode): Store connection data as buffer local.
19613 (sql-connect): Add NEW-NAME parameter. Redesign interaction
19614 with sql-interactive-mode.
19615 (sql-save-connection): Save buffer local settings.
19616 (sql-connection-menu-filter): Change menu entry name.
19617 (sql-product-interactive): Bug fix.
19618 (sql-preoutput-hold): New variable.
19619 (sql-interactive-remove-continuation-prompt): Bug fixes.
19620 (sql-debug-redirect): New variable.
19621 (sql-str-literal): New function.
19622 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
19623 Redesign.
19624 (sql-oracle-save-settings, sql-oracle-restore-settings)
19625 (sql-oracle-list-all, sql-oracle-list-table): New functions.
19626 (sql-completion-object, sql-completion-column)
19627 (sql-completion-sqlbuf): New variables.
19628 (sql-build-completions-1, sql-build-completions)
19629 (sql-try-completion): New functions.
19630 (sql-read-table-name): Use them.
19631 (sql-contains-names): New buffer local variable.
19632 (sql-list-all, sql-list-table): Use it.
19633 (sql-oracle-completion-types): New variable.
19634 (sql-oracle-completion-object, sql-sqlite-completion-object)
19635 (sql-postgres-completion-object): New functions.
19636
19637 2011-07-06 Glenn Morris <rgm@gnu.org>
19638
19639 * window.el (pop-to-buffer): Doc fix.
19640
19641 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
19642
19643 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
19644
19645 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
19646
19647 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
19648
19649 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
19650
19651 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
19652
19653 * button.el (button): Inherit from link face. Suggested by Dan
19654 Nicolaescu.
19655
19656 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19657
19658 * progmodes/gdb-mi.el: Fit in 80 columns.
19659 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
19660 switch-to-buffer.
19661
19662 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
19663 if imenu is simply not configured (bug#8941).
19664
19665 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
19666
19667 * allout.el (allout-post-undo-hook): New allout outline-change
19668 event hook to signal undo activity.
19669 (allout-post-command-business): Run allout-post-undo-hook if an
19670 undo just occurred.
19671 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
19672 * allout-widgets.el (allout-widgets-after-undo-function):
19673 Ensure the integrity of the current item's decoration after it has been
19674 in the vicinity of an undo.
19675 (allout-widgets-mode): Include allout-widgets-after-undo-function
19676 on the new allout-post-undo-hook.
19677
19678 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19679
19680 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
19681 Let define-derived-mode define it.
19682 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
19683 cycles of abbrev-table inheritance (bug#8998).
19684
19685 2011-07-05 Roland Winkler <winkler@gnu.org>
19686
19687 * textmodes/bibtex.el: Add support for biblatex.
19688 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
19689 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
19690 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
19691 (bibtex-entry-alist, bibtex-field-alist): New variables.
19692 (bibtex-entry-field-alist): Obsolete alias for
19693 bibtex-BibTeX-entry-alist.
19694 (bibtex-entry-alist, bibtex-field-alist): New widgets.
19695 (bibtex-set-dialect): New command.
19696 (bibtex-entry-type, bibtex-entry-head)
19697 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
19698 Bind via bibtex-set-dialect.
19699 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
19700 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
19701 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
19702 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
19703 Define via bibtex-set-dialect.
19704 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
19705 Obey bibtex-no-opt-remove-re.
19706 (bibtex-vec-push, bibtex-vec-incr): New functions.
19707 (bibtex-format-entry, bibtex-field-list)
19708 (bibtex-print-help-message, bibtex-validate)
19709 (bibtex-search-entries): Use new format of bibtex-entry-alist.
19710
19711 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
19712
19713 * progmodes/compile.el (compilation-goto-locus):
19714 * net/tramp-cmds.el (tramp-append-tramp-buffers):
19715 * bs.el (bs-cycle-next, bs-cycle-previous):
19716 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
19717 * bindings.el (mode-line-other-buffer):
19718 * autoinsert.el (auto-insert):
19719 * arc-mode.el (archive-extract):
19720 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
19721
19722 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19723
19724 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
19725 Fix check of `emacs-lock-unlockable-modes'.
19726 Coerce true values of `emacs-lock--try-unlocking' to t.
19727
19728 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19729
19730 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
19731 * emacs-lock.el: New file.
19732
19733 2011-07-05 Julien Danjou <julien@danjou.info>
19734
19735 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
19736 than `boundp' to check if face is set.
19737
19738 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
19739
19740 * register.el (registerv-make):
19741 * window.el (window-min-height): Fix typos in docstrings.
19742
19743 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
19744
19745 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
19746 Update doc string.
19747
19748 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19749
19750 * server.el (server-execute): Catch quit and call
19751 `server-return-error' to pass the error back to emacsclient and
19752 close the connection (bug#8942).
19753
19754 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
19755
19756 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
19757 insecure exception for current topic. Also note that auto-saves
19758 are handled differently.
19759
19760 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
19761 State variables for tracking auto-save inhibition situation.
19762
19763 (allout-write-contents-hook-handler): Rename from
19764 'allout-write-file-hook-handler', and describe how it depends on
19765 write-contents-functions sensitivity to non-nil value to prevent
19766 file write.
19767
19768 (allout-auto-save-hook-handler): Remove. auto-save does not check
19769 this in individual buffers, only in the starting buffer, so this
19770 is not the right way for us to inhibit auto-save in a buffer
19771 according to its condition.
19772
19773 (allout-mode): Use new allout-write-contents-hook-handler, and
19774 only with write-contents-functions. Remove auto-save provisions -
19775 they're implemented elsewhere.
19776
19777 (allout-before-change-handler): If undo is in progress, note that
19778 for attention of allout-post-command-business.
19779
19780 (allout-post-command-business): If the command we're following was
19781 an undo, check for change in the status of encrypted items and
19782 adjust auto-save inhibitions accordingly.
19783
19784 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
19785 according to whether there are or aren't any plain-text topics
19786 pending encryption.
19787
19788 (allout-inhibit-auto-save-info-for-decryption):
19789 Adjust buffer-saved-size and some allout state to inhibit auto-saves
19790 if there are plain-text topics pending encryption.
19791
19792 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
19793 buffer-saved-size and some allout state to not inhibit auto-saves
19794 if there are no longer any plain-text topics pending encryption.
19795
19796 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
19797 No longer provide for exemption of the current topic.
19798
19799 2011-07-04 Juri Linkov <juri@jurta.org>
19800
19801 Add 7z operations to delete and save changed members (bug#8968).
19802 * arc-mode.el (archive-7z-expunge, archive-7z-update):
19803 New defcustoms.
19804 (archive-7z-write-file-member): New function.
19805 (archive-7z-summarize): Fix the number of dashes in the
19806 listing output.
19807
19808 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19809
19810 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
19811 (bug#8958).
19812
19813 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
19814
19815 * bindings.el: Ignore next-buffer and previous-buffer in
19816 minibuffer-local-map.
19817
19818 * font-lock.el (font-lock-builtin-face): Change light background
19819 color to dark slate blue (Bug#6693).
19820
19821 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
19822
19823 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
19824
19825 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
19826
19827 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
19828 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19829 Add switch-to-buffer.
19830
19831 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19832
19833 * isearch.el (isearch-search-fun-function): Clarify further the
19834 meaning of the function returned.
19835
19836 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
19837
19838 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
19839
19840 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
19841 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
19842 Use it.
19843 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
19844 `tramp-default-remote-path' does not exist.
19845 (tramp-send-command-and-read): New optional argument NOERROR.
19846 (tramp-open-connection-setup-interactive-shell)
19847 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
19848 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
19849 (tramp-process-sentinel): Flush also process' connection property.
19850 (tramp-sh-handle-start-file-process): Do not set process
19851 sentinel. It is done now ...
19852 (tramp-maybe-open-connection): ... here. (Bug#8929)
19853
19854 2011-07-04 MON KEY <monkey@sandpframing.com>
19855
19856 * play/animate.el (animate-string): Doc fixes and allow changing
19857 the buffer name (bug#5417).
19858
19859 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
19860
19861 * play/animate.el (animation-buffer-name): Rename from *animate*.
19862
19863 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
19864
19865 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
19866 This is simpler and helps future-proof the code.
19867 (timer-until): Use time-subtract and float-time.
19868 (timer--time-less-p): Use time-less-p.
19869
19870 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
19871
19872 * type-break.el (timep): Use the value of `float-time' to avoid a
19873 byte-compiler warning.
19874
19875 * server.el (server-eval-and-print): Return any result, even nil.
19876
19877 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
19878
19879 * type-break.el: Accept time formats that the builtins accept.
19880 (timep, type-break-time-difference): Accept any format that
19881 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
19882 This is simpler and helps future-proof the code.
19883 (type-break-time-difference): Round rather than ignoring
19884 subseconds components.
19885
19886 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19887
19888 * info.el (Info-apropos-matches): Make non-interactive, since it
19889 doesn't seem to do anything useful as a command (bug#8829).
19890
19891 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
19892
19893 * frame.el (frame-background-mode, frame-set-background-mode):
19894 Move from faces.el.
19895 (frame-default-terminal-background): New function.
19896
19897 * custom.el (custom-push-theme): Don't record faces in `changed'
19898 theme; this doesn't work correctly for per-frame face settings.
19899 (disable-theme): Use face-set-after-frame-default to reset faces.
19900 (custom--frame-color-default): New function.
19901
19902 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19903
19904 * dired.el (dired-flagging-regexp): Remove unused variable
19905 (bug#8769).
19906
19907 2011-03-29 Kevin Ryde <user42@zip.com.au>
19908
19909 * progmodes/compile.el (compilation-error-regexp-alist-alist):
19910 `perl-Test2' extend to match possible "fail #N" rep count
19911 (bug#8377).
19912
19913 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19914
19915 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
19916 `smtpmail-via-smtp' now returns the error instead of nil.
19917
19918 * isearch.el (isearch-search-fun-function): Clarify the doc string
19919 (bug#8101).
19920
19921 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
19922
19923 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
19924 unnecessary spaces (bug#8987).
19925
19926 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19927
19928 * net/network-stream.el (open-network-stream): Use the
19929 :end-of-capability command thoughout.
19930
19931 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
19932
19933 * net/network-stream.el (open-network-stream): Add the
19934 :end-of-capability command parameter, used by pop3.el.
19935
19936 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
19937
19938 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
19939
19940 * fringe.el (fringe-query-style): Remove redundant text " (type ?
19941 for list)" (bug#6475).
19942
19943 * files.el (file-expand-wildcards): Ignore non-readable
19944 sub-directories while trying to find matches instead of signaling
19945 an error (bug#6297).
19946
19947 * man.el (Man-reference-regexp): Allow matching possible
19948 word-wrapped references (bug#6289).
19949
19950 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
19951 for consistency with the other vc buffers (bug#6197).
19952 (vc-checkin): Ditto.
19953
19954 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
19955
19956 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
19957
19958 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19959
19960 * custom.el (defcustom): Clarify that :set is only used in the
19961 Customize user interface (bug#6089).
19962
19963 * progmodes/flymake.el (flymake-mode): If the buffer isn't
19964 associated with a file, refuse to run instead of erroring out
19965 (bug#6084).
19966
19967 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
19968 the doc string, since it appears that using `fill-column' always
19969 controls the width (bug#7845).
19970
19971 * simple.el (shell-command-on-region): Say where the error output
19972 went if `shell-command-default-error-buffer' is set (bug#6857).
19973
19974 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
19975
19976 * allout.el (allout-yank-processing): Adjust cursor position for
19977 backwards-deleted space.
19978
19979 (allout-rebullet-heading): Register changes with
19980 allout-exposure-changed-hook, so the modified topic is properly
19981 decorated.
19982
19983 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
19984
19985 * minibuffer.el (completion-in-region): Document PREDICATE
19986 (bug#7136).
19987
19988 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
19989 of keyword/argument pairs (bug#6904).
19990
19991 * replace.el (multi-occur):
19992 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
19993
19994 2011-07-02 Drew Adams <drew.adams@oracle.com>
19995
19996 * dired.el (dired-mark-if): Make the message about whether it's
19997 marking or unmarking clearer (bug#8523).
19998
19999 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20000
20001 * disp-table.el (display-table-print-array): New function.
20002 (describe-display-table): Use it to print the vectors more pretty
20003 (Bug#8859).
20004
20005 2011-07-02 Martin Rudalics <rudalics@gmx.at>
20006
20007 * window.el (window-state-get-1): Don't assign clone numbers.
20008 Add clone-of item to list of window parameters.
20009 (window-state-put-2): Don't process clone numbers.
20010 (display-buffer-alist): Fix doc-string.
20011
20012 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
20013
20014 * subr.el (remq): Don't allocate if it's not needed.
20015 (keymap--menu-item-binding, keymap--menu-item-with-binding)
20016 (keymap--merge-bindings): New functions.
20017 (keymap-canonicalize): Use them to refine the canonicalization.
20018 * minibuffer.el (minibuffer-local-completion-map)
20019 (minibuffer-local-must-match-map): Move initialization from C.
20020 (minibuffer-local-filename-completion-map): Move initialization from C;
20021 don't inherit from anything here.
20022 (minibuffer-local-filename-must-match-map): Make obsolete.
20023 (completing-read-default): Use make-composed-keymap to combine
20024 minibuffer-local-filename-completion-map with either
20025 minibuffer-local-must-match-map or
20026 minibuffer-local-filename-completion-map.
20027
20028 2011-07-01 Glenn Morris <rgm@gnu.org>
20029
20030 * type-break.el (type-break-time-sum): Use dolist.
20031
20032 * textmodes/flyspell.el (flyspell-word-search-backward):
20033 Replace CL function.
20034
20035 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20036
20037 * mouse.el (mouse--strip-first-event): New function.
20038 (function-key-map): Use it to map fringe clicks to normal clicks
20039 by default.
20040
20041 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
20042 (vc-bzr-revision-completion-table): Add support for annotate and date.
20043
20044 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
20045 inherit from parent.
20046
20047 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
20048
20049 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
20050 (dired-show-file-type): Doc fixup (bug#8818).
20051
20052 * dired.el (dired-mode): Fix up the doc string as suggested by
20053 Drew Adams (bug#8817).
20054
20055 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
20056 cookie, since the manual says that it should be possible to add
20057 this function to `find-file-hook' (bug#8709).
20058
20059 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20060
20061 * progmodes/cfengine.el: Moved all cfengine3.el functionality
20062 here. Noted Ted Zlatanov as the maintainer.
20063 (cfengine-common-settings, cfengine-common-syntax): New functions
20064 to set up common things between `cfengine-mode' and
20065 `cfengine3-mode'.
20066 (cfengine3-mode): New mode.
20067 (cfengine3-defuns cfengine3-defuns-regex
20068 (cfengine3-class-selector-regex cfengine3-category-regex)
20069 (cfengine3-vartypes cfengine3-font-lock-keywords)
20070 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
20071 (cfengine3-indent-line): Add from cfengine3.el.
20072
20073 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
20074
20075 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
20076
20077 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
20078
20079 2011-07-01 Martin Rudalics <rudalics@gmx.at>
20080
20081 * window.el (same-window-buffer-names, same-window-regexps)
20082 (same-window-p, special-display-frame-alist)
20083 (special-display-popup-frame, special-display-function)
20084 (special-display-buffer-names, special-display-regexps)
20085 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
20086 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20087 (split-window-preferred-function, split-height-threshold)
20088 (split-width-threshold, even-window-heights)
20089 (display-buffer-mark-dedicated, window-splittable-p)
20090 (split-window-sensibly, window-safely-shrinkable-p):
20091 Un-obsolete.
20092 (display-buffer): Don't spread args with function specifier
20093 because special-display-popup-frame won't like it.
20094
20095 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
20096
20097 Time-stamp simplifications and fixes.
20098 These improve accuracy slightly, and future-proof the code
20099 against some potential changes to current-time format.
20100
20101 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
20102 by using time-since and float-time.
20103
20104 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
20105 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
20106 + NNN microseconds".
20107
20108 * type-break.el (type-break-time-sum): Rewrite using time-add.
20109
20110 * play/hanoi.el (hanoi-current-time-float): Remove.
20111 All uses replaced by float-time.
20112
20113 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
20114 This yields a more-accurate answer.
20115 (rng-time-to-float): Remove; no longer needed.
20116
20117 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
20118
20119 * calendar/timeclock.el (timeclock-seconds-to-time):
20120 Defalias to seconds-to-time, since they're the same thing.
20121
20122 * emacs-lisp/elp.el (elp-elapsed-time):
20123 * emacs-lisp/benchmark.el (benchmark-elapse):
20124 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
20125
20126 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20127
20128 * window.el (bury-buffer): Don't iconify the only frame.
20129 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
20130 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
20131
20132 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
20133
20134 * eshell/em-smart.el (eshell-smart-display-navigate-list):
20135 Add mouse-yank-primary.
20136
20137 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
20138
20139 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
20140
20141 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
20142
20143 * emacs-lisp/find-func.el (find-library--load-name): New fun.
20144 (find-library-name): Use it to find relative load names when provided
20145 absolute file name (bug#8803).
20146
20147 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20148
20149 * textmodes/flyspell.el (flyspell-word): Consider words that
20150 differ only in case as potential doublons (bug#5687).
20151
20152 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
20153 Remove two rather uninteresting debugging-like messages to make
20154 debbugs.el more silent.
20155
20156 * comint.el (comint-password-prompt-regexp): Accept "Response" as
20157 a password-like phrase.
20158
20159 2011-06-30 Masatake YAMATO <yamato@redhat.com>
20160
20161 * progmodes/cc-guess.el: New file.
20162
20163 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
20164
20165 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
20166 derived from `c-basic-common-init'.
20167
20168 * progmodes/cc-mode.el (top-level): Require cc-guess.
20169 (c-basic-common-init): Use `cc-choose-style-for-mode'.
20170
20171 2011-06-30 Lawrence Mitchell <wence@gmx.li>
20172
20173 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
20174
20175 2011-06-30 Alan Mackenzie <acm@muc.de>
20176
20177 * progmodes/cc-engine.el (c-guess-continued-construct):
20178 Correct the handling of template-args-cont, particularly for when font
20179 lock is disabled. Name this case as "CASE G".
20180
20181 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
20182
20183 * allout.el (allout-yank-processing): Fix injection of extra space
20184 between bullet and non-whitespace character in first topic when
20185 pasting, ensuring that the actual spacing in the pasted topic
20186 following the bullet char is preserved. This extra space was
20187 causing pasted encrypted topics to get a decrypted status even
20188 when the content was actually still encrypted. Now the decryption
20189 status from before the paste is preserved.
20190
20191 (allout-flag-region): Set all allout overlays so they evaporate
20192 when reduced to zero length (evanescent), to prevent overlay
20193 leakage.
20194
20195 2011-06-30 Glenn Morris <rgm@gnu.org>
20196
20197 * w32-fns.el (w32-charset-info-alist): Declare.
20198
20199 * find-dired.el (find-grep-options): Simplify.
20200
20201 * term/ns-win.el (ns-set-resource): Declare.
20202
20203 * ses.el (row, col): Declare dynamic variables honestly.
20204
20205 * textmodes/reftex-parse.el (index-tags): Declare.
20206
20207 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
20208
20209 * cus-edit.el (customize-push-and-save): New function.
20210
20211 * files.el (hack-local-variables-confirm): Use it.
20212
20213 * custom.el (load-theme): New arg NO-CONFIRM.
20214 Use customize-push-and-save (Bug#8720).
20215 (custom-enabled-themes): Doc fix.
20216
20217 * cus-theme.el (customize-create-theme)
20218 (custom-theme-merge-theme): Callers to load-theme changed.
20219
20220 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
20221
20222 * thingatpt.el (thing-at-point-short-url-regexp): Require that
20223 short URLs have at least one dot in them (bug #7614).
20224
20225 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
20226 nil, because using a pty is apparently too slow (bug #895).
20227
20228 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
20229
20230 * mail/sendmail.el (sendmail-query-once): New function.
20231 (sendmail-query-once-function): New variable.
20232
20233 2011-06-29 Glenn Morris <rgm@gnu.org>
20234
20235 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
20236
20237 * ses.el (top-level): Require cl when compiling.
20238 (ses-set-localvars): Fix error statement.
20239 Call it at compile time to silence a storm of warnings.
20240
20241 2011-06-29 Martin Rudalics <rudalics@gmx.at>
20242
20243 * window.el (normalize-live-buffer): Rename to
20244 window-normalize-buffer.
20245 (normalize-live-frame): Rename to window-normalize-frame.
20246 (normalize-any-window): Rename to window-normalize-any-window.
20247 (normalize-live-window): Rename to window-normalize-live-window.
20248 (make-window-atom): Rename to window-make-atom.
20249 (window-resize-reset): Rename to window--resize-reset.
20250 (window-resize-reset-1): Rename to window--resize-reset-1.
20251 (resize-mini-window): Rename to window--resize-mini-window.
20252 (resize-subwindows-skip-p): Rename to
20253 window--resize-subwindows-skip-p.
20254 (resize-subwindows-normal): Rename to
20255 window--resize-subwindows-normal.
20256 (resize-subwindows): Rename to window--resize-subwindows.
20257 (resize-other-windows): Rename to window--resize-siblings.
20258 (resize-this-window): Rename to window--resize-this-window.
20259 (resize-root-window): Rename to window--resize-root-window.
20260 (resize-root-window-vertically): Rename to
20261 window--resize-root-window-vertically.
20262 (normalize-buffer-to-display): Rename to
20263 window-normalize-buffer-to-display.
20264 (normalize-buffer-to-switch-to): Rename to
20265 window-normalize-buffer-to-switch-to.
20266 Correspondingly update all callers of the functions listed
20267 above.
20268 (display-buffer-alist, display-buffer-normalize-arguments)
20269 (display-buffer-normalize-options, display-buffer)
20270 (display-buffer-alist-set): Use "function" instead of
20271 "fun-with-args".
20272
20273 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
20274
20275 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
20276 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
20277 debbugs.gnu.org. Mention acknowledgment email.
20278
20279 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
20280
20281 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
20282 buffer multibyteness, since it shouldn't matter.
20283
20284 2011-06-28 Martin Rudalics <rudalics@gmx.at>
20285
20286 * window.el (display-buffer-in-side-window): Handle dedicated
20287 windows as in display-buffer-reuse-window.
20288 (display-buffer-normalize-alist): Use value of override
20289 specifier.
20290 (display-buffer-normalize-specifiers): Use value of
20291 other-window-means-other-frame specifier.
20292 (display-buffer-alist): Rewrite some texts in widgets.
20293 (display-buffer): Spread arguments when calling function
20294 specified by fun-with-args.
20295
20296 2011-06-28 Deniz Dogan <deniz@dogan.se>
20297
20298 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
20299 Unnest `let'.
20300
20301 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
20302 selectors (Bug#5732).
20303 (css-proprietary-nmstart-re): Use `regexp-opt'.
20304
20305 2011-06-27 Jari Aalto <jari.aalto@cante.net>
20306
20307 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
20308 (eshell-ls-date-format): New defcustom.
20309 (eshell-ls-file): Use it.
20310
20311 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20312
20313 * help-fns.el (describe-variable): Fix message for terminal-local vars.
20314
20315 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
20316
20317 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
20318 (ange-ftp-make-tmp-name): New arg.
20319 (ange-ftp-file-local-copy): Use it.
20320
20321 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
20322
20323 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
20324 no-conversion (Bug#8870).
20325
20326 2011-06-27 Martin Rudalics <rudalics@gmx.at>
20327
20328 * window.el (window-right, window-left, window-child)
20329 (window-child-count, window-last-child)
20330 (window-iso-combination-p, walk-window-tree-1)
20331 (window-atom-check-1, window-tree-1, delete-window)
20332 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
20333 new naming conventions - window-vchild, window-hchild,
20334 window-next and window-prev are now called window-top-child,
20335 window-left-child, window-next-sibling and window-prev-sibling
20336 respectively.
20337 (resize-window-reset): Rename to window-resize-reset.
20338 (resize-window-reset-1): Rename to window-resize-reset-1.
20339 (resize-window): Rename to window-resize.
20340 (window-min-height, window-min-width)
20341 (resize-mini-window, resize-this-window, resize-root-window)
20342 (resize-root-window-vertically, adjust-window-trailing-edge)
20343 (enlarge-window, shrink-window, maximize-window)
20344 (minimize-window, delete-window, quit-restore-window)
20345 (split-window, balance-windows, balance-windows-area-adjust)
20346 (balance-windows-area, window-state-put-2)
20347 (display-buffer-even-window-sizes, display-buffer-set-height)
20348 (display-buffer-set-width, set-window-text-height)
20349 (fit-window-to-buffer): Rename all "resize-window" prefixed
20350 calls to use the "window-resize" prefix convention.
20351 (display-buffer-alist): Fix symbol for label specifier.
20352 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
20353 corresponding specifier.
20354 Reported by Juanma Barranquero <lekktu@gmail.com>.
20355
20356 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20357
20358 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
20359 convention.
20360 (ses-call-printer): Does not pass an empty string to formatter when the
20361 cell is empty to keep from barking printer Calc math-format-value.
20362
20363 2011-06-27 Richard Stallman <rms@gnu.org>
20364
20365 * battery.el (battery-mode-line-limit): New variable.
20366 (battery-update): Handle it.
20367
20368 * mail/rmailmm.el (rmail-mime-process-multipart):
20369 Handle truncated messages.
20370
20371 2011-06-27 Glenn Morris <rgm@gnu.org>
20372
20373 * progmodes/flymake.el (flymake-err-line-patterns):
20374 Allow for column numbers in the ant/javac pattern. (Bug#8866)
20375
20376 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
20377
20378 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
20379 (ses--clean-!, ses--clean-_): New functions.
20380 (ses-range): Add configurability of readout order, and conversion
20381 to Calc vector.
20382
20383 * ses.el (ses-repair-cell-reference-all): New function.
20384 (ses-cell-symbol): Set macro as safe, so that it can be used in
20385 formulas.
20386
20387 * ses.el: Update cycle detection algorithm.
20388 (ses-localvars): Add ses--Dijkstra-attempt-nb and
20389 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
20390 (ses-set-localvars): New function.
20391 (ses-make-cell): Add property-list as a cell element.
20392 (ses-cell-property-get-fun, ses-cell-property-get)
20393 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
20394 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
20395 New functions.
20396 (ses-cell-property-set, ses-cell-property-pop)
20397 (ses-cell-property-get-handle): New macro.
20398 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
20399 New aliases, used for code readability.
20400 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
20401 cycle detection.
20402 (ses-self-reference-early-detection): New defcustom.
20403 (ses-formula-references): Robustify against self-referring cells.
20404 (ses-mode): Use ses-set-localvars.
20405 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
20406 before lauching the update processing.
20407 (ses-initialize-Dijkstra-attempt): New function.
20408 (ses-recalculate-cell): Update for cycle detection based on
20409 Dijkstra algorithm.
20410
20411 * ses.el: Fix commenting and indenting convention.
20412
20413 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
20414
20415 * bs.el (bs-cycle-next): Complete last change.
20416
20417 2011-06-27 Drew Adams <drew.adams@oracle.com>
20418
20419 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
20420
20421 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
20422
20423 * net/network-stream.el (network-stream-open-starttls):
20424 Don't re-get capabilities unless we've reestablished connection.
20425 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
20426
20427 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
20428 to binary to possibly avoid line encoding issues on Windows (among
20429 other things).
20430
20431 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20432
20433 * net/network-stream.el (open-network-stream): Return an :error
20434 saying what the problem was, if possible.
20435
20436 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
20437 server.
20438
20439 * net/network-stream.el (network-stream-open-starttls): If we
20440 wanted to use STARTTLS, and the server offered it, but we weren't
20441 able to because we had no STARTTLS support, then close the connection.
20442 (open-network-stream): Return an :error element, if present.
20443
20444 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20445
20446 * hl-line.el (hl-line-sticky-flag): Doc fix.
20447 (global-hl-line-sticky-flag): New option (Bug#8323).
20448 (global-hl-line-highlight): Obey it.
20449
20450 * vc/vc.el (vc-revert-show-diff): Default to t.
20451
20452 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
20453
20454 * allout-widgets.el (allout-widgets-post-command-business):
20455 Stop decorating intermediate isearch matches. They're not being
20456 undecorated when an isearch is continued past, and isearch
20457 automatically collapses them. This leads to "widget leaks", where
20458 decorated items accumulate in collapsed areas. Lines with lots of
20459 hidden widgets can slow down cursor travel, substantially.
20460 Too much complicated machinery would be needed to ensure undecoration,
20461 so we're doing without this nicety.
20462
20463 (allout-widgets-tally-string): Don't try to do a hash-table-count
20464 of allout-widgets-tally when it's nil. This eliminates spurious "Error
20465 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
20466 *Messages* when allout-widgets-maintain-tally is t.
20467
20468 2011-06-26 Martin Rudalics <rudalics@gmx.at>
20469
20470 * window.el (display-buffer-normalize-argument): Rename to
20471 display-buffer-normalize-arguments. Handle special meaning of
20472 LABEL argument. Respect special-display-function when popping up
20473 a new frame. Fix code searching for a window showing the buffer
20474 on another frame.
20475 (display-buffer-normalize-specifiers):
20476 Call display-buffer-normalize-arguments.
20477 (display-buffer-in-window): Don't undedicate the window if its
20478 buffer remains the same.
20479 Reported by Drew Adams <drew.adams@oracle.com>.
20480 (display-buffer-alist): Add choice for same-window macro
20481 specfier.
20482 (display-buffer): Mention special meaning of LABEL argument in
20483 doc-string. Fix quoting. Don't pop up a new frame even as
20484 fallback.
20485
20486 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
20487
20488 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
20489 avoid deleting the current window in some cases (bug#8911).
20490
20491 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
20492
20493 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
20494 (Bug#8934)
20495
20496 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
20497
20498 * net/network-stream.el (network-stream-open-starttls):
20499 Use built-in TLS support if `gnutls-available-p' is true.
20500 (network-stream-open-tls): Ditto.
20501
20502 2011-06-26 Leo Liu <sdl.web@gmail.com>
20503
20504 * register.el (registerv): New struct.
20505 (registerv-make): New function.
20506 (jump-to-register, describe-register-1, insert-register):
20507 Support the jump-func, print-func and insert-func slot of a registerv
20508 struct. (Bug#8415)
20509
20510 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
20511
20512 * vc/vc.el (vc-revert-show-diff): New defcustom.
20513 (vc-diff-internal): New arg specifying diff buffer.
20514 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
20515 reuse an existing *vc-diff* buffer (Bug#8927).
20516
20517 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
20518
20519 2011-06-26 Glenn Morris <rgm@gnu.org>
20520
20521 * progmodes/f90.el (f90-critical-indent): New option.
20522 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
20523 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
20524 (f90-mode): Doc fix.
20525 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
20526 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
20527 (f90-beginning-of-block, f90-next-block, f90-indent-region)
20528 (f90-match-end): Handle block, critical.
20529
20530 2011-06-25 Glenn Morris <rgm@gnu.org>
20531
20532 * calendar/diary-lib.el (diary-included-files): Doc fix.
20533 (diary-include-files): New function, extracted from
20534 diary-include-other-diary-files and diary-mark-included-diary-files.
20535 (diary-include-other-diary-files, diary-mark-included-diary-files):
20536 Just call diary-include-files.
20537 (diary-mark-entries): Reset diary-included-files on first call.
20538
20539 * calendar/diary-lib.el (diary-mark-entries)
20540 (diary-mark-included-diary-files):
20541 Visit included diary-files in temp buffers.
20542
20543 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
20544 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
20545 (f90-start-block-re, f90-imenu-generic-expression)
20546 (f90-looking-at-program-block-start, f90-no-block-limit):
20547 Add support for submodules.
20548
20549 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
20550 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
20551
20552 2011-06-25 Eli Zaretskii <eliz@gnu.org>
20553
20554 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
20555 buffer-file-type before setting its value, to avoid disastrous
20556 global effects on decoding files for DOS/Windows systems. (Bug#8780)
20557
20558 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20559
20560 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
20561
20562 * ses.el (ses-unload-function):
20563 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
20564
20565 * proced.el (proced-unload-function):
20566 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
20567
20568 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
20569
20570 * server.el (server-create-window-system-frame): Add parameters arg.
20571 (server-process-filter): Doc fix. Handle frame-parameters.
20572
20573 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
20574
20575 Fix bug#8730, bug#8781.
20576
20577 * loadhist.el (unload--set-major-mode): New function.
20578 (unload-feature): Use it.
20579
20580 * progmodes/python.el (python-after-info-look): Add autoload cookie.
20581 (python-unload-function): New function.
20582
20583 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
20584
20585 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
20586
20587 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
20588
20589 * net/browse-url.el (browse-url-firefox-program): Add icecat to
20590 the candidates list.
20591
20592 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
20593
20594 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
20595
20596 2011-06-23 Richard Stallman <rms@gnu.org>
20597
20598 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
20599 (rmail-variables): Set next-error-move-function.
20600 (rmail-what-message): Take argument POS.
20601 (rmail-next-error-move): New function.
20602
20603 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
20604
20605 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
20606 messages for adjacent non-terminals.
20607
20608 2011-06-23 Richard Stallman <rms@gnu.org>
20609
20610 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
20611 (rmail-show-message-1): Preserve buffer modified flag.
20612 (rmail-start-mail): Don't specify use of rmail-mail-return;
20613 that's done by mail-bury now.
20614 (rmail-mail-return): Handle arg NEWBUF.
20615
20616 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
20617
20618 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
20619 SIZE is a number.
20620
20621 2011-06-23 Martin Rudalics <rudalics@gmx.at>
20622
20623 * window.el (get-lru-window, get-mru-window)
20624 (get-largest-window): Never return a minibuffer window.
20625 (display-buffer-pop-up-window): Fix a bug that could lead to
20626 reusing the minibuffer window.
20627 (display-buffer): Pass original specifier argument to
20628 display-buffer-function instead of the normalized one.
20629 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
20630
20631 2011-06-22 Leo Liu <sdl.web@gmail.com>
20632
20633 * minibuffer.el (completing-read-function)
20634 (completing-read-default): Move from minibuf.c.
20635
20636 2011-06-22 Richard Stallman <rms@gnu.org>
20637
20638 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
20639 to Rmail even if not started by a special Rmail command.
20640
20641 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
20642 Copy the buffer currently showing just one message.
20643
20644 2011-06-22 Roland Winkler <winkler@gnu.org>
20645
20646 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
20647 (bibtex-clean-entry): First delete the old key so that a
20648 customized algorithm for generating the new key does not get
20649 confused by the old key.
20650 (bibtex-url): Obey regexp of first step.
20651 (bibtex-search-entries): Do not use add-to-list with local
20652 list-var.
20653
20654 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20655
20656 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
20657 stored a user name, then query for the password first, instead of
20658 waiting for SMTP to give an error message and the trying again.
20659
20660 2011-06-22 Lawrence Mitchell <wence@gmx.li>
20661
20662 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
20663 BUFFER in call-process.
20664
20665 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
20666
20667 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
20668 QUIT twice.
20669 (smtpmail-try-auth-methods): Require user name and password from
20670 auth-source.
20671
20672 2011-06-22 Martin Rudalics <rudalics@gmx.at>
20673
20674 * window.el (display-buffer-default-specifiers)
20675 (display-buffer-alist): Remove entries for pop-up-frame-alist.
20676 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
20677 (split-window): Normalize SIDE argument (Bug#8916).
20678
20679 * frame.el (pop-up-frame-alist, pop-up-frame-function)
20680 (special-display-frame-alist, special-display-popup-frame):
20681 Remove duplicate declarations. These are now in window.el.
20682
20683 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20684
20685 * mail/smtpmail.el (smtpmail-via-smtp):
20686 Set :use-starttls-if-possible so that we always use STARTTLS if the
20687 server supports it. SMTP servers that support STARTTLS commonly
20688 require it.
20689
20690 * net/network-stream.el (network-stream-open-starttls): Support
20691 upgrading to STARTTLS always, even if we don't have built-in support.
20692 (open-network-stream): Add the :always-query-capabilities keyword.
20693
20694 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
20695 upgrades with `open-network-stream', and rely solely on
20696 auth-source for all credentials. Big changes throughout the file,
20697 but in particular:
20698 (smtpmail-auth-credentials): Remove.
20699 (smtpmail-starttls-credentials): Remove.
20700 (smtpmail-via-smtp): Check for servers saying they want AUTH after
20701 MAIL FROM, too.
20702
20703 * net/network-stream.el (network-stream-open-starttls):
20704 Provide support for client certificates both for external and built-in
20705 STARTTLS.
20706 (auth-source): Require.
20707 (open-network-stream): Document the :client-certificate keyword.
20708 (network-stream-certificate): Change cert-cert to cert and
20709 cert-key to key.
20710
20711 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
20712
20713 * net/tramp-cache.el (top): Don't load the persistency file when
20714 "emacs -Q" has been called.
20715
20716 2011-06-21 Tim Harper <timcharper@gmail.com>
20717
20718 * term/ns-win.el (ns-initialize-window-system):
20719 Set application-specific `ApplePressAndHoldEnabled' system
20720 resource to NO as it is not yet supported by the NS port.
20721
20722 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
20723
20724 * misc.el (list-dynamic-libraries--refresh): Compute header here...
20725 (list-dynamic-libraries): ...not here.
20726
20727 2011-06-21 Leo Liu <sdl.web@gmail.com>
20728
20729 * subr.el (sha1): Implement sha1 using secure-hash.
20730
20731 2011-06-21 Martin Rudalics <rudalics@gmx.at>
20732
20733 * window.el (display-buffer-alist): In default value do not
20734 enforce searching a window on any but the selected frame.
20735 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
20736 (display-buffer-select-window): Remove function.
20737 (display-buffer-in-window): When a window on another frame gets
20738 reused, do not select it any more but just raise its frame if
20739 necessary (Bug#8851) and (Bug#8856).
20740 (display-buffer-normalize-options): Handle pop-up-frames related
20741 options more faithfully.
20742 (pop-to-buffer): Don't rely on `display-buffer' selecting the
20743 window if it is on another frame.
20744 (display-buffer-alist, display-buffer-default-specifiers):
20745 Don't make new frame unsplittable by default.
20746 (display-buffer-normalize-argument): Fix doc-string typo and use
20747 'same-frame-other-window instead of 'other-window when associating
20748 with display-buffer-macro-specifiers.
20749
20750 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
20751
20752 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
20753 New functions.
20754 (5x5-mode-map, 5x5-mode-menu): Bind them.
20755 (5x5-draw-grid): Tweak the solver's rendering.
20756
20757 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20758
20759 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
20760 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
20761
20762 2011-06-21 Drew Adams <drew.adams@oracle.com>
20763
20764 * menu-bar.el: Use function variable instead of switch-to-buffer.
20765 (menu-bar-select-buffer-function): New variable.
20766 (menu-bar-update-buffers): Use it (bug#8876).
20767
20768 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
20769
20770 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
20771 variable's status.
20772
20773 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
20774
20775 * x-dnd.el (x-dnd-version-from-flags)
20776 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
20777 and long as number (Bug#8899).
20778 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
20779
20780 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
20781
20782 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
20783 (completion-try-completion, completion-all-completions): Compute the
20784 metadata argument if it's missing; make it optional (bug#8795).
20785
20786 * wid-edit.el: Use lex-bind and move towards completion-at-point.
20787 (widget-complete): Use new :completion-function property.
20788 (widget-completions-at-point): New function.
20789 (default): Use :completion-function instead of :complete.
20790 (widget-default-completions): Rename from widget-default-complete;
20791 Rewrite.
20792 (widget-string-complete, widget-file-complete, widget-color-complete):
20793 Remove functions.
20794 (file, symbol, function, variable, coding-system, color):
20795 * international/mule-cmds.el (default-input-method, charset)
20796 (language-info-custom-alist):
20797 * cus-edit.el (face): Use new property :completions.
20798
20799 * progmodes/pascal.el (pascal-completions-at-point): New function.
20800 (pascal-mode): Use it.
20801 (pascal-mode-map): Use completion-at-point.
20802 (pascal-toggle-completions): Make obsolete.
20803 (pascal-complete-word, pascal-show-completions):
20804 * progmodes/octave-mod.el (octave-complete-symbol):
20805 Redefine as obsolete alias.
20806 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
20807 Signal absence of completion info for old Octave,
20808 (inferior-octave-complete): Redefine as obsolete alias.
20809 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
20810 (meta-completions-at-point): Rename from meta-complete-symbol and
20811 adapt it for use on completion-at-point-functions.
20812 (meta-common-mode): Use it.
20813 (meta-looking-at-backward, meta-match-buffer): Remove.
20814 (meta-complete-symbol): Redefine as obsolete alias.
20815 (meta-common-mode-map): Use completion-at-point.
20816 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
20817 (makefile-mode-map): Use completion-at-point.
20818 (makefile-completions-at-point): Rename from makefile-complete and
20819 adapt it for use on completion-at-point-functions.
20820 (makefile-mode): Use it.
20821 (makefile-complete): Redefine as obsolete alias.
20822
20823 2011-06-20 Deniz Dogan <deniz@dogan.se>
20824
20825 * net/rcirc.el: Delete trailing whitespaces once and for all.
20826
20827 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
20828
20829 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
20830
20831 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
20832
20833 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
20834
20835 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
20836
20837 2011-06-19 Martin Rudalics <rudalics@gmx.at>
20838
20839 * window.el (display-buffer-other-window-means-other-frame):
20840 Call display-buffer-normalize-alist.
20841 (display-buffer-normalize-specifiers-1): Rename to
20842 display-buffer-normalize-argument. New argument other-frame.
20843 Rewrite.
20844 (display-buffer-normalize-specifiers-2): Rename to
20845 display-buffer-normalize-options.
20846 (display-buffer-normalize-alist-1): New function.
20847 (display-buffer-normalize-specifiers-3): Rename to
20848 display-buffer-normalize-alist.
20849 Call display-buffer-normalize-alist-1.
20850 (display-buffer-normalize-options-inhibit): New variable.
20851 (display-buffer-normalize-specifiers): Rewrite calling
20852 display-buffer-normalize-alist,
20853 display-buffer-normalize-argument, and
20854 display-buffer-normalize-options. Don't call the latter if
20855 display-buffer-normalize-options-inhibit is non-nil.
20856 (frame-auto-delete): New option.
20857 (window-deletable-p): Use frame-auto-delete.
20858 (window-list-no-nils, window-state-ignored-parameters)
20859 (window-state-get-1, window-state-get, window-state-put-list)
20860 (window-state-put-1, window-state-put-2, window-state-put):
20861 New functions.
20862 (display-buffer-normalize-options): Move special-display-p group
20863 after pop-up-frame group (Bug#8851) and (Bug#8856).
20864
20865 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
20866
20867 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
20868 groups (Bug#8776).
20869 (rx-submatch-n): New function.
20870 (rx): Document it.
20871
20872 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
20873 (Bug#8768).
20874
20875 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
20876
20877 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
20878
20879 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
20880 anytime existing face settings are present (Bug#8889).
20881
20882 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
20883 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
20884 Remove unused argument.
20885
20886 2011-06-18 Martin Rudalics <rudalics@gmx.at>
20887
20888 * window.el (display-buffer-default-specifiers):
20889 Remove pop-up-frame. Add pop-up-window-min-height,
20890 pop-up-window-min-width, and another reuse-window specifier
20891 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
20892 (display-buffer-normalize-specifiers-2):
20893 Handle split-height-threshold and split-width-threshold also when
20894 pop-up-windows is unset. Add a reuse-window specifier for the
20895 case popping up a new window fails.
20896 (special-display-popup-frame): Remove double quoting.
20897 (display-buffer-normalize-specifiers-1): Fix thinko.
20898
20899 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
20900
20901 * shell.el (shell-completion-vars): Set pcomplete-termination-string
20902 according to comint-completion-addsuffix.
20903
20904 * pcomplete.el: Convert to lexical binding and fix bug#8819.
20905 (pcomplete-suffix-list): Mark as obsolete.
20906 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
20907 pcomplete-seen in the closure.
20908 (pcomplete-comint-setup): Setup completion-at-point as well.
20909 (pcomplete--entries): New function.
20910 (pcomplete--env-regexp): New var.
20911 (pcomplete-entries): Rewrite to work with partial-completion and
20912 without relying on pcomplete-suffix-list.
20913 (pcomplete-pare-list): Remove, unused.
20914
20915 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20916
20917 * window.el (display-buffer-alist): Set pop-up-window-min-height
20918 and pop-up-window-min-width in default value. Reported by
20919 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
20920 other-window-means-other-frame.
20921 (display-buffer-macro-specifiers): Comment out entry for
20922 other-window specifier.
20923 (display-buffer-other-window-means-other-frame): New function.
20924 (display-buffer-normalize-specifiers-1): New arguments
20925 buffer-name and label. Treat other-window case specially.
20926 (display-buffer-normalize-specifiers-2): Treat other-window case
20927 specially.
20928 (display-buffer-normalize-specifiers-3): New function.
20929 (display-buffer-normalize-specifiers):
20930 Call display-buffer-normalize-specifiers-3.
20931
20932 2011-06-17 Martin Rudalics <rudalics@gmx.at>
20933
20934 * window.el (same-window-p): Fix two typos introduced when
20935 adding with-no-warnings.
20936 (display-buffer-normalize-specifiers-1): Don't check
20937 pop-up-frames for 'unset initialization.
20938 (display-buffer-normalize-specifiers-2): Major rewrite using
20939 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
20940 (pop-up-frames, display-buffer-reuse-frames)
20941 (display-buffer-mark-dedicated): Don't initialize to 'unset.
20942 Suggested by David Engster <deng@randomsample.de>.
20943 (even-window-heights): Initialize to 'unset.
20944 (display-buffer-alist-set): Handle new 'unset initializations.
20945 (display-buffer-macro-specifiers): Don't pop up a new frame in the
20946 other window case.
20947
20948 2011-06-16 Martin Rudalics <rudalics@gmx.at>
20949
20950 * window.el (display-buffer-normalize-specifiers-1):
20951 Respect current value of pop-up-frames for most reasonable values of
20952 second argument of display-buffer (Bug#8865).
20953 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
20954 (switch-to-buffer-other-window-same-frame)
20955 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
20956 Adams (Bug#8875).
20957 (display-buffer): Don't check noninteractive when calling
20958 display-buffer-pop-up-frame.
20959 (display-buffer-pop-up-frame): Never pop up a frame in
20960 noninteractive mode (Bug#8857).
20961 (enlarge-window, shrink-window): Don't report an error when the
20962 window can't be resized as requested (Bug#8862).
20963
20964 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20965
20966 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
20967
20968 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
20969
20970 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
20971
20972 2011-06-15 Alan Mackenzie <acm@muc.de>
20973
20974 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
20975 for declarators, disable knr checking to speed up for normal files.
20976 2: Refactor, replacing a sequence of nested if forms by a cond form.
20977
20978 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20979
20980 * net/network-stream.el (open-network-stream): Add the keyword
20981 :always-query-capabilities for the case where you want to force a
20982 `plain' network connection, but the protocol still requires the
20983 capabilitiy command (i.e., SMTP and EHLO).
20984
20985 * subr.el (process-live-p): Rename from `process-alive-p' for
20986 consistency with other `-live-p' functions.
20987
20988 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
20989
20990 * window.el (same-window-buffer-names, same-window-regexps)
20991 (special-display-frame-alist, special-display-popup-frame)
20992 (special-display-function, special-display-buffer-names)
20993 (special-display-regexps, pop-up-frame-alist)
20994 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
20995 (pop-up-windows, split-window-preferred-function)
20996 (split-height-threshold, split-width-threshold, even-window-heights)
20997 (display-buffer-mark-dedicated): Don't encourage the use of
20998 display-buffer-alist from Elisp code.
20999
21000 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
21001
21002 * progmodes/python.el (python-mode): Derive from prog-mode.
21003 * progmodes/ps-mode.el (ps-mode):
21004 * progmodes/mixal-mode.el (mixal-mode):
21005 * progmodes/cfengine.el (cfengine-mode):
21006 * progmodes/ld-script.el (ld-script-mode): Likewise.
21007
21008 2011-06-15 Martin Rudalics <rudalics@gmx.at>
21009
21010 * window.el (display-buffer-alist): Trim default value to avoid
21011 popping up a new frame (Bug#8857) or reusing an arbitrary window
21012 on another frame.
21013 (display-buffer): Do not fall back on popping up a new frame in
21014 batch mode (Bug#8857).
21015
21016 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
21017
21018 * cus-theme.el (describe-theme-1): Use custom-theme-p.
21019 (custom-theme-summary): New function.
21020 (customize-themes): Use it.
21021
21022 2011-06-13 Glenn Morris <rgm@gnu.org>
21023
21024 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
21025
21026 2011-06-13 Martin Rudalics <rudalics@gmx.at>
21027
21028 * help.el (help-window): Remove variable.
21029 (help-window-point-marker, temp-buffer-max-height)
21030 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
21031 (help-print-return-message): Don't set help-window.
21032 (resize-temp-buffer-window): Rewrite cod eand doc-string.
21033 (help-window-setup-finish): Remove.
21034 (help-window-display-message, help-window-setup)
21035 (with-help-window): Major rewrite based on new
21036 display-buffer-window variable.
21037
21038 * help-mode.el (help-mode-finish): Remove help-window related
21039 code.
21040
21041 * view.el (view-exits-all-viewing-windows): Remove reference to
21042 view-return-to-alist in doc-string.
21043 (view-return-to-alist): Make obsolete.
21044 (view-buffer): Call pop-to-buffer-same-window and remove
21045 undo-window code.
21046 (view-buffer-other-window): Call pop-to-buffer-other-window and
21047 simplify code. Ignore second argument.
21048 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
21049 simplify code. Ignore second argument.
21050 (view-return-to-alist-update): Make obsolete.
21051 (view-mode-enter): Rename second argument to QUIT-RESTORE.
21052 Rewrite using quit-restore window parameters.
21053 (view-mode-exit): Rename second argument to EXIT-ONLY.
21054 Rewrite using quit-restore-window.
21055 (View-exit, View-exit-and-edit, View-leave, View-quit)
21056 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
21057 appropriate arguments.
21058 (view-end-message): Use quit-restore window parameter.
21059
21060 * window.el (display-buffer-function): Rewrite doc-string.
21061 (display-buffer-window, display-buffer-alist): New variables.
21062 (display-buffer-split-specifiers)
21063 (display-buffer-side-specifiers)
21064 (display-buffer-macro-specifiers): New constants.
21065 (display-buffer-even-window-sizes, display-buffer-set-height)
21066 (display-buffer-set-width, display-buffer-select-window)
21067 (display-buffer-in-window, display-buffer-reuse-window)
21068 (display-buffer-split-window-1, display-buffer-split-window)
21069 (display-buffer-split-atom-window, display-buffer-pop-up-window)
21070 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
21071 (display-buffer-in-side-window, normalize-buffer-to-display)
21072 (display-buffer-normalize-specifiers-1)
21073 (display-buffer-normalize-specifiers-2)
21074 (display-buffer-normalize-specifiers, display-buffer-frame):
21075 New functions.
21076 (display-buffer): Major rewrite.
21077 (display-buffer-other-window, display-buffer-other-frame)
21078 (pop-to-buffer, switch-to-buffer-other-window)
21079 (switch-to-buffer-other-frame): Rewrite.
21080 (display-buffer-same-window, display-buffer-same-frame)
21081 (display-buffer-same-frame-other-window)
21082 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
21083 (pop-to-buffer-other-window)
21084 (pop-to-buffer-same-frame-other-window)
21085 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
21086 (switch-to-buffer-other-window-same-frame): New functions.
21087 (same-window-p, special-display-p): Rewrite disabling warnings.
21088 Make obsolete.
21089 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21090 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
21091 Make obsolete
21092 (same-window-buffer-names, same-window-regexps)
21093 (special-display-frame-alist, special-display-popup-frame)
21094 (special-display-function, special-display-buffer-names)
21095 (special-display-regexps, pop-up-frame-alist)
21096 (pop-up-frame-function, split-window-preferred-function)
21097 (split-height-threshold, split-width-threshold)
21098 (even-window-heights): Make obsolete.
21099
21100 2011-06-12 Glenn Morris <rgm@gnu.org>
21101
21102 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
21103 Misc simplifications.
21104
21105 2011-06-12 Martin Rudalics <rudalics@gmx.at>
21106
21107 * window.el (window-safely-shrinkable-p): Restore function which
21108 was inadvertently removed in change from 2011-06-11. Declare as
21109 obsolete.
21110
21111 * calendar/calendar.el (calendar-generate-window):
21112 Use window-iso-combined-p instead of combination of one-window-p and
21113 window-safely-shrinkable-p.
21114
21115 2011-06-12 Glenn Morris <rgm@gnu.org>
21116
21117 * progmodes/fortran.el (fortran-mode-syntax-table):
21118 * progmodes/f90.el (f90-mode-syntax-table):
21119 Set % to punctuation. (Bug#8820)
21120 (f90-find-tag-default): Remove, no longer needed.
21121
21122 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
21123
21124 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
21125
21126 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
21127
21128 * image.el (image-animated-p): Return animation delay in seconds.
21129 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
21130 (image-animate-timeout): Remove DELAY argument. Don't assume
21131 every subimage has the same delay; get it from image-animated-p.
21132 (image-animate): Caller changed.
21133
21134 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
21135
21136 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
21137 to ignored backtrace functions.
21138
21139 2011-06-11 Glenn Morris <rgm@gnu.org>
21140
21141 * calendar/appt.el (appt-disp-window-function): Doc fix.
21142 (appt-check): Handle overlapping appointments. (Bug#8337)
21143
21144 2011-06-11 Martin Rudalics <rudalics@gmx.at>
21145
21146 * window.el (window-tree-1, window-tree): New functions, moving
21147 the latter to window.el.
21148 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
21149 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
21150 (bw-refresh-edges): Remove.
21151 (balance-windows-1, balance-windows-2): New functions.
21152 (balance-windows): Rewrite in terms of window tree functions,
21153 balance-windows-1 and balance-windows-2.
21154 (bw-adjust-window): Remove.
21155 (balance-windows-area-adjust): New function with functionality of
21156 bw-adjust-window but using resize-window.
21157 (set-window-text-height): Rewrite doc-string.
21158 Use normalize-live-window and resize-window.
21159 (enlarge-window-horizontally, shrink-window-horizontally):
21160 Rename argument to DELTA.
21161 (window-buffer-height): New function.
21162 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
21163 Rewrite using new window resize routines.
21164 (kill-buffer-and-window, mouse-autoselect-window-select):
21165 Use ignore-errors instead of condition-case.
21166 (quit-window): Call delete-frame instead of delete-windows-on
21167 for the only buffer on frame.
21168
21169 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21170
21171 * loadup.el (top-level): Load window before files for the sake
21172 of replace-buffer-in-windows.
21173
21174 * files.el (read-buffer-to-switch)
21175 (switch-to-buffer-other-window)
21176 (switch-to-buffer-other-frame, display-buffer-other-frame):
21177 Move to window.el.
21178
21179 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
21180 (previous-buffer): Move to window.el.
21181
21182 * bindings.el (unbury-buffer): Move to window.el.
21183
21184 * window.el (delete-other-windows-vertically): Move after
21185 definition of delete-other-windows.
21186 (other-window, delete-windows-on, replace-buffer-in-windows):
21187 Move here from window.c.
21188 (record-window-buffer, unrecord-window-buffer)
21189 (set-window-buffer-start-and-point, switch-to-prev-buffer)
21190 (switch-to-next-buffer): New functions.
21191 (get-next-valid-buffer, last-buffer, next-buffer): Move here
21192 from simple.el. Call switch-to-next-buffer.
21193 (previous-buffer): Move here from simple.el.
21194 Call switch-to-prev-buffer.
21195 (bury-buffer): Move here from buffer.c. Switch to previous
21196 buffer when window cannot be deleted.
21197 (unbury-buffer): Move here from bindings.el.
21198 (ctl-x-map): Move binding for other-window from window.c to
21199 here.
21200 (read-buffer-to-switch, switch-to-buffer-other-window)
21201 (switch-to-buffer-other-frame): Move here from files.el.
21202 (normalize-buffer-to-switch-to): New functions.
21203 (switch-to-buffer): Move here from buffer.c.
21204 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
21205
21206 2011-06-10 Martin Rudalics <rudalics@gmx.at>
21207
21208 * window.el (window-min-height, window-min-width): Move here
21209 from window.c. Add defcustoms and rewrite doc-strings.
21210 (resize-mini-window, resize-window): New functions.
21211 (adjust-window-trailing-edge, enlarge-window, shrink-window):
21212 Move here from window.c.
21213 (maximize-window, minimize-window): New functions.
21214 (delete-window, delete-other-windows, split-window): Move here
21215 from window.c.
21216 (window-split-min-size): New function.
21217 (split-window-keep-point): Mention split-window-above-each-other
21218 instead of split-window-vertically.
21219 (split-window-above-each-other, split-window-vertically):
21220 Rename split-window-vertically to split-window-above-each-other
21221 and provide defalias for old definition.
21222 (split-window-side-by-side, split-window-horizontally):
21223 Rename split-window-horizontally to split-window-side-by-side
21224 and provide defalias for the old definition.
21225 (ctl-x-map): Move bindings for delete-window,
21226 delete-other-windows and enlarge-window here from window.c.
21227 Replace bindings for split-window-vertically and
21228 split-window-horizontally by bindings for
21229 split-window-above-each-other and split-window-side-by-side.
21230
21231 * cus-start.el (all): Remove entries for window-min-height and
21232 window-min-width. Add entries for window-splits and
21233 window-nest.
21234
21235 2011-06-09 Glenn Morris <rgm@gnu.org>
21236
21237 * calendar/appt.el (appt-mode-line): New function.
21238 (appt-check, appt-disp-window): Use it.
21239
21240 * files.el (hack-one-local-variable-eval-safep):
21241 Allow minor-modes with explicit +/-1 arguments.
21242
21243 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
21244
21245 * term/xterm.el (xterm): Add defgroup.
21246 (xterm-extra-capabilities): Add defcustom to supply known xterm
21247 capabilities, skip querying them, or query them (default).
21248 (terminal-init-xterm): Use it.
21249 (terminal-init-xterm-modify-other-keys): New function to set up
21250 modifyOtherKeys support to simplify `terminal-init-xterm'.
21251
21252 2011-06-09 Martin Rudalics <rudalics@gmx.at>
21253
21254 * window.el (resize-window-reset, resize-window-reset-1)
21255 (resize-subwindows-skip-p, resize-subwindows-normal)
21256 (resize-subwindows, resize-other-windows, resize-this-window)
21257 (resize-root-window, resize-root-window-vertically)
21258 (window-deletable-p, window-or-subwindow-p)
21259 (frame-root-window-p): New functions.
21260
21261 2011-06-09 Glenn Morris <rgm@gnu.org>
21262
21263 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
21264 (ange-ftp-get-files): Use it.
21265
21266 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
21267
21268 * mail/sendmail.el (mail-recover-1, mail-recover):
21269 * files.el (recover-file, recover-session):
21270 Handle dired-listing-switches not being just a single short option.
21271
21272 2011-06-09 Glenn Morris <rgm@gnu.org>
21273
21274 * calendar/appt.el (appt-display-message, appt-disp-window):
21275 Handle lists of appointments.
21276
21277 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21278
21279 * window.el (one-window-p): Move down in code.
21280 Rewrite doc-string.
21281 (window-current-scroll-bars): Rewrite doc-string.
21282 Normalize live window argument.
21283 (walk-windows, get-window-with-predicate, count-windows):
21284 Rewrite doc-string. Use window-list-1.
21285 (window-in-direction-2, window-in-direction, get-mru-window):
21286 New functions.
21287
21288 2011-06-08 Reuben Thomas <rrt@sc3d.org>
21289
21290 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
21291 Doc fix (Bug#8713).
21292
21293 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
21294
21295 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
21296
21297 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
21298
21299 * loadhist.el (unload-feature-special-hooks):
21300 Add `comint-output-filter-functions'.
21301
21302 2011-06-08 Ivan Kanis <gnu@kanis.fr>
21303
21304 * calendar/appt.el (appt-check): Move some initializations into the let.
21305
21306 2011-06-08 Martin Rudalics <rudalics@gmx.at>
21307
21308 * window.el (window-height): Defalias to window-total-height.
21309 (window-width): Defalias to window-body-width.
21310
21311 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
21312
21313 * image-mode.el (image-toggle-animation): New command.
21314 (image-mode-map): Bind it to RET.
21315 (image-mode): Update message.
21316 (image-toggle-display-image): Avoid a spurious cache flush.
21317 (image-transform-rotation): Doc fix.
21318 (image-transform-properties): Return quickly in the normal case.
21319 (image-animate-loop): Rename from image-animate-max-time.
21320
21321 * image.el (image-animate-max-time): Move to image-mode.el.
21322 (create-animated-image): Remove unnecessary function.
21323 (image-animate): Rename from image-animate-start. New arg.
21324 (image-animate-stop): Remove; just use image-animate-timer.
21325 (image-animate-timer): Use car-safe.
21326 (image-animate-timeout): Rename argument.
21327
21328 2011-06-07 Martin Rudalics <rudalics@gmx.at>
21329
21330 * window.el (get-lru-window, get-largest-window): Move here from
21331 window.c. Rename first argument to ALL-FRAMES.
21332 Rephrase doc-strings.
21333 (get-buffer-window-list): Rewrite using window-list-1.
21334 Rephrase doc-string.
21335 (window-safe-min-height, window-safe-min-width): New constants.
21336 (window-size-ignore, window-min-size, window-min-size-1)
21337 (window-sizable, window-sizable-p, window-size-fixed-1)
21338 (window-size-fixed-p, window-min-delta-1, window-min-delta)
21339 (window-max-delta-1, window-max-delta, window-resizable)
21340 (window-resizable-p, window-total-height, window-total-width)
21341 (window-body-width): New functions.
21342 (window-full-height-p, window-full-width-p): Rewrite using
21343 window-total-size.
21344 (window-body-height): Rewrite using window-body-size.
21345
21346 2011-06-06 Martin Rudalics <rudalics@gmx.at>
21347
21348 * window.el (window-right, window-left, window-child)
21349 (window-child-count, window-last-child, window-any-p)
21350 (normalize-live-buffer, normalize-live-frame)
21351 (normalize-any-window, normalize-live-window)
21352 (window-iso-combination-p, window-iso-combined-p)
21353 (window-iso-combinations)
21354 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
21355 (windows-with-parameter, window-with-parameter)
21356 (window-atom-root, make-window-atom, window-atom-check-1)
21357 (window-atom-check, window-side-check, window-check):
21358 New functions.
21359 (ignore-window-parameters, window-sides, window-sides-vertical)
21360 (window-sides-slots): New variables.
21361 (window-size-fixed): Move down in code. Minor doc-string fix.
21362
21363 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
21364
21365 * comint.el (comint-dynamic-complete-as-filename)
21366 (comint-dynamic-complete-filename): Correctly call
21367 completion-in-region.
21368
21369 2011-06-05 Deniz Dogan <deniz@dogan.se>
21370
21371 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
21372 in last change.
21373
21374 2011-06-05 Deniz Dogan <deniz@dogan.se>
21375
21376 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
21377 (rcirc): Use it to prompt for encryption.
21378
21379 2011-06-05 Roland Winkler <winkler@gnu.org>
21380
21381 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
21382 (bibtex-search-entries): New command bound to C-c C-a.
21383 (bibtex-display-entries): New function.
21384
21385 2011-06-05 Roland Winkler <winkler@gnu.org>
21386
21387 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
21388 (bibtex-insert-kill): After yanking insert newline if necessary.
21389 (bibtex-initialize): Call bibtex-string-files-init only once.
21390 (bibtex-mode): Do not call easy-menu-add.
21391 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
21392 (bibtex-yank): Set arg properly if nil.
21393
21394 2011-06-05 Roland Winkler <winkler@gnu.org>
21395
21396 * textmodes/bibtex.el (bibtex-search-entry-globally):
21397 New variable.
21398 (bibtex-search-entry): Use it.
21399
21400 2011-06-05 Roland Winkler <winkler@gnu.org>
21401
21402 * textmodes/bibtex.el (bibtex-entry-format): New option
21403 sort-fields.
21404 (bibtex-format-entry, bibtex-reformat): Honor this option.
21405 (bibtex-parse-entry): Return fields in proper order.
21406
21407 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
21408
21409 * doc-view.el (doc-view-remove-if): Move computation of result out
21410 of `dolist' to silence misleading lexical-binding warning.
21411
21412 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
21413
21414 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
21415 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
21416
21417 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21418
21419 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
21420 "SunOS 5.10".
21421
21422 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
21423
21424 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
21425 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
21426 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
21427 (tramp-parse-putty):
21428 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
21429 (tramp-completion-function-alist-ssh)
21430 (tramp-completion-function-alist-telnet)
21431 (tramp-completion-function-alist-su)
21432 (tramp-completion-function-alist-putty): Set `tramp-autoload'
21433 cookie.
21434
21435 * net/tramp-ftp.el:
21436 * net/tramp-sh.el:
21437 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
21438 load "tramp.el" `tramp-set-completion-function'.
21439
21440 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
21441
21442 * shell.el: Require and use pcomplete.
21443 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
21444 (shell-completion-vars): Set pcomplete-default-completion-function.
21445
21446 2011-06-04 Deniz Dogan <deniz@dogan.se>
21447
21448 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
21449 `memq' (Bug#8799).
21450
21451 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21452
21453 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
21454
21455 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
21456
21457 * bs.el (bs--mark-unmark, bs--nth-wrapper):
21458 * mpc.el (mpc-select-extend, mpc-songpointer-context):
21459 * vc/log-view.el (log-view-beginning-of-defun):
21460 * vc/smerge-mode.el (smerge-apply-resolution-patch)
21461 (smerge-refine-forward, smerge-refine-chopup-region):
21462 Silence warning for unused `dotimes' counter variables.
21463
21464 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
21465
21466 * net/tramp.el (tramp-with-progress-reporter): Rename from
21467 with-progress-reporter. Use `declare'.
21468 * net/tramp-smb.el:
21469 * net/tramp-sh.el:
21470 * net/tramp-gvfs.el: Update all uses.
21471
21472 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
21473
21474 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
21475 buffer isn't killed before making it current.
21476
21477 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21478
21479 Silence various byte-compiler warnings.
21480 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
21481 `access-type' and new obsolescence format.
21482 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
21483 new format.
21484 (byte-compile-check-variable): New `access-type' argument.
21485 Only warn if the access-type is obsolete.
21486 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21487 (byte-compile-variable-set): Adjust callers.
21488 * help-fns.el (describe-variable): Adjust to new obsolescence format.
21489 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
21490 setting it as obsolete.
21491 * simple.el (minibuffer-completing-symbol):
21492 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
21493 access as obsolete.
21494 * minibuffer.el (minibuffer-completing-file-name): Don't make it
21495 obsolete yet.
21496 * international/quail.el (quail-mouse-choose-completion): Remove unused
21497 code referring to obsolete var.
21498 (quail-choose-completion-string): Remove.
21499 * server.el (server-clients-with, server-kill-buffer-query-function)
21500 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
21501 * proced.el (proced-send-signal):
21502 * emacs-lisp/lisp.el (lisp-complete-symbol):
21503 Replace completion-annotate-function with completion-extra-properties.
21504
21505 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
21506
21507 * simple.el (goto-line): Use read-number.
21508 (overriding-map-is-bound): Remove.
21509 (saved-overriding-map): Change default.
21510 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
21511 Take the map as argument.
21512 (universal-argument, negative-argument, digit-argument): Use it.
21513 (restore-overriding-map): Adjust.
21514 (do-auto-fill): Use fill-forward-paragraph.
21515 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
21516
21517 * minibuffer.el (minibuffer-inactive-mode-map): New var.
21518 (minibuffer-inactive-mode): New major mode.
21519 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
21520 the *Messages* buffer" hack.
21521 (mouse-popup-menubar): Don't burp if the event is a normal key.
21522
21523 Miscellaneous tweaks.
21524 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
21525 lexical scoping as in subr.el's dolist and dotimes.
21526 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
21527 Silence compiler warning.
21528 * thingatpt.el (forward-whitespace): Trivial coding style fix.
21529 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
21530 * international/ccl.el (ccl-compile): Trivial simplification.
21531 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
21532 * emacs-lisp/testcover.el (testcover-end): Remove spurious
21533 `printflag' argument.
21534 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
21535 Purecopy the whole obsolescence data.
21536
21537 2011-06-01 Leo Liu <sdl.web@gmail.com>
21538
21539 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
21540 improve doc-string as suggested by Marco Pessotto
21541 <melmothx@gmail.com>.
21542 (rcirc-print): Fix last change.
21543
21544 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21545
21546 * minibuffer.el (complete-with-action): Return nil for the metadata and
21547 boundaries of non-functional tables.
21548 (completion-table-dynamic): Return nil for the metadata.
21549 (completion-table-with-terminator): Add default case, using
21550 complete-with-action.
21551 (completion--metadata): New function.
21552 (completion-all-sorted-completions, minibuffer-completion-help): Use it
21553 to try and avoid pathological performance problems.
21554 (completion--embedded-envvar-table): Return `category' metadata.
21555
21556 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
21557
21558 * subr.el (process-alive-p): New tiny convenience function.
21559
21560 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21561
21562 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
21563 content but also its previous major mode.
21564
21565 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
21566
21567 * emacs-lisp/debug.el (debug): Restore the previous content of the
21568 *Backtrace* buffer when we exit with C-M-c.
21569
21570 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
21571
21572 * minibuffer.el: Add metadata method to completion tables.
21573 (completion-category-overrides): New defcustom.
21574 (completion-metadata, completion--field-metadata)
21575 (completion-metadata-get, completion--styles)
21576 (completion--cycle-threshold): New functions.
21577 (completion-try-completion, completion-all-completions):
21578 Add `metadata' argument to choose completion-styles.
21579 (completion--do-completion): Use metadata to choose cycling.
21580 (completion-all-sorted-completions): Use metadata for sorting.
21581 Remove :completion-cycle-penalty which is not needed any more.
21582 (completion--try-word-completion): Add `metadata' argument.
21583 (minibuffer-completion-help): Check metadata for annotation function
21584 and sorting.
21585 (completion-file-name-table): Return `category' metadata.
21586 (minibuffer-completing-file-name): Make obsolete.
21587 * simple.el (minibuffer-completing-symbol): Make obsolete.
21588 * icomplete.el (icomplete-completions): Pass new `metadata' param to
21589 completion-try-completion.
21590
21591 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
21592
21593 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
21594
21595 2011-05-30 Leo Liu <sdl.web@gmail.com>
21596
21597 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
21598 (rcirc-print): Decode all incoming messages (bug#8744).
21599 (rcirc-decode-coding-system): Allow value nil for automatic coding
21600 system detection.
21601
21602 2011-06-01 Glenn Morris <rgm@gnu.org>
21603
21604 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
21605
21606 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21607
21608 * image.el (image-animate-max-time): Allow nil and t values.
21609 Default to nil.
21610 (create-animated-image): Doc fix.
21611 (image-animate-start): Remove second arg; just use
21612 image-animate-max-time.
21613 (image-animate-timeout): Doc fix. Args changed.
21614
21615 * image-mode.el (image-toggle-display-image): Ensure that the
21616 image spec passed to the animate timer is the same object as in
21617 the buffer's display property (Bug#6981).
21618 (image-transform-properties): Doc fix.
21619
21620 * image.el (image-animate-max-time): Default to nil.
21621
21622 2011-05-29 Martin Rudalics <rudalics@gmx.at>
21623
21624 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
21625 entire buffer list (Bug#8184).
21626
21627 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21628
21629 * image.el (imagemagick-types-inhibit)
21630 (imagemagick-register-types): Doc fix.
21631
21632 2011-05-29 Deniz Dogan <deniz@dogan.se>
21633
21634 * net/rcirc.el (rcirc): Use the user's stored encryption method by
21635 default.
21636
21637 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
21638
21639 * select.el: Don't perform clipboard-manager saving in hooks;
21640 leave the hooks empty.
21641
21642 2011-05-28 Leo Liu <sdl.web@gmail.com>
21643
21644 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
21645 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
21646 (occur-edit-mode): New major mode (Bug#8463).
21647 (occur-after-change-function): New function.
21648 (occur-engine): Give Occur tags a read-only property.
21649
21650 2011-05-28 Kevin Ryde <user42@zip.com.au>
21651
21652 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
21653
21654 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21655
21656 * bindings.el (help-echo): Make the initial non-indicator dash
21657 empty on graphical terminals (Bug#7295).
21658
21659 * files.el (auto-mode-alist): Move config rule after the
21660 in-stripping one (Bug#8547).
21661
21662 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
21663
21664 * startup.el (normal-splash-screen): Remove gratuitous mode-line
21665 setting (Bug#8740).
21666
21667 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
21668
21669 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
21670 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
21671 (Bug#8539).
21672
21673 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21674
21675 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
21676
21677 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
21678
21679 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
21680 (hs-hide-block-at-point, hs-find-block-beginning)
21681 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
21682 (Bug#8279).
21683
21684 2011-05-28 Glenn Morris <rgm@gnu.org>
21685
21686 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
21687
21688 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
21689
21690 * help-fns.el (describe-function-1): If the function is a derived
21691 major mode, print the parent mode.
21692
21693 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
21694 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
21695
21696 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
21697
21698 * minibuffer.el (completion--capf-wrapper): Check applicability before
21699 returning non-nil for non-exclusive completion data.
21700 * progmodes/etags.el (tags-completion-at-point-function):
21701 * info-look.el (info-lookup-completions-at-point): Mark as
21702 non-exclusive.
21703 (info-complete): Adjust accordingly.
21704
21705 * info-look.el: Convert to lexical-binding and completion-at-point.
21706 (info-lookup-completions-at-point): New function.
21707 (info-complete): Use it and completion-in-region.
21708
21709 2011-05-28 Drew Adams <drew.adams@oracle.com>
21710
21711 * isearch.el: Let M-e start with point at the first mismatched char.
21712 (isearch-fail-pos): New function.
21713 (isearch-edit-string): Use it.
21714
21715 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21716
21717 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21718
21719 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
21720
21721 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
21722 traversal functions for avl-trees.
21723 (avl-tree--stack): New struct.
21724 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
21725 (avl-tree-enter): Add optional `updatefun' arg.
21726 (avl-tree--do-enter): Add optional `updatefun' arg.
21727 Change return value.
21728 (avl-tree-delete): Add optional `test' and `nilflag' args.
21729 (avl-tree--do-delete): Add `test' and `nilflag' args.
21730 Change return value.
21731 (avl-tree-member): Add optional `nilflag'
21732 (avl-tree-member-p): New function.
21733 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
21734 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
21735 (avl-tree-stack-empty-p): New functions.
21736
21737 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
21738 avl-tree--del-balance1 and make it work both ways.
21739 (avl-tree--del-balance2): Remove.
21740 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
21741 make it work both ways.
21742 (avl-tree--enter-balance2): Remove.
21743 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
21744 New macros.
21745 (avl-tree--mapc, avl-tree-map): Add direction argument.
21746
21747 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
21748
21749 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
21750
21751 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
21752
21753 * select.el: Support clipboard managers with built-in function
21754 x-clipboard-manager-save, via delete-frame-functions and
21755 kill-emacs-hook.
21756 (xselect-convert-to-targets): Add MULTIPLE target to list.
21757 (xselect-convert-to-save-targets): New function.
21758
21759 2011-05-27 Kenichi Handa <handa@m17n.org>
21760
21761 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
21762 let-binding rfc2047-encode-encoded-words to nil.
21763
21764 2011-05-27 Glenn Morris <rgm@gnu.org>
21765
21766 * mail/emacsbug.el: Don't require url-util.
21767
21768 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
21769
21770 * files.el (set-auto-mode):
21771 Also respect mode: entries at the end of the file. (Bug#8586)
21772
21773 2011-05-26 Glenn Morris <rgm@gnu.org>
21774
21775 * files.el (hack-local-variables-prop-line, hack-local-variables):
21776 Downcase mode names, as seems to be traditional.
21777 (hack-local-variables, hack-local-variables-apply): Doc fixes.
21778
21779 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
21780 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
21781
21782 2011-05-25 Julien Danjou <julien@danjou.info>
21783
21784 * textmodes/rst.el (rst-define-level-faces): Do not define face
21785 symbol if it is already defined.
21786
21787 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
21788
21789 * play/5x5.el (5x5-new-game, 5x5-randomize):
21790 Reset 5x5-solver-output to nil when a new grid is cast.
21791 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
21792 these debugging traces, as defmacro breaks the compiled code.
21793
21794 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
21795
21796 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
21797
21798 2011-05-24 Leo Liu <sdl.web@gmail.com>
21799
21800 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
21801 (vc-bzr-sha1): Adapt.
21802
21803 * sha1.el: Remove. Function `sha1' is now builtin.
21804
21805 * bindings.el: Provide sha1 feature.
21806
21807 2011-05-24 Kenichi Handa <handa@m17n.org>
21808
21809 * mail/sendmail.el: Require `rfc2047'.
21810 (mail-insert-from-field): Do not perform RFC2047 encoding.
21811 (mail-encode-header): New function.
21812 (sendmail-send-it): Set buffer-file-coding-system of the work
21813 buffer to the return value of select-message-coding-system.
21814 Call mail-encode-header.
21815
21816 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
21817
21818 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
21819
21820 * mail/supercite.el (sc-default-cite-frame):
21821 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
21822
21823 2011-05-24 Glenn Morris <rgm@gnu.org>
21824
21825 * progmodes/python.el (brm-menu): Declare.
21826
21827 * emulation/viper.el (viper-set-hooks): Declare.
21828
21829 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
21830 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
21831 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
21832 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
21833 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
21834 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
21835
21836 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
21837
21838 Add an :exit-function for completion-at-point.
21839
21840 * minibuffer.el (completion--done): New fun.
21841 (completion--do-completion): Use it. New arg `expect-exact'.
21842 (minibuffer-complete, minibuffer-complete-word): Don't output message,
21843 since completion--do-completion does it for us now.
21844 (minibuffer-force-complete): Use completion--done and
21845 completion--replace. Handle sole-completion case with more care.
21846 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
21847 (completion-extra-properties): New var.
21848 (completion-annotate-function): Make obsolete.
21849 (minibuffer-completion-help): Adjust accordingly.
21850 Use completion-list-insert-choice-function.
21851 (completion-at-point, completion-help-at-point):
21852 Bind completion-extra-properties.
21853 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
21854 * simple.el (completion-list-insert-choice-function): New var.
21855 (completion-setup-function): Preserve it.
21856 (choose-completion): Pay attention to it, shuffle the code a bit.
21857 (choose-completion-string): New arg `insert-function'.
21858
21859 * textmodes/bibtex.el: Convert to lexical binding.
21860 (bibtex-mode-map): Use completion-at-point.
21861 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
21862 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
21863 (bibtex-complete): Define as obsolete alias.
21864 (bibtex-complete-internal): Remove.
21865 (bibtex-format-entry): Remove unused sub-group in regexp.
21866 * shell.el (shell--command-completion-data)
21867 (shell-environment-variable-completion):
21868 * pcomplete.el (pcomplete-completions-at-point):
21869 * comint.el (comint--complete-file-name-data): Use :exit-function
21870 instead of completion-table-with-terminator so it also works for
21871 choose-completion.
21872
21873 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21874
21875 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
21876
21877 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
21878 (bug#8710).
21879
21880 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
21881
21882 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
21883
21884 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
21885 customization variable and implement: If non-nil, auto-fill will
21886 be inhibited while on topic's header line.
21887
21888 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
21889
21890 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
21891 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
21892 always have a solution in grid size = 5 cases.
21893 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
21894 (5x5-solver-output, 5x5-log-buffer): New vars.
21895 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
21896 Make these variables buffer local to achieve 5x5 multi-session-ness.
21897 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
21898 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
21899 (5x5-solve-suggest): New funs.
21900 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
21901 randomize a grid so that we ensure that there is always a solution.
21902 (5x5-make-random-grid): Allow other movement than flipping.
21903
21904 2011-05-23 Kevin Ryde <user42@zip.com.au>
21905
21906 * emacs-lisp/advice.el (ad-read-advised-function):
21907 Use `function-called-at-point' as the default, if it has
21908 advice and passes PREDICATE.
21909
21910 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
21911
21912 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
21913 byte-compile-lambda if it's actually a lambda.
21914
21915 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
21916 Fix function quoting. Use backquote better.
21917
21918 2011-05-22 Yuanle Song <sylecn@gmail.com>
21919
21920 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
21921 matching (Bug#8516).
21922
21923 2011-05-22 Jari Aalto <jari.aalto@cante.net>
21924
21925 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
21926 different face (Bug#8178).
21927
21928 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
21929
21930 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
21931 defface (Bug#8144).
21932
21933 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
21934
21935 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
21936 funcall as well (bug#8712). Warn when performing those conversions.
21937 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
21938
21939 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
21940
21941 2011-05-22 Glenn Morris <rgm@gnu.org>
21942
21943 * files.el (hack-local-variables-prop-line): Small simplifications.
21944 (hack-local-variables, hack-local-variables-prop-line):
21945 If MODE-ONLY, return the mode, rather than just `t'.
21946
21947 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
21948
21949 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
21950
21951 2011-05-21 Glenn Morris <rgm@gnu.org>
21952
21953 * files.el (hack-local-variables-prop-line, hack-local-variables):
21954 If only interested in the mode, don't bother doing the other stuff.
21955
21956 * image-mode.el (image-after-revert-hook):
21957 Redraw all frames on which the image is visible. (Bug#8567)
21958
21959 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
21960
21961 * wid-edit.el (widget-checklist-match-inline):
21962 Fix 2011-04-19 change. (Bug#8649)
21963
21964 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
21965
21966 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
21967 Also allow singlespace after single-letter capitals followed by a dot.
21968
21969 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
21970 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
21971
21972 2011-05-20 Nix <nix@esperi.org.uk>
21973
21974 * files.el (basic-save-buffer-2):
21975 Fix handling of break-hardlink-on-save with non-existent files.
21976
21977 2011-05-19 Deniz Dogan <deniz@dogan.se>
21978
21979 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
21980 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
21981
21982 2011-05-19 Glenn Morris <rgm@gnu.org>
21983
21984 * progmodes/f90.el (f90-type-def-re):
21985 Handle "type, bind(c)". (Bug#8691)
21986
21987 * emacs-lisp/autoload.el (batch-update-autoloads):
21988 Set autoload-excludes by parsing loadup.el rather than Makefiles.
21989
21990 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
21991
21992 * net/tramp.el (tramp-process-actions): Set "first-password-request"
21993 property for the correct connection in case of multihops.
21994
21995 2011-05-18 Glenn Morris <rgm@gnu.org>
21996
21997 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
21998 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
21999
22000 Rationalize calendar handling of day and month abbrev-arrays.
22001 * calendar/calendar.el (calendar-customized-p): New function.
22002 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
22003 (calendar-day-name-array, calendar-month-name-array): Doc fix.
22004 Add :set function.
22005 (calendar-abbrev-length, calendar-day-abbrev-array)
22006 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
22007 (calendar-day-abbrev-array, calendar-month-abbrev-array):
22008 Elements may no longer be nil.
22009 (calendar-day-name, calendar-month-name):
22010 Update for changed nature of abbrev arrays.
22011 * calendar/diary-lib.el (diary-name-pattern):
22012 Update for changed nature of abbrev arrays.
22013 (diary-mark-entries-1): Update calendar-make-alist calls.
22014 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
22015 * calendar/cal-html.el (cal-html-day-abbrev-array):
22016 Simply inherit from calendar-day-abbrev-array.
22017
22018 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
22019
22020 * progmodes/grep.el (grep-mode): Disable default
22021 compilation-directory-matcher setting (bug#8684).
22022
22023 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
22024
22025 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
22026 instead of "head" and "tail". There were problems with SunOS 5.9,
22027 and it performs better.
22028
22029 2011-05-17 Glenn Morris <rgm@gnu.org>
22030
22031 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
22032
22033 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
22034 Replace obsolete function.
22035
22036 * shell.el (pcomplete-parse-arguments-function): Declare.
22037
22038 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
22039 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
22040 (appt-check): Doc fixes.
22041 (appt-disp-window-function, appt-delete-window-function):
22042 Remove needless special case in custom :type.
22043 (appt-display-count): Default to 0, not nil.
22044 (appt-check): Reset appt-display-count to 0, not nil.
22045
22046 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
22047
22048 * progmodes/python.el (python-font-lock-keywords):
22049 Add the Python 3.X keyword "nonlocal" (bug#8639).
22050
22051 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
22052
22053 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
22054
22055 2011-05-16 Kevin Ryde <user42@zip.com.au>
22056
22057 * info-look.el (makefile-automake-mode): New setups, looking in
22058 automake manual, then makefile-mode.
22059 (makefile-mode): Remove automake manual, have it just in
22060 makefile-automake-mode since there's various things different or
22061 not relevant to plain make.
22062 (makefile-mode): Remove "other-modes" non-existent automake-mode,
22063 believe a hypothetical automake-mode would go to makefile-mode,
22064 not the other way around.
22065
22066 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
22067
22068 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
22069 hunk-end tags (Bug#8672).
22070
22071 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
22072 vc-annotate-show-diff-revision-at-line (Bug#8671).
22073
22074 2011-05-14 Glenn Morris <rgm@gnu.org>
22075
22076 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
22077 in the middle of an existing one with multiple authors. (Bug#8645)
22078 (change-log-font-lock-keywords): Also handle multiple author lines
22079 with leading tabs. (Bug#8644)
22080
22081 * calendar/appt.el (appt-check): Rename some local variables.
22082 Some simplification/reordering.
22083
22084 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
22085 (feedmail-sendmail-f-doesnt-sell-me-out)
22086 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22087 (feedmail-debug-sit-for, feedmail-queue-express-hook)
22088 (feedmail-queue-runner-message-sender): Set :version.
22089 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
22090 (bbdb-dwim-net-address, vm-mail): Declare.
22091 (feedmail-binmail-gnulinuxish-template):
22092 Rename from feedmail-binmail-linuxish-template.
22093 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
22094 Use insert-buffer-substring.
22095
22096 2011-05-14 Bill Carpenter <bill@carpenter.org>
22097
22098 * mail/feedmail.el (feedmail-patch-level): Increase.
22099 (feedmail-debug): New custom group.
22100 (feedmail-confirm-outgoing-timeout)
22101 (feedmail-sendmail-f-doesnt-sell-me-out)
22102 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
22103 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
22104 (feedmail-sender-line, feedmail-from-line)
22105 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
22106 (feedmail-spray-this-address)
22107 (feedmail-spray-address-fiddle-plex-list)
22108 (feedmail-queue-use-send-time-for-date)
22109 (feedmail-queue-use-send-time-for-message-id)
22110 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
22111 (feedmail-buffer-eating-function):
22112 Doc fixes.
22113 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
22114 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
22115 (feedmail-message-action-scroll-down): New functions.
22116 (feedmail-queue-directory, feedmail-queue-draft-directory):
22117 Use expand-file-name.
22118 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
22119 Remove C-v help entry.
22120 (feedmail-queue-buffer-file-name): New variable.
22121 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
22122 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
22123 (feedmail-message-action-send-strong, feedmail-message-action-edit)
22124 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
22125 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
22126 (feedmail-message-action-toggle-spray)
22127 (feedmail-run-the-queue-no-prompts)
22128 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
22129 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
22130 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
22131 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
22132 (feedmail-envelope-deducer, feedmail-fiddle-from)
22133 (feedmail-fiddle-sender, feedmail-default-date-generator)
22134 (feedmail-fiddle-date, feedmail-fiddle-message-id)
22135 (feedmail-fiddle-spray-address)
22136 (feedmail-fiddle-list-of-spray-fiddle-plexes)
22137 (feedmail-fiddle-list-of-fiddle-plexes)
22138 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
22139 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
22140 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
22141 Change default. Doc fix.
22142 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
22143 (feedmail-binmail-linuxish-template): New constant.
22144 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
22145 Respect feedmail-sendmail-f-doesnt-sell-me-out.
22146 (feedmail-send-it): Add debug call.
22147 Use feedmail-queue-buffer-file-name, and
22148 feedmail-send-it-immediately-wrapper.
22149 (feedmail-message-action-send): Add debug call.
22150 Use feedmail-send-it-immediately-wrapper.
22151 (feedmail-queue-express-to-queue): Add debug call.
22152 Run feedmail-queue-express-hook.
22153 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
22154 (feedmail-message-action-help-blat):
22155 Rename from feedmail-queue-send-edit-prompt-help-first.
22156 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
22157 Check line-endings. Handle errors better.
22158 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
22159 Doc fix. Add debug call.
22160 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
22161 Use feedmail-queue-send-edit-prompt-inner.
22162 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
22163 (feedmail-queue-send-edit-prompt-inner): New function, extracted
22164 from feedmail-queue-send-edit-prompt.
22165 (feedmail-queue-send-edit-prompt-help)
22166 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
22167 (feedmail-tidy-up-slug): Add debug call.
22168 Respect feedmail-queue-slug-suspect-regexp.
22169 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
22170 (feedmail-dump-message-to-queue): Add debug call.
22171 Expand queue-directory.
22172 (feedmail-dump-message-to-queue): Change message slightly.
22173 Use feedmail-say-chatter.
22174 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
22175 (feedmail-send-it-immediately-wrapper): New function.
22176 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
22177 Insert empty string rather than newline. Handle full-frame case.
22178 Use catch/throw. Use feedmail-say-chatter.
22179 (feedmail-fiddle-from): Try mail-host-address.
22180 (feedmail-default-message-id-generator): Doc fix.
22181 Bind system-time-locale. Handle missing end.
22182 (feedmail-fiddle-x-mailer): Add debug call.
22183 Handle feedmail-x-mailer-line being nil.
22184 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
22185 Add debug call. Use buffer-substring-no-properties.
22186 (feedmail-say-debug, feedmail-say-chatter): New functions.
22187 (feedmail-find-eoh): Give an explicit error.
22188
22189 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
22190
22191 * net/newst-treeview.el (newsticker-treeview-face): Change default
22192 family from helvetica to sans.
22193 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
22194 etc/images/newsticker.
22195
22196 * net/newst-reader.el (newsticker-feed-face): Change default
22197 family from helvetica to sans.
22198
22199 * net/newst-plainview.el (newsticker-new-item-face)
22200 (newsticker-old-item-face, newsticker-immortal-item-face)
22201 (newsticker-obsolete-item-face, newsticker-date-face)
22202 (newsticker-statistics-face): Change default family from
22203 helvetica to sans.
22204 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
22205 etc/images/newsticker.
22206
22207 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
22208 (newsticker--process-auto-mark-filter-match): Tell user about
22209 auto-marking.
22210
22211 2011-05-13 Didier Verna <didier@xemacs.org>
22212
22213 Common Lisp indentation improvements on defmethod and lambda-lists.
22214 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
22215 TODO entries.
22216 (lisp-lambda-list-keyword-parameter-indentation)
22217 (lisp-lambda-list-keyword-parameter-alignment)
22218 (lisp-lambda-list-keyword-alignment): New customizable user options.
22219 (lisp-indent-defun-method): Improve docstring.
22220 (extended-loop-p): Fix comment.
22221 (lisp-indent-lambda-list-keywords-regexp): New variable.
22222 (lisp-indent-lambda-list): New function.
22223 (lisp-indent-259): Use it.
22224 (lisp-indent-defmethod): Support for more than one
22225 method qualifier and properly indent methods lambda-lists.
22226 (defgeneric): Provide a missing common-lisp-indent-function property.
22227
22228 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
22229
22230 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
22231 bounds for the empty string (bug#8667).
22232
22233 2011-05-13 Glenn Morris <rgm@gnu.org>
22234
22235 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
22236
22237 * mail/sendmail.el (sendmail-program): Try executable-find first.
22238 (sendmail-send-it): `sendmail-program' cannot be unbound.
22239
22240 * calendar/appt.el (appt-make-list): Simplify.
22241 (appt-time-msg-list): Doc fix.
22242 (appt-check): Change mode-line message at the time of the appointment.
22243
22244 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
22245
22246 * progmodes/ld-script.el (ld-script-keywords)
22247 (ld-script-builtins): Update keywords list.
22248
22249 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22250
22251 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
22252
22253 * shell.el (shell-completion-vars): New function.
22254 (shell-mode):
22255 * simple.el (read-shell-command): Use it.
22256 (blink-matching-open): No need for " [...]" in minibuffer-message.
22257
22258 2011-05-12 Glenn Morris <rgm@gnu.org>
22259
22260 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
22261 (appt-check): Simplify.
22262
22263 2011-05-12 Eli Zaretskii <eliz@gnu.org>
22264
22265 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
22266 literal "/dev/null".
22267
22268 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22269
22270 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
22271 Fix typo.
22272
22273 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
22274
22275 * progmodes/which-func.el (which-function):
22276 Use add-log-current-defun instead of add-log-current-defun-function,
22277 which might not be defined (Bug#8260).
22278
22279 2011-05-12 Glenn Morris <rgm@gnu.org>
22280
22281 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
22282 Let byte-compile-initial-macro-environment always take precedence.
22283
22284 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
22285
22286 * net/rcirc.el: Add support for SSL/TLS connections.
22287 (rcirc-server-alist): New field `encryption'.
22288 (rcirc): Check `encryption' settings.
22289 (rcirc-connect): New arg `encryption'. Use open-network-stream.
22290 Merge make-local-variable into `set'.
22291 (rcirc--connection-open-p): New function.
22292 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
22293 the process is not a network process (e.g. running gnutls-cli).
22294 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
22295 Make rcirc-(en|de)code-coding-system local here.
22296 (rcirc-mode): Merge make-local-variable into `set'.
22297 (rcirc-parent-buffer): Make permanent buffer-local.
22298 (rcirc-multiline-minor-mode): Don't do it here.
22299 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
22300 there's no server buffer.
22301
22302 2011-05-11 Glenn Morris <rgm@gnu.org>
22303
22304 * newcomment.el (comment-kill): Prefix "unused" local.
22305
22306 * term/w32console.el (get-screen-color): Declare.
22307
22308 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
22309 Handle symbol elements of byte-compile-initial-macro-environment.
22310
22311 2011-05-10 Leo Liu <sdl.web@gmail.com>
22312
22313 * bookmark.el (bookmark-bmenu-mode-map):
22314 Bind bookmark-bmenu-search to `/'.
22315
22316 * mail/footnote.el: Convert to utf-8 encoding.
22317 (footnote-unicode-string, footnote-unicode-regexp): New variable.
22318 (Footnote-unicode): New function.
22319 (footnote-style-alist): Add unicode style to the list.
22320 (footnote-style): Doc fix.
22321
22322 2011-05-10 Jim Meyering <meyering@redhat.com>
22323
22324 Fix doubled-word typos.
22325 * international/quail.el (quail-insert-kbd-layout): and and -> and
22326 * kermit.el: and and -> and
22327 * net/ldap.el (ldap-search-internal): to to -> to
22328 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
22329 * progmodes/js.el (js-mode): and and -> and
22330 * textmodes/artist.el (artist-move-to-xy): at at -> at
22331 (artist-draw-region-trim-line-endings): if if -> if
22332 And Safetyc -> Safety.
22333 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
22334
22335 2011-05-10 Glenn Morris <rgm@gnu.org>
22336 Stefan Monnier <monnier@iro.umontreal.ca>
22337
22338 * files.el (hack-one-local-variable-eval-safep):
22339 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
22340
22341 2011-05-10 Glenn Morris <rgm@gnu.org>
22342
22343 * calendar/diary-lib.el (diary-list-entries-hook)
22344 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
22345 (diary-nongregorian-marking-hook, diary-list-entries)
22346 (diary-include-other-diary-files, diary-mark-entries)
22347 (diary-mark-included-diary-files): Doc fixes.
22348
22349 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22350
22351 * misc.el: Require tabulated-list.el during compilation.
22352
22353 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22354
22355 * progmodes/compile.el (compilation-start):
22356 Run compilation-filter-hook for the async case too.
22357 (compilation-filter-hook): Doc fix.
22358
22359 2011-05-09 Deniz Dogan <deniz@dogan.se>
22360
22361 * wdired.el: Remove outdated installation comment. Fix usage
22362 comment.
22363
22364 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
22365
22366 * misc.el: Implement new command `list-dynamic-libraries'.
22367 (list-dynamic-libraries--loaded-only-p): New variable.
22368 (list-dynamic-libraries--refresh): New function.
22369 (list-dynamic-libraries): New command.
22370
22371 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
22372
22373 * progmodes/compile.el (compilation-error-regexp-alist-alist):
22374 Fix the ant regexp to handle end-line and end-column info from jikes.
22375 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
22376 higher priority to avoid clobbering by gnu.
22377
22378 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22379
22380 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
22381 if the face has existing theme settings (Bug#8454).
22382
22383 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
22384
22385 * progmodes/perl-mode.el (perl-imenu-generic-expression):
22386 Only match variables declared via `my' or `our' (Bug#8261).
22387
22388 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
22389 special file names `.' and `..' (Bug#8259).
22390
22391 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
22392
22393 * progmodes/grep.el (grep-mode-font-lock-keywords):
22394 Remove buffer-changing entries.
22395 (grep-filter): New function.
22396 (grep-mode): Add it to compilation-filter-hook.
22397
22398 * progmodes/compile.el (compilation-filter-hook)
22399 (compilation-filter-start): New defvars.
22400 (compilation-filter): Call compilation-filter-hook prior to
22401 updating the process mark.
22402
22403 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
22404
22405 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
22406
22407 2011-05-07 Eli Zaretskii <eliz@gnu.org>
22408
22409 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
22410 mailclient-send-it even if window-system is nil. (Bug#8595)
22411
22412 * term/w32console.el (terminal-init-w32console):
22413 Call get-screen-color and use its output to set the frame
22414 background-mode. (Bug#8597)
22415
22416 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
22417
22418 Make bytecomp.el understand that defmethod defines funs (bug#8631).
22419 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
22420 New functions.
22421 (defgeneric, eieio--defmethod): Use them.
22422 (eieio-defgeneric): Remove.
22423 (defmethod): Call defgeneric in a way visible to the byte-compiler.
22424
22425 2011-05-07 Glenn Morris <rgm@gnu.org>
22426
22427 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
22428 Use let rather than let*.
22429 (timeclock-find-discrep): Remove unused local.
22430
22431 * calendar/diary-lib.el (diary-comment-start): Doc fix.
22432
22433 * calendar/appt.el (appt-time-msg-list): Doc fix.
22434
22435 2011-05-06 Noah Friedman <friedman@splode.com>
22436
22437 * apropos.el (apropos-print-doc): Only use
22438 emacs-lisp-docstring-fill-column when it is bound to an integer,
22439 per that variable's documentation.
22440
22441 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
22442
22443 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
22444 and warnings are not silently discarded (e.g. use -d instead of -P).
22445
22446 2011-05-06 Glenn Morris <rgm@gnu.org>
22447
22448 * calendar/appt.el (appt-message-warning-time): Doc fix.
22449 (appt-warning-time-regexp): New option.
22450 (appt-make-list): Respect appt-message-warning-time.
22451
22452 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
22453 New options.
22454 (diary-add-to-list): Strip comments from the displayed string.
22455 (diary-mode): Set comment-start and comment-end.
22456
22457 * vc/diff-mode.el (smerge-refine-subst): Declare.
22458 (diff-refine-hunk): Don't require smerge-mode when compiling.
22459
22460 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
22461
22462 * simple.el (list-processes): Return nil as the docstring says.
22463
22464 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22465
22466 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
22467 to "".
22468 (ange-ftp-write-region, ange-ftp-insert-file-contents)
22469 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
22470 determining of binary transfer. (Bug#7383)
22471
22472 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
22473
22474 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22475 Fix port computation bug. (Bug#8618)
22476
22477 2011-05-05 Glenn Morris <rgm@gnu.org>
22478
22479 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
22480
22481 * simple.el (shell-dynamic-complete-functions)
22482 (comint-dynamic-complete-functions): Declare.
22483
22484 * net/network-stream.el (gnutls-negotiate):
22485 * simple.el (tabulated-list-print): Fix declarations.
22486
22487 * progmodes/gud.el (syntax-symbol, syntax-point):
22488 Remove unnecessary and incorrect declarations.
22489
22490 * emacs-lisp/check-declare.el (check-declare-scan):
22491 Handle byte-compile-initial-macro-environment in bytecomp.el.
22492
22493 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
22494
22495 Fix earlier half-done eieio-defmethod change (bug#8338).
22496 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
22497 Streamline and change calling convention.
22498 (defmethod): Adjust accordingly and simplify.
22499 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
22500 new eieio--defmethod.
22501 (slot-boundp): Minor CSE simplification.
22502
22503 2011-05-05 Milan Zamazal <pdm@zamazal.org>
22504
22505 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
22506 (glasses-make-readable): Use glasses-separate-capital-groups.
22507
22508 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
22509
22510 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
22511 (warning-series): Doc fix.
22512 (display-warning): Don't try to create the buffer if we just found it.
22513
22514 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
22515
22516 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
22517 (autoload-find-generated-file): New function.
22518 (generate-file-autoloads): Bind generated-autoload-file to
22519 buffer-file-name.
22520 (update-file-autoloads, update-directory-autoloads):
22521 Use autoload-find-generated-file. If called interactively, prompt for
22522 output file (Bug#7989).
22523 (batch-update-autoloads): Doc fix.
22524
22525 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
22526
22527 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
22528
22529 2011-05-04 Glenn Morris <rgm@gnu.org>
22530
22531 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
22532 function, so it follows changes in calendar-date-style.
22533 (diary-fancy-date-matcher): New function.
22534 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
22535 (diary-fancy-font-lock-fontify-region-function):
22536 Use diary-fancy-date-pattern as a function.
22537
22538 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
22539 non-numbers for `year' etc pseudo-variables. (Bug#8583)
22540
22541 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
22542
22543 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
22544 instead of positional arguments. Allow :keylist and :crlfiles
22545 arguments.
22546 (open-gnutls-stream): Call it.
22547
22548 * net/network-stream.el (network-stream-open-starttls): Adjust to
22549 call `gnutls-negotiate' with :process and :hostname arguments.
22550
22551 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
22552
22553 * minibuffer.el (completion--message): New function.
22554 (completion--do-completion, minibuffer-complete)
22555 (minibuffer-force-complete, minibuffer-complete-word): Use it.
22556 (completion--do-completion): Don't ignore completion-auto-help when in
22557 icomplete-mode.
22558
22559 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
22560 internal encoding (e.g. tibetan zero is not whitespace).
22561 (global-whitespace-mode): Prefer save-current-buffer.
22562 (whitespace-trailing-regexp): Remove useless save-match-data.
22563 (whitespace-empty-at-bob-regexp): Minor simplification.
22564
22565 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
22566
22567 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
22568
22569 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
22570
22571 * textmodes/ispell.el (ispell-add-per-file-word-list):
22572 Use `concat' to create string for insertion.
22573
22574 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22575
22576 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
22577 Avoid open-line which runs post-self-insert-hook.
22578 (bibtex-fill-entry): Remove unused `end' var.
22579
22580 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
22581
22582 * textmodes/ispell.el (ispell-add-per-file-word-list):
22583 Protect against `nil' value of `comment-start' (Bug#8579).
22584
22585 2011-05-03 Leo Liu <sdl.web@gmail.com>
22586
22587 * isearch.el (isearch-yank-pop): New command.
22588 (isearch-mode-map): Bind it to `M-y'.
22589 (isearch-forward): Mention it.
22590
22591 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
22592
22593 * simple.el (minibuffer-complete-shell-command): Remove.
22594 (minibuffer-local-shell-command-map): Use completion-at-point.
22595 (read-shell-command): Setup completion vars here instead.
22596 (read-expression-map): Bind TAB to symbol completion.
22597
22598 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
22599 error directly rather via storing it into `results'.
22600
22601 2011-05-02 Leo Liu <sdl.web@gmail.com>
22602
22603 * vc/diff.el: Fix description.
22604
22605 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
22606
22607 * server.el (server-eval-at): New function.
22608
22609 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
22610
22611 * net/network-stream.el (open-network-stream): Take a :nowait
22612 parameter and pass it on to `make-network-process'.
22613 (network-stream-open-plain): Ditto.
22614
22615 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
22616
22617 * faces.el (face-spec-set-match-display): Don't match toolkit
22618 options on terminal frames.
22619
22620 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
22621
22622 * progmodes/pascal.el: Use lexical binding.
22623 (pascal-mode-map): Remove author preferences.
22624
22625 * pcomplete.el (pcomplete-std-complete): Don't abuse
22626 completion-at-point.
22627
22628 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22629
22630 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
22631 removing code that has been dead since 1991 or so.
22632
22633 * startup.el (command-line): When warning about "_emacs", use a
22634 delayed warning to allow the user to filter it out.
22635
22636 2011-04-28 Deniz Dogan <deniz@dogan.se>
22637
22638 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
22639 user has not joined.
22640
22641 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22642
22643 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
22644 aren't any completions at point.
22645
22646 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
22647
22648 * subr.el (display-delayed-warnings): New function.
22649 (delayed-warnings-hook): New variable.
22650
22651 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
22652
22653 * minibuffer.el (completion-at-point, completion-help-at-point):
22654 Don't presume that a given completion-at-point-function will always
22655 use the same calling convention.
22656
22657 * pcomplete.el (pcomplete-completions-at-point):
22658 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
22659 pcomplete-seen is non-nil.
22660 (pcomplete-comint-setup): Also recognize the new comint/shell
22661 completion functions.
22662 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
22663 pcomplete-seen is non-nil.
22664
22665 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
22666
22667 * calendar/icalendar.el (diary-lib): Add require statement.
22668 (icalendar--create-uid): Read out a uid from a text-property on
22669 the first character in the entry. This allows for code to add its
22670 own uid to the entry.
22671 (icalendar--convert-float-to-ical): Add export of
22672 `diary-float'-entries save for those with the optional DAY
22673 argument.
22674
22675 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
22676
22677 * subr.el (shell-quote-argument): Use alternate escaping strategy
22678 when we spot a variable reference in a string.
22679
22680 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22681
22682 * cus-start.el (all): Define customization for debug-on-event.
22683
22684 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
22685
22686 * subr.el (shell-quote-argument): Escape correctly under Windows.
22687
22688 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22689
22690 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
22691
22692 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
22693
22694 * net/tramp.el (tramp-process-actions): Add POS argument.
22695 Delete region between POS and (pos).
22696
22697 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22698 Use `nil' position in `tramp-process-actions' call.
22699 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
22700
22701 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
22702 position in `tramp-process-actions' call.
22703
22704 * net/trampver.el: Update release number.
22705
22706 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
22707
22708 * custom.el (defcustom): Obey lexical-binding.
22709
22710 Fix octave-inf completion problems reported by Alexander Klimov.
22711 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
22712 Inherit from octave-mode-syntax-table.
22713 (inferior-octave-mode): Set info-lookup-mode.
22714 (inferior-octave-completion-at-point): New function.
22715 (inferior-octave-complete): Use it and completion-in-region.
22716 (inferior-octave-dynamic-complete-functions): Use it as well, and use
22717 comint-filename-completion.
22718 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
22719 symbol elements which shouldn't be word elements.
22720 (octave-font-lock-keywords, octave-beginning-of-defun)
22721 (octave-function-header-regexp): Adjust regexps accordingly.
22722 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
22723
22724 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
22725
22726 * net/gnutls.el (gnutls-errorp): Declare before first use.
22727
22728 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
22729
22730 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
22731 verify-error, and verify-hostname-error parameters. Check whether
22732 default trustfile exists before going to use it. Add missing
22733 argument to gnutls-message-maybe call. Return value.
22734 Reported by Claudio Bley <claudio.bley@gmail.com>.
22735 (open-gnutls-stream): Add usage example.
22736
22737 * net/network-stream.el (network-stream-open-starttls): Give host
22738 parameter to `gnutls-negotiate'.
22739 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
22740 * subr.el (shell-quote-argument): Escape correctly under Windows.
22741
22742 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
22743
22744 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
22745 Use correct match group (bug#8438).
22746
22747 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22748
22749 * emacs-lisp/package.el (package-built-in-p): Fix typo.
22750 (package-menu--generate): New arg specifying packages to show.
22751 (package-menu-refresh, package-menu-execute, list-packages):
22752 Callers changed.
22753 (package-show-package-list): New function, replacing deleted
22754 package--list-packages (renamed because it is non-internal).
22755
22756 * finder.el (finder-list-matches): Use package-show-package-list
22757 instead of deleted package--list-packages.
22758
22759 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
22760 Based on a previous implementation by Juanma Barranquero (Bug#8366).
22761 (vc-annotate-mode-map): Bind it to RET.
22762
22763 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
22764
22765 * progmodes/etags.el (next-file): Don't use set-buffer to change
22766 buffers (Bug#8478).
22767
22768 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
22769
22770 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
22771
22772 * apropos.el (apropos-label-face): Avoid variable-pitch face.
22773 (apropos-accumulator): Doc fix.
22774 (apropos-function, apropos-macro, apropos-command)
22775 (apropos-variable, apropos-face, apropos-group, apropos-widget)
22776 (apropos-plist): Add face property.
22777 (apropos-symbols-internal): Fix indentation.
22778 (apropos-print): Simplify help, and recognize apropos-multi-type.
22779 (apropos-print-doc): Use button-type-get to extract the button's
22780 face property. Fill docstring (Bug#8352).
22781
22782 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
22783
22784 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
22785
22786 * play/mpuz.el (mpuz-silent): Doc fix.
22787 (mpuz-mode-map): Use mapc.
22788 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
22789 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
22790 Fix typos in docstrings.
22791
22792 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
22793 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
22794
22795 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
22796
22797 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
22798
22799 * minibuffer.el (completion--do-completion): Avoid the "Next char
22800 not unique" prompt if icomplete-mode is enabled (Bug#5849).
22801
22802 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
22803 mouse-2 into unread-command-events, it is interpreted correctly.
22804
22805 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
22806 (image-toggle-display): Doc fix.
22807
22808 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
22809
22810 * textmodes/page.el (what-page): Use line-number-at-pos to
22811 calculate line number (Bug#6825).
22812
22813 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22814
22815 * eshell/esh-mode.el (find-tag-interactive): Declare function.
22816 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
22817 Pass argument NO-DEFAULT to `find-tag-interactive'.
22818
22819 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
22820
22821 Lexical-binding cleanup.
22822
22823 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
22824 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
22825 * progmodes/ada-prj.el (ada-prj-initialize-values)
22826 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
22827 (ada-prj-show-value):
22828 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
22829 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
22830 (antlr-invalidate-context-cache, antlr-options-menu-filter)
22831 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
22832 * progmodes/bug-reference.el (bug-reference-push-button):
22833 * progmodes/fortran.el (fortran-line-length):
22834 * progmodes/glasses.el (glasses-change):
22835 * progmodes/octave-mod.el (octave-fill-paragraph):
22836 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
22837 (python-pdbtrack-grub-for-buffer, python-sentinel):
22838 * progmodes/sql.el (sql-save-connection):
22839 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
22840 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
22841 Mark unused parameters.
22842
22843 * progmodes/compile.el (compilation--flush-directory-cache)
22844 (compilation--flush-parse, compile-internal): Mark unused parameters.
22845 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
22846 (compilation-next-error-function): Remove unused variable `timestamp'.
22847
22848 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
22849 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
22850
22851 * progmodes/dcl-mode.el (dcl-end-of-command):
22852 Remove unused variable `start'.
22853 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
22854 (dcl-option-value-basic, dcl-option-value-offset)
22855 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
22856 Mark unused parameters.
22857 (dcl-save-local-variable): Remove unused variable `val'.
22858 (mode): Declare.
22859
22860 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
22861 Mark unused parameters.
22862 (delphi-ignore-changes): Move before first use.
22863 (delphi-charset-token-at): Remove unused variable `start'.
22864 (delphi-else-start): Remove unused variable `if-count'.
22865 (delphi-comment-block-start, delphi-comment-block-end):
22866 Remove unused variable `kind'.
22867 (delphi-indent-line): Remove unused variable `new-point'.
22868
22869 * progmodes/ebrowse.el (ebrowse-files-list)
22870 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
22871 Mark unused parameters. Don't quote `lambda'.
22872 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
22873 Don't quote `lambda'.
22874 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
22875 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
22876 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
22877 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
22878 Use `ignore-errors'.
22879 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
22880 (ebrowse-view/find-file-and-search-pattern)
22881 (ebrowse-view/find-member-declaration/definition):
22882 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
22883 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
22884 Rename parameter PREFIX-ARG to PREFIX.
22885 (ebrowse-tags-read-name): Remove unused variables `start' and
22886 `member-info'.
22887 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
22888 to `tags-file'.
22889
22890 * progmodes/etags.el (local-find-tag-hook): Declare.
22891 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
22892 Mark unused parameters.
22893
22894 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
22895 (executable-interpret): Mark unused parameter.
22896
22897 * progmodes/flymake.el (flymake-process-sentinel)
22898 (flymake-after-change-function)
22899 (flymake-create-temp-with-folder-structure)
22900 (flymake-get-include-dirs-dot): Mark unused parameters.
22901 (flymake-safe-delete-directory): Remove unused variable `err'.
22902
22903 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
22904 (speedbar-timer-fn, speedbar-line-text)
22905 (speedbar-change-expand-button-char, speedbar-delete-subblock)
22906 (speedbar-center-buffer-smartly): Declare functions.
22907 (gdb-find-watch-expression): Remove unused variable `array'.
22908 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
22909 (gdb-starting): Mark unused parameters.
22910 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
22911 (gdb-table-string): Remove unused variable `res'.
22912 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
22913 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
22914 (gdb-display-buffer): Remove unused variable `cur-size'.
22915
22916 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
22917 allow lexical-binding compilation.
22918 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
22919 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
22920 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
22921 Mark unused parameters.
22922 (gud-gdb-marker-filter): Remove unused variable `match'.
22923 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
22924 lambda expressions and funcall them, instead of using `fset'.
22925
22926 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
22927 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
22928
22929 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
22930 variable `header-beg'; use `let'.
22931
22932 * progmodes/icon.el (indent-icon-exp): Remove unused variables
22933 `restart', `last-sexp' and `at-do'.
22934
22935 * progmodes/js.el (js--debug): Mark unused parameter.
22936 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
22937 (js--splice-into-items): Remove unused variable `item'.
22938 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
22939
22940 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
22941 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
22942 (makefile-complete): Remove unused variable `try'.
22943 (makefile-fill-paragraph, makefile-match-function-end):
22944 Mark unused parameters.
22945
22946 * progmodes/octave-inf.el (inferior-octave-complete):
22947 Remove unused variable `proc'.
22948 (inferior-octave-output-digest): Mark unused parameter.
22949
22950 * progmodes/perl-mode.el (perl-calculate-indent):
22951 Remove unused variable `err'.
22952
22953 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
22954 (prolog-indent-line): Mark unused parameters.
22955 (prolog-indent-line): Remove unused variable `beg'.
22956
22957 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
22958 (reporter-dont-compact-list): Declare.
22959
22960 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
22961 Remove unused variable `char'.
22962 (sh-debug): Mark unused parameter.
22963 (sh-get-indent-info): Remove unused variable `start'.
22964 (sh-calculate-indent): Remove unused variable `var'.
22965
22966 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
22967 (simula-electric-keyword): Remove unused variable `null'.
22968 (simula-search-backward, simula-search-forward): Remove unused
22969 variables `begin' and `end'.
22970
22971 * progmodes/vera-mode.el (vera-guess-basic-syntax):
22972 Remove unused variable `pos'.
22973 (vera-electric-tab, vera-comment-uncomment-region):
22974 Mark unused parameters.
22975 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
22976
22977 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
22978
22979 * emacs-lisp/package.el (package--builtins, package-alist)
22980 (package-load-descriptor, package-built-in-p, package-activate)
22981 (define-package, package-installed-p)
22982 (package-compute-transaction, package-buffer-info)
22983 (package--push): Doc fix. Distinguish more clearly between
22984 version strings and version lists.
22985
22986 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
22987
22988 Lexical-binding cleanup.
22989
22990 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
22991 (5x5-make-mutate-best):
22992 * play/fortune.el (fortune-in-buffer):
22993 * play/gomoku.el (gomoku-init-display):
22994 * play/solitaire.el (solitaire, solitaire-do-check):
22995 * play/tetris.el (tetris-default-update-speed-function):
22996 Mark unused parameters.
22997
22998 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
22999 (bubbles--shift): Remove unused variable `char-org'.
23000 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
23001 (bubbles--show-images): Remove unused variable `char'.
23002
23003 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
23004 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
23005 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
23006 (decipher-analyze-buffer): Use ?\s.
23007 (decipher-make-checkpoint): Remove unused variable `mapping'.
23008
23009 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
23010
23011 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
23012 Remove unused variable `result'; use `let'.
23013
23014 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
23015 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
23016 (gametree-children-shown-p, gametree-compute-reduced-score):
23017 Use `ignore-errors'.
23018
23019 * play/handwrite.el (ps-lpr-switches): Declare.
23020 (handwrite): Remove unused variables `pmin' and `lastp'.
23021
23022 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
23023
23024 * play/landmark.el (landmark-init-display)
23025 (landmark-update-naught-weights): Mark unused parameters.
23026 (landmark-y): Remove unused variable `noise'. Simplify.
23027 (landmark-human-plays): Remove unused variable `score'.
23028
23029 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
23030 (mpuz-try-proposal): Remove unused variable `game'.
23031
23032 * play/zone.el (life-patterns): Declare.
23033
23034 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
23035
23036 * vc/vc.el (ediff-vc-internal): Declare function.
23037
23038 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23039
23040 * shell.el: Use lexical-binding and std completion UI.
23041 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
23042 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
23043 comint-preoutput-filter-functions rather than on
23044 comint-output-filter-functions.
23045 (shell-command-completion, shell--command-completion-data)
23046 (shell-filename-completion, shell-environment-variable-completion)
23047 (shell-c-a-p-replace-by-expanded-directory): New functions.
23048 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
23049 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
23050 (shell-dynamic-complete-environment-variable): Use them.
23051 (shell-dynamic-complete-as-environment-variable)
23052 (shell-dynamic-complete-as-command): Remove.
23053 (shell-match-partial-variable): Match past point.
23054 * comint.el: Clean up use of completion-at-point-functions.
23055 (comint-completion-at-point): New function.
23056 (comint-mode): Use it completion-at-point-functions.
23057 (comint-dynamic-complete): Make it obsolete.
23058 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
23059 (comint-c-a-p-replace-by-expanded-history): New function.
23060 (comint-dynamic-complete-functions)
23061 (comint-replace-by-expanded-history): Use it.
23062 * minibuffer.el (completion-table-with-terminator): Allow dynamic
23063 termination strings. Try harder to avoid second try-completion.
23064 (completion-in-region-mode-map): Disable bindings that don't work yet.
23065
23066 * comint.el: Use lexical-binding. Require CL.
23067 (comint-dynamic-complete-functions): Use comint-filename-completion.
23068 (comint-completion-addsuffix): Tweak custom type.
23069 (comint-filename-completion, comint--common-suffix)
23070 (comint--common-quoted-suffix, comint--table-subvert)
23071 (comint--complete-file-name-data): New functions.
23072 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
23073 (comint-dynamic-list-filename-completions): Use them.
23074 (comint-dynamic-simple-complete): Make obsolete.
23075
23076 * minibuffer.el (completion-in-region-mode):
23077 Keep completion-in-region-mode--predicate global.
23078 (completion-in-region--postch):
23079 Assume completion-in-region-mode--predicate is not null.
23080
23081 * progmodes/flymake.el (flymake-start-syntax-check-process):
23082 Obey `dir'. Simplify.
23083
23084 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
23085 we're in VC after all.
23086
23087 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
23088
23089 * vc/vc.el (vc-diff-build-argument-list-internal)
23090 (vc-version-ediff, vc-ediff): New commands.
23091 (vc-version-diff): Use vc-diff-build-argument-list-internal.
23092
23093 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
23094
23095 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
23096 add sanity check.
23097
23098 * obsolete/erc-hecomplete.el: Make obsolete.
23099 * obsolete/: Standardize obsolescence info in the header.
23100
23101 2011-04-20 Glenn Morris <rgm@gnu.org>
23102
23103 * calendar/solar.el (solar-horizontal-coordinates):
23104 Use the longitude argument rather than `calendar-longitude'.
23105 (solar-date-next-longitude): Remove unused locals.
23106
23107 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
23108
23109 * whitespace.el: New version 13.2.1.
23110
23111 2011-04-20 felix <EmacsWiki> (tiny change)
23112
23113 * whitespace.el (global-whitespace-mode): Keep highlight when
23114 switching between major modes on a file.
23115
23116 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
23117
23118 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
23119 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
23120 multi-line comments as well.
23121
23122 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
23123
23124 Lexical-binding cleanup.
23125
23126 * arc-mode.el (archive-mode-revert):
23127 * cmuscheme.el (scheme-interactively-start-process):
23128 * custom.el (custom-initialize-delay):
23129 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
23130 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
23131 * emacs-lock.el (emacs-lock-clear-sentinel):
23132 * ezimage.el (defezimage):
23133 * follow.el (follow-avoid-tail-recenter):
23134 * fringe.el (set-fringe-mode-1):
23135 * generic-x.el (bat-generic-mode-compile):
23136 * help-mode.el (help-info-variable, help-do-xref)
23137 (help-mode-revert-buffer):
23138 * help.el (view-emacs-todo):
23139 * iswitchb.el (iswitchb-completion-help):
23140 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
23141 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
23142 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
23143 * locate.el (locate-update):
23144 * longlines.el (longlines-encode-region)
23145 (longlines-after-change-function):
23146 * outline.el (outline-isearch-open-invisible):
23147 * ps-def.el (declare-function, charset-dimension, char-width)
23148 (encode-char):
23149 * ps-mule.el (ps-mule-plot-string):
23150 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
23151 (recentf-edit-list-select, recentf-edit-list-validate)
23152 (recentf-open-files-action):
23153 * rect.el (delete-whitespace-rectangle-line)
23154 (rectangle-number-line-callback):
23155 * register.el (window-configuration-to-register)
23156 (frame-configuration-to-register):
23157 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
23158 * select.el (xselect-convert-to-string, xselect-convert-to-length)
23159 (xselect-convert-to-targets, xselect-convert-to-delete)
23160 (xselect-convert-to-filename, xselect-convert-to-charpos)
23161 (xselect-convert-to-lineno, xselect-convert-to-colno)
23162 (xselect-convert-to-os, xselect-convert-to-host)
23163 (xselect-convert-to-user, xselect-convert-to-class)
23164 (xselect-convert-to-name, xselect-convert-to-integer)
23165 (xselect-convert-to-atom, xselect-convert-to-identity):
23166 * subr.el (declare, ignore, process-kill-without-query)
23167 (text-clone-maintain):
23168 * terminal.el (te-get-char, te-tic-sentinel):
23169 * tool-bar.el (tool-bar-make-keymap):
23170 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
23171 * type-break.el (type-break-mode, type-break-noninteractive-query):
23172 * view.el (View-back-to-mark):
23173 * wid-browse.el (widget-browse-action, widget-browse-widget)
23174 (widget-browse-widgets, widget-browse-sexp):
23175 * widget.el (define-widget-keywords):
23176 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
23177 Mark unused parameters.
23178
23179 * align.el (align-adjust-col-for-rule): Mark unused parameter.
23180 (align-areas): Remove unused variable `look'.
23181 (align-region): Remove unused variables `real-end' and `pos-list'.
23182
23183 * apropos.el (apropos-score-doc): Remove unused variable `i'.
23184
23185 * bindings.el (mode-line-modified, mode-line-remote):
23186 Mark unused parameters.
23187 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
23188
23189 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
23190 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
23191
23192 * comint.el (comint-history-isearch-pop-state)
23193 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
23194 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
23195 (comint-substitute-in-file-name): Doc fix.
23196
23197 * completion.el (cmpl-statistics-block): Mark unused parameter.
23198 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
23199 (save-completions-to-file, load-completions-from-file):
23200 Remove unused local variable `e'.
23201
23202 * composite.el (compose-chars): Remove unused variable `len'.
23203 (lgstring-insert-glyph): Remove unused variable `g'.
23204 (compose-glyph-string): Remove unused variables `ascent',
23205 `descent', `lbearing' and `rbearing'.
23206 (compose-glyph-string-relative): Remove unused variables
23207 `lbearing', `rbearing' and `wadjust'.
23208 (compose-gstring-for-graphic): Remove unused variables `header',
23209 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
23210 (compose-gstring-for-terminal): Remove unused variables `header'
23211 and `nchars'. Use `let', not `let*'.
23212
23213 * cus-edit.el (Custom-set, Custom-save, custom-reset)
23214 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
23215 (Custom-buffer-done, custom-buffer-create-internal)
23216 (custom-browse-visibility-action, custom-browse-group-tag-action)
23217 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
23218 (widget-magic-mouse-down-action, custom-toggle-parent)
23219 (custom-add-parent-links, custom-toggle-hide-variable)
23220 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
23221 (custom-toggle-hide-face, face, hook, custom-group-link-action)
23222 (custom-face-menu-create, custom-variable-menu-create, get)
23223 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
23224 (custom-reset-standard-save-and-update): Remove unused variable `value'.
23225 (customize-apropos): Remove unused variable `tests'.
23226 (custom-group-value-create): Remove unused variable `hidden-p'.
23227 (sort-fold-case): Declare.
23228
23229 * cus-theme.el (custom-reset-standard-faces-list)
23230 (custom-reset-standard-variables-list): Declare.
23231 (customize-create-theme, custom-theme-revert, custom-theme-write)
23232 (custom-theme-choose-mode, customize-themes, custom-theme-save):
23233 Mark unused parameters.
23234
23235 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
23236
23237 * delim-col.el (delimit-columns-max): Move defvar before first use.
23238
23239 * descr-text.el (describe-char-categories): Don't quote `lambda'.
23240 (describe-char): Don't quote `lambda'. Mark unused parameter.
23241
23242 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
23243 (auto-insert): Declare.
23244 (desktop-restore-file-buffer): Rename desktop-* parameters;
23245 mark unused ones.
23246 (desktop-create-buffer): Rename desktop-* parameters and bind them.
23247 (desktop-buffer): Rename desktop-* parameters.
23248
23249 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
23250 (dframe-reposition-frame-xemacs, dframe-help-echo)
23251 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
23252 Mark unused parameters.
23253
23254 * dired-aux.el (backup-extract-version-start, overwrite-query)
23255 (overwrite-backup-query, rename-regexp-query)
23256 (rename-non-directory-query): Declare.
23257 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
23258 (dired-add-entry): Remove unused variable `orig-file-name'.
23259 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
23260 Use parameter PRESERVE-TIME instead of accessing dynamic variable
23261 `dired-copy-preserve-time' directly.
23262 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
23263 (dired-insert-subdir-newpos): Rename unused variable `pos'.
23264
23265 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
23266 (dired-virtual-revert, dired-make-relative-symlink):
23267 Mark unused parameters.
23268 (manual-program): Declare.
23269 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
23270 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
23271 wrapped in `with-no-warnings' to avoid replacing one warning by another.
23272
23273 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
23274
23275 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
23276
23277 * echistory.el (electric-history-in-progress, Helper-return-blurb):
23278 Declare.
23279
23280 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
23281
23282 * electric.el (Electric-command-loop): Rename parameter
23283 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
23284
23285 * expand.el (expand-in-literal): Remove unused variable `here'.
23286
23287 * facemenu.el (facemenu-add-new-color):
23288 Remove unused variable `docstring'.
23289
23290 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
23291 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
23292 (face-attr-construct): Mark unused parameter. Doc fix.
23293 (read-color): Remove unused variable `hex-string'.
23294
23295 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
23296 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
23297 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
23298 (display-buffer-other-frame): Remove unused variable `old-window'.
23299 (kill-buffer-hook): Declare.
23300 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
23301 Mark unused parameters.
23302 (after-find-file): Pass 1 to `auto-save-mode', not t.
23303
23304 * files-x.el (auto-insert): Declare.
23305 (modify-file-local-variable-prop-line): Remove unused variable `val'.
23306
23307 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
23308 variable `buf'. Mark unused parameter.
23309 (find-lisp-insert-directory): Mark unused parameter.
23310
23311 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
23312 (format-encode-region): Remove unused variables `cur-buf' and `result'.
23313 (format-common-tail): Remove, unused.
23314 (format-deannotate-region): Remove unused variable `loc'.
23315 (format-annotate-region): Remove unused variable `p'.
23316 (format-annotate-single-property-change): Remove unused variables
23317 `default' and `tail'.
23318
23319 * forms.el (read-file-filter): Declare.
23320 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
23321
23322 * frame.el (frame-creation-function-alist): Mark unused parameter.
23323 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
23324
23325 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
23326 Remove unused parameters.
23327 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
23328 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
23329
23330 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
23331 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
23332 (hfy-prepare-tag-map): Mark unused parameters.
23333 (htmlfontify-buffer): Use `called-interactively-p'.
23334
23335 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
23336 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
23337 (ibuffer-do-occur): Mark unused parameters.
23338 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
23339 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
23340
23341 * ibuffer.el: Don't quote `lambda'.
23342 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
23343 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
23344 Mark unused parameters.
23345
23346 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
23347 (ido-completing-read): Mark unused parameters.
23348 (ido-copy-current-word): Mark unused parameters;
23349 remove unused variable `name'.
23350 (ido-sort-merged-list): Remove unused parameter `dirs'.
23351
23352 * ielm.el (ielm-input-sender): Mark unused parameter.
23353 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
23354 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
23355 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
23356 `ielm-string' as a dynamic variable accessible from the IELM prompt.
23357 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
23358
23359 * image-dired.el (image-dired-display-thumbs): Remove unused
23360 variables `curr-file' and `count'.
23361 (image-dired-remove-tag): Remove unused variable `start'.
23362 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
23363 variable `curr-file'
23364 (image-dired-rotate-original): Remove unused variable `temp-file'.
23365 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
23366 Remove unused variable `file'.
23367 (image-dired-gallery-generate): Remove unused variable `curr'.
23368 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
23369
23370 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
23371
23372 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
23373
23374 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
23375
23376 * isearch.el (minibuffer-history-symbol): Declare.
23377 (isearch-edit-string): Remove unused variable `err'.
23378 (isearch-message-prefix, isearch-message-suffix):
23379 Mark unused parameters.
23380
23381 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
23382
23383 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
23384
23385 * makesum.el (double-column): Remove unused variable `cnt'.
23386
23387 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
23388 (ido-ignore-item-temp-list): Declare.
23389
23390 * mouse-drag.el (mouse-drag-throw): Remove unused variables
23391 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
23392 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
23393 (mouse-drag-drag): Remove unused variables `mouse-delta' and
23394 `mouse-col-delta'.
23395
23396 * mouse-sel.el (mouse-extend-internal):
23397 Remove unused variable `orig-window-frame'.
23398
23399 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
23400 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
23401 Move declarations before first use.
23402 (pcomplete-opt): Mark unused parameters; doc fix.
23403
23404 * proced.el (proced-revert): Mark unused parameter.
23405 (proced-send-signal): Remove unused variable `err'.
23406
23407 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
23408 Rename parameter PREFIX-ARG to ARG.
23409 (ps-basic-plot-string, ps-basic-plot-whitespace):
23410 Mark unused parameters.
23411
23412 * replace.el (replace-count): Define.
23413 (occur-revert-function): Mark unused parameters.
23414 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
23415 (isearch-case-fold-search, isearch-string): Declare.
23416 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
23417 bind `case-fold-search'. Remove unused variables `beg' and `end',
23418 and simplify.
23419 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
23420 COUNT and bind `replace-count'.
23421 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
23422 to COUNT.
23423
23424 * savehist.el (print-readably, print-string-length): Declare.
23425
23426 * shadowfile.el (shadow-expand-cluster-in-file-name):
23427 Remove unused variable `cluster'.
23428 (shadow-copy-file): Remove unused variable `i'.
23429 (shadow-noquery, shadow-clusters, shadow-site-cluster)
23430 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
23431 (shadow-define-literal-group, shadow-define-regexp-group)
23432 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
23433
23434 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
23435 (shell): Use `called-interactively-p'.
23436 (shell-directory-tracker): Remove unused variable `chdir-failure'.
23437
23438 * simple.el (compilation-context-lines, comint-file-name-quote-list)
23439 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
23440 (delete-backward-char): Remove unused variable `ocol'.
23441 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
23442 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
23443 (event-apply-hyper-modifier, event-apply-shift-modifier)
23444 (event-apply-control-modifier, event-apply-meta-modifier):
23445 Mark unused parameters.
23446 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
23447 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
23448
23449 * speedbar.el (speedbar-ignored-directory-expressions)
23450 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
23451 (speedbar-find-file, speedbar-dir-follow)
23452 (speedbar-directory-buttons-follow, speedbar-tag-find)
23453 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
23454 (speedbar-buffers-line-directory, speedbar-buffer-click):
23455 Mark unused parameters.
23456 (speedbar-tag-file): Remove unused variable `mode'.
23457 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
23458
23459 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
23460
23461 * talk.el (talk): Remove unused variable `display'.
23462
23463 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
23464 (tar-write-region-annotate): Mark unused parameter.
23465
23466 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
23467 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
23468 Declare them, wrapped in `with-no-warnings' to avoid replacing one
23469 warning by another.
23470
23471 * time-stamp.el (time-stamp-string-preprocess):
23472 Remove unused variable `require-padding'.
23473
23474 * tree-widget.el (widget-glyph-enable): Declare.
23475 (tree-widget-action): Mark unused parameter.
23476
23477 * w32-fns.el (x-get-selection): Mark unused parameter.
23478 (autoload-make-program, generated-autoload-file): Declare.
23479
23480 * wdired.el (wdired-revert): Mark unused parameters.
23481 (wdired-xcase-word): Remove unused variable `err'.
23482
23483 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
23484 (whitespace-help-scroll): Remove unused variable `data-help'.
23485
23486 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
23487 (widget-image-insert, widget-after-change, default)
23488 (widget-default-format-handler, widget-default-notify)
23489 (widget-default-prompt-value, widget-info-link-action)
23490 (widget-url-link-action, widget-function-link-action)
23491 (widget-variable-link-action, widget-file-link-action)
23492 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
23493 (widget-field-prompt-internal, widget-field-action, widget-field-match)
23494 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
23495 (widget-insert-button-action, widget-delete-button-action, visibility)
23496 (widget-documentation-link-action, widget-documentation-string-action)
23497 (widget-const-prompt-value, widget-regexp-match, symbol)
23498 (widget-coding-system-prompt-value)
23499 (widget-key-sequence-value-to-external, sexp)
23500 (widget-sexp-value-to-internal, character, vector, cons)
23501 (widget-choice-prompt-value, widget-boolean-prompt-value)
23502 (widget-color--choose-action): Mark unused parameters.
23503 (widget-item-match-inline, widget-choice-match-inline)
23504 (widget-checklist-match, widget-checklist-match-inline)
23505 (widget-group-match): Rename parameter VALUES to VALS.
23506 (widget-field-value-set): Remove unused variable `size'.
23507 (widget-color-action): Remove unused variables `value' and `start'.
23508
23509 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
23510 variable `dir'. Doc fix.
23511 (windmove-find-other-window): Don't pass it.
23512
23513 * window.el (count-windows): Mark unused parameter.
23514 (bw-adjust-window): Remove unused variable `err'.
23515
23516 * woman.el (woman-file-name): Remove unused variable `default'.
23517 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
23518 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
23519 (global-font-lock-mode): Declare.
23520 (woman-decode-region): Mark unused parameter.
23521 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
23522
23523 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
23524 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
23525 (x-dnd-handle-moz-url): Remove unused variable `title'.
23526 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
23527
23528 * xml.el (xml-parse-tag, xml-parse-attlist):
23529 Remove unused variable `pos'.
23530
23531 2011-04-19 Glenn Morris <rgm@gnu.org>
23532
23533 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
23534 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
23535 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
23536 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
23537 * calendar/cal-html.el (cal-html-insert-minical):
23538 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
23539 (calendar-mark-date-pattern):
23540 Prefix "unused" locals.
23541
23542 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
23543 optional argument `style'.
23544
23545 * calendar/appt.el (appt-make-list):
23546 * calendar/cal-china.el (calendar-chinese-date-string):
23547 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
23548 (diary-hebrew-yahrzeit):
23549 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
23550 * calendar/calendar.el (calendar-generate-window):
23551 * calendar/time-date.el (time-to-days):
23552 Remove unused local variables.
23553
23554 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
23555
23556 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
23557 glyphless-char-display table.
23558 (tabulated-list-glyphless-char-display): New var.
23559
23560 2011-04-18 Sam Steingold <sds@gnu.org>
23561
23562 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
23563 to acknowledgments.
23564
23565 2011-04-17 Glenn Morris <rgm@gnu.org>
23566
23567 * calendar/diary-lib.el (diary-sexp-entry):
23568 * calendar/holidays.el (holiday-sexp):
23569 Set debug-on-error rather than the removed stack-trace-on-error.
23570
23571 2011-04-16 Glenn Morris <rgm@gnu.org>
23572
23573 * progmodes/f90.el: Use lexical-binding.
23574 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
23575
23576 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23577
23578 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
23579 (mail-mode): Setup mailalias completion here instead.
23580 * mail/mailalias.el: Use lexical-binding.
23581 (pattern, mailalias-done): Declare dynamic.
23582 (mail-completion-at-point-function): New function, from mail-complete.
23583 (mail-complete): Use it.
23584 (mail-completion-expand): New function.
23585 (mail-get-names): Use it.
23586 (mail-directory, mail-directory-process, mail-directory-stream):
23587 Don't use `pattern' for lexically bound arg.
23588
23589 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
23590
23591 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
23592 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
23593 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
23594
23595 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
23596 (byte-save-window-excursion, byte-temp-output-buffer-setup)
23597 (byte-interactive-p): Define them again, for use when inlining
23598 old code.
23599
23600 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
23601
23602 * loadup.el: Use `string-to-number', not `string-to-int'.
23603
23604 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
23605
23606 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
23607 gud-gdb-complete-command.
23608 (gud-gdb-completions): New function, from gud-gdb-complete-command.
23609 (gud-gdb-completion-at-point): New function.
23610 (gud-gdb-completions): Remove.
23611
23612 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
23613
23614 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
23615 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
23616 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
23617 whether `executable-find' is bound.
23618
23619 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
23620
23621 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
23622
23623 * minibuffer.el (completion-in-region-mode-predicate)
23624 (completion-in-region-mode--predicate): New vars.
23625 (completion-in-region, completion-in-region--postch)
23626 (completion-in-region-mode): Use them.
23627 (completion--capf-wrapper): Also return the hook function.
23628 (completion-at-point, completion-help-at-point):
23629 Adjust and provide a predicate.
23630
23631 Preserve arg names for advice of subr and lexical functions (bug#8457).
23632 * help-fns.el (help-function-arglist): Consolidate the subr and
23633 new-byte-code cases. Add argument `preserve-names' to extract names
23634 from the docstring when needed.
23635 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
23636 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
23637 (ad-arglist): Use help-function-arglist's new arg.
23638 (ad-definition-type): Use cond.
23639
23640 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
23641
23642 * autorevert.el (auto-revert-handler):
23643 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
23644 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
23645 Don't quote lambda.
23646
23647 * image-mode.el (image-transform-set-scale):
23648 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
23649
23650 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
23651
23652 * net/network-stream.el (network-stream-open-starttls): Only do
23653 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
23654 Upgrades via gnutls-cli are too slow to be done opportunistically.
23655
23656 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
23657
23658 * dframe.el (dframe-current-frame): Remove spurious quote.
23659
23660 2011-04-12 Glenn Morris <rgm@gnu.org>
23661
23662 * calendar/cal-tex.el (cal-tex-end-document):
23663 Try to automatically use latin1 input if needed.
23664
23665 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
23666 Don't try to cons a mark onto an empty element.
23667
23668 2011-04-11 Leo Liu <sdl.web@gmail.com>
23669
23670 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
23671 buffers.
23672 (ido-kill-buffer-at-head): Support killing virtual buffers.
23673
23674 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
23675
23676 * minibuffer.el (completion-show-inline-help): New var.
23677 (completion--do-completion, minibuffer-complete)
23678 (minibuffer-force-complete, minibuffer-complete-word):
23679 Inhibit minibuffer messages if completion-show-inline-help is nil.
23680
23681 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
23682 to avoid interference from inline help (Bug#5849).
23683
23684 2011-04-10 Leo Liu <sdl.web@gmail.com>
23685
23686 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
23687 Fix typo.
23688
23689 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
23690
23691 * image-mode.el (image-toggle-display-image): Signal an error if
23692 not in Image mode.
23693 (image-transform-mode, image-transform-resize)
23694 (image-transform-set-rotation): Doc fix.
23695 (image-transform-set-resize): Delete.
23696 (image-transform-set-scale, image-transform-fit-to-height)
23697 (image-transform-fit-to-width): Handle image-toggle-display-image
23698 and image-transform-resize directly.
23699
23700 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
23701
23702 * doc-view.el (doc-view-fit-width-to-window)
23703 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
23704 New functions for fitting the shown image to the Emacs window size.
23705 (doc-view-mode-map): Add bindings for the new functions.
23706
23707 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
23708
23709 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
23710 Fix typo in docstring.
23711
23712 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23713
23714 * files.el (file-size-human-readable): Produce one digit after
23715 decimal, like "ls -lh" does.
23716
23717 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
23718 the file size representation.
23719
23720 * simple.el (list-processes): If async subprocesses are not
23721 available, error out with a clear error message.
23722
23723 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
23724
23725 * help.el (help-form-show): New function, to be called from C.
23726 Put help-form output in a buffer named differently than *Help*.
23727
23728 2011-04-08 Eli Zaretskii <eliz@gnu.org>
23729
23730 * files.el (file-size-human-readable): New function.
23731
23732 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
23733 computing the representation inline. Don't require `cl'.
23734
23735 2011-04-08 Glenn Morris <rgm@gnu.org>
23736
23737 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
23738
23739 * net/browse-url.el (browse-url-firefox):
23740 Test system-type, not system-configuration.
23741
23742 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
23743 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
23744 Use log-edit-empty-buffer-p. (Bug#7598)
23745
23746 * net/rlogin.el (rlogin-process-connection-type): Simplify.
23747 (rlogin-mode-map): Initialize in the defvar.
23748 (rlogin): Use ignore-errors.
23749
23750 * replace.el (occur-mode-map): Some fixes for menu items.
23751
23752 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
23753
23754 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
23755
23756 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23757
23758 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
23759 issuing unused warnings.
23760
23761 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
23762 macro directly.
23763
23764 * simple.el: Lisp reimplement of list-processes. Based on an
23765 earlier reimplementation by Leo Liu, but using tabulated-list.el.
23766 (process-menu-mode): New major mode.
23767 (list-processes--refresh, list-processes):
23768 (process-menu-visit-buffer): New functions.
23769
23770 * files.el (save-buffers-kill-emacs): Don't assume any return
23771 value of list-processes, which is undocumented anyway.
23772
23773 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
23774
23775 * emacs-lisp/tabulated-list.el: New file.
23776
23777 * emacs-lisp/package.el: Use Tabulated List mode.
23778 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
23779 (package-menu-mode): Derive from tabulated-list-mode. Set up the
23780 table format using Tabulated List mode variables.
23781 (package--push): New macro, replacing package-list-maybe-add.
23782 (package-menu--generate): Use package--push. Renamed from
23783 package--generate-package-list.
23784 (package-menu-refresh, list-packages): Use it.
23785 (package-menu--print-info): Rename from package-print-package.
23786 Return insertion data instead of inserting it directly.
23787 (package-menu-describe-package, package-menu-execute):
23788 Use tabulated-list-get-id.
23789 (package-menu-mark-delete, package-menu-mark-install)
23790 (package-menu-mark-unmark, package-menu-backup-unmark)
23791 (package-menu-mark-obsolete-for-deletion):
23792 Use tabulated-list-put-tag.
23793 (package--list-packages, package-menu-revert)
23794 (package-menu-get-package, package-menu-get-version)
23795 (package-menu-sort-by-column): Functions deleted.
23796 (package-menu-package-list, package-menu-sort-key): Vars deleted.
23797 (package-menu--status-predicate, package-menu--version-predicate)
23798 (package-menu--name-predicate)
23799 (package-menu--description-predicate): Handle arguments in the
23800 Tabulated List format.
23801 (package-list-packages-no-fetch): Call list-packages.
23802
23803 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
23804
23805 * files.el (after-find-file-from-revert-buffer): Remove variable.
23806 (after-find-file): Don't bind it.
23807 (revert-buffer-in-progress-p): New variable.
23808 (revert-buffer): Bind it.
23809 Pass nil for `after-find-file-from-revert-buffer'.
23810
23811 * saveplace.el (save-place-find-file-hook): Use new variable
23812 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
23813
23814 2011-04-06 Glenn Morris <rgm@gnu.org>
23815
23816 * Makefile.in (AUTOGEN_VCS): New variable.
23817 (autoloads): Use $AUTOGEN_VCS.
23818
23819 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
23820 * calendar/calendar.el (calendar-mode-map):
23821 Check for toolkit scroll bars. (Bug#8305)
23822
23823 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23824
23825 * minibuffer.el (completion-in-region--postch)
23826 (completion-in-region-mode): Remove unnecessary messages.
23827
23828 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
23829
23830 * font-lock.el (font-lock-refresh-defaults):
23831 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
23832 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
23833
23834 * info.el (Info-directory-list, Info-read-node-name-2)
23835 (Info-split-parameter-string): Doc fixes.
23836 (Info-virtual-nodes): Reflow docstring.
23837 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
23838 (Info-apropos-toc-nodes, info-finder, Info-get-token)
23839 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
23840 Fix typos in docstrings.
23841 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
23842 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
23843 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
23844 (Info-restore-desktop-buffer): Mark unused parameters.
23845 (Info-directory-find-file, Info-directory-find-node)
23846 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
23847 (Info-virtual-index-find-node, Info-apropos-find-file)
23848 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
23849 Mark unused parameters; fix typos in docstrings.
23850 (Info-virtual-index): Remove unused local variable `nodename'.
23851
23852 2011-04-05 Deniz Dogan <deniz@dogan.se>
23853
23854 * net/rcirc.el: Update my e-mail address.
23855 (rcirc-mode-map): Remove M-o binding.
23856
23857 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
23858
23859 * startup.el (command-line): Save the cursor's theme-face
23860 directly, instead of using face-override-spec.
23861
23862 * custom.el (load-theme): Minor optimization in assigning faces.
23863
23864 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23865
23866 * help-fns.el (describe-variable): Complete all variables having
23867 documentation, including keywords.
23868 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
23869
23870 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
23871
23872 Convert to lexical-binding.
23873
23874 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
23875 (bs--get-marked-string, bs--get-modified-string)
23876 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
23877 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
23878 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
23879
23880 * ehelp.el (electric-help-execute-extended)
23881 (electric-help-ctrl-x-prefix):
23882 * hexl.el (hexl-revert-buffer-function):
23883 * linum.el (linum-after-change, linum-after-scroll):
23884 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
23885
23886 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
23887
23888 2011-04-04 Daiki Ueno <ueno@unixuser.org>
23889
23890 * epa-dired.el:
23891 * epa-mail.el:
23892 * epa-hook.el:
23893 * epa-file.el:
23894 * epa.el:
23895 * epg.el: Use lexical binding.
23896
23897 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
23898
23899 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
23900
23901 * textmodes/flyspell.el (flyspell-word): Recognize default
23902 dictionary case for flyspell-mark-duplications-exceptions.
23903 Use regexp matching for languages.
23904 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
23905 default dictionary (Bug#7926).
23906
23907 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
23908
23909 * emacs-lisp/package.el (package--with-work-buffer):
23910 Recognize https URLs.
23911
23912 * net/network-stream.el: Move from gnus/proto-stream.el.
23913 Change prefix to network-stream throughout.
23914 (open-protocol-stream): Merge into open-network-stream, leaving
23915 open-protocol-stream as an alias. Handle nil BUFFER args.
23916
23917 * subr.el (open-network-stream): Move to net/network-stream.el.
23918
23919 2011-04-02 Glenn Morris <rgm@gnu.org>
23920
23921 * find-dired.el (find-exec-terminator): New option.
23922 (find-ls-option): Test for -ls support.
23923 (find-ls-subdir-switches): Test for -b in find-ls-option.
23924 (find-dired, find-grep-dired): Doc fixes.
23925 (find-dired): Use find-exec-terminator.
23926
23927 * find-dired.el (find-ls-option, find-ls-subdir-switches)
23928 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
23929 (find-name-arg): Remove purecopy.
23930
23931 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
23932 (grep-compute-defaults): Check for `-exec COMMAND +' support.
23933 Set grep-find-use-xargs, grep-find-command, and grep-find-template
23934 accordingly. Don't add the null-device if not needed.
23935
23936 * files.el (save-some-buffers): Doc fix.
23937
23938 2011-04-02 Eli Zaretskii <eliz@gnu.org>
23939
23940 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
23941
23942 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
23943
23944 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
23945 Use `dolist' rather than `mapcar'.
23946
23947 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
23948
23949 Add lexical binding.
23950
23951 * subr.el (apply-partially): Use new closures rather than CL.
23952 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
23953 (dolist, dotimes): Use slightly different expansion for lexical code.
23954 (functionp): Move to C.
23955 (letrec): New macro.
23956 (with-wrapper-hook): Use it and apply-partially instead of CL.
23957 (eval-after-load): Preserve lexical-binding.
23958 (save-window-excursion, with-output-to-temp-buffer): Turn them
23959 into macros.
23960
23961 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
23962
23963 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
23964 than the arglist.
23965 (help-add-fundoc-usage): Don't add `Not documented'.
23966 (help-function-arglist): Handle closures, subroutines, and new
23967 byte-code-functions.
23968 (help-make-usage): Remove leading underscores.
23969 (describe-function-1): Handle closures.
23970 (describe-variable): Use special-variable-p for completion.
23971
23972 * files.el (lexical-binding): Declare safe.
23973
23974 * emacs-lisp/pcase.el: Don't use destructuring-bind.
23975 (pcase--memoize): Rename from pcase-memoize. Change weakness.
23976 (pcase): Add `let' pattern.
23977 Change memoization so it actually works.
23978 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
23979 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
23980 <let>: New case.
23981
23982 * emacs-lisp/macroexp.el: Use lexical binding.
23983 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
23984 Don't convert ' to #' without checking that it's indeed quoting
23985 a lambda.
23986
23987 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
23988 Use eval-sexp-add-defvars.
23989 (eval-sexp-add-defvars): New fun.
23990
23991 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
23992
23993 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
23994 Don't autoload.
23995 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
23996 than the internal `byte-compile-lambda'.
23997 (defmethod): Don't hide code under quotes.
23998 (eieio-defmethod): New `code' argument.
23999
24000 * emacs-lisp/eieio-comp.el: Remove.
24001
24002 * emacs-lisp/edebug.el (edebug-eval-defun)
24003 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
24004 (edebug-toggle): Avoid `eval'.
24005
24006 * emacs-lisp/disass.el (disassemble-internal): Handle new
24007 `closure' objects.
24008 (disassemble-1): Handle new byte codes.
24009
24010 * emacs-lisp/cl.el (pushnew): Silence warning.
24011
24012 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
24013 (cl-byte-compile-throw): Remove.
24014 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
24015
24016 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
24017 closures.
24018
24019 * emacs-lisp/cconv.el: New file.
24020
24021 * emacs-lisp/bytecomp.el: Use lexical binding instead of
24022 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
24023 (byte-compile-initial-macro-environment):
24024 Handle declare-function here.
24025 (byte-compile--lexical-environment): New var.
24026 (byte-stack-ref, byte-stack-set, byte-discardN)
24027 (byte-discardN-preserve-tos): New lap codes.
24028 (byte-interactive-p): Don't use any more.
24029 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
24030 New macros.
24031 (byte-compile-lapcode): Use them and handle new lap codes.
24032 (byte-compile-obsolete): Remove.
24033 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
24034 (byte-compile-arglist-warn): Check late def of inlinable funs.
24035 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
24036 since they should have been expanded by now.
24037 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
24038 (byte-compile-from-buffer): Remove unused second arg.
24039 (byte-compile-preprocess): New function.
24040 (byte-compile-toplevel-file-form): New function to distinguish
24041 file-form calls from outside from file-form calls from hunk-handlers.
24042 (byte-compile-file-form): Simplify.
24043 (byte-compile-file-form-defsubst): Remove.
24044 (byte-compile-file-form-defmumble): Simplify now that
24045 byte-compile-lambda always returns a byte-code-function.
24046 (byte-compile): Preprocess.
24047 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
24048 Remove, not used any more.
24049 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
24050 (byte-compile-make-args-desc): New funs.
24051 (byte-compile-lambda): Handle lexical functions. Always return
24052 a byte-code-function.
24053 (byte-compile-reserved-constants): New var, to make up room for
24054 closed-over variables.
24055 (byte-compile-constants-vector): Obey it.
24056 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
24057 (byte-compile-macroexpand-declare-function): New function.
24058 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
24059 byte-code-functions.
24060 (byte-compile-form): Check obsolescence here.
24061 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
24062 (byte-compile-variable-ref): Remove.
24063 (byte-compile-dynamic-variable-op): New fun.
24064 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
24065 (byte-compile-variable-set): New funs.
24066 (byte-compile-discard): Add 2 args.
24067 (byte-compile-stack-ref, byte-compile-stack-set)
24068 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
24069 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
24070 macroexpand-all instead.
24071 (byte-compile-quote-form): Remove.
24072 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
24073 (byte-compile-bind, byte-compile-unbind): New funs.
24074 (byte-compile-let): Handle let* and lexical binding.
24075 (byte-compile-let*): Remove.
24076 (byte-compile-catch, byte-compile-unwind-protect)
24077 (byte-compile-track-mouse, byte-compile-condition-case):
24078 Handle a new :fun-body form, used for lexical scoping.
24079 (byte-compile-save-window-excursion)
24080 (byte-compile-with-output-to-temp-buffer): Remove.
24081 (byte-compile-defun): Simplify.
24082 (byte-compile-stack-adjustment): New fun.
24083 (byte-compile-out): Use it.
24084 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
24085
24086 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
24087 handler any more.
24088
24089 * emacs-lisp/byte-opt.el: Use lexical binding.
24090 (byte-inline-lapcode): Remove (to bytecomp).
24091 (byte-compile-inline-expand): Pay attention to inlining to/from
24092 lexically bound code.
24093 (byte-compile-unfold-lambda): Don't handle byte-code-functions
24094 any more.
24095 (byte-optimize-form-code-walker): Don't handle save-window-excursion
24096 any more and don't call compiler-macros.
24097 (byte-compile-splice-in-already-compiled-code): Remove.
24098 (byte-code): Don't inline any more.
24099 (disassemble-offset): Receive `bytes' as argument rather than via
24100 dynamic scoping.
24101 (byte-compile-tag-number): Declare before first use.
24102 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
24103 `return' even if make-spliceable.
24104 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
24105 obsolete interactive-p.
24106 (byte-optimize-lapcode): Optimize new lap-codes.
24107 Don't trip up on new form of `byte-constant' lap code.
24108
24109 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
24110
24111 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
24112
24113 * custom.el (custom-initialize-default, custom-declare-variable):
24114 Use `defvar'.
24115
24116 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
24117 New variables.
24118 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
24119 (COMPILE_FIRST): Add macroexp and cconv.
24120 * makefile.w32-in: Mirror changes in Makefile.in.
24121
24122 * vc/cvs-status.el:
24123 * vc/diff-mode.el:
24124 * vc/log-edit.el:
24125 * vc/log-view.el:
24126 * vc/smerge-mode.el:
24127 * textmodes/bibtex-style.el:
24128 * textmodes/css-mode.el:
24129 * startup.el:
24130 * uniquify.el:
24131 * minibuffer.el:
24132 * newcomment.el:
24133 * reveal.el:
24134 * server.el:
24135 * mpc.el:
24136 * emacs-lisp/smie.el:
24137 * doc-view.el:
24138 * dired.el:
24139 * abbrev.el: Use lexical binding.
24140
24141 2011-04-01 Eli Zaretskii <eliz@gnu.org>
24142
24143 * info.el (info-display-manual): New function.
24144
24145 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
24146
24147 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
24148
24149 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
24150
24151 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
24152 an entry for that server in rcirc-authinfo. (Bug#8385)
24153
24154 2011-03-31 Glenn Morris <rgm@gnu.org>
24155
24156 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
24157
24158 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
24159
24160 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
24161
24162 * progmodes/python.el (python-default-interpreter)
24163 (python-python-command-args, python-jython-command-args)
24164 (python-which-shell, python-which-args, python-which-bufname)
24165 (python-file-queue, python-comint-output-filter-function)
24166 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
24167 variables and functions.
24168
24169 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
24170
24171 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
24172 (completion-in-region-mode): New minor mode.
24173 (completion-in-region): Use it.
24174 (completion-in-region--data, completion-in-region-mode-map): New vars.
24175 (completion-in-region--postch): New function.
24176 (completion--capf-misbehave-funs, completion--capf-safe-funs):
24177 New vars.
24178 (completion--capf-wrapper): New function.
24179 (completion-at-point): Use it to track well-behavedness of
24180 hook functions.
24181 (completion-help-at-point): New command.
24182
24183 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
24184
24185 * vc/add-log.el (add-change-log-entry): Don't use whitespace
24186 syntax class to search for whitespace on a single line
24187 (Message-ID: <4D938140.4030905@redhat.com>).
24188
24189 2011-03-30 Leo Liu <sdl.web@gmail.com>
24190
24191 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
24192 New commands.
24193 (edit-abbrevs-map): Bind them here.
24194 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
24195
24196 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
24197
24198 * allout.el (allout-hide-by-annotation, allout-flag-region):
24199 Reduce possibility of overlay leakage by making them volatile.
24200
24201 * allout-widgets.el (allout-widgets-tally): Define as nil so the
24202 hash is not shared between buffers. Mode initialization is
24203 responsible for giving it a useful starting value.
24204 (allout-item-span): Reduce possibility of overlay leakage by
24205 making them volatile.
24206 (allout-widgets-count-buttons-in-region): Add diagnostic function
24207 for tracking down button overlay leaks.
24208
24209 2011-03-29 Leo Liu <sdl.web@gmail.com>
24210
24211 * ido.el (ido-read-internal): Use the default history var
24212 minibuffer-history if no HISTORY is specified.
24213
24214 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
24215
24216 * net/imap.el (imap-shell-open, imap-process-connection-type):
24217 Use imap-process-connection-type for 'shell' streams as well as
24218 Kerberos, SSL, other subprocesses.
24219
24220 2011-03-28 Leo Liu <sdl.web@gmail.com>
24221
24222 * abbrev.el (abbrev-table-empty-p): New function.
24223 (prepare-abbrev-list-buffer): Place empty abbrev tables after
24224 nonempty ones. (Bug#5937)
24225
24226 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
24227
24228 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
24229
24230 2011-03-27 Leo Liu <sdl.web@gmail.com>
24231
24232 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
24233 for foreground and background colors.
24234 (ansi-color-make-color-map): Adapt.
24235
24236 2011-03-25 Leo Liu <sdl.web@gmail.com>
24237
24238 * midnight.el (midnight-time-float): Remove. Note it calculates
24239 the microsecond component incorrectly and seconds-to-time does the
24240 same job.
24241 Remove redundant (require 'timer).
24242
24243 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
24244 (ido-completions): Remove unused arguments. (Bug#8329)
24245
24246 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
24247
24248 * minibuffer.el (completion--flush-all-sorted-completions):
24249 Remove itself from hook.
24250 (completion-at-point): Let the functions perform the completion
24251 immediately and return nil or t.
24252 * comint.el (comint-dynamic-complete-functions): Now identical to
24253 completion-at-point-functions.
24254 (comint-dynamic-list-input-ring): Remove unused var `index'.
24255 (comint--match-partial-filename, comint--unquote&expand-filename):
24256 New funs, split from comint-match-partial-filename.
24257 (comint-dynamic-complete): Use completion-at-point.
24258 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
24259
24260 2011-03-24 Drew Adams <drew.adams@oracle.com>
24261
24262 * thingatpt.el: Support `defun'.
24263
24264 2011-03-23 Leo Liu <sdl.web@gmail.com>
24265
24266 * abbrevlist.el: Move to obsolete/abbrevlist.el.
24267
24268 * help-mode.el (help-mode-finish): Tweak regexp.
24269
24270 2011-03-23 Glenn Morris <rgm@gnu.org>
24271
24272 * eshell/esh-opt.el (eshell-eval-using-options):
24273 Do not bind unused local variable `eshell-option-stub'.
24274
24275 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
24276
24277 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24278
24279 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
24280 keymap variable in `with-no-warnings' to avoid a warning when the
24281 keymap has been already `defconst'ed.
24282
24283 2011-03-22 Leo Liu <sdl.web@gmail.com>
24284
24285 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
24286 encode all chars in abbrevs; otherwise use emacs-mule or
24287 utf-8-emacs. (Bug#8308)
24288
24289 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
24290
24291 * simple.el (backward-delete-char-untabify):
24292 Avoid warning about using `delete-backward-char'.
24293
24294 * image.el (image-type-file-name-regexps): Make it variable.
24295 `imagemagick-register-types' modifies it, and the user may want
24296 to add new extensions for known image types.
24297 (imagemagick-register-types): Throw error if not using ImageMagick.
24298
24299 2011-03-22 Leo Liu <sdl.web@gmail.com>
24300
24301 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
24302 located before rcirc-prompt-end-marker.
24303 (rcirc-complete): Error if point is not after rcirc prompt.
24304 Handle the case when table is nil.
24305 (rcirc-user-authenticated): Define to fix compiler warning.
24306
24307 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
24308
24309 * custom.el (custom--inhibit-theme-enable): Make it affect only
24310 custom-theme-set-variables and custom-theme-set-faces.
24311 (provide-theme): Ignore custom--inhibit-theme-enable.
24312 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
24313 (custom-enabling-themes): Delete variable.
24314 (enable-theme): Accept only loaded themes as arguments.
24315 Ignore the special custom-enabled-themes variable.
24316 (custom-enabled-themes): Forbid themes from setting this.
24317 Eliminate use of custom-enabling-themes.
24318 (custom-push-theme): Quote "changed" custom var entry.
24319
24320 2011-03-21 Leo Liu <sdl.web@gmail.com>
24321
24322 * ido.el (ido-read-internal): Add ido-selected to history instead
24323 of user input.
24324
24325 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
24326
24327 * subr.el (deferred-action-list, deferred-action-function):
24328 Mark obsolete.
24329
24330 2011-03-21 Leo Liu <sdl.web@gmail.com>
24331
24332 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
24333 change on 2011-02-13 (bug#8309).
24334
24335 * minibuffer.el (read-file-name-function): Change default value.
24336 (read-file-name--defaults): Rename from read-file-name-defaults.
24337 (read-file-name-default): Rename from read-file-name.
24338 (read-file-name): Call read-file-name-function.
24339
24340 2011-03-21 Glenn Morris <rgm@gnu.org>
24341
24342 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
24343 Doc fixes.
24344
24345 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
24346
24347 * cus-theme.el: Add missing provide statement.
24348 (customize-create-theme): Extract theme value correctly.
24349 (custom-theme-visit-theme): Autoload.
24350 (customize-create-theme): Prompt before inserting default faces.
24351
24352 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
24353
24354 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
24355 units and musical notes.
24356
24357 2011-03-20 Leo Liu <sdl.web@gmail.com>
24358
24359 * ido.el (ido-read-internal): Use completing-read-default.
24360 (ido-completing-read): Fix compatibility with completing-read.
24361
24362 2011-03-20 Christian Ohler <ohler@gnu.org>
24363
24364 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
24365 (ert-delete-all-tests): Use `called-interactively-p' rather than
24366 `interactive-p'.
24367 (ert--make-xrefs-region): Respect END.
24368
24369 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24370
24371 * dired-aux.el (dired-create-directory): Signal an error if the
24372 directory already exists (Bug#8246).
24373
24374 * facemenu.el (list-colors-display): Call list-faces-display
24375 inside with-help-window.
24376 (list-colors-print): Use display property to align the final
24377 column, instead of checking window-width.
24378
24379 2011-03-19 Eli Zaretskii <eliz@gnu.org>
24380
24381 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
24382 windows-nt systems.
24383 (emerge-protect-metachars): Quote correctly for ms-dos and
24384 windows-nt systems.
24385
24386 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
24387
24388 * info.el (info-initialize): Replace all uses of `:' with
24389 path-separator for compatibility with non-Unix systems.
24390 Cache quoting of path-separator. (Bug#8258)
24391
24392 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
24393
24394 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
24395 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
24396 (mouse-avoidance-mode): Fix typos in docstrings.
24397
24398 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
24399
24400 * startup.el (package-subdirectory-regexp): Move from package.el.
24401 Omit \\` and \\', and let callers add them.
24402
24403 * emacs-lisp/package.el (package-strip-version)
24404 (package-load-all-descriptors): Add \\` and \\' to
24405 package-subdirectory-regexp before using it.
24406 (package-untar-buffer): New arg DIR; ensure that file untars only
24407 into this expected directory. Remove superfluous delete-region.
24408 (package-unpack): Caller changed.
24409 (package-tar-file-info): Use package-subdirectory-regexp.
24410
24411 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
24412
24413 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
24414 diff-mode-shared-map (bug#8284).
24415 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
24416
24417 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
24418
24419 * calendar/time-date.el (format-seconds): Use assoc instead of
24420 assoc-string, since assoc-string doesn't exist in XEmacs.
24421
24422 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
24423
24424 * custom.el (custom-known-themes): Reflow docstring.
24425 (custom-theme-load-path): Fix typo in docstring.
24426 (load-theme): Fix typo in error message.
24427 (custom-available-themes, custom-variable-theme-value):
24428 Use `let', not `let*'.
24429
24430 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
24431
24432 * calc/README: Mention inclusion of musical notes.
24433
24434 * calc/calc-units.el (calc-lu-quant): Rename from
24435 `calc-logunits-quantity'.
24436 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
24437 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
24438 (calc-db): Rename from `calc-dblevel'.
24439 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
24440 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
24441 (calc-np): Rename from `calc-nplevel'.
24442 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
24443 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
24444 (calc-lu-plus): Rename from `calc-logunits-add'.
24445 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
24446 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
24447 (calc-lu-minus): Rename from `calc-logunits-sub'.
24448 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
24449 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
24450 (calc-lu-times): Rename from `calc-logunits-mul'.
24451 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
24452 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
24453 (calc-lu-divide): Rename from `calc-logunits-div'.
24454 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
24455 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
24456
24457 * calc/calc-ext.el (calc-init-extensions): Update the names of the
24458 functions being autoloaded.
24459
24460 * calc/calc.el (calc-lu-power-reference): Rename from
24461 `calc-logunits-power-reference'.
24462 (calc-lu-field-reference): Rename from
24463 `calc-logunits-field-reference'.
24464
24465 * calc/calc-help.el (calc-l-prefix-help):
24466 Mention musical note functions.
24467
24468 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
24469
24470 * minibuffer.el (completion-all-sorted-completions):
24471 Use :completion-cycle-penalty text property if present.
24472
24473 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
24474
24475 * allout.el (allout-yank-processing): Adjust for new rebulleting
24476 regime so bullet being yanked is used without prompting the user
24477 for a choice.
24478
24479 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24480
24481 * startup.el (command-line): Warn the user that _emacs is deprecated.
24482
24483 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
24484
24485 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
24486 (delphi-verbose, delphi-comment-face, delphi-string-face)
24487 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
24488 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
24489 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
24490 (delphi-new-comment-line, delphi-font-lock-defaults)
24491 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
24492 Fix typos in docstrings.
24493
24494 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
24495
24496 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
24497 Invert the roles of character and string values for INSTEAD, so a
24498 string is used for the more common case of a defaulting prompt.
24499
24500 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24501
24502 * progmodes/ruby-mode.el (ruby-backward-sexp):
24503 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
24504 * play/gamegrid.el (gamegrid-make-face):
24505 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
24506 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
24507 * notifications.el (notifications-notify):
24508 * net/xesam.el (xesam-search-engines):
24509 * net/quickurl.el (quickurl-list-insert):
24510 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
24511
24512 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
24513
24514 * startup.el (command-line): Update package subdirectory regexp.
24515
24516 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24517
24518 * allout.el (allout-abbreviate-flattened-numbering)
24519 (allout-mode-deactivate-hook): Fix up obsolescence "date".
24520
24521 * subr.el (read-char-choice): Only show the cursor after the prompt,
24522 not after the answer.
24523
24524 2011-03-15 Kevin Ryde <user42@zip.com.au>
24525
24526 * help-fns.el (variable-at-point): Skip leading quotes, if any
24527 (bug#8253).
24528
24529 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
24530
24531 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
24532 warning message.
24533
24534 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
24535
24536 * shell.el (shell): When called interactively, offer to change the
24537 shell file name on remote hosts.
24538
24539 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
24540
24541 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
24542 integration for LDAP parameters. The host, base, user or binddn,
24543 and secret tokens can be specified in a netrc file, for instance.
24544 This is optional because an `auth-source' parameter must be
24545 specified in the search attributes.
24546
24547 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
24548
24549 * help.el (describe-mode): Link to the mode's definition (bug#8185).
24550
24551 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24552
24553 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
24554 into declaration. Remove redundant and harmful binding.
24555
24556 2011-03-12 Eli Zaretskii <eliz@gnu.org>
24557
24558 * files.el (file-ownership-preserved-p): Pass `integer' as an
24559 explicit 2nd argument to `file-attributes'. If the file's owner
24560 is the Administrators group on Windows, and the current user is
24561 Administrator, consider that a match.
24562
24563 * server.el (server-ensure-safe-dir): Consider server directory
24564 safe on MS-Windows if its owner is the Administrators group while
24565 the current Emacs user is Administrator. Use `=' to compare
24566 numerical UIDs, since they could be integers or floats.
24567
24568 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
24569
24570 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
24571
24572 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
24573
24574 Sync with Tramp 2.2.1.
24575
24576 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
24577
24578 * net/trampver.el: Update release number.
24579
24580 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
24581
24582 * progmodes/compile.el (compilation--previous-directory): Fix up
24583 various nil/dead-marker mismatches (bug#8014).
24584 (compilation-directory-properties, compilation-error-properties):
24585 Don't call it at a position past the one we're about to change.
24586
24587 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
24588 Disable obsolescence warnings in the file that declares it.
24589
24590 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
24591
24592 * allout-widgets.el (allout-widgets-tally):
24593 Initialize allout-widgets-tally as a hash table rather than nil to
24594 prevent mode-line redisplay warnings. Also, clarify the module
24595 description and fix a comment typo.
24596
24597 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
24598
24599 * help-fns.el (describe-variable): Don't complete keywords.
24600 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
24601
24602 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
24603
24604 * emacs-lisp/package.el (package-version-join): Impose a standard
24605 string representation for pre/alpha/beta version lists.
24606 (package-unpack-single): Standardize the directory name by passing
24607 it through package-version-join.
24608 (package-strip-rcs-id): Accept any version string that does not
24609 signal an error in version-to-list.
24610
24611 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
24612
24613 * simple.el (delete-trailing-whitespace): Return nil for the
24614 benefit of `write-file-functions'.
24615
24616 2011-03-10 Glenn Morris <rgm@gnu.org>
24617
24618 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
24619
24620 * vc/vc-git.el (vc-git-program): New option.
24621 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
24622 (vc-git--call): Use it.
24623
24624 * eshell/esh-util.el (eshell-condition-case): Doc fix.
24625
24626 * cus-edit.el (Custom-newline): If no button at point, look
24627 for a subgroup button at start-of-line. (Bug#2298)
24628
24629 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
24630
24631 2011-03-10 Julien Danjou <julien@danjou.info>
24632
24633 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
24634 `cursor-type' is nil.
24635
24636 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
24637
24638 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
24639
24640 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
24641
24642 * allout.el: Change so yank of distinctive-bullet items
24643 preserves the existing header prefix, rebulleting it if necessary,
24644 rather than replacing it. This is necessary for proper operation
24645 of cooperative addons like allout-widgets.
24646 (allout-make-topic-prefix, allout-rebullet-heading):
24647 Change SOLICIT arg to INSTEAD, and interpret additionally a string
24648 value as alternate bullet to be used, instead of prompting the user
24649 for a bullet character.
24650
24651 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
24652
24653 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24654 Do not use `tramp-file-name-port', because this returns also
24655 `tramp-default-port'.
24656
24657 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
24658
24659 * net/rcirc.el (rcirc-handler-001): Remove useless
24660 with-rcirc-process-buffer.
24661 (rcirc-check-auth-status): Swap arguments to string-match.
24662
24663 2011-03-09 Glenn Morris <rgm@gnu.org>
24664
24665 * shell.el (shell-mode):
24666 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
24667
24668 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
24669 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
24670
24671 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24672
24673 * emacs-lisp/package.el (package-refresh-contents)
24674 (package-menu-execute): Use condition-case-no-debug.
24675
24676 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
24677
24678 * simple.el (shell-command-to-string): Use `process-file'.
24679
24680 * emacs-lisp/package.el (package-tar-file-info): Handle also
24681 remote files.
24682
24683 * emacs-lisp/package-x.el (package-upload-buffer-internal):
24684 Use `equal' for upload base check.
24685
24686 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
24687
24688 * textmodes/texinfo.el (texinfo-environments):
24689 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
24690
24691 2011-03-08 Glenn Morris <rgm@gnu.org>
24692
24693 * cus-start.el (cursor-in-non-selected-windows):
24694 Fix :set quoting oddness. (Bug#8192)
24695
24696 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
24697 in some setf expressions. (Bug#2159)
24698
24699 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
24700
24701 * custom.el (custom-available-themes): Return themes in
24702 alphabetical order.
24703
24704 See ChangeLog.15 for earlier changes.
24705
24706 ;; Local Variables:
24707 ;; coding: utf-8
24708 ;; End:
24709
24710 Copyright (C) 2011-2013 Free Software Foundation, Inc.
24711
24712 This file is part of GNU Emacs.
24713
24714 GNU Emacs is free software: you can redistribute it and/or modify
24715 it under the terms of the GNU General Public License as published by
24716 the Free Software Foundation, either version 3 of the License, or
24717 (at your option) any later version.
24718
24719 GNU Emacs is distributed in the hope that it will be useful,
24720 but WITHOUT ANY WARRANTY; without even the implied warranty of
24721 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24722 GNU General Public License for more details.
24723
24724 You should have received a copy of the GNU General Public License
24725 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.