]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* lisp/progmodes/hideif.el: Undo last change which should only go to trunk
[gnu-emacs] / lisp / ChangeLog
1 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * progmodes/hideif.el: Undo last change which should only go to trunk
4 (do not merge).
5
6 2014-06-26 Glenn Morris <rgm@gnu.org>
7
8 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
9 Remove outdated declaration.
10
11 * emacs-lisp/authors.el (authors-valid-file-names)
12 (authors-renamed-files-alist): Additions.
13
14 2014-06-25 Leo Liu <sdl.web@gmail.com>
15
16 * textmodes/picture.el (picture-set-tab-stops):
17 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
18 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
19
20 * progmodes/asm-mode.el (asm-calculate-indentation): Use
21 indent-next-tab-stop.
22
23 * indent.el (indent-accumulate-tab-stops): New function.
24
25 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
26
27 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
28 (package-desc-status): Obey it.
29
30 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
31
32 * calendar/todo-mode.el: Fix two bugs.
33 (todo-insert-item--basic): If user cancels item insertion to
34 another category before setting priority, show original category
35 whether it is in the same or a different file.
36 (todo-set-item-priority): After selecting category, instead of
37 moving point to top, which extends an active region, restore it.
38
39 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
40
41 * help-fns.el (describe-function-1): Check file-name is a string before
42 calling help-fns--autoloaded-p (bug#17564).
43
44 2014-06-24 Juri Linkov <juri@jurta.org>
45
46 * desktop.el (desktop-auto-save-enable)
47 (desktop-auto-save-disable): New functions.
48 (desktop-save-mode, desktop-auto-save-timeout): Use them.
49 (desktop-read): Disable the autosave before loading the desktop,
50 and enable afterwards. (Bug#17351)
51
52 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
53
54 Fix some indentation problem with \; and pipes (bug#17842).
55 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
56 (sh-smie--default-forward-token, sh-smie--default-backward-token):
57 New functions.
58 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
59 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
60 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
61
62 2014-06-24 Eli Zaretskii <eliz@gnu.org>
63
64 * international/fontset.el (script-representative-chars):
65 Add representative characters for scripts added in Unicode 7.0.
66 (otf-script-alist): Synchronize with the latest registry of OTF
67 script tags.
68
69 * international/characters.el (char-script-table): Update for
70 scripts added and codepoint ranges changed in Unicode 7.0.
71
72 2014-06-23 Leo Liu <sdl.web@gmail.com>
73
74 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
75 tab-stop-list to nil. (Bug#16381)
76
77 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
78 (indent-rigidly-left-to-tab-stop)
79 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
80 (move-to-tab-stop): Change callers.
81
82 2014-06-22 Eli Zaretskii <eliz@gnu.org>
83
84 * skeleton.el (skeleton-insert): Yet another fix of the doc string
85 wrt behavior of \n as the first/last element of a skeleton.
86
87 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
88
89 * net/tramp-adb.el (tramp-adb-handle-process-file):
90 * net/tramp-sh.el (tramp-sh-handle-process-file):
91 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
92 the output buffer when DISPLAY is non-nil. (Bug#17815)
93
94 2014-06-21 Glenn Morris <rgm@gnu.org>
95
96 * play/landmark.el (landmark-move-down, landmark-move-up):
97 Fix 2007-10-20 change - preserve horizontal position.
98
99 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
100
101 Fix completion retrieval parsing (bug#17209).
102 * progmodes/python.el (python-mode):
103 (python-util-strip-string): New function.
104 (python-shell-completion-get-completions): Use it.
105
106 2014-06-21 Eli Zaretskii <eliz@gnu.org>
107
108 * skeleton.el (skeleton-insert): Fix last change.
109
110 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
111
112 Enhancements for outline integration (bug#17796).
113 * progmodes/python.el (python-mode): Properly set
114 outline-heading-end-regexp so that comments after colons for
115 defuns are supported.
116
117 2014-06-21 Eli Zaretskii <eliz@gnu.org>
118
119 * skeleton.el (skeleton-insert): Doc fix.
120
121 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
122
123 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
124 (smie-config-guess): Use smie-config-local so the rules are obeyed
125 (bug#17818).
126
127 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
128 since it's already done inside the loop (bug#17819).
129
130 2014-06-20 Martin Rudalics <rudalics@gmx.at>
131
132 * mouse.el (mouse-drag-line): Re-remove code initially removed
133 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
134 (Bug#17819).
135
136 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
137
138 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
139 align with the surrounding parent (bug#17721).
140
141 2014-06-20 Eli Zaretskii <eliz@gnu.org>
142
143 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
144 locally to nil.
145 (texinfo-insert-block, texinfo-insert-@end)
146 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
147 local setting of skeleton-end-newline by adding an explicit \n to
148 the skeletons where appropriate. (Bug#17801)
149
150 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
151
152 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
153 (smie-indent--hanging-p): Use it.
154 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
155
156 2014-06-20 Leo Liu <sdl.web@gmail.com>
157
158 * simple.el (read-quoted-char): Don't let help chars pop up help
159 buffer. (Bug#16617)
160
161 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
162
163 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
164 for | (bug#17621).
165
166 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
167
168 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
169 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
170 burping.
171
172 2014-06-18 Eli Zaretskii <eliz@gnu.org>
173
174 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
175 and later. (Bug#17790)
176
177 2014-06-18 Juri Linkov <juri@jurta.org>
178
179 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
180 to `soft'. (Bug#17554)
181
182 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
183
184 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
185 (bug#17737).
186
187 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
188
189 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
190 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
191
192 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
193
194 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
195 `unread-command-events'.
196
197 2014-06-14 Glenn Morris <rgm@gnu.org>
198
199 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
200 Replace delete-duplicates and mapcan by cl- versions throughout.
201 And cl-macroexpand-all by macroexpand-all.
202 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
203
204 2014-06-14 Eli Zaretskii <eliz@gnu.org>
205
206 * subr.el (posn-col-row): Doc fix. (Bug#17768)
207
208 2014-06-14 Juri Linkov <juri@jurta.org>
209
210 * bindings.el: Put `ascii-character' property on keypad keys
211 mapped to characters. (Bug#17759)
212
213 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
214
215 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
216 bumping forward into a closing paren (bug#17761).
217
218 * term/xterm.el (xterm--version-handler): Work around for OSX
219 Terminal.app (bug#17607).
220
221 2014-06-08 Glenn Morris <rgm@gnu.org>
222
223 * startup.el (initial-buffer-choice): Doc fix.
224 Reset :version (adding an option does not merit a :version bump).
225
226 * bookmark.el (bookmark-load):
227 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
228
229 2014-06-06 Juri Linkov <juri@jurta.org>
230
231 * desktop.el: Activate auto-saving on window configuration changes.
232 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
233 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
234 (desktop-auto-save-set-timer): Change REPEAT arg of
235 `run-with-idle-timer' from t to nil.
236 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
237
238 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
239
240 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
241 vc-hg-command (bug#17570).
242
243 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
244
245 * international/mule-cmds.el (ucs-names): Add special entry for BEL
246 (bug#17702).
247
248 2014-06-06 Glenn Morris <rgm@gnu.org>
249
250 * startup.el (window-setup-hook): Doc fix.
251
252 2014-06-05 Glenn Morris <rgm@gnu.org>
253
254 * emacs-lisp/package.el (package-check-signature)
255 (package-unsigned-archives): Doc fixes.
256
257 2014-06-03 Martin Rudalics <rudalics@gmx.at>
258
259 * window.el (display-buffer-use-some-window): Don't make window
260 used smaller than it was before (Bug#17671).
261
262 2014-06-03 Eli Zaretskii <eliz@gnu.org>
263
264 * menu-bar.el (menu-bar-open): Fix last change: use the PC
265 'redisplay' instead of '(sit-for 0)'.
266
267 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
268
269 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
270 regexp. (Bug#17653)
271
272 2014-06-03 Glenn Morris <rgm@gnu.org>
273
274 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
275
276 2014-06-02 Eli Zaretskii <eliz@gnu.org>
277
278 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
279
280 2014-06-01 Eli Zaretskii <eliz@gnu.org>
281
282 * simple.el (keyboard-quit): Force update of mode lines, to remove
283 the "Def" indicator, if we were defining a macro. (Bug#17615)
284
285 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
286
287 * minibuffer.el (minibuffer-force-complete-and-exit):
288 Obey minibuffer-default (bug#17545).
289
290 * progmodes/js.el (js-indent-line): Don't mix columns and chars
291 (bug#17619).
292
293 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
294
295 * subr.el (set-transient-map): Don't wait for some "nested"
296 transient-map to finish if we're only supposed to be active for
297 the next command (bug#17642).
298
299 2014-05-31 Leo Liu <sdl.web@gmail.com>
300
301 * emacs-lisp/gv.el (window-buffer, window-display-table)
302 (window-dedicated-p, window-hscroll, window-point, window-start):
303 Fix gv-expander. (Bug#17630)
304
305 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
306
307 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
308 clicks (bug#17633).
309
310 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
311 for the single comma, since ", " is *very* common in normal French text
312 (bug#17643).
313
314 2014-05-30 Glenn Morris <rgm@gnu.org>
315
316 * emacs-lisp/package.el (package-check-signature)
317 (package-unsigned-archives): Fix :version.
318
319 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
320
321 * subr.el (sit-for): Don't run input-methods (bug#15614).
322
323 2014-05-28 Glenn Morris <rgm@gnu.org>
324
325 * cus-start.el: Fix some :version numbers.
326
327 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
328
329 * simple.el (deactivate-mark): Set mark-active to nil even if
330 deactivation is done via setting transient-mark-mode to nil,
331 since one is buffer-local and the other is global.
332
333 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
334 there can't be more than 2 arguments (bug#17584).
335
336 2014-05-27 Glenn Morris <rgm@gnu.org>
337
338 * simple.el (filter-buffer-substring-functions)
339 (filter-buffer-substring-function, buffer-substring-filters)
340 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
341
342 * minibuffer.el (completion-in-region-functions, completion-in-region)
343 (completion--in-region): Doc fixes.
344
345 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
346 (expand-abbrev, abbrev--default-expand): Doc fixes.
347
348 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
349
350 Include sources used to create macuvs.h.
351 * international/README: Refer to the Unicode Terms of Use rather
352 than copying it bodily here, as that simplifies maintenance.
353
354 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
355
356 * cus-face.el (custom-face-attributes): Add :distant-foreground.
357
358 2014-05-25 Martin Rudalics <rudalics@gmx.at>
359
360 * window.el (window--dump-frame): Remove interactive
361 specification.
362
363 2014-05-23 Glenn Morris <rgm@gnu.org>
364
365 * hippie-exp.el (he-line-search-regexp):
366 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
367
368 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
369
370 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
371 to avoid errors when trying to create or visit a file foo.todo
372 located outside to todo-directory, and to allow having such files
373 without them being tied to Todo mode (bug#17482).
374 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
375 (todo-archive-done-item, todo-find-filtered-items-file)
376 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
377 (todo-category-completions, todo-read-category): When visiting a
378 Todo file, make sure we're in the right mode and the buffer local
379 variables are set.
380 (todo-make-categories-list, todo-reset-nondiary-marker)
381 (todo-reset-done-string, todo-reset-comment-string):
382 After processing all Todo files, kill the buffers of those files that
383 weren't being visited before the processing.
384 (todo-display-as-todo-file, todo-add-to-buffer-list)
385 (todo-visit-files-commands): Comment out.
386 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
387 (auto-mode-alist): Remove add-to-list calls making Todo file
388 extensions unrestrictedly tied to Todo modes.
389
390 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
391
392 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
393 (advice-function-member-p): Tell it to check both names and functions
394 (bug#17531).
395 (advice--add-function): Adjust call accordingly.
396
397 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
398
399 * calendar/todo-mode.el: Miscellaneous bug fixes.
400 (todo-delete-file): When deleting an archive but not its todo
401 file, make sure to update the todo file's category sexp.
402 (todo-move-category): Keep the moved category's name unless the
403 file moved to already has a category with that name. If the
404 numerically last category of the source file was moved, make the
405 first category current to avoid selecting a nonexisting category.
406 (todo-merge-category): Fix implementation to make merging to a
407 category in another file work as documented. Eliminate now
408 insufficient and unnecessary renaming of archive category, correct
409 document string accordingly, and clarify it. If the numerically
410 last category of the source file was merged, make the first
411 category current to avoid selecting a nonexisting category.
412 (todo-archive-done-item): When there are marked items and point
413 happens to be on an unmarked item, ignore the latter. Don't leave
414 point below last item after archiving marked items.
415 (todo-unarchive-items): Fix logic to ensure unarchiving an item
416 from an archive with only one category deletes the archive only
417 when the category is empty after unarchiving. Make sure the todo
418 file's category sexp is updated.
419 (todo-read-file-name): Allow an existing file name even when it is
420 not required (todo-move-category needs this to work as documented).
421 (todo-add-file): Call todo-validate-name to reject the name of an
422 existing todo file (needed due to fix in todo-read-file-name).
423 (todo-reset-nondiary-marker): Also reset in filtered items files.
424 (todo-reset-done-string, todo-reset-comment-string): Also reset in
425 regexp filtered items files.
426 (todo-reset-highlight-item): Also reset in filtered items files.
427 Fix incorrect variable reference in document string.
428
429 2014-05-22 Glenn Morris <rgm@gnu.org>
430
431 * window.el (window--dump-frame): Avoid error in --without-x builds.
432
433 2014-05-21 Glenn Morris <rgm@gnu.org>
434
435 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
436
437 2014-05-21 Eli Zaretskii <eliz@gnu.org>
438
439 * frame.el (set-frame-font): Doc fix.
440
441 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
442
443 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
444
445 * emacs-lisp/package.el (package--download-one-archive):
446 Use `write-region' instead of `save-buffer' to avoid running various
447 hooks. (Bug#17155)
448 (describe-package-1): Same. Insert newline at the end of the
449 buffer if appropriate.
450
451 2014-05-20 Juri Linkov <juri@jurta.org>
452
453 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
454 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
455 Add more modifiers: meta, control, shift, hyper, super, alt.
456 (Bug#17439)
457
458 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
459 to allow changing its value with `set-variable'.
460
461 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
462
463 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
464 #; comments.
465 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
466 New functions.
467 (scheme-mode-variables): Set syntax-propertize-function instead of
468 font-lock-syntactic-face-function.
469 (scheme-font-lock-syntactic-face-function): Delete.
470
471 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
472
473 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
474
475 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
476 (bug#17392).
477
478 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
479
480 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
481 for a temporary file name.
482
483 2014-05-17 Eli Zaretskii <eliz@gnu.org>
484
485 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
486
487 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
488
489 * net/dbus.el (dbus-init-bus, dbus-call-method)
490 (dbus-call-method-asynchronously, dbus-send-signal)
491 (dbus-method-return-internal, dbus-method-error-internal):
492 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
493
494 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
495
496 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
497 methods which do not have a doc string. (Bug#17490)
498
499 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
500 Stefan Monnier <monnier@iro.umontreal.ca>
501
502 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
503 suffix (bug#15419).
504
505 2014-05-14 Glenn Morris <rgm@gnu.org>
506
507 * vc/emerge.el (emerge-temp-file-prefix):
508 Make pointless option obsolete.
509 (emerge-temp-file-mode): Make non-functional option obsolete.
510
511 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
512
513 * net/browse-url.el (browse-url):
514 Use `unhandled-file-name-directory' when setting `default-directory',
515 in order to circumvent stalled remote connections. (Bug#17425)
516
517 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
518
519 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
520 into autoloading just because of a silly indirection.
521
522 2014-05-11 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
523
524 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
525
526 2014-05-11 Glenn Morris <rgm@gnu.org>
527
528 * emacs-lisp/find-gc.el: Move to ../admin.
529
530 2014-05-10 Glenn Morris <rgm@gnu.org>
531
532 * printing.el (pr-version):
533 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
534
535 * net/browse-url.el (browse-url-mosaic):
536 Create /tmp/Mosaic.PID as a private file.
537
538 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
539
540 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
541 (advice--member-p): If name is given, only compare the name.
542 (advice--remove-function): Don't stop at the first match.
543 (advice--normalize-place): New function.
544 (add-function, remove-function): Use it.
545 (advice--add-function): Pass the name, if any, to
546 advice--remove-function.
547
548 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
549
550 * electric.el (electric-indent-post-self-insert-function): Don't use
551 `pos' after modifying the buffer (bug#17449).
552
553 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
554
555 * subr.el (function-put): Add function.
556
557 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
558
559 * calendar/todo-mode.el (todo-insert-item-from-calendar):
560 Correct argument list to conform to todo-insert-item--basic.
561
562 2014-05-09 Glenn Morris <rgm@gnu.org>
563
564 * files.el (cd-absolute): Test if directory is accessible
565 rather than executable. (Bug#17330)
566
567 * progmodes/compile.el (recompile):
568 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
569
570 2014-05-08 Juri Linkov <juri@jurta.org>
571
572 * dired.el (dired-check-switches, dired-switches-recursive-p):
573 New functions. (Bug#17218)
574 (dired-switches-escape-p, dired-move-to-end-of-filename):
575 Use `dired-check-switches'.
576 (dired-insert-old-subdirs, dired-build-subdir-alist)
577 (dired-sort-R-check): Use `dired-switches-recursive-p'.
578
579 2014-05-08 Glenn Morris <rgm@gnu.org>
580
581 * net/browse-url.el (browse-url-mosaic):
582 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
583 This is CVE-2014-3423.
584
585 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
586
587 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
588 (xterm-mouse--read-event-sequence-1000): Return nil if something
589 looks fishy.
590 (xterm-mouse-event): Propagate it.
591 (xterm-mouse-translate-1): Handle it.
592
593 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
594
595 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
596 four slots of the parameter list are filled, make sure to pass it
597 to the argument list of todo-insert-item--basic.
598
599 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
600
601 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
602 Add optional `seen' argument to detect and break infinite loops.
603
604 2014-05-06 Eli Zaretskii <eliz@gnu.org>
605
606 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
607 (trace-unsafe, trace-use-tree): Make parentheses style be
608 according to Emacs style.
609
610 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
611
612 * net/tramp-sh.el (tramp-remote-process-environment):
613 Remove HISTFILE and HISTSIZE; it's too late to set them here.
614 Add :version entry.
615 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
616 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
617 extra "PSx=..." commands.
618 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
619 (Bug#17295)
620
621 (tramp-uudecode): Replace the hard-coded temporary file name by a
622 format specifier.
623 (tramp-remote-coding-commands): Enhance docstring.
624 (tramp-find-inline-encoding): Replace "%t" by a temporary file
625 name. (Bug#17415)
626 This is CVE-2014-3424.
627
628 2014-05-06 Glenn Morris <rgm@gnu.org>
629
630 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
631 (find-gc-source-files): Update some names.
632 (trace-call-tree): Simplify and update.
633 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
634 This is CVE-2014-3422.
635
636 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
637
638 * minibuffer.el (completion--try-word-completion): Revert fix for
639 Bug#15980 (bug#17375).
640
641 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
642 Always store button numbers in the same way in xterm-mouse-last;
643 Don't burp is xterm-mouse-last is not set as expected.
644 Never return negative indices.
645
646 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
647
648 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
649 Backtrack one char if the global/char-literal var matcher hits
650 inside a string. The next char could be the beginning of an
651 expression expansion.
652
653 2014-05-05 Glenn Morris <rgm@gnu.org>
654
655 * help-fns.el (describe-function-1): Test for an autoload before a
656 macro, since `macrop' works on autoloads. (Bug#17410)
657
658 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
659
660 * electric.el (electric-indent-functions-without-reindent): Add yaml.
661
662 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
663 Make sure the new point we return is within the new string (bug#17239).
664
665 2014-05-03 Eli Zaretskii <eliz@gnu.org>
666
667 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
668
669 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
670
671 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
672 Use nil rather than `default' for the "default" appearance (bug#17388).
673 * vc/ediff-util.el (ediff-inferior-compare-regions)
674 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
675 a misleading `default' value when it's really a boolean.
676 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
677 overlay is not visible.
678
679 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
680
681 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
682 (todo-menu): Uncomment and update.
683
684 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
685
686 * calendar/todo-mode.el: Reimplement item editing to have the same
687 basic user interface as item insertion, and make small UI and
688 larger internal improvements to the latter.
689 (todo-insert-item): Add reference to the Todo mode user manual to
690 the documentation string.
691 (todo-insert-item--basic): Rename from todo-basic-insert-item and
692 adjust all callers. Change signature to combine diary and
693 nonmarking arguments. Incorporate functionality of deleted item
694 copying command and add error checking. Remove detailed
695 descriptions of the arguments from the documentation string, since
696 this is treated in the Todo mode user manual.
697 (todo-copy-item, todo-edit-multiline-item)
698 (todo-edit-done-item-comment, todo-edit-item-header)
699 (todo-edit-item-time, todo-edit-item-date-from-calendar)
700 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
701 (todo-edit-item-date-year, todo-edit-item-date-month)
702 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
703 Remove.
704 (todo-edit-item): Reimplement as wrapper command for
705 todo-edit-item--next-key and make it distinguish done and not done
706 todo items.
707 (todo-edit-item--text): New function, replacing old command
708 todo-edit-item and incorporating deleted commands
709 todo-edit-multiline-item and todo-edit-done-item-comment.
710 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
711 Use only numeric value of prefix argument. Remove detailed
712 descriptions of the arguments from the documentation string, since
713 this is treated in the Todo mode user manual.
714 (todo-edit-item--diary-inclusion): New function, replacing old
715 command todo-edit-item-diary-inclusion and incorporating and fixing
716 functionality of deleted command todo-edit-item-diary-nonmarking,
717 making sure to remove todo-nondiary-marker when adding
718 diary-nonmarking-symbol.
719 (todo-edit-category-diary-inclusion): Make sure to delete
720 diary-nonmarking-symbol when adding todo-nondiary-marker.
721 (todo-edit-category-diary-nonmarking): Fix indentation.
722 (todo-insert-item--parameters): Group diary and nonmarking
723 parameters together.
724 (todo-insert-item--apply-args): Adjust to signature of
725 todo-insert-item--basic and incorporate copy parameter.
726 Make small code improvements.
727 (todo-insert-item--next-param): Improve prompt and adjust it to
728 new parameter grouping. Remove obsolete code.
729 (todo-edit-item--param-key-alist)
730 (todo-edit-item--date-param-key-alist)
731 (todo-edit-done-item--param-key-alist): New defconsts.
732 (todo-edit-item--prompt): New variable.
733 (todo-edit-item--next-key): New function.
734 (todo-key-bindings-t): Bind "e" to todo-edit-item.
735 Remove bindings of deleted commands.
736
737 2014-05-02 Leo Liu <sdl.web@gmail.com>
738
739 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
740
741 2014-05-01 Glenn Morris <rgm@gnu.org>
742
743 * allout-widgets.el (allout-widgets-tally)
744 (allout-decorate-item-guides):
745 * menu-bar.el (menu-bar-positive-p):
746 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
747 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
748 * progmodes/js.el (js--inside-param-list-p)
749 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
750 * progmodes/prolog.el (region-exists-p):
751 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
752 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
753 Doc fixes (replace `iff').
754
755 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
756
757 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
758
759 2014-04-30 Eli Zaretskii <eliz@gnu.org>
760
761 * dired.el (dired-initial-position-hook, dired-initial-position):
762 Doc string fixes.
763
764 2014-04-29 Glenn Morris <rgm@gnu.org>
765
766 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
767
768 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
769
770 * faces.el (face-spec-recalc): Apply X resources only after the
771 defface spec has been applied. Thus, X resources are no longer
772 overriden by the defface spec which also fixes issues on win32 where
773 the toolbar coloring was wrong because it is set through X resources
774 and was (wrongfully) overriden. (Bug#16694)
775
776 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
777
778 * textmodes/rst.el (electric-pair-pairs): Declare.
779 (rst-mode): Set it (bug#17131).
780
781 2014-04-27 Juri Linkov <juri@jurta.org>
782
783 * desktop.el (desktop-value-to-string): Let-bind `print-length'
784 and `print-level' to nil. (Bug#17351)
785
786 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
787
788 * battery.el (battery-update): Handle the case where battery
789 status is "N/A" (bug#17319).
790
791 2014-04-24 Eli Zaretskii <eliz@gnu.org>
792
793 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
794 Use equal-including-properties to compare help-echo strings (bug#17331).
795
796 2014-04-24 Leo Liu <sdl.web@gmail.com>
797
798 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
799 Fix syntax for @. (Bug#17325)
800
801 2014-04-24 Daniel Colascione <dancol@dancol.org>
802
803 * emacs-lisp/cl.el (gv): Require gv early to break eager
804 macro-expansion cycles.
805
806 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
807
808 * simple.el (region-active-p): Check there's a mark (bug#17324).
809
810 * simple.el (completion-list-mode-map): Use choose-completion for the
811 mouse binding as well (bug#17302).
812 (completion-list-mode, completion-setup-function): Adjust docstring and
813 echo area message accordingly.
814 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
815 calling convention of choose-completion.
816 * comint.el (comint-dynamic-list-completions):
817 * term.el (term-dynamic-list-completions): Accept choose-completion.
818
819 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
820 &, |, +, - and * can't be a division (bug#17317).
821
822 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
823
824 * term/xterm.el (xterm--version-handler): Don't use modern xterm
825 features on gnome-terminal (bug#16988).
826
827 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
828
829 * dired.el (dired-insert-set-properties): Do not consider
830 subdirectory headings and empty lines to be information that
831 `dired-hide-details-mode' should hide. (Bug#17228)
832
833 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
834
835 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
836 Remove test messages.
837 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
838 and `target' twice.
839
840 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
841
842 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
843 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
844
845 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
846
847 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
848
849 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
850 Set "IFS=" when using read builtin, in order to preserve spaces in
851 the file name. Add test messages for hunting a bug on hydra.
852 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
853
854 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
855
856 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
857 Don't prettify a word within a symbol.
858
859 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
860
861 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
862 possible.
863
864 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
865
866 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
867 assignments such as "case=hello" (bug#17297).
868
869 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
870
871 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
872 Do not autoload.
873 (tramp-file-name-handler, tramp-completion-file-name-handler):
874 Revert patch from 2014-04-10, it isn't necessary anymore.
875 (tramp-autoload-file-name-handler)
876 (tramp-register-autoload-file-name-handlers): New defuns.
877 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
878 (tramp-register-file-name-handlers): Remove also
879 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
880 Do not autoload its invocation, but eval it after loading of 'tramp.
881
882 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
883
884 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
885
886 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
887
888 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
889 was done (bug#17264).
890 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
891 comment to EOB.
892
893 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
894 here-documents (bug#17262).
895
896 2014-04-16 Eli Zaretskii <eliz@gnu.org>
897
898 * term/pc-win.el (x-list-fonts, x-get-selection-value):
899 Provide doc strings, as required by snarf-documentation.
900
901 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
902
903 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
904 arg of overlays-at. Use `invisible-p'.
905
906 * obsolete/lucid.el (extent-at):
907 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
908 overlays-at.
909 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
910
911 2014-04-14 João Távora <joaotavora@gmail.com>
912
913 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
914 links. (Bug#17217).
915
916 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
917
918 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
919 Use mapc to loop over a vector. (Bug#17257).
920
921 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
922
923 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
924 patch, there are new problems with file names containing spaces.
925 Get rid of backticks. (Bug#17238)
926
927 2014-04-13 João Távora <joaotavora@gmail.com>
928
929 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
930 possible bug.
931
932 2014-04-13 Eli Zaretskii <eliz@gnu.org>
933
934 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
935 (blink-cursor-mode): Mention customization variables and the
936 effect of 'blink-cursor-blinks'.
937
938 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
939
940 * simple.el (undo): Prevent insertion of identity mapping into
941 undo-equiv-table so as undo-only does not inf loop in the presence
942 of consecutive nils in undo list.
943
944 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
945
946 * faces.el (make-face): Deprecate optional argument as it is no
947 longer needed/used since the conditional X resources handling
948 has been pushed down to make-face-x-resource-internal itself.
949 (make-empty-face): Don't pass optional argument to make-face.
950
951 2014-04-12 Eli Zaretskii <eliz@gnu.org>
952
953 * international/characters.el <standard-case-table>: Add entries
954 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
955 Set category of Coptic characters be 'g' (Greek).
956
957 2014-04-12 Leo Liu <sdl.web@gmail.com>
958
959 * progmodes/octave.el (completion-table-with-cache): Define if not
960 available.
961 (octave-goto-function-definition)
962 (octave-sync-function-file-names)
963 (octave-find-definition-default-filename): Backquote upattern for
964 compatibility.
965
966 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
967
968 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
969 name twice due to backticks. (Bug#17238)
970
971 2014-04-11 Glenn Morris <rgm@gnu.org>
972
973 * term/w32-win.el (x-win-suspend-error):
974 * term/x-win.el (x-win-suspend-error): Sync docs.
975
976 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
977
978 Ediff's overlay priorities cause more trouble than they solve.
979 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
980 (ediff-highest-priority): Remove function (bug#17234).
981 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
982 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
983 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
984 overlay priorities.
985
986 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
987
988 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
989 entry; use symbol boundaries to avoid mis-matches.
990
991 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
992
993 * net/tramp.el (tramp-file-name-handler)
994 (tramp-completion-file-name-handler): Avoid recursive loading.
995
996 * net/tramp-sh.el (tramp-make-copy-program-file-name):
997 Quote result also locally.
998
999 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1000
1001 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1002 Module methods. (Bug#17216)
1003
1004 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1005
1006 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1007 (describe-bindings-internal): Mark obsolete.
1008
1009 2014-04-07 João Távora <joaotavora@gmail.com>
1010
1011 * elec-pair.el:
1012 (electric-pair--syntax-ppss): When inside comments parse from
1013 comment beginning.
1014 (electric-pair--balance-info): Fix typo in comment.
1015 (electric-pair--in-unterminated-string-p): Delete.
1016 (electric-pair--unbalanced-strings-p): New function.
1017 (electric-pair-string-bound-function): New var.
1018 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1019 according to `electric-pair--in-unterminated-string-p'
1020
1021 2014-04-07 João Távora <joaotavora@gmail.com>
1022
1023 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1024 Inhibit quote pairing if point-max is inside an unterminated string.
1025 (electric-pair--looking-at-unterminated-string-p): Delete.
1026 (electric-pair--in-unterminated-string-p): New function.
1027
1028 2014-04-07 Glenn Morris <rgm@gnu.org>
1029
1030 * shell.el (shell-directory-tracker):
1031 Go back to just ignoring failures. (Bug#17159)
1032
1033 2014-04-06 João Távora <joaotavora@gmail.com>
1034
1035 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1036 backspace. (bug#16981)
1037 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1038 (electric-pair-backward-delete-char-untabify): Delete.
1039 (electric-pair-mode-map): Bind backspace to a menu item filtering
1040 a new `electric-pair-delete-pair' command.
1041 (electric-pair-delete-pair): New command.
1042
1043 2014-04-06 João Távora <joaotavora@gmail.com>
1044
1045 * progmodes/python.el (python-electric-pair-string-delimiter):
1046 Fix triple-quoting electricity. (Bug#17192)
1047
1048 2014-04-06 João Távora <joaotavora@gmail.com>
1049
1050 * elec-pair.el (electric-pair-post-self-insert-function):
1051 Don't skip whitespace when `electric-pair-text-pairs' and
1052 `electric-pair-pairs' were used. syntax to
1053 electric-pair--skip-whitespace. (Bug#17183)
1054
1055 2014-04-06 Eli Zaretskii <eliz@gnu.org>
1056
1057 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1058 "<F>". (Bug#17199)
1059
1060 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1061
1062 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1063 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1064
1065 2014-04-05 Glenn Morris <rgm@gnu.org>
1066
1067 * help.el (view-lossage): Doc tweak.
1068
1069 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
1070
1071 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1072 only when inhibit-x-resources is nil, and do that earlier in the
1073 function. Doc fix. (Bug#16694)
1074 (face-spec-choose): Accept additional optional argument, whose
1075 value is returned if no matching attributes are found.
1076 (face-spec-recalc): Use the new optional argument when calling
1077 face-spec-choose. (Bug#16378)
1078 (make-face-x-resource-internal): Do nothing when
1079 inhibit-x-resources is non-nil. Don't touch the default face if
1080 reversed video is given--as was done in previous versions of Emacs.
1081 (face-set-after-frame-default): Don't call
1082 make-face-x-resource-internal here. (Bug#16434)
1083
1084 2014-04-04 Tassilo Horn <tsdh@gnu.org>
1085
1086 * doc-view.el (doc-view-bookmark-jump):
1087 Use `bookmark-after-jump-hook' to jump to the right page after the
1088 buffer is shown in a window. (bug#16090)
1089
1090 2014-04-04 Eli Zaretskii <eliz@gnu.org>
1091
1092 * international/characters.el (mirroring): Fix last change:
1093 instead of loading uni-mirrored.el explicitly, do that implicitly
1094 by creating the 'mirroring' uniprop table. This avoids announcing
1095 the loading of uni-mirrored.el.
1096
1097 2014-04-04 Glenn Morris <rgm@gnu.org>
1098
1099 * files.el (buffer-stale--default-function)
1100 (buffer-stale-function, revert-buffer--default):
1101 * autorevert.el (auto-revert-buffers): Doc tweaks.
1102
1103 2014-04-03 Eli Zaretskii <eliz@gnu.org>
1104
1105 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1106
1107 2014-04-03 Glenn Morris <rgm@gnu.org>
1108
1109 * files.el (make-backup-file-name-function)
1110 (make-backup-file-name, make-backup-file-name--default-function)
1111 (make-backup-file-name-1, find-backup-file-name)
1112 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1113 (buffer-stale--default-function, buffer-stale-function)
1114 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1115 (revert-buffer, revert-buffer--default)
1116 (revert-buffer-insert-file-contents--default-function):
1117 Doc fixes related to defaults no longer being nil.
1118 (make-backup-file-name-function): Bump :version.
1119 Restore nil as a valid but deprecated custom type.
1120
1121 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1122
1123 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
1124 used as a variable (bug#17174).
1125
1126 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1127
1128 * progmodes/perl-mode.el (perl-indent-new-calculate):
1129 Handle forward-sexp failure (bug#16985).
1130 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1131 modifiers introducing expressions (bug#17116).
1132
1133 2014-04-02 Glenn Morris <rgm@gnu.org>
1134
1135 * menu-bar.el (menu-bar-file-menu):
1136 * vc/ediff.el (ediff-current-file):
1137 Update for revert-buffer-function no longer being nil by default.
1138
1139 * simple.el (command-execute): Respect nil disabled-command-function.
1140
1141 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1142
1143 * simple.el (command-execute): Do not execute the command when it
1144 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1145
1146 2014-03-29 Juri Linkov <juri@jurta.org>
1147
1148 * dired-aux.el (dired-compress-file): Don't use string-match-p
1149 because its match data is used afterwards.
1150
1151 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1152
1153 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1154 0 like nil.
1155
1156 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1157
1158 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1159 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1160
1161 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1162 Don't propertize `?' or `!' as symbol constituent when after
1163 colon. (Bug#17097)
1164
1165 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1166
1167 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1168 which is no longer needed and causes trouble in GTK builds (bug#17046).
1169
1170 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1171 Use url-insert-file-contents; package-handle-response no longer exists.
1172
1173 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1174
1175 * emacs-lisp/package.el: Fix bug#16733 (again).
1176 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1177 (url-http-target-url): Remove unused declarations.
1178 (package-handle-response): Remove.
1179 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1180 (package--download-one-archive): Use current-buffer instead of
1181 dynamic binding of `buffer'.
1182 (describe-package-1): Do not decode readme-string.
1183
1184 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
1185
1186 * simple.el (primitive-undo): Correction to 2014-03-24 change.
1187
1188 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
1189
1190 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1191
1192 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1193 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1194 `remote-file-name-inhibit-cache' to nil in the second pass.
1195 (tramp-find-executable): Do not call "which" on SunOS.
1196 (tramp-send-command-and-check): Fix docstring.
1197 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1198 check whether source directory has set the sticky bit.
1199
1200 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
1201
1202 * simple.el (primitive-undo): Only process marker adjustments
1203 validated against their corresponding (TEXT . POS). Issue warning
1204 for lone marker adjustments in undo history. (Bug#16818)
1205 (undo-make-selective-list): Add marker adjustments to selective
1206 undo list based on whether their corresponding (TEXT . POS) is in
1207 the region. Remove variable adjusted-markers, which was unused
1208 and only non nil during undo-make-selective-list.
1209 (undo-elt-in-region): Return nil when passed a marker adjustment
1210 and explain in function doc.
1211
1212 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1213
1214 * emacs-lisp/package.el (package--add-to-archive-contents):
1215 Include already installed and built-in packages in
1216 `package-archive-contents'.
1217 (package-install): Don't include already installed packages in the
1218 options during interactive invocation. (Bug#16762)
1219
1220 2014-03-24 Daniel Colascione <dancol@dancol.org>
1221
1222 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1223 instead of cl-loop search function.
1224
1225 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
1226
1227 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1228
1229 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1230
1231 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1232
1233 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1234
1235 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1236 Match special global variables without curlies, too.
1237 (ruby-font-lock-keywords): Simplify the matcher for special global
1238 variables. Don't require a non-word character after the variable.
1239 (Bug#17057)
1240
1241 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1242
1243 * simple.el (redisplay-highlight-region-function): Increase priority of
1244 overlay to make sure boundaries are visible (bug#15899).
1245
1246 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1247
1248 * frameset.el (frameset-restore): Compare display strings with equal.
1249
1250 * frame.el (make-frame): Don't quote display name in error message,
1251 it is already a string.
1252
1253 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1254
1255 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1256 the password.
1257
1258 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
1259
1260 * emacs-lisp/package.el (package-show-package-list): If the buffer
1261 is already displayed in another window, switch to that window.
1262
1263 2014-03-21 Daniel Colascione <dancol@dancol.org>
1264
1265 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1266 information in bug reports.
1267
1268 2014-03-23 Daniel Colascione <dancol@dancol.org>
1269
1270 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1271 list to look for keyword arguments instead of `memq', fixing
1272 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1273 Please make bootstrap.
1274
1275 2014-03-23 Richard Stallman <rms@gnu.org>
1276
1277 * battery.el (battery-linux-sysfs): Search for each field
1278 from the beginning of the buffer.
1279
1280 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1281
1282 * emacs-lisp/package.el (package-desc): Use the contents of the
1283 quoted form, not its cdr. (Bug#16873)
1284
1285 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1286
1287 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1288 benefit of doc.c; change parameter profile to match the X function.
1289
1290 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
1291
1292 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1293 and `tramp-copy-env'.
1294
1295 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1296 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1297
1298 2014-03-21 Glenn Morris <rgm@gnu.org>
1299
1300 * electric.el (electric-indent-post-self-insert-function): Add doc.
1301
1302 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1303
1304 * emacs-lisp/package.el (package-compute-transaction):
1305 Use `version-list-<=' to compare the requirement version against
1306 the version of package already to be installed. Update the error
1307 message. (Bug#16826)
1308
1309 * progmodes/ruby-mode.el (ruby-smie-rules):
1310 Add indentation rule for ` @ '. (Bug#17050)
1311
1312 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1313
1314 * align.el (align-regexp): Remove superfluous backslash.
1315
1316 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1317 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1318 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1319 Fix docstring typos.
1320 (ffap-next): Use C-u in docstring.
1321 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1322 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1323 Remove superfluous backslashes.
1324 (ffap-string-at-point): Reflow docstring.
1325
1326 * server.el (server-host): Reflow docstring.
1327 (server-unload-function): Fix docstring typo.
1328 (server-eval-at): Remove superfluous backslash.
1329
1330 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1331 (skeleton-insert): Doc fix.
1332 (skeleton-insert): Reflow docstring.
1333
1334 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1335 (tty-color-approximate, tty-color-by-index, tty-color-values)
1336 (tty-color-desc): Remove superfluous backslashes.
1337
1338 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1339
1340 * electric.el (electric-newline-and-maybe-indent): New command.
1341 Bind it globally to C-j.
1342 (electric-indent-mode): Don't mess with the global map any more.
1343 Don't drop the post-self-insert-hook is some buffer is still using it
1344 (bug#16770).
1345
1346 * bindings.el (global-map): Remove C-j binding.
1347
1348 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1349 the docstring of functions advised before dumping (bug#16993).
1350
1351 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
1352
1353 * ps-print.el (ps-generate-postscript-with-faces):
1354 Explicitly deactivate the mark (bug#16866).
1355 * simple.el (deactivate-mark): Update region highlight.
1356
1357 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
1358
1359 * emacs-lisp/package.el (describe-package-1):
1360 Decode commentary (bug#16733).
1361
1362 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
1363
1364 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1365 modification of the value argument of :set (bug#16755).
1366
1367 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1368
1369 * simple.el (newline-and-indent): Do autofill (bug#17031).
1370
1371 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1372
1373 * newcomment.el (comment-normalize-vars): Only add escaping check
1374 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1375 (comment-beginning): Use `narrow-to-region' instead of moving back
1376 one character.
1377 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1378 (comment-start-skip): Update the docstring.
1379
1380 2014-03-18 Richard Stallman <rms@gnu.org>
1381
1382 * dired.el (dired-display-file): Force use of other window.
1383
1384 2014-03-18 Daniel Colascione <dancol@dancol.org>
1385
1386 * startup.el (tty-handle-args): Remove debug message from 2007.
1387
1388 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1389
1390 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1391 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1392 (advice--make-1, advice-add, advice-remove):
1393 Remove braindead :advice-pending hack.
1394
1395 2014-03-17 Glenn Morris <rgm@gnu.org>
1396
1397 * calendar/calendar.el (calendar-generate-month): Apply weekend
1398 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1399
1400 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
1401
1402 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1403 (tramp-call-process): Trace also DESTINATION.
1404
1405 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1406 Quote file names when they are local. Remove superfluous trace.
1407
1408 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1409
1410 * newcomment.el (comment-beginning): If `comment-start-skip'
1411 doesn't match, move back one char and try again. (Bug#16971)
1412
1413 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1414 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
1415 Set `comment-start-skip' to a simpler value that doesn't try to
1416 check if the semicolon is escaped (this is handled by
1417 `syntax-ppss' now). (Bug#16971)
1418
1419 * progmodes/scheme.el (scheme-mode-variables): Same.
1420
1421 2014-03-16 Martin Rudalics <rudalics@gmx.at>
1422
1423 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1424 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1425 current (Bug#16816, Bug#17007).
1426 (with-current-buffer-window): New macro doing the same as
1427 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1428 * help.el (help-print-return-message): Warn in doc-string to not
1429 use this in `with-help-window'.
1430 (describe-bindings-internal): Call `describe-buffer-bindings'
1431 from within help buffer. See Juanma's scenario in (Bug#16816).
1432 (with-help-window): Update doc-string.
1433 * dired.el (dired-mark-pop-up):
1434 * files.el (save-buffers-kill-emacs):
1435 * register.el (register-preview): Use `with-current-buffer-window'
1436 instead of `with-temp-buffer-window'.
1437
1438 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
1439
1440 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1441 Implement inserting into current buffer, documented in their docstrings.
1442 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1443 (rst-section-tree-point, rst-forward-section, rst-indent)
1444 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1445 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1446 (rst-font-lock-handle-adornment-pre-match-form)
1447 (rst-repeat-last-character): Reflow docstrings.
1448 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1449 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1450 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1451 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1452 Fix docstring typos.
1453 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1454 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1455 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1456
1457 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
1458
1459 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1460 for compatibility with other ports.
1461 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1462 from the -xrm command line argument, but in the Nextstep port its value
1463 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1464
1465 * progmodes/python.el (defconst, python-syntax-count-quotes)
1466 (python-indent-region, python-indent-shift-right)
1467 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1468 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1469 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1470 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1471 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1472 (python-shell-buffer-substring, python-shell-send-buffer)
1473 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1474 (python-completion-complete-at-point, python-fill-docstring-style)
1475 (python-eldoc-function, python-imenu-format-item-label)
1476 (python-imenu-format-parent-item-label)
1477 (python-imenu-format-parent-item-jump-label)
1478 (python-imenu--build-tree, python-imenu-create-index)
1479 (python-imenu-create-flat-index): Fix docstring typos.
1480 (python-indent-context, python-shell-prompt-regexp, run-python):
1481 Remove superfluous backslashes.
1482 (python-indent-line, python-nav-beginning-of-defun)
1483 (python-shell-get-buffer, python-shell-get-process)
1484 (python-info-current-defun, python-info-current-line-comment-p)
1485 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1486 (python-indent-post-self-insert-function, python-shell-send-file)
1487 (python-shell-completion-get-completions)
1488 (python-shell-completion-complete-or-indent)
1489 (python-eldoc--get-doc-at-point): Reflow docstrings.
1490
1491 2014-03-14 Glenn Morris <rgm@gnu.org>
1492
1493 * emacs-lisp/package.el (package-menu-mode-map):
1494 Replace use of obsolete function alias. Tweak menu item text.
1495
1496 * info.el (Info-finder-find-node):
1497 Ignore the `emacs' metapackage. (Bug#10813)
1498
1499 * finder.el (finder-list-matches): Include unversioned packages
1500 in the result of a keyword search.
1501
1502 * finder.el (finder--builtins-descriptions): New constant.
1503 (finder-compile-keywords): Use finder--builtins-descriptions.
1504
1505 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1506
1507 * simple.el (blink-matching-paren): Describe the new value,
1508 `jump', enabling the old behavior.
1509 (blink-matching-open): Use that value. (Bug#17008)
1510
1511 2014-03-14 Glenn Morris <rgm@gnu.org>
1512
1513 * finder.el (finder-no-scan-regexp): Add leim-list.
1514 (finder-compile-keywords):
1515 Don't skip files with same basename. (Bug#14010)
1516 * Makefile.in (setwins_finder): New, excluding leim.
1517 (finder-data): Use setwins_finder.
1518
1519 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1520 (help-function-arglist, help-make-usage): Move from here...
1521 * help.el (help-split-fundoc, help-add-fundoc-usage)
1522 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
1523 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1524
1525 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
1526
1527 * net/socks.el (socks, socks-override-functions)
1528 (socks-find-services-entry):
1529 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
1530 (hif-find-ifdef-block):
1531 * progmodes/modula2.el (m2-indent): Fix docstring typos.
1532
1533 * net/tls.el (tls-program): Reflow docstring.
1534
1535 * progmodes/pascal.el (pascal-mode-abbrev-table)
1536 (pascal-imenu-generic-expression, pascal-auto-endcomments)
1537 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
1538 (pascal-outline-mode): Fix docstring typos.
1539 (pascal-mode): Let define-derived-mode document mode hook.
1540 (pascal-uncomment-area): Reflow.
1541 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
1542
1543 * progmodes/opascal.el (opascal-compound-block-indent)
1544 (opascal-case-label-indent): Fix docstring typos.
1545 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
1546
1547 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
1548
1549 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1550 Fontify multiple adjacent negation chars. (Bug#17004)
1551
1552 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
1553
1554 * emacs-lisp/package.el (package--prepare-dependencies):
1555 Accept requirements without explicit version (bug#14941).
1556
1557 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1558
1559 * register.el (register-separator, copy-to-register): Doc fixes.
1560 (register-preview-default): Remove unnecessary call to concat.
1561
1562 * frameset.el (frameset-restore): When checking for a visible frame,
1563 use the action map instead of calling visible-frame-list.
1564
1565 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
1566
1567 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
1568
1569 2014-03-12 Martin Rudalics <rudalics@gmx.at>
1570
1571 * window.el (fit-frame-to-buffer): Get maximum width from
1572 display's width instead of height.
1573
1574 2014-03-12 Glenn Morris <rgm@gnu.org>
1575
1576 * desktop.el (desktop-restore-frames)
1577 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
1578 (desktop-restore-reuses-frames): Doc tweaks.
1579
1580 * electric.el (electric-indent-mode): Doc fix.
1581
1582 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1583
1584 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
1585 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
1586 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
1587 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
1588 (cvs-dired-use-hook): Fix docstring typos.
1589 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
1590 Doc fixes.
1591
1592 * vc/pcvs-defs.el (cvs-auto-remove-handled)
1593 (cvs-auto-remove-directories, cvs-default-ignore-marks)
1594 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
1595 (cvs-execute-single-dir): Fix docstring typos.
1596
1597 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
1598 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
1599
1600 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
1601
1602 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
1603 Fix docstring typos.
1604
1605 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
1606
1607 * frameset.el (frameset--jump-to-register): Add autoload; it could be
1608 called from jump-to-register after unloading the frameset package.
1609
1610 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1611
1612 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
1613 (bug#16975). Deactivate the mark before setting it to nil.
1614 (activate-mark): Do nothing if region is already active.
1615
1616 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1617
1618 * frameset.el (frameset--target-display): Remove definition; declare.
1619 (frameset-save, frameset-restore): Let-bind frameset--target-display.
1620
1621 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1622
1623 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
1624 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
1625 when the advice is pending.
1626 (advice-remove): Remove this marker when not needed any more.
1627
1628 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
1629
1630 * frameset.el: Separate options for reusing frames and cleaning up.
1631 (frameset--reuse-list): Remove definition; declare.
1632 (frameset--action-map): Declare.
1633 (frameset--find-frame-if): Doc fix.
1634 (frameset--restore-frame): Cache frame action.
1635 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
1636 how to clean up the frame list after restoring. Remove cleaning
1637 options from REUSE-FRAMES. Change all keyword values to symbols.
1638 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
1639
1640 * desktop.el (desktop-restore-forces-onscreen)
1641 (desktop-restore-reuses-frames): Use non-keyword values.
1642 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
1643
1644 2014-03-10 Glenn Morris <rgm@gnu.org>
1645
1646 * files.el (find-file): Doc fix: update info node name.
1647
1648 * emacs-lisp/advice.el (ad-add-advice, defadvice):
1649 Doc fix: remove references to deleted info nodes.
1650
1651 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
1652
1653 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1654 Do not add `nil' to the environment, when there's no remote `locale'.
1655 (tramp-find-inline-encoding): Check, that the remote host has
1656 installed perl, before sending scripts.
1657
1658 2014-03-10 Leo Liu <sdl.web@gmail.com>
1659
1660 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1661 Clear eldoc-last-message. (Bug#16920)
1662
1663 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1664
1665 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
1666 (bug#14430).
1667
1668 2014-03-09 Juri Linkov <juri@jurta.org>
1669
1670 * ansi-color.el (ansi-color-names-vector): Copy default colors
1671 from `xterm-standard-colors' that look well on the default white
1672 background (and also on the black background) to avoid illegible
1673 color combinations like yellow-on-white and white-on-white.
1674 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
1675
1676 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
1677
1678 * frameset.el (frameset-restore): When no frame is visible, do not
1679 generate a list of frames, just make visible the selected one.
1680
1681 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
1682
1683 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
1684 it only contains the repository root. (Bug#16897)
1685
1686 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
1687
1688 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
1689 only when `remote-file-name-inhibit-cache' is nil.
1690 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
1691
1692 2014-03-06 Martin Rudalics <rudalics@gmx.at>
1693
1694 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
1695 Fix doc-strings.
1696 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
1697 fit-frame-to-buffer variable. Fix doc-string.
1698 (fit-window-to-buffer): Set ONLY argument in call of
1699 fit-frame-to-buffer. Fix doc-string.
1700
1701 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
1702
1703 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
1704 (tramp-action-password): Clear password cache if needed.
1705 (tramp-read-passwd): Do not clear password cache.
1706
1707 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
1708 cache unless it is the first password request.
1709
1710 2014-03-06 Glenn Morris <rgm@gnu.org>
1711
1712 * simple.el (newline): Doc tweak.
1713
1714 * emacs-lisp/shadow.el (load-path-shadows-find):
1715 Ignore dir-locals. (Bug#12357)
1716
1717 2014-03-05 Glenn Morris <rgm@gnu.org>
1718
1719 * files.el (interpreter-mode-alist):
1720 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
1721
1722 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1723
1724 * frameset.el (frameset--initial-params): Filter out null entries.
1725
1726 2014-03-05 Martin Rudalics <rudalics@gmx.at>
1727
1728 * window.el (window-min-height, window-min-width):
1729 Rewrite doc-strings.
1730 (window-body-size): Add PIXELWISE argument to make it consistent
1731 with its callees.
1732
1733 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
1734
1735 * finder.el (finder-mode-map, finder-mode-syntax-table):
1736 Revert part of 2014-02-28 change.
1737
1738 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
1739
1740 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
1741 (eww-setup-buffer): Clear next/prev/etc more reliably.
1742 (eww-textarea-map): [tab] doesn't work on tty.
1743 Reported by Mario Lang.
1744
1745 * net/shr.el (shr-map): Ditto.
1746
1747 2014-03-04 Glenn Morris <rgm@gnu.org>
1748
1749 * minibuffer.el (completion-hilit-commonality):
1750 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
1751
1752 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1753
1754 * hilit-chg.el (hilit-chg-unload-function): New function.
1755 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
1756 (hilit-chg-map-changes): Prefer cardinal number to digit.
1757 (hilit-chg-display-changes): Reflow docstring.
1758 (highlight-changes-rotate-faces): Remove superfluous backslash.
1759
1760 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
1761
1762 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
1763 `tramp-send-command-and-check'.
1764
1765 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
1766
1767 * hexl.el (hexl-address-region, hexl-ascii-region)
1768 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
1769 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
1770 (hexl-forward-word, hexl-previous-line, hexl-next-line):
1771 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
1772 (hexl-mode): Doc fix.
1773 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
1774 (hexl-mode-ruler): Fix typos in docstrings.
1775
1776 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
1777 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
1778 Remove superfluous backslashes.
1779 (strokes-last-stroke, strokes-global-map, strokes-mode):
1780 Reflow docstrings.
1781 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
1782 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
1783 (strokes-distance-squared, strokes-global-set-stroke)
1784 (strokes-global-set-stroke-string): Doc fixes.
1785 (strokes-help): Fix typos; reflow docstring.
1786
1787 2014-03-04 Martin Rudalics <rudalics@gmx.at>
1788
1789 * window.el (window-in-direction): Fix doc-string.
1790
1791 2014-03-04 Glenn Morris <rgm@gnu.org>
1792
1793 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
1794 Explicit error if no grammar.
1795 (smie-config-save): Doc fix. Fix quote typo.
1796
1797 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
1798
1799 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
1800 electric-indent-mode-hook if we obey electric-indent-mode.
1801 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
1802 decide whether we obey electric-indent-mode.
1803 (c-change-set-fl-decl-start, c-extend-after-change-region):
1804 Silence warnings.
1805 (c-electric-indent-mode-hook): Assume we do want to obey
1806 electric-indent-mode.
1807
1808 * electric.el (electric-indent-mode-has-been-called): Remove.
1809 (electric-indent-mode): Fix accordingly.
1810
1811 * files.el (hack-local-variables): Mention file name in warning.
1812
1813 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
1814
1815 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
1816
1817 * bindings.el: Add comment describing why C-d binds to `delete-char'.
1818 * simple.el (delete-forward-char): Mark as interactive-only.
1819
1820 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
1821
1822 * icomplete.el (icomplete-completions):
1823 Follow-up to 2014-03-01 change.
1824
1825 * icomplete.el: Miscellaneous doc fixes.
1826 Use Icomplete everywhere instead of icomplete for consistency.
1827 (icomplete-max-delay-chars): Fix typo.
1828 (icomplete-mode): Use \[].
1829 (icomplete-tidy, icomplete-exhibit): Reflow.
1830 (icomplete-minibuffer-setup-hook, icomplete-completions):
1831 Remove superfluous backlashes.
1832
1833 * ido.el: Miscellaneous doc fixes.
1834 Use Ido everywhere instead of ido or `ido' for consistency.
1835 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
1836 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
1837 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
1838 (ido-separator): Extract obsolescence info from docstring and declare
1839 with make-obsolete-variable.
1840 (ido-minibuffer-setup-hook): Simplify example.
1841 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
1842 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
1843 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
1844 (ido-everywhere): Reflow docstring.
1845 (ido-toggle-vc): Doc fix.
1846 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
1847 of long list of keybindings.
1848
1849 2014-03-03 Glenn Morris <rgm@gnu.org>
1850
1851 * frame.el (display-pixel-height, display-pixel-width)
1852 (display-mm-dimensions-alist, display-mm-height)
1853 (display-mm-width): Doc tweaks.
1854
1855 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
1856
1857 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
1858 case of undo in region.
1859
1860 2014-03-02 Martin Rudalics <rudalics@gmx.at>
1861
1862 * window.el (fit-window-to-buffer): Fix argument in window-size
1863 call when window is horizontally combined.
1864
1865 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
1866
1867 * icomplete.el (icomplete-completions): Use string-width.
1868 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
1869
1870 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
1871
1872 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1873 Highlight regexp options. (Bug#16914)
1874
1875 2014-03-01 Martin Rudalics <rudalics@gmx.at>
1876
1877 * window.el (window--max-delta-1): Round down when calculating
1878 how many lines/columns we can get from a window.
1879
1880 2014-03-01 Glenn Morris <rgm@gnu.org>
1881
1882 * isearch.el (search-invisible): Doc fix.
1883
1884 * minibuffer.el (completion-hilit-commonality):
1885 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
1886 * comint.el (comint-dynamic-list-completions): Doc fix.
1887 * comint.el (comint-dynamic-list-completions):
1888 * filecache.el (file-cache-minibuffer-complete):
1889 * tempo.el (tempo-display-completions):
1890 * eshell/em-hist.el (eshell-list-history):
1891 Replace use of obsolete argument of display-completion-list.
1892
1893 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
1894
1895 * icomplete.el (icomplete-completions):
1896 Revert back to using "..." when ?… cannot be displayed.
1897
1898 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1899
1900 * finder.el (finder-unload-function): New function.
1901
1902 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
1903
1904 * dframe.el (dframe-detach):
1905 * find-dired.el (find-dired, find-name-dired):
1906 * finder.el (finder-mode-map, finder-mode-syntax-table)
1907 (finder-headmark, finder-select, finder-mouse-select):
1908 Fix docstring typos.
1909
1910 2014-02-28 Martin Rudalics <rudalics@gmx.at>
1911
1912 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
1913 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
1914 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
1915 Fix doc-string based on a suggestion by Nicolas Richard
1916 <theonewiththeevillook@yahoo.fr>.
1917 * help.el (with-help-window): Fix doc-string.
1918
1919 2014-02-28 Ivan Kanis <ivan@kanis.fr>
1920
1921 * net/shr.el (shr-image-animate): New option.
1922 (shr-put-image): Respect shr-image-animate.
1923
1924 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
1925
1926 * net/tramp-adb.el (tramp-adb-parse-device-names):
1927 Use `accept-process-output'.
1928 (tramp-adb-handle-file-truename): Cache the localname only.
1929 (tramp-adb-handle-make-directory)
1930 (tramp-adb-handle-delete-directory): Flush file properties correctly.
1931 (tramp-adb-handle-set-file-modes): Do not raise an error when file
1932 modes cannot be changed.
1933
1934 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
1935 file properties of symlinks.
1936
1937 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
1938
1939 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
1940 required/optional fields to match development biblatex. (Bug#16781)
1941
1942 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
1943
1944 * saveplace.el (toggle-save-place):
1945 Fix argument handling. (Bug#16673)
1946
1947 2014-02-28 Glenn Morris <rgm@gnu.org>
1948
1949 * minibuffer.el (completions-first-difference)
1950 (completions-common-part, completion-hilit-commonality): Doc fixes.
1951
1952 2014-02-28 Karl Berry <karl@gnu.org>
1953
1954 * info.el (Info-mode-map): Add H for describe-mode,
1955 to synchronize with standalone Info.
1956
1957 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
1958
1959 * progmodes/sql.el (sql-interactive-mode):
1960 Avoid setting global comint-input-ring-separator. (Bug#16814)
1961
1962 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1963
1964 * net/dbus.el (dbus--init-bus): Declare function.
1965 (dbus-path-local, dbus-interface-local): New defconst.
1966 (dbus-init-bus): Use them.
1967 (dbus-return-values-table): Extend doc.
1968 (dbus-handle-bus-disconnect): Extend error message.
1969
1970 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
1971
1972 * subr.el (y-or-n-p): Fix double space issue in message.
1973
1974 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
1975
1976 * net/tramp.el (tramp-call-process): Improve trace message.
1977 (tramp-handle-insert-file-contents): Trace error case.
1978
1979 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
1980 <insert-directory>: Use `tramp-handle-insert-directory'.
1981 (tramp-adb-handle-insert-directory): Remove function.
1982 (tramp-adb-send-command-and-check): New defun, replacing
1983 `tramp-adb-command-exit-status'. Change all callees.
1984 (tramp-adb-handle-file-attributes)
1985 (tramp-adb-handle-directory-files-and-attributes): Use it.
1986 (tramp-adb-ls-output-name-less-p):
1987 Use `directory-listing-before-filename-regexp'.
1988 (tramp-adb-handle-delete-directory): Flush also file properties of
1989 the truename of directory.
1990 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
1991 (tramp-adb-handle-file-local-copy): Make the local copy readable.
1992 (tramp-adb-handle-write-region): Implement APPEND.
1993 (tramp-adb-handle-rename-file): Make it more robust. Flush file
1994 properties correctly.
1995 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
1996 variables. Check for connected devices only when needed.
1997
1998 2014-02-27 Glenn Morris <rgm@gnu.org>
1999
2000 * minibuffer.el (completion-table-dynamic)
2001 (completion-table-with-cache): Doc fixes.
2002
2003 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2004 (completing-read-multiple): Doc fixes.
2005
2006 2014-02-27 Daniel Colascione <dancol@dancol.org>
2007
2008 * minibuffer.el (completion--nth-completion): Fix indentation.
2009
2010 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2011 explicit tramp path is empty.
2012
2013 2014-02-27 Glenn Morris <rgm@gnu.org>
2014
2015 * emacs-lisp/crm.el (completing-read-multiple):
2016 Empower help-enable-auto-load.
2017
2018 2014-02-26 Glenn Morris <rgm@gnu.org>
2019
2020 * startup.el (command-line): Don't init the tty in daemon mode.
2021
2022 Avoid calling tty-setup-hook twice, eg if a term file
2023 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2024 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2025 (tty-create-frame-with-faces): Use it.
2026 * startup.el (command-line): Pass run-hook argument
2027 to tty-run-terminal-initialization.
2028
2029 * dired.el (dired-restore-desktop-buffer): Demote errors;
2030 eg in case a glob match fails. (Bug#16884)
2031
2032 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2033
2034 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2035 error from `read-from-string'. (Bug#16850)
2036
2037 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2038 result of `completing-read' in the interactive form. (Bug#16854)
2039
2040 2014-02-25 Glenn Morris <rgm@gnu.org>
2041
2042 * image.el (image-animate, image-animate-timeout):
2043 Stop animating images in dead buffers. (Bug#16878)
2044
2045 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2046
2047 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2048 Doc fixes.
2049 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2050 * term/sun.el (sun-raw-prefix-hooks):
2051 Use tty-setup-hook instead of term-setup-hook.
2052 (terminal-init-sun): Construct message from bytecomp plist.
2053 * term/wyse50.el (enable-arrow-keys): Doc fix.
2054
2055 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2056
2057 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2058 Fix docstring typos.
2059
2060 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2061
2062 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2063
2064 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2065
2066 * minibuffer.el (completion--try-word-completion):
2067 Fix error when completing M-x commands (bug#16808).
2068
2069 2014-02-24 Leo Liu <sdl.web@gmail.com>
2070
2071 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2072
2073 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2074
2075 * apropos.el (apropos-print): Avoid formatting error when
2076 apropos-do-all and apropos-compact-layout are both t.
2077
2078 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2079
2080 * apropos.el (apropos-property, apropos-all-words-regexp)
2081 (apropos-true-hit, apropos-variable, apropos-print):
2082 Fix docstring typos, and remove obsolete comment.
2083
2084 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2085
2086 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2087 Preserve trailing "/". (Bug#16851)
2088
2089 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2090
2091 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2092 after `=>' (bug#16811).
2093 (ruby-smie-rules): Handle the inconsistent second element of the
2094 list returned by `smie-indent--parent'.
2095 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2096 method call.
2097
2098 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2099
2100 * elec-pair.el (electric-pair-text-syntax-table)
2101 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2102 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2103 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2104 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2105
2106 2014-02-22 Glenn Morris <rgm@gnu.org>
2107
2108 * imenu.el (imenu--generic-function): Doc fix.
2109
2110 * register.el (frame-configuration-to-register): Make obsolete.
2111
2112 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2113
2114 * desktop.el (desktop-save-buffer-p): Do not fail when
2115 desktop-files-not-to-save is nil. Return t for true result
2116 as the doc says.
2117
2118 2014-02-22 Daniel Colascione <dancol@dancol.org>
2119
2120 * net/secrets.el (secrets-create-item, secrets-search-items):
2121 Check that attribute values are strings, avoiding the construction
2122 of invalid dbus messages.
2123
2124 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2125
2126 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2127 defun-declarations-alist.
2128
2129 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2130
2131 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2132 (bug#16829).
2133
2134 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2135
2136 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2137 (whitespace-newline, whitespace-trailing, whitespace-line)
2138 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2139 (whitespace-space-after-tab): Fix typo in docstrings.
2140
2141 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2142
2143 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2144
2145 * electric.el (electric-indent-functions-without-reindent):
2146 Add `yaml-indent-line'.
2147
2148 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2149
2150 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2151 It has done nothing for years; should be removed after the release.
2152
2153 * simple.el (choose-completion): Fix docstring typo.
2154 (read-quoted-char-radix): Remove unneeded * in docstring.
2155 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2156 Don't escape parentheses unnecessarily in docstrings.
2157
2158 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2159
2160 Fix handling of window-min-height/-width (Bug#16738).
2161 * window.el (window--dump-window, window--dump-frame):
2162 New functions.
2163 (window--min-size-1): Account for window dividers.
2164 When window-resize-pixelwise is nil, delay rounding till after the
2165 sum of the window components has been calculated.
2166 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2167 nil make sure at least one text line and two text columns remain
2168 fully visible.
2169 (window-resize): Signal an error when window-resize-apply fails.
2170 (window--resize-child-windows): Fix calculation of by how many
2171 pixels a window can still be shrunk via window-new-normal.
2172 (adjust-window-trailing-edge): Call window--resizable with
2173 correct TRAIL argument.
2174
2175 (with-temp-buffer-window): Don't evaluate BODY within
2176 with-current-buffer (Bug#16816).
2177
2178 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2179
2180 * net/tramp.el (tramp-check-cached-permissions):
2181 Call `file-attributes' with `suffix' being a symbol but a string.
2182
2183 2014-02-21 Daniel Colascione <dancol@dancol.org>
2184
2185 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2186 (dbus-init-bus): New function: call into dbus-init-bus-1
2187 and installs a handler for the disconnect signal.
2188 (dbus-call-method): Rewrite to look for result in cons.
2189 (dbus-call-method-handler): Store result in cons.
2190 (dbus-check-event): Recognize events with nil sender as valid.
2191 (dbus-handle-bus-disconnect): New function. React to bus
2192 disconnection signal by synthesizing dbus error for each
2193 pending synchronous or asynchronous call.
2194 (dbus-notice-synchronous-call-errors): New function.
2195 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2196 is true, not all the time.
2197
2198 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2199
2200 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2201 Remove obsolescence declarations, these variables do not exist anymore.
2202
2203 * savehist.el (savehist-save-minibuffer-history)
2204 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2205 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2206 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2207 mostly, refer to "Savehist mode" when talking about the mode,
2208 and not the function.
2209
2210 * saveplace.el (save-place): Remove redundant info in docstring.
2211 (save-place-forget-unreadable-files, toggle-save-place)
2212 (save-place-forget-unreadable-files, save-place-dired-hook):
2213 Fix typos and remove unneeded backslashes.
2214
2215 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2216
2217 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2218 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2219
2220 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2221 <insert-directory>: Use `tramp-handle-insert-directory'.
2222 (tramp-gvfs-handle-insert-directory): Remove function.
2223
2224 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2225 Call `tramp-handle-insert-directory'.
2226
2227 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2228
2229 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2230 before the start of buffer/region (bug#16799).
2231
2232 2014-02-20 Glenn Morris <rgm@gnu.org>
2233
2234 * isearch.el (search-invisible): Doc fix.
2235
2236 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2237
2238 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2239 (bug#16657).
2240
2241 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2242
2243 * frameset.el (frameset-restore): Delay removing an old frame's
2244 duplicate id until the new frame has been correctly created.
2245
2246 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2247
2248 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2249 (tramp-check-cached-permissions): Call `file-attributes' if the
2250 cache is empty.
2251
2252 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2253 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2254
2255 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2256 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2257 (tramp-gvfs-maybe-open-connection): Set always connection
2258 properties, even if target is mounted already.
2259
2260 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2261 Set tramp-autoload cookie.
2262 (tramp-get-remote-touch): New defun.
2263 (tramp-sh-handle-set-file-times): Use it.
2264 (tramp-sh-handle-directory-files-and-attributes):
2265 Use `tramp-handle-directory-files-and-attributes' if neither stat
2266 nor perl are available on the remote host.
2267
2268 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2269 "/". Write long listing only when "l" belongs to the switches.
2270
2271 * net/trampver.el: Update release number.
2272
2273 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2274
2275 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2276
2277 2014-02-19 Martin Rudalics <rudalics@gmx.at>
2278
2279 * window.el (window-state-put): Allow WINDOW to refer to an
2280 internal window (Bug#16793).
2281
2282 2014-02-19 Glenn Morris <rgm@gnu.org>
2283
2284 * textmodes/remember.el: Move provide statement to end.
2285 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2286 (remember-notes): Doc fixes.
2287
2288 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2289
2290 * delsel.el (delete-char): Restore incorrectly erased property
2291 (bug#16795).
2292
2293 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2294
2295 * frameset.el (frameset--restore-frame): When a frame is being reused
2296 and its root window is not alive, delete all the frame's windows before
2297 restoring the window state. This works around the issue in bug#16793.
2298
2299 2014-02-18 Glenn Morris <rgm@gnu.org>
2300
2301 * textmodes/remember.el (remember-data-directory)
2302 (remember-directory-file-name-format, remember-store-in-files)
2303 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2304 (remember-notes-save-and-bury-buffer)
2305 (remember-notes--kill-buffer-query): Doc fixes.
2306
2307 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2308
2309 2014-02-17 Alan Mackenzie <acm@muc.de>
2310
2311 Connect electric-indent-mode up with CC Mode. Bug #15478.
2312 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2313 to electric-indent-{,local-}-mode.
2314 (c-basic-common-init): Set electric-indent-inhibit.
2315 Initialise c-electric-flag from electric-indent-mode.
2316 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2317 New hook functions which propagate electric-indent-mode to CC mode.
2318
2319 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2320 hit, toggle electric-indent-local-mode.
2321
2322 * electric.el (electric-indent-mode-has-been-called):
2323 New variable.
2324
2325 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
2326
2327 * frameset.el (frameset-cfg-id): New function.
2328 (frameset--reuse-frame, frameset-restore): Use it.
2329 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2330
2331 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2332
2333 * ido.el (ido-file-internal): Remove unused var `d'.
2334 Use \` for to match BoS. Fit within 80n columns.
2335
2336 2014-02-17 Daniel Colascione <dancol@dancol.org>
2337
2338 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2339 dbus-call-method check for completion using a busy-wait loop with
2340 gradual backoff.
2341
2342 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
2343
2344 Sync with Tramp 2.2.9.
2345
2346 * net/trampver.el: Update release number.
2347
2348 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2349
2350 * ido.el (ido-file-internal): Don't add the name of an existing
2351 directory twice. (Bug#16747)
2352
2353 2014-02-16 Glenn Morris <rgm@gnu.org>
2354
2355 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2356 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2357
2358 2014-02-15 Michael R. Mauger <michael@mauger.com>
2359
2360 * progmodes/sql.el: Version 3.4
2361 (sql-oracle-options): New default value ("-L").
2362 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
2363 (sql-placeholders-filter): Correct placeholder pattern.
2364 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
2365 (sql-login-delay): New variable.
2366 (sql-product-interactive): Use it.
2367
2368 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
2369
2370 * frameset.el (frameset--jump-to-register): Check that buffer is live
2371 (bug#16749).
2372
2373 2014-02-15 Glenn Morris <rgm@gnu.org>
2374
2375 * info.el (info-initialize): Revert 2014-01-10 change.
2376
2377 2014-02-14 Glenn Morris <rgm@gnu.org>
2378
2379 * replace.el (map-query-replace-regexp)
2380 (read-regexp-defaults-function, read-regexp): Doc fixes.
2381
2382 * dired.el (dired-read-regexp):
2383 * faces.el (list-faces-display):
2384 * misearch.el (multi-isearch-read-matching-buffers)
2385 (multi-isearch-read-matching-files):
2386 * play/cookie1.el (cookie-apropos):
2387 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2388
2389 * textmodes/remember.el (remember): Use frameset-to-register
2390 rather than frame-configuration-to-register.
2391
2392 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2393
2394 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2395 incorrect keybinding.
2396
2397 2014-02-13 Daniel Colascione <dancol@dancol.org>
2398
2399 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2400 when adding overlays so that line numbers from compiler match line
2401 numbers we use.
2402
2403 2014-02-13 Glenn Morris <rgm@gnu.org>
2404
2405 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2406
2407 * jit-lock.el (jit-lock-mode): Doc fix.
2408
2409 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
2410
2411 * apropos.el (apropos-read-pattern): When the user passes an empty
2412 string, give a more helpful error message than "Wrong type
2413 argument: stringp, nil".
2414
2415 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2416
2417 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2418
2419 2014-02-13 Glenn Morris <rgm@gnu.org>
2420
2421 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2422
2423 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2424
2425 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2426 shift-select commands.
2427
2428 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2429
2430 * progmodes/js.el (js-indent-line): Don't widen.
2431 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2432
2433 2014-02-12 Glenn Morris <rgm@gnu.org>
2434
2435 * icomplete.el (icomplete): Add info-link to defgroup.
2436 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2437 (icomplete-minibuffer-map, icomplete-mode)
2438 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2439
2440 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2441 (package-menu-filter): Rename from package-menu-filter-interactive.
2442 Doc fix.
2443
2444 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
2445
2446 * frameset.el (frameset--jump-to-register): Select the required
2447 window and buffer before restoring position (bug#16696).
2448
2449 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2450
2451 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2452
2453 2014-02-10 Glenn Morris <rgm@gnu.org>
2454
2455 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2456
2457 2014-02-10 Eli Zaretskii <eliz@gnu.org>
2458
2459 * w32-common-fns.el (x-get-selection): Doc fix.
2460 * select.el (x-get-selection): Doc fix. (Bug#15109)
2461
2462 * face-remap.el (face-remap-add-relative)
2463 (face-remap-remove-relative, face-remap-reset-base)
2464 (face-remap-set-base): Call force-mode-line-update to redisplay
2465 the current buffer due to potential change in faces. (Bug#16709)
2466
2467 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
2468
2469 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2470 script more robustly.
2471
2472 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2473
2474 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2475
2476 * simple.el (choose-completion): Doc fix (bug#14160).
2477
2478 * subr.el (event-start): Say what a nil EVENT value means.
2479
2480 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2481 (bug#14197).
2482
2483 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2484
2485 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2486
2487 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2488
2489 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2490 predicate function (bug#15455).
2491
2492 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2493
2494 * ielm.el (inferior-emacs-lisp-mode): Instead of
2495 `comment-use-global-state', set `comment-use-syntax'.
2496
2497 2014-02-10 Glenn Morris <rgm@gnu.org>
2498
2499 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2500
2501 2014-02-09 Alan Mackenzie <acm@muc.de>
2502
2503 Fix c-invalidate-state-cache on narrowed buffers.
2504 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2505 Widen when setting and clearing the CPP delimiter properties.
2506
2507 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2508
2509 * help.el (describe-bindings): Doc fix (bug#9888).
2510
2511 * files.el (save-buffer): Use ARG as the parameter name for
2512 consistency (bug#10346).
2513 (save-buffer): Clarify the 0 argument (bug#10346).
2514
2515 * cus-edit.el (customize-apropos): Fix error string.
2516 (custom-buffer-create): Doc fix (bug#11122).
2517 (custom-sort-items): Doc fix (bug#11121).
2518
2519 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2520
2521 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
2522 (icomplete-simple-completing-p): Mention the previous variable.
2523
2524 * font-lock.el (font-lock-value-in-major-mode): Clarify the
2525 meaning of the parameter (bug#12282).
2526
2527 * files.el (find-file-noselect): Clarify prompt when changing
2528 readedness (bug#13261).
2529 (locate-file): Suffixes aren't returned, so don't say that they
2530 are (bug#12674).
2531 (backup-inhibited): Doc clarification (bug#12525).
2532
2533 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
2534 before we actually start to delete things (bug#16331).
2535
2536 * subr.el (event-start): Doc fix (bug#14228).
2537 (event-end): Ditto.
2538
2539 2014-02-09 Glenn Morris <rgm@gnu.org>
2540
2541 * emacs-lisp/warnings.el (lwarn):
2542 Empower help-enable-auto-load. (Bug#15940)
2543
2544 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
2545
2546 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
2547 (Bug#16690)
2548
2549 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
2550
2551 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2552 Insert output at end of buffer. (Bug#16120)
2553
2554 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2555
2556 * simple.el (choose-completion-string-functions): Document new
2557 calling convention (bug#14153).
2558 (execute-extended-command): Clarify doc string (bug#13373).
2559
2560 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
2561
2562 * find-dired.el (find-name-dired): Doc fix (bug#14290).
2563 (find-grep-dired): Doc fix (bug#14288).
2564
2565 2014-02-08 Juri Linkov <juri@jurta.org>
2566
2567 * isearch.el (isearch-quote-char): Check character validity
2568 like in `quoted-insert' (bug#16677).
2569
2570 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
2571
2572 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
2573
2574 * isearch.el (isearch-hide-immediately): Doc clarification
2575 (bug#14723).
2576
2577 * simple.el (line-move): Document utility function used many
2578 places in the Emacs sources (bug#14843).
2579
2580 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
2581 (dired-prev-marked-file): Doc fix (bug#14855).
2582 (dired-up-directory): Doc fix (bug#14848).
2583
2584 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
2585
2586 * files.el (file-relative-name): Doc fix (bug#15159).
2587
2588 * fringe.el (fringe-styles): Doc fix (bug#15239).
2589
2590 * isearch.el (isearch-filter-predicate): Documentation typo fix
2591 (bug#15474).
2592
2593 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
2594
2595 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
2596
2597 * replace.el (replace-match-maybe-edit): Doc clarification
2598 (bug#15632).
2599
2600 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
2601
2602 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
2603
2604 2014-02-08 Glenn Morris <rgm@gnu.org>
2605
2606 * help-fns.el (describe-variable):
2607 Check {file,dir}-local-variables-alist, and buffer-file-name,
2608 in the correct buffer.
2609
2610 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
2611
2612 * help-fns.el (describe-variable): Fix the case where
2613 a value is directory-local with no dir-locals file. (Bug#16635)
2614
2615 2014-02-08 Glenn Morris <rgm@gnu.org>
2616
2617 * abbrev.el (edit-abbrevs-mode):
2618 Derive from fundamental-mode. (Bug#16682)
2619
2620 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
2621
2622 * simple.el (quoted-insert): Check character validity (bug#16677).
2623
2624 2014-02-07 Juri Linkov <juri@jurta.org>
2625
2626 * desktop.el (desktop-read): Claim the lock when the owner is not
2627 the current process. (Bug#16157)
2628
2629 2014-02-07 Juri Linkov <juri@jurta.org>
2630
2631 * desktop.el (desktop-buffers-not-to-save): Change default from nil
2632 to "\\` ". (Bug#16651)
2633
2634 2014-02-07 Juri Linkov <juri@jurta.org>
2635
2636 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
2637 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
2638 (desktop-auto-save-cancel-timer): New function with some code from
2639 `desktop-auto-save-set-timer'.
2640 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
2641 Instead of setting `desktop-save-mode' to nil, call
2642 `desktop-save-mode' with arg 0. (Bug#16630)
2643
2644 2014-02-07 Glenn Morris <rgm@gnu.org>
2645
2646 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
2647 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
2648 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
2649
2650 * obsolete/iswitchb.el: Move to obsolete/.
2651 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
2652 since obsolete/ is not scanned for autoloads.
2653 * emacs-lisp/authors.el (authors-valid-file-names):
2654 Add iswitchb.el.
2655
2656 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
2657 Disable now non-functional find-file-hook.
2658
2659 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
2660
2661 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
2662 instead of ";" in order to avoid additional prompts. Let heredoc
2663 scripts read from tty. (Bug#16582)
2664 (tramp-send-command): No special handling of heredocs, it isn't
2665 necessary anymore.
2666
2667 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
2668
2669 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
2670 with a space (bug#16664). Limit the symbols considered to the ones
2671 that are bound or fbound (bug#16646).
2672
2673 2014-02-06 Glenn Morris <rgm@gnu.org>
2674
2675 * epa.el (epa-mail-aliases): Doc fix.
2676
2677 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
2678
2679 * emacs-lisp/lisp.el (lisp-completion-at-point):
2680 Use `completion-table-merge' instead of `completion-table-in-turn'
2681 (bug#16604).
2682
2683 * minibuffer.el (completion-table-merge): New function.
2684
2685 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
2686
2687 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
2688 (tramp-sh-handle-set-file-acl)
2689 (tramp-sh-handle-start-file-process)
2690 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
2691 (tramp-find-executable, tramp-send-command): Use it.
2692
2693 2014-02-05 Glenn Morris <rgm@gnu.org>
2694
2695 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
2696
2697 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
2698
2699 * progmodes/python.el (python-shell-send-string)
2700 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
2701
2702 2014-02-04 Anders Lindgren <andlind@gmail.com>
2703
2704 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
2705 the names (bug#16620).
2706
2707 2014-02-03 Martin Rudalics <rudalics@gmx.at>
2708
2709 * faces.el (window-divider): New default value. Rewrite doc-string.
2710 (window-divider-first-pixel, window-divider-last-pixel): New faces.
2711
2712 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
2713
2714 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
2715 `protected' and `public' can also be called without arguments.
2716
2717 2014-02-03 Glenn Morris <rgm@gnu.org>
2718
2719 * register.el (window-configuration-to-register)
2720 (frame-configuration-to-register): Unadvertise unused argument.
2721 * frameset.el (frameset-to-register): Remove unused argument.
2722
2723 * frameset.el (frameset-to-register):
2724 * kmacro.el (kmacro-to-register):
2725 * register.el (increment-register):
2726 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
2727 (calc-append-to-register, calc-prepend-to-register):
2728 * play/gametree.el (gametree-layout-to-register)
2729 (gametree-apply-register-layout):
2730 * textmodes/picture.el (picture-clear-rectangle-to-register)
2731 (picture-yank-rectangle-from-register):
2732 * vc/emerge.el (emerge-combine-versions-register):
2733 Use register-read-with-preview to read registers.
2734
2735 2014-02-03 João Távora <joaotavora@gmail.com>
2736
2737 * elec-pair.el (electric-pair-backward-delete-char): Don't error
2738 when at beginning of (possibly narrowed) buffer.
2739
2740 2014-02-02 Daniel Colascione <dancol@dancol.org>
2741
2742 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
2743 Also try to display local help from just before point.
2744
2745 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
2746
2747 c-parse-state. Don't "append-lower-brace-pair" in certain
2748 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
2749 recognised as a comment.
2750
2751 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
2752 as well as normal comment starter.
2753 (c-parse-state-get-strategy): Extra return possibility
2754 'back-and-forward.
2755 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
2756 return value list to indicate replacement of a brace-pair cons
2757 with its car.
2758 (c-parse-state-1): With 'back-and-forward, only call
2759 c-append-lower-brace-pair-to state-cache when cons-separated.
2760
2761 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
2762
2763 * term/ns-win.el (ns-suspend-error): New function.
2764 (ns-initialize-window-system): Add ns-suspend-error to
2765 suspend-hook (Bug#16612).
2766
2767 2014-02-02 Daniel Colascione <dancol@dancol.org>
2768
2769 * progmodes/cc-defs.el (c-find-assignment-for-mode):
2770 Make loading cc-mode silent.
2771
2772 2014-02-02 Daniel Colascione <dancol@dancol.org>
2773
2774 * comint.el (comint-prompt-read-only): Change doc to suggest
2775 remap keybinding.
2776
2777 2014-02-02 Glenn Morris <rgm@gnu.org>
2778
2779 * register.el (register-read-with-preview, point-to-register)
2780 (window-configuration-to-register, frame-configuration-to-register)
2781 (jump-to-register, number-to-register, view-register, insert-register)
2782 (copy-to-register, append-to-register, prepend-to-register)
2783 (copy-rectangle-to-register): Doc fixes.
2784
2785 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2786
2787 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
2788 * emacs-lisp/find-func.el (find-function-C-source): Idem.
2789 * emacs-lisp/nadvice.el (advice--cd*r): New function.
2790 * help-fns.el (describe-function-1): Use it.
2791
2792 2014-02-02 Glenn Morris <rgm@gnu.org>
2793
2794 * register.el (register-preview-default): New function,
2795 split from register-preview.
2796 (register-preview-function): Rename from register-preview-functions,
2797 make it not a hook.
2798 (register-preview): Use register-preview-function.
2799 (register-read-with-preview): Error on non-character event. (Bug#16595)
2800
2801 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
2802
2803 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
2804 `:' before binary operators (bug#16609). Don't check for `:'
2805 before `[' and `(', or their syntax status. A percent literal
2806 can't end with either.
2807 (ruby-font-lock-keywords): For built-ins that require arguments,
2808 check that they're followed by something that looks like argument
2809 (bug#16610).
2810
2811 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
2812
2813 * subr.el (butlast): Document what an omitted N means (bug#13437).
2814 (nbutlast): Ditto.
2815
2816 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
2817
2818 * net/shr.el (shr-generic): Make into a defsubst to make the stack
2819 depth shallower (bug#16587).
2820 (shr-tag-svg): Respect `shr-inhibit-images'.
2821 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
2822
2823 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
2824
2825 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
2826 (ruby-smie-grammar): Make "." right-associative. Make its priority
2827 lower than the ternary and all binary operators.
2828 (ruby-smie-rules): Indent "(" relative to the first non-"."
2829 parent, or the first "." parent at indentation.
2830 Use `ruby-align-chained-calls' for indentation of "." tokens.
2831 (Bug#16593)
2832
2833 2014-01-31 Juri Linkov <juri@jurta.org>
2834
2835 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
2836 from `make-hash-table'.
2837
2838 * textmodes/ispell.el (ispell-init-process): Change message format
2839 to be consistent with other messages.
2840
2841 2014-01-31 Glenn Morris <rgm@gnu.org>
2842
2843 * delsel.el (delete-selection-mode): Doc fix.
2844
2845 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
2846 (trace-function-background): Doc fixes.
2847
2848 * ido.el (ido-use-virtual-buffers): Doc fix.
2849 Reset :version, since the default value has not changed.
2850
2851 * register.el (register-preview-delay, register-read-with-preview):
2852 Doc fixes.
2853
2854 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
2855 do not mess with mail-buffer position (fixes 2009-11-03 change).
2856 * progmodes/cc-mode.el (c-submit-bug-report):
2857 Check auto-fill-mode is bound. (Bug#16592)
2858
2859 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
2860
2861 * startup.el (fancy-splash-image-file): New function,
2862 split from fancy-splash-head.
2863 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
2864 so that we are both using the same image. (Bug#16574)
2865
2866 2014-01-30 Glenn Morris <rgm@gnu.org>
2867
2868 * simple.el (eval-expression): Doc fix.
2869
2870 * hexl.el (hexl-mode-hook):
2871 * ielm.el (ielm-mode-hook):
2872 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
2873 (lisp-interaction-mode-hook):
2874 * progmodes/cfengine.el (cfengine3-documentation-function):
2875 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
2876
2877 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2878
2879 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
2880 is a symbol (bug#16584).
2881
2882 2014-01-30 Glenn Morris <rgm@gnu.org>
2883
2884 * help.el (help-for-help-internal): Add "P" to text.
2885
2886 2014-01-29 Glenn Morris <rgm@gnu.org>
2887
2888 * simple.el (just-one-space, cycle-spacing): Doc fixes.
2889
2890 2014-01-28 Martin Rudalics <rudalics@gmx.at>
2891
2892 * window.el (fit-frame-to-buffer): Fix calculations for margins and
2893 height constraints.
2894
2895 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
2896
2897 * progmodes/hideif.el: Extend to full CPP expression syntax.
2898 (hif-token-alist): Add missing tokens.
2899 (hif-token-regexp): Add support for float/octal/hex immediates.
2900 (hif-string-literal-regexp): New const.
2901 (hif-tokenize): Recognize strings and float/octal/hex immediates.
2902 (hif-exprlist): New function.
2903 (hif-parse-if-exp): Use it.
2904 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
2905 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
2906 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
2907 (hif-logxor, hif-comma): New functions.
2908
2909 2014-01-28 Glenn Morris <rgm@gnu.org>
2910
2911 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
2912
2913 * indent.el (tab-stop-list): Doc fix. Add :version.
2914
2915 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
2916 (cvs-append-to-ignore): Add compatibility alias.
2917
2918 2014-01-27 Glenn Morris <rgm@gnu.org>
2919
2920 * dired.el (dired-hide-details-mode): Don't autoload it,
2921 since it cannot be used outside Dired buffers anyway.
2922
2923 * emulation/cua-base.el (cua-mode): Doc fix.
2924
2925 * dired.el (dired-hide-details-hide-symlink-targets)
2926 (dired-hide-details-hide-information-lines)
2927 (dired-hide-details-mode): Doc fixes.
2928
2929 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
2930 * strokes.el (strokes-file): Doc fix. Bump :version.
2931 (strokes-help): Doc fix.
2932 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
2933 * emulation/viper.el (viper): Doc fix for custom group.
2934 (top-level): Remove oh-so-no-longer-relevant text about vip.
2935 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
2936
2937 * ido.el (ido-save-directory-list-file):
2938 * saveplace.el (save-place-file):
2939 * calendar/timeclock.el (timeclock-file):
2940 * net/quickurl.el (quickurl-url-file):
2941 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
2942 * progmodes/idlwave.el (idlwave-config-directory):
2943 * textmodes/remember.el (remember-data-file):
2944 Bump :version.
2945
2946 2014-01-26 Glenn Morris <rgm@gnu.org>
2947
2948 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
2949 Doc fix. Make obsolete.
2950 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
2951
2952 * sort.el (delete-duplicate-lines): Doc fix.
2953
2954 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2955
2956 * progmodes/ada-mode.el (ada):
2957 * woman.el (woman): Link to info manual and Commentary section.
2958
2959 * progmodes/flymake.el (flymake):
2960 * nxml/nxml-mode.el (nxml):
2961 * net/eww.el (eww):
2962 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
2963 * htmlfontify.el (htmlfontify):
2964 * ses.el (ses):
2965 * epa.el (epa):
2966 * ido.el (ido): Link to info manual.
2967
2968 2014-01-25 Leo Liu <sdl.web@gmail.com>
2969
2970 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
2971
2972 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
2973
2974 * net/shr.el (shr-tag-img): Prefer the title over the alt text
2975 (bug#16537).
2976
2977 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
2978
2979 * net/eww.el (eww-download-callback):
2980 Fix reference to eww-download-directory.
2981
2982 * emacs-lisp/bytecomp.el (byte-compile-file):
2983 Remove unused local variable `file-name'.
2984
2985 2014-01-24 Glenn Morris <rgm@gnu.org>
2986
2987 * woman.el (woman-default-faces, woman-monochrome-faces):
2988 Fix obsolescence specification.
2989
2990 * subr.el (with-demoted-errors): Doc fix.
2991
2992 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
2993
2994 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
2995 (cl--macroexp-fboundp): New function.
2996 (cl--make-type-test): Use it.
2997
2998 2014-01-23 Glenn Morris <rgm@gnu.org>
2999
3000 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3001 * simple.el (eval-expression): Doc fixes.
3002
3003 2014-01-22 Glenn Morris <rgm@gnu.org>
3004
3005 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3006
3007 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3008
3009 * emacs-lisp/package.el: Write files silently.
3010 (package-autoload-ensure-default-file, package--write-file-no-coding)
3011 (package-generate-description-file, package--download-one-archive)
3012 (package-install-from-archive): Tell `write-region' to stay quiet.
3013 (package-menu-mode, package-menu--print-info): Omit the Archive column
3014 if there's only one archive.
3015 (package-all-keywords, package--has-keyword-p): Remove dead code.
3016
3017 2014-01-22 Glenn Morris <rgm@gnu.org>
3018
3019 * version.el (emacs-bzr-version-bzr): Fix typo.
3020
3021 * version.el (emacs-repository-get-version):
3022 Check either .bzr or .git, but not both.
3023 Make the git case actually use the DIR argument, and return nil
3024 rather than the empty string.
3025 Avoid error if .git exists but the git executable is not found.
3026
3027 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3028
3029 Fixes in window size functions around Bug#16430 and Bug#16470.
3030 * window.el (window-total-size, window-size): New argument ROUND.
3031 (window--min-delta-1, window-min-delta, window--max-delta-1):
3032 Be more conservative when calculating the numbers of lines or
3033 columns a window can shrink (Bug#16430).
3034 (fit-window-to-buffer): Simplify code.
3035 * term.el (term-window-width): Call window-body-width again.
3036
3037 2014-01-22 Glenn Morris <rgm@gnu.org>
3038
3039 * image.el (image-format-suffixes): Doc fix.
3040
3041 * international/quail.el (quail-define-package): Doc fix.
3042
3043 * emacs-lisp/authors.el (authors-valid-file-names)
3044 (authors-renamed-files-alist): Additions.
3045
3046 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3047 reverts 2014-01-09 change. (Bug#16422)
3048
3049 * calc/calc-embed.el (thing-at-point-looking-at):
3050 * emacs-lisp/map-ynp.el (x-popup-dialog):
3051 * obsolete/lmenu.el (x-popup-dialog):
3052 * emacs-lisp/package.el (url-recreate-url):
3053 * mail/mailclient.el (clipboard-kill-ring-save):
3054 * subr.el (x-popup-dialog): Update declaration.
3055 * mail/rmail.el (rmail-mime-message-p):
3056 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3057
3058 2014-01-21 Daniel Colascione <dancol@dancol.org>
3059
3060 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3061 Correctly detect when we're inside an arithmetic expansion form
3062 containing nested parenthesis.
3063 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3064 to detect cases where we shouldn't expand "<<" to a heredoc
3065 skeleton.
3066
3067 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3068
3069 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3070 (eldoc--message-command-p): New function.
3071 (eldoc-display-message-p): Use it.
3072 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3073 message is not automatically erased for us.
3074 (eldoc-print-current-symbol-info): Erase previous message, if any.
3075
3076 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3077
3078 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3079 specify it's an interactive function.
3080
3081 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3082 Fix regex used for scanning for citation keys which failed for
3083 citations with optional arguments.
3084
3085 2014-01-21 Leo Liu <sdl.web@gmail.com>
3086
3087 * simple.el (read--expression): Don't enable eldoc-mode.
3088
3089 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3090
3091 * simple.el (move-beginning-of-line): Make sure we don't move forward
3092 (bug#16497).
3093
3094 2014-01-20 Juri Linkov <juri@jurta.org>
3095
3096 * saveplace.el (toggle-save-place, save-place-to-alist)
3097 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3098 'dired-mode) before checking for dired-directory. (Bug#16477)
3099
3100 2014-01-20 Juri Linkov <juri@jurta.org>
3101
3102 * indent.el (indent-line-to): Use backward-to-indentation
3103 instead of back-to-indentation. (Bug#16461)
3104
3105 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3106
3107 Revert some of the CANNOT_DUMP fix (Bug#16494).
3108 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3109 but fixing this can wait until after the next release.
3110 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3111
3112 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3113
3114 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3115 Use `password-word-equivalents'.
3116 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3117 to t. (Bug#5664, Bug#13124)
3118
3119 2014-01-19 Alan Mackenzie <acm@muc.de>
3120
3121 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3122 points.
3123 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3124 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3125 * progmodes/cc-mode.el (c-before-change, c-after-change)
3126 (c-font-lock-fontify-region): Bind it here.
3127
3128 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3129
3130 * term.el (term-window-width): Call window-text-width instead of
3131 window-width (Bug#16470).
3132
3133 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3134
3135 * simple.el (password-word-equivalents): Remove duplicates.
3136 Sort, to make this easier next time.
3137 Downcase. Omit ": " after "jelszó".
3138
3139 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3140
3141 * term/common-win.el (saved-region-selection): Defvar it.
3142 (x-select-text): Set saved-region-selection (Bug#16382).
3143
3144 2014-01-18 Glenn Morris <rgm@gnu.org>
3145
3146 * emacs-lisp/authors.el (authors-aliases)
3147 (authors-renamed-files-alist): Add some entries.
3148
3149 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3150
3151 * net/tramp.el (tramp-password-prompt-regexp):
3152 Use `password-word-equivalents' if available.
3153 (tramp-action-password, tramp-process-one-action)
3154 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3155
3156 2014-01-17 Chong Yidong <cyd@gnu.org>
3157
3158 * simple.el (password-word-equivalents): New defcustom.
3159 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3160 to 24.4.
3161 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3162 to t. (Bug#13124)
3163
3164 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3165
3166 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3167 (ruby-align-to-stmt-keywords): Change the default value.
3168 Use `ruby-alignable-keywords' to generate the possible customization
3169 choices.
3170 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3171 keywords, check against the value of `ruby-alignable-keywords'
3172 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3173
3174 2014-01-17 Glenn Morris <rgm@gnu.org>
3175
3176 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3177
3178 Make M-x authors return zero *Authors Errors* from current logs.
3179 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3180 (authors-ignored-files): Add some entries, remove others.
3181 (authors-ambiguous-files, authors-valid-file-names):
3182 Add some entries.
3183 (authors-renamed-files-alist): Add, remove, and adjust entries.
3184 (authors-renamed-files-regexps): Add some entries.
3185 Remove some very broad ones. Make some entries `lax'.
3186 (authors-lax-changelogs): New constant.
3187 (authors-disambiguate-file-name): Treat top-level specially.
3188 (authors-lax-changelog-p): New function.
3189 (authors-canonical-file-name): Check file as written against
3190 authors-valid-file-names. Do not special-case etc/.
3191 Handle `lax' logs and authors-renamed-files-regexps elements.
3192
3193 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3194
3195 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3196 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3197 callers.
3198
3199 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3200
3201 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3202 Assume we're already in the proper buffer.
3203 Inspired by Anders Lindgren <andlind@gmail.com>.
3204 (follow-post-command-hook): Call it from the right buffer.
3205 (follow-comint-scroll-to-bottom): Adjust call.
3206 (follow-all-followers): Use get-buffer-window-list.
3207
3208 2014-01-15 Daniel Colascione <dancol@dancol.org>
3209
3210 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3211 `buffer-file-name' in interactive-form so that we don't leave
3212 pathless file names in `file-name-history'.
3213
3214 2014-01-15 Juri Linkov <juri@jurta.org>
3215
3216 * indent.el (indent-rigidly): Set deactivate-mark to nil
3217 in transient indentation mode. (Bug#16438)
3218
3219 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3220
3221 * emacs-lisp/package.el (package-desc-keywords): New function
3222 (Bug#16222).
3223 (describe-package-1, package-all-keywords)
3224 (package--has-keyword-p): Use it.
3225
3226 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3227
3228 * simple.el (define-alternatives): When creating the
3229 COMMAND-alternatives variable, assign COMMAND as its definition
3230 name so that `describe-variable' can relocate it.
3231
3232 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3233
3234 * font-lock.el (font-lock-keywords): Fix typo in docstring
3235 (bug#16307).
3236
3237 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3238
3239 * ispell.el (ispell-region): Reset `in-comment' for new line
3240 instead of wrongly reset `add-coment' (bug#13577).
3241
3242 2014-01-14 Daiki Ueno <ueno@gnu.org>
3243
3244 * epa-file.el (epa-file-write-region): Encode the region according
3245 to `buffer-file-format'. Problem reported at:
3246 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3247
3248 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3249
3250 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3251 so it applies in the right buffer (bug#16410).
3252
3253 2014-01-13 Daniel Colascione <dancol@dancol.org>
3254
3255 * textmodes/rst.el (rst-define-key): Provide deprecated
3256 keybindings through named functions instead of anonymous ones so
3257 that "??" doesn't appear in describe-mode output.
3258
3259 2014-01-13 Bastien Guerry <bzg@gnu.org>
3260
3261 * simple.el (define-alternatives): Call the selected command
3262 interactively. When setting `COMMAND--implementation' for the
3263 first time, tell the user how to chose another implementation.
3264 Enhance the docstring.
3265
3266 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3267
3268 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3269 (log-edit--match-first-line): New function.
3270 (log-edit-font-lock-keywords): Use it.
3271 (log-edit-mode): Make jit-lock-defer-multiline work.
3272
3273 2014-01-13 Bastien Guerry <bzg@gnu.org>
3274
3275 * rect.el (rectangle-mark-mode): When the region is not active,
3276 display a message saying that the mark as been set and that
3277 rectangle mode is in use.
3278 (rectangle--highlight-for-redisplay): Only put an overlay with a
3279 visible vertical bar when (display-graphic-p) is non-nil.
3280 This partially fixes Bug#16403.
3281
3282 2014-01-13 Juri Linkov <juri@jurta.org>
3283
3284 * info.el (Info-find-file): Go to DIR before displaying the error
3285 about a nonexistent file if no previous Info file is visited.
3286 Use `user-error' instead of `error' for "Info file %s does not exist".
3287 (Info-find-node-2): In case of a nonexistent node in unwind forms
3288 go to the Top node if there is no previous node to revert to.
3289 (Bug#16405)
3290
3291 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3292
3293 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3294 * window.el (fit-frame-to-buffer): Fix doc-string.
3295 Respect window-min-height/-width. Fit pixelwise when
3296 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3297 when avoiding that frame goes partially off-screen.
3298 (fit-window-to-buffer): Respect window-min-height/-width
3299 (Bug#14096).
3300
3301 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3302
3303 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3304 after an empty line.
3305
3306 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3307
3308 * net/shr.el (shr-render-region): Autoload.
3309
3310 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3311
3312 * net/eww.el (eww-download-directory): Rename from
3313 `eww-download-path' (Bug#16419).
3314
3315 2014-01-12 Leo Liu <sdl.web@gmail.com>
3316
3317 * dired-x.el (dired-mode-map): Fix last change.
3318
3319 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3320
3321 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3322
3323 Spelling fixes.
3324 * emacs-lisp/generic.el (generic--normalize-comments):
3325 Rename from generic--normalise-comments. All uses changed.
3326 * play/bubbles.el (bubbles--neighborhood-score)
3327 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3328 (bubbles--neighborhood-available)
3329 (bubbles--update-neighborhood-score):
3330 Rename from names with 'neighbourhood'. All uses changed.
3331
3332 2014-01-12 Leo Liu <sdl.web@gmail.com>
3333
3334 Re-implement the feature of showing eldoc info after editing.
3335 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3336 (eldoc-edit-message-commands): New function.
3337 (eldoc-print-after-edit): New variable.
3338 (eldoc-pre-command-refresh-echo-area): Emit message only by
3339 eldoc-message-commands.
3340 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3341 if eldoc-print-after-edit is set. (Bug#16346)
3342 * simple.el (read--expression): Enable eldoc-mode.
3343 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3344
3345 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3346 Eric S. Raymond <esr@thyrsus.com>
3347
3348 * version.el (emacs-repository-get-version): Enhance so the
3349 function works correctly in either a Bazaar or Git repo.
3350
3351 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
3352
3353 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3354 Goes with removal of the joke manpages from /etc.
3355
3356 2014-01-10 Kenichi Handa <handa@gnu.org>
3357
3358 * mail/rmail.el (rmail-get-coding-system):
3359 Check rmail-get-coding-function before "funcall"ing it.
3360
3361 2014-01-10 Glenn Morris <rgm@gnu.org>
3362
3363 * emacs-lisp/authors.el (authors-fixed-entries):
3364 Update for files that no longer exist.
3365
3366 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
3367
3368 * version.el (emacs-bzr-get-version): Restore compatibilty with
3369 24.3 (Tested).
3370
3371 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3372
3373 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3374 and Podfile.
3375
3376 2014-01-10 Eli Zaretskii <eliz@gnu.org>
3377
3378 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3379
3380 2014-01-10 Chong Yidong <cyd@gnu.org>
3381
3382 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
3383
3384 2014-01-10 Anders Lindgren <andlind@gmail.com>
3385
3386 * follow.el (follow-cache-command-list): Include right-char and
3387 left-char.
3388
3389 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3390
3391 Spelling fixes.
3392 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3393 * woman.el (woman-mark-horizontal-position):
3394 Rename from woman-mark-horizonal-position. Use changed.
3395
3396 2014-01-10 Glenn Morris <rgm@gnu.org>
3397
3398 * info.el (info-initialize): If running uninstalled, ensure our
3399 own info files are always found first, even if INFOPATH is set.
3400
3401 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3402
3403 2014-01-09 David Engster <deng@randomsample.de>
3404
3405 * emacs-lisp/eieio-custom.el:
3406 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3407 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3408 * emacs-lisp/eieio.el: Regenerate autoloads.
3409
3410 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
3411
3412 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
3413 following renames. (Bug#8756)
3414
3415 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3416
3417 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3418 (bug#16382).
3419 (activate-mark): Add `no-tmm' argument.
3420 (set-mark, push-mark-command): Use it instead of running
3421 activate-mark-hook by hand.
3422
3423 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
3424
3425 In preparation for the move to git, sanitize out some
3426 Bazaar-specific names.
3427
3428 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3429
3430 * version.el (emacs-bzr-version): Name changed to
3431 emacs-repository-version. Obsolete-variable alias made.
3432 * loadup.el: Follow through on this name change.
3433 * mail/emacsbug.el (report-emacs-bug): Factor out any
3434 assumption about the version control system in use.
3435
3436 2014-01-08 David Engster <deng@randomsample.de>
3437
3438 * help-fns.el (help-fns-describe-function-functions):
3439 New variable to call functions for augmenting help buffers.
3440 (describe-function-1): Remove explicit calls to
3441 `help-fns--compiler-macro', `help-fns--parent-mode' and
3442 `help-fns--obsolete'. Put them in above new variable instead, and
3443 call them through `run-hook-with-args'.
3444 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3445 `eieio-describe-class'. Not meant for interactive use anymore,
3446 but to augment existing help buffers. Remove optional second
3447 argument. Create proper button for file location.
3448 Rewrite function to use `insert' instead of `princ' and `prin1' where
3449 possible.
3450 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3451 (eieio-method-def, eieio-class-def): Move further up.
3452 (describe-method, describe-generic, eieio-describe-method):
3453 Remove aliases.
3454 (eieio-help-constructor, eieio-help-generic): Rename from
3455 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3456 Rewrite to use `insert' in the current buffer and use proper help
3457 buttons.
3458 (eieio-help-find-method-definition)
3459 (eieio-help-find-class-definition): Also accept symbols as
3460 arguments.
3461 (eieio-help-mode-augmentation-maybee): Remove.
3462 (eieio-describe-class-sb): Use `describe-function'.
3463 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3464 Add `eieio-help-generic' and `eieio-help-constructor'.
3465
3466 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3467
3468 Spelling fixes.
3469 * language/china-util.el (hz-ascii-designation):
3470 Rename from hz-ascii-designnation.
3471 (hz-ascii-designation): Rename from hz-ascii-designnation.
3472 All uses changed.
3473
3474 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3475
3476 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3477 package-alist.
3478
3479 2014-01-08 Bastien Guerry <bzg@gnu.org>
3480
3481 * emacs-lisp/package.el (package-delete):
3482 Correctly delete the package from package-alist.
3483
3484 2014-01-08 Daiki Ueno <ueno@gnu.org>
3485
3486 * emacs-lisp/package.el (url-recreate-url): Declare.
3487 (url-http-target-url): Declare.
3488 (package-handle-response): Include requested URL in the error message.
3489 (package--check-signature): Don't re-signal errors from
3490 package--with-work-buffer. Suggested by Stefan Monnier.
3491
3492 2014-01-07 Bastien Guerry <bzg@gnu.org>
3493
3494 * minibuffer.el (completion--try-word-completion): When both a
3495 hyphen and a space are possible candidates for the character
3496 following a word, display both candidates. (Bug#15980)
3497
3498 2014-01-07 Martin Rudalics <rudalics@gmx.at>
3499
3500 * window.el (balance-windows-2): While rounding don't give a
3501 window more than the remainder. Bug#16351, bug#16383.
3502
3503 2014-01-07 Glenn Morris <rgm@gnu.org>
3504
3505 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3506 (menu-bar-help-menu): Use view-external-packages instead.
3507
3508 2014-01-07 Bastien Guerry <bzg@gnu.org>
3509
3510 * emacs-lisp/package.el (package-delete): Also delete the package
3511 name from `package-alist', not its description only.
3512
3513 2014-01-07 Glenn Morris <rgm@gnu.org>
3514
3515 * help.el (view-external-packages):
3516 * menu-bar.el (menu-bar-help-extra-packages):
3517 Visit efaq.info rather than etc/MORE.STUFF.
3518
3519 2014-01-07 Juri Linkov <juri@jurta.org>
3520
3521 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3522 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
3523
3524 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
3525 that shadows RET. (Bug#16342)
3526
3527 2014-01-07 Chong Yidong <cyd@gnu.org>
3528
3529 * isearch.el (isearch-yank-char, isearch-yank-word)
3530 (isearch-yank-line): Doc fix.
3531
3532 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3533
3534 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
3535 * emacs-lisp/elint.el (elint-find-builtins):
3536 * emacs-lisp/eldoc.el (eldoc-symbol-function):
3537 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
3538 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
3539 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3540 * apropos.el (apropos-safe-documentation):
3541 * subr.el (symbol-file): Remove redundant fboundp.
3542 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
3543
3544 2014-01-06 Bastien Guerry <bzg@gnu.org>
3545
3546 * hl-line.el (global-hl-line-overlay): Make a local variable.
3547 (global-hl-line-overlays): New variable to store all overlays.
3548 (global-hl-line-mode): Don't delete overlays from the current
3549 buffer when `global-hl-line-sticky-flag' is non-nil.
3550 (global-hl-line-highlight): Add new overlays to
3551 `global-hl-line-overlays'.
3552 (global-hl-line-unhighlight-all): New function to delete all
3553 overlays when turning off `global-hl-line-mode'.
3554 This fixes Bug#16183.
3555
3556 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
3557
3558 * subr.el (set-transient-map): Fix nested case and docstring.
3559
3560 2014-01-06 Tassilo Horn <tsdh@gnu.org>
3561
3562 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
3563 `Texinfo' entry.
3564
3565 2014-01-06 Daniel Colascione <dancol@dancol.org>
3566
3567 Fix defun navigation in vc log view.
3568
3569 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
3570 like `beginning-of-defun'.
3571 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
3572 log-view-end-of-defun to log-view-end-of-defun-1. Replace
3573 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
3574 (log-view-extract-comment): Call `log-view-current-entry' directly
3575 instead of relying on broken `log-view-beginning-of-defun' behavior.
3576
3577 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
3578
3579 Spelling fixes.
3580 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
3581 * emacs-lisp/debug.el (cancel-debug-on-entry):
3582 * epg.el (epg-error-to-string):
3583 * files.el (recover-file):
3584 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
3585 * mail/emacsbug.el (report-emacs-bug-hook):
3586 * mail/sendmail.el (mail-recover):
3587 * ses.el (ses-yank-resize):
3588 * term/ns-win.el (ns-print-buffer):
3589 Spelling fixes in diagnostics, mostly for "canceled" with one L.
3590 * epg.el (epg-key-capability-alist): Rename from misspelled version.
3591 All uses changed.
3592 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
3593
3594 2014-01-06 Leo Liu <sdl.web@gmail.com>
3595
3596 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
3597 to avoid shadowing global key. (Bug#16354)
3598
3599 2014-01-06 Daniel Colascione <dancol@dancol.org>
3600
3601 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
3602 rst-mode.
3603
3604 2014-01-05 Martin Rudalics <rudalics@gmx.at>
3605
3606 * window.el (balance-windows): Add mising t to fix Bug#16351.
3607
3608 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
3609
3610 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
3611 (bug#16285).
3612 (shr-insert): If we have a word that's longer than `shr-width',
3613 break after it anyway. Otherwise we'll do no breaking once we get
3614 such a long word.
3615
3616 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3617
3618 * net/eww.el (eww): Support single/double quote for search.
3619 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
3620 (eww-history-quit): Delete and use quit-window.
3621 (eww-history-kill): Delete, because it doesn't work well and
3622 not necessary.
3623 (eww-history-mode-map): Delete some keys and add easy-menu.
3624
3625 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
3626
3627 Fix misspelling of 'chinese' in rx (Bug#16237).
3628 * emacs-lisp/rx.el (rx-categories): Correct spelling of
3629 chinese-two-byte.
3630
3631 Change subword regexps back to vars (Bug#16296).
3632 * progmodes/subword.el (subword-forward-regexp)
3633 (subword-backward-regexp): Change these back to variables.
3634
3635 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3636
3637 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
3638 syntax-begin-function (bug#16247).
3639
3640 2014-01-03 Chong Yidong <cyd@gnu.org>
3641
3642 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
3643 (advice--docstring): Delete variable.
3644 (advice--make-1): Leave the docstring empty.
3645 (advice-add): Use function-documentation for advised docstring.
3646
3647 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
3648 Ignore function-documentation property when getting documentation.
3649 (ad-activate-advised-definition): Use function-documentation
3650 generate the docstring.
3651 (ad-make-advised-definition): Don't call
3652 ad-make-advised-definition-docstring.
3653 (ad-make-advised-definition-docstring, ad-advised-definition-p):
3654 Delete functions.
3655
3656 * progmodes/sql.el (sql-help): Use function-documentation instead
3657 of dynamic-docstring-function property. No need to autoload now.
3658 (sql--help-docstring): New variable.
3659 (sql--make-help-docstring): Use it.
3660
3661 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
3662
3663 * ielm.el (ielm-tab): Retarget.
3664 (ielm-map): Use ielm-tab for tab.
3665 (ielm-complete-filename): Use comint-filename-completion.
3666 (ielm-complete-symbol): Remove.
3667 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
3668 remove ielm-tab from completion-at-point-functions (bug#16224).
3669
3670 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
3671 Beware signals raised by predicates (bug#16201).
3672
3673 2014-01-02 Richard Stallman <rms@gnu.org>
3674
3675 * dired-aux.el (dired-do-print): Handle printer-name.
3676
3677 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
3678 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
3679 (rmail-epa-decrypt): Turn off mime processing.
3680
3681 * mail/rmail.el (rmail-make-in-reply-to-field):
3682 Add parens in message-id.
3683
3684 * mail/rmail.el (rmail-get-coding-function): Variable.
3685 (rmail-get-coding-system): Use it.
3686
3687 2013-12-31 Eli Zaretskii <eliz@gnu.org>
3688
3689 * international/mule-conf.el: Unify the charset indian-is13194.
3690 (indian-is13194): Specify unify-map.
3691
3692 2013-12-31 Leo Liu <sdl.web@gmail.com>
3693
3694 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
3695
3696 2013-12-30 Daniel Colascione <dancol@dancol.org>
3697
3698 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
3699 of printing a useless when we resume from sleep.
3700
3701 * progmodes/sh-script.el
3702 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
3703 in indentation code. (Bug#16233)
3704
3705 2013-12-28 João Távora <joaotavora@gmail.com>
3706
3707 * elec-pair.el (electric-pair-post-self-insert-function):
3708 Don't open extra newlines at beginning of buffer. (Bug#16272)
3709
3710 2013-12-28 Eli Zaretskii <eliz@gnu.org>
3711
3712 * frame.el (window-system-for-display): Don't allow to create a
3713 GUI frame from a -nw session on MS-Windows. (Bug#14739)
3714
3715 2013-12-28 Glenn Morris <rgm@gnu.org>
3716
3717 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
3718 Update callers.
3719
3720 * apropos.el (apropos-match-face):
3721 * calculator.el (calculator-displayer):
3722 * dabbrev.el (dabbrev-search-these-buffers-only):
3723 * face-remap.el (buffer-face-mode-face):
3724 * simple.el (yank-handled-properties):
3725 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
3726 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
3727 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
3728 (hashcash-double-spend-database):
3729 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
3730 (ruby-deep-indent-paren-style):
3731 * textmodes/flyspell.el (flyspell-auto-correct-binding):
3732 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
3733 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
3734 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
3735 Specify custom types.
3736
3737 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
3738 * bookmark.el (bookmark-bmenu-use-header-line):
3739 * doc-view.el (doc-view-scale-internally):
3740 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
3741 * register.el (register-preview-delay):
3742 * net/shr.el (shr-bullet):
3743 * progmodes/cfengine.el (cfengine-cf-promises)
3744 (cfengine-parameters-indent):
3745 * progmodes/octave.el (inferior-octave-error-regexp-alist):
3746 * textmodes/reftex-vars.el (reftex-label-regexps):
3747 * vc/log-edit.el (log-edit-setup-add-author): Add version.
3748
3749 * net/tls.el (tls-certtool-program): Fix default value.
3750
3751 * desktop.el (desktop-restore-in-current-display):
3752 * newcomment.el (comment-empty-lines):
3753 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
3754 (idlwave-pad-keyword):
3755 * progmodes/tcl.el (tcl-tab-always-indent):
3756 * textmodes/reftex-vars.el (reftex-index-default-tag):
3757 * elec-pair.el (electric-pair-skip-whitespace):
3758 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
3759
3760 * emacs-lisp/authors.el (authors-ignored-files)
3761 (authors-valid-file-names, authors-renamed-files-alist): Additions.
3762
3763 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
3764
3765 * shell.el (shell-dynamic-complete-command): Doc fix.
3766 (shell--command-completion-data): Shell completion now matches
3767 executable filenames from the current buffer's directory, on
3768 systems in which this behavior is the default (windows-nt, ms-dos).
3769
3770 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3771
3772 * net/shr.el (shr-insert): Don't infloop if the width is zero.
3773
3774 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
3775
3776 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
3777 (bug#16251).
3778
3779 * electric.el: Move all electric-pair-* to elec-pair.el.
3780 * elec-pair.el: New file, split from electric.el.
3781
3782 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
3783
3784 * net/shr.el (shr-find-fill-point): Don't try to fill if the
3785 indentation level is larger than the width, because that will
3786 infloop.
3787 (shr-insert): Fill repeatedly long texts, so that Japanese is
3788 formatted correctly (bug#16263).
3789 (shr-find-fill-point): Off by one error in comparison with the
3790 indentation.
3791
3792 2013-12-26 João Távora <joaotavora@gmail.com>
3793
3794 * electric.el (electric-pair-mode): More flexible engine for skip-
3795 and inhibit predicates, new options for pairing-related functionality.
3796 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
3797 if that keeps or improves their balance in buffers.
3798 (electric-pair-delete-adjacent-pairs): Delete the pair when
3799 backspacing over adjacent matched delimiters.
3800 (electric-pair-open-extra-newline): Open extra newline when
3801 inserting newlines between adjacent matched delimiters.
3802 (electric--sort-post-self-insertion-hook):
3803 Sort post-self-insert-hook according to priority values when
3804 minor-modes are activated.
3805 * simple.el (newline-and-indent): Call newline with interactive
3806 set to t.
3807 (blink-paren-post-self-insert-function): Set priority to 100.
3808 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3809 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
3810 comments. Locally set electric-pair-skip-whitespace to 'chomp and
3811 electric-pair-open-newline-between-pairs to nil.
3812
3813 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
3814
3815 * progmodes/python.el: Use lexical-binding.
3816 (python-nav-beginning-of-defun): Stop searching ASAP.
3817
3818 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
3819
3820 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
3821 Fix interactive spec. Doc fix. (Bug#15754)
3822
3823 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
3824
3825 * emacs-lisp/byte-run.el (eval-when-compile):
3826 * progmodes/cc-defs.el (cc-eval-when-compile):
3827 Fix edebug spec (bug#16184).
3828
3829 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3830
3831 * net/shr.el (shr-visit-file): Remove debugging function.
3832 (shr-insert): Don't infloop if we can't find a good place to break
3833 the line (bug#16256).
3834
3835 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
3836
3837 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
3838 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
3839 python-nav-lisp-forward-sexp-safe.
3840 (python-nav--forward-sexp): New argument SAFE allows switching
3841 forward sexp movement behavior for parens.
3842 (python-nav-forward-sexp): Throw errors on unterminated parens
3843 (Bug#16191).
3844 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
3845 (python-nav-backward-sexp-safe): New functions.
3846 (python-shell-buffer-substring):
3847 Use `python-nav-forward-sexp-safe'.
3848
3849 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
3850
3851 * net/shr.el (shr-find-fill-point): Don't break lines before a
3852 quotation mark.
3853 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
3854 (shr-find-fill-point): Remove the special checks for the quotation
3855 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
3856
3857 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3858
3859 * net/eww.el (eww-form-textarea): Use a different face for
3860 textareas than text input since they have different keymaps
3861 (bug#16142).
3862
3863 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
3864
3865 * progmodes/python.el (python-nav-beginning-of-statement):
3866 Speed up (Bug#15295).
3867
3868 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3869
3870 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
3871 the window configuration.
3872
3873 2013-12-24 Eli Zaretskii <eliz@gnu.org>
3874
3875 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
3876 we run on MS-Windows or MS-DOS.
3877
3878 2013-12-24 Martin Rudalics <rudalics@gmx.at>
3879
3880 * window.el (balance-windows-area): Call window-size instead of
3881 window-height and window-width. Bug#16241.
3882
3883 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3884
3885 * net/eww.el (eww-bookmark-quit): Remove.
3886 (eww-bookmark-browse): Restore the window configuration when you
3887 choose a bookmark (bug#16144).
3888
3889 2013-12-24 Daniel Colascione <dancol@dancol.org>
3890
3891 * icomplete.el: Remove redundant :group arguments to `defcustom'
3892 throughout.
3893 (icomplete-show-matches-on-no-input): New customizable variable.
3894 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
3895 we have something to show.
3896 (icomplete-exhibit): Compute completions even if we have no user input.
3897
3898 2013-12-23 Daniel Colascione <dancol@dancol.org>
3899
3900 * icomplete.el: Move `provide' to end of file.
3901
3902 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
3903
3904 * net/gnutls.el (gnutls-verify-error): Add version tag.
3905
3906 2013-12-23 Chong Yidong <cyd@gnu.org>
3907
3908 * subr.el (set-transient-map): Rename from
3909 set-temporary-overlay-map. Doc fix.
3910
3911 * face-remap.el (text-scale-adjust):
3912 * indent.el (indent-rigidly):
3913 * kmacro.el (kmacro-call-macro):
3914 * minibuffer.el (minibuffer-force-complete):
3915 * repeat.el (repeat):
3916 * simple.el (universal-argument--mode):
3917 * calendar/todo-mode.el (todo-insert-item--next-param):
3918 * progmodes/f90.el (f90-abbrev-start): Callers changed.
3919
3920 * indent.el (indent-rigidly): Use substitute-command-keys.
3921
3922 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3923
3924 * net/eww.el (eww-tag-select): Add text-property to jump to next
3925 select field.
3926 (eww): Add non-supported ftp error.
3927
3928 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3929
3930 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
3931 comments. Handle electric indent after typing `?' and `!'.
3932
3933 2013-12-22 Chong Yidong <cyd@gnu.org>
3934
3935 * faces.el (face-spec-recalc): If the theme specs are not
3936 applicable to a frame, fall back on the defface spec.
3937 This prevents themes from obliterating faces on low-color terminals.
3938
3939 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3940
3941 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3942 after `{'. We need it after block openers, and it doesn't seem
3943 to hurt after hash openers.
3944
3945 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3946
3947 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
3948 extracted from `ruby-smie-rules'.
3949 (ruby--electric-indent-chars): New variable.
3950 (ruby--electric-indent-p): New function.
3951 (ruby-mode): Use `electric-indent-functions' instead of
3952 `electric-indent-chars'.
3953
3954 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
3955
3956 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
3957 docstring.
3958 (ruby-smie-rules): Indent plus one level after `=>'.
3959
3960 2013-12-21 Richard Stallman <rms@gnu.org>
3961
3962 * simple.el (newline): Doc fix.
3963
3964 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3965
3966 * net/eww.el (eww-list-histories, eww-list-histories)
3967 (eww-history-browse, eww-history-quit, eww-history-kill)
3968 (eww-history-mode-map, eww-history-mode): New command and
3969 functions to list browser histories.
3970 (eww-form-text): Support text form with disabled
3971 and readonly attributes.
3972 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
3973
3974 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3975
3976 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
3977 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
3978 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
3979 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
3980 Use `user-error'.
3981 (eww-bookmark-mode-map): Add menu.
3982 (eww-render, eww-mode): Use `setq-local'.
3983 (eww-tool-bar-map): New variable.
3984 (eww-mode): Set `tool-bar-map'.
3985 (eww-view-source): Check for `html-mode' with `fboundp'.
3986
3987 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
3988
3989 * net/shr.el (shr--extract-best-source): Don't bug out on audio
3990 elements with text inside. Also remove debugging.
3991
3992 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
3993
3994 * cus-start.el (all): Add ns-use-srgb-colorspace.
3995
3996 2013-12-21 Chong Yidong <cyd@gnu.org>
3997
3998 * custom.el (custom-theme-recalc-face): Do nothing if the face is
3999 undefined. Thus, theme settings for undefined faces do not take
4000 effect until the faces are defined with defface, the same as with
4001 theme variables.
4002
4003 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4004 (face-spec-reset-face): Don't assign extra properties in temacs.
4005 (face-spec-recalc): Apply X resources too.
4006
4007 2013-12-21 Chong Yidong <cyd@gnu.org>
4008
4009 * faces.el (face-spec-set):
4010 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4011 * custom.el (defface): Doc fixes (Bug#16203).
4012
4013 * indent.el (indent-rigidly-map): Add docstring, and move commands
4014 into named functions.
4015 (indent-rigidly-left, indent-rigidly-right)
4016 (indent-rigidly-left-to-tab-stop)
4017 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4018 indentation direction based on bidi direction, and accumulate
4019 sequential commands in a single undo boundary.
4020 (indent-rigidly--pop-undo): New utility function.
4021
4022 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4023
4024 * faces.el (read-face-name): Require crm.el when using crm-separator.
4025
4026 2013-12-20 Daniel Colascione <dancol@dancol.org>
4027
4028 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4029 so that we don't reflow comments into the shebang line.
4030
4031 2013-12-20 Juri Linkov <juri@jurta.org>
4032
4033 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4034 a position when `dired-directory' is non-nil. Check integer
4035 positions with `integerp'.
4036 (toggle-save-place, save-places-to-alist): Add check for
4037 `dired-directory'.
4038 (save-place-find-file-hook): Check integer positions with
4039 `integerp'.
4040 (save-place-dired-hook): Use `dired-goto-file' when
4041 `dired-filename' is found in the assoc list. Check integer
4042 positions with `integerp'.
4043 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4044
4045 * dired.el (dired-initial-position-hook): Rename back from
4046 `dired-initial-point-hook'.
4047 (dired-initial-position): Rename `dired-initial-point-hook' to
4048 `dired-initial-position-hook'.
4049 (dired-file-name-at-point): Doc fix. (Bug#15329)
4050
4051 2013-12-20 Juri Linkov <juri@jurta.org>
4052
4053 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4054 (read-regexp-suggestions): New function.
4055 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4056 Use `read-regexp-suggestions'. Add non-empty default to history
4057 for empty input.
4058 (occur-read-regexp-defaults-function): Remove function.
4059 (occur-read-primary-args): Use `regexp-history-last' instead of
4060 `occur-read-regexp-defaults-function'.
4061
4062 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4063 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4064 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4065 `hi-lock-read-regexp-defaults-function'. Doc fix.
4066 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4067 with `find-tag-default-as-symbol-regexp'. Doc fix.
4068 (hi-lock-read-regexp-defaults): Remove function.
4069 (hi-lock-regexp-okay): Add check for null.
4070
4071 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4072 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4073
4074 * subr.el (find-tag-default-as-symbol-regexp): New function.
4075 (find-tag-default-as-regexp): Move symbol regexp formatting to
4076 `find-tag-default-as-symbol-regexp'.
4077
4078 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4079
4080 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4081 (Bug#14179)
4082
4083 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4084
4085 * calendar/todo-mode.el: New implementation of item insertion
4086 commands and key bindings.
4087 (todo-key-prompt): New face.
4088 (todo-insert-item): New command.
4089 (todo-insert-item--parameters): New defconst, replacing defvar
4090 todo-insertion-commands-args-genlist.
4091 (todo-insert-item--param-key-alist): New defconst, replacing
4092 defvar todo-insertion-commands-arg-key-list.
4093 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4094 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4095 (todo-insert-item--next-param): New functions.
4096 (todo-insert-item--args, todo-insert-item--argleft)
4097 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4098 New variables.
4099 (todo-key-bindings-t): Change binding of "i" from
4100 todo-insertion-map to todo-insert-item.
4101 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4102 (todo-insertion-command-name, todo-insertion-commands-names)
4103 (todo-define-insertion-command, todo-insertion-commands)
4104 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4105
4106 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4107
4108 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4109 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4110 eval-when-compile.
4111 (todo-move-category): Allow choosing a non-existing todo file to
4112 move the category to, and create that file.
4113 (todo-default-priority): New user option.
4114 (todo-set-item-priority): Use it.
4115 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4116 (desktop-restore-file-buffer): Declare.
4117 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4118 (todo-modes-set-2): Locally set desktop-save-buffer to
4119 todo-desktop-save-buffer.
4120 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4121 (auto-mode-alist): Add autoload cookie.
4122
4123 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4124
4125 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4126 helpers.el was a poor choice of name.
4127 (string-remove-prefix): New function.
4128 (string-remove-suffix): New function.
4129
4130 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4131
4132 Fix assignment for new window total sizes.
4133 * window.el (window--pixel-to-size): Remove function.
4134 (window--pixel-to-total-1, window--pixel-to-total):
4135 Fix calculation of new total sizes.
4136
4137 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4138
4139 * comint.el (comint-output-filter): Fix rear-nonsticky property
4140 placement (Bug#16010).
4141
4142 2013-12-20 Chong Yidong <cyd@gnu.org>
4143
4144 * faces.el (read-color): Minor fix for completion function.
4145
4146 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4147
4148 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4149 New option. (Bug#16182)
4150 (ruby-smie--indent-to-stmt-p): Use it.
4151 (ruby-smie-rules): Revert the logic in the handling of `when'.
4152 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4153 (ruby-deep-arglist, ruby-deep-indent-paren)
4154 (ruby-deep-indent-paren-style): Update docstrings to note that the
4155 vars don't have any effect with SMIE.
4156
4157 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4158
4159 * calc/calc.el (calc-enter, calc-pop): Use the variable
4160 `calc-context-sensitive-enter'.
4161
4162 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4163
4164 * net/shr.el (shr-insert): Protect against infloops in degenerate
4165 tables.
4166
4167 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4168
4169 * progmodes/octave.el (octave): Add link to manual and octave
4170 homepage.
4171 (octave-mode-menu): Link to octave-mode manual.
4172
4173 2013-12-20 Leo Liu <sdl.web@gmail.com>
4174
4175 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4176 insertion using skeleton-end-newline. (Bug#16138)
4177
4178 2013-12-20 Juri Linkov <juri@jurta.org>
4179
4180 * replace.el (occur-engine): Use `add-face-text-property'
4181 to add the face property to matches and titles. (Bug#14645)
4182
4183 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4184 the palette of other hi-lock colors.
4185 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4186
4187 2013-12-19 Juri Linkov <juri@jurta.org>
4188
4189 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4190 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4191 (minibuffer-history-symbol): Move variable declaration closer to
4192 its usage.
4193
4194 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4195 (Bug#14785)
4196
4197 2013-12-19 Juri Linkov <juri@jurta.org>
4198
4199 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4200 New function.
4201 (log-edit-hook): Add it to :options. (Bug#16170)
4202
4203 2013-12-19 Juri Linkov <juri@jurta.org>
4204
4205 * simple.el (eval-expression-print-format): Don't check for
4206 command names and the last command. Always display additional
4207 formats of the integer result in the echo area, and insert them
4208 to the current buffer only with a zero prefix arg.
4209 Display character when char-displayable-p is non-nil.
4210 (eval-expression): With a zero prefix arg, set `print-length' and
4211 `print-level' to nil, and insert the integer values from
4212 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4213
4214 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4215 `eval-last-sexp-arg-internal'. Doc fix.
4216 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4217 `eval-last-sexp-print-value'. Doc fix.
4218 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4219 Set `print-length' and `print-level' to nil when arg is zero.
4220 (eval-last-sexp): Doc fix.
4221 (eval-defun-2): Print the integer values from
4222 `eval-expression-print-format' at the end.
4223
4224 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4225 values from `eval-expression-print-format' at the end.
4226
4227 * ielm.el (ielm-eval-input): Print the integer
4228 values from `eval-expression-print-format' at the end.
4229
4230 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4231
4232 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4233 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4234
4235 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4236
4237 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4238 (hl-line-highlight, global-hl-line-highlight): Use it.
4239 (hl-line-overlay): Use defvar-local.
4240
4241 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4242
4243 * term/ns-win.el: Require dnd.
4244 (global-map): Remove drag items.
4245 (ns-insert-text, ns-set-foreground-at-mouse)
4246 (ns-set-background-at-mouse):
4247 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4248 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4249 New functions.
4250
4251 2013-12-19 Glenn Morris <rgm@gnu.org>
4252
4253 * emacs-lisp/ert.el (ert-select-tests):
4254 Fix string/symbol mixup. (Bug#16121)
4255
4256 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4257
4258 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4259 keywords to their parent.
4260
4261 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4262
4263 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4264 first arg to be a string (fixed dead code), or an operator symbol.
4265 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4266 operator symbols.
4267 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4268 did nothing. Don't respond to `(:after ".")', it will be called
4269 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4270 change anything. Only return indentation for binary operators
4271 when they are hanging. De-dent opening paren when its parent is
4272 `.', otherwise it looks bad when the dot is not at bol or eol
4273 (bug#16182).
4274
4275 2013-12-19 Juri Linkov <juri@jurta.org>
4276
4277 * replace.el (query-replace-read-args): Split a non-negative arg
4278 and a negative arg into separate elements.
4279 (query-replace, query-replace-regexp, replace-string)
4280 (replace-regexp): Add arg `backward'. Doc fix.
4281 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4282 move point to the beginning of the match.
4283 (replace-search, replace-highlight): Use new arg `backward'
4284 to set the value of `isearch-forward'.
4285 (perform-replace): Add arg `backward' and use it to perform
4286 replacement backward. (Bug#14979)
4287
4288 * isearch.el (isearch-query-replace): Use a negative prefix arg
4289 to call `perform-replace' with a non-nil arg `backward'.
4290
4291 2013-12-18 Juri Linkov <juri@jurta.org>
4292
4293 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4294 to the default list. Move `log-edit-show-files' to the end.
4295 Add more available functions to options.
4296 (log-edit): Move default specific settings to
4297 `log-edit-insert-message-template'. Don't move point.
4298 (log-edit-insert-message-template): New function.
4299 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4300 (Bug#16170)
4301
4302 2013-12-18 Juri Linkov <juri@jurta.org>
4303
4304 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4305 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4306
4307 2013-12-18 Leo Liu <sdl.web@gmail.com>
4308
4309 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4310 (Bug#16186)
4311
4312 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4313
4314 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4315 formats for displaying file sizes when the -s switch is given.
4316 Instead, compute a separate format for displaying the size in
4317 blocks, which is displayed in addition to the "regular" size.
4318 When -h is given in addition to -s, produce size in blocks in
4319 human-readable form as well. (Bug#16179)
4320
4321 2013-12-18 Tassilo Horn <tsdh@gnu.org>
4322
4323 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4324 Reference tables with ~\ref{...} instead of only \ref{...}.
4325
4326 2013-12-18 Chong Yidong <cyd@gnu.org>
4327
4328 * cus-edit.el (custom-magic-alist): Fix "themed" description
4329 (Bug#14348).
4330
4331 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4332 is non-nil, do not create a new entry in the symbol's theme-value
4333 or theme-face property; update theme-settings only (Bug#14664).
4334 (custom-available-themes): Doc fix.
4335
4336 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4337 (Bug#15674).
4338
4339 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4340
4341 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4342
4343 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4344 (Bug#13914).
4345
4346 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
4347
4348 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4349
4350 2013-12-18 Glenn Morris <rgm@gnu.org>
4351
4352 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
4353 * cus-start.el (load-prefer-newer): New option.
4354
4355 2013-12-18 Le Wang <l26wang@gmail.com>
4356
4357 * comint.el (comint-previous-matching-input-from-input):
4358 Retain point (Bug#13404).
4359
4360 2013-12-18 Chong Yidong <cyd@gnu.org>
4361
4362 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4363
4364 2013-12-18 Glenn Morris <rgm@gnu.org>
4365
4366 * mail/emacsbug.el (report-emacs-bug):
4367 Only mention enable-multibyte-characters if non-standard.
4368
4369 2013-12-17 Juri Linkov <juri@jurta.org>
4370
4371 * arc-mode.el (archive-extract-by-file): Check if directory exists
4372 before deletion to not show irrelevant errors if it doesn't exist.
4373
4374 2013-12-17 Juri Linkov <juri@jurta.org>
4375
4376 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4377 (Bug#14751)
4378
4379 * net/eww.el (browse-web): Add alias to `eww'.
4380 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4381 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4382
4383 * net/browse-url.el (browse-url-browser-function): Move `eww'
4384 closer to similar functions.
4385
4386 * startup.el (fancy-startup-screen, fancy-about-screen):
4387 Set browse-url-browser-function to eww-browse-url locally.
4388 (Bug#14751)
4389
4390 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4391
4392 * window.el (window--pixel-to-total): Remove unused `mini' var.
4393 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4394 (split-window): Remove unused `new' var.
4395 (window--display-buffer): Remove unused `frame' and `delta' vars.
4396 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4397 and display-width'.
4398
4399 2013-12-17 Martin Rudalics <rudalics@gmx.at>
4400
4401 * dired.el (dired-mark-pop-up):
4402 * register.el (register-preview): Don't bind
4403 split-height-threshold here since it's now done in
4404 display-buffer-below-selected.
4405
4406 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4407
4408 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4409 xterm-rgb-convert-to-16bit.
4410 (rxvt-register-default-colors): Standardize with
4411 xterm-register-default-colors (Bug#14078).
4412
4413 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4414
4415 * simple.el (kill-region): Pass mark first, then point, so that
4416 kill-append works right (Bug#12819).
4417 (copy-region-as-kill, kill-ring-save): Likewise.
4418
4419 2013-12-17 Leo Liu <sdl.web@gmail.com>
4420
4421 * net/rcirc.el (rcirc-add-face):
4422 * eshell/em-prompt.el (eshell-emit-prompt):
4423 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4424 (Bug#16167)
4425
4426 2013-12-17 Chong Yidong <cyd@gnu.org>
4427
4428 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4429 Suggested by Xue Fuqiao.
4430
4431 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4432
4433 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4434
4435 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4436
4437 * net/shr.el (shr-insert-document): Remove unused var
4438 `shr-preliminary-table-render'.
4439 (shr-rescale-image): Remove unused arg `force'.
4440 (shr-put-image): Update calls accordingly.
4441 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4442
4443 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4444
4445 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4446 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4447 :close-all, to see which indentation method to use (Bug#16116).
4448 (smie-rules-function): Document the method :close-all.
4449
4450 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4451
4452 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4453
4454 * net/eww.el (eww-display-html): If we can't find the anchor we're
4455 looking for, then go to point-min.
4456
4457 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4458
4459 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4460 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4461 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4462 Expand dir too, in case it's relative.
4463
4464 2013-12-16 Juri Linkov <juri@jurta.org>
4465
4466 * desktop.el (desktop-auto-save-timeout): Change default to
4467 `auto-save-timeout'. Doc fix.
4468 (desktop-save): Skip the timestamp in desktop-saved-frameset
4469 when checking for auto-save changes.
4470 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4471 `desktop-auto-save' is called repeatedly by the idle timer.
4472 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4473 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4474 (Bug#15331)
4475
4476 2013-12-16 Juri Linkov <juri@jurta.org>
4477
4478 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4479 (Bug#16035)
4480 (isearch-pre-command-hook): Check `this-command' for symbolp.
4481
4482 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4483
4484 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4485
4486 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4487
4488 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4489 (cfengine3--current-function): Bring in the current-function
4490 functionality from `cfengine3--current-word'.
4491 (cfengine3-completion-function): Bring in the
4492 bounds-of-current-word functionality from
4493 `cfengine3--current-word'.
4494
4495 2013-12-16 Martin Rudalics <rudalics@gmx.at>
4496
4497 * window.el (display-buffer-below-selected):
4498 Bind split-height-threshold to 0 as suggested by Juri Linkov.
4499
4500 2013-12-16 Leo Liu <sdl.web@gmail.com>
4501
4502 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4503 Remove NOMSG arg and all uses changed.
4504
4505 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4506
4507 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4508 (cua--deactivate-rectangle): Don't deactivate the mark.
4509 (cua-set-rectangle-mark): Don't set mark-active since
4510 cua--activate-rectangle already does it for us.
4511 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4512 non-rectangular region.
4513
4514 * emulation/cua-base.el (cua-repeat-replace-region):
4515 Use with-current-buffer.
4516
4517 * net/gnutls.el: Use cl-lib.
4518 (gnutls-negotiate): `mapcan' -> cl-mapcan.
4519
4520 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4521
4522 * emacs-lisp/package.el (package-built-in-p): Support both
4523 built-in and the package.el converted package descriptions.
4524 (package-show-package-list): Allow keywords.
4525 (package-keyword-button-action): Use it instead of
4526 `finder-list-matches'.
4527 (package-menu-filter-interactive): Interactive filtering (by
4528 keyword) function.
4529 (package-menu--generate): Support keywords and change keymappings
4530 and headers when they are given.
4531 (package--has-keyword-p): Helper function.
4532 (package-menu--refresh): Use it.
4533 (package--mapc): Helper function.
4534 (package-all-keywords): Use it.
4535 (package-menu-mode-map): Set up menu items and keybindings to
4536 provide a filtering UI.
4537
4538 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4539
4540 * net/gnutls.el (gnutls-verify-error): New defcustom to control
4541 the behavior when a certificate fails validation. Defaults to
4542 old behavior: never abort, just warn.
4543 (gnutls-negotiate): Use it.
4544
4545 2013-12-14 Martin Rudalics <rudalics@gmx.at>
4546
4547 * window.el (display-buffer-below-selected): Never split window
4548 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
4549
4550 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
4551
4552 * emacs-lisp/package.el (package--prepare-dependencies): New function.
4553 (package-buffer-info): Use it (bug#15108).
4554
4555 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
4556
4557 * icomplete.el (icomplete-completions): Make sure the prefix is already
4558 displayed elsewhere before hiding it (bug#16219).
4559
4560 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
4561
4562 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
4563 open-paren tokens when preceded by a open-paren, too.
4564 (ruby-smie-rules): Handle virtual indentation after open-paren
4565 tokens specially. If there is code between it and eol, return the
4566 column where is starts (Bug#16118).
4567
4568 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4569
4570 * progmodes/cfengine.el: Fix `add-hook' doc.
4571 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
4572 (cfengine3--current-word): Fix parameters.
4573 (cfengine3-make-syntax-cache): Simplify further.
4574 (cfengine3-completion-function, cfengine3--current-function):
4575 Use `assq' for symbols.
4576 (cfengine3--current-function): Fix `cfengine3--current-word' call.
4577
4578 2013-12-13 Glenn Morris <rgm@gnu.org>
4579
4580 * loadup.el (load-path): Warn if site-load or site-init changes it.
4581 No more need to reset it when bootstrapping.
4582
4583 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
4584
4585 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
4586 locations for cf-promises.
4587 (cfengine-mode-syntax-functions-regex): New caching variable.
4588 (cfengine3-fallback-syntax): Fallback syntax for cases where
4589 cf-promises doesn't run.
4590 (cfengine3--current-word): Reimplement using
4591 `cfengine-mode-syntax-functions-regex'.
4592 (cfengine3-completion-function, cfengine3--current-function):
4593 Use `cfengine3-make-syntax-cache' directly.
4594 (cfengine3-clear-syntax-cache): New function.
4595 (cfengine3-make-syntax-cache): Simplify and create
4596 `cfengine-mode-syntax-functions-regex' on demand.
4597 (cfengine3-format-function-docstring): Don't call
4598 `cfengine3-make-syntax-cache' explicitly.
4599
4600 2013-12-13 Martin Rudalics <rudalics@gmx.at>
4601
4602 Fix windmove-find-other-window broken after pixelwise resizing
4603 (Bug#16017).
4604 * windmove.el (windmove-other-window-loc): Revert change from
4605 2013-12-04.
4606 (windmove-find-other-window): Call window-in-direction.
4607 * window.el (window-in-direction): New arguments SIGN, WRAP and
4608 MINI to emulate original windmove-find-other-window behavior.
4609
4610 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
4611
4612 * simple.el (blink-matching--overlay): New variable.
4613 (blink-matching-open): Instead of moving point, highlight the
4614 matching paren with an overlay
4615 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
4616
4617 * faces.el (paren-showing-faces, show-paren-match)
4618 (show-paren-mismatch): Move from paren.el.
4619
4620 2013-12-13 Leo Liu <sdl.web@gmail.com>
4621
4622 * indent.el (indent-region): Disable progress reporter in
4623 minibuffer. (Bug#16108)
4624
4625 * bindings.el (visual-order-cursor-movement): Fix version.
4626
4627 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4628
4629 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
4630 Also match after beginning of line.
4631 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
4632 files. Thanks to Russell Sim. (Bug#15378)
4633
4634 2013-12-13 Juri Linkov <juri@jurta.org>
4635
4636 * simple.el <Keypad support>: Remove key bindings duplicated
4637 with bindings.el. (Bug#14397)
4638
4639 2013-12-13 Juri Linkov <juri@jurta.org>
4640
4641 * comint.el (comint-mode-map): Replace `delete-char' with
4642 `delete-forward-char'. (Bug#16109)
4643
4644 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4645
4646 * progmodes/python.el (python-indent-calculate-indentation):
4647 Fix de-denters cornercase. (Bug#15731)
4648
4649 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4650
4651 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
4652 (advice--make): Pay attention to `depth'.
4653 (advice--make-1): Don't autoload commands eagerly.
4654 * emacs-lisp/elp.el (elp-instrument-function):
4655 * emacs-lisp/trace.el (trace-function-internal):
4656 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
4657
4658 * iswitchb.el (iswitchb-mode): Don't belittle ido.
4659
4660 2013-12-12 Eli Zaretskii <eliz@gnu.org>
4661
4662 * term/w32-win.el (w32-handle-dropped-file):
4663 * startup.el (normal-top-level):
4664 * net/browse-url.el (browse-url-file-url):
4665 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
4666 decode file names using 'utf-8' rather than
4667 file-name-coding-system.
4668
4669 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
4670
4671 * progmodes/python.el (python-indent-context)
4672 (python-indent-calculate-indentation): Fix auto-identation
4673 behavior for comment blocks. (Bug#15916)
4674
4675 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4676
4677 * progmodes/python.el (python-indent-calculate-indentation):
4678 When determining indentation, don't treat "return", "pass", etc., as
4679 operators when they are just string constituents. (Bug#15812)
4680
4681 2013-12-12 Juri Linkov <juri@jurta.org>
4682
4683 * uniquify.el (uniquify-buffer-name-style): Change default to
4684 `post-forward-angle-brackets'.
4685
4686 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
4687 `uniquify'. Change default to `post-forward-angle-brackets'.
4688
4689 2013-12-11 Glenn Morris <rgm@gnu.org>
4690
4691 * emacs-lisp/package.el (finder-list-matches):
4692 Autoload rather than falsely declaring.
4693
4694 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
4695
4696 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
4697 (eww-mode-map): Use them.
4698
4699 2013-12-11 Martin Rudalics <rudalics@gmx.at>
4700
4701 * window.el (display-buffer-in-side-window): Fix doc-string
4702 (Bug#16115).
4703
4704 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
4705
4706 * vc/vc-git.el: Silence byte-compiler warnings.
4707 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
4708 (log-edit-set-header): Declare.
4709
4710 2013-12-11 Eli Zaretskii <eliz@gnu.org>
4711
4712 * Makefile.in (custom-deps, finder-data): Run output file names
4713 through unmsys--file-name. (Bug#16099)
4714
4715 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
4716
4717 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
4718 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
4719
4720 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
4721 instead of deleting the selection "by hand" (bug#16098).
4722 Rely on insert-for-yank to yank rectangles.
4723 (cua-highlight-region-shift-only): Mark obsolete.
4724 (cua-mode): Don't enable/disable transient-mark-mode,
4725 shift-select-mode (cua-mode works both with and without them), and
4726 pc-selection-mode (obsolete).
4727 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
4728 (cua--deactivate-rectangle): Deactivate it.
4729
4730 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
4731 (delete-selection-helper): Make sure yank starts at the top of the
4732 deleted region.
4733 (minibuffer-keyboard-quit): Use region-active-p.
4734
4735 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
4736
4737 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
4738 to `delete' (bug#16109).
4739
4740 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4741
4742 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
4743 info manual and show keybindings and set `:group' keyword.
4744
4745 2013-12-11 Juri Linkov <juri@jurta.org>
4746
4747 * delsel.el (delete-active-region): Let-bind `this-command'
4748 to prevent `kill-region' from changing its original value.
4749 (delete-selection-helper): Handle `overwrite-mode' for the type
4750 `kill' exactly the same way as for the type `t'.
4751 (insert-char, quoted-insert, reindent-then-newline-and-indent):
4752 Support more commands. (Bug#13312)
4753
4754 2013-12-11 Juri Linkov <juri@jurta.org>
4755
4756 * bindings.el: Map kp keys to non-kp keys systematically
4757 with basic modifiers control, meta and shift. (Bug#14397)
4758
4759 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4760
4761 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
4762 "Close browser" menu items. Fix wrong function of "List
4763 bookmarks".
4764
4765 2013-12-11 Juri Linkov <juri@jurta.org>
4766
4767 * misearch.el (multi-isearch-buffers): Set the value of
4768 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4769 arg of isearch-forward to t.
4770 (multi-isearch-buffers-regexp): Set the value of
4771 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
4772 arg of isearch-forward-regexp to t.
4773 (multi-isearch-files): Set the value of
4774 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4775 arg of isearch-forward to t.
4776 (multi-isearch-files-regexp): Set the value of
4777 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
4778 arg of isearch-forward-regexp to t. (Bug#16035)
4779
4780 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
4781 arg of isearch-forward to t.
4782 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
4783 arg of isearch-forward-regexp to t.
4784 (dired-isearch-filter-filenames): Remove unnecessary check for
4785 `dired-isearch-filenames'.
4786
4787 * comint.el (comint-history-isearch-backward):
4788 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
4789 (comint-history-isearch-backward-regexp):
4790 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
4791
4792 2013-12-10 Eli Zaretskii <eliz@gnu.org>
4793
4794 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
4795 unmsys--file-name. (Bug#16099)
4796
4797 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
4798
4799 * emacs-lisp/package.el (package-keyword-button-action):
4800 Remove finder.el require dependency.
4801
4802 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
4803
4804 * emacs-lisp/package.el: Require finder.el.
4805 (describe-package-1): Add keyword buttons.
4806 (package-make-button): New convenience function.
4807 (package-keyword-button-action): Keyword button action using
4808 `finder-list-matches'.
4809
4810 2013-12-09 Eli Zaretskii <eliz@gnu.org>
4811
4812 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
4813 last commit.
4814
4815 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
4816
4817 * autorevert.el (auto-revert-notify-add-watch): Do not handle
4818 symlinked files.
4819
4820 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4821
4822 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4823 after the end of a percent literal.
4824
4825 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
4826
4827 * progmodes/ruby-mode.el (ruby-forward-string): Document.
4828 Handle caret-delimited strings (Bug#16079).
4829
4830 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
4831
4832 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
4833 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
4834 `ruby-parse-partial' (Bug#16078).
4835
4836 2013-12-09 Leo Liu <sdl.web@gmail.com>
4837
4838 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
4839
4840 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
4841
4842 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
4843 (js-switch-indent-offset): New option.
4844 (js--proper-indentation): Use it. And handle the case when
4845 "default" is actually a key in an object literal.
4846 (js--same-line): New function.
4847 (js--multi-line-declaration-indentation): Use it.
4848 (js--indent-in-array-comp, js--array-comp-indentation):
4849 New functions.
4850 (js--proper-indentation): Use them, to handle array comprehension
4851 continuations.
4852
4853 2013-12-08 Leo Liu <sdl.web@gmail.com>
4854
4855 * progmodes/flymake.el (flymake-highlight-line): Re-write.
4856 (flymake-make-overlay): Remove arg MOUSE-FACE.
4857 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
4858
4859 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4860
4861 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
4862 New function.
4863 (redisplay-highlight-region-function): Use it.
4864
4865 * emulation/cua-base.el (cua--explicit-region-start)
4866 (cua--last-region-shifted): Remove.
4867 (cua--deactivate): Use deactivate-mark.
4868 (cua--pre-command-handler-1): Don't handle shift-selection.
4869 (cua--post-command-handler-1): Don't change transient-mark-mode.
4870 (cua--select-keymaps): Use region-active-p rather than
4871 cua--explicit-region-start or cua--last-region-shifted.
4872 (cua-mode): Enable shift-select-mode.
4873
4874 2013-12-08 Leo Liu <sdl.web@gmail.com>
4875
4876 * progmodes/flymake.el (flymake-popup-current-error-menu):
4877 Rename from flymake-display-err-menu-for-current-line. Reimplement.
4878 (flymake-posn-at-point-as-event, flymake-popup-menu)
4879 (flymake-make-emacs-menu): Remove. (Bug#16077)
4880
4881 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
4882
4883 * rect.el (rectangle-mark-mode): Activate mark even if
4884 transient-mark-mode is off (bug#16066).
4885 (rectangle--highlight-for-redisplay): Fix boundary condition when point
4886 is > mark and at bolp.
4887
4888 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
4889 (region-extract-function): Use it.
4890 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
4891 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
4892 Delete functions.
4893 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
4894 kill-ring-save, kill-region, delete-char, delete-forward-char.
4895 Ignore self-insert-iso.
4896
4897 * emulation/cua-gmrk.el (cua--init-global-mark):
4898 Ignore `self-insert-iso'.
4899
4900 * emulation/cua-base.el (cua--prefix-copy-handler)
4901 (cua--prefix-cut-handler): Rely on region-extract-function rather than
4902 checking cua--rectangle.
4903 (cua-delete-region): Use region-extract-function.
4904 (cua-replace-region): Delete function.
4905 (cua-copy-region, cua-cut-region): Obey region-extract-function.
4906 (cua--pre-command-handler-1): Don't do the delete-selection thing.
4907 (cua--self-insert-char-p): Ignore `self-insert-iso'.
4908 (cua--init-keymaps): Don't remap delete-selection commands.
4909 (cua-mode): Use delete-selection-mode instead of rolling our own
4910 (bug#16085).
4911
4912 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
4913 Obey region-extract-function.
4914
4915 Make registers and delete-selection-mode work on rectangles.
4916 * register.el (describe-register-1): Don't modify the register's value.
4917 (copy-to-register): Obey region-extract-function.
4918 * delsel.el (delete-active-region): Obey region-extract-function.
4919
4920 2013-12-08 Leo Liu <sdl.web@gmail.com>
4921
4922 * progmodes/flymake.el (flymake, flymake-error-bitmap)
4923 (flymake-warning-bitmap, flymake-fringe-indicator-position)
4924 (flymake-compilation-prevents-syntax-check)
4925 (flymake-start-syntax-check-on-newline)
4926 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
4927 (flymake-start-syntax-check-on-find-file, flymake-log-level)
4928 (flymake-xml-program, flymake-master-file-dirs)
4929 (flymake-master-file-count-limit)
4930 (flymake-allowed-file-name-masks): Relocate.
4931 (flymake-makehash, flymake-float-time)
4932 (flymake-replace-regexp-in-string, flymake-split-string)
4933 (flymake-get-temp-dir): Remove.
4934 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
4935 (flymake-current-row, flymake-selected-frame)
4936 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
4937 related functions. (Bug#16077)
4938
4939 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
4940
4941 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
4942
4943 2013-12-07 Tassilo Horn <tsdh@gnu.org>
4944
4945 * help-fns.el (describe-function-1): Use new advice-* functions
4946 rather than old ad-* functions. Fix function type description and
4947 source links for advised functions and subrs.
4948
4949 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
4950
4951 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
4952
4953 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
4954
4955 * progmodes/compile.el (compilation-start):
4956 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
4957
4958 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4959 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
4960
4961 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4962
4963 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4964 Touch up the last change.
4965
4966 2013-12-06 Leo Liu <sdl.web@gmail.com>
4967
4968 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
4969 (inferior-octave-startup): Always use "octave> " for prompt.
4970 (octave-goto-function-definition)
4971 (octave-sync-function-file-names)
4972 (octave-find-definition-default-filename): Remove redundant backquotes.
4973
4974 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4975
4976 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
4977 syntax for `?'.
4978 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
4979 where appropriate already.
4980 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
4981 end of method names (Bug#15874).
4982
4983 2013-12-06 Juri Linkov <juri@jurta.org>
4984
4985 * isearch.el (isearch--saved-overriding-local-map):
4986 New internal variable.
4987 (isearch-mode): Set it to the initial value of
4988 `overriding-terminal-local-map'.
4989 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
4990 with `isearch--saved-overriding-local-map'. (Bug#16035)
4991
4992 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
4993
4994 * progmodes/octave.el (inferior-octave-completion-table):
4995 Turn back into function, use `completion-table-with-cache'
4996 (Bug#11906). Update all references.
4997
4998 * minibuffer.el (completion-table-with-cache): New function.
4999
5000 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5001
5002 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5003
5004 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5005
5006 * net/eww.el (eww-current-source): New variable to store page
5007 source.
5008 (eww-display-html, eww-mode, eww-save-history)
5009 (eww-restore-history): Use it.
5010 (eww-view-source): New command to view page source.
5011 Opportunistically uses `html-mode' to highlight the buffer.
5012 (eww-mode-map): Install it.
5013
5014 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5015
5016 * net/dbus.el (dbus-unregister-service)
5017 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5018 Fix docstring.
5019 (dbus-unregister-service): Skip :serial entries in
5020 `dbus-registered-objects-table'.
5021 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5022
5023 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5024
5025 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5026 around keywords with extra `split-string' argument.
5027
5028 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5029
5030 * windmove.el (windmove-other-window-loc): Handle navigation
5031 between windows (excluding the minibuffer window - Bug#16017).
5032
5033 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5034
5035 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5036 in D-Bus type syntax.
5037 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5038 preserve unibyte strings. (Bug#16048)
5039
5040 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5041
5042 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5043 Call force-mode-line-update is the proper buffer (bug#16042).
5044
5045 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5046
5047 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5048 `log-edit-remember-comment', make argument optional. Adjust all
5049 callers.
5050 (log-edit-mode): Add `log-edit-remember-comment' to
5051 `kill-buffer-hook' locally.
5052 (log-edit-kill-buffer): Don't remember comment explicitly since
5053 the buffer is killed anyway.
5054
5055 2013-12-04 Juri Linkov <juri@jurta.org>
5056
5057 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5058 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5059
5060 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5061
5062 * notifications.el (notifications-close-notification): Call the
5063 D-Bus method with ID being a `:uint32'. (Bug#16030)
5064
5065 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5066
5067 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5068
5069 2013-12-03 Juri Linkov <juri@jurta.org>
5070
5071 * progmodes/compile.el (compilation-start): Rename window alist
5072 entry `no-display-ok' to `allow-no-window'.
5073
5074 * simple.el (shell-command): Add window alist entry
5075 `allow-no-window' to `display-buffer'.
5076 (async-shell-command): Doc fix.
5077
5078 * window.el (display-buffer-no-window): New action function.
5079 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5080
5081 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5082
5083 * vc/log-edit.el (log-edit-set-header): Extract from
5084 `log-edit-toggle-header'.
5085 (log-edit-extract-headers): Separate the summary, when extracted
5086 from header, from the rest of the message with an empty line.
5087
5088 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5089 line, if present, to the Summary header.
5090
5091 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5092
5093 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5094 in current-buffer (bug#16029).
5095
5096 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5097
5098 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5099 (debugger-mode-map): Bind it.
5100 (debugger--backtrace-base): New function.
5101 (debugger-eval-expression): Use it.
5102 (debugger-frame-number): Skip local vars when present.
5103 (debugger--locals-visible-p, debugger--insert-locals)
5104 (debugger--show-locals, debugger--hide-locals): New functions.
5105
5106 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5107
5108 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5109 "LC_ALL".
5110 (tramp-get-remote-locale): New defun.
5111 (tramp-open-connection-setup-interactive-shell): Use it.
5112
5113 2013-12-02 Leo Liu <sdl.web@gmail.com>
5114
5115 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5116
5117 * progmodes/sh-script.el (sh-shell-process):
5118 * progmodes/octave.el (inferior-octave-process-live-p):
5119 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5120 (gdb-inferior-io-sentinel):
5121 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5122
5123 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5124
5125 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5126 `save-selected-window' to `log-edit-hide-buf'. This makes
5127 `log-edit-show-files' idempotent.
5128 (log-edit-show-files): Mark the new window as dedicated.
5129
5130 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5131
5132 * vc/log-edit.el (log-edit-mode-map): Add binding for
5133 `log-edit-kill-biffer'.
5134 (log-edit-hide-buf): Add a FIXME comment.
5135 (log-edit-add-new-comment): New function, extracted from
5136 `log-edit-done'.
5137 (log-edit-done, log-edit-add-to-changelog): Use it.
5138 (log-edit-kill-buffer): New command.
5139
5140 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5141
5142 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5143 instead of killing the buffer.
5144
5145 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5146
5147 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5148
5149 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5150
5151 * net/eww.el (eww-form-checkbox-selected-symbol)
5152 (eww-form-checkbox-symbol): New customizable variable.
5153 (eww-form-checkbox, eww-toggle-checkbox):
5154 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5155
5156 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5157 (shr--get-media-pref, shr--extract-best-source): New function.
5158 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5159 no :src tag was specified.
5160
5161 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5162 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5163 Use \\` to match beginning of string instead of ^.
5164 (eww-browse-with-external-browser): Provide optional URL parameter.
5165 (eww-render): Set `eww-current-title' back to "".
5166
5167 * net/shr.el (shr-tag-video): Display content for video if no
5168 poster is available.
5169 (shr-tag-audio): Add support for <audio> tag.
5170
5171 * net/eww.el (eww-text-input-types): New const.
5172 (eww-process-text-input): Treat input types in
5173 `eww-text-input-types' as text.
5174
5175 * net/shr.el (shr-tag-table): Fix comment typo.
5176
5177 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5178
5179 * net/eww.el (eww-follow-link): New command to avoid reloading
5180 pages when we follow #target links (bug#15243).
5181 (eww-quit): Special mode buffers shouldn't query before exiting.
5182
5183 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5184
5185 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5186 forms.
5187
5188 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5189
5190 * net/eww.el (eww-restore-history): Update the window title after
5191 moving in the history.
5192 (eww-current-dom): New variable used to save the current DOM.
5193
5194 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5195
5196 * vc/log-edit.el (log-edit-mode-map): Add binding for
5197 `log-edit-beginning-of-line'.
5198 (log-edit-setup-add-author): New user option.
5199 (log-edit-beginning-of-line): New command.
5200 (log-edit): Move major mode call above the contents setup so that
5201 the local variable values are already applied.
5202 (log-edit): Only insert "Author: " when
5203 `log-edit-setup-add-author' is non-nil.
5204 (log-edit): When SETUP is non-nil, position point after ": "
5205 instead of point-min.
5206
5207 2013-12-01 Glenn Morris <rgm@gnu.org>
5208
5209 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5210
5211 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5212
5213 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5214 redisplay to make sure the initial frame gets a chance to become
5215 visible. (Bug#16014)
5216
5217 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5218
5219 Support resizing frames and windows pixelwise.
5220 * cus-start.el (frame-resize-pixelwise)
5221 (window-resize-pixelwise): New entries.
5222 * emacs-lisp/debug.el (debug): Use window-total-height instead
5223 of window-total-size.
5224 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5225 * help.el (describe-bindings-internal): Use help-buffer as
5226 argument for with-help-window.
5227 (temp-buffer-max-width): New option.
5228 (resize-temp-buffer-window, help-window-setup)
5229 (with-help-window): Rewrite.
5230 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5231 dragging dividers.
5232 * window.el (frame-char-size, window-min-pixel-height)
5233 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5234 (window-min-pixel-width, window-safe-min-pixel-size)
5235 (window-combination-p, window-safe-min-size)
5236 (window-resizable-p, window--size-to-pixel)
5237 (window--pixel-to-size, window--resize-apply-p): New functions.
5238 (window-safe-min-height): Fix doc-string.
5239 (window-size, window-min-size, window--min-size-1)
5240 (window-sizable, window-sizable-p, window--min-delta-1)
5241 (window-min-delta, window--max-delta-1, window-max-delta)
5242 (window--resizable, window--resizable-p, window-resizable)
5243 (window-full-height-p, window-full-width-p, window-at-side-p)
5244 (window--in-direction-2, window-in-direction)
5245 (window--resize-reset-1, window--resize-mini-window)
5246 (window-resize, window-resize-no-error)
5247 (window--resize-child-windows-normal)
5248 (window--resize-child-windows, window--resize-siblings)
5249 (window--resize-this-window, window--resize-root-window)
5250 (window--resize-root-window-vertically)
5251 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5252 (maximize-window, minimize-window, delete-window)
5253 (quit-restore-window, window-split-min-size, split-window)
5254 (balance-windows-2, balance-windows)
5255 (balance-windows-area-adjust, balance-windows-area)
5256 (window--state-get-1, window-state-get, window--state-put-1)
5257 (window--state-put-2, window-state-put)
5258 (display-buffer-record-window, window--display-buffer):
5259 Make functions handle pixelwise sizing of windows.
5260 (display-buffer--action-function-custom-type)
5261 (display-buffer-fallback-action):
5262 Add display-buffer-in-previous-window.
5263 (display-buffer-use-some-window): Resize window to height it had
5264 before.
5265 (fit-window-to-buffer-horizontally): New option.
5266 (fit-frame-to-buffer): Describe new values.
5267 (fit-frame-to-buffer-bottom-margin): Replace with
5268 fit-frame-to-buffer-margins.
5269 (window--sanitize-margin): New function.
5270 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5271 using window-text-pixel-size.
5272
5273 2013-11-30 Glenn Morris <rgm@gnu.org>
5274
5275 * emacs-lisp/bytecomp.el (byte-compile-form):
5276 Make the `interactive-only' warning like the `obsolete' one.
5277 * comint.el (comint-run):
5278 * files.el (insert-file-literally, insert-file):
5279 * replace.el (replace-string, replace-regexp):
5280 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5281 (goto-line, insert-buffer, next-line, previous-line):
5282 Tweak `interactive-only' spec.
5283
5284 Stop keeping (most) generated cedet grammar files in the repository.
5285 * Makefile.in (semantic): New.
5286 (compile-main): Depend on semantic.
5287
5288 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5289
5290 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5291 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5292
5293 * uniquify.el (uniquify-buffer-name-style): Change default.
5294
5295 * loadup.el: Preload "uniquify".
5296
5297 * time.el (display-time-update): Update all mode lines (bug#15999).
5298
5299 * electric.el (electric-indent-mode): Enable by default.
5300 * loadup.el: Preload "electric".
5301
5302 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5303
5304 * emacs-lisp/helpers.el (string-empty-p): New function.
5305 (string-blank-p): New function.
5306
5307 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5308
5309 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5310 (Bug#14029).
5311
5312 2013-11-29 Andreas Politz <politza@fh-trier.de>
5313 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5314 allow non-lambda lists as functions.
5315 (imenu--in-alist): Don't recurse into non-subalists.
5316 (imenu): Don't pass function itself as an argument (Bug#14029).
5317
5318 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5319
5320 * progmodes/python.el (python-mode-map): Remove binding for ":".
5321 (python-indent-electric-colon): Remove command.
5322 (python-indent-post-self-insert-function): Integrate the previous code
5323 of python-indent-electric-colon. Make it conditional on
5324 electric-indent-mode.
5325 (python-mode): Add ?: to electric-indent-chars.
5326 Move python-indent-post-self-insert-function to the end of
5327 post-self-insert-hook.
5328
5329 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5330
5331 * doc-view.el (doc-view-goto-page): Update mode-line.
5332
5333 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5334
5335 2013-11-27 Glenn Morris <rgm@gnu.org>
5336
5337 * international/charprop.el, international/uni-bidi.el:
5338 * international/uni-category.el, international/uni-combining.el:
5339 * international/uni-comment.el, international/uni-decimal.el:
5340 * international/uni-decomposition.el, international/uni-digit.el:
5341 * international/uni-lowercase.el, international/uni-mirrored.el:
5342 * international/uni-name.el, international/uni-numeric.el:
5343 * international/uni-old-name.el, international/uni-titlecase.el:
5344 * international/uni-uppercase.el:
5345 Remove generated files from VCS repository.
5346
5347 2013-11-27 Eli Zaretskii <eliz@gnu.org>
5348
5349 * filenotify.el (file-notify-add-watch): Don't special-case
5350 w32notify when computing the directory to watch.
5351
5352 2013-11-27 Glenn Morris <rgm@gnu.org>
5353
5354 Make bootstrap without generated uni-*.el files possible again.
5355 * loadup.el: Update command-line-args checking for unidata-gen.
5356 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5357 * composite.el, international/characters.el:
5358 Handle unicode tables being undefined.
5359
5360 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
5361 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5362 (compile-main): Depend on leim rule.
5363 (leim): New rule.
5364 * loadup.el: Move leim-list.el to leim/ subdirectory.
5365 * startup.el (normal-top-level): No more leim directory.
5366 * international/ja-dic-cnv.el (skkdic-convert):
5367 Disable version-control and autoloads in output files.
5368 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5369 Disable version-control and autoloads in output files.
5370 * leim/quail: Move here from ../leim.
5371 * leim/quail/hangul.el (hangul-input-method-activate):
5372 Add autoload cookie.
5373 (generated-autoload-load-name): Set file-local value.
5374 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5375 (generated-autoload-load-name): Set file-local value.
5376
5377 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
5378
5379 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
5380 (eww-add-bookmark): Ask confirmation when add to bookmarks.
5381 (eww-quit): Ask confirmation before quitting eww.
5382
5383 2013-11-26 Eli Zaretskii <eliz@gnu.org>
5384
5385 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5386 reading output from Diff on MS-Windows and MS-DOS.
5387
5388 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5389
5390 * emacs-lisp/helpers.el (string-reverse): New function.
5391
5392 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
5393
5394 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5395 names on MS Windows, like "/[::1]:".
5396
5397 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5398 SWITCHES.
5399
5400 2013-11-26 Glenn Morris <rgm@gnu.org>
5401
5402 * progmodes/python.el (python-indent-guess-indent-offset):
5403 Avoid corner-case error. (Bug#15975)
5404
5405 Preload leim-list.el. (Bug#4789)
5406 * loadup.el: Load leim-list.el when found.
5407 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5408
5409 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
5410
5411 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5412
5413 * emacs-lisp/helpers.el (string-join): New function.
5414
5415 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
5416
5417 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5418 Mark as obsolete and replace it with a symbol property.
5419 (byte-compile-form): Use new 'interactive-only property.
5420 * comint.el, files.el, replace.el, simple.el:
5421 Apply new 'interactive-only properly.
5422
5423 2013-11-25 Martin Rudalics <rudalics@gmx.at>
5424
5425 * window.el (display-buffer-at-bottom): Make sure that
5426 split-window-sensibly creates the new window on bottom
5427 (Bug#15961).
5428
5429 2013-11-23 David Kastrup <dak@gnu.org>
5430
5431 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5432 on the conflict markers when available.
5433 (smerge--get-marker): New function.
5434 (smerge-end-re, smerge-base-re): Add subgroup.
5435
5436 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5437
5438 * frame.el (handle-focus-in, handle-focus-out): Add missing
5439 interactive spec.
5440
5441 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
5442
5443 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5444 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5445
5446 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5447
5448 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5449 (gomoku--last-pos): New var.
5450 (gomoku--intangible-chars): New const.
5451 (gomoku--intangible): New function.
5452 (gomoku-mode): Use it. Derive from special-mode.
5453 (gomoku-move-up): Adjust line count.
5454 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5455 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5456 Simplify accordingly.
5457
5458 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5459 Remove blink-cursor code.
5460 (blink-cursor-timer-function, blink-cursor-suspend):
5461 Don't special-case GUIs.
5462 (blink-cursor-mode): Use focus-in/out-hook.
5463
5464 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5465
5466 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5467 work when annotation is invisible (Bug#13886).
5468
5469 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
5470
5471 * json.el (json-alist-p): Only return non-nil if the alist has
5472 simple keys (Bug#13518).
5473
5474 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
5475
5476 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5477 when control-statement is the first statement in a buffer (Bug#15956).
5478
5479 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5480
5481 * imenu.el (imenu-generic-skip-comments-and-strings):
5482 New option (Bug#15560).
5483 (imenu--generic-function): Use it.
5484
5485 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5486
5487 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5488 (Bug#13898)
5489
5490 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5491
5492 * emacs-lisp/helpers.el: Add some string helpers.
5493 (string-trim-left): Removes leading whitespace.
5494 (string-trim-right): Removes trailing whitespace.
5495 (string-trim): Removes leading and trailing whitespace.
5496
5497 * subr.el (string-suffix-p): New function.
5498
5499 2013-11-23 Glenn Morris <rgm@gnu.org>
5500
5501 * progmodes/python.el (python-shell-send-file):
5502 Add option to delete file when done. (Bug#15647)
5503 (python-shell-send-string, python-shell-send-region): Use it.
5504
5505 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5506
5507 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5508 to set buffer-read-only to t, never to nil. (Bug#15938)
5509
5510 * textmodes/tex-mode.el (latex-noindent-environments):
5511 Add safe-local-variable property. (Bug#15936)
5512
5513 2013-11-23 Glenn Morris <rgm@gnu.org>
5514
5515 * textmodes/enriched.el (enriched-mode): Doc fix.
5516 * emacs-lisp/authors.el (authors-renamed-files-alist):
5517 Add enriched.doc -> enriched.txt.
5518
5519 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5520
5521 2013-11-22 Leo Liu <sdl.web@gmail.com>
5522
5523 * progmodes/octave.el (inferior-octave-startup): Spit out error
5524 message.
5525
5526 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
5527
5528 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5529 Improve docstring.
5530 Add :version.
5531 (ruby-encoding-magic-comment-style): Add :version.
5532
5533 2013-11-22 Leo Liu <sdl.web@gmail.com>
5534
5535 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
5536 (Bug#15076)
5537 (octave-help-mode): Adapt to change to help-mode-finish to use
5538 derived-mode-p on 2013-09-17.
5539 (inferior-octave-prompt): Also match octave-gui.
5540 (octave-kill-process): Don't ask twice. (Bug#10564)
5541
5542 2013-11-22 Leo Liu <sdl.web@gmail.com>
5543
5544 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
5545 (inferior-octave-startup, inferior-octave-check-process)
5546 (inferior-octave-track-window-width-change)
5547 (octave-completion-at-point, octave-eldoc-function): Use it.
5548 (octave-kill-process): Provide confirmation. (Bug#10564)
5549
5550 2013-11-21 Leo Liu <sdl.web@gmail.com>
5551
5552 * progmodes/octave.el (octave-mode, inferior-octave-mode):
5553 Fix obsolete variable comment-use-global-state.
5554
5555 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5556
5557 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
5558 Add `octave-source-file'.
5559 (octave-source-file): New function. (Bug#15935)
5560
5561 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
5562
5563 * net/eww.el (eww-local-regex): New variable.
5564 (eww): Use it to detect localhost and similar.
5565
5566 2013-11-21 Leo Liu <sdl.web@gmail.com>
5567
5568 Add completion for command `ag'.
5569 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
5570 (pcomplete/ag): New function.
5571 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
5572
5573 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5574
5575 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
5576 (bug#14646).
5577 (make-obsolete): Remove interactive spec.
5578
5579 2013-11-21 Glenn Morris <rgm@gnu.org>
5580
5581 * startup.el (command-line-1): Use path-separator with -L.
5582
5583 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
5584
5585 * emacs-lisp/package.el (describe-package-1): Add package archive
5586 to shown fields.
5587
5588 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
5589
5590 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
5591 Change default to "# encoding: %s" to differentiate it from the
5592 default Ruby encoding comment template.
5593
5594 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
5595
5596 * ses.el (ses-mode): Doc fix. (Bug#14748)
5597
5598 2013-11-20 Leo Liu <sdl.web@gmail.com>
5599
5600 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
5601
5602 2013-11-19 Dan Nicolaescu <dann@gnu.org>
5603
5604 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
5605 when rebase or bisect are in progress.
5606
5607 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
5608
5609 * filenotify.el (file-notify-add-watch): Doc fix.
5610
5611 2013-11-19 Leo Liu <sdl.web@gmail.com>
5612
5613 * obsolete/rcompile.el: Mark obsolete.
5614
5615 * progmodes/compile.el (compilation-start)
5616 (compilation-goto-locus, compilation-find-file):
5617 Pass no-display-ok and handle nil value from display-buffer.
5618 (Bug#13594)
5619
5620 * window.el (display-buffer-alist, display-buffer): Document the
5621 new parameter no-display-ok. Return either a window or nil
5622 but never a non-window value.
5623
5624 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
5625
5626 * electric.el (electric-indent-mode-map): Remove.
5627 (electric-indent-mode): Change the global-map instead (bug#15915).
5628
5629 * textmodes/text-mode.el (paragraph-indent-minor-mode):
5630 Use add-function.
5631
5632 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
5633
5634 * emacs-lisp/nadvice.el (remove-function): Align with
5635 add-function's behavior.
5636
5637 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
5638 (gdb--string-regexp): New constant.
5639 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
5640 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
5641 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
5642 submatch 1.
5643 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
5644 Adjust use accordingly.
5645 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
5646
5647 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
5648
5649 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
5650 interpolation curlies (Bug#15914).
5651
5652 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
5653
5654 * calc/calc.el (calc-context-sensitive-enter): New variable.
5655 (calc-enter): Use `calc-context-sensitive-enter'.
5656
5657 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
5658
5659 * progmodes/cfengine.el: Version bump.
5660 (cfengine-cf-promises): New defcustom to locate cf-promises.
5661 (cfengine3-vartypes): Add new "data" type.
5662 (cfengine3--current-word): New function to get current name-like
5663 word or its bounds.
5664 (cfengine3--current-function): New function to look up a CFEngine
5665 function's definition.
5666 (cfengine3-format-function-docstring): New function.
5667 (cfengine3-make-syntax-cache): New function.
5668 (cfengine3-documentation-function): New function: ElDoc glue.
5669 (cfengine3-completion-function): New function: completion glue.
5670 (cfengine3-mode): Set `compile-command',
5671 `eldoc-documentation-function', and add to
5672 `completion-at-point-functions'.
5673
5674 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
5675
5676 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5677 `tramp-current-connection'.
5678
5679 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
5680
5681 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
5682 nil/self/true/false with "end of symbol".
5683
5684 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
5685
5686 * subr.el (version-regexp-alist): Fix a typo.
5687
5688 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
5689
5690 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
5691 "en_US.utf8" and "LC_CTYPE" to "".
5692 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
5693 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
5694
5695 2013-11-15 Leo Liu <sdl.web@gmail.com>
5696
5697 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
5698
5699 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5700
5701 * progmodes/gud.el (ctl-x-map):
5702 Remove C-x SPC binding. (Bug#12342)
5703 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
5704
5705 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
5706
5707 * subr.el (version-regexp-alist):
5708 Recognize hg, svn and darcs versions as snapshot versions.
5709
5710 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
5711 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
5712 (ruby--encoding-comment-required-p): Extract from
5713 `ruby-mode-set-encoding'.
5714 (ruby-mode-set-encoding): Add the ability to always insert an
5715 utf-8 encoding comment. Fix and simplify coding comment update
5716 logic.
5717
5718 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
5719
5720 * net/tramp-gvfs.el (top): Run init code only when
5721 `tramp-gvfs-enabled' is not nil.
5722 (tramp-gvfs-enabled): Check also :system bus.
5723
5724 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5725
5726 Sync with upstream verilog-mode revision 78e66ba.
5727 * progmodes/verilog-mode.el (verilog-end-of-defun)
5728 (verilog-type-completion, verilog-get-list): Remove unused funcs.
5729 (verilog-get-end-of-defun): Remove unused argument.
5730 (verilog-comment-depth): Remove unused local `e'.
5731 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
5732 Don't pass arg to verilog-get-end-of-defun.
5733
5734 2013-11-14 Glenn Morris <rgm@gnu.org>
5735
5736 * obsolete/assoc.el (aget): Prefix dynamic variable.
5737
5738 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
5739
5740 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5741
5742 * widget.el, hfy-cmap.el: Remove bogus package version number.
5743
5744 2013-11-13 Glenn Morris <rgm@gnu.org>
5745
5746 * replace.el (replace-eval-replacement):
5747 Try to give more helpful error message. (Bug#15836)
5748
5749 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
5750 (archive-7z-update): Avoid custom type mismatches.
5751
5752 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
5753
5754 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
5755
5756 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
5757 address can be empty.
5758
5759 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
5760 Accept nil SWITCHES.
5761 (tramp-gvfs-handle-write-region): Implement APPEND.
5762
5763 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
5764
5765 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
5766 binary "|" operator and closing block args delimiter.
5767 Remove FIXME comment referring to Ruby 1.8-only syntax.
5768 (ruby-smie--implicit-semi-p): Not after "|" operator.
5769 (ruby-smie--closing-pipe-p): New function.
5770 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
5771 (ruby-smie-rules): Indent after "|".
5772
5773 2013-11-12 Glenn Morris <rgm@gnu.org>
5774
5775 * ps-print.el (ps-face-attribute-list):
5776 Handle anonymous faces. (Bug#15827)
5777
5778 2013-11-12 Martin Rudalics <rudalics@gmx.at>
5779
5780 * window.el (display-buffer-other-frame): Fix doc-string.
5781 (Bug#15868)
5782
5783 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5784
5785 * subr.el (force-mode-line-update): Delete, move to buffer.c.
5786
5787 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
5788
5789 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
5790 (tramp-sh-handle-file-local-copy): Don't write a message when
5791 saving temporary files.
5792
5793 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
5794 both directories are remote.
5795 (tramp-smb-handle-directory-files): Do not return double entries.
5796 Do not expand full file names.
5797 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
5798 (tramp-smb-handle-write-region): Implement APPEND.
5799 (tramp-smb-get-stat-capability): Fix a stupid bug.
5800
5801 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5802
5803 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5804
5805 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5806
5807 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
5808 throwing error over malformed let/let* (bug#15814).
5809
5810 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
5811
5812 * iswitchb.el (iswitchb-mode): Mark obsolete.
5813
5814 2013-11-11 Glenn Morris <rgm@gnu.org>
5815
5816 * international/uni-bidi.el, international/uni-category.el:
5817 * international/uni-name.el, international/uni-numeric.el:
5818 Regenerate for Unicode 6.3.0.
5819
5820 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
5821
5822 * net/tramp.el (tramp-methods):
5823 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
5824 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
5825
5826 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
5827
5828 * progmodes/sh-script.el (sh-font-lock-keywords-var):
5829 Force highlighting text after Summary keyword in doc face for rpm.
5830
5831 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
5832
5833 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
5834 available and the word has no wildcards, append one to the grep pattern.
5835 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
5836 (ispell-complete-word): Call `ispell-lookup-words' with the value
5837 independent of `ispell-look-p'.
5838
5839 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5840
5841 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
5842 Not after "||".
5843 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
5844 their parent.
5845
5846 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5847
5848 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
5849 (ruby-font-lock-keywords): Use backquote.
5850
5851 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5852
5853 * progmodes/ruby-mode.el (ruby-smie--forward-token)
5854 (ruby-smie--backward-token): Only consider full-string matches.
5855
5856 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
5857
5858 * faces.el (describe-face): Add distant-foreground.
5859
5860 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
5861
5862 * progmodes/ruby-mode.el: Improve encoding comment handling.
5863 (ruby-encoding-magic-comment-style): New option.
5864 (ruby-custom-encoding-magic-comment-template): New option.
5865 (ruby--insert-coding-comment, ruby--detect-encoding):
5866 New functions extracted from `ruby-mode-set-encoding'.
5867 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
5868 to control the style of the auto-inserted encoding comment.
5869
5870 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5871
5872 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
5873 Use `smie-backward-sexp' with token argument.
5874
5875 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
5876
5877 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5878 Remove instrumentation code.
5879
5880 2013-11-08 Glenn Morris <rgm@gnu.org>
5881
5882 * progmodes/autoconf.el (autoconf-mode):
5883 Tweak comment-start-skip. (Bug#15822)
5884
5885 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5886
5887 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
5888 at bobp (bug#15826).
5889 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
5890
5891 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
5892
5893 * man.el (Man-start-calling): New macro, extracted from
5894 Man-getpage-in-background.
5895 (Man-getpage-in-background): Use it.
5896 (Man-update-manpage): New command.
5897 (Man-mode-map): Bind it.
5898
5899 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
5900
5901 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
5902 of "and", "or", "&&" and "||".
5903 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
5904 argument. Prohibit opening curly brace because it could only be a
5905 block opener in that position.
5906 (ruby-smie--forward-token, ruby-smie--backward-token):
5907 Separate "|" from "&" or "*" going after it. That can happen in block
5908 arguments.
5909 (ruby-smie--indent-to-stmt): New function, seeks the end of
5910 previous statement or beginning of buffer.
5911 (ruby-smie-rules): Use it.
5912 (ruby-smie-rules): Check if there's a ":" before a curly block
5913 opener candidate; if there is, it's a hash.
5914
5915 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
5916
5917 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
5918 (cl--block-wrapper): Fix last accidental change.
5919
5920 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
5921
5922 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
5923 Instrument, in order to hunt failure on hydra.
5924
5925 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5926
5927 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
5928 malformed bindings form (bug#15814).
5929
5930 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
5931
5932 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
5933 "." compared to " @ ". This incidentally fixes some indentation
5934 examples with "do".
5935 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
5936 (ruby-smie-grammar): New tokens: "and" and "or".
5937 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
5938 Exclude "and" and "or". Remove "do" in order to work around token
5939 priorities.
5940 (ruby-smie-rules): Add all infix tokens. Handle the case of
5941 beginning-of-buffer.
5942
5943 2013-11-06 Glenn Morris <rgm@gnu.org>
5944
5945 * Makefile.in (setwins_almost, setwins_for_subdirs):
5946 Avoid accidental matches.
5947
5948 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5949
5950 * menu-bar.el (popup-menu): Use key-binding.
5951
5952 2013-11-06 Eli Zaretskii <eliz@gnu.org>
5953
5954 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
5955 menus, support also the menus produced by minor modes.
5956 (Bug#15817)
5957
5958 2013-11-06 Leo Liu <sdl.web@gmail.com>
5959
5960 * thingatpt.el (thing-at-point-looking-at): Add optional arg
5961 DISTANCE to bound the search. All uses changed. (Bug#15808)
5962
5963 2013-11-06 Glenn Morris <rgm@gnu.org>
5964
5965 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
5966 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
5967 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
5968
5969 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
5970
5971 * electric.el (electric-indent-just-newline): New command.
5972 (electric-indent-mode-map): New keymap.
5973 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
5974 Re-add :group which weren't redundant.
5975
5976 * electric.el (electric-indent-local-mode): New minor mode.
5977 (electric-indent-functions-without-reindent): New var.
5978 (electric-indent-post-self-insert-function): Use it.
5979 * emacs-lisp/gv.el (buffer-local-value): Add setter.
5980
5981 2013-11-05 Eli Zaretskii <eliz@gnu.org>
5982
5983 * international/quail.el (quail-help): Be more explicit about the
5984 meaning of the labels shown on the keys. (Bug#15800)
5985
5986 * startup.el (normal-top-level): Load the subdirs.el files before
5987 setting the locale environment. (Bug#15805)
5988
5989 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
5990
5991 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
5992 via arguments so as to get the right ones (bug#15418).
5993
5994 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
5995
5996 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
5997
5998 Fix problems found while writing a test suite.
5999
6000 * net/tramp-compat.el (tramp-compat-load): New defun.
6001 * net/tramp.el (tramp-handle-load): Use it.
6002
6003 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6004 "(numberp ok-if-already-exists)" correctly.
6005
6006 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6007
6008 * international/characters.el (glyphless-char-display-control):
6009 Add usage note.
6010
6011 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6012
6013 * progmodes/python.el (python-mode):
6014 * progmodes/scheme.el (scheme-mode):
6015 * progmodes/prolog.el (prolog-mode):
6016 * progmodes/ruby-mode.el (ruby-mode):
6017 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6018 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6019
6020 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6021
6022 * rect.el (rectangle--highlight-for-redisplay):
6023 * emacs-lisp/smie.el (smie--next-indent-change):
6024 Use buffer-chars-modified-tick.
6025
6026 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6027
6028 * electric.el (electric-indent-post-self-insert-function):
6029 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6030
6031 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6032
6033 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6034
6035 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6036
6037 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6038 (bug#15786).
6039
6040 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6041
6042 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6043
6044 * progmodes/python.el: Fix up last change.
6045 (python-shell--save-temp-file): New function.
6046 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6047 `string' comes from the current buffer.
6048 (python-shell-send-string-no-output): Remove `msg' arg.
6049 (python--use-fake-loc): New var.
6050 (python-shell-buffer-substring): Obey it. Try to compensate for the
6051 extra coding line added by python-shell--save-temp-file.
6052 (python-shell-send-region): Use python-shell--save-temp-file and
6053 python-shell-send-file directly. Add `nomain' argument.
6054 (python-shell-send-buffer): Use python-shell-send-region.
6055 (python-electric-pair-string-delimiter): New function.
6056 (python-mode): Use it.
6057
6058 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6059
6060 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6061 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6062 environment and decoding all of the default-directory's to here
6063 from command-line.
6064 (command-line): Decode also argv[0].
6065
6066 * loadup.el: Error out if default-directory is a multibyte string
6067 when we are dumping.
6068
6069 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6070
6071 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6072
6073 * emacs-lisp/package.el (package-menu-mode)
6074 (package-menu--print-info, package-menu--archive-predicate):
6075 Add Archive column to package list.
6076
6077 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6078
6079 Fix problems found while writing a test suite.
6080
6081 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6082 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6083 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6084 to nil when running original file name handler. Otherwise,
6085 there are problems with constructs like "$$FOO".
6086
6087 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6088 for `localname'.
6089
6090 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6091
6092 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6093
6094 * subr.el (version<, version<=, version=):
6095 Update docstrings with information for snapshot versions.
6096
6097 * helpers.el: New library for misc helper functions.
6098 (hash-table-keys): New function returning a list of hash keys.
6099 (hash-table-values): New function returning a list of hash values.
6100
6101 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6102
6103 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6104 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6105
6106 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6107
6108 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6109 checking whether point is after a 1-letter word.
6110
6111 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6112
6113 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6114 Don't infloop when expanding region over `multiline' syntax-type that
6115 begins a line (bug#15778).
6116
6117 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6118
6119 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6120 Make it into a proper minor mode.
6121 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
6122 (rectangle-mark-mode-map): New keymap.
6123 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6124
6125 2013-11-04 Glenn Morris <rgm@gnu.org>
6126
6127 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6128
6129 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6130
6131 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6132 (ruby-smie-rules): Use smie-rule-parent instead.
6133
6134 * emacs-lisp/smie.el (smie-rule-parent): Always call
6135 smie-indent-virtual rather than only for hanging tokens.
6136 (smie--next-indent-change): New helper command.
6137
6138 2013-11-03 Glenn Morris <rgm@gnu.org>
6139
6140 * Makefile.in (abs_srcdir): Remove.
6141 (emacs): Unset EMACSLOADPATH.
6142
6143 2013-11-02 Glenn Morris <rgm@gnu.org>
6144
6145 * Makefile.in (EMACS): Use a relative filename.
6146 (abs_top_builddir): Remove.
6147 (custom-deps, finder-data, autoloads): Use --chdir.
6148
6149 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6150
6151 Use relative filenames in TAGS files.
6152 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6153 (lisptagsfiles4, TAGS): Use relative file names.
6154 (TAGS-LISP): Remove.
6155 (maintainer-clean): No more TAGS-LISP file.
6156
6157 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6158 (lisptagsfiles4): Use absolute filenames again.
6159 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6160 Remove all *loaddefs files, not just the first. Remove esh-groups.
6161 (maintainer-clean): Delete TAGS, TAGS-LISP.
6162
6163 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6164
6165 * emacs-lisp/package.el (package-version-join):
6166 Recognize snapshot versions.
6167
6168 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6169
6170 * subr.el (version-regexp-alist): Add support for snapshot versions.
6171
6172 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6173
6174 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6175 New function, replacement for `smie-rule-parent' for when we want to
6176 skip over our direct parent if it's an assignment token..
6177 (ruby-smie-rules): Use it.
6178
6179 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6180
6181 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6182 unconditionally. Remove now unnecessary forward declarations.
6183 Remove XEmacs-specific setup.
6184 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6185 (ruby-font-lock-syntactic-keywords)
6186 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6187 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6188 (ruby-here-doc-end-syntax): Remove.
6189 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6190 defined as function.
6191
6192 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6193
6194 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6195
6196 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6197
6198 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6199 table and abbrev table, `define-derived-mode' does that for us
6200 anyway.
6201
6202 2013-11-01 Glenn Morris <rgm@gnu.org>
6203
6204 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6205 files is atomic for some time, so no parallel compilation issues).
6206
6207 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6208
6209 * faces.el (face-x-resources): Add :distant-foreground.
6210 (region): Use :distant-foreground for gtk and ns.
6211
6212 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6213
6214 Allow multiple bibliographies when BibLaTeX is used rather than
6215 BibTeX.
6216 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6217 (reftex-locate-bibliography-files): Us it.
6218
6219 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6220
6221 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6222 allow comments in pbm files.
6223
6224 * term/w32-win.el (dynamic-library-alist): Support newer versions
6225 of libjpeg starting with v7: look only for the DLL from the
6226 version against which Emacs was built.
6227 Support versions of libpng beyond 1.4.x.
6228 Support libtiff v4.x.
6229
6230 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6231
6232 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6233 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6234 Add property :safe.
6235 (ruby-deep-arglist): Add property :type.
6236
6237 2013-10-31 Glenn Morris <rgm@gnu.org>
6238
6239 * Makefile.in (custom-deps, finder-data): No need to setq the target
6240 variables, we are in the right directory and the defaults work fine.
6241
6242 2013-10-30 Glenn Morris <rgm@gnu.org>
6243
6244 * Makefile.in (autoloads): Do not use abs_lisp.
6245
6246 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6247 `newline' does not respect `standard-output', so use `princ'.
6248
6249 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6250
6251 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6252 * buff-menu.el (Buffer-menu--unmark): New function.
6253 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6254
6255 2013-10-30 Glenn Morris <rgm@gnu.org>
6256
6257 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6258
6259 * emacs-lisp/package.el (lm-homepage): Declare.
6260
6261 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6262 Fix doc typos.
6263
6264 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6265
6266 * Makefile.in (finder-data, autoloads, update-subdirs)
6267 (compile-main, compile-clean, compile-always, bootstrap-clean):
6268 Check return value of cd.
6269 (compile-calc): Remove.
6270
6271 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6272
6273 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6274
6275 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6276 (byte-compile-and-folded): New function.
6277 (=, <, >, <=, >=): Use it.
6278
6279 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6280 (path-separator, null-device, buffer-file-coding-system)
6281 (lpr-headers-switches): Check system-type before modifying them.
6282 (find-buffer-file-type-coding-system): Mark obsolete.
6283 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6284 find-file-not-found-set-buffer-file-coding-system.
6285 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6286 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6287 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6288 (w32-direct-print-region-helper, w32-direct-print-region-function)
6289 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6290 * startup.el (normal-top-level-add-subdirs-to-load-path):
6291 * ps-print.el (ps-print-region-function):
6292 * lpr.el (print-region-function): Use new name.
6293
6294 * subr.el (custom-declare-variable-early): Remove function.
6295 (custom-declare-variable-list): Remove var.
6296 (error, user-error): Remove `while' loop.
6297 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6298 (user-emacs-directory-warning, locate-user-emacs-file):
6299 Move to files.el.
6300 * simple.el (read-quoted-char-radix, read-quoted-char):
6301 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6302 Move from subr.el.
6303 * custom.el (custom-declare-variable-list): Don't process
6304 custom-declare-variable-list.
6305
6306 * progmodes/python.el (python-shell-get-buffer): New function.
6307 (python-shell-get-process): Use it.
6308 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6309 Python which encoding was used. Don't split-string since we only care
6310 about the first line. Return the temp-file, if applicable.
6311 (python-shell-send-region): Tell compile.el how to turn locations in
6312 the temp-file into locations in the source buffer.
6313
6314 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6315
6316 * subr.el (undefined): Add missing behavior from the C code for
6317 unbound keys.
6318
6319 * rect.el: Use lexical-binding. Add new rectangular region support.
6320 (rectangle-mark): New command.
6321 (rectangle--region): New var.
6322 (deactivate-mark-hook): Reset rectangle--region.
6323 (rectangle--extract-region, rectangle--insert-for-yank)
6324 (rectangle--highlight-for-redisplay)
6325 (rectangle--unhighlight-for-redisplay): New functions.
6326 (region-extract-function, redisplay-unhighlight-region-function)
6327 (redisplay-highlight-region-function): Use them to handle
6328 rectangular region.
6329 * simple.el (region-extract-function): New var.
6330 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6331 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6332 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6333 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6334 (redisplay-unhighlight-region-function)
6335 (redisplay-highlight-region-function): New vars.
6336 (redisplay--update-region-highlight): New function.
6337 (pre-redisplay-function): Use it.
6338 (exchange-point-and-mark): Don't deactivate the mark before
6339 reactivate-it anyway.
6340 * comint.el (comint-kill-region): Remove yank-handler argument.
6341 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6342 (delete-char): Remove property, since it's now part of their
6343 default behavior.
6344 (self-insert-iso): Remove property since this command doesn't exist.
6345
6346 * emacs-lisp/package.el (package--download-one-archive)
6347 (describe-package-1): Don't query the user about final newline.
6348
6349 2013-10-29 Daniel Colascione <dancol@dancol.org>
6350
6351 * net/tramp.el (tramp-methods): Document new functionality.
6352 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6353 tramp-hostname-checker if method provides one instead of scanning
6354 argument list for "%h" to decide hostname acceptability.
6355
6356 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
6357
6358 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6359 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6360 Handle COPY-CONTENTS. (Bug#15737)
6361
6362 2013-10-28 Daiki Ueno <ueno@gnu.org>
6363
6364 * epa-file.el
6365 (epa-file-cache-passphrase-for-symmetric-encryption):
6366 Document that this option has no effect with GnuPG 2.0 (bug#15552).
6367
6368 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6369
6370 * image.el (defimage, image-load-path): Doc fixes.
6371
6372 2013-10-27 Alan Mackenzie <acm@muc.de>
6373
6374 Indent statements in macros following "##" correctly.
6375 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6376 Modify the "#" arm of a cond form to handle "#" and "##" operators.
6377
6378 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6379
6380 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6381
6382 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6383
6384 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6385 after `=' is probably a new expression.
6386
6387 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6388
6389 * man.el (man-imenu-title): New option.
6390 (Man-mode-map): Add menu. (Bug#15722)
6391 (Man-mode): Add imenu to menu.
6392
6393 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6394
6395 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6396 specific in what the first arg can be: a non-keyword word,
6397 string/regexp/percent literal opener, opening paren, or unary
6398 operator followed directly by word.
6399
6400 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6401
6402 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6403 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6404 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6405 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6406 Remove vars, they do not apply any more.
6407 (prolog-mode-abbrev-table): Remove redundant declaration.
6408 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6409 (prolog-use-smie): Remove.
6410 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6411 supported by prolog-electric-if-then-else-flag.
6412 (prolog-mode-variables, prolog-menu): Use setq-local.
6413 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6414 Remove binding to `Backspace' since this key doesn't exist anyway.
6415 Remove bindings for electric self-inserting keys.
6416 (prog-mode): Assume it's defined.
6417 (prolog-post-self-insert): New function.
6418 (prolog-mode): Use it.
6419 (prolog-indent-line, prolog-indent-level)
6420 (prolog-find-indent-of-matching-paren)
6421 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6422 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6423 (prolog-goto-next-paren, prolog-in-string-or-comment)
6424 (prolog-tokenize, prolog-inside-mline-comment)
6425 (prolog-find-start-of-mline-comment): Remove functions.
6426 (prolog-find-unmatched-paren, prolog-clause-end)
6427 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6428 (prolog-electric--if-then-else): Rename from
6429 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6430 (prolog-tokenize-searchkey): Remove const.
6431 (prolog-clause-info): Use forward-sexp.
6432 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6433 (prolog-electric-if-then-else): Remove commands.
6434 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6435 for use in post-self-insert-hook.
6436 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6437 for use in post-self-insert-hook.
6438 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6439 for use in post-self-insert-hook.
6440 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6441 adapt it for use in post-self-insert-hook.
6442
6443 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
6444
6445 * emacs-lisp/ert.el (ert-run-tests-interactively):
6446 Use `completing-read'. (Bug#9756)
6447
6448 2013-10-25 Eli Zaretskii <eliz@gnu.org>
6449
6450 * simple.el (line-move): Call line-move-1 instead of
6451 line-move-visual when the current window hscroll is zero, but
6452 temporary-goal-column indicates we will need to hscroll as result
6453 of the movement. (Bug#15712)
6454
6455 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6456
6457 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
6458 capitalization. Use :visible instead of :active.
6459 Fix `ruby-indent-exp' reference. Add menu items for the generic
6460 commands that are used with SMIE.
6461 (ruby-do-end-to-brace): Insert space after `{'.
6462
6463 2013-10-25 John Anthony <john@jo.hnanthony.com>
6464
6465 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6466
6467 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
6468
6469 2013-10-25 Glenn Morris <rgm@gnu.org>
6470
6471 * vc/vc.el (vc-print-log): Don't use a working revision unless
6472 one was explicitly specified. (Bug#15322)
6473
6474 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6475
6476 * subr.el (add-to-list): Preserve return value in compiler-macro
6477 (bug#15692).
6478
6479 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6480
6481 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6482 result. Ask user to retry using '-all' flag. (Bug#15701)
6483
6484 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6485
6486 * emacs-lisp/smie.el: New smie-config system.
6487 (smie-config): New defcustom.
6488 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6489 (smie-config-guess, smie-config-save): New commands.
6490 (smie-config--mode-local, smie-config--buffer-local)
6491 (smie-config--trace, smie-config--modefuns): New vars.
6492 (smie-config--advice, smie-config--mode-hook)
6493 (smie-config--setter, smie-config-local, smie-config--get-trace)
6494 (smie-config--guess-value, smie-config--guess): New functions.
6495 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6496 text properties. Treat "string fence" syntax like string syntax.
6497
6498 * progmodes/sh-script.el (sh-use-smie): Change default.
6499 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6500 (sh-var-value): Simplify by CSE.
6501 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6502 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6503 is used.
6504 (sh-guess-basic-offset): Use cl-incf.
6505 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6506
6507 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
6508
6509 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6510 (bug#15699).
6511
6512 2013-10-24 Glenn Morris <rgm@gnu.org>
6513
6514 * Makefile.in (abs_top_srcdir): Remove.
6515 (update-subdirs): Use relative path to update-subdirs.
6516
6517 2013-10-24 Eli Zaretskii <eliz@gnu.org>
6518
6519 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6520 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
6521 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6522 Call unmsys--file-name before expand-file-name, not after it.
6523
6524 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
6525
6526 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
6527 (ert-test-skipped): New error.
6528 (ert-skip, ert-stats-skipped): New defuns.
6529 (ert--skip-unless): New macro.
6530 (ert-test-skipped): New struct.
6531 (ert--run-test-debugger, ert-test-result-type-p)
6532 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
6533 (ert--stats-set-test-and-result, ert-char-for-test-result)
6534 (ert-string-for-test-result, ert-run-tests-batch)
6535 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
6536 Handle skipped tests. (Bug#9803)
6537
6538 2013-10-24 Glenn Morris <rgm@gnu.org>
6539
6540 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
6541
6542 * Makefile.in (abs_top_srcdir): New, set by configure.
6543 (update-subdirs): Correct build-aux location.
6544
6545 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
6546
6547 * vc/vc.el (vc-print-root-log): Always set `default-directory'
6548 value, whether we could auto-deduce `backend', or not.
6549
6550 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
6551 with parameters" example. Simplify the "is it block or is it
6552 hash" check, but also make it more thorough.
6553
6554 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
6555
6556 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
6557
6558 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
6559
6560 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
6561 { if it is hanging.
6562
6563 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
6564 :before ";".
6565
6566 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
6567
6568 * progmodes/compile.el (compilation-directory-matcher)
6569 (compilation-page-delimiter):
6570 Support GNU Make-4.0 directory quoting. (Bug#15678)
6571
6572 2013-10-23 Leo Liu <sdl.web@gmail.com>
6573
6574 * ido.el (ido-tidy): Handle read-only text.
6575
6576 2013-10-23 Glenn Morris <rgm@gnu.org>
6577
6578 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
6579 (emacs, compile, compile-always):
6580 Quote entities that might contain whitespace.
6581 (custom-deps, finder-data, autoloads): Use abs_lisp.
6582 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6583 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6584 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
6585
6586 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
6587
6588 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
6589 Use `following-char'.
6590
6591 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
6592
6593 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
6594 * progmodes/ruby-mode.el (ruby-smie-rules):
6595 Remove corresponding workaround. Fix indentation rule of ";" so it
6596 also applies when ";" is the parent.
6597
6598 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
6599
6600 * frame.el (display-screens, display-pixel-height)
6601 (display-pixel-width, display-mm-width, display-backing-store)
6602 (display-save-under, display-planes, display-color-cells)
6603 (display-visual-class, display-monitor-attributes-list):
6604 Mention the optional ‘display’ argument in doc strings.
6605
6606 2013-10-22 Michael Gauland <mikelygee@amuri.net>
6607
6608 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
6609 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
6610
6611 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6612
6613 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
6614 TODO. Add "." after " @ ".
6615 (ruby-smie--at-dot-call): New function. Checks if point at method
6616 call with explicit target.
6617 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
6618 to the method name tokens when it precedes them.
6619 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
6620 (ruby-smie-rules): Add rule for indentation before and after "."
6621 token.
6622
6623 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
6624
6625 * textmodes/remember.el (remember-diary-extract-entries):
6626 Avoid add-to-list.
6627
6628 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
6629 an instruction.
6630
6631 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
6632
6633 * progmodes/ruby-mode.el (ruby-smie-grammar):
6634 Add (almost) all infix operators.
6635 (ruby-smie--implicit-semi-p): Add new operator chars.
6636
6637 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
6638 `smie-down-list'.
6639 (ruby-smie--args-separator-p): Check that there's no newline
6640 between method call and its arguments.
6641
6642 2013-10-20 Alan Mackenzie <acm@muc.de>
6643
6644 Allow comma separated lists after Java "implements".
6645
6646 * progmodes/cc-engine.el (c-backward-over-enum-header):
6647 Parse commas.
6648 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
6649 from a "disallowed" list in enum fontification.
6650
6651 2013-10-20 Johan Bockgård <bojohan@gnu.org>
6652
6653 * startup.el (default-frame-background-mode): Remove unused defvar.
6654
6655 * progmodes/verilog-mode.el (verilog-mode): Don't set
6656 comment-indent-function globally.
6657
6658 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
6659
6660 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
6661 Move Info menu item creation to ns-win.el.
6662
6663 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
6664 in menu bar.
6665
6666 * menu-bar.el: Move GNUstep specific menus...
6667
6668 * term/ns-win.el (ns-initialize-window-system): ... to here.
6669
6670 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
6671
6672 * simple.el (newline): Only run post-self-insert-hook when
6673 called interactively.
6674
6675 2013-10-19 Johan Bockgård <bojohan@gnu.org>
6676
6677 * icomplete.el (icomplete-with-completion-tables): Add :version.
6678
6679 2013-10-19 Alan Mackenzie <acm@muc.de>
6680
6681 Fix fontification bugs with constructors and const.
6682
6683 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
6684 CASE 2) Remove the check for the absence of a suffix construct
6685 after a function declaration with only types (no identifiers) in
6686 the parentheses. Also, accept a function declaration with just a
6687 type inside the parentheses, if this type can be positively
6688 recognised as such, or if a prefix keyword like "explicit" nails
6689 down the construct as a declaration.
6690
6691 2013-10-19 Eli Zaretskii <eliz@gnu.org>
6692
6693 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
6694 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
6695 the problem whereby selecting a menu item that leads to a
6696 minibuffer prompt moves the cursor out of the minibuffer window,
6697 making it hard to type at the prompt. Suggested by Stefan Monnier
6698 <monnier@iro.umontreal.ca>.
6699
6700 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
6701
6702 * menu-bar.el: Don't make Services menu.
6703
6704 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6705
6706 * ffap.el: Handle "/usr/include/c++/<version>" directories.
6707 (ffap-alist): Use ffap-c++-mode for c++-mode.
6708 (ffap-c++-path): New variable.
6709 (ffap-c++-mode): New function.
6710
6711 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
6712
6713 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
6714
6715 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
6716
6717 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
6718 introduced on 2013-09-08, which results in an infinite loop
6719 requesting a password.
6720
6721 2013-10-18 Glenn Morris <rgm@gnu.org>
6722
6723 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
6724
6725 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
6726
6727 Sync with upstream verilog-mode revision 1a6ecec7.
6728 * progmodes/verilog-mode.el (verilog-mode-version): Update.
6729 (verilog-mode-release-date): Remove.
6730 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
6731 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
6732 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
6733 (verilog-auto-tieoff-ignore-regexp)
6734 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
6735 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
6736 (verilog-signals-with, verilog-dir-cache-preserving)
6737 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
6738 Doc fixes.
6739 (verilog-case-fold): New option, to control case folding in
6740 regexp searches, bug597.
6741 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
6742 (verilog-string-match-fold, verilog-in-paren-count)
6743 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
6744 (verilog-at-close-struct-p): New functions.
6745 (verilog-beg-block-re-ordered, verilog-extended-case-re)
6746 (verilog-forward-sexp, verilog-set-auto-endcomments)
6747 (verilog-leap-to-case-head): Handle "unique0" case.
6748 (verilog-in-constraint-re): New constant.
6749 (verilog-keywords, verilog-type-font-keywords):
6750 Add some SystemVerilog 1800-2012 keywords.
6751 (verilog-label-be): Remove unimplemented argument, bug669.
6752 (verilog-batch-execute-func): When batch expanding clear
6753 create-lockfiles to prevent spurious user locks when a file ends
6754 up not changing.
6755 (verilog-calculate-indent, verilog-calc-1)
6756 (verilog-at-close-constraint-p, verilog-at-constraint-p)
6757 (verilog-do-indent): Fix indentation of nested constraints
6758 and structures.
6759 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
6760 (verilog-auto-inst-param): Use verilog-string-match-fold.
6761 (verilog-read-inst-module-matcher):
6762 Fix AUTOINST on gate primitives with #1.
6763 (verilog-read-decls): Fix double-declaring user-defined typed signals.
6764 Reads all user-defined typed variables.
6765 (verilog-read-defines): Fix reading definitions inside comments, bug647.
6766 (verilog-signals-matching-regexp)
6767 (verilog-signals-not-matching-regexp, verilog-auto):
6768 Respect verilog-case-fold.
6769 (verilog-diff-report): Fix line count.
6770 (verilog-auto-assign-modport): Remove unused local `modi'.
6771 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
6772 better handle multidimensional arrays.
6773 Fix packed array ports misadding bit index in AUTOINST, bug637.
6774 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
6775 to not double-declare existing outputs and inputs, respectively.
6776 (verilog-template-map): Bind U to verilog-sk-uvm-component.
6777 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
6778 (verilog-sk-uvm-component): New skeleton.
6779 (verilog-submit-bug-report): Add verilog-case-fold,
6780 remove verilog-mode-release-date.
6781
6782 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
6783
6784 * subr.el (sit-for): Call (input-pending-p t) so as to behave
6785 as before.
6786
6787 2013-10-18 Reuben Thomas <rrt@sc3d.org>
6788
6789 * textmodes/remember.el (remember): Set buffer-offer-save in
6790 remember buffers (bug#13566).
6791
6792 2013-10-18 Daniel Colascione <dancol@dancol.org>
6793
6794 When evaluating forms in ielm, direct standard output to ielm
6795 buffer. Add new ielm-return-for-effect command. Remove trailing
6796 whitespace throughout.
6797
6798 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
6799 (ielm-return-for-effect): New command.
6800 (ielm-send-input): Accept optional `for-effect' parameter.
6801 (ielm-eval-input): Accept optional `for-effect' parameter.
6802 Bind `standard-output' to stream we create using
6803 `ielm-standard-output-impl'. Suppress printing result when
6804 `for-effect'.
6805 (ielm-standard-output-impl): New function.
6806 (inferior-emacs-lisp-mode): Explain new features in documentation.
6807
6808 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
6809
6810 Code cleanup.
6811
6812 * net/tramp.el (tramp-debug-message): Do not check for connection
6813 buffer.
6814 (tramp-message): Use "vector" connection property.
6815
6816 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
6817 (tramp-equal-remote, tramp-eshell-directory-change)
6818 * net/tramp-adb.el (tramp-adb-handle-copy-file)
6819 (tramp-adb-handle-rename-file)
6820 * net/tramp-cmds.el (tramp-list-remote-buffers)
6821 (tramp-cleanup-connection, tramp-cleanup-this-connection)
6822 * net/tramp-compat.el (tramp-compat-process-running-p)
6823 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
6824 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
6825 (tramp-gvfs-handle-rename-file)
6826 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
6827 (tramp-set-file-uid-gid)
6828 * net/tramp-smb.el (tramp-smb-handle-copy-file)
6829 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
6830 of `file-remote-p'.
6831
6832 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
6833 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6834 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
6835 (tramp-gw-open-network-stream): Suppress unrelated traces.
6836
6837 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
6838 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6839 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6840 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
6841 connection property.
6842
6843 * net/tramp-cache.el (top): Suppress traces when reading
6844 persistency file.
6845
6846 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
6847 Refactor common code. Improve debug message.
6848 (tramp-maybe-open-connection)
6849 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
6850 connection buffer too early.
6851
6852 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
6853 from `tramp-smb-actions-with-acl'.
6854 (tramp-smb-actions-set-acl): New defconst.
6855 (tramp-smb-handle-copy-directory)
6856 (tramp-smb-action-get-acl): New defun, renamed from
6857 `tramp-smb-action-with-acl'.
6858 (tramp-smb-action-set-acl): New defun.
6859 (tramp-smb-handle-set-file-acl): Rewrite.
6860
6861 2013-10-17 Glenn Morris <rgm@gnu.org>
6862
6863 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
6864
6865 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
6866
6867 * skeleton.el (skeleton-newline): Remove.
6868 (skeleton-internal-1): Use (insert "\n") instead.
6869
6870 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
6871 let-bindings.
6872
6873 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
6874 forward-sexp-function while we redo its job (bug#15613).
6875
6876 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
6877
6878 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
6879 represented by lists.
6880
6881 2013-10-16 Glenn Morris <rgm@gnu.org>
6882
6883 * tmm.el (tmm--history): New dynamic variable.
6884 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
6885
6886 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
6887
6888 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
6889 (tramp-smb-errors): Add error messages.
6890 (tramp-smb-actions-with-acl): New defconst.
6891 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
6892 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
6893 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
6894 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
6895 (tramp-smb-get-stat-capability): Fix tests.
6896
6897 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
6898
6899 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
6900 (bug#15580).
6901
6902 2013-10-16 Glenn Morris <rgm@gnu.org>
6903
6904 * ansi-color.el (ansi-color-drop-regexp):
6905 Add 1J, 1K, 2K. (Bug#15617)
6906
6907 * files.el (hack-local-variables--warned-lexical): New.
6908 (hack-local-variables):
6909 Warn about misplaced lexical-binding. (Bug#15616)
6910
6911 * net/eww.el (eww-render): Always set eww-current-url,
6912 and update header line. (Bug#15622)
6913 (eww-display-html): ... Rather than just doing it here.
6914
6915 2013-10-15 Eli Zaretskii <eliz@gnu.org>
6916
6917 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
6918 menu navigations commands.
6919
6920 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
6921
6922 * progmodes/subword.el (subword-capitalize): Be careful when
6923 the search for [[:alpha:]] fails (bug#15580).
6924
6925 2013-10-14 Eli Zaretskii <eliz@gnu.org>
6926
6927 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
6928 to commands that scroll the menu.
6929
6930 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
6931
6932 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
6933 Handle methods ending with `?' and `!'.
6934
6935 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
6936
6937 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
6938 `japanese-cp932' to `cp932' to fix the problem where saving a
6939 source file written in Shift_JIS twice would end up having
6940 `coding: japanese-cp932' which Ruby could not recognize.
6941 (ruby-mode-set-encoding): Add support for encodings mapped to nil
6942 in `ruby-encoding-map'.
6943 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
6944 doesn't need to be explicitly declared in magic comment.
6945 (ruby-encoding-map): Add type declaration for better customize UI.
6946
6947 2013-10-13 Glenn Morris <rgm@gnu.org>
6948
6949 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
6950 Occur buffers are read-only. http://bugs.debian.org/720775
6951
6952 * emacs-lisp/authors.el (authors-fixed-entries):
6953 Comment out old alpha stuff.
6954
6955 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
6956
6957 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
6958 to `after-save-hook' instead of `before-save-hook'.
6959 (ruby-mode-set-encoding): Use the value of coding system used to
6960 write the file. Call `basic-save-buffer-1' after modifying the
6961 buffer.
6962
6963 2013-10-13 Alan Mackenzie <acm@muc.de>
6964
6965 Fix indentation/fontification of Java enum with
6966 "implements"/generic.
6967
6968 * progmodes/cc-engine.el (c-backward-over-enum-header):
6969 Extracted from the three other places and enhanced to handle generics.
6970 (c-inside-bracelist-p): Uses new function above.
6971 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
6972 function above.
6973 (c-font-lock-enum-tail): Uses new function above.
6974
6975 2013-10-13 Kenichi Handa <handa@gnu.org>
6976
6977 * international/mule-cmds.el (select-safe-coding-system): Remove a
6978 superfluous condition in chekcing whether a coding system is safe
6979 or not.
6980
6981 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
6982
6983 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
6984
6985 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
6986
6987 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
6988
6989 2013-10-13 Glenn Morris <rgm@gnu.org>
6990
6991 * menu-bar.el (menu-bar-update-buffers):
6992 Unify Buffers menu prompt string. (Bug#15576)
6993
6994 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
6995
6996 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
6997 Add some entries.
6998 (authors-fixed-entries): Use accented form of name.
6999
7000 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7001
7002 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7003 method calls (bug#15594).
7004 (ruby-smie--args-separator-p): New function.
7005 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7006 recognize paren-free method calls.
7007
7008 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7009 internals of universal-argument.
7010
7011 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7012
7013 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7014 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7015 dropped menu on second mouse click on the menu bar.
7016
7017 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7018
7019 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7020 (explicit-shell-file-name): Declare.
7021 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7022 (sh-completion-at-point-function): New function.
7023 (sh-mode): Use it.
7024 (sh-smie--keyword-p): Remove unused argument.
7025 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7026 vars.
7027 (sh-set-shell): Always setup SMIE, even if we use the
7028 old indentation code.
7029
7030 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7031
7032 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7033 cases of ? and =.
7034 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7035 predicate would return nil are almost non-existent.
7036 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7037
7038 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7039 cache also after commands that modify the buffer but don't move
7040 point.
7041
7042 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7043
7044 * env.el (substitute-env-in-file-name): New function.
7045 (substitute-env-vars): Extend the meaning of the optional arg.
7046
7047 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7048
7049 * term/w32-win.el (dynamic-library-alist): Define separate lists
7050 of GIF DLLs for versions before and after 5.0.0 of giflib.
7051 (Bug#15531)
7052
7053 2013-10-10 João Távora <joaotavora@gmail.com>
7054
7055 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7056 not locked, use last revision and current source as
7057 defaults. (Bug#15569)
7058
7059 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7060
7061 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7062 menu-bar is hidden.
7063
7064 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7065
7066 * window.el (pop-to-buffer-same-window): Fix doc-string.
7067 (Bug#15492)
7068
7069 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7070
7071 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7072
7073 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7074
7075 * calendar/icalendar.el (icalendar-import-file):
7076 Fix interactive spec. (Bug#15482)
7077
7078 2013-10-10 Glenn Morris <rgm@gnu.org>
7079
7080 * desktop.el (desktop-save): Default to saving in .emacs.d,
7081 since PWD is no longer in desktop-path by default. (Bug#15319)
7082
7083 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7084 now that text mode has a menu with the same entry.
7085 (menu-bar-text-mode-auto-fill): Remove now unused func.
7086 * textmodes/text-mode.el (text-mode-map):
7087 Use auto-fill help text from menu-bar.el.
7088
7089 2013-10-10 John Anthony <john@jo.hnanthony.com>
7090
7091 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7092
7093 2013-10-09 Juri Linkov <juri@jurta.org>
7094
7095 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7096 instead of this-command-keys. Add universal-argument-more and
7097 universal-argument-minus to the list of prefix commands. (Bug#15568)
7098
7099 2013-10-09 Glenn Morris <rgm@gnu.org>
7100
7101 * vc/vc-svn.el (vc-svn-create-repo):
7102 Expand paths in file://... url. (Bug#15446)
7103
7104 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7105 Add some entries.
7106 (authors): Remove unused local variables.
7107
7108 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7109
7110 * profiler.el: Create a more coherent calltree from partial backtraces.
7111 (profiler-format): Hide the tail with `invisible' so that C-s can still
7112 find the hidden elements.
7113 (profiler-calltree-depth): Don't recurse so enthusiastically.
7114 (profiler-function-equal): New hash-table-test.
7115 (profiler-calltree-build-unified): New function.
7116 (profiler-calltree-build): Use it.
7117 (profiler-report-make-name-part): Indent the calltree less.
7118 (profiler-report-mode): Add visibility specs for profiler-format.
7119 (profiler-report-expand-entry, profiler-report-toggle-entry):
7120 Expand the whole subtree when provided with a prefix arg.
7121
7122 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7123
7124 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7125 iuwu-mod token.
7126 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7127 hanging iuwu-mod token.
7128 (ruby-smie--forward-token): Do not include a dot after a token in
7129 that token.
7130 (ruby-smie--backward-token): Likewise.
7131
7132 2013-10-08 Juri Linkov <juri@jurta.org>
7133
7134 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7135 to isearch-other-control-char.
7136 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7137 and isearch-post-command-hook to post-command-hook.
7138 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7139 and isearch-post-command-hook from post-command-hook.
7140 (isearch-unread-key-sequence)
7141 (isearch-reread-key-sequence-naturally)
7142 (isearch-lookup-scroll-key, isearch-other-control-char)
7143 (isearch-other-meta-char): Remove functions.
7144 (isearch-pre-command-hook, isearch-post-command-hook):
7145 New functions based on isearch-other-meta-char rewritten
7146 relying on the new behavior of overriding-terminal-local-map
7147 that does not replace the local keymaps any more. (Bug#15200)
7148
7149 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7150
7151 Support menus on text-mode terminals.
7152 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7153 functionality.
7154
7155 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7156
7157 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7158 Move here from mouse.el.
7159 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7160 and arrow keys.
7161 (tty-menu-navigation-map): New map for TTY menu navigation.
7162
7163 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7164
7165 * frame.el (display-mouse-p): Report text-mode mouse as available
7166 on w32.
7167 (display-popup-menus-p): Report availability if mouse is
7168 available; don't condition on window-system.
7169
7170 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7171 (tty-menu-selected-face): New faces.
7172
7173 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7174
7175 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7176 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7177 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7178 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7179 New constants.
7180 (lisp-mode-variables): New `elisp' argument.
7181 (emacs-lisp-mode): Use it.
7182 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7183 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7184
7185 * indent.el: Use lexical-binding.
7186 (indent-region): Add progress reporter.
7187 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7188 last step.
7189 (indent--next-tab-stop): New function to implement this behavior.
7190 (tab-to-tab-stop, move-to-tab-stop): Use it.
7191
7192 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7193
7194 * indent.el (indent-rigidly--current-indentation): New function.
7195 (indent-rigidly-map): New var.
7196 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7197
7198 2013-10-08 Bastien Guerry <bzg@gnu.org>
7199
7200 * register.el (insert-register): Fix 2013-10-07 change.
7201
7202 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7203
7204 * progmodes/perl-mode.el: Use lexical-binding.
7205 Remove redundant :group args.
7206 (perl-nochange): Change default to be closer to other major modes's
7207 standard behavior.
7208 (perl-indent-line): Don't consider text on current line as a
7209 valid beginning of function from which to indent.
7210
7211 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7212 with more than one argument (bug#15538).
7213
7214 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7215
7216 * vc/pcvs.el: Use lexical-binding.
7217 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7218 environment of `eval'.
7219 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7220 than a list of expressions. Adjust callers.
7221 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7222
7223 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7224
7225 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7226 case of the dot in a chained method call being on the following line.
7227
7228 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7229
7230 * electric.el (electric-indent-inhibit): New var.
7231 (electric-indent-post-self-insert-function): Use it.
7232 * progmodes/python.el (python-mode): Set it.
7233
7234 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7235 open braces.
7236
7237 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7238
7239 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7240 (css-mode): Use electric-indent-chars.
7241
7242 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7243 (font-lock-beg, font-lock-end): Move before first use.
7244 (nxml-mode): Use syntax-propertize-function.
7245 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7246 (nxml-extend-after-change-region): Remove.
7247 * nxml/xmltok.el: Use lexical-binding.
7248 (xmltok-save): Use `declare'.
7249 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7250 * nxml/nxml-util.el: Use lexical-binding.
7251 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7252 Use `declare'.
7253 * nxml/nxml-ns.el: Use lexical-binding.
7254 (nxml-ns-save): Use `declare'.
7255 (nxml-ns-prefixes-for): Avoid add-to-list.
7256 * nxml/rng-match.el: Use lexical-binding.
7257 (rng--ipattern): Use cl-defstruct.
7258 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7259 (rng-cons-group-after, rng-subst-group-after)
7260 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7261 Use closures instead of `(lambda...).
7262
7263 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7264
7265 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7266 of BEG and END.
7267
7268 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7269 Use `tramp-handle-insert-file-contents'.
7270 (tramp-gvfs-handle-insert-file-contents): Remove function.
7271
7272 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7273 Use `save-restriction' in order to keep markers.
7274
7275 * net/trampver.el: Update release number.
7276
7277 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7278
7279 * progmodes/compile.el (compilation-parse-errors):
7280 Use compilation--put-prop.
7281 (compilation--ensure-parse): Check compilation-multiline.
7282
7283 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7284
7285 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7286 lexical-binding.
7287
7288 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7289
7290 * progmodes/ruby-mode.el: Fix recently added tests.
7291 (ruby-smie-grammar): Add - and +.
7292 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7293 (ruby-smie--backward-id): New functions.
7294 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7295 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7296 any more.
7297
7298 2013-10-07 Leo Liu <sdl.web@gmail.com>
7299
7300 * register.el (register-preview-delay)
7301 (register-preview-functions): New variables.
7302 (register-read-with-preview, register-preview)
7303 (register-describe-oneline): New functions.
7304 (point-to-register, window-configuration-to-register)
7305 (frame-configuration-to-register, jump-to-register)
7306 (number-to-register, view-register, insert-register)
7307 (copy-to-register, append-to-register, prepend-to-register)
7308 (copy-rectangle-to-register): Use register-read-with-preview to
7309 read register. (Bug#15525)
7310
7311 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7312
7313 * net/network-stream.el (network-stream-open-starttls): Don't add
7314 --insecure if it's already present, because that gnutls-cli
7315 rejects getting that parameter twice.
7316
7317 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7318
7319 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7320 keyword, too.
7321
7322 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7323
7324 * newcomment.el (comment-use-global-state): Change default value
7325 to t, mark obsolete (Bug#15251).
7326 (comment-beginning): In addition to `comment-to-syntax', check the
7327 value of `comment-use-global-state'.
7328
7329 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7330
7331 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7332 (ruby-comment-column): Follow the global default, by default.
7333 (ruby-smie-grammar): Add assignment syntax.
7334 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7335 open-paren, a comma, or a \.
7336 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7337 and line continuations.
7338 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7339 followed by implicit semi-colons. Add rule for string concatenation
7340 and for indentation at BOB.
7341 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7342
7343 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7344 calling next-sexp, since next-token may have skipped chars which
7345 next-sexp doesn't know should be skipped!
7346
7347 2013-10-05 Leo Liu <sdl.web@gmail.com>
7348
7349 * progmodes/octave.el (octave-send-region):
7350 Call compilation-forget-errors.
7351
7352 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7353
7354 * vc/vc-svn.el (vc-svn-find-admin-dir):
7355 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7356 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7357 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7358 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7359
7360 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7361
7362 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7363
7364 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7365
7366 * subr.el (read-passwd): Hide chars even when called within a context
7367 where after-change-functions is disabled (bug#15501).
7368 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7369 until we removed ourself from overriding-terminal-local-map.
7370
7371 2013-10-04 Leo Liu <sdl.web@gmail.com>
7372
7373 * progmodes/octave.el (inferior-octave-mode):
7374 Call compilation-forget-errors.
7375
7376 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7377
7378 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7379
7380 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
7381
7382 * net/secrets.el (secrets-create-collection): Add optional
7383 argument ALIAS. Use proper Label keyword. Append ALIAS as
7384 dbus-call-method argument. (Bug#15516)
7385
7386 2013-10-04 Leo Liu <sdl.web@gmail.com>
7387
7388 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7389 (inferior-octave-compilation-font-lock-keywords): New variables.
7390 (compilation-error-regexp-alist)
7391 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7392 (inferior-octave-mode): Use compilation-shell-minor-mode.
7393
7394 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7395
7396 * minibuffer.el (completion--replace): Be careful that `end' might be
7397 a marker.
7398
7399 2013-10-03 Daiki Ueno <ueno@gnu.org>
7400
7401 Add support for package signature checking.
7402 * emacs-lisp/package.el (url-http-file-exists-p)
7403 (epg-make-context, epg-context-set-home-directory)
7404 (epg-verify-string, epg-context-result-for)
7405 (epg-signature-status, epg-signature-to-string)
7406 (epg-check-configuration, epg-configuration)
7407 (epg-import-keys-from-file): Declare.
7408 (package-check-signature): New user option.
7409 (package-unsigned-archives): New user option.
7410 (package-desc): Add `signed' field.
7411 (package-load-descriptor): Set `signed' field if .signed file exists.
7412 (package--archive-file-exists-p): New function.
7413 (package--check-signature): New function.
7414 (package-install-from-archive): Check package signature.
7415 (package--download-one-archive): Check archive signature.
7416 (package-delete): Remove .signed file.
7417 (package-import-keyring): New command.
7418 (package-refresh-contents): Import default keyring.
7419 (package-desc-status): Add "unsigned" status.
7420 (describe-package-1, package-menu--print-info)
7421 (package-menu-mark-delete, package-menu--find-upgrades)
7422 (package-menu--status-predicate): Support "unsigned" status.
7423
7424 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7425
7426 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7427 the new compilation scheme using the new byte-codes.
7428
7429 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7430 (byte-pophandler): New byte codes.
7431 (byte-goto-ops): Adjust accordingly.
7432 (byte-compile--use-old-handlers): New var.
7433 (byte-compile-catch): Use new byte codes depending on
7434 byte-compile--use-old-handlers.
7435 (byte-compile-condition-case--old): Rename from
7436 byte-compile-condition-case.
7437 (byte-compile-condition-case--new): New function.
7438 (byte-compile-condition-case): New function that dispatches depending
7439 on byte-compile--use-old-handlers.
7440 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7441 when we can.
7442
7443 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7444 Optimize under `condition-case' and `catch' if
7445 byte-compile--use-old-handlers is nil.
7446 (disassemble-offset): Handle new bytecodes.
7447
7448 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7449
7450 * subr.el (error): Use `declare'.
7451 (decode-char, encode-char): Use advertised-calling-convention instead
7452 of the docstring to discourage use of the `restriction' arg.
7453
7454 2013-10-03 Daiki Ueno <ueno@gnu.org>
7455
7456 * epg.el (epg-verify-file): Add a comment saying that it does not
7457 notify verification error as a return value nor a signal.
7458 (epg-verify-string): Ditto.
7459
7460 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7461
7462 * progmodes/compile.el (compilation-start): Try globbing the arg to
7463 `cd' (bug#15417).
7464
7465 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
7466
7467 Sync with Tramp 2.2.8.
7468
7469 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7470 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7471 * net/trampver.el: Update release number.
7472
7473 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7474
7475 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7476 and default-process-coding-system for darwin only.
7477
7478 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7479
7480 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7481
7482 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7483
7484 * vc/vc-git.el (vc-git-grep): Disable pager.
7485
7486 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7487
7488 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7489 Use :url instead of :homepage, as per
7490 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7491
7492 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7493 non-nil, use `syntax-ppss' (Bug#15251).
7494
7495 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7496
7497 * progmodes/octave.el (inferior-octave-startup-file):
7498 Prefer ~/.emacs.d/init_octave.m.
7499
7500 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7501
7502 * emacs-lisp/package.el (package-desc-from-define):
7503 Accept additional arguments as plist, convert them to an alist and store
7504 them in the `extras' slot.
7505 (package-generate-description-file): Convert extras alist back to
7506 plist and append to the `define-package' form arguments.
7507 (package--alist-to-plist): New function.
7508 (package--ac-desc): Add `extras' slot.
7509 (package--add-to-archive-contents): Check if the archive-contents
7510 vector is long enough, and if it is, pass its `extras' slot value
7511 to `package-desc-create'.
7512 (package-buffer-info): Call `lm-homepage', pass the returned value
7513 to `package-desc-from-define'.
7514 (describe-package-1): Render the homepage button (Bug#13291).
7515
7516 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7517 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
7518
7519 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
7520
7521 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7522 and default-process-coding-system to utf-8-unix (Bug#15402).
7523
7524 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
7525
7526 * subr.el (looking-back): Do not recommend using looking-back.
7527
7528 2013-09-28 Alan Mackenzie <acm@muc.de>
7529
7530 Fix indentation/fontification of Java enum with "implements".
7531
7532 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
7533 regexp which matches "implements", etc., in Java.
7534 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
7535 specifier clauses coming after "enum".
7536 * progmodes/cc-fonts.el (c-font-lock-declarations)
7537 (c-font-lock-enum-tail): Check for extra specifier clauses coming
7538 after "enum".
7539
7540 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
7541
7542 * faces.el (region): Change ns_selection_color to
7543 ns_selection_fg_color, add ns_selection_bg_color.
7544
7545 2013-09-28 Leo Liu <sdl.web@gmail.com>
7546
7547 * progmodes/octave.el (inferior-octave-completion-table)
7548 (inferior-octave-completion-at-point): Minor tweaks.
7549
7550 * textmodes/ispell.el (ispell-lookup-words): Rename from
7551 lookup-words. (Bug#15460)
7552 (lookup-words): Obsolete.
7553 (ispell-complete-word, ispell-command-loop): All uses changed.
7554
7555 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7556
7557 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
7558 (octave-mode-menu): Add octave-send-buffer.
7559 (octave-send-buffer): New function.
7560
7561 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7562
7563 * progmodes/octave.el (octave-mode-map): Add key binding for
7564 octave-lookfor.
7565 (octave-mode-menu): Add octave-lookfor.
7566 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
7567 octave-lookfor.
7568 (octave-lookfor): New function.
7569
7570 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
7571
7572 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
7573 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
7574 its convention.
7575 (cl--loop-set-iterator-function): New function.
7576 (cl-loop): Adjust accordingly, so as not to use cl-subst.
7577 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
7578 Bind `it' with `let' instead of substituting it with `cl-subst'.
7579 (cl--unused-var-p): New function.
7580 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
7581 Eliminate some unused variable warnings (bug#15326).
7582
7583 2013-09-27 Tassilo Horn <tsdh@gnu.org>
7584
7585 * doc-view.el (doc-view-scale-reset): Rename from
7586 `doc-view-reset-zoom-level'.
7587 (doc-view-scale-adjust): New command.
7588 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
7589 `doc-view-scale-adjust'.
7590
7591 2013-09-26 Tassilo Horn <tsdh@gnu.org>
7592
7593 * doc-view.el (doc-view-reset-zoom-level): New command.
7594 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
7595 zoom commands (bug#15466).
7596
7597 2013-09-26 Kenichi Handa <handa@gnu.org>
7598
7599 * international/quail.el (quail-help): Make it not a command.
7600
7601 2013-09-26 Leo Liu <sdl.web@gmail.com>
7602
7603 * minibuffer.el (completion-all-sorted-completions): Make args
7604 optional as they are.
7605
7606 2013-09-25 Daniel Colascione <dancol@dancol.org>
7607
7608 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
7609 specs are and that they're not evaluated.
7610
7611 2013-09-24 Sam Steingold <sds@gnu.org>
7612
7613 * midnight.el (clean-buffer-list-kill-regexps)
7614 (clean-buffer-list-kill-buffer-names): Update for the new Man
7615 buffer naming which includes the object name.
7616
7617 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
7618
7619 * eshell/esh-cmd.el (eshell--sep-terms): New var.
7620 (eshell-parse-command, eshell-parse-pipeline): Use it since
7621 eshell-separate-commands requires a dynamic scoped var.
7622 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
7623
7624 2013-09-23 Leo Liu <sdl.web@gmail.com>
7625
7626 * autoinsert.el (auto-insert-alist): Make the value of
7627 lexical-binding match its file setting.
7628
7629 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
7630
7631 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
7632
7633 * autoarg.el (autoarg-kp-digit-argument):
7634 * electric.el (Electric-command-loop):
7635 * kmacro.el (kmacro-step-edit-insert):
7636 Do not set universal-argument-num-events.
7637
7638 2013-09-22 Leo Liu <sdl.web@gmail.com>
7639
7640 * files.el (interpreter-mode-alist): Add octave.
7641
7642 2013-09-21 Alan Mackenzie <acm@muc.de>
7643
7644 C++: fontify identifier in declaration following "public:" correctly.
7645 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
7646 to match "public", etc.
7647 (c-decl-prefix-re): Add ":" into the C++ value.
7648 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
7649 bit. Add a check for a ":" preceded by "public", etc.
7650
7651 2013-09-21 Eli Zaretskii <eliz@gnu.org>
7652
7653 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
7654 recognized by GDB 7.5 and later.
7655
7656 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
7657
7658 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
7659
7660 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7661
7662 * subr.el (internal--call-interactively): New const.
7663 (called-interactively-p): Use it (bug#3984).
7664
7665 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
7666
7667 * vc/pcvs.el (cvs-mode-ignore):
7668 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
7669 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
7670
7671 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7672
7673 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
7674 (eshell-ls-orig-insert-directory): Remove.
7675 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
7676 (eshell-ls-use-in-dired): Use advice-add/remove.
7677 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
7678 Add `orig-fun' arg for use in :around advice.
7679 Make it check (redundantly) eshell-ls-use-in-dired.
7680
7681 2013-09-19 Glenn Morris <rgm@gnu.org>
7682
7683 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
7684
7685 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
7686
7687 * emacs-lisp/eieio.el (class-parent): Undo previous change.
7688
7689 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
7690
7691 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
7692 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
7693 (tramp-get-remote-python): New defuns.
7694 (tramp-get-remote-uid-with-perl)
7695 (tramp-get-remote-gid-with-perl): New defuns. Perl code
7696 contributed by yary <not.com@gmail.com> (tiny change).
7697 (tramp-get-remote-uid-with-python)
7698 (tramp-get-remote-gid-with-python): New defuns. Python code
7699 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
7700 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
7701
7702 2013-09-19 Glenn Morris <rgm@gnu.org>
7703
7704 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
7705
7706 * eshell/em-unix.el (eshell-remove-entries):
7707 Rename argument to avoid name-clash with global `top-level'.
7708
7709 * eshell/esh-proc.el (eshell-kill-process-function):
7710 Remove eshell-reset-after-proc from eshell-kill-hook if present.
7711 (eshell-reset-after-proc): Remove unused arg `proc'.
7712
7713 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
7714 (directory-files-and-attributes): Mark unused arg.
7715
7716 * eshell/em-unix.el (eshell-remove-entries):
7717 Remove unused arg `path'. Update callers.
7718
7719 * eshell/em-hist.el (eshell-hist-parse-arguments):
7720 Remove unused arg `silent'. Update callers.
7721
7722 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
7723 Fix (f)boundp mix-up.
7724
7725 * eshell/em-smart.el (eshell-smart-scroll-window)
7726 (eshell-disable-after-change):
7727 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
7728
7729 2013-09-18 Alan Mackenzie <acm@muc.de>
7730
7731 Fix fontification of type when followed by "const".
7732 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
7733 "known" types from fontification.
7734
7735 2013-09-18 Glenn Morris <rgm@gnu.org>
7736
7737 * emacs-lisp/chart.el (x-display-color-cells): Declare.
7738 (chart-face-list): Drop Emacsen without display-color-p.
7739
7740 * net/eww.el (libxml-parse-html-region): Declare.
7741 (eww-display-html): Explicit error if no libxml2 support.
7742
7743 * doc-view.el (doc-view-mode): Silence --without-x compilation.
7744
7745 * image.el (image-type-from-buffer, image-multi-frame-p):
7746 Remove --without-x warning/error.
7747
7748 * mouse.el (mouse-yank-primary):
7749 * term.el (term-mouse-paste):
7750 Reorder to silence --without-x compilation.
7751
7752 * mpc.el (doc-view-mode): Silence --without-x compilation.
7753
7754 * mail/rmailmm.el (rmail-mime-set-bulk-data):
7755 Silence --without-x compilation.
7756
7757 * progmodes/gud.el (gud-find-file, gud-mode):
7758 Silence --without-x compilation.
7759 (tooltip-mode): Declare.
7760
7761 * wdired.el (dired-backup-overwrite): Remove declaration.
7762 (wdired-mode-map): Add doc string.
7763
7764 * custom.el (x-get-resource): Declare.
7765
7766 * eshell/em-glob.el (ange-cache):
7767 * eshell/em-unix.el (ange-cache): Declare.
7768
7769 * faces.el (x-display-list, x-open-connection, x-get-resource):
7770 Declare.
7771
7772 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
7773 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
7774 Declare.
7775
7776 * frame.el (x-display-grayscale-p, x-display-name): Declare.
7777
7778 * net/gnutls.el (gnutls-log-level): Declare.
7779
7780 * net/shr.el (image-size, image-animate): Declare.
7781
7782 * simple.el (font-info): Declare.
7783
7784 * subr.el (x-popup-dialog): Declare.
7785
7786 * term/common-win.el (x-select-enable-primary)
7787 (x-last-selected-text-primary, x-last-selected-text-clipboard):
7788 Declare.
7789
7790 * term/ns-win.el (x-handle-args): Declare.
7791
7792 * term/x-win.el (x-select-enable-clipboard): Declare.
7793
7794 * term/w32-win.el (create-default-fontset): Declare.
7795
7796 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
7797 Declare.
7798
7799 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
7800 (fit-frame-to-buffer): Explicit error if --without-x.
7801 (mouse-autoselect-window-select): Silence compiler.
7802
7803 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
7804
7805 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
7806 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
7807 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
7808 * eshell/esh-util.el (eshell-sublist):
7809 Remove unused local variables.
7810
7811 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
7812
7813 * textmodes/two-column.el: Make 2C-split work for --without-x.
7814 (scroll-bar-columns): Autoload.
7815 (top-level): Require fringe when compiling.
7816
7817 2013-09-18 Leo Liu <sdl.web@gmail.com>
7818
7819 * subr.el (add-hook): Robustify to handle closure as well.
7820
7821 2013-09-17 Glenn Morris <rgm@gnu.org>
7822
7823 * simple.el (messages-buffer-mode-map): Unbind "g".
7824
7825 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7826
7827 * help-mode.el (help-mode-finish): Use derived-mode-p.
7828 Remove obsolete highlighting.
7829
7830 * play/life.el (life-mode): Use define-derived-mode. Derive from
7831 special-mode.
7832 (life): Let-bind inhibit-read-only.
7833 (life-setup): Avoid `setq'. Use `life-mode'.
7834
7835 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
7836 which should not be needed any more.
7837 (package-menu-refresh, package-menu-describe-package): Use user-error.
7838
7839 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
7840 (eshell-post-rewrite-command-hook): Make obsolete.
7841 (eshell-parse-command): Simplify.
7842 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
7843 (eshell--cmd): Declare.
7844 (eshell-parse-pipeline): Remove unused var `final-p'.
7845 Pass a dynvar to eshell-post-rewrite-command-hook.
7846 Implement the new eshell-post-rewrite-command-function.
7847 (eshell-invoke-directly): Remove unused arg `input'.
7848 * eshell/esh-io.el (eshell-io-initialize):
7849 Use eshell-post-rewrite-command-function (bug#15399).
7850 (eshell--apply-redirections): Rename from eshell-apply-redirections;
7851 adjust to new calling convention.
7852 (eshell-create-handles): Rename args to avoid clashing with dynvar
7853 `standard-output'.
7854
7855 2013-09-17 Glenn Morris <rgm@gnu.org>
7856
7857 * simple.el (messages-buffer-mode): New major mode.
7858 (messages-buffer): New function.
7859 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
7860 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
7861 (ert-run-test): Use `messages-buffer' function.
7862 (ert--force-message-log-buffer-truncation): Ignore read-only.
7863 * help.el (view-echo-area-messages): Use `messages-buffer' function.
7864 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
7865
7866 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
7867
7868 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
7869
7870 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
7871
7872 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
7873
7874 * icomplete.el (icomplete-in-buffer): New var.
7875 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
7876 vars and replace them with functions.
7877 (icomplete-minibuffer-setup): Adjust accordingly.
7878 (icomplete--completion-table, icomplete--completion-predicate)
7879 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
7880 New functions.
7881 (icomplete-forward-completions, icomplete-backward-completions)
7882 (icomplete-simple-completing-p, icomplete-exhibit)
7883 (icomplete-completions): Use them.
7884 (icomplete--in-region-buffer): New var.
7885 (icomplete--in-region-setup): New function.
7886 (icomplete-mode): Use it.
7887
7888 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
7889 (bug#15379).
7890 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
7891 return args and options.
7892 (eshell-eval-using-options): Use the new return value of
7893 eshell--do-opts to set the options's vars in their scope.
7894 (eshell--set-option): Rename from eshell-set-option.
7895 Add arg `opt-vals'.
7896 (eshell--process-option): Rename from eshell-process-option.
7897 Add arg `opt-vals'.
7898 (eshell--process-args): Use an `opt-vals' alist to store the options's
7899 values during their processing and return them additionally to the
7900 remaining args.
7901
7902 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
7903
7904 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
7905 continuation character an operator, as far as indentation is
7906 concerned (Bug#15369).
7907
7908 2013-09-15 Martin Rudalics <rudalics@gmx.at>
7909
7910 * window.el (window--state-put-2): Don't process buffer state
7911 when buffer doesn't exist any more (Bug#15382).
7912
7913 2013-09-15 Glenn Morris <rgm@gnu.org>
7914
7915 * eshell/em-unix.el (eshell/rm):
7916 Make -f ignore missing files. (Bug#15373)
7917
7918 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
7919 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
7920 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
7921
7922 2013-09-14 Glenn Morris <rgm@gnu.org>
7923
7924 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
7925
7926 2013-09-13 Glenn Morris <rgm@gnu.org>
7927
7928 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
7929 (dired-guess-default): Make `file' available in the env. (Bug#15363)
7930
7931 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
7932
7933 * frame.el (x-focus-frame): Mark as declared in frame.c.
7934
7935 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7936
7937 * ls-lisp.el: Use advice-add.
7938 (original-insert-directory): Remove.
7939 (ls-lisp--insert-directory): Rename from insert-directory; add
7940 `orig-fun' argument.
7941 (insert-directory): Advise.
7942
7943 2013-09-13 Eli Zaretskii <eliz@gnu.org>
7944
7945 * term.el (term-emulate-terminal): Decode the command string
7946 before passing it to term-command-hook. (Bug#15337)
7947
7948 2013-09-13 Glenn Morris <rgm@gnu.org>
7949
7950 * eshell/esh-util.el (ange-cache): Move declaration earlier.
7951
7952 * eshell/esh-ext.el (eshell-search-path): Declare.
7953
7954 * eshell/em-prompt.el (eshell/pwd): Autoload it.
7955 Otherwise an error occurs if eshell-dirs module not loaded.
7956
7957 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
7958
7959 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
7960
7961 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
7962 `tramp-check-proper-host'. Check for a valid method name.
7963
7964 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7965 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7966 * net/tramp-sh.el (tramp-maybe-open-connection):
7967 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
7968
7969 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
7970 also for hash values.
7971
7972 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7973
7974 * term/ns-win.el (parameters): Don't declare as dynamic.
7975 (before-make-frame-hook): Don't add ineffective function.
7976
7977 * eshell/*.el: Use lexical-binding (bug#15231).
7978
7979 2013-09-12 Kenichi Handa <handa@gnu.org>
7980
7981 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
7982
7983 2013-09-12 Glenn Morris <rgm@gnu.org>
7984
7985 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
7986 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
7987
7988 * subr.el (do-after-load-evaluation): Also give compiler warnings
7989 when obsolete files are used (except by obsolete files).
7990
7991 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
7992 in the status output, assume `filename' is the first. (Bug#15322)
7993
7994 * vc/vc.el (vc-deduce-fileset): Doc fix.
7995
7996 * calc/calc-help.el (Info-goto-node):
7997 * progmodes/cperl-mode.el (Info-find-node):
7998 * vc/ediff.el (Info-goto-node): Update declarations.
7999
8000 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8001
8002 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8003 (vc-bzr-pull): Require vc-dispatcher.
8004 * vc/vc-git.el (vc-compilation-mode): Declare.
8005 (vc-git-pull): Require vc-dispatcher.
8006
8007 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8008
8009 * progmodes/octave.el (help-button-action): Declare.
8010
8011 * shell.el (shell-directory-tracker): Output error as a message
8012 rather than just returning it as a string.
8013 (shell-process-pushd): Remove useless use of message.
8014
8015 * dframe.el (dframe-timer-fn):
8016 * files.el (dir-locals-read-from-file):
8017 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8018 (mpc-format):
8019 * reveal.el (reveal-post-command):
8020 * saveplace.el (load-save-place-alist-from-file):
8021 * shell.el (shell-resync-dirs):
8022 * w32-common-fns.el (x-get-selection-value):
8023 * emacs-lisp/copyright.el (copyright-find-copyright):
8024 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8025 * emulation/tpu-edt.el (tpu-copy-keyfile):
8026 * play/bubbles.el (bubbles--mark-neighbourhood):
8027 * progmodes/executable.el
8028 (executable-make-buffer-file-executable-if-script-p):
8029 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8030
8031 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8032
8033 Cleanup Eshell to rely less on dynamic scoping.
8034 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8035 last-value, and ext-command here. Bind `args' closer to `body'.
8036 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8037 (eshell--args): Declare new dynamic var.
8038 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8039 last-value, and ext-command. Pass `args' to `body'.
8040 (eshell-process-args): Bind eshell--args.
8041 (eshell-set-option): Use eshell--args.
8042 * eshell/eshell.el (eshell): Use derived-mode-p.
8043 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8044 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8045 (eshell-glob-function): Declare.
8046 * eshell/esh-util.el: Require cl-lib.
8047 (eshell-read-hosts-file): Avoid add-to-list.
8048 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8049 `err'.
8050 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8051 Declare.
8052 (eshell/diff): Remove unused var `err'.
8053 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8054 `killflag'.
8055 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8056 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8057 first use.
8058 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8059 Move declaration before first use.
8060 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8061 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8062 rely on cl-return.
8063
8064 2013-09-12 Glenn Morris <rgm@gnu.org>
8065
8066 * term/ns-win.el (global-map): Remove binding for ispell-next,
8067 deleted 1999-05-29. (Bug#15357)
8068
8069 2013-09-11 Glenn Morris <rgm@gnu.org>
8070
8071 * echistory.el (electric-command-history): Remove call to deleted func.
8072
8073 * play/landmark.el (landmark-mode): Fix typos.
8074
8075 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8076 Check cvs-sort-ignore-file is bound.
8077
8078 * savehist.el: No need for cl when compiling on Emacs.
8079
8080 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8081
8082 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8083 (bug#15338).
8084 (eshell-self-insert-command, eshell-send-invisible):
8085 Remove unused argument.
8086 (eshell-handle-control-codes): Remove unused var `orig'.
8087 Avoid delete-backward-char.
8088
8089 * files.el (set-auto-mode): Simplify a bit further.
8090
8091 2013-09-11 Glenn Morris <rgm@gnu.org>
8092
8093 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8094 (set-auto-mode): Don't regexp-quote elements.
8095 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8096 * progmodes/cc-mode.el (interpreter-mode-alist):
8097 * progmodes/ruby-mode.el (interpreter-mode-alist):
8098 Revert previous change.
8099
8100 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8101
8102 * play/snake.el (snake-mode):
8103 * play/mpuz.el (mpuz-mode):
8104 * play/landmark.el (lm-mode):
8105 * play/blackbox.el (blackbox-mode):
8106 * play/5x5.el (5x5-mode):
8107 * obsolete/options.el (Edit-options-mode):
8108 * net/quickurl.el (quickurl-list-mode):
8109 * net/newst-treeview.el (newsticker-treeview-mode):
8110 * mail/rmailsum.el (rmail-summary-mode):
8111 * mail/mspools.el (mspools-mode):
8112 * locate.el (locate-mode):
8113 * ibuffer.el (ibuffer-mode):
8114 * emulation/ws-mode.el (wordstar-mode):
8115 * emacs-lisp/debug.el (debugger-mode):
8116 * array.el (array-mode):
8117 * net/eudc.el (eudc-mode): Use define-derived-mode.
8118 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8119 Move initialization into declaration.
8120 (mairix-searches-mode): Use define-derived-mode.
8121 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8122 (eudc-edit-hotlist): Use dolist.
8123 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8124 (Man-mode): Use define-derived-mode.
8125 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8126 (Info-edit-mode): Use define-derived-mode.
8127 (Info-cease-edit): Use Info-mode.
8128 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8129 into declaration.
8130 (eshell-mode): Use define-derived-mode.
8131 * chistory.el (command-history-mode-map): Rename from
8132 command-history-map.
8133 (command-history-mode): Use define-derived-mode.
8134 (Command-history-setup): Remove function.
8135 * calc/calc.el (calc-trail-mode-map): New var.
8136 (calc-trail-mode): Use define-derived-mode.
8137 (calc-trail-buffer): Set calc-main-buffer manually.
8138 * bookmark.el (bookmark-insert-annotation): New function.
8139 (bookmark-edit-annotation): Use it.
8140 (bookmark-edit-annotation-mode): Make it a proper major mode.
8141 (bookmark-send-edited-annotation): Use derived-mode-p.
8142 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8143 closer to its ideal place. Use \' to match EOS.
8144
8145 * profiler.el (profiler-calltree-find): Use function-equal.
8146
8147 2013-09-10 Glenn Morris <rgm@gnu.org>
8148
8149 * files.el (interpreter-mode-alist): Convert to regexps.
8150 (set-auto-mode): Adapt for this. (Bug#15306)
8151 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8152 Comment out unused variable.
8153 * progmodes/cc-mode.el (interpreter-mode-alist):
8154 * progmodes/python.el (interpreter-mode-alist):
8155 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8156 * progmodes/sh-script.el (sh-set-shell):
8157 No longer use interpreter-mode-alist to get list of shells.
8158
8159 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8160
8161 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8162
8163 * simple.el: Use set-temporary-overlay-map for universal-argument.
8164 (universal-argument-map): Don't use default-bindings (bug#15317).
8165 Bind switch-frame explicitly. Replace universal-argument-minus with
8166 a conditional binding.
8167 (universal-argument-num-events, saved-overriding-map): Remove.
8168 (restore-overriding-map): Remove.
8169 (universal-argument--mode): Rename from save&set-overriding-map,
8170 and rewrite.
8171 (universal-argument, universal-argument-more, negative-argument)
8172 (digit-argument): Adjust accordingly.
8173 (universal-argument-minus): Remove.
8174 (universal-argument-other-key): Remove.
8175
8176 * subr.el (with-demoted-errors): Add `format' argument.
8177
8178 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8179
8180 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8181 `tramp-cleanup-connection'.
8182
8183 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8184 parameters KEEP-DEBUG and KEEP-PASSWORD.
8185
8186 * net/tramp.el (tramp-file-name-handler):
8187 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8188 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8189 (tramp-maybe-open-connection):
8190 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8191 Use `tramp-cleanup-connection'.
8192
8193 * net/tramp-sh.el (tramp-maybe-open-connection):
8194 Catch 'uname-changed inside the progress reporter.
8195
8196 2013-09-10 Glenn Morris <rgm@gnu.org>
8197
8198 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8199
8200 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8201 returns "alternate access method" in mode (eg "-rw-r--r--.").
8202
8203 2013-09-08 Glenn Morris <rgm@gnu.org>
8204
8205 * saveplace.el (load-save-place-alist-from-file):
8206 Demote errors. (Bug#15305)
8207
8208 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8209
8210 Improve compatibility with older Emacsen, and XEmacs.
8211
8212 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8213 only if it is bound. It isn't for XEmacs.
8214 (with-tramp-progress-reporter): Do not let-bind `result'.
8215 This yields to scoping errors in XEmacs.
8216 (tramp-handle-make-auto-save-file-name): New function, moved from
8217 tramp-sh.el.
8218
8219 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8220 for `make-auto-save-file-name'.
8221 (tramp-adb--gnu-switches-to-ash):
8222 Use `tramp-compat-replace-regexp-in-string'.
8223
8224 * net/tramp-cache.el (tramp-cache-print): Call
8225 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8226
8227 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8228 bound. It isn't for XEmacs.
8229
8230 * net/tramp-compat.el (tramp-compat-copy-file):
8231 Catch `wrong-number-of-arguments' error.
8232 (tramp-compat-replace-regexp-in-string): New defun.
8233
8234 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8235 for `make-auto-save-file-name'.
8236 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8237 `copy-file'.
8238 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8239 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8240 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8241
8242 * net/tramp-gw.el (tramp-gw-open-network-stream):
8243 Use `tramp-compat-replace-regexp-in-string'.
8244
8245 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8246 Call `tramp-handle-make-auto-save-file-name'.
8247 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8248 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8249 (tramp-sh-file-inotifywait-process-filter):
8250 Use `tramp-compat-replace-regexp-in-string'.
8251 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8252
8253 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8254 for `make-auto-save-file-name'.
8255 (tramp-smb-handle-copy-directory):
8256 Call `tramp-compat-replace-regexp-in-string'.
8257 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8258 (tramp-smb-handle-copy-file): Improve error message.
8259 (tramp-smb-handle-rename-file): Rename directly only in case
8260 `newname' does not exist yet. This is a restriction of smbclient.
8261 (tramp-smb-maybe-open-connection): Rerun the function only when
8262 `auth-sources' is non-nil.
8263
8264 2013-09-08 Kenichi Handa <handa@gnu.org>
8265
8266 * international/characters.el: Set category "^" (Combining) for
8267 more characters.
8268
8269 2013-09-07 Alan Mackenzie <acm@muc.de>
8270
8271 Correctly fontify Java class constructors.
8272 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8273 in Java Mode.
8274 (c-recognize-typeless-decls): Set the Java value to t.
8275 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8276 While handling a "(", add a check for, effectively, Java, and handle a
8277 "typeless" declaration there.
8278
8279 2013-09-07 Roland Winkler <winkler@gnu.org>
8280
8281 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8282 field subtitle for entry type book.
8283
8284 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8285
8286 * minibuffer.el: Make minibuffer-complete call completion-in-region
8287 rather than other way around.
8288 (completion--some, completion-pcm--find-all-completions):
8289 Don't delay signals when debugging.
8290 (minibuffer-completion-contents): Beware fields within the
8291 minibuffer contents.
8292 (completion-all-sorted-completions): Use defvar-local.
8293 (completion--do-completion, completion--cache-all-sorted-completions)
8294 (completion-all-sorted-completions, minibuffer-force-complete):
8295 Add args `beg' and `end'.
8296 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8297 (minibuffer-complete): Use completion-in-region.
8298 (completion-complete-and-exit): New fun, extracted from
8299 minibuffer-complete-and-exit.
8300 (minibuffer-complete-and-exit): Use it.
8301 (completion--complete-and-exit): Rename from
8302 minibuffer--complete-and-exit.
8303 (completion-in-region--single-word): New function, extracted from
8304 minibuffer-complete-word.
8305 (minibuffer-complete-word): Use it.
8306 (display-completion-list): Make `common-substring' argument obsolete.
8307 (completion--in-region): Call completion--in-region-1 instead of
8308 minibuffer-complete.
8309 (completion-help-at-point): Pass boundaries to
8310 minibuffer-completion-help as args rather than via an overlay.
8311 (completion-pcm--string->pattern): Use `any-delim'.
8312 (completion-pcm--optimize-pattern): New function.
8313 (completion-pcm--pattern->regex): Handle `any-delim'.
8314 * icomplete.el (icomplete-forward-completions)
8315 (icomplete-backward-completions, icomplete-completions):
8316 Adjust calls to completion-all-sorted-completions and
8317 completion--cache-all-sorted-completions.
8318 (icomplete-with-completion-tables): Default to t.
8319 * emacs-lisp/crm.el (crm--current-element): Rename from
8320 crm--select-current-element. Don't put an overlay but return the
8321 boundaries instead.
8322 (crm--completion-command): Take two new args to bind to the boundaries.
8323 (crm-completion-help): Adjust accordingly.
8324 (crm-complete): Use completion-in-region.
8325 (crm-complete-word): Use completion-in-region--single-word.
8326 (crm-complete-and-exit): Use completion-complete-and-exit.
8327
8328 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8329
8330 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8331 than dynamically.
8332
8333 2013-09-06 Juri Linkov <juri@jurta.org>
8334
8335 * info.el (Info-display-images-node): When image file doesn't exist
8336 display text version of the image if it's provided in the Info file.
8337 Otherwise, display the location of missing image from SRC attribute.
8338 Add help-echo text property from ALT attribute. (Bug#15279)
8339
8340 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8341
8342 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8343 (edit-abbrevs-mode): Use define-derived-mode.
8344
8345 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8346 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8347 that it's defined.
8348 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8349 Use define-derived-mode.
8350
8351 * epg.el (epg-start-encrypt): Minor CSE simplification.
8352
8353 2013-09-06 William Xu <william.xwl@gmail.com>
8354
8355 * arc-mode.el: Add support for 7za (bug#15264).
8356 (archive-7z-program): New var.
8357 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8358 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8359 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8360
8361 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
8362
8363 Remove URL syntax.
8364
8365 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8366 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8367 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8368 (tramp-postfix-host-format, tramp-file-name-regexp)
8369 (tramp-completion-file-name-regexp)
8370 (tramp-completion-dissect-file-name)
8371 (tramp-handle-substitute-in-file-name): Remove 'url case.
8372 (tramp-file-name-regexp-url)
8373 (tramp-completion-file-name-regexp-url): Remove constants.
8374
8375 2013-09-06 Glenn Morris <rgm@gnu.org>
8376
8377 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8378
8379 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8380
8381 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8382 keywords" below "here-doc beginnings" (Bug#15270).
8383
8384 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8385
8386 * subr.el (pop): Use `car-safe'.
8387 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8388 to detect unused `pop' return value.
8389
8390 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8391 var `block-regexp'.
8392 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8393 (python-fill-string): Remove unused var `marker'.
8394 (python-skeleton-add-menu-items): Remove unused var `items'.
8395
8396 * international/mule-cmds.el: Require CL.
8397 (find-coding-systems-for-charsets): Avoid add-to-list.
8398 (sanitize-coding-system-list): New function, extracted from
8399 select-safe-coding-system-interactively.
8400 (select-safe-coding-system-interactively): Use it.
8401 (read-input-method-name): Accept symbols for `default'.
8402
8403 * emacs-lisp/advice.el (defadvice): Add indent rule.
8404
8405 2013-09-05 Daniel Hackney <dan@haxney.org>
8406
8407 * dired-x.el:
8408 * net/ange-ftp.el:
8409 * net/browse-url.el:
8410 * net/dbus.el:
8411 * net/eudc.el:
8412 * net/eudcb-ldap.el:
8413 * net/eww.el:
8414 * net/imap.el:
8415 * printing.el:
8416 * vc/ediff-diff.el:
8417 * vc/ediff-init.el:
8418 * vc/ediff-merg.el:
8419 * vc/ediff-mult.el:
8420 * vc/ediff-util.el:
8421 * vc/ediff-wind.el:
8422 * vc/ediff.el:
8423 * vc/emerge.el:
8424 * vc/pcvs.el:
8425 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8426 byte compiler. Remove some unused let-bound variables.
8427
8428 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8429
8430 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8431 a "ref-cell", since it gets better optimized (bug#14883).
8432
8433 2013-09-05 Glenn Morris <rgm@gnu.org>
8434
8435 * progmodes/cc-awk.el (c-forward-sws): Declare.
8436
8437 2013-09-04 Glenn Morris <rgm@gnu.org>
8438
8439 * generic-x.el [rul-generic-mode]: Require cc-mode.
8440 (c++-mode-syntax-table): Declare.
8441 (rul-generic-mode-syntax-table): Init in the defvar.
8442
8443 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8444
8445 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8446 (vc-do-command, vc-set-async-update):
8447 * vc/vc-mtn.el (vc-mtn-dir-status):
8448 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8449 (vc-hg-pull, vc-hg-merge-branch):
8450 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8451 (vc-git-merge-branch):
8452 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8453 (vc-cvs-dir-status-files):
8454 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8455 (vc-bzr-dir-status-files):
8456 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8457 * vc/vc-annotate.el: Use lexical-binding.
8458 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8459 (vc-sentinel-movepoint): Declare.
8460 (vc-annotate): Don't use `goto-line'.
8461 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8462 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8463 (vc-sentinel-movepoint): Declare.
8464 * vc/vc-svn.el: Use lexical-binding.
8465 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8466 * vc/vc-sccs.el:
8467 * vc/vc-rcs.el: Use lexical-binding.
8468
8469 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8470 `deleted'. Don't drop errors silently.
8471
8472 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8473
8474 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8475
8476 * vc/vc.el (vc-ignore): Rewrite.
8477 (vc-default-ignore): New function.
8478 (vc-default-ignore-completion-table): Use find-ignore-file.
8479
8480 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8481 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8482 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8483 Remove. Most code moved to vc.el.
8484
8485 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8486
8487 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
8488 * net/tramp-smb.el (tramp-smb-get-file-entries):
8489 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8490 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8491
8492 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8493 Update call to it.
8494 (eww-change-select): Remove unused var `properties'.
8495 (eww-make-unique-file-name): Remove unused var `base'.
8496
8497 * finder.el (finder-compile-keywords): Don't mess with windows.
8498
8499 * calculator.el (calculator-funcall): Fix typo in last change.
8500
8501 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8502
8503 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8504 <pkg>-autoloads.el file stop us.
8505
8506 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
8507 warnings, and factor out common code.
8508
8509 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8510
8511 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8512 two-character operators and whether the character preceding them
8513 changes their meaning (Bug#15208).
8514
8515 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8516
8517 Format code sent to Python shell for robustness.
8518 * progmodes/python.el (python-shell-buffer-substring):
8519 New function.
8520 (python-shell-send-region, python-shell-send-buffer): Use it.
8521
8522 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
8523
8524 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
8525 * net/tramp.el (tramp-user-error): ... here.
8526 (tramp-find-method, tramp-check-proper-host)
8527 (tramp-dissect-file-name, tramp-debug-message)
8528 (tramp-handle-shell-command):
8529 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8530 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
8531
8532 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
8533
8534 2013-09-02 Martin Rudalics <rudalics@gmx.at>
8535
8536 * avoid.el (mouse-avoidance-point-position)
8537 (mouse-avoidance-too-close-p): Handle case where posn-at-point
8538 returns nil.
8539
8540 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8541
8542 * progmodes/python.el (python-shell-completion-get-completions):
8543 Drop use of deleted `comint-last-prompt-overlay'.
8544 (python-nav-if-name-main): New command.
8545
8546 2013-09-01 Glenn Morris <rgm@gnu.org>
8547
8548 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8549 Avoid leading space in $wins. Otherwise the sed command used by
8550 eg compile-main ends up containing "/*.el". (Bug#15170)
8551
8552 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
8553
8554 2013-08-30 Glenn Morris <rgm@gnu.org>
8555
8556 * emacs-lisp/bytecomp.el (byte-recompile-directory):
8557 Fix is-this-a-directory logic. (Bug#15220)
8558
8559 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8560
8561 * textmodes/css-mode.el: Use SMIE.
8562 (css-smie-grammar): New var.
8563 (css-smie--forward-token, css-smie--backward-token)
8564 (css-smie-rules): New functions.
8565 (css-mode): Use them.
8566 (css-navigation-syntax-table): Remove var.
8567 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
8568 (css-indent-calculate, css-indent-line): Remove functions.
8569
8570 Misc changes to reduce use of `(lambda...); and other cleanups.
8571 * cus-edit.el: Use lexical-binding.
8572 (customize-push-and-save, customize-apropos)
8573 (custom-buffer-create-internal): Use closures.
8574 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
8575 * progmodes/ada-xref.el: Use setq.
8576 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
8577 * dframe.el: Use lexical-binding.
8578 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
8579 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
8580 * descr-text.el: Use lexical-binding.
8581 (describe-text-widget, describe-text-sexp, describe-property-list):
8582 Use closures.
8583 * comint.el (comint-history-isearch-push-state): Use a closure.
8584 * calculator.el: Use lexical-binding.
8585 (calculator-number-to-string): Make it work with lexical-binding.
8586 (calculator-funcall): Same and use cl-letf.
8587
8588 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
8589 (lisp--company-doc-string, lisp--company-location): New functions.
8590 (lisp-completion-at-point): Use them to improve Company support.
8591
8592 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
8593 params of lambda expressions.
8594 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
8595 (ruby-smie--opening-pipe-p): New function.
8596 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
8597 symbols and matched |...| for formal params.
8598 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
8599 from being treated as hanging. Handle "rescue".
8600
8601 2013-08-29 Glenn Morris <rgm@gnu.org>
8602
8603 * progmodes/cc-engine.el (c-pull-open-brace):
8604 Move definition before use.
8605
8606 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8607
8608 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
8609 are immutable. Don't use `unsafe' any more.
8610 (cl--defsubst-expand): Don't substitute at the same time as keeping
8611 a residual unused let-binding. Don't use `unsafe' any more.
8612
8613 2013-08-29 Glenn Morris <rgm@gnu.org>
8614
8615 * calendar/cal-china.el (calendar-chinese-year-cache):
8616 Recenter on 2015.
8617
8618 * nxml/nxml-util.el (nxml-debug-clear-inside):
8619 Use cl-loop rather than loop.
8620
8621 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
8622
8623 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
8624
8625 2013-08-28 Glenn Morris <rgm@gnu.org>
8626
8627 * progmodes/antlr-mode.el: No need to require cc-mode twice.
8628
8629 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
8630
8631 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
8632
8633 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8634
8635 * simple.el (repeat-complex-command--called-interactively-skip):
8636 New function.
8637 (repeat-complex-command): Use it (bug#14136).
8638
8639 * progmodes/cc-mode.el: Minor cleanup of var declarations.
8640 (c-define-abbrev-table): Add `doc' argument.
8641 (c-mode-abbrev-table, c++-mode-abbrev-table)
8642 (objc-mode-abbrev-table, java-mode-abbrev-table)
8643 (idl-mode-abbrev-table, pike-mode-abbrev-table)
8644 (awk-mode-abbrev-table): Use it.
8645 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
8646 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
8647 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
8648 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
8649 Move initialization into the declaration; and remove any
8650 autoload cookie.
8651
8652 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
8653 and dynamic let binding.
8654
8655 * vc/smerge-mode.el: Remove redundant :group args.
8656
8657 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
8658 to load-path.
8659
8660 2013-08-28 Juri Linkov <juri@jurta.org>
8661
8662 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
8663 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
8664 (isearch-other-meta-char): Handle an undefined shifted printing
8665 character by downshifting it. (Bug#15200)
8666
8667 2013-08-28 Juri Linkov <juri@jurta.org>
8668
8669 * isearch.el (isearch-search): Change regexp error message for
8670 non-regexp searches. (Bug#15166)
8671
8672 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
8673
8674 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
8675 for portability to hosts where /bin/sh has problems.
8676
8677 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8678
8679 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
8680
8681 2013-08-27 Juri Linkov <juri@jurta.org>
8682
8683 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
8684 in the keyboard macro. (Bug#15126)
8685
8686 2013-08-27 Juri Linkov <juri@jurta.org>
8687
8688 * isearch.el (isearch-quote-char): Comment out converting unibyte
8689 to multibyte, thus syncing with its `quoted-insert' counterpart.
8690 (Bug#15166)
8691
8692 2013-08-27 Martin Rudalics <rudalics@gmx.at>
8693
8694 * window.el (display-buffer-use-some-window): Add missing
8695 argument in call of get-largest-window (Bug#15185).
8696 Reported by Stephen Leake.
8697
8698 2013-08-27 Glenn Morris <rgm@gnu.org>
8699
8700 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
8701
8702 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
8703
8704 * progmodes/python.el (python-font-lock-keywords): Don't return nil
8705 from a matcher-function unless there's no more matches (bug#15161).
8706
8707 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8708
8709 * minibuffer.el: Revert change from 2013-08-20.
8710
8711 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
8712 with text property `tramp-default', if appropriate.
8713 (tramp-check-proper-host): New defun.
8714 (tramp-dissect-file-name): Do not check hostname. Revert change
8715 of 2013-03-18.
8716 (tramp-backtrace): Make VEC-OR-PROC optional.
8717
8718 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8719 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8720 * net/tramp-sh.el (tramp-maybe-open-connection):
8721 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8722 Apply `tramp-check-proper-host'.
8723
8724 2013-08-26 Tassilo Horn <tsdh@gnu.org>
8725
8726 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
8727 lambda expression in order to have `describe-variable' display it.
8728
8729 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
8730
8731 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
8732 BUF can be optional. (Bug#15186)
8733
8734 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
8735
8736 * progmodes/flymake.el (flymake-get-real-file-name-function):
8737 Fix broken customization. (Bug#15184)
8738
8739 2013-08-25 Alan Mackenzie <acm@muc.de>
8740
8741 Improve indentation of bracelists defined by macros (without "=").
8742
8743 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
8744 expansion begins with "{", regard it as bracelist when it doesn't
8745 contain a ";".
8746
8747 Parse C++ inher-intro when there's a template split over 2 lines.
8748
8749 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
8750 rigorously the search for "class" etc. followed by ":".
8751
8752 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
8753 random languages a regexp which never matches rather than nil.
8754
8755 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
8756
8757 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
8758 (c-awk-regexp-one-line-possibly-open-char-list-re)
8759 (c-awk-one-line-possibly-open-regexp-re)
8760 (c-awk-one-line-non-syn-ws*-re): Remove.
8761 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
8762 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
8763 (c-awk-space*-unclosed-regexp-/-re): New constants.
8764 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
8765 aren't regexp delimiters.
8766
8767 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
8768 handling for a rare situation in AWK Mode involving unterminated
8769 strings/regexps.
8770
8771 2013-08-23 Glenn Morris <rgm@gnu.org>
8772
8773 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
8774
8775 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
8776
8777 * files.el (create-file-buffer): If the result would begin with
8778 spaces, prepend a "|" instead of removing them. (Bug#15162)
8779
8780 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
8781
8782 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
8783 text-properties (bug#15155).
8784
8785 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
8786 exist any more.
8787 (calc-keypad-redraw): Remove unused var `pad'.
8788 (calc-keypad-press): Remove unused var `menu'.
8789
8790 2013-08-23 Martin Rudalics <rudalics@gmx.at>
8791
8792 * window.el (display-buffer-pop-up-frame):
8793 Call pop-up-frame-function with BUFFER current so `make-frame' will
8794 use it as the new frame's buffer (Bug#15133).
8795
8796 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
8797
8798 * calendar/timeclock.el: Minor cleanups.
8799 (timeclock-ask-before-exiting, timeclock-use-display-time):
8800 Use `symbol'.
8801 (timeclock-modeline-display): Define as alias before the
8802 actual definition.
8803 (timeclock-mode-line-display): Use define-minor-mode.
8804 (timeclock-day-list-template): Make it a function, add an argument.
8805 (timeclock-day-list-required, timeclock-day-list-length)
8806 (timeclock-day-list-debt, timeclock-day-list-span)
8807 (timeclock-day-list-break): Adjust calls accordingly.
8808
8809 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8810
8811 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
8812 Use read--expression so that completion works again.
8813
8814 2013-08-21 Sam Steingold <sds@gnu.org>
8815
8816 Add rudimentary inferior shell interaction
8817 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
8818 (sh-set-shell): Reset it.
8819 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
8820 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
8821
8822 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
8823
8824 * align.el: Use lexical-binding.
8825 (align-region): Simplify accordingly.
8826
8827 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
8828
8829 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
8830
8831 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
8832 `non-essential' up.
8833
8834 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
8835
8836 * net/tramp.el:
8837 * net/tramp-adb.el:
8838 * net/tramp-cmds.el:
8839 * net/tramp-ftp.el:
8840 * net/tramp-gvfs.el:
8841 * net/tramp-gw.el:
8842 * net/tramp-sh.el: Don't wrap external variable declarations by
8843 `eval-when-compile'.
8844
8845 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
8846
8847 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
8848 now that Emacs supports ImageMagick animations.
8849
8850 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
8851
8852 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
8853 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
8854
8855 2013-08-16 Martin Rudalics <rudalics@gmx.at>
8856
8857 * window.el (mouse-autoselect-window-select): Do autoselect when
8858 mouse pointer is on margin.
8859
8860 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
8861
8862 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
8863
8864 2013-08-16 Glenn Morris <rgm@gnu.org>
8865
8866 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
8867 Handle "Remote Directory" response of some clients. (Bug#15058)
8868
8869 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
8870 Tweak warning. (Bug#14926)
8871
8872 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
8873 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
8874
8875 * image-mode.el (image-mode-map): Add menu items to reverse,
8876 increase, decrease, reset animation speed.
8877 (image--set-speed, image-increase-speed, image-decrease-speed)
8878 (image-reverse-speed, image-reset-speed): New functions.
8879 (image-mode-map): Add bindings for speed commands.
8880
8881 * image.el (image-animate-get-speed, image-animate-set-speed):
8882 New functions.
8883 (image-animate-timeout): Respect image :speed property.
8884
8885 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8886
8887 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
8888 previous line (bug#15101).
8889 (debugger-eval-expression, debugger-record-expression):
8890 Use read--expression (bug#15102).
8891
8892 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
8893
8894 Remove byte compiler warnings, visible when compiling with
8895 `byte-compile-force-lexical-warnings' set to t.
8896
8897 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
8898 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
8899 (tramp-handle-unhandled-file-name-directory)
8900 (tramp-handle-file-notify-add-watch, tramp-action-login)
8901 (tramp-action-succeed, tramp-action-permission-denied)
8902 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
8903 arguments with "_".
8904
8905 * net/tramp-adb.el (tramp-adb-parse-device-names)
8906 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
8907 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
8908 (tramp-adb-handle-file-truename): Remove unused arguments.
8909
8910 * net/tramp-cache.el (tramp-flush-directory-property)
8911 (tramp-flush-connection-property, tramp-list-connections)
8912 (tramp-parse-connection-properties): Prefix unused arguments with "_".
8913
8914 * net/tramp-compat.el (tramp-compat-make-temp-file):
8915 Rename FILENAME to F.
8916
8917 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8918 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
8919 (tramp-zeroconf-parse-workstation-device-names)
8920 (tramp-zeroconf-parse-webdav-device-names)
8921 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
8922
8923 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8924 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
8925
8926 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
8927 arguments.
8928 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
8929 (tramp-sh-handle-insert-file-contents-literally)
8930 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
8931 with "_".
8932 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
8933 Remove unused variables.
8934
8935 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
8936 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
8937 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
8938
8939 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
8940 Make them a defconst.
8941 (tramp-uuencode-region): Remove unused variable.
8942
8943 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
8944
8945 * frameset.el (frameset--prop-setter): New function.
8946 (frameset-prop): Add gv-setter declaration.
8947 (frameset-filter-minibuffer): Deal with the case that the minibuffer
8948 parameter was already set in FILTERED. Doc fix.
8949 (frameset--record-minibuffer-relationships): Allow saving a
8950 minibufferless frame without its corresponding minibuffer frame.
8951 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
8952 frame, if the frame id matches.
8953 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
8954 frames before orphaned ones.
8955 (frameset-restore): Warn about orphaned windows, instead of error out.
8956
8957 2013-08-14 Martin Rudalics <rudalics@gmx.at>
8958
8959 * window.el (window-make-atom): Don't overwrite parameter
8960 already present.
8961 (display-buffer-in-atom-window): Handle special case where we
8962 split an already atomic window.
8963 (window--major-non-side-window, display-buffer-in-side-window)
8964 (window--side-check): Ignore minibuffer window when walking
8965 window tree.
8966 (window-deletable-p): Return 'frame only if no other frame uses
8967 our minibuffer window.
8968 (record-window-buffer): Run buffer-list-update-hook.
8969 (split-window): Make sure window--check-frame won't destroy an
8970 existing atomic window in case the new window gets nested
8971 inside.
8972 (display-buffer-at-bottom): Ignore minibuffer window when
8973 walking window tree. Don't split a side window.
8974 (pop-to-buffer): Don't set-buffer here, the select-window call
8975 should do that.
8976 (mouse-autoselect-window-select): Autoselect only if we are in the
8977 text portion of the window.
8978
8979 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
8980
8981 * net/shr.el (shr-parse-image-data): New function to grab both the
8982 data itself and the Content-Type.
8983 (shr-put-image): Use it.
8984
8985 * net/eww.el (eww-display-image): Ditto.
8986
8987 * image.el (image-content-type-suffixes): New variable.
8988
8989 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8990
8991 * progmodes/python.el (python-imenu--build-tree)
8992 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
8993
8994 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
8995
8996 * simple.el (backward-word): Mention the optional argument.
8997
8998 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8999
9000 * frameset.el (frameset--make): Rename constructor from make-frameset.
9001 (frameset-p, frameset-valid-p): Don't autoload.
9002 (frameset-valid-p): Use normal accessors.
9003
9004 2013-08-13 Glenn Morris <rgm@gnu.org>
9005
9006 * progmodes/compile.el (compile-command): Tweak example in doc.
9007 * obsolete/scribe.el (scribe-mode):
9008 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9009
9010 * mail/feedmail.el (feedmail-confirm-outgoing)
9011 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9012
9013 * cus-start.el (truncate-partial-width-windows): Fix type.
9014
9015 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9016
9017 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9018
9019 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9020
9021 * emacs-lisp/timer.el (timer--time-setter): New function.
9022 (timer--time): Use it as gv-setter.
9023
9024 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9025 setter is not a symbol.
9026
9027 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9028
9029 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9030 if sending fails. This makes debugging easier.
9031
9032 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9033
9034 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9035 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9036 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9037
9038 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9039
9040 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9041
9042 2013-08-12 Glenn Morris <rgm@gnu.org>
9043
9044 * format.el (format-annotate-function):
9045 Handle read-only text properties in the source. (Bug#14887)
9046
9047 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9048
9049 * net/eww.el (eww-display-html): Ignore coding system errors.
9050 One web site uses "utf-8lias" as the coding system.
9051
9052 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9053
9054 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9055
9056 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9057
9058 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9059 (tutorial--detailed-help): Remove unused local variables.
9060 (tutorial--save-tutorial-to): Use ignore-errors.
9061 (help-with-tutorial): Use looking-at-p.
9062
9063 * view.el (view-buffer-other-window, view-buffer-other-frame):
9064 Mark unused arguments.
9065
9066 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9067 (woman-select-symbol-fonts, woman, woman-find-file)
9068 (woman-insert-file-contents, woman-non-underline-faces):
9069 Use string-match-p.
9070 (woman1-unquote): Move declaration.
9071
9072 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9073 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9074 argument. Remove unused local variable.
9075 (xml-parse-elem-type): Use string-match-p.
9076 (xml-substitute-numeric-entities): Use ignore-errors.
9077
9078 * calculator.el (calculator): Mark unused argument.
9079 (calculator-paste, calculator-quit, calculator-integer-p):
9080 Use ignore-errors.
9081 (calculator-string-to-number, calculator-decimal, calculator-exp)
9082 (calculator-op-or-exp): Use string-match-p.
9083
9084 * dired.el (dired-buffer-more-recently-used-p): Declare.
9085 (dired-insert-set-properties, dired-insert-old-subdirs):
9086 Use ignore-errors.
9087
9088 * dired-aux.el (dired-compress): Use ignore-errors.
9089 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9090 (dired-do-async-shell-command, dired-do-shell-command)
9091 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9092 (dired-insert-subdir-validate): Use string-match-p.
9093 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9094 (dired-add-entry): Use string-match-p, looking-at-p.
9095 (dired-insert-subdir-newpos): Remove unused local variable.
9096
9097 * filenotify.el (file-notify-callback): Remove unused local variable.
9098
9099 * filesets.el (filesets-error): Mark unused argument.
9100 (filesets-which-command-p, filesets-filter-dir-names)
9101 (filesets-directory-files, filesets-get-external-viewer)
9102 (filesets-ingroup-get-data): Use string-match-p.
9103
9104 * find-file.el (ff-other-file-name, ff-other-file-name)
9105 (ff-find-the-other-file, ff-cc-hh-converter):
9106 Remove unused local variables.
9107 (ff-get-file-name): Use string-match-p.
9108 (ff-all-dirs-under): Use ignore-errors.
9109
9110 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9111 (follow-select-if-visible): Remove unused local variable.
9112
9113 * forms.el (read-file-filter): Move declaration.
9114 (forms--make-format, forms--make-parser, forms-insert-record):
9115 Quote function with #'.
9116 (forms--update): Use string-match-p. Quote function with #'.
9117
9118 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9119 (help-make-xrefs): Use looking-at-p.
9120 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9121
9122 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9123 (ibuffer-confirm-operation-on): Use string-match-p.
9124
9125 * msb.el (msb-item-handler, msb-dired-item-handler):
9126 Mark unused arguments.
9127
9128 * ses.el (ses-decode-cell-symbol)
9129 (ses-kill-override): Remove unused local variable.
9130 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9131 (ses-load): Use ignore-errors, looking-at-p.
9132 (ses-jump-safe): Use ignore-errors.
9133 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9134
9135 * tabify.el (untabify, tabify): Mark unused arguments.
9136
9137 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9138 Mark unused argument.
9139 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9140 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9141
9142 * emacs-lisp/timer.el (timer--time): Define setter with
9143 gv-define-setter to avoid deprecation warning.
9144
9145 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9146 (*record-cmpl-statistics-p*): Remove (was commented out).
9147 (cmpl-statistics-block): Remove (body was commented out).
9148 All callers changed.
9149 (add-completions-from-buffer, load-completions-from-file):
9150 Remove unused variables.
9151
9152 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9153
9154 * filecache.el (file-cache-delete-file-list):
9155 Print message only when told so.
9156 (file-cache-files-matching): Use #' in mapconcat argument.
9157
9158 * ffap.el (ffap-url-at-point): Fix reference to variable
9159 thing-at-point-default-mail-uri-scheme.
9160
9161 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9162
9163 * subr.el (define-error): New function.
9164 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9165 error-file-not-found and define with define-error.
9166 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9167 and define with define-error.
9168 * userlock.el (file-locked, file-supersession):
9169 * simple.el (mark-inactive):
9170 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9171 * progmodes/ada-mode.el (ada-mode-errors):
9172 * play/life.el (life-extinct):
9173 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9174 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9175 * nxml/rng-util.el (rng-error):
9176 * nxml/rng-uri.el (rng-uri-error):
9177 * nxml/rng-match.el (rng-compile-error):
9178 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9179 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9180 * nxml/nxml-rap.el (nxml-scan-error):
9181 * nxml/nxml-outln.el (nxml-outline-error):
9182 * net/soap-client.el (soap-error):
9183 * net/gnutls.el (gnutls-error):
9184 * net/ange-ftp.el (ftp-error):
9185 * mpc.el (mpc-proc-error):
9186 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9187 (json-number-format, json-string-escape, json-string-format)
9188 (json-key-format, json-object-format):
9189 * jka-compr.el (compression-error):
9190 * international/quail.el (quail-error):
9191 * international/kkc.el (kkc-error):
9192 * emacs-lisp/ert.el (ert-test-failed):
9193 * calc/calc.el (calc-error, inexact-result, math-overflow)
9194 (math-underflow):
9195 * bookmark.el (bookmark-error-no-filename):
9196 * epg.el (epg-error): Define with define-error.
9197
9198 * time.el (display-time-event-handler)
9199 (display-time-next-load-average): Don't call sit-for since it seems
9200 unnecessary (bug#15045).
9201
9202 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9203 Use #' instead of ' to quote functions.
9204 (checkdoc-output-mode): Use setq-local.
9205 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9206 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9207 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9208 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9209 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9210 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9211 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9212 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9213
9214 * ido.el (ido-completion-help): Fix up compiler warning.
9215
9216 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9217
9218 * frameset.el (frameset-p): Add autoload cookie.
9219 (frameset--jump-to-register): New function, based on code moved from
9220 register.el.
9221 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9222
9223 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9224 (frameset-restore, frameset-save, frameset-session-filter-alist):
9225 Remove declarations.
9226 (register-alist): Doc fix.
9227 (frameset-to-register): Move to frameset.el.
9228 (jump-to-register, describe-register-1): Remove frameset-specific code.
9229
9230 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9231
9232 * allout-widgets.el (allout-widgets-pre-command-business)
9233 (allout-widgets-post-command-business)
9234 (allout-widgets-after-change-handler)
9235 (allout-decorate-item-and-context, allout-set-boundary-marker)
9236 (allout-body-modification-handler)
9237 (allout-graphics-modification-handler): Mark ignored arguments.
9238 (allout-widgets-post-command-business)
9239 (allout-widgets-exposure-change-processor)
9240 (allout-widgets-exposure-undo-processor)
9241 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9242 (allout-parse-item-at-point, allout-decorate-item-guides)
9243 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9244 * allout.el (epa-passphrase-callback-function): Declare.
9245 (allout-overlay-insert-in-front-handler)
9246 (allout-overlay-interior-modification-handler)
9247 (allout-isearch-end-handler, allout-chart-siblings)
9248 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9249 (allout-yank-processing, allout-process-exposed)
9250 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9251 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9252 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9253 (lisp-indent-defform): Mark ignored arguments.
9254 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9255 (calculate-lisp-indent): Remove unused variables.
9256 * international/characters.el (indian-2-column, arabic-2-column)
9257 (tibetan): Mark ignored arguments.
9258 (use-cjk-char-width-table): Mark ignored arguments.
9259 Remove unused variables.
9260 * international/fontset.el (build-default-fontset-data)
9261 (x-compose-font-name, create-fontset-from-fontset-spec):
9262 Mark ignored arguments.
9263 (fontset-plain-name): Remove unused variables.
9264 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9265 (keyboard-coding-system): Mark ignored arguments.
9266 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9267 * help.el (resize-temp-buffer-window):
9268 * window.el (display-buffer-in-major-side-window)
9269 (display-buffer-in-side-window, display-buffer-in-previous-window):
9270 Remove unused variables.
9271 * isearch.el (isearch-forward-symbol):
9272 * version.el (emacs-bzr-version-bzr):
9273 * international/mule-cmds.el (current-language-environment):
9274 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9275 (x-handle-display):
9276 * term/pc-win.el (x-list-fonts, x-display-planes)
9277 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9278 (x-server-version, x-display-screens, x-display-mm-height)
9279 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9280 (x-selection-owner-p, x-own-selection-internal)
9281 (x-disown-selection-internal, x-get-selection-internal)
9282 (msdos-initialize-window-system):
9283 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9284 * term/x-win.el (x-handle-no-bitmap-icon):
9285 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9286 (vc-default-find-file-hook, vc-default-extra-menu):
9287 Mark ignored arguments.
9288
9289 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9290
9291 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9292 break-condition in the context of the debugged code (bug#12685).
9293
9294 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9295
9296 * comint.el:
9297 Do not use an overlay to highlight the last prompt. (Bug#14744)
9298 (comint-mode): Make comint-last-prompt buffer local.
9299 (comint-last-prompt): New variable.
9300 (comint-last-prompt-overlay): Remove. Superseded by
9301 comint-last-prompt.
9302 (comint-snapshot-last-prompt, comint-output-filter):
9303 Use comint-last-prompt.
9304
9305 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9306
9307 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9308 (frameset-save): Check validity of the resulting frameset.
9309
9310 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9311
9312 * ido.el (ido-record-command): Add doc string.
9313
9314 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9315
9316 * frameset.el (frameset): Do not disable creation of the default
9317 frameset-p predicate. Doc fix.
9318 (frameset-valid-p): New function, copied from the old predicate-p.
9319 Add additional checks.
9320 (frameset-restore): Check with frameset-valid-p.
9321 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9322 (frameset-name, frameset-description, frameset-properties)
9323 (frameset-states): Add docstring.
9324 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9325 (frameset-filter-alist): Doc fixes.
9326
9327 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9328
9329 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9330
9331 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9332
9333 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9334 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9335 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9336 (byte-compile-normal-call): Remove obsolescence check.
9337
9338 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9339
9340 * frameset.el (frameset-restore): Doc fix.
9341
9342 * register.el (frameset-frame-id, frameset-frame-with-id)
9343 (frameset-p, frameset-restore, frameset-save): Declare.
9344 (register-alist): Document framesets.
9345 (frameset-session-filter-alist): Declare.
9346 (frameset-to-register): New function.
9347 (jump-to-register): Implement jumping to framesets. Doc fix.
9348 (describe-register-1): Describe framesets.
9349
9350 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9351
9352 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
9353
9354 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9355 Use lexical-binding.
9356
9357 * frameset.el (frameset): Use type vector, not list (incompatible
9358 change). Do not declare a new constructor, use the default one.
9359 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9360 `name' and `description', respectively, and add read-only slot
9361 `timestamp'. Doc fixes.
9362 (frameset-copy, frameset-persistent-filter-alist)
9363 (frameset-filter-alist, frameset-switch-to-gui-p)
9364 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9365 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9366 (frameset-filter-iconified, frameset-keep-original-display-p):
9367 Doc fixes.
9368 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9369 Rename from frameset-filter-(save|restore)-param. All callers changed.
9370 Doc fix.
9371 (frameset-p): Adapt to change to vector and be more thorough.
9372 Change arg name to OBJECT. Doc fix.
9373 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9374 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9375 All callers changed.
9376 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9377 All callers changed.
9378 (frameset--record-minibuffer-relationships): Rename from
9379 frameset--process-minibuffer-frames. All callers changed.
9380 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9381 Use new default constructor (again). Doc fix.
9382 (frameset--find-frame-if): Rename from `frameset--find-frame'.
9383 All callers changed.
9384 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9385 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9386 Doc fix.
9387 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9388 PARAMETERS and WINDOW-STATE, respectively.
9389 (frameset-restore): Add new keyword argument PREDICATE.
9390 Reset frameset--target-display to nil. Doc fix.
9391
9392 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9393
9394 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9395 (bat-mode): Use it.
9396 (bat-mode-syntax-table): Mark \n as end-of-comment.
9397 (bat-font-lock-keywords): Remove comment rule.
9398
9399 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9400 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9401
9402 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9403 (byte-compile-callargs-warn): Use `push'.
9404 (byte-compile-arglist-warn): Ignore higher-order "calls".
9405 (byte-compile-file-form-autoload): Use `pcase'.
9406 (byte-compile-function-form): If quoting a symbol, check that it exists.
9407
9408 2013-08-07 Eli Zaretskii <eliz@gnu.org>
9409
9410 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9411 and add a few popular commands found in batch files.
9412 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9413 (dos-mode): Doc fixes.
9414
9415 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9416
9417 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9418 (dos-mode): Use setq-local. Add space after "rem".
9419 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9420 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9421
9422 2013-08-07 Arni Magnusson <arnima@hafro.is>
9423
9424 * progmodes/dos.el: New file.
9425 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9426 dos-mode.
9427
9428 2013-08-06 Glenn Morris <rgm@gnu.org>
9429
9430 * calendar/calendar.el: Add new faces, and day-header-array.
9431 (calendar-weekday-header, calendar-weekend-header)
9432 (calendar-month-header): New faces.
9433 (calendar-day-header-construct): New function.
9434 (calendar-day-header-width): Also :set calendar-day-header-array.
9435 (calendar-american-month-header, calendar-european-month-header)
9436 (calendar-iso-month-header): Use calendar- faces.
9437 (calendar-generate-month):
9438 Use calendar-day-header-array for day headers; apply faces to them.
9439 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9440 (calendar-abbrev-construct): Add optional maxlen argument.
9441 (calendar-day-name-array): Doc fix.
9442 (calendar-day-name-array, calendar-abbrev-length)
9443 (calendar-day-abbrev-array):
9444 Also :set calendar-day-header-array, and maybe redraw.
9445 (calendar-day-header-array): New option. (Bug#15007)
9446 (calendar-font-lock-keywords): Set to nil and make obsolete.
9447 (calendar-day-name): Add option to use header array.
9448
9449 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9450
9451 * net/shr.el (shr-render-td): Remove debugging.
9452 (shr-render-td): Make width computation consistent by defaulting
9453 all zero-width columns to 10 characters. This may not be optimal,
9454 but it's at least consistent.
9455 (shr-make-table-1): Redo last change to fix the real problem in
9456 colspan handling.
9457
9458 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9459
9460 * files.el (cache-long-line-scans):
9461 Make obsolete alias to `cache-long-scans'.
9462
9463 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9464
9465 * frameset.el (frameset, frameset-filter-alist)
9466 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9467 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9468 (frameset-compute-pos): Rename from frameset--compute-pos,
9469 and add docstring.
9470 (frameset-move-onscreen): Use frameset-compute-pos.
9471 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9472
9473 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9474 Fix typos in docstrings.
9475
9476 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9477
9478 * frame.el (get-other-frame): Tiny cleanup.
9479
9480 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9481
9482 * vc/vc.el (vc-default-ignore-completion-table):
9483 Silence byte-compiler warning.
9484
9485 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
9486 slot, which can indeed be nil.
9487 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9488 Move entry for `left' from persistent to live filter alist.
9489 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9490 Doc fixes.
9491 (frameset-filter-params): When restoring a frame, copy items added to
9492 `filtered', to avoid unwittingly modifying the original parameters.
9493 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9494 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9495
9496 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9497 to use looking-at-p instead of looking-at. (Bug#15028)
9498
9499 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9500
9501 Revert introduction of isearch-filter-predicates (bug#14714).
9502 Rely on add-function instead.
9503 * isearch.el (isearch-filter-predicates): Rename it back to
9504 isearch-filter-predicate.
9505 (isearch-message-prefix): Use advice-function-mapc and advice
9506 properties to get the isearch-message-prefix.
9507 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9508 instead of run-hook-with-args-until-failure.
9509 (isearch-filter-visible): Not obsolete any more.
9510 * loadup.el: Preload nadvice.
9511 * replace.el (perform-replace): Revert to funcall
9512 instead of run-hook-with-args-until-failure.
9513 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9514 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9515 dired-isearch-filenames-toggle; make it into a proper minor mode.
9516 Use add/remove-function.
9517 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9518 Call the minor-mode rather than add/remove-hook.
9519 (dired-isearch-filter-filenames):
9520 Remove isearch-message-prefix property.
9521 * info.el (Info--search-loop): New function, extracted from Info-search.
9522 Funcall isearch-filter-predicate instead of
9523 run-hook-with-args-until-failure isearch-filter-predicates.
9524 (Info-search): Use it.
9525 (Info-mode): Use isearch-filter-predicate instead of
9526 isearch-filter-predicates.
9527
9528 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9529
9530 Do not call to `selected-window' where it is assumed by default.
9531 Affected functions are `window-minibuffer-p', `window-dedicated-p',
9532 `window-hscroll', `window-width', `window-height', `window-buffer',
9533 `window-frame', `window-start', `window-point', `next-window'
9534 and `window-display-table'.
9535 * abbrev.el (abbrev--default-expand):
9536 * bs.el (bs--show-with-configuration):
9537 * buff-menu.el (Buffer-menu-mouse-select):
9538 * calc/calc.el (calc):
9539 * calendar/calendar.el (calendar-generate-window):
9540 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
9541 (diary-make-entry):
9542 * comint.el (send-invisible, comint-dynamic-complete-filename)
9543 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
9544 * completion.el (complete):
9545 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
9546 * disp-table.el (describe-current-display-table):
9547 * doc-view.el (doc-view-insert-image):
9548 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
9549 * ehelp.el (with-electric-help):
9550 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
9551 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
9552 * emacs-lisp/helper.el (Helper-help-scroller):
9553 * emulation/cua-base.el (cua--post-command-handler-1):
9554 * eshell/esh-mode.el (eshell-output-filter):
9555 * ffap.el (ffap-gnus-wrapper):
9556 * help-macro.el (make-help-screen):
9557 * hilit-chg.el (highlight-compare-buffers):
9558 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
9559 * hl-line.el (global-hl-line-highlight):
9560 * icomplete.el (icomplete-simple-completing-p):
9561 * isearch.el (isearch-done):
9562 * jit-lock.el (jit-lock-stealth-fontify):
9563 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
9564 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
9565 * mpc.el (mpc-tagbrowser, mpc):
9566 * net/rcirc.el (rcirc-any-buffer):
9567 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
9568 * play/landmark.el (landmark-max-width, landmark-max-height):
9569 * play/zone.el (zone):
9570 * progmodes/compile.el (compilation-goto-locus):
9571 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
9572 * progmodes/etags.el (find-tag-other-window):
9573 * progmodes/fortran.el (fortran-column-ruler):
9574 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
9575 * progmodes/verilog-mode.el (verilog-point-text):
9576 * reposition.el (reposition-window):
9577 * rot13.el (toggle-rot13-mode):
9578 * server.el (server-switch-buffer):
9579 * shell.el (shell-dynamic-complete-command)
9580 (shell-dynamic-complete-environment-variable):
9581 * simple.el (insert-buffer, set-selective-display)
9582 (delete-completion-window):
9583 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
9584 (speedbar-recenter):
9585 * startup.el (fancy-splash-head):
9586 * textmodes/ispell.el (ispell-command-loop):
9587 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
9588 * tutorial.el (help-with-tutorial):
9589 * vc/add-log.el (add-change-log-entry):
9590 * vc/compare-w.el (compare-windows):
9591 * vc/ediff-help.el (ediff-indent-help-message):
9592 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
9593 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
9594 (ediff-setup-control-frame):
9595 * vc/emerge.el (emerge-position-region):
9596 * vc/pcvs-util.el (cvs-bury-buffer):
9597 * window.el (walk-windows, mouse-autoselect-window-select):
9598 * winner.el (winner-set-conf, winner-undo): Related users changed.
9599
9600 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9601
9602 * frameset.el (frameset--set-id): Doc fix.
9603 (frameset-frame-id, frameset-frame-id-equal-p)
9604 (frameset-locate-frame-id): New functions.
9605 (frameset--process-minibuffer-frames, frameset--reuse-frame)
9606 (frameset-restore): Use them.
9607
9608 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
9609
9610 Do not call to `selected-frame' where it is assumed by default.
9611 Affected functions are `raise-frame', `redraw-frame',
9612 `frame-first-window', `frame-terminal' and `delete-frame'.
9613 * calendar/appt.el (appt-disp-window):
9614 * epg.el (epg-wait-for-completion):
9615 * follow.el (follow-delete-other-windows-and-split)
9616 (follow-avoid-tail-recenter):
9617 * international/mule.el (set-terminal-coding-system):
9618 * mail/rmail.el (rmail-mail-return):
9619 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
9620 * progmodes/f90.el (f90-add-imenu-menu):
9621 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
9622 * server.el (server-switch-buffer):
9623 * simple.el (delete-completion-window):
9624 * talk.el (talk):
9625 * term/xterm.el (terminal-init-xterm-modify-other-keys)
9626 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
9627 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
9628 * vc/ediff.el (ediff-documentation): Related users changed.
9629 * frame.el (selected-terminal): Remove the leftover.
9630
9631 2013-08-05 Glenn Morris <rgm@gnu.org>
9632
9633 * calendar/calendar.el (calendar-generate-month):
9634 Fix for calendar-column-width != 1 + calendar-day-digit-width.
9635 (calendar-generate-month, calendar-font-lock-keywords):
9636 Fix for calendar-day-header-width > length of any day name.
9637
9638 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
9639
9640 * desktop.el (desktop-clear): Use new name of sort predicate.
9641
9642 * frameset.el (frameset): Add docstring. Move :version property to its
9643 own `version' slot.
9644 (frameset-copy): Rename from copy-frameset.
9645 (frameset-p): Check more thoroughly.
9646 (frameset-prop): Do not check for :version, which is no longer a prop.
9647 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9648 Use new :never value instead of t.
9649 (frameset-filter-alist): Expand and clarify docstring.
9650 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
9651 (frameset-filter-minibuffer, frameset-filter-save-param)
9652 (frameset-filter-restore-param, frameset-filter-iconified):
9653 Add pointer to docstring of frameset-filter-alist.
9654 (frameset-filter-params): Rename filter values to be more meaningful:
9655 :never instead of t, and reverse the meanings of :save and :restore.
9656 (frameset--process-minibuffer-frames): Clarify error message.
9657 (frameset-save): Avoid unnecessary and confusing call to framep.
9658 Use new BOA constructor for framesets.
9659 (frameset--reuse-list): Doc fix.
9660 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
9661 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
9662 (frameset-minibufferless-first-p): Doc fix.
9663 Rename from frameset-sort-frames-for-deletion.
9664 (frameset-restore): Doc fixes. Use new function names.
9665 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9666
9667 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9668
9669 * desktop.el (desktop-restore-forces-onscreen)
9670 (desktop-restore-reuses-frames): Document :keyword constant values.
9671 (desktop-filter-parameters-alist): Remove, now identical to
9672 frameset-filter-alist.
9673 (desktop--filter-tty*): Remove, moved to frameset.el.
9674 (desktop-save-frameset, desktop-restore-frameset):
9675 Do not pass :filters argument.
9676
9677 * frameset.el (frameset-live-filter-alist)
9678 (frameset-persistent-filter-alist): New variables.
9679 (frameset-filter-alist): Use them. Add autoload cookie.
9680 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
9681 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
9682 `frameset--id' (it's supposed to be internal to frameset.el).
9683 (frameset--process-minibuffer-frames): Ditto. Doc fix.
9684 (frameset--initial-params): New function.
9685 (frameset--get-frame): Use it. Doc fix.
9686 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
9687 Accept :all, not 'all.
9688 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
9689 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
9690 with fbound symbols. Fix frame id matching, and remove matching ids if
9691 the frame being restored is deleted. Obey :delete.
9692
9693 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9694
9695 * subr.el (macrop): New function.
9696 (text-clone--maintaining): New var.
9697 (text-clone--maintain): Rename from text-clone-maintain. Use it
9698 instead of inhibit-modification-hooks.
9699
9700 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
9701 a proxy, so as handle autoloads and redefinitions of the target.
9702 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
9703
9704 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
9705 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
9706 (pcase--mutually-exclusive-p): New function.
9707 (pcase--split-consp): Use it.
9708 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
9709 mutually exclusive with the current predicate.
9710
9711 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
9712 (edebug-macrop): Remove. Use `macrop' instead.
9713 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
9714 (ad-macro-p):
9715 * eshell/esh-cmd.el (eshell-macrop):
9716 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
9717
9718 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9719
9720 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
9721 (advice-mapc): New function, using it.
9722 (advice-function-member-p): New function.
9723 (advice--normalize): Store the cdr in advice--saved-rewrite since
9724 that's the part that will be changed.
9725 (advice--symbol-function): New function.
9726 (advice-remove): Handle removal before the function is defined.
9727 Adjust to new advice--saved-rewrite.
9728 (advice-member-p): Use advice-function-member-p and
9729 advice--symbol-function.
9730
9731 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
9732
9733 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
9734 (frameset-filter-minibuffer): Doc fix.
9735 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
9736 (frameset--set-id, frameset--process-minibuffer-frames)
9737 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
9738 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
9739
9740 * desktop.el (desktop-clear): Only delete frames when called
9741 interactively and desktop-restore-frames is non-nil. Doc fix.
9742 (desktop-read): Set desktop-saved-frameset to nil.
9743
9744 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
9745
9746 * vc/vc.el (vc-ignore): Rewrite.
9747 (vc-default-ignore-completion-table, vc--read-lines)
9748 (vc--add-line, vc--remove-regexp): New functions.
9749
9750 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
9751 (vc-svn-ignore-completion-table): New function.
9752
9753 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
9754 (vc-hg-ignore-completion-table)
9755 (vc-hg-find-ignore-file): New functions.
9756
9757 * vc/vc-git.el (vc-git-ignore): Rewrite.
9758 (vc-git-ignore-completion-table)
9759 (vc-git-find-ignore-file): New functions.
9760
9761 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
9762
9763 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
9764 (vc-bzr-ignore-completion-table)
9765 (vc-bzr-find-ignore-file): New functions.
9766
9767 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
9768
9769 * frameset.el (frameset-prop): New function and setter.
9770 (frameset-save): Do not modify frame list passed by the caller.
9771
9772 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
9773
9774 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
9775
9776 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
9777
9778 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
9779 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
9780
9781 * custom.el (custom-initialize-default, custom-initialize-set)
9782 (custom-initialize-reset, custom-initialize-changed): Affect the
9783 toplevel-default-value (bug#6275, bug#14586).
9784 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
9785 for bug#6275.
9786
9787 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9788
9789 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9790 Add cl-def* expressions.
9791
9792 * frameset.el (frameset-filter-params): Fix order of arguments.
9793
9794 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
9795
9796 Move code related to saving frames to frameset.el.
9797 * desktop.el: Require frameset.
9798 (desktop-restore-frames): Doc fix.
9799 (desktop-restore-reuses-frames): Rename from
9800 desktop-restoring-reuses-frames.
9801 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
9802 (desktop-clear): Clear frames too.
9803 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
9804 (desktop--filter-tty*, desktop-save, desktop-read):
9805 Use frameset functions.
9806 (desktop-before-saving-frames-functions, desktop--filter-*-color)
9807 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
9808 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
9809 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
9810 (desktop--process-minibuffer-frames, desktop-save-frames)
9811 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
9812 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
9813 (desktop--sort-states, desktop-restoring-frames-p)
9814 (desktop-restore-frames): Remove. Most code moved to frameset.el.
9815 (desktop-restoring-frameset-p, desktop-restore-frameset)
9816 (desktop--check-dont-save, desktop-save-frameset): New functions.
9817 (desktop--app-id): New constant.
9818 (desktop-first-buffer, desktop-buffer-ok-count)
9819 (desktop-buffer-fail-count): Move before first use.
9820 * frameset.el: New file.
9821
9822 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
9823
9824 * files.el: Use lexical-binding.
9825 (dir-locals-read-from-file): Remove unused `err' variable.
9826 (hack-dir-local-variables--warned-coding): New var.
9827 (hack-dir-local-variables): Use it to avoid repeated warnings.
9828 (make-backup-file-name--default-function): New function.
9829 (make-backup-file-name-function): Use it as default.
9830 (buffer-stale--default-function): New function.
9831 (buffer-stale-function): Use it as default.
9832 (revert-buffer-insert-file-contents--default-function): New function.
9833 (revert-buffer-insert-file-contents-function): Use it as default.
9834 (insert-directory): Avoid add-to-list.
9835
9836 * autorevert.el (auto-revert-handler): Simplify.
9837 Use buffer-stale--default-function.
9838
9839 2013-08-01 Tassilo Horn <tsdh@gnu.org>
9840
9841 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
9842
9843 * whitespace.el (whitespace-ensure-local-variables): New function.
9844 (whitespace-cleanup-region): Call it.
9845 (whitespace-turn-on): Call it.
9846
9847 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
9848
9849 Complete file name handlers.
9850
9851 * net/tramp.el (tramp-handle-set-visited-file-modtime)
9852 (tramp-handle-verify-visited-file-modtime)
9853 (tramp-handle-file-notify-rm-watch): New functions.
9854 (tramp-call-process): Do not bind `default-directory'.
9855
9856 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
9857 Order alphabetically.
9858 <access-file, add-name-to-file, dired-call-process>:
9859 <dired-compress-file, file-acl, file-notify-rm-watch>:
9860 <file-ownership-preserved-p, file-selinux-context>:
9861 <make-directory-internal, make-symbolic-link, set-file-acl>:
9862 <set-file-selinux-context, set-visited-file-modtime>:
9863 <verify-visited-file-modtime>: Add handler.
9864 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
9865
9866 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
9867 <file-notify-add-watch, file-notify-rm-watch>:
9868 <set-file-times, set-visited-file-modtime>:
9869 <verify-visited-file-modtime>: Add handler.
9870 (with-tramp-gvfs-error-message)
9871 (tramp-gvfs-handle-set-visited-file-modtime)
9872 (tramp-gvfs-fuse-file-name): Remove.
9873 (tramp-gvfs-handle-file-notify-add-watch)
9874 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
9875 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
9876
9877 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9878 Order alphabetically.
9879 <file-notify-rm-watch>: Use default Tramp handler.
9880 <executable-find>: Remove private handler.
9881 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
9882 `default-directory'.
9883 (tramp-sh-handle-executable-find)
9884 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
9885 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9886 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
9887 Do not use `format' in `tramp-message'.
9888
9889 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
9890 <file-notify-rm-watch, set-visited-file-modtime>:
9891 <verify-visited-file-modtime>: Add handler.
9892 (tramp-smb-call-winexe): Do not bind `default-directory'.
9893
9894 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
9895
9896 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
9897
9898 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
9899
9900 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
9901 use it.
9902 (log-view-diff-changeset): Same.
9903 (log-view-diff-common): Call backend command `previous-revision'
9904 to find out the previous revision, in both cases. Swap the
9905 variables `to' and `fr', so that `fr' usually refers to the
9906 earlier revision (Bug#14989).
9907
9908 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
9909
9910 * ibuf-ext.el (ibuffer-filter-by-filename):
9911 Make it work with dired buffers too.
9912
9913 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
9914
9915 * emacs-lisp/re-builder.el (reb-color-display-p):
9916 * files.el (save-buffers-kill-terminal):
9917 * net/browse-url.el (browse-url):
9918 * server.el (server-save-buffers-kill-terminal):
9919 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
9920 Prefer nil to selected-frame for the first arg of frame-parameter.
9921
9922 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
9923
9924 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
9925
9926 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
9927
9928 * minibuffer.el (completion--twq-all): Try and preserve each
9929 completion's case choice (bug#14907).
9930
9931 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9932
9933 * net/network-stream.el (open-network-stream): Mention the new
9934 :nogreeting parameter.
9935 (network-stream-open-starttls): Use the :nogreeting parameter
9936 (bug#14938).
9937
9938 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
9939
9940 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
9941 more natural than popping.
9942
9943 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
9944 (shr-urlify): Highlight under mouse.
9945
9946 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
9947
9948 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
9949
9950 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
9951
9952 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
9953 buffer for output.
9954
9955 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
9956 point-min==1. Fix search string. Fix parentheses missing.
9957
9958 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
9959 assume point-min==1. Fix search string. Fix parentheses missing.
9960
9961 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
9962
9963 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
9964 buffer for output.
9965
9966 2013-07-29 Eli Zaretskii <eliz@gnu.org>
9967
9968 * frame.el (frame-notice-user-settings): Avoid inflooping when the
9969 initial frame is minibuffer-less. (Bug#14841)
9970
9971 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
9972
9973 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
9974 option.
9975
9976 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
9977 (tramp-maybe-open-connection): Use it.
9978
9979 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9980
9981 * desktop.el (desktop--make-frame): Include `minibuffer' in the
9982 minimal set of parameters passed when creating a frame, because
9983 the minibuffer status of a frame cannot be changed later.
9984
9985 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
9986
9987 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
9988 replace-regexp-in-string and inadvertent omissions in previous change.
9989 (todo-filter-items): Ensure only file names are comma-separated in
9990 name of filtered items buffer.
9991
9992 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
9993
9994 * desktop.el: Optionally force offscreen frames back onscreen.
9995 (desktop-restoring-reuses-frames): New option.
9996 (desktop--compute-pos, desktop--move-onscreen): New functions.
9997 (desktop--make-frame): Use desktop--move-onscreen.
9998
9999 2013-07-27 Alan Mackenzie <acm@muc.de>
10000
10001 Fontify a Java generic method as a function.
10002 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10003 value to t.
10004
10005 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10006
10007 * calendar/todo-mode.el: Add command to rename todo files.
10008 (todo-rename-file): New command.
10009 (todo-key-bindings-t): Add key binding for it. Change the
10010 bindings of todo-filter-regexp-items(-multifile) to use `x'
10011 instead of `r', since the latter is better suited to the new
10012 renaming command.
10013
10014 2013-07-27 Alan Mackenzie <acm@muc.de>
10015
10016 Make Java try-with-resources statement parse properly.
10017 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10018 (c-block-stmt-1-2-key): New language constants/variables.
10019 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10020 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10021 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10022 with c-block-stmt-1-2-key.
10023
10024 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10025
10026 * desktop.el (desktop--make-frame): Apply most frame parameters after
10027 creating the frame to force (partially or totally) offscreen frames to
10028 be restored as such.
10029
10030 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10031
10032 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10033 (Bug#14948)
10034
10035 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10036
10037 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10038 `base' arg of backtrace-frame.
10039
10040 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10041
10042 * simple.el (list-processes): Doc fix.
10043
10044 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10045
10046 * desktop.el (desktop--select-frame):
10047 Try harder to reuse existing frames.
10048
10049 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10050
10051 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10052 (edebug-eval): Use backtrace-eval.
10053 (edebug--display, edebug--recursive-edit): Don't let-bind the
10054 edebug-outer-* vars that keep track of variables we locally let-bind.
10055 (edebug-outside-excursion): Don't restore outside values of locally
10056 let-bound vars.
10057 (edebug--display): Use user-error.
10058 (cl-lexical-debug, cl-debug-env): Remove.
10059
10060 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10061
10062 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10063 are restored to be sure that they are visible before deleting any
10064 remaining ones.
10065
10066 2013-07-26 Matthias Meulien <orontee@gmail.com>
10067
10068 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10069 vc-print-root-log. (Bug#14948)
10070
10071 2013-07-26 Richard Stallman <rms@gnu.org>
10072
10073 Add aliases for encrypting mail.
10074 * epa.el (epa-mail-aliases): New option.
10075 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10076 Bind inhibit-read-only so read-only text doesn't ruin everything.
10077 (epa-mail-default-recipients): New subroutine broken out.
10078 Handle epa-mail-aliases.
10079
10080 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10081
10082 Add support for lexical variables to the debugger's `e' command.
10083 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10084 vars, except for debugger-outer-match-data.
10085 (debugger-frame-number): Move check for "on a function call" from
10086 callers into it. Add `skip-base' argument.
10087 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10088 (debugger-env-macro): Only reset the state stored in non-variables,
10089 i.e. current-buffer and match-data.
10090 (debugger-eval-expression): Rewrite using backtrace-eval.
10091 * subr.el (internal--called-interactively-p--get-frame): Remove.
10092 (called-interactively-p):
10093 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10094 `base' arg of backtrace-frame instead.
10095
10096 2013-07-26 Glenn Morris <rgm@gnu.org>
10097
10098 * align.el (align-regexp): Doc fix. (Bug#14857)
10099 (align-region): Explicit error if subexpression missing/does not match.
10100
10101 * simple.el (global-visual-line-mode):
10102 Do not duplicate the mode lighter. (Bug#14858)
10103
10104 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10105
10106 * window.el (display-buffer): In display-buffer bind
10107 split-window-keep-point to t, bug#14829.
10108
10109 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10110
10111 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10112 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10113 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10114 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10115 Change accordingly.
10116 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10117 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10118
10119 2013-07-25 Glenn Morris <rgm@gnu.org>
10120
10121 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10122
10123 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10124
10125 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10126 parameter to modify-frame-parameters if the value has not changed;
10127 this is a workaround for bug#14949.
10128 (desktop--make-frame): On cl-delete-if call, check parameter name,
10129 not full parameter.
10130
10131 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10132
10133 * vc/vc.el (vc-ignore): New function.
10134
10135 * vc/vc-svn.el (vc-svn-ignore): New function.
10136
10137 * vc/vc-hg.el (vc-hg-ignore): New function.
10138
10139 * vc/vc-git.el (vc-git-ignore): New function.
10140
10141 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10142 (vc-dir-ignore): New function.
10143
10144 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10145 (cvs-append-to-ignore): Move here from pcvs.el.
10146
10147 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10148
10149 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10150
10151 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10152
10153 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10154 (desktop-restore-frames): Warn when deleting an existing frame failed.
10155
10156 2013-07-24 Glenn Morris <rgm@gnu.org>
10157
10158 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10159
10160 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10161
10162 * filenotify.el (file-notify-supported-p):
10163 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10164 Remove functions.
10165
10166 * autorevert.el (auto-revert-use-notify)
10167 (auto-revert-notify-add-watch):
10168 * net/tramp.el (tramp-file-name-for-operation):
10169 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10170 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10171 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10172 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10173 Remove `file-notify-supported-p' entry.
10174
10175 2013-07-24 Glenn Morris <rgm@gnu.org>
10176
10177 * printing.el: Replace all uses of deleted ps-windows-system,
10178 ps-lp-system, ps-flatten-list with lpr- versions.
10179
10180 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10181
10182 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10183 checked with memq (bug#14935).
10184
10185 * files.el (revert-buffer-function): Use a non-nil default.
10186 (revert-buffer-preserve-modes): Declare var to
10187 provide access to the `preserve-modes' argument.
10188 (revert-buffer): Let-bind it.
10189 (revert-buffer--default): New function, extracted from revert-buffer.
10190
10191 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10192
10193 * lpr.el: Signal print errors more prominently.
10194 (print-region-function): Don't default to nil.
10195 (lpr-print-region): New function, extracted from print-region-1.
10196 Check lpr's return value and signal an error in case of problem.
10197 (print-region-1): Use it.
10198 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10199 versions instead.
10200 (ps-printer-name): Default to nil.
10201 (ps-printer-name-option): Default to lpr-printer-switch.
10202 (ps-print-region-function): Don't default to nil.
10203 (ps-postscript-code-directory): Simplify default.
10204 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10205 (ps-string-list, ps-eval-switch, ps-flatten-list)
10206 (ps-flatten-list-1): Remove.
10207 (ps-multibyte-buffer): Avoid setq.
10208 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10209 (print-region-function, ps-print-region-function): Don't set them here.
10210
10211 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10212
10213 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10214 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10215 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10216 (ido-decorations): Doc fix.
10217
10218 * ansi-color.el: Fix old URL.
10219
10220 2013-07-23 Michael R. Mauger <michael@mauger.com>
10221
10222 * progmodes/sql.el: Version 3.3
10223 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10224 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10225 (sql-interactive-remove-continuation-prompt): Rewrite, use
10226 functions above. Fix continuation prompt and complete output line
10227 handling.
10228 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10229 redirected output buffer.
10230 (sql-mode): Restore deleted code (Bug#13591).
10231
10232 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10233
10234 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10235
10236 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10237
10238 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10239
10240 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10241 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10242 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10243
10244 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10245
10246 * desktop.el (desktop-clear): Simplify; remove useless checks
10247 against invalid buffer names.
10248 (desktop-list*): Use cl-list*.
10249 (desktop-buffer-info, desktop-create-buffer): Simplify.
10250
10251 2013-07-23 Leo Liu <sdl.web@gmail.com>
10252
10253 * bookmark.el (bookmark-make-record): Restore NAME as a default
10254 value. (Bug#14933)
10255
10256 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10257
10258 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10259 extracted from autoload--insert-text.
10260 (autoload--insert-text): Remove.
10261 (autoload--print-cookie-text): New function, extracted from
10262 autoload--insert-cookie-text.
10263 (autoload--insert-cookie-text): Remove.
10264 (autoload-generate-file-autoloads): Adjust calls accordingly.
10265
10266 * winner.el (winner-hook-installed-p): Remove.
10267 (winner-mode): Simplify accordingly.
10268
10269 * subr.el (add-to-list): Fix compiler-macro when `append' is
10270 not constant. Don't use `cl-member' for the base case.
10271
10272 * progmodes/subword.el: Fix boundary case (bug#13758).
10273 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10274 own group.
10275 (subword-backward-regexp): Make it a constant.
10276 (subword-forward-internal): Don't treat a trailing capital as the
10277 beginning of a word.
10278
10279 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10280
10281 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10282 global value of tabulated-list-revert-hook (bug#14930).
10283
10284 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
10285
10286 * desktop.el: Require 'cl-lib.
10287 (desktop-before-saving-frames-functions): New hook.
10288 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10289 for frames being saved. Rename from desktop--save-minibuffer-frames.
10290 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10291 Do not save frames with non-nil `desktop-dont-save' parameter.
10292 Filter out deleted frames.
10293 (desktop--find-frame): Use cl-find-if.
10294 (desktop--select-frame): Use cl-(first|second|third) to access values
10295 of desktop-mini.
10296 (desktop--make-frame): Use cl-delete-if.
10297 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10298 (desktop-restore-frames): Use cl-(first|second|third) to access values
10299 of desktop-mini. Look for visible frame at the end, not while
10300 restoring frames.
10301
10302 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10303 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10304 Use string-match-p, looking-at-p (bug#14927).
10305
10306 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10307
10308 * desktop.el (desktop-saved-frame-states):
10309 Rename from desktop--saved-states; all users changed.
10310 (desktop-save-frames): Rename from desktop--save-frames.
10311 Do not save state to desktop file.
10312 (desktop-save): Save desktop-saved-frame-states to desktop file
10313 and reset to nil.
10314 (desktop-restoring-frames-p): New function.
10315 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10316 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10317 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10318
10319 * desktop.el: Correctly restore iconified frames.
10320 (desktop--filter-iconified-position): New function.
10321 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10322
10323 2013-07-20 Glenn Morris <rgm@gnu.org>
10324
10325 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10326 Let `message' do the formatting.
10327 (def-gdb-preempt-display-buffer): Add explicit format.
10328
10329 * image-dired.el (image-dired-track-original-file):
10330 Use with-current-buffer.
10331 (image-dired-track-thumbnail): Use with-current-buffer.
10332 Avoid changing point of wrong window.
10333
10334 * image-dired.el (image-dired-track-original-file):
10335 Avoid changing point of wrong window. (Bug#14909)
10336
10337 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
10338
10339 * progmodes/gdb-mi.el (gdb-done-or-error):
10340 Guard against "%" in gdb output. (Bug#14127)
10341
10342 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10343
10344 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10345 (Bug#14826)
10346
10347 * international/mule.el (coding-system-iso-2022-flags): Fix last
10348 change.
10349
10350 2013-07-20 Kenichi Handa <handa@gnu.org>
10351
10352 * international/mule.el (coding-system-iso-2022-flags):
10353 Add `8-bit-level-4'. (Bug#8522)
10354
10355 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10356
10357 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10358 (bug#14815).
10359
10360 * net/eww.el (eww-process-text-input): Allow inputting when the
10361 point is at the start of the line, as the properties aren't
10362 front-sticky.
10363
10364 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10365 degenerate widths.
10366
10367 2013-07-19 Richard Stallman <rms@gnu.org>
10368
10369 * epa.el (epa-popup-info-window): Doc fix.
10370
10371 * subr.el (split-string): New arg TRIM.
10372
10373 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
10374
10375 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10376 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10377
10378 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
10379
10380 * filenotify.el (file-notify--library): Rename from
10381 `file-notify-support'. Do not autoload. Adapt all uses.
10382 (file-notify-supported-p): New defun.
10383
10384 * autorevert.el (auto-revert-use-notify):
10385 Use `file-notify-supported-p' instead of `file-notify-support'.
10386 Adapt docstring.
10387 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10388
10389 * net/tramp.el (tramp-file-name-for-operation):
10390 Add `file-notify-supported-p'.
10391
10392 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10393 New defun.
10394 (tramp-sh-file-name-handler-alist): Add it as handler for
10395 `file-notify-supported-p '.
10396
10397 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10398 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10399 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10400 Add `ignore' as handler for `file-notify-*' functions.
10401
10402 2013-07-17 Eli Zaretskii <eliz@gnu.org>
10403
10404 * simple.el (line-move-partial, line-move): Don't start vscroll or
10405 scroll-up if the current line is not taller than the window.
10406 (Bug#14881)
10407
10408 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10409
10410 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10411 highlight question marks in the method names as strings.
10412 (ruby-block-beg-keywords): Inline.
10413 (ruby-font-lock-keyword-beg-re): Extract from
10414 `ruby-font-lock-keywords'.
10415
10416 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10417
10418 * frame.el (blink-cursor-blinks): New defcustom.
10419 (blink-cursor-blinks-done): New defvar.
10420 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10421 (blink-cursor-timer-function): Check if number of blinks has been
10422 done on X and NS.
10423 (blink-cursor-suspend, blink-cursor-check): New defuns.
10424
10425 2013-07-15 Glenn Morris <rgm@gnu.org>
10426
10427 * edmacro.el (edmacro-format-keys): Fix previous change.
10428
10429 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10430
10431 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10432 The hack didn't work outside English locales anyway.
10433
10434 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
10435
10436 * simple.el (define-alternatives): Rename from alternatives-define,
10437 per RMS' suggestion.
10438
10439 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
10440
10441 * desktop.el (desktop-restore-frames): Change default to t.
10442 (desktop-restore-in-current-display): Now offer more options.
10443 (desktop-restoring-reuses-frames): New customization option.
10444 (desktop--saved-states): Doc fix.
10445 (desktop-filter-parameters-alist): New variable, renamed and expanded
10446 from desktop--excluded-frame-parameters.
10447 (desktop--target-display): New variable.
10448 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10449 (desktop--filter-tty*, desktop--filter-*-color)
10450 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10451 (desktop--filter-save-desktop-parm)
10452 (desktop-restore-in-original-display-p): New functions.
10453 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10454 (desktop--save-minibuffer-frames): New function, inspired by a similar
10455 function from Martin Rudalics.
10456 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10457 (desktop--restore-in-this-display-p): Remove.
10458 (desktop--find-frame): Rename from desktop--find-frame-in-display
10459 and add predicate argument.
10460 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10461 (desktop--reuse-list): New variable.
10462 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10463 New functions.
10464 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10465
10466 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
10467
10468 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10469
10470 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10471
10472 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10473 Highlight conversion methods on Kernel.
10474
10475 2013-07-13 Alan Mackenzie <acm@muc.de>
10476
10477 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10478 and comment it out. This out-commenting enables certain C++
10479 declarations to be parsed correctly.
10480
10481 2013-07-13 Eli Zaretskii <eliz@gnu.org>
10482
10483 * international/mule.el (define-coding-system): Doc fix.
10484
10485 * simple.el (default-font-height): Don't call font-info if the
10486 frame's default font didn't change since the frame was created.
10487 (Bug#14838)
10488
10489 2013-07-13 Leo Liu <sdl.web@gmail.com>
10490
10491 * ido.el (ido-read-file-name): Guard against non-symbol value.
10492
10493 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10494
10495 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10496 in nested defuns.
10497
10498 2013-07-13 Leo Liu <sdl.web@gmail.com>
10499
10500 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10501 ido-set-matches call. (Bug#6852)
10502
10503 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10504
10505 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
10506 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10507 Ruby 2.0.
10508 (ruby-font-lock-keywords): Distinguish calls to functions with
10509 module-like names from module references. Highlight character
10510 literals.
10511
10512 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10513
10514 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
10515 (gdb-send): Handle continued commands. (Bug#14847)
10516
10517 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10518
10519 * desktop.el (desktop--v2s): Remove unused local variable.
10520 (desktop-save-buffer): Make defvar-local; adjust docstring.
10521 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10522 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10523
10524 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
10525
10526 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
10527
10528 2013-07-12 Eli Zaretskii <eliz@gnu.org>
10529
10530 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
10531 (Bug#14842)
10532
10533 2013-07-12 Glenn Morris <rgm@gnu.org>
10534
10535 * doc-view.el: Require cl-lib at runtime too.
10536 (doc-view-remove-if): Remove.
10537 (doc-view-search-next-match, doc-view-search-previous-match):
10538 Use cl-remove-if.
10539
10540 * edmacro.el: Require cl-lib at runtime too.
10541 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
10542 (edmacro-mismatch, edmacro-subseq): Remove.
10543
10544 * shadowfile.el: Require cl-lib.
10545 (shadow-remove-if): Remove.
10546 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
10547 Use cl-remove-if.
10548
10549 * wid-edit.el: Require cl-lib.
10550 (widget-choose): Use cl-remove-if.
10551 (widget-remove-if): Remove.
10552
10553 * progmodes/ebrowse.el: Require cl-lib at runtime too.
10554 (ebrowse-delete-if-not): Remove.
10555 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
10556 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
10557 Use cl-delete-if-not.
10558
10559 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10560
10561 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
10562 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
10563
10564 2013-07-12 Leo Liu <sdl.web@gmail.com>
10565
10566 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
10567
10568 2013-07-11 Glenn Morris <rgm@gnu.org>
10569
10570 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
10571 (edebug-gensym-index, edebug-gensym):
10572 Remove reimplementation of cl-gensym.
10573 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
10574
10575 * thumbs.el: Require cl-lib at run-time too.
10576 (thumbs-gensym-counter, thumbs-gensym):
10577 Remove reimplementation of cl-gensym.
10578 (thumbs-temp-file): Use cl-gensym.
10579
10580 * emacs-lisp/ert.el: Require cl-lib at runtime too.
10581 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
10582 (ert--intersection, ert--set-difference, ert--set-difference-eq)
10583 (ert--union, ert--gensym-counter, ert--gensym-counter)
10584 (ert--coerce-to-vector, ert--remove*, ert--string-position)
10585 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
10586 (ert-make-test-unbound, ert--expand-should-1)
10587 (ert--expand-should, ert--should-error-handle-error)
10588 (should-error, ert--explain-equal-rec)
10589 (ert--plist-difference-explanation, ert-select-tests)
10590 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
10591 Use cl-lib functions rather than reimplementations.
10592
10593 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
10594
10595 * net/tramp.el (tramp-methods): Extend docstring.
10596 (tramp-connection-timeout): New defcustom.
10597 (tramp-error-with-buffer): Reset timestamp only when appropriate.
10598 (with-tramp-progress-reporter): Simplify.
10599 (tramp-process-actions): Improve messages.
10600
10601 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10602 * net/tramp-sh.el (tramp-maybe-open-connection):
10603 Use `tramp-connection-timeout'.
10604 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
10605 (Bug#14808)
10606
10607 2013-07-11 Leo Liu <sdl.web@gmail.com>
10608
10609 * ido.el (ido-read-file-name): Conform to the requirements of
10610 read-file-name. (Bug#11861)
10611 (ido-read-directory-name): Conform to the requirements of
10612 read-directory-name.
10613
10614 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
10615
10616 * subr.el (delay-warning): New function.
10617
10618 2013-07-10 Eli Zaretskii <eliz@gnu.org>
10619
10620 * simple.el (default-line-height): New function.
10621 (line-move-partial, line-move): Use it instead of computing the
10622 line height inline.
10623 (line-move-partial): Always compute ROWH. If the last line is
10624 partially-visible, but its text is completely visible, allow
10625 cursor to enter such a partially-visible line.
10626
10627 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
10628
10629 Improve error messages. (Bug#14808)
10630
10631 * net/tramp.el (tramp-current-connection): New defvar, moved from
10632 tramp-sh.el.
10633 (tramp-message-show-progress-reporter-message): Remove, not
10634 needed anymore.
10635 (tramp-error-with-buffer): Show message in minibuffer.
10636 Discard input before waiting. Reset connection timestamp.
10637 (with-tramp-progress-reporter): Improve messages.
10638 (tramp-process-actions): Use progress reporter. Delete process in
10639 case of error. Improve messages.
10640
10641 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
10642 Call `tramp-error-with-buffer' with vector and buffer.
10643 (tramp-current-connection): Remove.
10644 (tramp-maybe-open-connection): The car of
10645 `tramp-current-connection' are the first 3 slots of the vector.
10646
10647 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
10648
10649 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
10650 inside continued strings.
10651
10652 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
10653
10654 Timestamp fixes for undo (Bug#14824).
10655 * files.el (clear-visited-file-modtime): Move here from fileio.c.
10656
10657 2013-07-10 Leo Liu <sdl.web@gmail.com>
10658
10659 * files.el (require-final-newline): Allow safe local value.
10660 (Bug#14834)
10661
10662 2013-07-09 Leo Liu <sdl.web@gmail.com>
10663
10664 * ido.el (ido-read-directory-name): Handle fallback.
10665 (ido-read-file-name): Update DIR to ido-current-directory.
10666 (Bug#1516)
10667 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
10668
10669 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
10670
10671 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
10672 "autoload". Remove "warn lower camel case" section, previously
10673 commented out. Highlight negation char. Do not highlight the
10674 target in singleton method definitions.
10675
10676 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
10677
10678 * faces.el (tty-setup-hook): Declare the hook.
10679
10680 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
10681 and detect when a guard/pred depends on local vars (bug#14773).
10682 (pcase--u1): Adjust caller.
10683
10684 2013-07-08 Eli Zaretskii <eliz@gnu.org>
10685
10686 * simple.el (line-move-partial, line-move): Account for
10687 line-spacing.
10688 (line-move-partial): Avoid setting vscroll when the last
10689 partially-visible line in window is of default height.
10690
10691 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
10692
10693 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
10694 been used a while.
10695
10696 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
10697
10698 * subr.el (read-quoted-char): Remove unused local variable `char'.
10699
10700 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
10701
10702 * vc/ediff.el (ediff-version): Version update.
10703 (ediff-files-command, ediff3-files-command, ediff-merge-command)
10704 (ediff-merge-with-ancestor-command, ediff-directories-command)
10705 (ediff-directories3-command, ediff-merge-directories-command)
10706 (ediff-merge-directories-with-ancestor-command): New functions.
10707 All are command-line interfaces to ediff: to facilitate calling
10708 Emacs with the appropriate ediff functions invoked.
10709
10710 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
10711 New function.
10712 (viper-save-kill-buffer): Check if buffer is modified.
10713
10714 * emulation/viper.el (viper-version): Version update.
10715 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
10716
10717 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
10718
10719 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
10720 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
10721 (viper-intercept-ESC-key): Simplify.
10722 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
10723 don't use kbd.
10724 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
10725 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
10726 (viper-setup-ESC-to-escape): New functions.
10727 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
10728 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
10729
10730 2013-07-07 Eli Zaretskii <eliz@gnu.org>
10731
10732 * simple.el (default-font-height, window-screen-lines):
10733 New functions.
10734 (line-move, line-move-partial): Use them instead of
10735 frame-char-height and window-text-height. This makes scrolling
10736 text smoother when the buffer's default face uses a font that is
10737 different from the frame's default font.
10738
10739 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
10740
10741 * files.el (write-file): Do not display confirm dialog for NS,
10742 it does its own dialog, which can't be canceled (Bug#14578).
10743
10744 2013-07-06 Eli Zaretskii <eliz@gnu.org>
10745
10746 * simple.el (line-move-partial): Adjust the row returned by
10747 posn-at-point for the current window-vscroll. (Bug#14567)
10748
10749 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
10750
10751 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
10752 (tramp-sh-file-inotifywait-process-filter): Handle file names with
10753 spaces.
10754
10755 2013-07-06 Martin Rudalics <rudalics@gmx.at>
10756
10757 * window.el (window-state-put-stale-windows): New variable.
10758 (window--state-put-2): Save list of windows without matching buffer.
10759 (window-state-put): Remove "bufferless" windows if possible.
10760
10761 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10762
10763 * simple.el (alternatives-define): Remove leftover :group keyword.
10764 Tweak docstring.
10765
10766 2013-07-06 Leo Liu <sdl.web@gmail.com>
10767
10768 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
10769 (ido-enable-virtual-buffers): New variable.
10770 (ido-buffer-internal, ido-toggle-virtual-buffers)
10771 (ido-make-buffer-list): Use it.
10772 (ido-exhibit): Support turning on and off virtual buffers
10773 automatically.
10774
10775 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
10776
10777 * simple.el (alternatives-define): New macro.
10778
10779 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
10780
10781 * subr.el (read-quoted-char): Use read-key.
10782 (sit-for): Let read-event decode tty input (bug#14782).
10783
10784 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
10785
10786 * calendar/todo-mode.el: Add handling of file deletion, both by
10787 mode command and externally. Fix various related bugs.
10788 Clarify Commentary and improve some documentation strings and code.
10789 (todo-delete-file): New command.
10790 (todo-check-file): New function.
10791 (todo-show): Handle external deletion of the file we're trying to
10792 show (bug#14688). Replace called-interactively-p by an optional
10793 prefix argument to avoid problematic interaction with catch form
10794 when byte compiled (bug#14702).
10795 (todo-quit): Handle external deletion of the archive's todo file.
10796 Make sure the buffer that was visiting the archive file is still
10797 live before trying to bury it.
10798 (todo-category-completions): Handle external deletion of any
10799 category completion files.
10800 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
10801 of todo files, in case of external deletion.
10802 (todo-add-file): Replace unnecessary setq by let-binding.
10803 (todo-find-archive): Check whether there are any archives.
10804 Replace unnecessary setq by let-binding.
10805 (todo-archive-done-item): Use find-file-noselect to get the
10806 archive buffer whether or not the archive already exists.
10807 Remove superfluous code. Use file size instead of buffer-file-name to
10808 check if the archive is new; if it is, update list of archives.
10809 (todo-default-todo-file): Allow nil to be a valid value for when
10810 there are no todo files.
10811 (todo-reevaluate-default-file-defcustom): Use corrected definition
10812 of todo-default-todo-file.
10813 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
10814 (todo-delete-category, todo-show-categories-table)
10815 (todo-category-number): Clarify comment.
10816 (todo-filter-items): Clarify documentation string.
10817 (todo-show-current-file, todo-display-as-todo-file)
10818 (todo-reset-and-enable-done-separator): Tweak documentation string.
10819 (todo-done-separator): Make separator length window-width, since
10820 bug#2749 is now fixed.
10821
10822 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
10823
10824 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
10825 Support both "gvfs-monitor-dir" and "inotifywait".
10826 (tramp-sh-file-inotifywait-process-filter): Rename from
10827 `tramp-sh-file-notify-process-filter'.
10828 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10829 (tramp-get-remote-gvfs-monitor-dir): New defuns.
10830
10831 2013-07-05 Leo Liu <sdl.web@gmail.com>
10832
10833 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
10834
10835 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10836
10837 * frame.el (display-pixel-height, display-pixel-width)
10838 (display-mm-height, display-mm-width): Mention behavior on
10839 multi-monitor setups in docstrings.
10840 (w32-display-monitor-attributes-list): Declare function.
10841 (display-monitor-attributes-list): Use it.
10842
10843 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
10844
10845 * filenotify.el: New package.
10846
10847 * autorevert.el (top): Require filenotify.el.
10848 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
10849 instead.
10850 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10851 (auto-revert-notify-handler): Use `file-notify-*' functions.
10852
10853 * subr.el (file-notify-handle-event): Move function to filenotify.el.
10854
10855 * net/tramp.el (tramp-file-name-for-operation):
10856 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
10857
10858 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
10859 for `file-notify-add-watch' and `file-notify-rm-watch'.
10860 (tramp-process-sentinel): Improve trace.
10861 (tramp-sh-handle-file-notify-add-watch)
10862 (tramp-sh-file-notify-process-filter)
10863 (tramp-sh-handle-file-notify-rm-watch)
10864 (tramp-get-remote-inotifywait): New defuns.
10865
10866 2013-07-03 Juri Linkov <juri@jurta.org>
10867
10868 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
10869 call of `occur-read-primary-args' to interactive spec.
10870
10871 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
10872 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
10873
10874 2013-07-03 Matthias Meulien <orontee@gmail.com>
10875
10876 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
10877 `Buffer-menu-multi-occur'. Add it to the menu.
10878 (Buffer-menu-mode): Document it in docstring.
10879 (Buffer-menu-multi-occur): New command. (Bug#14673)
10880
10881 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10882
10883 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
10884 keywords and built-ins.
10885
10886 2013-07-03 Glenn Morris <rgm@gnu.org>
10887
10888 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
10889
10890 Make info-xref checks case-sensitive by default
10891 * info.el (Info-find-node, Info-find-in-tag-table)
10892 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
10893 Add option for exact case matching of nodes.
10894 * info-xref.el (info-xref): New custom group.
10895 (info-xref-case-fold): New option.
10896 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
10897
10898 2013-07-03 Leo Liu <sdl.web@gmail.com>
10899
10900 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
10901
10902 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
10903
10904 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
10905 middle of block statement initially, lower the depth. Remove
10906 FIXME comment, not longer valid. Remove middle of block statement
10907 detection, no need to do that anymore since we've been using
10908 `ruby-parse-region' here.
10909
10910 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
10911
10912 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
10913
10914 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
10915
10916 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
10917
10918 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
10919
10920 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
10921 (desktop-restore-in-current-display): New customization option.
10922 (desktop--excluded-frame-parameters): Add `font'.
10923 (desktop--save-frames): Rename from desktop--save-windows.
10924 (desktop--restore-in-this-display-p): New function.
10925 (desktop--make-full-frame): Remove unwanted width/height from
10926 full(width|height) frames.
10927 (desktop--restore-frames): Rename from desktop--restore-windows.
10928 Obey desktop-restore-current-display. Do not delete old frames or
10929 select a new frame unless we were able to restore at least one frame.
10930
10931 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
10932
10933 * files.el (find-file-noselect): Simplify conditional expression.
10934
10935 * textmodes/remember.el (remember-append-to-file):
10936 Don't mix `find-buffer-visiting' and `get-file-buffer'.
10937
10938 Add `remember-notes' function to store random notes across Emacs
10939 restarts.
10940 * textmodes/remember.el (remember-data-file): Add :set callback to
10941 affect notes buffer (if any).
10942 (remember-notes): New command.
10943 (remember-notes-buffer-name, bury-remember-notes-on-kill):
10944 New defcustoms for the `remember-notes' function.
10945 (remember-notes-save-and-bury-buffer): New command.
10946 (remember-notes-mode-map): New variable.
10947 (remember-mode): New minor mode.
10948 (remember-notes--kill-buffer-query): New function.
10949 * startup.el (initial-buffer-choice): Add notes to custom type.
10950
10951 2013-06-30 Eli Zaretskii <eliz@gnu.org>
10952
10953 * bindings.el (right-char, left-char): Don't call sit-for, this is
10954 no longer needed. Use arithmetic comparison only for numerical
10955 arguments.
10956
10957 * international/mule-cmds.el (select-safe-coding-system):
10958 Handle the case of FROM being a string correctly. (Bug#14755)
10959
10960 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10961
10962 * net/shr.el (shr-make-table-1): Add a sanity check that allows
10963 progression on degenerate tables.
10964 (shr-rescale-image): ImageMagick animated images currently don't work.
10965
10966 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
10967
10968 Some fixes and improvements for desktop frame restoration.
10969 It is still experimental and disabled by default.
10970 * desktop.el (desktop--save-windows): Put the selected frame at
10971 the head of the list.
10972 (desktop--make-full-frame): New function.
10973 (desktop--restore-windows): Try to re-select the frame that was
10974 selected upon saving. Do not abort if some frames fail to restore,
10975 just show an error message and continue. Set up maximized frames
10976 so they have default non-maximized dimensions.
10977
10978 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
10979
10980 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
10981 Don't start heredoc inside a string or comment.
10982
10983 2013-06-29 Eli Zaretskii <eliz@gnu.org>
10984
10985 * bindings.el (visual-order-cursor-movement): New defcustom.
10986 (right-char, left-char): Provide visual-order cursor motion by
10987 calling move-point-visually. Update the doc strings.
10988
10989 2013-06-28 Kenichi Handa <handa@gnu.org>
10990
10991 * international/mule.el (define-coding-system): New coding system
10992 properties :inhibit-null-byte-detection,
10993 :inhibit-iso-escape-detection, and :prefer-utf-8.
10994 (set-buffer-file-coding-system): If :charset-list property of
10995 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
10996 appropriate for setting.
10997
10998 * international/mule-cmds.el (select-safe-coding-system):
10999 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11000 multibyte characters, return utf-8 (or one of its siblings).
11001
11002 * international/mule-conf.el (prefer-utf-8): New coding system.
11003 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11004 files.
11005
11006 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11007
11008 * net/shr.el (shr-render-region): New function.
11009
11010 * net/eww.el: Autoload `eww-browse-url'.
11011
11012 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11013
11014 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11015 Adapt to `package-desc-version' being a list.
11016 Use `package--ac-desc-version' to retrieve version from a package
11017 archive element.
11018
11019 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11020
11021 New experimental feature to save&restore window and frame setup.
11022 * desktop.el (desktop-save-windows): New defcustom.
11023 (desktop--saved-states): New var.
11024 (desktop--excluded-frame-parameters): New defconst.
11025 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11026 (desktop--restore-windows, desktop--save-windows): New functions.
11027 (desktop-save): Call `desktop--save-windows'.
11028 (desktop-read): Call `desktop--restore-windows'.
11029
11030 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11031
11032 * net/shr.el (add-face-text-property): Remove compat definition.
11033
11034 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11035
11036 * info.el (Info-try-follow-nearest-node): Move search for footnote
11037 above search for node name to prevent missing a footnote (bug#14717).
11038
11039 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11040
11041 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11042
11043 2013-06-27 Leo Liu <sdl.web@gmail.com>
11044
11045 * net/eww.el (eww-read-bookmarks): Check file size.
11046
11047 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11048
11049 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11050 advice--pending if newdef is nil or an autoload (bug#13820).
11051 (advice-mapc): New function.
11052
11053 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11054
11055 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11056 probably.
11057 (eww-mode-map): Add a menu bar.
11058 (eww-add-bookmark): New command.
11059 (eww-bookmark-mode): New mode and commands.
11060 (eww-add-bookmark): Remove newlines from the title.
11061 (eww-bookmark-browse): Don't bug out if it's the only window.
11062
11063 2013-06-26 Glenn Morris <rgm@gnu.org>
11064
11065 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11066 (hfy-size): Handle ttys. (Bug#14668)
11067
11068 * info-xref.el: Update for Texinfo 5 change in *note format.
11069 (info-xref-node-re, info-xref-note-re): New constants.
11070 (info-xref-check-buffer): Use info-xref-note-re.
11071
11072 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11073
11074 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11075
11076 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11077 nil terminate the loop (bug#14718).
11078
11079 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11080
11081 * net/eww.el: Rework history traversal. When going forward/back,
11082 put these actions into the history, too, so that they can be
11083 replayed.
11084 (eww-render): Move the history reset to the correct buffer.
11085
11086 2013-06-25 Juri Linkov <juri@jurta.org>
11087
11088 * files-x.el (modify-dir-local-variable): Change the header comment
11089 in the file with directory local variables. (Bug#14692)
11090
11091 * files-x.el (read-file-local-variable-value): Add `default'.
11092 (Bug#14710)
11093
11094 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11095
11096 * net/eww.el (eww-make-unique-file-name): Create a unique file
11097 name before saving to entering `y' accidentally asynchronously.
11098
11099 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11100
11101 * net/eww.el (eww-download): New command and keystroke.
11102
11103 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11104
11105 * net/eww.el (eww-copy-page-url): Change name of command.
11106
11107 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11108 be more consistent with Info and dired.
11109
11110 * net/eww.el (eww-mode-map): Ditto.
11111
11112 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11113
11114 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11115 packages from archives.
11116 (package-archive-contents): Change format; include obsolete packages.
11117 (package-desc): Use `dir' to mark builtin packages.
11118 (package--from-builtin): Set the `dir' field to `builtin'.
11119 (generated-autoload-file, version-control): Declare.
11120 (package-compute-transaction): Change first arg and return value to be
11121 lists of package-descs. Adjust to new package-archive-contents format.
11122 (package--add-to-archive-contents): Adjust to new
11123 package-archive-contents format.
11124 (package-download-transaction): Arg is now a list of package-descs.
11125 (package-install): If `pkg' is a package name, pass it as
11126 a requirement, so it is subject to the usual (e.g. disabled) checks.
11127 (describe-package): Accept package-desc as well.
11128 (describe-package-1): Describe a specific package-desc. Add links to
11129 other package-descs for the same package name.
11130 (package-menu-describe-package): Pass the actual package-desc.
11131 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11132 works correctly.
11133 (package-desc-status): New function.
11134 (package-menu--refresh): New function, extracted
11135 from package-menu--generate.
11136 (package-menu--generate): Use it.
11137 (package-delete): Update package-alist.
11138 (package-menu-execute): Don't call package-initialize.
11139
11140 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11141 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11142 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11143 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11144 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11145 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11146
11147 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11148
11149 * window.el (window--state-get-1): Workaround for bug#14527.
11150 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11151
11152 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11153
11154 * net/eww.el (eww-back-url): Implement the history by stashing all
11155 the data into a list.
11156 (eww-forward-url): Allow going forward in the history, too.
11157
11158 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11159
11160 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11161 for values and use read--expression for expressions (bug#14710).
11162 (read-file-local-variable): Avoid setq.
11163 (read-file-local-variable-mode): Use minor-mode-list.
11164
11165 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11166
11167 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11168 for DOI URLs.
11169
11170 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11171
11172 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11173 Update imenu-support when dialect changes.
11174
11175 2013-06-25 Leo Liu <sdl.web@gmail.com>
11176
11177 * ido.el (ido-read-internal): Allow forward slash on windows.
11178
11179 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11180
11181 * net/eww.el (eww): Start of strings is \\`, not ^.
11182
11183 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11184
11185 * net/shr.el (shr-browse-url): Fix interactive spec.
11186
11187 * net/eww.el (eww): Add a trailing slash to domain names.
11188
11189 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11190
11191 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11192
11193 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11194
11195 * net/shr.el (shr-browse-url): Use an external browser if given a
11196 prefix.
11197
11198 * net/eww.el (eww-external-browser): Move to shr.
11199
11200 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11201
11202 * net/eww.el (eww): Work more correctly for file: URLs.
11203 (eww-detect-charset): Allow quoted charsets.
11204 (eww-yank-page-url): New command and keystroke.
11205
11206 2013-06-24 Daiki Ueno <ueno@gnu.org>
11207
11208 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11209 file name of gpg executable.
11210 (epg-context-program): New function.
11211 (epg-context-home-directory): New function.
11212 (epg-context-set-program): New function.
11213 (epg-context-set-home-directory): New function.
11214 (epg--start): Use `epg-context-program' instead of
11215 'epg-gpg-program'.
11216 (epg--list-keys-1): Likewise.
11217
11218 2013-06-24 Leo Liu <sdl.web@gmail.com>
11219
11220 * ido.el (ido-read-internal): Fix bug#14620.
11221
11222 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11223
11224 * faces.el (face-documentation): Simplify.
11225 (read-face-attribute, tty-find-type, x-resolve-font-name):
11226 Use `string-match-p'.
11227 (list-faces-display): Use `string-match-p'. Simplify.
11228 (face-spec-recalc): Check face to avoid face alias loops.
11229 (read-color): Use `string-match-p' and non-capturing parenthesis.
11230
11231 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11232
11233 * net/shr.el (shr-rescale-image): Use the new
11234 :max-width/:max-height functionality.
11235
11236 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11237
11238 * net/eww.el (eww-search-prefix): New variable.
11239 (eww): Use it.
11240 (eww-external-browser): New variable.
11241 (eww-mode-map): New keystroke.
11242 (eww-browse-with-external-browser): New command.
11243
11244 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11245
11246 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11247
11248 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11249 Don't skip aligning the next header field when padding is 0;
11250 otherwise, field width is not respected unless the title is as
11251 wide as the field.
11252
11253 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11254
11255 * emacs-lisp/package.el (package-el-version): Remove.
11256 (package-process-define-package): Fix inf-loop.
11257 (package-install): Allow symbols as arguments again.
11258
11259 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11260
11261 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11262 add some more keyword-like methods.
11263 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11264
11265 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11266
11267 * bs.el (bs-buffer-show-mark): Make defvar-local.
11268 (bs-mode): Use setq-local.
11269
11270 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11271 (emacs-lock--try-unlocking): Make defvar-local.
11272
11273 2013-06-22 Glenn Morris <rgm@gnu.org>
11274
11275 * play/cookie1.el (cookie-apropos): Minor simplification.
11276
11277 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11278
11279 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11280
11281 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11282 `regexp-opt', it breaks the build during dumping.
11283
11284 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11285
11286 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11287 Highlight keyword-like methods on Kernel and Module with
11288 font-lock-builtin-face.
11289 (auto-mode-alist): Consolidate different entries into one regexp
11290 and add more *file-s.
11291
11292 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11293
11294 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11295
11296 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11297 (diary-entry): Use it in the action of this button type instead of
11298 diary-goto-entry.
11299
11300 * calendar/todo-mode.el: New version.
11301 (todo-add-category): Append new category to end of file and give
11302 it the highest number, instead of putting it at the beginning and
11303 giving it 0. Incorporate noninteractive functionality.
11304 (todo-forward-category): Adapt to 1-based category numbering.
11305 Allow skipping over archived categories.
11306 (todo-backward-category): Derive from todo-forward-category.
11307 (todo-backward-item, todo-forward-item): Make noninteractive and
11308 delegate interactive part to new commands. Make sensitive to done items.
11309 (todo-categories): Make value an alist of category names and
11310 vectors of item counts.
11311 (todo-category-beg): Make a defconst.
11312 (todo-category-number): Use 1 instead of 0 as initial value.
11313 (todo-category-select): Make sensitive to overlays, optional item
11314 highlighting and done items.
11315 (todo-delete-item): Make sensitive to overlays and marked and done items.
11316 (todo-edit-item): Make sensitive to overlays and editing of
11317 date/time header optional. Add format checks.
11318 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11319 no-op if point is not on an item. Advertise using todo-edit-quit.
11320 (todo-edit-mode): Make sensitive to new format, font-locking, and
11321 multiple todo files.
11322 (todo-insert-item, todo-insert-item-here): Derive from
11323 todo-basic-insert-item and extend functionality.
11324 (todo-item-end, todo-item-start): Make sensitive to done items.
11325 (todo-item-string): Don't return text properties. Restore point.
11326 (todo-jump-to-category): Make sensitive to multiple todo files and
11327 todo archives. Use extended category completion.
11328 (todo-lower-item, todo-raise-item): Rename to *-priority and
11329 derive from todo-set-item-priority.
11330 (todo-mode): Derive from special-mode. Make sensitive to new
11331 format, font-locking and multiple todo files. Make read-only.
11332 (todo-mode-map): Don't suppress digit keys, so they can supply
11333 prefix arguments. Add many new key bindings.
11334 (todo-prefix): Insert as an overlay instead of file text.
11335 Change semantics from diary date expression to purely visual mark.
11336 (todo-print): Rename to todo-print-buffer. Make buffer display
11337 features printable. Remove option to restrict number of items
11338 printed. Add option to print to file.
11339 (todo-print-function): Rename to todo-print-buffer-function.
11340 (todo-quit): Extend to handle exiting new todo modes.
11341 (todo-remove-item): Make sensitive to overlays.
11342 (todo-save): Extend to buffers of filtered items.
11343 (todo-show): Make sensitive to done items, multiple todo files and
11344 new todo modes. Offer to convert legacy todo file before creating
11345 first new todo file.
11346 (todo-show-priorities): Rename to todo-top-priorities.
11347 Change semantics of value 0.
11348 (todo-top-priorities): Rename to todo-filter-top-priorities,
11349 derive from todo-filter-items and extend functionality.
11350 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11351 and extend functionality to other types of filtered items.
11352 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11353 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11354 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11355 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11356 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11357 (todo-edit-mode-hook, todo-entry-prefix-function)
11358 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11359 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11360 (todo-initials, todo-insert-threshold, todo-item-string-start)
11361 (todo-line-string, todo-menu, todo-mode-hook)
11362 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11363 (todo-print-priorities, todo-remove-separator)
11364 (todo-save-top-priorities-too, todo-string-count-lines)
11365 (todo-string-multiline-p, todo-time-string-format)
11366 (todo-tmp-buffer-name): Remove.
11367 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11368 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11369 (todo-edit-category-diary-inclusion)
11370 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11371 (todo-edit-file, todo-edit-item-date-day)
11372 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11373 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11374 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11375 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11376 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11377 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11378 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11379 (todo-filter-top-priorities-multifile, todo-find-archive)
11380 (todo-find-filtered-items-file, todo-go-to-source-item)
11381 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11382 (todo-jump-to-archive-category, todo-lower-category)
11383 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11384 (todo-move-category, todo-move-item, todo-next-button)
11385 (todo-next-item, todo-padded-string, todo-powerset)
11386 (todo-previous-button, todo-previous-item)
11387 (todo-print-buffer-to-file, todo-raise-category)
11388 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11389 (todo-set-category-number, todo-set-item-priority)
11390 (todo-set-top-priorities-in-category)
11391 (todo-set-top-priorities-in-file, todo-show-categories-table)
11392 (todo-sort-categories-alphabetically-or-numerically)
11393 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11394 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11395 (todo-toggle-item-header, todo-toggle-item-highlighting)
11396 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11397 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11398 (todo-unarchive-items, todo-unmark-category): New commands.
11399 (todo-absolute-file-name, todo-add-to-buffer-list)
11400 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11401 (todo-basic-insert-item, todo-category-completions)
11402 (todo-category-number, todo-category-string-matcher-1)
11403 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11404 (todo-check-format, todo-clear-matches)
11405 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11406 (todo-current-category, todo-date-string-matcher)
11407 (todo-define-insertion-command, todo-diary-expired-matcher)
11408 (todo-diary-goto-entry, todo-diary-item-p)
11409 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11410 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11411 (todo-done-item-section-p, todo-done-separator)
11412 (todo-done-string-matcher, todo-files, todo-filter-items)
11413 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11414 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11415 (todo-insert-category-line, todo-insert-item-from-calendar)
11416 (todo-insert-sort-button, todo-insert-with-overlays)
11417 (todo-insertion-command-name, todo-insertion-key-bindings)
11418 (todo-label-to-key, todo-longest-category-name-length)
11419 (todo-make-categories-list, todo-mode-external-set)
11420 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11421 (todo-modes-set-3, todo-multiple-filter-files)
11422 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11423 (todo-read-category, todo-read-date, todo-read-dayname)
11424 (todo-read-file-name, todo-read-time)
11425 (todo-reevaluate-category-completions-files-defcustom)
11426 (todo-reevaluate-default-file-defcustom)
11427 (todo-reevaluate-filelist-defcustoms)
11428 (todo-reevaluate-filter-files-defcustom)
11429 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11430 (todo-reset-done-separator, todo-reset-done-separator-string)
11431 (todo-reset-done-string, todo-reset-global-current-todo-file)
11432 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11433 (todo-reset-prefix, todo-set-categories)
11434 (todo-set-date-from-calendar, todo-set-show-current-file)
11435 (todo-set-top-priorities, todo-short-file-name)
11436 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11437 (todo-total-item-counts, todo-update-buffer-list)
11438 (todo-update-categories-display, todo-update-categories-sexp)
11439 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11440 New functions.
11441 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11442 New major modes.
11443 (todo-categories, todo-display, todo-edit, todo-faces)
11444 (todo-filtered): New defgroups.
11445 (todo-archived-only, todo-button, todo-category-string, todo-date)
11446 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11447 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11448 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11449 (todo-add-item-if-new-category, todo-always-add-time-string)
11450 (todo-categories-align, todo-categories-archived-label)
11451 (todo-categories-category-label, todo-categories-diary-label)
11452 (todo-categories-done-label, todo-categories-number-separator)
11453 (todo-categories-todo-label, todo-categories-totals-label)
11454 (todo-category-completions-files, todo-completion-ignore-case)
11455 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11456 (todo-done-separator-string, todo-done-string)
11457 (todo-files-function, todo-filter-done-items, todo-filter-files)
11458 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11459 (todo-initial-category, todo-initial-file, todo-item-mark)
11460 (todo-legacy-date-time-regexp, todo-mode-line-function)
11461 (todo-nondiary-marker, todo-number-prefix)
11462 (todo-print-buffer-function, todo-show-current-file)
11463 (todo-show-done-only, todo-show-first, todo-show-with-done)
11464 (todo-skip-archived-categories, todo-top-priorities-overrides)
11465 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11466 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11467 New defcustoms.
11468 (todo-category-done, todo-date-pattern, todo-date-string-start)
11469 (todo-diary-items-buffer, todo-done-string-start)
11470 (todo-filtered-items-buffer, todo-item-start)
11471 (todo-month-abbrev-array, todo-month-name-array)
11472 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11473 (todo-top-priorities-buffer): New defconsts.
11474 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11475 (todo-categories-with-marks, todo-category-string-face)
11476 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11477 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11478 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11479 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11480 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11481 (todo-font-lock-keywords, todo-global-current-todo-file)
11482 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11483 (todo-insertion-commands-args)
11484 (todo-insertion-commands-args-genlist)
11485 (todo-insertion-commands-names, todo-insertion-map)
11486 (todo-key-bindings-t, todo-key-bindings-t+a)
11487 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11488 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11489 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11490 (todo-visited): New variables.
11491
11492 2013-06-21 Glenn Morris <rgm@gnu.org>
11493
11494 * play/cookie1.el (cookie-apropos): Add optional display argument.
11495 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11496 (psychoanalyze-pinhead): Use cookie-doctor.
11497
11498 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11499
11500 * emacs-lisp/package.el (tar-get-file-descriptor)
11501 (tar--extract): Declare.
11502
11503 2013-06-21 Eduard Wiebe <usenet@pusto.de>
11504
11505 Extend flymake's warning predicate to be a function (bug#14217).
11506 * progmodes/flymake.el (flymake-warning-predicate): New.
11507 (flymake-parse-line): Use it.
11508 (flymake-warning-re): Make obsolete alias to
11509 `flymake-warning-predicate'.
11510
11511 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11512
11513 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11514 (package-obsolete-list): Remove.
11515 (package-activate): Remove min-version argument. Add `force' argument.
11516 Adjust to new package-alist format.
11517 (package-mark-obsolete): Remove.
11518 (package-unpack): Force reload of the package's autoloads.
11519 (package-installed-p): Check builtins if the installed package is not
11520 recent enough.
11521 (package-initialize): Don't reset package-obsolete-list.
11522 Don't specify which package version to activate.
11523 (package-process-define-package, describe-package-1)
11524 (package-menu--generate): Adjust to new package-alist format.
11525
11526 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11527
11528 * allout-widgets.el (allout-widgets-mode-off)
11529 (allout-widgets-mode-on, allout-widgets-pre-command-business)
11530 (allout-widgets-post-command-business)
11531 (allout-widgets-after-copy-or-kill-function)
11532 (allout-widgets-after-undo-function, allout-test-range-overlaps)
11533 (allout-decorate-item-and-context)
11534 (allout-graphics-modification-handler): Fix typos in docstrings.
11535 (allout-get-or-create-parent-widget): Use `looking-at-p'.
11536
11537 * cmuscheme.el (scheme-start-file): Doc fix.
11538 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
11539 (scheme-input-filter): Use `string-match-p'.
11540
11541 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
11542
11543 * dired-x.el: Use Dired consistently in docstrings.
11544
11545 * dired.el: Use Dired consistently in docstrings.
11546 (dired-readin, dired-mode): Use `setq-local'.
11547 (dired-switches-alist): Make defvar-local.
11548 (dired-buffers-for-dir): Use `zerop'.
11549 (dired-safe-switches-p, dired-switches-escape-p)
11550 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
11551 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
11552 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
11553 (dired-goto-next-nontrivial-file): Use `string-match-p'.
11554 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
11555 (dired-toggle-marks, dired-mark-files-containing-regexp)
11556 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
11557 (dired-flag-auto-save-files, dired-flag-backup-files):
11558 Use `looking-at-p'.
11559 (dired-mark-files-regexp, dired-build-subdir-alist):
11560 Use `string-match-p', `looking-at-p'.
11561
11562 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
11563 (direct-print-region-helper): Use `string-match-p'.
11564
11565 2013-06-21 Leo Liu <sdl.web@gmail.com>
11566
11567 * comint.el (comint-redirect-results-list-from-process):
11568 Fix infinite loop.
11569
11570 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11571
11572 * net/eww.el (eww-update-header-line-format): Quote % characters.
11573
11574 2013-06-21 Glenn Morris <rgm@gnu.org>
11575
11576 * play/cookie1.el (cookie): New custom group.
11577 (cookie-file): New option.
11578 (cookie-check-file): New function.
11579 (cookie): Make it interactive. Make start and end messages optional.
11580 Interactively, display the result. Default to cookie-file.
11581 (cookie-insert): Default to cookie-file.
11582 (cookie-snarf): Make start and end messages optional.
11583 Default to cookie-file. Use with-temp-buffer.
11584 (cookie-read): Rename from read-cookie.
11585 Make start and end messages optional. Default to cookie-file.
11586 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
11587 Do not autoload it.
11588 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
11589 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
11590
11591 2013-06-21 Leo Liu <sdl.web@gmail.com>
11592
11593 * progmodes/octave.el (octave-mode): Backward compatibility fix.
11594
11595 2013-06-21 Glenn Morris <rgm@gnu.org>
11596
11597 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
11598
11599 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11600 Daniel Hackney <dan@haxney.org>
11601
11602 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
11603 Consolidate the single-file vs tarball code.
11604 (package-desc-suffix): New function.
11605 (package-desc-full-name): Don't bother inlining it.
11606 (package-load-descriptor): Return the new package-desc.
11607 (package-mark-obsolete): Remove unused arg `package'.
11608 (package-unpack): Make it work for single files as well.
11609 Make it update package-alist.
11610 (package--make-autoloads-and-stuff): Rename from
11611 package--make-autoloads-and-compile. Don't compile any more.
11612 (package--compile): New function.
11613 (package-generate-description-file): New function, extracted from
11614 package-unpack-single.
11615 (package-unpack-single): Remove.
11616 (package--with-work-buffer): Add indentation and debugging info.
11617 (package-download-single): Remove.
11618 (package-install-from-archive): Rename from package-download-tar, make
11619 it take a pkg-desc, and make it work for single files as well.
11620 (package-download-transaction): Simplify.
11621 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
11622 external tar program.
11623 (package-install-from-buffer): Remove `pkg-desc' argument.
11624 Use package-tar-file-info for tar-mode buffers.
11625 (package-install-file): Simplify accordingly.
11626 (package-archive-base): Change to take a pkg-desc.
11627 * tar-mode.el (tar--check-descriptor): New function, extracted from
11628 tar-get-descriptor.
11629 (tar-get-descriptor): Use it.
11630 (tar-get-file-descriptor): New function.
11631 (tar--extract): New function, extracted from tar-extract.
11632 (tar--extract): Use it.
11633 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
11634 case the summary uses non-ascii. Adjust to new calling convention of
11635 package-tar-file-info.
11636
11637 2013-06-21 Leo Liu <sdl.web@gmail.com>
11638
11639 * comint.el (comint-redirect-results-list-from-process):
11640 Fix random delay. (Bug#14681)
11641
11642 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11643
11644 * profiler.el (profiler-format-number): Use log, not log10.
11645
11646 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11647
11648 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
11649
11650 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
11651
11652 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
11653 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
11654 yet available.
11655 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
11656 (AUTOGENEL): ... here.
11657 * emacs-lisp/cl-macs.el (cl--sublis): New function.
11658 (cl--defsubst-expand): Use it.
11659
11660 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
11661
11662 * subr.el (log10): Move here from C code, and declare as obsolete.
11663 All uses of (log10 X) replaced with (log X 10).
11664
11665 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11666
11667 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
11668 Declare with `defvar-local'.
11669 (tabulated-list-use-header-line, tabulated-list-entries)
11670 (tabulated-list-padding, tabulated-list-printer)
11671 (tabulated-list-sort-key): Declare with `defvar-local'.
11672 (tabulated-list-init-header, tabulated-list-print-fake-header):
11673 Use `setq-local'.
11674
11675 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
11676
11677 * arc-mode.el (archive-mode): Add `archive-write-file' to
11678 `write-contents-functions' also for remote files. (Bug#14652)
11679
11680 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
11681
11682 * cus-edit.el (custom-commands): Fix typos.
11683 (custom-display): Fix tooltip text.
11684 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
11685 Fix typos in docstrings.
11686 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
11687 (custom-unlispify-menu-entry, custom-magic-value-create)
11688 (custom-add-see-also, custom-group-value-create): Use ?\s.
11689 (custom-guess-type, customize-apropos, editable-field)
11690 (custom-face-value-create): Use `string-match-p'.
11691 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
11692
11693 * custom.el (custom-load-symbol): Use `string-match-p'.
11694
11695 * ansi-color.el: Convert to lexical binding.
11696 (ansi-colors): Fix URL.
11697 (ansi-color-context, ansi-color-context-region): Use defvar-local.
11698 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
11699 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
11700
11701 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11702
11703 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
11704
11705 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
11706
11707 2013-06-19 Tom Tromey <tromey@redhat.com>
11708
11709 * net/eww.el (eww-top-url): Remove.
11710 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
11711 (eww-render): Set new variables. Don't set eww-top-url.
11712 (eww-handle-link): Handle "prev", "home", and "contents".
11713 Downcase the rel text.
11714 (eww-top-url): Choose best top URL.
11715
11716 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11717
11718 * net/eww.el: Rewrite to implement form elements "by hand" instead of
11719 relying in widget.el. Using widget.el leads to too many
11720 user interface inconsistencies.
11721 (eww-self-insert): Implement entering commands in text fields.
11722 (eww-process-text-input): New function to make text input field editing
11723 work.
11724 (eww-submit): Rewrite to use the new-style form methods.
11725 (eww-select-display): Display the correct selected item.
11726 (eww-change-select): Implement changing the select value.
11727 (eww-toggle-checkbox): Implement radio/checkboxes.
11728 (eww-update-field): Fix compilation error.
11729 (eww-tag-textarea): Implement <textarea>.
11730
11731 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
11732 we don't shadow mode-specific bindings.
11733
11734 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
11735 nothing to push.
11736
11737 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
11738
11739 2013-06-19 Glenn Morris <rgm@gnu.org>
11740
11741 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
11742
11743 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11744
11745 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
11746 not needed.
11747
11748 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
11749
11750 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11751
11752 * net/browse-url.el (browse-url-browser-function):
11753 `eww-browse-url' has the right calling signature, `eww' does not.
11754
11755 2013-06-19 Glenn Morris <rgm@gnu.org>
11756
11757 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11758 Only eval autoloaded macros.
11759 (byte-compile-autoload): Only give the macro warning for macros.
11760
11761 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
11762 (ps-underlined-faces): Declare.
11763
11764 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
11765 (speedbar-add-supported-extension): Declare.
11766
11767 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
11768 Don't include a date stamp in the header of the generated file;
11769 it leads to needless differences between output files.
11770
11771 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
11772
11773 * net/secrets.el (secrets-struct-secret-content-type):
11774 Replace check of introspection data by a test call of "CreateItem".
11775 Some servers do not offer introspection.
11776
11777 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
11778
11779 * electric.el (electric-pair-mode): Improve interaction with
11780 electric-layout-mode.
11781 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
11782 (electric-pair-syntax): Use text-mode-syntax-table in comments
11783 and strings.
11784 (electric-pair--insert): New function.
11785 (electric-pair-post-self-insert-function): Use it and
11786 electric--after-char-pos.
11787
11788 2013-06-19 Leo Liu <sdl.web@gmail.com>
11789
11790 * progmodes/octave.el (octave-help): Fix regexp.
11791
11792 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
11793
11794 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
11795 (shr-table-horizontal-line): Allow nil as a value, and change the
11796 default.
11797 (shr-insert-table-ruler): Respect the nil value.
11798
11799 2013-06-18 Tom Tromey <tromey@barimba>
11800
11801 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11802 New defvars.
11803 (eww-open-file): New defun.
11804 (eww-render): Initialize new variables.
11805 (eww-display-html): Handle "link" and "a".
11806 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
11807 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
11808 (eww-back-url): Rename from eww-previous-url.
11809 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
11810 New defuns.
11811
11812 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
11813
11814 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
11815 Distinguish ternary operator tokens from slash symbol and slash
11816 char literal.
11817
11818 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11819
11820 Convert symbol prettification into minor mode and global minor mode.
11821
11822 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
11823 `prog-prettify-symbols', and make a local defvar instead of defcustom.
11824 (prettify-symbols--keywords): Rename from
11825 `prog-prettify-symbols-alist' and make a local defvar.
11826 (prettify-symbols--compose-symbol): Rename from
11827 `prog--prettify-font-lock-compose-symbol'.
11828 (prettify-symbols--make-keywords): Rename from
11829 `prog-prettify-font-lock-symbols-keywords' and simplify.
11830 (prog-prettify-install): Remove.
11831 (prettify-symbols-mode): New minor mode, based on
11832 `prog-prettify-install'.
11833 (turn-on-prettify-symbols-mode): New function.
11834 (global-prettify-symbols-mode): New globalized minor mode.
11835
11836 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
11837 * progmodes/cfengine.el (cfengine3-mode):
11838 * progmodes/perl-mode.el (perl-mode): Don't call
11839 `prog-prettify-install'; set `prettify-symbols-alist' instead.
11840
11841 2013-06-18 Juri Linkov <juri@jurta.org>
11842
11843 * files-x.el (modify-file-local-variable-message): New function.
11844 (modify-file-local-variable)
11845 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
11846 and call `modify-file-local-variable-message' when it's non-nil.
11847 (add-file-local-variable, delete-file-local-variable)
11848 (add-file-local-variable-prop-line)
11849 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
11850 and use it. (Bug#9820)
11851
11852 2013-06-18 Juri Linkov <juri@jurta.org>
11853
11854 * emulation/vi.el (vi-shell-op):
11855 * emulation/vip.el (vip-execute-com, ex-command):
11856 * emulation/viper-cmd.el (viper-exec-bang):
11857 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
11858 the call of `shell-command-on-region'. (Bug#14637)
11859
11860 * simple.el (shell-command-on-region): Doc fix.
11861
11862 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11863
11864 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
11865 (bug#14633).
11866
11867 2013-06-18 Glenn Morris <rgm@gnu.org>
11868
11869 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
11870
11871 * newcomment.el (comment-search-forward, comment-search-backward):
11872 Doc fix. (Bug#14376)
11873
11874 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
11875
11876 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
11877 (buffer-face-mode-invoke): Doc fix.
11878
11879 2013-06-18 Matthias Meulien <orontee@gmail.com>
11880
11881 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
11882 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
11883
11884 2013-06-18 Glenn Morris <rgm@gnu.org>
11885
11886 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
11887 Replace obsolete function generic-make-keywords with its expansion.
11888
11889 * progmodes/python.el (ffap-alist): Declare.
11890
11891 * textmodes/reftex.el (bibtex-mode-map): Declare.
11892
11893 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
11894
11895 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
11896 (package-unpack, package-unpack-single): Return the pkg-dir.
11897 (package-download-transaction): Use it to update package-alist.
11898
11899 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11900
11901 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
11902 possible choice.
11903
11904 2013-06-17 Juri Linkov <juri@jurta.org>
11905
11906 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
11907
11908 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11909
11910 * emacs-lisp/package.el (package-load-descriptor):
11911 Remove `with-syntax-table' call, `read' doesn't need it.
11912 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
11913
11914 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11915
11916 * startup.el (command-line): Expand package name returned by
11917 `package--description-file' (bug#14639).
11918
11919 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
11920
11921 * emacs-lisp/package.el (package-load-descriptor): Do not call
11922 `emacs-lisp-mode', just use its syntax table.
11923
11924 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
11925
11926 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
11927 `font-lock-extra-managed-props' if any prettifying keyword is added.
11928 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
11929 (prog-mode): Use `setq-local'.
11930
11931 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
11932
11933 * international/characters.el (standard-case-table): Set syntax of ?»
11934 and ?« to punctuation.
11935
11936 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
11937
11938 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
11939 Save relevant match data before calling `syntax-ppss' (bug#14595).
11940
11941 2013-06-15 Juri Linkov <juri@jurta.org>
11942
11943 * files-x.el (modify-file-local-variable-prop-line): Add local
11944 variables to the end of the existing comment on the first line.
11945 Use `file-auto-mode-skip' to skip interpreter magic line,
11946 and also skip XML declaration.
11947
11948 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11949
11950 * startup.el (package--builtin-versions): New var.
11951 (package-subdirectory-regexp): Remove.
11952 (package--description-file): Hard code its value instead.
11953
11954 * emacs-lisp/package.el: Don't activate packages older than builtin.
11955 (package-obsolete-list): Rename from package-obsolete-alist, and make
11956 it into a simple list of package-desc.
11957 (package-strip-version): Remove.
11958 (package-built-in-p): Use package--builtin-versions.
11959 (package-mark-obsolete): Simplify.
11960 (package-process-define-package): Mark it obsolete if older than the
11961 builtin version.
11962 (package-handle-response): Use line-end-position.
11963 (package-read-archive-contents, package--download-one-archive):
11964 Simplify.
11965 (package--add-to-archive-contents): Skip if older than the builtin or
11966 installed version.
11967 (package-menu-describe-package): Fix last change.
11968 (package-list-unversioned): New var.
11969 (package-menu--generate): Use it.
11970
11971 * emacs-lisp/autoload.el: Manage package--builtin-versions.
11972 (autoload--insert-text, autoload--insert-cookie-text): New functions.
11973 (autoload-builtin-package-versions): New variable.
11974 (autoload-generate-file-autoloads): Use them.
11975 Remove the list of autoloaded functions/macros from the
11976 (autoload...) comments.
11977
11978 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
11979
11980 2013-06-15 Eli Zaretskii <eliz@gnu.org>
11981
11982 * simple.el (line-move-partial): Don't jump to the next screen
11983 line as soon as it becomes visible. Instead, continue enlarging
11984 the vscroll until the portion of a tall screen line that's left on
11985 display is about the height of the frame's default font.
11986 (Bug#14567)
11987
11988 2013-06-15 Glenn Morris <rgm@gnu.org>
11989
11990 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
11991 compilation-error-regexp-alist void, or local while let-bound.
11992
11993 * progmodes/make-mode.el (makefile-mode-syntax-table):
11994 Treat "=" as punctuation. (Bug#14614)
11995
11996 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
11997
11998 * help-fns.el (describe-variable):
11999 Add extra line for permanent-local variables.
12000
12001 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12002
12003 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12004 Add export, import, library. (Bug#9164)
12005 (library): Set indent function.
12006
12007 2013-06-14 Glenn Morris <rgm@gnu.org>
12008
12009 * term/xterm.el (xterm--query):
12010 Stop after first matching handler. (Bug#14615)
12011
12012 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12013
12014 Add support for dired in saveplace.
12015 * dired.el (dired-initial-position-hook): New variable.
12016 (dired-initial-position): Call hook to place cursor position.
12017 * saveplace.el (save-place-to-alist): Add dired position.
12018 (save-place-dired-hook): New function.
12019
12020 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12021
12022 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12023 through a symbol rather than letrec.
12024
12025 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12026 (package-desc): Add `dir' field.
12027 (package-desc-full-name): New function.
12028 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12029 (package-maybe-load-descriptor): Remove.
12030 (package-load-all-descriptors): Just call package-load-descriptor.
12031 (package--disabled-p): New function.
12032 (package-desc-vers, package-desc-doc): Remove aliases.
12033 (package--dir): Remove function.
12034 (package-activate): Check if a package is disabled.
12035 (package-process-define-package): New function, extracted from
12036 define-package.
12037 (define-package): Turn into a place holder.
12038 (package-unpack-single, package-tar-file-info):
12039 Use package--description-file.
12040 (package-compute-transaction): Use package--disabled-p.
12041 (package-download-transaction): Don't call
12042 package-maybe-load-descriptor since they're all loaded anyway.
12043 (package-install): Change argument to be a pkg-desc.
12044 (package-delete): Use a single pkg-desc argument.
12045 (describe-package-1): Use package-desc-dir instead of package--dir.
12046 Use package-desc property instead of package-symbol.
12047 (package-install-button-action): Adjust accordingly.
12048 (package--push): Rewrite.
12049 (package-menu--print-info): Adjust accordingly. Change the ID format
12050 to be a pkg-desc.
12051 (package-menu-describe-package, package-menu-get-status)
12052 (package-menu--find-upgrades, package-menu-mark-upgrades)
12053 (package-menu-execute, package-menu--name-predicate):
12054 Adjust accordingly.
12055 * startup.el (package--description-file): New function.
12056 (command-line): Use it.
12057 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12058 Use package-desc-version.
12059
12060 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12061 (byte-compile-preprocess): Use it.
12062 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12063 can't quite recognize.
12064 (byte-compile-add-to-list): Remove.
12065 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12066 (cconv-closure-convert): Add assertion.
12067
12068 * emacs-lisp/map-ynp.el: Use lexical-binding.
12069 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12070 Factor out some repeated code.
12071
12072 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12073
12074 * subr.el (with-eval-after-load): New macro.
12075 (eval-after-load): Allow form to be a function.
12076 take advantage of lexical-binding.
12077 (do-after-load-evaluation): Use dolist and adjust to new format.
12078 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12079
12080 2013-06-13 Juri Linkov <juri@jurta.org>
12081
12082 * replace.el (perform-replace): Display "symbol " and other search
12083 modes from `isearch-message-prefix' in the *Help* buffer.
12084
12085 * isearch.el (isearch-query-replace): Add " symbol" and other
12086 possible search modes from `isearch-message-prefix' to the prompt.
12087 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12088 when reading a regexp to collect.
12089
12090 2013-06-13 Juri Linkov <juri@jurta.org>
12091
12092 * isearch.el (word-search-regexp): Match whitespace if the search
12093 string begins or ends in whitespace. The LAX arg is applied to
12094 both ends of the search string. Use `regexp-quote' and explicit
12095 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12096 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12097 boundaries are replaced with symbol boundaries, and characters
12098 between symbols match non-word non-symbol syntax. (Bug#14602)
12099
12100 2013-06-13 Juri Linkov <juri@jurta.org>
12101
12102 * isearch.el (isearch-del-char): Don't exceed the length of
12103 `isearch-string' by the prefix arg. (Bug#14563)
12104
12105 2013-06-13 Juri Linkov <juri@jurta.org>
12106
12107 * isearch.el (isearch-yank-word, isearch-yank-line)
12108 (isearch-char-by-name, isearch-quote-char)
12109 (isearch-printing-char, isearch-process-search-char):
12110 Add optional count prefix arg. (Bug#14563)
12111
12112 * international/isearch-x.el
12113 (isearch-process-search-multibyte-characters):
12114 Add optional count prefix arg.
12115
12116 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12117
12118 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12119 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12120 lexical-binding.
12121
12122 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12123
12124 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12125
12126 2013-06-13 Glenn Morris <rgm@gnu.org>
12127
12128 * startup.el (tty-handle-args):
12129 Don't just discard "--" and anything after. (Bug#14608)
12130
12131 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12132
12133 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12134
12135 Implement changes in Secret Service API. Make it backward compatible.
12136 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12137 (secrets-create-item): Use it. Prefix properties with interface.
12138
12139 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12140
12141 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12142 (term-emulate-terminal): Respect term-suppress-hard-newline.
12143
12144 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12145
12146 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12147 Only remove a `thumb-file' overlay. (Bug#14548)
12148
12149 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12150
12151 * mail/reporter.el (reporter-submit-bug-report):
12152 Handle missing package-name. (Bug#14600)
12153
12154 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12155
12156 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12157 (reftex-citation-prompt, reftex-default-bibliography)
12158 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12159 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12160 (reftex-bib-sort-author, reftex-bib-sort-year)
12161 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12162 (reftex-extract-bib-entries-from-thebibliography)
12163 (reftex-get-bibkey-default, reftex-get-bib-names)
12164 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12165 (reftex-format-bib-entry, reftex-parse-bibitem)
12166 (reftex-format-bibitem, reftex-do-citation)
12167 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12168 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12169 (reftex-insert-bib-matches, reftex-format-citation)
12170 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12171 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12172 existing comments into docstrings.
12173
12174 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12175
12176 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12177
12178 2013-06-12 Andreas Schwab <schwab@suse.de>
12179
12180 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12181 for auto-save files.
12182
12183 2013-06-12 Glenn Morris <rgm@gnu.org>
12184
12185 * ido.el (ido-delete-ignored-files): Remove.
12186 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12187 Go back to calling ido-ignore-item-p directly.
12188
12189 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12190
12191 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12192
12193 * ido.el (ido-delete-ignored-files): New function,
12194 split from ido-make-file-list-1.
12195 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12196 (ido-make-file-list-1): Use ido-delete-ignored-files.
12197
12198 2013-06-12 Leo Liu <sdl.web@gmail.com>
12199
12200 * progmodes/octave.el (inferior-octave-startup)
12201 (inferior-octave-completion-table)
12202 (inferior-octave-track-window-width-change)
12203 (octave-eldoc-function-signatures, octave-help)
12204 (octave-find-definition): Use single quoted strings.
12205 (inferior-octave-startup-args): Change default value.
12206 (inferior-octave-startup): Do not hard code "-i" and
12207 "--no-line-editing".
12208 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12209 (inferior-octave-directory-tracker): Use it.
12210 (octave-goto-function-definition): Robustify.
12211 (octave-help): Support highlighting operators in 'See also'.
12212 (octave-find-definition): Find subfunctions only in Octave mode.
12213
12214 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12215
12216 * help-fns.el (help-fns--compiler-macro): If the handler function is
12217 named, then put a link to it.
12218 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12219 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12220 (cl-typep): Use it.
12221 (cl-eval-when): Simplify debug spec.
12222 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12223 compiler-macro function instead of setting `compiler-macro-file'.
12224
12225 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12226
12227 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12228 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12229
12230 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12231 Daniel Hackney <dan@haxney.org>
12232
12233 First part of Daniel Hackney's patch to package.el.
12234 * emacs-lisp/package.el: Use defstruct.
12235 (package-desc): New, main struct.
12236 (package--bi-desc, package--ac-desc): New structs, used to describe the
12237 format in external files.
12238 (package-desc-vers): Replace with package-desc-version accessor.
12239 (package-desc-doc): Replace with package-desc-summary accessor.
12240 (package-activate-1): Remove `package' arg since the pkg-vec now
12241 includes the name.
12242 (define-package): Use package-desc-from-define.
12243 (package-unpack-single): Change file-name arg to be a symbol.
12244 (package--add-to-archive-contents): Use package-desc-create and new
12245 accessor functions to package--ac-desc.
12246 (package-buffer-info, package-tar-file-info): Return a package-desc.
12247 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12248 arg to be a package-desc.
12249 (package-install-file): Adjust accordingly. Use \' to match EOS.
12250 (package--from-builtin): New function.
12251 (describe-package-1, package-menu--generate): Use it.
12252 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12253 (package-generate-autoloads): Idem and return the name of the file.
12254 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12255 Change pkg-info arg to be a package-desc.
12256 Use package-make-ac-desc.
12257 (package-upload-file): Use \' to match EOS.
12258 * finder.el (finder-compile-keywords): Use package-make-builtin.
12259
12260 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12261
12262 * vc/vc.el (vc-deduce-fileset): Change error message.
12263 (vc-read-backend): New function.
12264 (vc-next-action): Use it.
12265
12266 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12267
12268 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12269 (prolog-font-lock-keywords): Use regexp-opt instead.
12270 Don't manually highlight strings.
12271 (prolog-mode-variables): Simplify comment-start-skip.
12272 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12273
12274 * emacs-lisp/generic.el (generic--normalise-comments)
12275 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12276 (generic-mode-set-comments): Use them.
12277 (generic-bracket-support): Use setq-local.
12278 (generic-make-keywords-list): Declare obsolete.
12279
12280 2013-06-11 Glenn Morris <rgm@gnu.org>
12281
12282 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12283 Prettify after setting font-lock-defaults. (Bug#14574)
12284
12285 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
12286
12287 * replace.el (query-replace, occur-read-regexp-defaults-function)
12288 (replace-search):
12289 * subr.el (declare-function, number-sequence, local-set-key)
12290 (substitute-key-definition, locate-user-emacs-file)
12291 (with-silent-modifications, split-string, eval-after-load):
12292 Fix typos, remove unneeded backslashes and reflow some docstrings.
12293
12294 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12295
12296 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12297 default for Elisp files.
12298
12299 2013-06-11 Glenn Morris <rgm@gnu.org>
12300
12301 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12302 although define-derived-mode was doing this anyway. (Bug#14583)
12303
12304 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12305
12306 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12307 Fix make-variable-buffer-local call to refer to the correct variable.
12308
12309 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12310
12311 * eshell/em-term.el (eshell-visual-commands)
12312 (eshell-visual-subcommands, eshell-visual-options):
12313 Add summary line to docstrings. Add cross-references.
12314
12315 2013-06-10 Glenn Morris <rgm@gnu.org>
12316
12317 * epa.el (epa-read-file-name): New function. (Bug#14510)
12318 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12319
12320 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12321
12322 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12323 output redirection to be ignored with visual commands.
12324
12325 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12326
12327 * eshell/em-term.el (eshell-visual-command-p): New function.
12328 (eshell-term-initialize): Move long lambda to separate function
12329 eshell-visual-command-p.
12330 * eshell/em-dirs.el (eshell-dirs-initialize):
12331 * eshell/em-script.el (eshell-script-initialize):
12332 Add missing #' to lambda.
12333
12334 2013-06-08 Leo Liu <sdl.web@gmail.com>
12335
12336 * progmodes/octave.el (octave-add-log-current-defun): New function.
12337 (octave-mode): Set add-log-current-defun-function.
12338 (octave-goto-function-definition): Do not move point if not found.
12339 (octave-find-definition): Enhance to try subfunctions first.
12340
12341 2013-06-08 Glenn Morris <rgm@gnu.org>
12342
12343 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12344 (byte-compile-backward-char, byte-compile-backward-word):
12345 Improve previous change, to handle non-explicit nil.
12346
12347 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12348
12349 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12350 (smie--opener/closer-at-point): New function.
12351 (smie--matching-block-data): Use it. Don't match from right after an
12352 opener or right before a closer. Obey smie-blink-matching-inners.
12353 Don't signal a mismatch for repeated inners like "switch..case..case".
12354
12355 2013-06-07 Leo Liu <sdl.web@gmail.com>
12356
12357 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12358 to t. (Bug#14303)
12359 (octave-function-header-regexp): Fix. (Bug#14570)
12360 (octave-help-mode-finish-hook, octave-help-mode-finish):
12361 Remove. Just use temp-buffer-show-hook.
12362
12363 * newcomment.el (comment-search-backward): Revert last change.
12364 (Bug#14434)
12365
12366 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12367
12368 2013-06-07 Eli Zaretskii <eliz@gnu.org>
12369
12370 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12371 through xargs, to avoid failure due to MS-Windows limitations on
12372 command-line length.
12373
12374 2013-06-06 Glenn Morris <rgm@gnu.org>
12375
12376 * font-lock.el (lisp-font-lock-keywords-2):
12377 Treat user-error like error.
12378
12379 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12380 (byte-compile-backward-char, byte-compile-backward-word):
12381 Handle explicit nil arguments. (Bug#14565)
12382
12383 2013-06-05 Alan Mackenzie <acm@muc.de>
12384
12385 * isearch.el (isearch-allow-prefix): New user option.
12386 (isearch-other-meta-char): Don't exit isearch when a prefix
12387 argument is typed whilst `isearch-allow-prefix' is non-nil.
12388 (Bug#9706)
12389
12390 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12391
12392 * autorevert.el (auto-revert-notify-handler): Use memq.
12393 Hide assertion failure.
12394
12395 * skeleton.el: Use cl-lib.
12396 (skeleton-further-elements): Use defvar-local.
12397 (skeleton-insert): Use cl-progv.
12398
12399 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12400
12401 * progmodes/prog-mode.el (prog-prettify-symbols)
12402 (prog-prettify-install): Update docstrings.
12403
12404 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12405
12406 * simple.el: Move all the prog-mode code to prog-mode.el.
12407 * progmodes/prog-mode.el: New file.
12408 * loadup.el: Add prog-mode.el.
12409
12410 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12411
12412 * simple.el (prog-prettify-symbols): Add version.
12413 (prog-prettify-install): Add convenience function to prettify symbols.
12414
12415 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12416 (perl--augmented-font-lock-keywords-1)
12417 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12418 variables and use it.
12419
12420 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12421 (cfengine3-mode): Remove unneeded variable and use it.
12422
12423 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12424 (lisp--augmented-font-lock-keywords-1)
12425 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12426 Remove unneeded variables and use it.
12427
12428 2013-06-05 João Távora <joaotavora@gmail.com>
12429
12430 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
12431 to point when opening the connection. (Bug#14380)
12432
12433 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12434
12435 * subr.el (load-history-regexp, load-history-filename-element)
12436 (eval-after-load, after-load-functions, do-after-load-evaluation)
12437 (eval-next-after-load, display-delayed-warnings)
12438 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12439 definition of save-match-data.
12440 (overriding-local-map): Remove accidental obsolescence declaration.
12441
12442 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12443
12444 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12445
12446 Generalize symbol prettify support to prog-mode and implement it
12447 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12448 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12449 (prog--prettify-font-lock-compose-symbol)
12450 (prog-prettify-font-lock-symbols-keywords): New variables and
12451 functions to support symbol prettification.
12452 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12453 (lisp--augmented-font-lock-keywords-1)
12454 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12455 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12456 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12457 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12458 Implement prettify of -> => :: strings.
12459 * progmodes/perl-mode.el (perl-prettify-symbols)
12460 (perl--font-lock-compose-symbol)
12461 (perl--font-lock-symbols-keywords): Move to prog-mode.
12462 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12463 (perl-font-lock-keywords-1)
12464 (perl-font-lock-keywords-2): Remove explicit prettify support.
12465 (perl--augmented-font-lock-keywords)
12466 (perl--augmented-font-lock-keywords-1)
12467 (perl--augmented-font-lock-keywords-2, perl-mode):
12468 Implement prettify support.
12469
12470 2013-06-05 Leo Liu <sdl.web@gmail.com>
12471
12472 Re-implement SMIE matching block highlight using
12473 show-paren-data-function. (Bug#14395)
12474 * emacs-lisp/smie.el (smie-matching-block-highlight)
12475 (smie--highlight-matching-block-overlay)
12476 (smie--highlight-matching-block-lastpos)
12477 (smie-highlight-matching-block)
12478 (smie-highlight-matching-block-mode): Remove.
12479 (smie--matching-block-data-cache): New variable.
12480 (smie--matching-block-data): New function.
12481 (smie-setup): Use smie--matching-block-data for
12482 show-paren-data-function.
12483
12484 * progmodes/octave.el (octave-mode-menu): Fix.
12485 (octave-find-definition): Skip garbage lines.
12486
12487 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12488
12489 Fix compilation error with simultaneous dynamic+lexical scoping.
12490 Add warning when a defvar appears after the first let-binding.
12491 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12492 (byte-compile-close-variables): Initialize it.
12493 (byte-compile--declare-var): New function.
12494 (byte-compile-file-form-defvar)
12495 (byte-compile-file-form-define-abbrev-table)
12496 (byte-compile-file-form-custom-declare-variable): Use it.
12497 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12498 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12499 (byte-compile-bind): Handle dynamic bindings that shadow
12500 lexical bindings.
12501 (byte-compile-unbind): Make arg non-optional.
12502 (byte-compile-let): Simplify.
12503 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12504 (cconv--analyse-function, cconv-analyse-form): Populate it.
12505 Protect byte-compile-bound-variables to limit the scope of defvars.
12506 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12507 Remove unneeded rule for `declare'.
12508
12509 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12510 so as to avoid depending on cl-adjoin at run-time.
12511 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12512
12513 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12514 (macroexp--warn-and-return): Use it.
12515
12516 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12517
12518 * subr.el: Convert to lexical binding.
12519 (overriding-local-map): Make obsolete.
12520 (add-to-list): Doc fix. Add compiler macro.
12521 (read-key): Swap values of local maps.
12522
12523 2013-06-05 Leo Liu <sdl.web@gmail.com>
12524
12525 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
12526
12527 2013-06-04 Leo Liu <sdl.web@gmail.com>
12528
12529 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
12530 (compilation-auto-jump): Suppress the "Mark set" message to give
12531 way to exit message.
12532
12533 2013-06-04 Alan Mackenzie <acm@muc.de>
12534
12535 Remove faulty optimisation from indentation calculation.
12536 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
12537 search limit based on 2000 characters back from indent-point.
12538
12539 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12540
12541 * eshell/em-term.el (cl-lib): Require `cl-lib'.
12542
12543 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
12544
12545 * emacs-lisp/lisp.el: Use lexical-binding.
12546 (lisp--local-variables-1, lisp--local-variables): New functions.
12547 (lisp--local-variables-completion-table): New var.
12548 (lisp-completion-at-point): Use it complete let-bound vars.
12549
12550 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
12551 eagerly (bug#14422).
12552
12553 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
12554
12555 * autorevert.el (auto-revert-notify-enabled)
12556 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12557 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
12558 (auto-revert-notify-handler): Handle also gfilenotify.
12559
12560 * subr.el (file-notify-handle-event): New defun. Replacing ...
12561 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
12562 Remove.
12563
12564 2013-06-03 Juri Linkov <juri@jurta.org>
12565
12566 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
12567 `M-s h .'. (Bug#14427)
12568
12569 * hi-lock.el (highlight-symbol-at-point): New alias for the new
12570 command `hi-lock-face-symbol-at-point'.
12571 (hi-lock-face-symbol-at-point): New command.
12572 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
12573 (hi-lock-menu): Add `highlight-symbol-at-point'.
12574 (hi-lock-mode): Doc fix.
12575
12576 * isearch.el (isearch-forward-symbol-at-point): New command.
12577 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
12578 (isearch-highlight-regexp): Add a regexp which matches
12579 words/symbols for word/symbol mode.
12580
12581 * subr.el (find-tag-default-bounds): New function with the body
12582 mostly moved from `find-tag-default'.
12583 (find-tag-default): Move most code to `find-tag-default-bounds',
12584 call it and apply `buffer-substring-no-properties' afterwards.
12585
12586 2013-06-03 Tassilo Horn <tsdh@gnu.org>
12587
12588 * eshell/em-term.el (eshell-term-initialize):
12589 Use `cl-intersection' rather than `intersection'.
12590
12591 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
12592
12593 * vc/log-view.el: Doc fix.
12594 (log-view-mode-map): Copy keymap from `special-mode-map'.
12595
12596 2013-06-02 Eric Ludlam <zappo@gnu.org>
12597
12598 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
12599 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
12600 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
12601 (eieio-unbound, eieio-default-superclass)
12602 (eieio--define-field-accessors, method-static, method-before)
12603 (method-primary, method-after, method-num-lists)
12604 (method-generic-before, method-generic-primary)
12605 (method-generic-after, method-num-slots)
12606 (eieio-specialized-key-to-generic-key)
12607 (eieio--check-type, class-v, class-p)
12608 (eieio-class-name, define-obsolete-function-alias)
12609 (eieio-class-parents-fast, eieio-class-children-fast)
12610 (same-class-fast-p, class-constructor, generic-p)
12611 (generic-primary-only-p, generic-primary-only-one-p)
12612 (class-option-assoc, class-option, eieio-object-p)
12613 (class-abstract-p, class-method-invocation-order)
12614 (eieio-defclass-autoload-map, eieio-defclass-autoload)
12615 (eieio-class-un-autoload, eieio-defclass)
12616 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
12617 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
12618 (eieio--defgeneric-init-form, eieio-defgeneric-form)
12619 (eieio-defgeneric-reset-generic-form)
12620 (eieio-defgeneric-form-primary-only)
12621 (eieio-defgeneric-reset-generic-form-primary-only)
12622 (eieio-defgeneric-form-primary-only-one)
12623 (eieio-defgeneric-reset-generic-form-primary-only-one)
12624 (eieio-unbind-method-implementations)
12625 (eieio--defmethod, eieio--typep)
12626 (eieio-perform-slot-validation, eieio-validate-slot-value)
12627 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
12628 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
12629 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
12630 (eieio-slot-name-index, eieio-class-slot-name-index)
12631 (eieio-set-defaults, eieio-initarg-to-attribute)
12632 (eieio-attribute-to-initarg, eieio-c3-candidate)
12633 (eieio-c3-merge-lists, eieio-class-precedence-c3)
12634 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
12635 (eieio-class-precedence-list, eieio-generic-call-methodname)
12636 (eieio-generic-call-arglst, eieio-generic-call-key)
12637 (eieio-generic-call-next-method-list)
12638 (eieio-pre-method-execution-functions, eieio-generic-call)
12639 (eieio-generic-call-primary-only, eieiomt-method-list)
12640 (eieiomt-optimizing-obarray, eieiomt-install)
12641 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
12642 (eieio-generic-form, eieio-defmethod, make-obsolete)
12643 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
12644 (defclass): Remove `eval-and-compile' from macro.
12645 (call-next-method, shared-initialize): Instead of using
12646 `scoped-class' variable, use new eieio--scoped-class, and
12647 eieio--with-scoped-class.
12648 (initialize-instance): Rename local variable 'scoped-class' to
12649 'this-class' to remove ambiguitity from old global.
12650
12651 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
12652 eieio.el.
12653 (eieio--scoped-class-stack): New variable.
12654 (eieio--scoped-class): New fcn.
12655 (eieio--with-scoped-class): New scoping macro.
12656 (eieio-defclass): Use pushnew instead of add-to-list.
12657 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
12658 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
12659 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
12660 `scoped-class' variable, use new eieio--scoped-class, and
12661 eieio--with-scoped-class.
12662
12663 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
12664
12665 2013-06-02 Tassilo Horn <tsdh@gnu.org>
12666
12667 * eshell/esh-ext.el (eshell-external-command): Pass args to
12668 `eshell-find-interpreter'.
12669 (eshell-find-interpreter): Add new second parameter ARGS.
12670
12671 * eshell/em-script.el (eshell-script-initialize): Add second arg
12672 to the function added as MATCH to `eshell-interpreter-alist'.
12673
12674 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
12675 the function added as MATCH to `eshell-interpreter-alist'.
12676
12677 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
12678 (eshell-visual-options): New defcustom.
12679 (eshell-escape-control-x): Adapt docstring.
12680 (eshell-term-initialize): Test `eshell-visual-subcommands' and
12681 `eshell-visual-options' in addition to `eshell-visual-commands'.
12682 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
12683
12684 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
12685
12686 * progmodes/python.el (python-indent-block-enders): Add break,
12687 continue and raise keywords.
12688
12689 2013-06-01 Glenn Morris <rgm@gnu.org>
12690
12691 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
12692
12693 Plain (f)boundp silences compilation warnings since Emacs 22.1.
12694 * progmodes/cc-cmds.el (delete-forward-p):
12695 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
12696 * progmodes/cc-engine.el (buffer-syntactic-context):
12697 * progmodes/cc-fonts.el (face-property-instance):
12698 * progmodes/cc-mode.el (set-keymap-parents):
12699 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
12700 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
12701 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
12702 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
12703 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
12704
12705 * progmodes/cc-vars.el (other): Emacs has this widget since
12706 at least 21.1, so don't (re)define it.
12707
12708 * eshell/em-cmpl.el (eshell-cmpl-initialize):
12709 Replace the obsolete alias pcomplete-arg-quote-list.
12710
12711 2013-06-01 Leo Liu <sdl.web@gmail.com>
12712
12713 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
12714 punctuation syntax.
12715 (inferior-octave-minimal-columns)
12716 (inferior-octave-last-column-width): New variables.
12717 (inferior-octave-track-window-width-change): New function.
12718 (inferior-octave-mode): Adjust column width so that Octave output,
12719 for example from 'ls', can fit into the window nicely.
12720
12721 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12722
12723 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12724 Highlight expansions inside regexp literals.
12725
12726 2013-05-31 Glenn Morris <rgm@gnu.org>
12727
12728 * obsolete/sym-comp.el (symbol-complete):
12729 Replace obsolete completion-annotate-function.
12730
12731 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
12732
12733 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
12734
12735 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
12736 New function, checks if point is inside a literal that allows
12737 expression expansion.
12738 (ruby-syntax-propertize-expansion): Use it.
12739 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
12740 around the body.
12741
12742 2013-05-30 Juri Linkov <juri@jurta.org>
12743
12744 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
12745 to "\M-si".
12746 (isearch-invisible): New variable.
12747 (isearch-forward): Doc fix.
12748 (isearch-mode): Set `isearch-invisible'
12749 to the value of `search-invisible'.
12750 (isearch-toggle-case-fold): Doc fix.
12751 (isearch-toggle-invisible): New command.
12752 (isearch-query-replace): Let-bind `search-invisible'
12753 to the value of `isearch-invisible'.
12754 (isearch-search): Use `isearch-invisible' instead of
12755 `search-invisible'. Let-bind `search-invisible'
12756 to the value of `isearch-invisible'. (Bug#11378)
12757
12758 2013-05-30 Juri Linkov <juri@jurta.org>
12759
12760 * replace.el (perform-replace): Avoid `isearch-range-invisible'
12761 call when `query-flag' is nil and `search-invisible' is non-nil.
12762 (Bug#11746)
12763
12764 2013-05-30 Glenn Morris <rgm@gnu.org>
12765
12766 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
12767
12768 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
12769 (cc-require): Suppress spurious "noruntime" warnings.
12770 (cc-require-when-compile): Use fboundp, for sake of compiler.
12771
12772 * progmodes/cc-mode.el: Move load of cc-vars before that of
12773 cc-langs (which in turn loads cc-vars), to quieten compiler.
12774
12775 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12776
12777 * paren.el: Simplify the code.
12778 (show-paren-mode): Always start the timer.
12779 (show-paren--idle-timer): Rename from show-paren-idle-timer.
12780 (show-paren--overlay, show-paren--overlay-1): Rename from
12781 show-paren-overlay and show-paren-overlay-1, and initialize to an
12782 overlay rather than to nil.
12783 (show-paren-function): Misc cleanup and simplifications.
12784
12785 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
12786
12787 * paren.el (show-paren-data-function): New hook.
12788 (show-paren--default): New function, extracted from show-paren-function.
12789 (show-paren-function): Use show-paren-data-function.
12790
12791 2013-05-30 Glenn Morris <rgm@gnu.org>
12792
12793 * ielm.el (ielm-map, ielm-complete-symbol):
12794 Use completion-at-point rather than obsolete functions.
12795 (inferior-emacs-lisp-mode): Doc fix.
12796 Set completion-at-point-functions, rather than
12797 comint-dynamic-complete-functions.
12798
12799 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
12800 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
12801 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
12802
12803 * image.el (image-animated-p): Tweak definition.
12804
12805 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
12806 (rlogin-process-connection-type): Tweak default. Add set-after.
12807 (rlogin-host): Doc fix.
12808 (rlogin): Tweak prompt.
12809 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
12810
12811 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
12812 * progmodes/tcl.el (inferior-tcl-mode-map):
12813 Use completion-at-point rather than obsolete alias.
12814
12815 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
12816
12817 * minibuffer.el (read-file-name-completion-ignore-case):
12818 Move before completion--in-region, for eager macro expansion.
12819
12820 2013-05-29 Juri Linkov <juri@jurta.org>
12821
12822 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
12823 for total count of matching lines. Add `global-matches' for total
12824 count of matches. Rename `matches' to `lines' for count of
12825 matching lines. Add `matches' for count of matches.
12826 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
12827 to `prev-line' for line number of prev match endpt.
12828 Increment `matches' for every match. Print the number of
12829 matching lines in the header.
12830 (occur-context-lines): Rename `lines' to `curr-line'.
12831 Rename `prev-lines' to `prev-line'. (Bug#14017)
12832
12833 2013-05-29 Juri Linkov <juri@jurta.org>
12834
12835 * replace.el (perform-replace): Add `skip-read-only-count',
12836 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
12837 Increment them for corresponding conditions and report the number
12838 of skipped occurrences in the final message. (Bug#11746)
12839 (query-replace, query-replace-regexp, query-replace-regexp-eval)
12840 (replace-string, replace-regexp): Doc fix.
12841
12842 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
12843
12844 * emacs-lisp/trace.el (trace--read-args): Provide a default.
12845
12846 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
12847 prog-mode-map (bug#14504).
12848
12849 2013-05-29 Leo Liu <sdl.web@gmail.com>
12850
12851 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
12852 (octave-help): Small simplification.
12853
12854 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
12855 off the highlight first.
12856
12857 2013-05-29 Glenn Morris <rgm@gnu.org>
12858
12859 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
12860 Handle idlwave-last-system-routine-info-cons-cell being nil.
12861
12862 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12863 (idlwave-write-paths): Simplify via with-temp-buffer.
12864
12865 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
12866 * emulation/cua-rect.el: Also load cua-base at run time.
12867
12868 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
12869 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
12870 (cperl-imenu-on-info): Require imenu.
12871
12872 2013-05-28 Alan Mackenzie <acm@muc.de>
12873
12874 Handle "capitalised keywords" correctly.
12875 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
12876
12877 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
12878
12879 * eshell/em-unix.el: Add -r option to cp.
12880
12881 2013-05-28 Glenn Morris <rgm@gnu.org>
12882
12883 * vc/vc-arch.el (vc-exec-after): Declare.
12884 (vc-switches): Autoload.
12885 * vc/vc-bzr.el: No need to require vc when compiling.
12886 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
12887 (vc-resynch-buffer, vc-dir-refresh): Declare.
12888 (vc-setup-buffer, vc-switches): Autoload.
12889 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
12890 (vc-resynch-buffer): Declare.
12891 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
12892 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
12893 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
12894 (grep-read-regexp, grep-read-files, grep-expand-template)
12895 (vc-dir-refresh): Declare.
12896 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
12897 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
12898 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
12899 * vc/vc-mtn.el (vc-exec-after): Declare.
12900 (vc-switches): Autoload.
12901 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
12902 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
12903 (vc-file-tree-walk): Declare.
12904 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
12905 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
12906 (vc-tag-precondition, vc-rename-master): Autoload.
12907 * vc/vc-svn.el (vc-exec-after): Declare.
12908 (vc-switches, vc-setup-buffer): Autoload.
12909 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
12910 Autoload.
12911 (vc-resynch-buffer): Declare.
12912
12913 * obsolete/fast-lock.el (byte-compile-warnings):
12914 Don't warn about obsolete features in this obsolete file.
12915
12916 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
12917 Move definition before use.
12918
12919 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
12920 (dun-unix-verbs): Remove dun-zippy.
12921 (dun-zippy): Remove function.
12922
12923 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
12924
12925 2013-05-27 Juri Linkov <juri@jurta.org>
12926
12927 * replace.el (replace-search): New function with code moved out
12928 from `perform-replace'.
12929 (replace-highlight, replace-dehighlight): Move function definitions
12930 up closer to `replace-search'. (Bug#11746)
12931
12932 2013-05-27 Juri Linkov <juri@jurta.org>
12933
12934 * replace.el (perform-replace): Ignore invisible matches.
12935 In addition to checking `query-replace-skip-read-only', also
12936 filter out matches by calling `run-hook-with-args-until-failure'
12937 on `isearch-filter-predicates', and also check `search-invisible'
12938 for t or call `isearch-range-invisible'.
12939 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
12940
12941 2013-05-27 Juri Linkov <juri@jurta.org>
12942
12943 * isearch.el (isearch-filter-predicates): Rename from
12944 `isearch-filter-predicate'. Doc fix. (Bug#11378)
12945 (isearch-message-prefix): Display text from the property
12946 `isearch-message-prefix' of the currently active filters.
12947 (isearch-search): Don't compare `isearch-filter-predicate' with
12948 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
12949 on `isearch-filter-predicates'. Also check `search-invisible' for t
12950 or call `isearch-range-invisible'.
12951 (isearch-filter-visible): Make obsolete.
12952 (isearch-lazy-highlight-search):
12953 Call `run-hook-with-args-until-failure' on
12954 `isearch-filter-predicates' and use `isearch-range-invisible'.
12955
12956 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
12957 `isearch-filter-predicates' instead of `funcall'ing
12958 `isearch-filter-predicate'.
12959 (Info-mode): Set `Info-isearch-filter' to
12960 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
12961
12962 * dired-aux.el (dired-isearch-filter-predicate-orig):
12963 Remove variable.
12964 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
12965 (dired-isearch-filenames-end): Add and remove
12966 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
12967 instead of changing the value of `isearch-filter-predicate'.
12968 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
12969 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
12970 Put property `isearch-message-prefix' to "filename " on
12971 `dired-isearch-filter-filenames'.
12972
12973 * wdired.el (wdired-change-to-wdired-mode):
12974 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
12975 locally instead of changing `isearch-filter-predicate'.
12976 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
12977
12978 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
12979
12980 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
12981 return the commit hash (Bug#14459). Also set the
12982 `vc-git-detached' property.
12983 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
12984 (vc-git-mode-line-string): Use the same help-echo format whether
12985 in detached mode or not, because we know the actual revision now.
12986 When in detached mode, shorten the revision to 7 chars.
12987
12988 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
12989
12990 * emacs-lisp/easy-mmode.el (define-minor-mode):
12991 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
12992 mode hook and provide a docstring.
12993
12994 2013-05-27 Alan Mackenzie <acm@muc.de>
12995
12996 Remove spurious syntax-table text properties inserted by C-y.
12997 * progmodes/cc-mode.el (c-after-change): Also clear hard
12998 syntax-table property with value nil.
12999
13000 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13001
13002 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13003 when reading the events; the buffer layout shall not be changed.
13004
13005 2013-05-27 Leo Liu <sdl.web@gmail.com>
13006
13007 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13008 New variable.
13009 (inferior-octave-directory-tracker): Automatically re-sync
13010 default-directory.
13011 (octave-help): Improve handling of 'See also'.
13012
13013 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13014
13015 * doc-view.el: Minor naming convention tweaks.
13016 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13017
13018 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13019 even if there's no `display' property yet (bug#14435).
13020
13021 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13022
13023 * subr.el (unmsys--file-name): Rename from reveal-filename.
13024
13025 * Makefile.in (custom-deps, finder-data, autoloads)
13026 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13027 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13028 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13029
13030 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13031
13032 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13033 error-completion on the first 2 args of condition-case (bug#14446).
13034 Don't burp at EOB.
13035
13036 2013-05-25 Leo Liu <sdl.web@gmail.com>
13037
13038 * comint.el (comint-previous-matching-input): Do not flood the
13039 *Messages* buffer with trivial messages.
13040
13041 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13042
13043 * progmodes/flymake.el (flymake-nop): Don't return a string.
13044 (flymake-set-at): Fix typo.
13045
13046 * simple.el (read--expression): New function, extracted from
13047 eval-expression. Set completion-at-point-functions (bug#14465).
13048 (eval-expression, eval-minibuffer): Use it.
13049
13050 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13051
13052 * progmodes/flymake.el (flymake-save-buffer-in-file)
13053 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13054 (flymake-selected-frame, flymake-log, flymake-ins-after)
13055 (flymake-set-at, flymake-get-buildfile-from-cache)
13056 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13057 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13058 Refine the doc string.
13059 (flymake-get-file-name-mode-and-masks): Reformat.
13060 (flymake-get-real-file-name-function): Fix a minor bug.
13061
13062 2013-05-24 Juri Linkov <juri@jurta.org>
13063
13064 * progmodes/grep.el (grep-mode-font-lock-keywords):
13065 Support =linenumber= format used by git-grep for lines with
13066 function names. (Bug#13549)
13067
13068 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13069
13070 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13071 0 after a semi-colon; it works better for smie-auto-fill.
13072 (octave--indent-new-comment-line): New function.
13073 (octave-indent-new-comment-line): Use it (indirectly).
13074 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13075 modify comment-line-break-function.
13076
13077 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13078 (smie-setup): Use add-function to set it.
13079
13080 2013-05-24 Sam Steingold <sds@gnu.org>
13081
13082 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13083 argument (before the `interactive' argument).
13084
13085 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13086
13087 * image-mode.el (image-mode-winprops): Add winprops to
13088 image-mode-winprops-alist before running
13089 image-mode-new-window-functions.
13090 * doc-view.el (doc-view-new-window-function): Don't delay
13091 doc-view-goto-page via timers (bug#14435).
13092
13093 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13094
13095 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13096 (doc-view-desktop-save-buffer): New function.
13097 (doc-view-restore-desktop-buffer): New function.
13098 (desktop-buffer-mode-handlers):
13099 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13100 handler.
13101 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13102 `desktop-save-buffer' function.
13103
13104 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13105
13106 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13107 (tramp-gvfs-file-name-handler): Raise a user error when
13108 `tramp-gvfs-enabled' is nil.
13109 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13110 Do not raise a user error when loading package. (Bug#14447)
13111
13112 * net/xesam.el: Move to obsolete/.
13113
13114 2013-05-24 Glenn Morris <rgm@gnu.org>
13115
13116 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13117
13118 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13119
13120 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13121 (Info-find-node, Man-getpage-in-background): Declare.
13122
13123 * mail/unrmail.el (unrmail):
13124 Replace obsolete detect-coding-with-priority.
13125
13126 * net/socks.el (socks-split-string): Use this rather than split-string.
13127 (socks-nslookup-host): Update for above change.
13128 (dynamic-choice, s5-dynamic-choice-match)
13129 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13130 Comment out unused code.
13131
13132 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13133 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13134 (gud-tooltip-echo-area): Make obsolete.
13135 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13136
13137 * progmodes/js.el (js--optimize-arglist): Declare.
13138
13139 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13140
13141 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13142 (ediff-window-C): Declare.
13143
13144 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13145 Tweak requires to silence compiler.
13146
13147 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13148 (he-search-string, he-tried-table, he-expand-list)
13149 (he-init-string, he-string-member, he-substitute-string)
13150 (he-reset-string): Declare.
13151
13152 * obsolete/options.el (list-options): Use custom-variable-p,
13153 rather than obsolete alias.
13154
13155 2013-05-23 Sam Steingold <sds@gnu.org>
13156
13157 * simple.el (shell-command-on-region): Pass the `replace' argument
13158 down to `call-process-region' to comply with the doc as reported on
13159 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13160
13161 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13162
13163 * emacs-lisp/smie.el (smie-indent-forward-token)
13164 (smie-indent-backward-token): Handle string tokens (bug#14381).
13165
13166 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13167
13168 * ielm.el (ielm-menu): New menu.
13169 (inferior-emacs-lisp-mode): Set comment-start.
13170
13171 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13172
13173 * textmodes/reftex.el (reftex-ref-style-toggle):
13174 Fix deactivate action.
13175
13176 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13177 Add cleveref macros.
13178
13179 * textmodes/reftex-parse.el
13180 (reftex-locate-bibliography-files): Accept options for
13181 bibliography commands.
13182 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13183 Add addbibresource. Basic Biblatex support.
13184
13185 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13186
13187 * net/tramp-gvfs.el (top):
13188 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13189 when loading package. (Bug#14447)
13190
13191 2013-05-23 Glenn Morris <rgm@gnu.org>
13192
13193 * progmodes/js.el: No need to load comint when compiling.
13194 (ring-insert, comint-send-string, comint-send-input)
13195 (comint-last-input-end, ido-chop): Declare.
13196
13197 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13198 * vc/ediff-mult.el: Adjust requires.
13199 (ediff-directories-internal, ediff-directory-revisions-internal)
13200 (ediff-patch-file-internal): Declare.
13201 * vc/ediff-ptch.el: Adjust requires.
13202 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13203 (ediff-find-file): Autoload.
13204 * vc/ediff-util.el: No need to load ediff when compiling.
13205 (ediff-regions-internal): Declare.
13206 * vc/ediff-wind.el: Adjust requires.
13207 (ediff-compute-toolbar-width): Define when compiling.
13208 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13209 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13210 (dired-get-filename, dired-get-marked-files)
13211 (ediff-last-dir-patch, ediff-patch-default-directory)
13212 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13213 (ediff-patch-buffer-internal): Declare.
13214
13215 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13216 (ispell-process, ispell-buffer-local-words, lm-summary)
13217 (lm-section-start, lm-section-end): Declare.
13218 (checkdoc-ispell-init): Simplify.
13219
13220 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13221 (he-string-member, he-reset-string, he-substitute-string): Declare.
13222
13223 * eshell/em-ls.el: Adjust requires.
13224 (eshell-glob-regexp): Declare.
13225 * eshell/em-tramp.el: Adjust requires.
13226 (eshell-parse-command): Autoload.
13227 * eshell/em-xtra.el: Adjust requires.
13228 (eshell-parse-command): Autoload.
13229 * eshell/esh-ext.el: Adjust requires.
13230 (eshell-parse-command, eshell-close-handles): Autoload.
13231 * eshell/esh-io.el: Adjust requires.
13232 (eshell-output-filter): Autoload.
13233 * eshell/esh-util.el: No need to load tramp when compiling.
13234 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13235 Declare.
13236 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13237 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13238 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13239 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13240 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13241 * eshell/esh-opt.el, eshell/esh-proc.el:
13242 * eshell/esh-var.el: Adjust requires.
13243 * eshell/eshell.el: Do not require esh-util twice.
13244 (eshell-add-input-to-history): Declare.
13245 (eshell-command): Check history module is active before using it.
13246
13247 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13248
13249 2013-05-22 Leo Liu <sdl.web@gmail.com>
13250
13251 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13252
13253 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13254
13255 * autorevert.el (auto-revert-notify-add-watch)
13256 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13257 it indicates changes in file modification time.
13258
13259 2013-05-22 Glenn Morris <rgm@gnu.org>
13260
13261 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13262 Always delete the autoloaded function from the noruntime and
13263 unresolved functions lists.
13264
13265 * allout.el: No need to load epa, epg, overlay when compiling.
13266 (epg-context-set-passphrase-callback, epg-list-keys)
13267 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13268 (epg-key-user-id-list): Declare.
13269
13270 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13271 (viper-set-parsing-style-toggling-macro)
13272 (viper-set-emacs-state-searchstyle-macros):
13273 Use called-interactively-p on Emacs.
13274 (viper-looking-back): Make it an obsolete alias. Update callers.
13275 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13276 Use looking-back rather than viper-looking-back.
13277 (viper-tmp-insert-at-eob, viper-enlarge-region)
13278 (viper-read-string-with-history, viper-register-to-point)
13279 (viper-append-to-register, viper-change-state-to-vi)
13280 (viper-backward-char-carefully, viper-forward-char-carefully)
13281 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13282 (viper-change-state-to-emacs): Declare.
13283 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13284 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13285 * emulation/viper-mous.el: Do not load viper-cmd.
13286 (viper-backward-char-carefully, viper-forward-char-carefully)
13287 (viper-forward-word, viper-adjust-window): Declare.
13288
13289 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13290
13291 * progmodes/idlw-help.el (idlwave-help-fontify):
13292 Use called-interactively-p.
13293
13294 * term/w32console.el (w32-get-console-codepage)
13295 (w32-get-console-output-codepage): Declare.
13296
13297 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13298 Remove unnecessary declarations.
13299 (dframe-message): Doc fix.
13300
13301 * info.el (dframe-select-attached-frame, dframe-current-frame):
13302 Declare.
13303
13304 * speedbar.el (speedbar-message): Make it an obsolete alias.
13305 Update all callers.
13306 (speedbar-with-attached-buffer)
13307 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13308 (speedbar-with-writable): Use backquote.
13309 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13310 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13311 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13312 rather than speedbar- aliases.
13313 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13314 (speedbar-make-specialized-keymap, speedbar-insert-button)
13315 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13316 (speedbar-do-function-pointer): Declare.
13317 (rmail-speedbar-button, rmail-speedbar-find-file)
13318 (rmail-speedbar-move-message):
13319 Use dframe-with-attached-buffer rather than speedbar- alias.
13320 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13321 (dframe-message, speedbar-make-specialized-keymap)
13322 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13323 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13324 (speedbar-insert-button, dframe-select-attached-frame)
13325 (dframe-maybee-jump-to-attached-frame)
13326 (speedbar-change-initial-expansion-list)
13327 (speedbar-previously-used-expansion-list-name): Declare.
13328 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13329 Use dframe-message, dframe-with-attached-buffer rather than
13330 speedbar- aliases.
13331 (gud-sentinel): Silence compiler.
13332 * progmodes/vhdl-mode.el (speedbar-refresh)
13333 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13334 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13335 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13336 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13337 (speedbar-file-lists, speedbar-make-tag-line)
13338 (speedbar-line-directory, speedbar-goto-this-file)
13339 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13340 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13341 (speedbar-make-button, speedbar-reset-scanners)
13342 (speedbar-files-item-info, speedbar-line-text)
13343 (speedbar-find-file-in-frame, speedbar-set-timer)
13344 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13345 (speedbar-with-writable): Do not (re)define it.
13346 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13347 rather than speedbar- alias.
13348
13349 2013-05-21 Leo Liu <sdl.web@gmail.com>
13350
13351 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13352 menu items.
13353 (octave-mode): Tweak fill-nobreak-predicate.
13354 (inferior-octave-startup): Check process to avoid infinite loop.
13355 (inferior-octave): Pop to buffer first to show abornmal process
13356 exit information.
13357
13358 2013-05-21 Glenn Morris <rgm@gnu.org>
13359
13360 * printing.el (pr-menu-bar): Define when compiling.
13361
13362 2013-05-21 Leo Liu <sdl.web@gmail.com>
13363
13364 * progmodes/octave.el (octave-auto-fill): Remove.
13365 (octave-indent-new-comment-line): Improve.
13366 (octave-mode): Use auto fill mode through
13367 comment-line-break-function and fill-nobreak-predicate.
13368 (octave-goto-function-definition): Support DEFUN_DLD.
13369 (octave-beginning-of-defun): Small tweak.
13370 (octave-help): Show parent directory.
13371
13372 2013-05-21 Glenn Morris <rgm@gnu.org>
13373
13374 * files.el (dired-unmark):
13375 * progmodes/gud.el (gdb-input): Update declarations.
13376
13377 * calculator.el (electric, ehelp): No need to load when compiling.
13378 (Electric-command-loop, electric-describe-mode): Declare.
13379
13380 * doc-view.el (doc-view-current-converter-processes): Move before use.
13381
13382 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13383 Move MODE-set-explicitly definition before use.
13384
13385 * international/mule-diag.el (mule-diag):
13386 Don't use obsolete window-system-version.
13387
13388 * mail/feedmail.el (smtpmail): No need to load when compiling.
13389 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13390
13391 * mail/mail-utils.el (rfc822): No need to load when compiling.
13392 (rfc822-addresses): Autoload it.
13393 (mail-strip-quoted-names): Trivial simplification.
13394
13395 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13396 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13397
13398 * net/snmp-mode.el (tempo): Don't duplicate requires.
13399
13400 * progmodes/prolog.el (info): No need to load when compiling.
13401 (comint): Require before shell requires it.
13402 (Info-goto-node): Autoload it.
13403 (Info-follow-nearest-node): Declare.
13404 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13405
13406 * textmodes/artist.el (picture-mode-exit): Declare.
13407
13408 * textmodes/reftex-parse.el (reftex-parse-from-file):
13409 Trivial rewrite so the compiler can parse it better.
13410
13411 2013-05-20 Leo Liu <sdl.web@gmail.com>
13412
13413 * progmodes/octave.el (octave-help-mode-map)
13414 (octave-help-mode-finish-hook): New variables.
13415 (octave-help-mode, octave-help-mode-finish): New functions.
13416 (octave-help): Use octave-help-mode.
13417
13418 2013-05-20 Glenn Morris <rgm@gnu.org>
13419
13420 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13421
13422 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13423
13424 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13425 start at point, so that expansion starting right after opening
13426 slash in a regexp is recognized.
13427 (ruby-syntax-before-regexp-re): New defvar, extracted from
13428 ruby-syntax-propertize-function. Since the value of this regexp
13429 is looked up at runtime now, we should be able to turn
13430 `ruby-syntax-methods-before-regexp' into a defcustom later.
13431 (ruby-syntax-propertize-function): Split regexp matching into two
13432 parts, for opening and closing slashes. That allows us to skip
13433 over string interpolations and support multiline regexps.
13434 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13435 for them, which calls `ruby-syntax-propertize-expansion'.
13436 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13437 call to `ruby-syntax-propertize-function'.
13438 (ruby-syntax-propertize-expansion): Extracted from
13439 `ruby-syntax-propertize-expansions'. Handles one expansion.
13440 (ruby-syntax-propertize-percent-literal): Leave point right after
13441 the percent symbol, so that the expression expansion rule can
13442 propertize the contents.
13443 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13444 heredoc openers.
13445 (ruby-syntax-propertize-expansions): Remove.
13446
13447 2013-05-18 Juri Linkov <juri@jurta.org>
13448
13449 * man.el (Man-default-man-entry): Remove `-' from the end
13450 of the default value. (Bug#14400)
13451
13452 2013-05-18 Glenn Morris <rgm@gnu.org>
13453
13454 * comint.el (comint-password-prompt-regexp):
13455 Allow "password for XXX" where XXX contains colons (eg https://...).
13456
13457 2013-05-18 Leo Liu <sdl.web@gmail.com>
13458
13459 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
13460 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
13461 (octave-source-directories): Don't check process.
13462 (octave-source-directories, octave-find-definition): Doc fix.
13463
13464 2013-05-18 Glenn Morris <rgm@gnu.org>
13465
13466 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13467 Remove backspace/delete bindings. (Bug#14392)
13468
13469 * cus-dep.el (custom-make-dependencies): Sort the output.
13470 (custom-versions-load-alist): Convert comment to doc.
13471
13472 2013-05-17 Leo Liu <sdl.web@gmail.com>
13473
13474 * newcomment.el (comment-search-backward): Stricter in finding
13475 comment start. (Bug#14303)
13476
13477 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13478 (octave-comment-start-skip): Properly anchored.
13479
13480 2013-05-17 Leo Liu <sdl.web@gmail.com>
13481
13482 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13483 Clean up when turned off. (Bug#14395)
13484 (smie--highlight-matching-block-overlay): No longer buffer-local.
13485 (smie-highlight-matching-block): Adjust.
13486
13487 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13488
13489 Doc string fix for "nanoseconds" (Bug#14406).
13490 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13491 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13492
13493 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13494
13495 * calc/calc-units.el (math-extract-units): Preserve powers
13496 of units.
13497
13498 2013-05-17 Leo Liu <sdl.web@gmail.com>
13499
13500 * subr.el (delete-consecutive-dups): New function.
13501 * ido.el (ido-set-matches-1): Use it.
13502 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13503 * ido.el (ido-remove-consecutive-dups): Remove.
13504
13505 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13506
13507 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13508 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13509 regexp-opt's `words'.
13510
13511 2013-05-16 Leo Liu <sdl.web@gmail.com>
13512
13513 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13514 (smie--highlight-matching-block-overlay)
13515 (smie--highlight-matching-block-lastpos)
13516 (smie--highlight-matching-block-timer): New variables.
13517 (smie-highlight-matching-block): New function.
13518 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13519 (smie-setup): Conditionally enable smie-blink-matching-open.
13520
13521 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
13522
13523 Sync with upstream verilog-mode r840.
13524 * progmodes/verilog-mode.el (verilog-mode-version)
13525 (verilog-mode-release-date): Update.
13526 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
13527 (verilog-sig-tieoff): Fix string error on
13528 AUTORESET with colon define, bug594. Reported by Andrew Hou.
13529 (verilog-read-decls): Fix parameters confusing
13530 AUTOINST interfaces, bug565. Reported by Leith Johnson.
13531
13532 2013-05-16 Eli Zaretskii <eliz@gnu.org>
13533
13534 * subr.el (reveal-filename): New function.
13535
13536 * loadup.el: Compute Emacs executable versions on MS-Windows,
13537 where executables have the .exe extension. Add a hard link
13538 emacs-XX.YY.ZZ.exe on MS-Windows.
13539
13540 * Makefile.in (XARGS_LIMIT): New variable.
13541 (custom-deps, finder-data, autoloads)
13542 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13543 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13544 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
13545 (compile-main): Limit xargs according to $(XARGS_LIMIT).
13546
13547 2013-05-16 Leo Liu <sdl.web@gmail.com>
13548
13549 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
13550 (octave-mode-menu, octave-mode-map): Remove its uses.
13551
13552 2013-05-16 Reto Zimmermann <reto@gnu.org>
13553
13554 Sync with upstream vhdl mode v3.34.2.
13555 * progmodes/vhdl-mode.el: Use `push' throughout.
13556 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
13557 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
13558 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
13559 (vhdl-actual-generic-name): New option to derive actual generic name.
13560 (vhdl-port-paste-signals): Replace formal by actual generics.
13561 (vhdl-beautify): New name for old group vhdl-align. Update users.
13562 (vhdl-beautify-options): New option.
13563 (vhdl-last-input-event): New compat alias. Use throughout.
13564 (vhdl-goto-line): Replace user level function `goto-line'.
13565 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
13566 vhdl-fix-statement-buffer.
13567 (vhdl-create-mode-menu): Add some entries.
13568 (vhdl-align-region-groups): Respect vhdl-beautify-options.
13569 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
13570 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
13571 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
13572 to force statements on one line.
13573 (vhdl-remove-trailing-spaces-region):
13574 New, split from vhdl-remove-trailing-spaces.
13575 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
13576 Respect vhdl-beautify-options.
13577 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
13578 (vhdl-update-sensitivity-list): Not add with index if exists without.
13579 Not include array index with signal. Ignore keywords in comments.
13580 (vhdl-get-visible-signals): Regexp tweaks.
13581 (vhdl-template-component-inst): Handle empty library.
13582 (vhdl-template-type): Add template for 'enum' type.
13583 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
13584 Use vhdl-replace-string.
13585 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
13586 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
13587 (vhdl-speedbar-initialize): Update for above name change.
13588 (vhdl-compose-wire-components): Fix in handling of constants.
13589 (vhdl-error-regexp-emacs-alist): New variable.
13590 (vhdl-error-regexp-add-emacs): New function;
13591 adds support for new compile.el (Emacs 22+)
13592 (vhdl-generate-makefile-1): Change target order for single lib. units.
13593 Allow use of absolute file names.
13594
13595 2013-05-16 Leo Liu <sdl.web@gmail.com>
13596
13597 * simple.el (prog-indent-sexp): Indent enclosing defun.
13598
13599 2013-05-15 Glenn Morris <rgm@gnu.org>
13600
13601 * cus-start.el (show-trailing-whitespace): Move to editing basics.
13602 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
13603 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
13604 (whitespace-highlight): Move to whitespace group.
13605
13606 * comint.el (comint-source):
13607 * pcmpl-linux.el (pcmpl-linux):
13608 * shell.el (shell-faces):
13609 * eshell/esh-opt.el (eshell-opt):
13610 * international/ccl.el (ccl): Remove empty custom groups.
13611
13612 * completion.el (dynamic-completion-mode):
13613 * jit-lock.el (jit-lock-debug-mode):
13614 * minibuffer.el (completion-in-region-mode):
13615 * type-break.el (type-break-mode-line-message-mode)
13616 (type-break-query-mode):
13617 * emulation/tpu-edt.el (tpu-edt-mode):
13618 * progmodes/subword.el (global-subword-mode, global-superword-mode):
13619 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
13620 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
13621
13622 * term/xterm.el (xterm): Change parent group to terminals.
13623
13624 * master.el (master): Remove empty custom group.
13625 (master-mode): Remove unused :group argument.
13626 * textmodes/refill.el (refill): Remove empty custom group.
13627 (refill-mode): Remove unused :group argument.
13628
13629 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
13630
13631 * cus-dep.el: Provide a feature.
13632 (custom-make-dependencies): Ignore dotfiles (dir-locals).
13633 Don't mistakenly ignore files whose basenames match a basename
13634 from preloaded-file-list (eg cedet/ede/simple.el).
13635 Add a fallback method for getting :group.
13636
13637 2013-05-15 Juri Linkov <juri@jurta.org>
13638
13639 * isearch.el (isearch-char-by-name): Rename from
13640 `isearch-insert-char-by-name'. Doc fix.
13641 (isearch-forward): Mention `isearch-char-by-name' in
13642 the docstring. (Bug#13348)
13643
13644 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
13645 `exit-minibuffer' instead of
13646 `isearch-nonincremental-exit-minibuffer'.
13647 (isearch-edit-string): Remove mention of
13648 `isearch-nonincremental-exit-minibuffer' from docstring.
13649 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
13650 (isearch-forward-exit-minibuffer)
13651 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
13652
13653 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13654
13655 * loadup.el: Just use unversioned DOC.
13656
13657 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
13658 literals as extending to EOB.
13659 (nxml-last-fontify-end): Remove unused variable.
13660 (nxml-after-change1): Use with-silent-modifications.
13661 (nxml-extend-after-change-region): Simplify.
13662 (nxml-extend-after-change-region1): Remove function.
13663 (nxml-after-change1): Don't adjust for dependent regions.
13664 (nxml-fontify-matcher): Simplify.
13665 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
13666 (xmltok-add-dependent): Remove function.
13667 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
13668 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
13669 (xmltok-scan-prolog-after-processing-instruction-open): Treat
13670 unclosed <[[, <?, comment, and other literals as extending to EOB.
13671 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
13672 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
13673 Remove functions.
13674 (rng-do-some-validation-1): Don't mark dependent regions.
13675 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
13676 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
13677 (nxml-clear-dependent-regions): Remove functions.
13678 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
13679 (nxml-ensure-scan-up-to-date):
13680 Don't clear&mark dependent regions.
13681
13682 2013-05-15 Leo Liu <sdl.web@gmail.com>
13683
13684 * progmodes/octave.el (octave-goto-function-definition):
13685 Improve and fix callers.
13686
13687 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
13688
13689 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
13690 the setter (bug#14387).
13691
13692 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
13693 surrounding group (bug#14402).
13694
13695 2013-05-14 Juri Linkov <juri@jurta.org>
13696
13697 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
13698 (Bug#14390)
13699
13700 2013-05-14 Glenn Morris <rgm@gnu.org>
13701
13702 * progmodes/f90.el (f90-imenu-generic-expression):
13703 Fix typo in 2013-05-08 change. (Bug#14402)
13704
13705 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13706
13707 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
13708 Remove signals for which replies are never received.
13709
13710 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13711
13712 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
13713 (gdb-handler-alist, gdb-handler-number): Remove variables.
13714 (gdb-handler-list): New variable.
13715 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
13716 (gdb-pending-handler-p, gdb-handle-reply)
13717 (gdb-remove-all-pending-triggers): New functions.
13718 (gdb-discard-unordered-replies): New defcustom.
13719 (gdb-handler): New defstruct.
13720 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
13721 instead of gdb-pending-triggers. Update docstring.
13722 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
13723 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
13724 (gdb-var-update-handler, def-gdb-auto-update-trigger)
13725 (def-gdb-auto-update-handler, gdb-get-changed-registers)
13726 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
13727 (gdb-frame-handler): Pending triggers are now automatically managed.
13728 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
13729 Remove argument.
13730 (gdb-input): Automatically handles pending triggers. Update docstring.
13731 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
13732 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
13733 Update comments.
13734 (gdb-done-or-error): Now use gdb-handle-reply.
13735
13736 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
13737
13738 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
13739 gdb-debug-log.
13740
13741 2013-05-14 Glenn Morris <rgm@gnu.org>
13742
13743 * subr.el (user-emacs-directory-warning): New option.
13744 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
13745
13746 2013-05-14 Leo Liu <sdl.web@gmail.com>
13747
13748 * progmodes/octave.el (octave-font-lock-keywords): Fix error
13749 during redisplay.
13750 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
13751 (octave-font-lock-texinfo-comment): Fix invalid search bound
13752 error: wrong side of point.
13753
13754 2013-05-14 Glenn Morris <rgm@gnu.org>
13755
13756 * progmodes/flymake.el (flymake-xml-program): New option.
13757 (flymake-xml-init): Use it.
13758
13759 * term/xterm.el: Provide a feature.
13760
13761 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
13762
13763 2013-05-13 Glenn Morris <rgm@gnu.org>
13764
13765 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
13766 Add compat aliases as a hack workaround. (Bug#14384)
13767
13768 2013-05-13 Leo Liu <sdl.web@gmail.com>
13769
13770 * progmodes/octave.el (octave-indent-comment): Fix indentation for
13771 ###, and %!.
13772 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
13773 C-M-q.
13774 (octave-comment-start-skip): Include %!.
13775 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
13776
13777 2013-05-12 Leo Liu <sdl.web@gmail.com>
13778
13779 * progmodes/octave.el (inferior-octave-startup): Store the value
13780 of __octave_srcdir__ for octave-source-directories.
13781 (inferior-octave-check-process): New function refactored out of
13782 inferior-octave-send-list-and-digest.
13783 (octave-source-directories)
13784 (octave-find-definition-filename-function): New variables.
13785 (octave-source-directories)
13786 (octave-find-definition-default-filename): New functions.
13787 (octave-find-definition): Improve to find functions implemented in C++.
13788
13789 2013-05-12 Glenn Morris <rgm@gnu.org>
13790
13791 * calendar/diary-lib.el (diary-outlook-format-1):
13792 Don't include dayname in the output. (Bug#14349)
13793
13794 2013-05-11 Glenn Morris <rgm@gnu.org>
13795
13796 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
13797
13798 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
13799 Treat cc-provide like provide.
13800
13801 2013-05-11 Kevin Ryde <user42@zip.com.au>
13802
13803 * cus-dep.el (custom-make-dependencies):
13804 Use generated-autoload-load-name for the sake of files such
13805 such cedet/semantic/bovine/c.el, where the base file name
13806 is not in load-path. (Bug#5277)
13807
13808 2013-05-11 Glenn Morris <rgm@gnu.org>
13809
13810 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
13811 Provide features.
13812
13813 2013-05-11 Leo Liu <sdl.web@gmail.com>
13814
13815 * progmodes/octave.el (octave-indent-comment): Improve.
13816 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
13817 (octave-eldoc-function-signatures, octave-eldoc-function):
13818 New functions.
13819 (octave-mode, inferior-octave-mode): Add eldoc support.
13820
13821 2013-05-11 Richard Stallman <rms@gnu.org>
13822
13823 * epa.el (epa-decrypt-file): Take output file name as argument
13824 and read it using `interactive'.
13825
13826 2013-05-11 Leo Liu <sdl.web@gmail.com>
13827
13828 * progmodes/octave.el (octave-beginning-of-line)
13829 (octave-end-of-line): Check before using up-list because it jumps
13830 out of more syntactic contructs since moving to smie.
13831 (octave-indent-comment): New function.
13832 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
13833 (octave-begin-keywords, octave-end-keywords)
13834 (octave-reserved-words, octave-smie-bnf-table)
13835 (octave-smie-rules): Add new keywords from Octave 3.6.4.
13836
13837 2013-05-11 Glenn Morris <rgm@gnu.org>
13838
13839 * faces.el (internal-face-x-get-resource):
13840 * frame.el (ns-display-monitor-attributes-list):
13841 * calc/calc-aent.el (math-to-radians-2):
13842 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
13843 Fix declarations.
13844
13845 * calc/calc-menu.el: Make it loadable in isolation.
13846
13847 * net/eudcb-bbdb.el: Make it loadable without bbdb.
13848 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
13849 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
13850 (eudc-bbdb-query-internal): Require 'bbdb.
13851
13852 * lpr.el (lpr-headers-switches):
13853 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
13854
13855 * progmodes/sql.el (sql-login-params): Fix and improve :type.
13856
13857 * emulation/edt-mapper.el: In batch mode, error rather than hang.
13858
13859 * term.el (term-set-escape-char): Make it idempotent.
13860
13861 2013-05-10 Leo Liu <sdl.web@gmail.com>
13862
13863 * progmodes/octave.el (inferior-octave-completion-table):
13864 No longer a function and all uses changed. Use cache to speed up
13865 completion due to bug#11906.
13866 (octave-beginning-of-defun): Re-write to be more general.
13867
13868 2013-05-10 Glenn Morris <rgm@gnu.org>
13869
13870 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
13871
13872 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
13873
13874 * comint.el (comint-redirect-send-command-to-process): Use :around
13875 rather than :override for comint-redirect-filter.
13876 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
13877 Call it instead of comint-redirect-original-filter-function (which
13878 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
13879
13880 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
13881
13882 * frame.el (display-monitor-attributes-list): Add NS case.
13883 (ns-display-monitor-attributes-list): Declare.
13884
13885 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
13886
13887 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
13888
13889 2013-05-09 Glenn Morris <rgm@gnu.org>
13890
13891 * international/fontset.el (vertical-centering-font-regexp):
13892 Set standard-value.
13893
13894 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
13895
13896 * bookmark.el (bookmark-search-delay):
13897 * cus-start.el (vertical-centering-font-regexp):
13898 * ps-mule.el (ps-mule-font-info-database-default):
13899 * ps-print.el (ps-default-fg, ps-default-bg):
13900 * type-break.el (type-break-good-break-interval):
13901 * whitespace.el (whitespace-indentation-regexp)
13902 (whitespace-space-after-tab-regexp):
13903 * emacs-lisp/testcover.el (testcover-1value-functions)
13904 (testcover-noreturn-functions, testcover-progn-functions)
13905 (testcover-prog1-functions):
13906 * emulation/viper-init.el (viper-emacs-state-cursor-color):
13907 * eshell/em-glob.el (eshell-glob-translate-alist):
13908 * play/tetris.el (tetris-tty-colors):
13909 * progmodes/cpp.el (cpp-face-default-list):
13910 * progmodes/flymake.el (flymake-allowed-file-name-masks):
13911 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
13912 (idlwave-help-browser-generic-args):
13913 * progmodes/make-mode.el (makefile-special-targets-list):
13914 * progmodes/python.el (python-shell-virtualenv-path):
13915 * progmodes/verilog-mode.el (verilog-active-low-regexp)
13916 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
13917 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
13918 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
13919 * textmodes/reftex-vars.el (reftex-format-label-function):
13920 * textmodes/remember.el (remember-diary-file): Fix custom types.
13921
13922 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
13923 Add :version.
13924
13925 2013-05-09 Leo Liu <sdl.web@gmail.com>
13926
13927 * progmodes/octave.el (inferior-octave-completion-at-point):
13928 Restore file completion. (Bug#14300)
13929 (inferior-octave-startup): Fix incorrect highlighting for the
13930 first prompt.
13931
13932 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13933
13934 * progmodes/ruby-mode.el: First cut at SMIE support.
13935 (ruby-use-smie): New var.
13936 (ruby-smie-grammar): New constant.
13937 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
13938 (ruby-smie--forward-token, ruby-smie--backward-token)
13939 (ruby-smie-rules): New functions.
13940 (ruby-mode-variables): Setup SMIE if applicable.
13941
13942 2013-05-08 Eli Zaretskii <eliz@gnu.org>
13943
13944 * simple.el (line-move-visual): Signal beginning/end of buffer
13945 only if vertical-motion moved less than it was requested. Avoids
13946 silly incorrect error messages when there are display strings with
13947 multiple newlines at EOL.
13948
13949 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
13950
13951 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
13952 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
13953 (prolog-char-quote-workaround):
13954 * progmodes/cperl-mode.el (cperl-under-as-char):
13955 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
13956 Mark as obsolete.
13957 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
13958 their declaration.
13959 (vhdl-mode-syntax-table-init): Remove.
13960
13961 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
13962 last change.
13963
13964 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
13965 syntax for "_".
13966 (ld-script-font-lock-keywords):
13967 Change regexps to use things like \_< and \_>.
13968
13969 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
13970 Change all regexps to use things like \_< and \_>.
13971
13972 * progmodes/autoconf.el (autoconf-definition-regexp)
13973 (autoconf-font-lock-keywords, autoconf-current-defun-function):
13974 Handle a _ with symbol syntax.
13975 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
13976
13977 * progmodes/ada-mode.el (ada-mode-abbrev-table):
13978 Consolidate declaration.
13979 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
13980 the declaration.
13981 (ada-create-syntax-table): Remove.
13982 (ada-capitalize-word): Don't mess with the syntax of "_" since it
13983 already has the right syntax nowadays.
13984 (ada-goto-next-word): Don't change the syntax of "_".
13985
13986 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
13987 with-wrapper-hook.
13988
13989 2013-05-08 Sam Steingold <sds@gnu.org>
13990
13991 * thingatpt.el (thing-at-point): Accept optional second argument
13992 NO-PROPERTIES to strip the text properties from the return value.
13993 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
13994 to `thing-at-point' instead of stripping the properties ourselves.
13995 Also, when `thing-at-point' fails to find a url, prepend "http://"
13996 to the filename at point on the assumption that the user is
13997 pointing at something like gnu.org/gnu.
13998
13999 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14000
14001 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14002 * faces.el (crm-separator):
14003 Silence byte-compiler.
14004
14005 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14006 (tool-bar-map): Remove unneeded defvars.
14007
14008 2013-05-08 Leo Liu <sdl.web@gmail.com>
14009
14010 Re-work a fix for bug#10994 based on Le Wang's patch.
14011 * ido.el (ido-remove-consecutive-dups): New helper.
14012 (ido-completing-read): Use it.
14013 (ido-chop): Revert fix for bug#10994.
14014
14015 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14016
14017 * cus-edit.el (custom-save-variables):
14018 Pretty-print long values. (Bug#14187)
14019
14020 2013-05-08 Glenn Morris <rgm@gnu.org>
14021
14022 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14023 (m4-mode-syntax-table): Init in the defvar.
14024 (m4-mode-abbrev-table): Let define-derived-mode define it.
14025
14026 2013-05-08 Tom Tromey <tromey@redhat.com>
14027
14028 * progmodes/m4-mode.el (m4-mode-syntax-table):
14029 Do not treat "_" as word constituent. (Bug#14167)
14030
14031 2013-05-07 Glenn Morris <rgm@gnu.org>
14032
14033 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14034 Remove explicit eshell-isearch-cancel-map.
14035
14036 * progmodes/f90.el (f90-smart-end-names): New option.
14037 (f90-smart-end): Doc fix.
14038 (f90-end-block-optional-name): New constant.
14039 (f90-block-match): Respect f90-smart-end-names.
14040
14041 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14042
14043 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14044 about implicit semi-colons (bug#14218).
14045
14046 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14047
14048 * frame.el (display-monitor-attributes-list)
14049 (frame-monitor-attributes): New functions.
14050
14051 2013-05-06 Leo Liu <sdl.web@gmail.com>
14052
14053 * progmodes/octave.el (octave-syntax-propertize-function): Change
14054 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14055 (octave-font-lock-keywords): Use octave-operator-regexp.
14056 (octave-completion-at-point): Rename from
14057 octave-completion-at-point-function.
14058 (inferior-octave-directory-tracker): Robustify.
14059 (octave-text-functions): Remove and fix its uses. No such things
14060 any more.
14061
14062 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14063
14064 * emacs-lisp/trace.el (trace--display-buffer): New function.
14065 (trace-make-advice): Use it.
14066
14067 2013-05-06 Juri Linkov <juri@jurta.org>
14068
14069 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14070 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14071 Doc fix.
14072 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14073 in the help string. (Bug#12985)
14074
14075 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14076
14077 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14078
14079 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14080
14081 * progmodes/perl-mode.el: Add support for here documents.
14082 (perl-syntax-propertize-function): Match here-doc markers.
14083 (perl-syntax-propertize-special-constructs): Find their end.
14084 (perl-imenu-generic-expression): Use [:alnum:].
14085
14086 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14087 (advice--add-function): Refresh the advice if already present
14088 (bug#14317).
14089
14090 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14091
14092 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14093
14094 2013-05-06 Glenn Morris <rgm@gnu.org>
14095
14096 * w32-fns.el (w32-charset-info-alist): Declare.
14097
14098 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14099 of its defcustom properties.
14100 (eshell-cmpl-initialize): No need to load pcomplete.
14101
14102 * generic-x.el: No need to require comint when compiling.
14103
14104 * net/eudc-export.el: Make it loadable without bbdb.
14105 (top-level): Use require rather than load-library.
14106 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14107 (eudc-batch-export-records-to-bbdb)
14108 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14109 Require bbdb.
14110
14111 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14112
14113 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14114 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14115 some tweaks, instead.
14116
14117 2013-05-05 Leo Liu <sdl.web@gmail.com>
14118
14119 * progmodes/octave.el (octave-font-lock-keywords)
14120 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14121 (inferior-octave-send-list-and-digest): Improve error message.
14122 (octave-mode, inferior-octave-mode): Use setq-local.
14123 (octave-help): Set info-lookup-mode.
14124
14125 2013-05-05 Richard Stallman <rms@gnu.org>
14126
14127 * vc/compare-w.el (compare-windows-whitespace):
14128 Treat no-break space as whitespace.
14129
14130 * mail/rmailsum.el (rmail-summary-rmail-update):
14131 Detect empty summary and don't change selected message.
14132 (rmail-summary-goto-msg): Likewise.
14133
14134 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14135 Doc fixes, rename args.
14136
14137 2013-05-05 Alan Mackenzie <acm@muc.de>
14138
14139 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14140
14141 2013-05-05 Juri Linkov <juri@jurta.org>
14142
14143 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14144 to not add the length of the summary segment to the return value.
14145 (Bug#14125)
14146
14147 2013-05-05 Leo Liu <sdl.web@gmail.com>
14148
14149 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14150 (inferior-octave-output-filter): Remove.
14151 (octave-send-region, inferior-octave-startup): Fix callers.
14152 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14153 (octave-binary-file-extensions): New user variable.
14154 (octave-find-definition): Confirm if opening binary files.
14155 (octave-help-file): Use octave-find-definition to get the binary
14156 confirmation.
14157 (octave-help): Adjust for octave-help-file change.
14158
14159 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14160
14161 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14162 Merge the two entries that handle function definitions.
14163 (pascal--syntax-propertize): New const.
14164 (pascal-mode): Use it. Use setq-local.
14165
14166 2013-05-04 Glenn Morris <rgm@gnu.org>
14167
14168 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14169 (diary-from-outlook): Respect diary-from-outlook-function.
14170
14171 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14172
14173 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14174 Move the declaration from C.
14175 (read-minibuffer, eval-minibuffer): Move from C.
14176 (completion-setup-function): Avoid minibuffer-completion-contents.
14177
14178 2013-05-03 Leo Liu <sdl.web@gmail.com>
14179
14180 * progmodes/octave.el (octave-font-lock-keywords): Do not
14181 dehighlight 'end' in comments or strings.
14182 (octave-completing-read, octave-goto-function-definition):
14183 New helpers.
14184 (octave-help-buffer): New user variable.
14185 (octave-help-file, octave-help-function): New button types.
14186 (octave-help): New command and bind it to C-h ;.
14187 (octave-find-definition): New command and bind it to M-.
14188 (user-error): Alias to error if not defined.
14189
14190 2013-05-02 Leo Liu <sdl.web@gmail.com>
14191
14192 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14193 for \. (bug#14332)
14194 (octave-font-lock-keywords): Include [ and {.
14195
14196 2013-05-02 Leo Liu <sdl.web@gmail.com>
14197
14198 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14199 (inferior-octave): Remove calling comint-mode and return the buffer.
14200 (inferior-octave-startup): Cosmetic changes.
14201
14202 2013-05-02 Leo Liu <sdl.web@gmail.com>
14203
14204 * progmodes/octave.el (octave-syntax-propertize-function):
14205 Include the case when ' is at line beginning. (Bug#14336)
14206
14207 2013-05-02 Glenn Morris <rgm@gnu.org>
14208
14209 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14210 * desktop.el (vc-dir-mode): Just autoload it here.
14211
14212 2013-05-02 Alan Mackenzie <acm@muc.de>
14213
14214 Eliminate variable c-standard-font-lock-fontify-region-function.
14215 * progmodes/cc-mode.el
14216 (c-standard-font-lock-fontify-region-function): Remove.
14217 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14218
14219 2013-05-01 Leo Liu <sdl.web@gmail.com>
14220
14221 * progmodes/octave.el: Compatible with older emacs-24 releases.
14222 (inferior-octave-has-built-in-variables): Remove. Built-in
14223 variables were removed from Octave in 2007.
14224 (inferior-octave-startup): Fix uses.
14225 (comint-line-beginning-position): Remove compatibility code for
14226 emacs 21.
14227
14228 2013-05-01 Juri Linkov <juri@jurta.org>
14229
14230 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14231
14232 2013-05-01 Juri Linkov <juri@jurta.org>
14233
14234 * comint.el (comint-previous-matching-input): Don't print message
14235 "History item: %d" when `isearch-mode' is active.
14236 (comint-history-isearch-message): Print message "History item: %d"
14237 when `comint-input-ring-index' is not empty and this function is
14238 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14239
14240 2013-05-01 Leo Liu <sdl.web@gmail.com>
14241
14242 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14243 definitions. Use completion-at-point to insert keywords.
14244 (octave-abbrev-start): Remove.
14245 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14246
14247 2013-04-30 Leo Liu <sdl.web@gmail.com>
14248
14249 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14250 change.
14251
14252 2013-04-30 Alan Mackenzie <acm@muc.de>
14253
14254 Handle arbitrarily long C++ member initialisation lists.
14255 * progmodes/cc-engine.el (c-back-over-member-initializers):
14256 new function.
14257 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14258 (most) member init lists.
14259
14260 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14261
14262 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14263 variable.
14264
14265 2013-04-30 Leo Liu <sdl.web@gmail.com>
14266
14267 * progmodes/octave.el (octave-variables): Remove. No builtin
14268 variables any more. All converted to functions.
14269 (octave-font-lock-keywords, octave-completion-at-point-function):
14270 Fix uses.
14271 (octave-font-lock-texinfo-comment): New user variable.
14272 (octave-texinfo-font-lock-keywords): New variable for texinfo
14273 comment block.
14274 (octave-function-comment-block): New face.
14275 (octave-font-lock-texinfo-comment): New function.
14276 (octave-mode): Font lock texinfo comment block.
14277
14278 2013-04-29 Leo Liu <sdl.web@gmail.com>
14279
14280 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14281 indexing expression.
14282 (octave-continuation-string): Do not use \.
14283 (inferior-octave-complete-impossible): Remove.
14284 (inferior-octave-completion-table)
14285 (inferior-octave-completion-at-point): Remove its uses.
14286 (inferior-octave-startup): completion_matches was introduced to
14287 Octave in 1996 so safe to assume it.
14288 (octave-function-file-comment): Improve to follow how Octave does it.
14289 (octave-update-function-file-comment): Tweak.
14290
14291 2013-04-29 Leo Liu <sdl.web@gmail.com>
14292
14293 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14294 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14295 (octave-function-file-comment): Fix typo.
14296 (octave-sync-function-file-names): Use read-char-choice.
14297
14298 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14299
14300 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14301 to t for the less important warnings.
14302
14303 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14304
14305 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14306
14307 2013-04-27 Glenn Morris <rgm@gnu.org>
14308
14309 * vc/log-view.el (log-view-current-entry):
14310 Treat "---" separator lines as part of the following rev. (Bug#14169)
14311
14312 2013-04-27 Juri Linkov <juri@jurta.org>
14313
14314 * subr.el (read-number): Doc fix about using it by interactive
14315 code letter `n'. (Bug#14254)
14316
14317 2013-04-27 Juri Linkov <juri@jurta.org>
14318
14319 * desktop.el (desktop-auto-save-timeout): New option.
14320 (desktop-file-checksum): New variable.
14321 (desktop-save): Add optional arg `auto-save' and don't auto-save
14322 if nothing changed.
14323 (desktop-auto-save-timer): New variable.
14324 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14325 (after-init-hook): Call `desktop-auto-save-set-timer'.
14326 Suggested by Reuben Thomas <rrt@sc3d.org> in
14327 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14328
14329 2013-04-27 Leo Liu <sdl.web@gmail.com>
14330
14331 * progmodes/octave.el (octave-function-file-p)
14332 (octave-skip-comment-forward, octave-function-file-comment)
14333 (octave-update-function-file-comment): New functions.
14334 (octave-mode-map): Bind C-c ; to
14335 octave-update-function-file-comment.
14336 (octave-mode-menu): Add octave-update-function-file-comment.
14337 (octave-mode, inferior-octave-mode): Fix doc-string.
14338 (octave-insert-defun): Conform to Octave's coding convention.
14339 (Bug#14285)
14340
14341 * files.el (basic-save-buffer): Don't let errors in
14342 before-save-hook prevent saving buffer.
14343
14344 2013-04-20 Roland Winkler <winkler@gnu.org>
14345
14346 * faces.el (read-face-name): Use completing-read if arg multiple
14347 is nil.
14348
14349 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14350
14351 * ls-lisp.el (ls-lisp-insert-directory): If no files are
14352 displayed, move point to after the totals line.
14353 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
14354 for the details.
14355
14356 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14357
14358 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14359 Add current dir to the load-path.
14360 (package-generate-autoloads): Don't rely on
14361 autoload-ensure-default-file.
14362
14363 2013-04-26 Reuben Thomas <rrt@sc3d.org>
14364
14365 * textmodes/remember.el (remember-store-in-files): Document that
14366 the file name format is passed to `format-time-string'.
14367
14368 2013-04-26 Leo Liu <sdl.web@gmail.com>
14369
14370 * progmodes/octave.el (octave-sync-function-file-names): New function.
14371 (octave-mode): Use it in before-save-hook.
14372
14373 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14374
14375 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14376 (bug#14274).
14377
14378 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14379 \n and comment, even if it's not an implicit ; (bug#14218).
14380
14381 2013-04-26 Glenn Morris <rgm@gnu.org>
14382
14383 * subr.el (read-number): Once more use `read' rather than
14384 `string-to-number', to trap non-numeric input. (Bug#14254)
14385
14386 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
14387
14388 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14389 Use `syntax-multiline' text property consistently instead of
14390 `font-lock-multiline'. (Bug#14237)
14391
14392 2013-04-26 Glenn Morris <rgm@gnu.org>
14393
14394 * emacs-lisp/shadow.el (list-load-path-shadows):
14395 No longer necessary to check for duplicate simple.el, since
14396 2012-07-07 change to init_lread to not include installation lisp
14397 directories in load-path when running uninstalled. (Bug#14270)
14398
14399 2013-04-26 Leo Liu <sdl.web@gmail.com>
14400
14401 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14402 (octave-mode, inferior-octave-mode): Use setq-local.
14403 (octave-not-in-string-or-comment-p): Rename to
14404 octave-in-string-or-comment-p.
14405 (octave-in-comment-p, octave-in-string-p)
14406 (octave-in-string-or-comment-p): Replace defsubst with defun.
14407
14408 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14409
14410 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14411
14412 2013-04-25 Bastien Guerry <bzg@gnu.org>
14413
14414 * textmodes/remember.el (remember-data-directory)
14415 (remember-directory-file-name-format): Fix custom types.
14416
14417 2013-04-25 Leo Liu <sdl.web@gmail.com>
14418
14419 * progmodes/octave.el (octave-completion-at-point-function):
14420 Make use of inferior octave process.
14421 (octave-initialize-completions): Remove.
14422 (inferior-octave-completion-table): New function.
14423 (inferior-octave-completion-at-point): Use it.
14424 (octave-completion-alist): Remove.
14425
14426 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14427
14428 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14429 (opascal-mode-syntax-table): New var.
14430 (opascal-literal-kind, opascal-is-literal-end)
14431 (opascal-literal-token-at): Rewrite.
14432 (opascal--literal-start-re, opascal-font-lock-keywords)
14433 (opascal--syntax-propertize): New constants.
14434 (opascal-font-lock-defaults): Adjust.
14435 (opascal-mode): Use them. Set comment-<foo> variables as well.
14436 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14437 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14438 (delphi-other-face, opascal-other-face): Remove face variables.
14439 (opascal-save-state): Remove macro.
14440 (opascal-fontifying-progress-step): Remove constant.
14441 (opascal--ignore-changes): Remove var.
14442 (opascal-set-token-property, opascal-parse-next-literal)
14443 (opascal-is-stable-literal, opascal-complete-literal)
14444 (opascal-is-literal-start, opascal-face-of)
14445 (opascal-parse-region, opascal-parse-region-until-stable)
14446 (opascal-fontify-region, opascal-after-change)
14447 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14448 (opascal-debug-parse-region, opascal-debug-parse-window)
14449 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14450 (opascal-debug-fontify-buffer): Remove.
14451 (opascal-debug-mode-map): Adjust accordingly.
14452
14453 2013-04-25 Leo Liu <sdl.web@gmail.com>
14454
14455 Merge octave-mod.el and octave-inf.el into octave.el with some
14456 cleanups.
14457 * progmodes/octave.el: New file renamed from octave-mod.el.
14458 * progmodes/octave-inf.el: Merged into octave.el.
14459 * progmodes/octave-mod.el: Renamed to octave.el.
14460
14461 2013-04-25 Tassilo Horn <tsdh@gnu.org>
14462
14463 * textmodes/reftex-vars.el
14464 (reftex-label-ignored-macros-and-environments): New defcustom.
14465
14466 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14467
14468 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14469
14470 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14471 (smie-indent-keyword): Improve the check to ensure that the next
14472 comment is really on the same line.
14473 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14474
14475 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14476 semi-colons if the line is not otherwise empty (bug#14218).
14477
14478 2013-04-25 Glenn Morris <rgm@gnu.org>
14479
14480 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14481
14482 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14483
14484 * progmodes/opascal.el (opascal-set-token-property): Rename from
14485 opascal-set-text-properties and only set `token' (bug#14134).
14486 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14487 (opascal-literal-text-properties): Remove.
14488 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14489 Adjust callers.
14490
14491 2013-04-24 Reuben Thomas <rrt@sc3d.org>
14492
14493 * textmodes/remember.el (remember-handler-functions): Add an
14494 option for a new handler `remember-store-in-files'.
14495 (remember-data-directory, remember-directory-file-name-format):
14496 New options.
14497 (remember-store-in-files): New function to store remember notes
14498 as separate files within a directory.
14499
14500 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14501
14502 * progmodes/compile.el (compilation-next-error-function):
14503 Pass "formats" to compilation-find-file (bug#11777).
14504
14505 2013-04-24 Glenn Morris <rgm@gnu.org>
14506
14507 * vc/vc-bzr.el (vc-bzr-print-log):
14508 * vc/vc-hg.el (vc-hg-print-log):
14509 * vc/vc-svn.el (vc-svn-print-log):
14510 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14511
14512 * vc/vc-bzr.el (vc-bzr-print-log):
14513 * vc/vc-cvs.el (vc-cvs-print-log):
14514 * vc/vc-git.el (vc-git-print-log):
14515 * vc/vc-hg.el (vc-hg-print-log):
14516 * vc/vc-mtn.el (vc-mtn-print-log):
14517 * vc/vc-rcs.el (vc-rcs-print-log):
14518 * vc/vc-sccs.el (vc-sccs-print-log):
14519 * vc/vc-svn.el (vc-svn-print-log):
14520 * vc/vc.el (vc-print-log-internal): Doc fixes.
14521
14522 2013-04-23 Glenn Morris <rgm@gnu.org>
14523
14524 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
14525 Remove venerable code attempting to avoid substitute-command-keys.
14526
14527 2013-04-23 Tassilo Horn <tsdh@gnu.org>
14528
14529 * textmodes/reftex-vars.el (reftex-label-regexps):
14530 Call `reftex-compile-variables' after changes to this variable.
14531
14532 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
14533
14534 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
14535 Use lexical-binding.
14536 (jit-lock-force-redisplay): Use markers, check buffer's continued
14537 existence and beware narrowed buffers.
14538 (jit-lock-fontify-now): Adjust call accordingly.
14539
14540 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
14541
14542 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
14543 to avoid misleading the user.
14544
14545 2013-04-22 Leo Liu <sdl.web@gmail.com>
14546
14547 * info-look.el: Prefer latex2e.info. (Bug#14240)
14548
14549 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
14550
14551 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
14552
14553 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
14554 * net/tramp.el (tramp-call-process): ... here.
14555 (tramp-set-completion-function, tramp-parse-putty):
14556 * net/tramp-adb.el (tramp-adb-execute-adb-command):
14557 * net/tramp-gvfs.el (tramp-gvfs-send-command):
14558 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
14559 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
14560 (tramp-call-local-coding-command): Use `tramp-call-process'
14561 instead of `tramp-compat-call-process'.
14562
14563 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
14564 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
14565 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
14566 (tramp-find-inline-compress): Improve traces.
14567 (tramp-maybe-send-script): Check for Perl binary.
14568 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
14569
14570 2013-04-22 Daiki Ueno <ueno@gnu.org>
14571
14572 * epg.el (epg-context-pinentry-mode): New function.
14573 (epg-context-set-pinentry-mode): New function.
14574 (epg--start): Pass --pinentry-mode option to gpg command.
14575
14576 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
14577
14578 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
14579 `comint-dynamic-complete' is obsolete since 24.1, replaced by
14580 `completion-at-point'. (Bug#13774)
14581
14582 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
14583 default key binding for `describe-distribution' has been moved to
14584 `C-h C-o'. (Bug#13970)
14585
14586 2013-04-21 Glenn Morris <rgm@gnu.org>
14587
14588 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
14589 Add doc strings.
14590 (vc-print-log): Clarify interactive prompt.
14591
14592 2013-04-20 Glenn Morris <rgm@gnu.org>
14593
14594 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14595 No longer include timestamp etc information.
14596
14597 2013-04-20 Roland Winkler <winkler@gnu.org>
14598
14599 * faces.el (read-face-name): Bug fix, return just one face if arg
14600 multiple is nil. (Bug#14209)
14601
14602 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
14603
14604 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
14605 (remove-function): Autoload.
14606
14607 * comint.el (comint-redirect-original-filter-function): Remove.
14608 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
14609 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
14610 (vc-cvs-annotate-command):
14611 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
14612 * progmodes/prolog.el (prolog-consult-compile):
14613 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
14614 Use add/remove-function instead.
14615 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
14616 (gud-tooltip-process-output, gud-tooltip-tips):
14617 Use add/remove-function instead.
14618 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
14619 (scheme-interaction-mode, exit-scheme-interaction-mode):
14620 Use add/remove-function instead.
14621
14622 * vc/vc-dispatcher.el: Use lexical-binding.
14623 (vc--process-sentinel): Rename from vc-process-sentinel.
14624 Change last arg to be the code to run. Don't use vc-previous-sentinel
14625 and vc-sentinel-commands any more.
14626 (vc-exec-after): Allow code to be a function. Use add/remove-function.
14627 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
14628
14629 2013-04-19 Masatake YAMATO <yamato@redhat.com>
14630
14631 * progmodes/sh-script.el (sh-imenu-generic-expression):
14632 Handle function names with a single character. (Bug#14111)
14633
14634 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
14635
14636 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
14637 for subroutines defined in an eval (bug#14182).
14638
14639 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14640
14641 * bookmark.el (bookmark-completing-read): Improve handling of empty
14642 string (bug#14176).
14643
14644 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
14645
14646 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
14647
14648 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
14649
14650 New faster Imenu implementation (bug#14058).
14651 * progmodes/python.el:
14652 (python-imenu-prev-index-position):
14653 (python-imenu-format-item-label-function)
14654 (python-imenu-format-parent-item-label-function)
14655 (python-imenu-format-parent-item-jump-label-function):
14656 New vars.
14657 (python-imenu-format-item-label)
14658 (python-imenu-format-parent-item-label)
14659 (python-imenu-format-parent-item-jump-label)
14660 (python-imenu--put-parent, python-imenu--build-tree)
14661 (python-imenu-create-index, python-imenu-create-flat-index)
14662 (python-util-popn): New functions.
14663 (python-mode): Set imenu-create-index-function to
14664 python-imenu-create-index.
14665
14666 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14667
14668 * winner.el (winner-active-region): Use region-active-p, activate-mark
14669 and deactivate-mark (bug#14225).
14670
14671 * simple.el (deactivate-mark): Don't inline it.
14672
14673 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
14674
14675 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
14676
14677 2013-04-18 Tassilo Horn <tsdh@gnu.org>
14678
14679 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
14680 file extensions from the archive-mode entry in order to prefer
14681 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
14682
14683 2013-04-18 Leo Liu <sdl.web@gmail.com>
14684
14685 * bindings.el (help-event-list): Add ?\?.
14686
14687 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
14688
14689 * subr.el (with-wrapper-hook): Declare obsolete.
14690 * simple.el (filter-buffer-substring-function): New hook.
14691 (filter-buffer-substring): Use it.
14692 (filter-buffer-substring-functions): Mark obsolete.
14693 * minibuffer.el (completion-in-region-function): New hook.
14694 (completion-in-region): Use it.
14695 (completion-in-region-functions): Mark obsolete.
14696 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
14697 * abbrev.el (abbrev-expand-function): New hook.
14698 (expand-abbrev): Use it.
14699 (abbrev-expand-functions): Mark obsolete.
14700 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
14701 and :filter-return.
14702
14703 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14704
14705 * progmodes/python.el (python-nav--syntactically): Fix cornercases
14706 and do not care about match data.
14707
14708 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14709
14710 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
14711 completion tables when completing error conditions and
14712 `declare' arguments.
14713 (lisp-complete-symbol, field-complete): Mark as obsolete.
14714 (check-parens): Unmatched parens are user errors.
14715 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
14716
14717 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
14718
14719 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
14720 command changed buffer (ie. `flyspell-pre-buffer' is not current
14721 buffer), which prevents making decisions based on invalid value of
14722 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
14723 cause an error when `flyspell-pre-point' was nil after switching
14724 buffers.
14725 (flyspell-post-command-hook): No longer needs to change buffers when
14726 checking pre-word. While at it remove unnecessary progn.
14727
14728 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
14729
14730 * textmodes/ispell.el (ispell-add-per-file-word-list):
14731 Fix `flyspell-correct-word-before-point' error when accepting
14732 words and `coment-padding' is an integer by using
14733 `comment-normalize-vars' (Bug #14214).
14734
14735 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14736
14737 New defun movement commands.
14738 * progmodes/python.el (python-nav--syntactically)
14739 (python-nav--forward-defun, python-nav-backward-defun)
14740 (python-nav-forward-defun): New functions.
14741
14742 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
14743
14744 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
14745 (python-syntax-context): Use named compiler-macro for backwards
14746 compatibility with Emacs 24.x.
14747
14748 2013-04-17 Leo Liu <sdl.web@gmail.com>
14749
14750 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
14751 octave-hide-process-buffer.
14752
14753 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
14754
14755 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
14756 (bug#14216).
14757
14758 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
14759
14760 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
14761 Fix adjustment of offset when receiving incomplete responses from GDB
14762 (bug#14129).
14763
14764 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14765
14766 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
14767 python-mode-abbrev-table.
14768 (python-skeleton-define): Adjust accordingly.
14769 (python-mode-abbrev-table): New table that inherits from it so that
14770 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
14771
14772 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
14773 (abbrev-symbol): Use it.
14774 (abbrev--before-point): Use it since we already handle inheritance.
14775
14776 2013-04-16 Leo Liu <sdl.web@gmail.com>
14777
14778 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
14779 binding to info-lookup-symbol.
14780
14781 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
14782
14783 * minibuffer.el (completion--twq-all):
14784 * term/ns-win.el (ns-initialize-window-system):
14785 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
14786
14787 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
14788
14789 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
14790 global bindings.
14791
14792 * doc-view.el (doc-view-start-process): Handle url-handler directories.
14793
14794 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
14795
14796 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
14797 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
14798 to nil.
14799 (ruby-end-of-defun): Remove the unused arg, change the docstring
14800 to reflect that this function is only used as the value of
14801 `end-of-defun-function'.
14802 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
14803 to reflect an earlier change that beginning/end-of-defun functions
14804 jump between methods in a class definition, as well as top-level
14805 functions.
14806
14807 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14808
14809 * minibuffer.el (minibuffer-complete): Don't just scroll
14810 a *Completions* that's been iconified.
14811 (minibuffer-force-complete): Make sure repetitions do cycle when going
14812 through completion-in-region -> minibuffer-complete.
14813
14814 2013-04-15 Alan Mackenzie <acm@muc.de>
14815
14816 Correct the placement of c-cpp-delimiters when there're #s not at
14817 col 0.
14818
14819 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
14820 place a submatch around the #.
14821 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
14822 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
14823 on the #, not BOL.
14824
14825 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14826
14827 * emacs-lisp/nadvice.el: Properly test names when adding advice.
14828 (advice--member-p): New arg `name'.
14829 (advice--add-function, advice-member-p): Use it (bug#14202).
14830
14831 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
14832
14833 Reformulate java imenu-generic-expression.
14834 The old expression contained ill formed regexps.
14835
14836 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
14837 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
14838 (cc-imenu-java-method-arg-regexp): New defconsts.
14839 (cc-imenu-java-build-type-args-regex): New defun.
14840 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
14841 handling of spaces in the regexp.
14842
14843 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14844
14845 * textmodes/ispell.el (ispell-command-loop): Remove
14846 flyspell highlight of a word when ispell accepts it (bug #14178).
14847
14848 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
14849
14850 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
14851 uses code from the previous `ange-ftp-run-real-handler'.
14852 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
14853 only in case that function exist. This is needed for proper
14854 unloading of Tramp.
14855
14856 2013-04-15 Tassilo Horn <tsdh@gnu.org>
14857
14858 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
14859
14860 * textmodes/reftex.el (reftex-compile-variables): Use it.
14861
14862 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14863
14864 * files.el (normal-mode): Only use default major-mode if no other mode
14865 was specified.
14866
14867 * emacs-lisp/trace.el (trace-values): New function.
14868
14869 * files.el: Allow : in local variables (bug#14089).
14870 (hack-local-variable-regexp): New var.
14871 (hack-local-variables-prop-line, hack-local-variables): Use it.
14872
14873 2013-04-13 Roland Winkler <winkler@gnu.org>
14874
14875 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
14876 data before it gets modified by bibtex-beginning-of-entry.
14877
14878 2013-04-13 Roland Winkler <winkler@gnu.org>
14879
14880 * textmodes/bibtex.el (bibtex-url): Doc fix.
14881
14882 2013-04-13 Roland Winkler <winkler@gnu.org>
14883
14884 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
14885 does not visit a BibTeX file, exclude it from the list of buffers
14886 returned by bibtex-initialize.
14887
14888 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
14889
14890 * window.el (split-window): Remove interactive form, since as a
14891 command this function is a special case of split-window-below.
14892 Correct doc string.
14893
14894 2013-04-12 Roland Winkler <winkler@gnu.org>
14895
14896 * faces.el (read-face-name): Do not override value of arg default.
14897 Allow single faces and strings as default values. Remove those
14898 elements from return value that are not faces.
14899 (describe-face): Simplify.
14900 (face-at-point): New optional args thing and multiple so that this
14901 function can provide the same functionality previously provided by
14902 read-face-name.
14903 (make-face-bold, make-face-unbold, make-face-italic)
14904 (make-face-unitalic, make-face-bold-italic, invert-face)
14905 (modify-face, read-face-and-attribute): Use face-at-point.
14906
14907 * cus-edit.el (customize-face, customize-face-other-window)
14908 * cus-theme.el (custom-theme-add-face)
14909 * face-remap.el (buffer-face-set)
14910 * facemenu.el (facemenu-set-face): Use face-at-point.
14911
14912 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
14913
14914 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
14915
14916 2013-04-10 Tassilo Horn <tsdh@gnu.org>
14917
14918 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
14919 off leading { and trailing } from field values.
14920
14921 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14922
14923 * emacs-lisp/timer.el (timer--check): New function.
14924 (timer--time, timer-set-function, timer-event-handler): Use it.
14925 (timer-set-idle-time): Simplify.
14926 (timer--activate): CSE.
14927 (timer-event-handler): Give more info in error message.
14928 (internal-timer-start-idle): New function, moved from C.
14929
14930 * mpc.el (mpc-proc): Add `restart' argument.
14931 (mpc-proc-cmd): Use it.
14932 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
14933 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
14934 less often.
14935
14936 2013-04-10 Masatake YAMATO <yamato@redhat.com>
14937
14938 * progmodes/sh-script.el: Implement `sh-mode' own
14939 `add-log-current-defun-function' (bug#14112).
14940 (sh-current-defun-name): New function.
14941 (sh-mode): Use the function.
14942
14943 2013-04-09 Bastien Guerry <bzg@gnu.org>
14944
14945 * simple.el (choose-completion-string): Fix docstring (bug#14163).
14946
14947 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
14948
14949 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
14950
14951 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
14952 timer (bug#14156).
14953
14954 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
14955
14956 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
14957 declaration.
14958
14959 2013-04-07 Leo Liu <sdl.web@gmail.com>
14960
14961 * pcmpl-x.el: New file.
14962
14963 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
14964
14965 Do not set x-display-name until X connection is established.
14966 This is needed to prevent from weird situation described at
14967 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
14968 * frame.el (make-frame): Set x-display-name after call to
14969 window system initialization function, not before.
14970 * term/x-win.el (x-initialize-window-system): Add optional
14971 display argument and use it.
14972 * term/w32-win.el (w32-initialize-window-system):
14973 * term/ns-win.el (ns-initialize-window-system):
14974 * term/pc-win.el (msdos-initialize-window-system):
14975 Add compatible optional display argument.
14976
14977 2013-04-06 Eli Zaretskii <eliz@gnu.org>
14978
14979 * files.el (normal-backup-enable-predicate): On MS-Windows and
14980 MS-DOS compare truenames of temporary-file-directory and of the
14981 file, so that 8+3 aliases (usually found in $TEMP on Windows)
14982 don't fail comparison by compare-strings. Also, compare file
14983 names case-insensitively on MS-Windows and MS-DOS.
14984
14985 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
14986
14987 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
14988 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
14989
14990 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
14991
14992 * whitespace.el (whitespace-color-on, whitespace-color-off):
14993 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
14994
14995 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
14996
14997 * ispell.el (ispell-set-spellchecker-params):
14998 Really set `ispell-args' for all equivs.
14999
15000 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15001
15002 * ido.el (ido-completions): Use extra elements of ido-decorations
15003 (bug#14143).
15004 (ido-decorations): Update docstring.
15005
15006 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15007
15008 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15009 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15010 nil during initialization, in order not to miss changes since the
15011 file was opened. (Bug#14140)
15012
15013 2013-04-05 Leo Liu <sdl.web@gmail.com>
15014
15015 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15016
15017 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15018
15019 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15020
15021 2013-04-04 Glenn Morris <rgm@gnu.org>
15022
15023 * electric.el (electric-pair-inhibit-predicate): Add :version.
15024
15025 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15026
15027 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15028 when a package is required several times (bug#14082).
15029
15030 2013-04-04 Roland Winkler <winkler@gnu.org>
15031
15032 * faces.el (read-face-name): Behave as promised by the docstring.
15033 Assume that arg default is a list of faces.
15034 (describe-face): Call read-face-name with list of default faces.
15035
15036 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15037
15038 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15039 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15040 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15041 the header.
15042 (bookmark-exit-hook-internal): Save even if list is empty.
15043
15044 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15045
15046 * emacs-lisp/package.el (package-pinned-packages): New var.
15047 (package--add-to-archive-contents): Obey it (bug#14118).
15048
15049 2013-04-03 Alan Mackenzie <acm@muc.de>
15050
15051 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15052 Also adapt to the new values of element 7 of a parse state.
15053
15054 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15055 parameter `not-in-delimiter'. Handle being inside comment opener.
15056 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15057 character in case we're typing a '*' after a '/'.
15058 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15059 instead by passing the parameter to c-state-pp-to-literal.
15060
15061 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15062 for elt. 7 of a parse state.
15063
15064 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15065
15066 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15067 * international/latin1-disp.el, international/mule-util.el:
15068 * language/cyril-util.el, language/european.el, language/ind-util.el:
15069 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15070 * language/tibetan.el, language/viet-util.el:
15071 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15072
15073 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15074
15075 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15076 (electric-pair-post-self-insert-function): Use it.
15077 (electric-pair-default-inhibit): New function, extracted from
15078 electric-pair-post-self-insert-function.
15079
15080 2013-03-31 Roland Winkler <winkler@gnu.org>
15081
15082 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15083
15084 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15085
15086 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15087
15088 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15089
15090 Un-indent after "pass" and "return" statements (Bug#13888)
15091 * progmodes/python.el (python-indent-block-enders): New var.
15092 (python-indent-calculate-indentation): Use it.
15093
15094 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15095
15096 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15097 defun. Defining it as defalias could introduce too eager
15098 byte-compiler optimization. (Bug#14030)
15099
15100 2013-03-30 Chong Yidong <cyd@gnu.org>
15101
15102 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15103
15104 2013-03-30 Leo Liu <sdl.web@gmail.com>
15105
15106 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15107 (kmacro-execute-from-register): Pass the keyboard macro to
15108 kmacro-call-macro or repeating won't work correctly.
15109
15110 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15111
15112 * progmodes/subword.el: Back to using `forward-symbol'.
15113
15114 * subr.el (forward-whitespace, forward-symbol)
15115 (forward-same-syntax): Move from thingatpt.el.
15116
15117 2013-03-29 Leo Liu <sdl.web@gmail.com>
15118
15119 * kmacro.el (kmacro-to-register): New command.
15120 (kmacro-execute-from-register): New function.
15121 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15122
15123 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15124
15125 * mpc.el: Use defvar-local and setq-local.
15126 (mpc--proc-connect): Connection failures are not bugs.
15127 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15128 (mpc-volume-map): Bind to the up-events.
15129
15130 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15131
15132 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15133 instead of `forward-symbol'.
15134
15135 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15136
15137 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15138 (edebug--recursive-edit): Use it.
15139 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15140 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15141
15142 2013-03-28 Leo Liu <sdl.web@gmail.com>
15143
15144 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15145
15146 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15147
15148 * facemenu.el (list-colors-callback): New defvar.
15149 (list-colors-redisplay): New function.
15150 (list-colors-display): Install list-colors-redisplay as the
15151 revert-buffer-function. (Bug#14063)
15152
15153 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15154
15155 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15156 and suffixes don't overlap (bug#14061).
15157
15158 * case-table.el: Use lexical-binding.
15159 (case-table-get-table): New function.
15160 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15161
15162 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15163
15164 * progmodes/subword.el: Add `superword-mode' to do word motion
15165 over symbol_words (parallels and leverages `subword-mode' which
15166 does word motion inside MixedCaseWords).
15167
15168 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15169
15170 * eshell/em-unix.el: Move su and sudo to...
15171 * eshell/em-tramp.el: ...Eshell tramp module.
15172
15173 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15174
15175 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15176 Change return value to be a sexp. Delay `get-buffer' to after
15177 restoring the desktop (bug#13951).
15178
15179 2013-03-26 Leo Liu <sdl.web@gmail.com>
15180
15181 * register.el: Move semantic tag handling back to
15182 cedet/semantic/senator.el. (Bug#14052)
15183
15184 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15185
15186 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15187 into the prompt either (bug#13963).
15188
15189 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15190
15191 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15192 part of "(error-foo)".
15193
15194 2013-03-24 Juri Linkov <juri@jurta.org>
15195
15196 * replace.el (list-matching-lines-prefix-face): New defcustom.
15197 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15198 `occur-engine' if `face-differs-from-default-p' returns t.
15199 (occur-engine): Add `,' inside backquote construct to evaluate
15200 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15201 Pass `prefix-face' to the functions `occur-context-lines' and
15202 `occur-engine-add-prefix'.
15203 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15204 `prefix-face' and propertize the prefix with `prefix-face'.
15205 (Bug#14017)
15206
15207 2013-03-24 Leo Liu <sdl.web@gmail.com>
15208
15209 * nxml/rng-valid.el (rng-validate-while-idle)
15210 (rng-validate-quick-while-idle): Guard against deleted buffer.
15211 (Bug#13999)
15212
15213 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15214 is the last entry in kill-buffer-hook.
15215
15216 * files.el (kill-buffer-hook): Doc fix.
15217
15218 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15219
15220 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15221 Make it safe-local.
15222
15223 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15224
15225 2013-03-23 Leo Liu <sdl.web@gmail.com>
15226
15227 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15228 Remove.
15229
15230 * nxml/rng-valid.el (rng-validate-mode)
15231 (rng-after-change-function, rng-do-some-validation):
15232 * nxml/rng-maint.el (rng-validate-buffer):
15233 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15234 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15235 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15236 (nxml-extend-after-change-region): Use with-silent-modifications.
15237
15238 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15239 timer-idle-list.
15240
15241 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15242 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15243 timer-idle-list. (Bug#13999)
15244
15245 2013-03-23 Juri Linkov <juri@jurta.org>
15246
15247 * info.el (info-index-match): New face.
15248 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15249 main pattern and add text properties with the new face to matches
15250 in index entries relative to the beginning of the index entry.
15251 (Bug#14015)
15252
15253 2013-03-21 Eric Ludlam <zappo@gnu.org>
15254
15255 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15256 Inhibit read only while inserting objects.
15257
15258 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15259
15260 * progmodes/cfengine.el: Update docs to mention
15261 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15262 symbol motion. Remove "_" from the word syntax.
15263
15264 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15265
15266 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15267 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15268
15269 2013-03-20 Juri Linkov <juri@jurta.org>
15270
15271 * info.el (Info-next-reference-or-link)
15272 (Info-prev-reference-or-link): New functions.
15273 (Info-next-reference, Info-prev-reference): Use them.
15274 (Info-try-follow-nearest-node): Handle footnote navigation.
15275 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15276
15277 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15278
15279 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15280 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15281
15282 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15283
15284 Suppress unnecessary non-ASCII chatter during build process.
15285 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15286 (batch-skkdic-convert): Suppress most of the chatter.
15287 It's not needed so much now that machines are faster,
15288 and its non-ASCII component was confusing; see Dmitry Gutov in
15289 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15290
15291 2013-03-20 Leo Liu <sdl.web@gmail.com>
15292
15293 * ido.el (ido-chop): Fix bug#10994.
15294
15295 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15296
15297 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15298 Remove vars.
15299 (whitespace-color-on, whitespace-color-off):
15300 Use `font-lock-fontify-buffer' (Bug#13817).
15301
15302 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15303
15304 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15305 remapping in mode-line.
15306 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15307
15308 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15309
15310 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15311 value for `whitespace-line' face (Bug#13875).
15312 (whitespace-font-lock-keywords): Change description.
15313 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15314 the constructed keywords instead.
15315 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15316
15317 2013-03-19 Leo Liu <sdl.web@gmail.com>
15318
15319 * progmodes/compile.el (compilation-display-error): New command.
15320 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15321 C-o. (Bug#13992)
15322
15323 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15324
15325 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15326
15327 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15328
15329 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15330
15331 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
15332
15333 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15334
15335 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15336 * net/tramp-gvfs.el (top):
15337 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15338 (tramp-handle-shell-command): Use it.
15339 (tramp-dissect-file-name): Raise an error when hostname is a
15340 method name, and neither method nor user is specified.
15341
15342 * net/trampver.el: Update release number.
15343
15344 2013-03-18 Leo Liu <sdl.web@gmail.com>
15345
15346 Make sure eldoc can be turned off properly.
15347 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15348 eldoc-mode.
15349 (eldoc-display-message-p): Revert last change.
15350 (eldoc-display-message-no-interference-p)
15351 (eldoc-print-current-symbol-info): Tweak.
15352
15353 2013-03-18 Tassilo Horn <tsdh@gnu.org>
15354
15355 * doc-view.el (doc-view-new-window-function): Check the new window
15356 overlay's display property instead the char property of the
15357 buffer's first char. Use `with-selected-window' instead of
15358 `save-window-excursion' with `select-window'.
15359 (doc-view-document->bitmap): Check the current doc-view overlay's
15360 display property instead the char property of the buffer's first char.
15361
15362 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15363
15364 Automate the build of ja-dic.el (Bug#13984).
15365 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15366 from the input, rather than assume that it's been done for us by the
15367 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15368 the current date into a ja-dic.el comment, as that complicates
15369 regression testing.
15370
15371 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15372
15373 * whitespace.el: Fix double evaluation.
15374 (whitespace-space, whitespace-hspace, whitespace-tab)
15375 (whitespace-newline, whitespace-trailing, whitespace-line)
15376 (whitespace-space-before-tab, whitespace-indentation)
15377 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15378 obsolete defvars.
15379 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15380 (whitespace-color-on): Use a single font-lock-add-keywords call.
15381 Fix double-evaluation of face variables.
15382
15383 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
15384
15385 * net/tramp-adb.el (tramp-adb-parse-device-names):
15386 Use `start-process' instead of `call-process'. Otherwise, the
15387 function might be blocked under MS Windows. (Bug#13299)
15388
15389 2013-03-17 Leo Liu <sdl.web@gmail.com>
15390
15391 Extend eldoc to display info in the mode-line. (Bug#13978)
15392 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15393 (eldoc-mode-line-string): New variable.
15394 (eldoc-minibuffer-message): New function.
15395 (eldoc-message-function): New variable.
15396 (eldoc-message): Use it.
15397 (eldoc-display-message-p)
15398 (eldoc-display-message-no-interference-p):
15399 Support eldoc-post-insert-mode.
15400
15401 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15402 (eval-expression): Run it.
15403
15404 2013-03-17 Roland Winkler <winkler@gnu.org>
15405
15406 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15407 strings in the list of return values.
15408
15409 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15410
15411 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15412 radix before checking for HMS forms.
15413
15414 2013-03-16 Leo Liu <sdl.web@gmail.com>
15415
15416 * progmodes/scheme.el: Add indentation and font-locking for λ.
15417 (Bug#13975)
15418
15419 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
15420
15421 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15422 token before point (bug#13942).
15423
15424 2013-03-16 Leo Liu <sdl.web@gmail.com>
15425
15426 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
15427
15428 2013-03-16 Eli Zaretskii <eliz@gnu.org>
15429
15430 * startup.el (command-line-normalize-file-name): Fix handling of
15431 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15432 <xfq.free@gmail.com> in
15433 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15434
15435 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
15436
15437 Sync with Tramp 2.2.7.
15438
15439 * net/trampver.el: Update release number.
15440
15441 2013-03-14 Tassilo Horn <tsdh@gnu.org>
15442
15443 * doc-view.el: Fix bug#13887.
15444 (doc-view-insert-image): Don't modify overlay associated to
15445 non-live windows, and implement horizontal centering of image in
15446 case it's smaller than the window.
15447 (doc-view-new-window-function): Force redisplay of new windows on
15448 doc-view buffers.
15449
15450 2013-03-13 Karl Fogel <kfogel@red-bean.com>
15451
15452 * saveplace.el (save-place-alist-to-file): Don't sort
15453 `save-place-alist', just pretty-print it (bug#13882).
15454
15455 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
15456
15457 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15458 Check whether `default-file-name-coding-system' is bound.
15459 It isn't in XEmacs.
15460
15461 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15462
15463 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15464 backquotes for `obsolete' (bug#13929).
15465
15466 * international/mule.el (find-auto-coding): Include file name in
15467 obsolescence warning (bug#13922).
15468
15469 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15470
15471 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15472 for CFEngine 3-specific indentation.
15473 (cfengine3-indent-line): Use it. Fix up category regex.
15474 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15475
15476 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15477
15478 * type-break.el (type-break-file-name):
15479 * textmodes/remember.el (remember-data-file):
15480 * strokes.el (strokes-file):
15481 * shadowfile.el (shadow-initialize):
15482 * saveplace.el (save-place-file):
15483 * ps-bdf.el (bdf-cache-file):
15484 * progmodes/idlwave.el (idlwave-config-directory):
15485 * net/quickurl.el (quickurl-url-file):
15486 * international/kkc.el (kkc-init-file-name):
15487 * ido.el (ido-save-directory-list-file):
15488 * emulation/viper.el (viper-custom-file-name):
15489 * emulation/vip.el (vip-startup-file):
15490 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15491 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15492
15493 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15494
15495 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15496 * language/thai-word.el: Switch to UTF-8.
15497
15498 See ChangeLog.16 for earlier changes.
15499
15500 ;; Local Variables:
15501 ;; coding: utf-8
15502 ;; End:
15503
15504 Copyright (C) 2011-2014 Free Software Foundation, Inc.
15505
15506 This file is part of GNU Emacs.
15507
15508 GNU Emacs is free software: you can redistribute it and/or modify
15509 it under the terms of the GNU General Public License as published by
15510 the Free Software Foundation, either version 3 of the License, or
15511 (at your option) any later version.
15512
15513 GNU Emacs is distributed in the hope that it will be useful,
15514 but WITHOUT ANY WARRANTY; without even the implied warranty of
15515 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15516 GNU General Public License for more details.
15517
15518 You should have received a copy of the GNU General Public License
15519 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.