]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Backport changes in preparation for git migration from trunk.
[gnu-emacs] / lisp / ChangeLog
1 2014-10-31 Eric S. Raymond <esr@thyrsus.com>
2
3 * Makefile.in: Change some production names so they're neutral
4 about the repository type.
5
6 2014-10-30 Kim F. Storm <storm@cua.dk>
7
8 Restore cua-delete-copy-to-register-0 and M-v command (bug#18886).
9 * delsel.el (delete-selection-save-to-register)
10 (delsel--replace-text-or-position): New vars.
11 (delete-active-region): Use them.
12 (delete-selection-repeat-replace-region): New command, moved from
13 cua-base.el.
14 * emulation/cua-base.el (cua--repeat-replace-text): Remove var.
15 (cua-repeat-replace-region): Move command to delsel.el.
16 (cua--init-keymaps): Update binding accordingly.
17 (cua-mode): Set delete-selection-save-to-register.
18
19 2014-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
20
21 * progmodes/cc-defs.el (c--macroexpand-all): New function (bug#18845).
22 (c-lang-defconst):
23 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Use it.
24
25 2014-10-29 Eli Zaretskii <eliz@gnu.org>
26
27 * progmodes/compile.el (compilation-start):
28 If compilation-scroll-output is non-nil, don't force window-start of
29 the compilation buffer to be at beginning of buffer. (Bug#18874)
30
31 2014-10-23 Tassilo Horn <tsdh@gnu.org>
32
33 * doc-view.el (doc-view-open-text): View the document's plain text
34 in the current buffer instead of a new one.
35 (doc-view-toggle-display): Handle the case where the current
36 buffer contains the plain text contents of the document.
37 (doc-view-initiate-display): Don't switch to fallback mode if the
38 user wants to view the doc's plain text. [Backport]
39
40 2014-10-23 Eli Zaretskii <eliz@gnu.org>
41
42 * startup.el (fancy-about-text): Read the entire tutorial, not
43 just its first 256 bytes. (Bug#18760)
44
45 2014-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
46
47 * emacs-lisp/bytecomp.el: Require cl-extra (bug#18804).
48 * emacs-lisp/cl-extra.el: Add missing provide.
49
50 2014-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
51
52 * emacs-lisp/bytecomp.el (byte-compile-and-folded): Optimize case where
53 all args are copyable (bug#18767).
54 (=, <, >, <=, >=): Re-enable the optimization.
55
56 2014-10-20 Santiago Payà i Miralta <santiagopim@gmail.com>
57
58 * vc/vc-hg.el (vc-hg-log-graph): New var.
59 (vc-hg-print-log): Use it.
60 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
61 graph output (bug#17515).
62
63 2014-10-20 Juri Linkov <juri@jurta.org>
64
65 * vc/diff-mode.el (diff-refine-changed): Rename from
66 `diff-refine-change' for consistency with `diff-changed'.
67 (diff-refine-change): Add obsolete face alias. (Bug#10181)
68
69 * vc/smerge-mode.el (smerge-refined-changed): Rename from
70 `smerge-refined-change'.
71 (smerge-refined-change): Add obsolete face alias.
72
73 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
74
75 * subr.el (call-process-shell-command, process-file-shell-command):
76 Make the `args' obsolete (bug#18409).
77 (start-process-shell-command, start-file-process-shell-command):
78 Use `declare'.
79
80 2014-10-20 Juanma Barranquero <lekktu@gmail.com>
81
82 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
83
84 2014-10-20 Glenn Morris <rgm@gnu.org>
85
86 * dired.el (dired-read-regexp): Make obsolete.
87 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
88 (dired-flag-files-regexp):
89 * dired-aux.el (dired-mark-read-regexp):
90 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
91
92 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
93
94 * progmodes/python.el (inferior-python-mode): Use add-hook.
95
96 * Makefile.in (AUTOGEN_VCS): Remove emulation/tpu-edt.el.
97
98 2014-10-20 Glenn Morris <rgm@gnu.org>
99
100 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
101 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
102 * emulation/ws-mode.el: Move to obsolete/. [Backport]
103
104 2014-10-20 Glenn Morris <rgm@gnu.org>
105
106 * cus-start.el (history-length): Bump :version. [Backport]
107
108 2014-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
109
110 * obsolete/cc-compat.el: Make obsolete (bug#18561).
111
112 * epg-config.el (epg-gpg-program): Don't use absolute names by default.
113
114 * emacs-lisp/bytecomp.el (=, <, >, <=, >=): Don't optimize multi-arg
115 case (bug#18767).
116
117 2014-10-20 Glenn Morris <rgm@gnu.org>
118
119 * Version 24.4 released.
120
121 2014-10-15 Alan Mackenzie <acm@muc.de>
122
123 * cus-edit.el (custom-command-apply): Specify the return value in
124 the doc string.
125 (Custom-reset-standard): Save custom-file (e.g. .emacs) only when
126 custom-command-apply has returned non-nil.
127
128 2014-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
129
130 * emacs-lisp/lisp.el (lisp--local-variables-1): Handle `quote'.
131 Backported (bug#18688).
132
133 2014-10-14 Eli Zaretskii <eliz@gnu.org>
134
135 * emacs-lisp/tabulated-list.el (tabulated-list-mode):
136 Force bidi-paragraph-direction to 'left-to-right'. This fixes
137 buffer-menu display when the first buffer happens to start with
138 R2L letter.
139
140 2014-10-13 Glenn Morris <rgm@gnu.org>
141
142 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
143 (authors-obsolete-files-regexps): Additions.
144 (authors-no-scan-regexps): New constant.
145 (authors-no-scan-file-p): New function.
146 (authors): Respect authors-no-scan-file-p.
147
148 2014-10-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
149
150 Fix import completion. (Bug#18582)
151 * progmodes/python.el (python-shell-completion-get-completions):
152 Fix import case regexp.
153
154 2014-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
155
156 * progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo
157 (bug#18622). Reported by Arni Magnusson <arnima@hafro.is>.
158 * progmodes/prolog.el (prolog-electric--underscore): Same.
159
160 2014-10-09 Glenn Morris <rgm@gnu.org>
161
162 * frame.el (display-monitor-attributes-list): Doc tweaks.
163
164 2014-10-08 Eli Zaretskii <eliz@gnu.org>
165
166 * faces.el (display-grayscale-p): Mention in the doc string that
167 the argument can be either a display name or a frame.
168
169 * frame.el (display-pixel-height, display-pixel-width)
170 (display-mm-height, display-mm-width, display-backing-store)
171 (display-save-under, display-planes, display-color-cells)
172 (display-visual-class, display-monitor-attributes-list)
173 (display-screens): Mention in the doc string that the argument can
174 be either a display name or a frame. Improve the docs of the
175 monitor attributes. (Bug#18636)
176
177 2014-10-06 Martin Rudalics <rudalics@gmx.at>
178
179 * term.el (term-window-width): Subtract 1 from the width when
180 any fringe has zero width, not just the right fringe. (Bug#18601)
181
182 2014-10-05 Leo Liu <sdl.web@gmail.com>
183
184 * imenu.el (imenu-default-goto-function): Fix typo.
185
186 2014-10-04 Glenn Morris <rgm@gnu.org>
187
188 * frame.el (frame-monitor-attributes)
189 (display-monitor-attributes-list): Doc fixes.
190
191 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
192
193 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
194 (vc-svn-ignore): Use it. (Bug#18619)
195
196 2014-10-03 Martin Rudalics <rudalics@gmx.at>
197
198 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
199 In doc-string mention need to set `frame-resize-pixelwise'.
200
201 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
202
203 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
204 similarly to Rogers's 2010-06-16 change for the remote case
205 (bug#18605).
206
207 2014-10-01 Glenn Morris <rgm@gnu.org>
208
209 * emacs-lisp/package.el (package-import-keyring):
210 Create gnupg directory private. (Bug#17625#155)
211
212 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
213
214 * progmodes/python.el (python-shell-completion-get-completions):
215 Use python-shell--prompt-calculated-input-regexp from the
216 process buffer (bug#18582).
217 Don't assume that `line' comes from the process buffer.
218
219 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
220
221 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
222 (bug#18462).
223
224 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
225
226 * emacs-lisp/package.el (package-check-signature): Default to nil if
227 GPG is not available.
228 (package-refresh-contents): Don't mess with the keyring if we won't
229 check the signatures anyway.
230
231 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
232
233 * window.el (fit-window-to-buffer): When counting buffer width,
234 count the whole visible buffer. Correctly convert the body-height
235 to pixel size for window-text-pixel-size (Bug#18498).
236
237 2014-09-14 Glenn Morris <rgm@gnu.org>
238
239 * image.el (image-multi-frame-p): Fix thinko - do not force
240 a delay if none was specified. (Bug#18334)
241
242 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
243
244 * window.el (fit-window-to-buffer): Doc fix.
245
246 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
247
248 * desktop.el (desktop-create-buffer): Check that buffers are still live
249 before burying them (bug#18373).
250
251 2014-09-09 Glenn Morris <rgm@gnu.org>
252
253 * calendar/diary-lib.el (diary-list-entries):
254 Restore 24.3 display behavior. (Bug#18381)
255
256 2014-09-09 Eli Zaretskii <eliz@gnu.org>
257
258 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
259 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
260 discrepancy between window-pixel-edges and mouse events, and
261 avoids moving mode line up when the mouse click is on the modeline
262 and no drag is attempted.
263
264 2014-09-08 Glenn Morris <rgm@gnu.org>
265
266 * calendar/calendar.el (calendar-basic-setup):
267 Avoid clobbering calendar with diary. (Bug#18381)
268
269 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
270
271 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
272
273 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
274
275 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
276 as well (bug#18400).
277
278 2014-09-04 Eli Zaretskii <eliz@gnu.org>
279
280 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
281
282 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
283
284 * emacs-lisp/package.el (package-generate-description-file):
285 Properly quote the arguments (bug#18332). Change second arg.
286 (package--alist-to-plist-args): Rename from package--alist-to-plist and
287 quote the elements.
288 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
289 the *-pkg.el file. Adjust to new calling convention of
290 package-generate-description-file.
291
292 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
293 (gud-gdb-completions): Remove obsolete workaround.
294
295 2014-09-02 Eli Zaretskii <eliz@gnu.org>
296
297 * subr.el (posn-col-row): Revert the change from commit
298 2010-11-13T21:07:58Z!eliz@gnu.org, which
299 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
300 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
301 introduced an off-by-one error in the reported row when there is a
302 header line. (Bug#18384)
303
304 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
305
306 * progmodes/python.el (python-indent-post-self-insert-function):
307 Avoid electric colon at beginning-of-defun. (Bug#18228)
308
309 2014-09-01 Glenn Morris <rgm@gnu.org>
310
311 * tutorial.el (tutorial--display-changes):
312 Fix 2014-07-29 change. (Bug#18382)
313
314 2014-08-29 Ken Brown <kbrown@cornell.edu>
315
316 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
317 the Cygwin-w32 build. (Bug#18347)
318
319 2014-08-28 Glenn Morris <rgm@gnu.org>
320
321 * tar-mode.el (tar--extract, tar-extract):
322 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
323
324 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
325
326 * emacs-lisp/authors.el (authors-aliases): Addition.
327
328 * net/tramp-adb.el: Spell author name correctly.
329
330 2014-08-27 João Távora <joaotavora@gmail.com>
331
332 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
333 use url-expand-file-name. (Bug#18310)
334
335 2014-08-25 Glenn Morris <rgm@gnu.org>
336
337 * emulation/cua-rect.el (cua--highlight-rectangle):
338 Avoid error at point-min. (Bug#18309)
339
340 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
341
342 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
343 executable-find (bug#18244).
344
345 * simple.el (self-insert-uses-region-functions): Defvar.
346
347 2014-08-13 Leo Liu <sdl.web@gmail.com>
348
349 * speedbar.el (speedbar-generic-list-tag-p): Allow special
350 elements from imenu.
351
352 2014-08-11 Glenn Morris <rgm@gnu.org>
353
354 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
355
356 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
357 chose coding system for writing before backing up, since it causes
358 a more serious problem than the one it solves. (Closes Bug#18141,
359 reopens Bug#13522.)
360
361 2014-08-10 Martin Rudalics <rudalics@gmx.at>
362
363 * window.el (window-total-size): Make doc-string more
364 self-contained.
365
366 2014-08-09 Martin Rudalics <rudalics@gmx.at>
367
368 * window.el (display-buffer-below-selected): Restore original
369 behavior if buffer is already displayed in the window below the
370 selected one (Bug#18181).
371
372 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
373
374 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
375 event (bug#18212).
376
377 2014-08-08 Eli Zaretskii <eliz@gnu.org>
378
379 * info.el (info): Doc fix.
380
381 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
382
383 * info.el (Info-mode-map): Override a global down-mouse-2 binding
384 (bug#18212).
385
386 2014-08-05 Eli Zaretskii <eliz@gnu.org>
387
388 * simple.el (default-line-height): A floating-point value of
389 line-spacing means a fraction of the default frame font's height,
390 not of the font currently used by the 'default' face.
391 Truncate the pixel value, like the display engine does.
392 (window-screen-lines): Use window-inside-pixel-edges for
393 determining the window height in pixels. (Bug#18195)
394
395 2014-07-29 Eli Zaretskii <eliz@gnu.org>
396
397 * tutorial.el (tutorial--display-changes): Accept punctuation
398 characters before the key binding. (Bug#18146)
399
400 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
401
402 * doc-view.el (doc-view-open-text): Don't require that the
403 document is saved in a file (e.g., email attachment).
404
405 2014-07-27 Eli Zaretskii <eliz@gnu.org>
406
407 * window.el (window--pixel-to-total): Use FRAME's root window, not
408 that of the selected frame. (Bug#18112, Bug#16674)
409
410 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
411
412 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
413 (Bug#18117)
414
415 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
416
417 * progmodes/python.el (inferior-python-mode): Doc fix.
418
419 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
420
421 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
422 not a character, ignore it instead of raising an error.
423
424 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
425
426 * calendar/todo-mode.el: Fix handling of marked items and make
427 minor code improvements.
428 (todo-edit-item): If there are marked items, ensure user can only
429 invoke editing commands that work with marked items.
430 (todo-edit-item--text): When there are marked items, make it a
431 noop if invoked with point not on an item; otherwise, ensure it
432 applies only to item at point.
433 (todo-item-undone): If there are marked not-done items, return
434 point to its original position before signaling user error.
435 (todo--user-error-if-marked-done-item): New function.
436 (todo-edit-item--header, todo-edit-item--diary-inclusion)
437 (todo-item-done): Use it.
438
439 2014-07-25 Glenn Morris <rgm@gnu.org>
440
441 * files.el (toggle-read-only): Re-add basic doc-string.
442 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
443
444 * progmodes/prolog.el (prolog-mode-keybindings-edit):
445 Replace missing `switch-to-prolog' with `run-prolog'.
446 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
447
448 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
449
450 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
451 of file-wide setting when changing category-wide setting.
452
453 2014-07-21 Glenn Morris <rgm@gnu.org>
454
455 * progmodes/hideif.el (hide-ifdef-mode-submap):
456 Also substitute read-only-mode.
457 * bindings.el (mode-line-toggle-read-only):
458 * bs.el (bs-toggle-readonly):
459 * buff-menu.el (Buffer-menu-toggle-read-only):
460 * dired.el (dired-toggle-read-only):
461 * files.el (view-read-only, find-file-read-only)
462 (find-file-read-only-other-window)
463 (find-file-read-only-other-frame):
464 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
465 Doc fixes re toggle-read-only.
466
467 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
468
469 * progmodes/python.el: Add comment about pipe buffering and
470 solutions for missing/delayed output in inferior Python shells.
471 (Bug#17304)
472
473 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
474
475 * progmodes/python.el (python-mode): Don't set
476 mode-require-final-newline. (Bug#17990)
477
478 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
479
480 Make python.el work with IPython automatically. (Bug#15510)
481 * progmodes/python.el:
482 (python-shell-completion-setup-code): New value supporting iPython.
483 (python-shell-completion-string-code): New value supporting iPython.
484 (python-shell-completion-get-completions): Use them.
485 (python-shell-completion-module-string-code): Make obsolete.
486 (python-shell-prompt-input-regexps)
487 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
488 (python-shell-output-filter): Fix comment typo.
489
490 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
491
492 Fix Python shell prompts detection for remote hosts.
493 * progmodes/python.el (python-shell-prompt-detect):
494 Replace call-process with process-file and make it more robust.
495
496 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
497
498 Autodetect Python shell prompts. (Bug#17370)
499 * progmodes/python.el:
500 (python-shell-interpreter-interactive-arg)
501 (python-shell-prompt-detect-enabled)
502 (python-shell-prompt-detect-failure-warning)
503 (python-shell-prompt-input-regexps)
504 (python-shell-prompt-output-regexps): New vars.
505 (python-shell-prompt-calculated-input-regexp)
506 (python-shell-prompt-calculated-output-regexp): New vars.
507 (python-shell-get-process-name)
508 (python-shell-internal-get-process-name)
509 (python-shell-output-filter)
510 (python-shell-completion-get-completions): Use them.
511 (python-shell-prompt-detect)
512 (python-shell-prompt-validate-regexps): New functions.
513 (python-shell-prompt-set-calculated-regexps): New function.
514 (inferior-python-mode): Use it. Also honor overridden
515 python-shell-interpreter and python-shell-interpreter-args.
516 (python-shell-make-comint): Honor overridden
517 python-shell-interpreter and python-shell-interpreter-args.
518 (python-shell-get-or-create-process): Make it testable by allowing
519 to call run-python non-interactively.
520 (python-util-valid-regexp-p): New function.
521 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
522 (python-shell-prompt-output-regexp)
523 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
524
525 2014-07-16 Glenn Morris <rgm@gnu.org>
526
527 * desktop.el (after-init-hook): Disable startup frame restoration
528 in non-graphical situations. (Bug#17693)
529
530 2014-07-14 Glenn Morris <rgm@gnu.org>
531
532 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
533 if it was "empty", or used for a different set of files. (Bug#17884)
534
535 2014-07-13 Eli Zaretskii <eliz@gnu.org>
536
537 * bindings.el (mode-line-remote): If default-directory is not a
538 string, don't call file-remote-p on it; instead state in the
539 help-echo that it is nil. (Bug#17986)
540
541 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
542
543 Fix bug: C-x v v discarded existing log message (Bug#17884).
544 * vc/vc-dispatcher.el (vc-log-edit):
545 Don't clobber an already-existing log message.
546
547 2014-07-10 Glenn Morris <rgm@gnu.org>
548
549 * vc/log-edit.el (log-edit-changelog-entries):
550 Check for a visited-but-never-saved ChangeLog.
551
552 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
553
554 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
555 a non-existing file (bug#17970).
556
557 * faces.el (face-name): Undo last change.
558 (x-resolve-font-name): Don't call face-name (bug#17956).
559
560 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
561
562 Fix dedenters and electric colon handling. (Bug#15163)
563
564 * progmodes/python.el
565 (python-rx-constituents): Add dedenter and block-ender.
566 (python-indent-dedenters, python-indent-block-enders): Delete.
567 (python-indent-context): Return new case for dedenter-statement.
568 (python-indent-calculate-indentation): Handle new case.
569 (python-indent-calculate-levels): Fix levels calculation for
570 dedenter statements.
571 (python-indent-post-self-insert-function): Fix colon handling.
572 (python-info-dedenter-opening-block-message): New function.
573 (python-indent-line): Use it.
574 (python-info-closing-block)
575 (python-info-closing-block-message): Remove.
576 (python-info-dedenter-opening-block-position)
577 (python-info-dedenter-opening-block-positions)
578 (python-info-dedenter-statement-p): New functions.
579
580 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
581
582 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
583 the middle of a line (bug#17896).
584
585 2014-07-08 Juri Linkov <juri@jurta.org>
586
587 * startup.el (command-line): Append displaying the warning about
588 the errors in the init file to the end of `after-init-hook'.
589 (Bug#17927)
590
591 2014-07-08 Juri Linkov <juri@jurta.org>
592
593 * faces.el (face-name): Return input arg `face' as is
594 when it's not a symbol.
595 (x-resolve-font-name): Don't check if the face is a symbol.
596 (Bug#17956)
597
598 2014-07-08 Juri Linkov <juri@jurta.org>
599
600 * facemenu.el (list-colors-print): In help-echo format use %.2f
601 instead of %d because now HSV values are floating-point components
602 between 0.0 and 1.0.
603
604 2014-07-06 Glenn Morris <rgm@gnu.org>
605
606 * emulation/cua-rect.el (cua--activate-rectangle):
607 Avoid setting cua--rectangle to nil. (Bug#17877)
608
609 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
610
611 * calendar/todo-mode.el: Fix wrong-type-argument error when
612 marking multiple consecutive items.
613 (todo-toggle-mark-item): Don't try to mark the empty lines at the
614 end of the todo and done items sections. Note in doc string that
615 items marked by passing a numeric prefix argument can include the
616 last todo and first done items.
617 (todo-mark-category): Don't try to mark the empty line between the
618 todo and done items sections.
619
620 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
621
622 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
623 proper Lisp quoting (bug#17934).
624
625 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
626 require-final-newline since prog-mode already took care of it (bug#17947).
627
628 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
629
630 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
631 refer to the Todo mode Info manual. Update the comment on
632 requiring cl-lib.
633 (todo-find-filtered-items-file): Add todo-prefix overlays.
634 (todo-filter-items): Reorder a let-bound variable to avoid a
635 wrong-type-argument error on canceling the file choice dialog.
636
637 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
638
639 * progmodes/octave.el (inferior-octave-mode):
640 Set comint-input-ring-size to a number (bug#17912).
641
642 2014-07-03 Juri Linkov <juri@jurta.org>
643
644 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
645 and `isearch-mode' associated with nil. (Bug#17849)
646
647 2014-07-02 Juri Linkov <juri@jurta.org>
648
649 * desktop.el (desktop-save): Rename arg `auto-save' to
650 `only-if-changed'. Doc fix. (Bug#17873)
651
652 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
653
654 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
655 Use insert-for-yank (bug#17271).
656
657 2014-07-02 Leo Liu <sdl.web@gmail.com>
658
659 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
660 Support lexical-binding.
661
662 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
663
664 * vc/log-edit.el (log-edit-goto-eoh): New function.
665 (log-edit--match-first-line): Use it (bug#17861).
666
667 2014-07-01 Glenn Morris <rgm@gnu.org>
668
669 * vc/log-edit.el (log-edit-hook): Add missing :version.
670
671 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
672
673 * progmodes/python.el (python-indent-post-self-insert-function):
674 Enhancements to electric indentation behavior inside
675 parens. (Bug#17658)
676
677 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
678
679 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
680 buffer-invisibility-spec (bug#17867).
681
682 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
683
684 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
685 pass "-a".
686
687 2014-06-29 Glenn Morris <rgm@gnu.org>
688
689 * cus-edit.el (help):
690 * finder.el (finder-known-keywords):
691 * help.el (help-for-help-internal):
692 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
693 (ediff-redraw-registry-buffer):
694 * vc/ediff-ptch.el (ediff-patch-file-internal):
695 Doc fixes re "online" help. (Bug#17803)
696
697 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
698 (idlwave-mode): Doc URL update.
699
700 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
701
702 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
703 account for file-wide setting of todo-top-priorities-overrides.
704 Make code a bit cleaner.
705
706 2014-06-27 Leo Liu <sdl.web@gmail.com>
707
708 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
709
710 2014-06-27 Glenn Morris <rgm@gnu.org>
711
712 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
713
714 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
715
716 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
717 category-wide setting of todo-top-priorities-overrides, check for
718 a file-wide setting and fontify accordingly.
719
720 2014-06-26 Glenn Morris <rgm@gnu.org>
721
722 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
723
724 2014-06-26 Daiki Ueno <ueno@gnu.org>
725
726 * emacs-lisp/package.el (package--check-signature):
727 If package-check-signature is allow-unsigned, don't signal error when
728 we can't verify signature because of missing public key
729 (backport for bug#17625).
730
731 2014-06-26 Glenn Morris <rgm@gnu.org>
732
733 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
734 Remove outdated declaration.
735
736 * emacs-lisp/authors.el (authors-valid-file-names)
737 (authors-renamed-files-alist): Additions.
738
739 2014-06-25 Leo Liu <sdl.web@gmail.com>
740
741 * textmodes/picture.el (picture-set-tab-stops):
742 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
743 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
744
745 * progmodes/asm-mode.el (asm-calculate-indentation):
746 Use indent-next-tab-stop.
747
748 * indent.el (indent-accumulate-tab-stops): New function.
749
750 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
751
752 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
753 (package-desc-status): Obey it.
754
755 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
756
757 * calendar/todo-mode.el: Fix two bugs.
758 (todo-insert-item--basic): If user cancels item insertion to
759 another category before setting priority, show original category
760 whether it is in the same or a different file.
761 (todo-set-item-priority): After selecting category, instead of
762 moving point to top, which extends an active region, restore it.
763
764 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
765
766 * help-fns.el (describe-function-1): Check file-name is a string before
767 calling help-fns--autoloaded-p (bug#17564).
768
769 2014-06-24 Juri Linkov <juri@jurta.org>
770
771 * desktop.el (desktop-auto-save-enable)
772 (desktop-auto-save-disable): New functions.
773 (desktop-save-mode, desktop-auto-save-timeout): Use them.
774 (desktop-read): Disable the autosave before loading the desktop,
775 and enable afterwards. (Bug#17351)
776
777 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
778
779 Fix some indentation problem with \; and pipes (bug#17842).
780 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
781 (sh-smie--default-forward-token, sh-smie--default-backward-token):
782 New functions.
783 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
784 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
785 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
786
787 2014-06-24 Eli Zaretskii <eliz@gnu.org>
788
789 * international/fontset.el (script-representative-chars):
790 Add representative characters for scripts added in Unicode 7.0.
791 (otf-script-alist): Synchronize with the latest registry of OTF
792 script tags.
793
794 * international/characters.el (char-script-table): Update for
795 scripts added and codepoint ranges changed in Unicode 7.0.
796
797 2014-06-23 Leo Liu <sdl.web@gmail.com>
798
799 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
800 tab-stop-list to nil. (Bug#16381)
801
802 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
803 (indent-rigidly-left-to-tab-stop)
804 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
805 (move-to-tab-stop): Change callers.
806
807 2014-06-22 Eli Zaretskii <eliz@gnu.org>
808
809 * skeleton.el (skeleton-insert): Yet another fix of the doc string
810 wrt behavior of \n as the first/last element of a skeleton.
811
812 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
813
814 * net/tramp-adb.el (tramp-adb-handle-process-file):
815 * net/tramp-sh.el (tramp-sh-handle-process-file):
816 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
817 the output buffer when DISPLAY is non-nil. (Bug#17815)
818
819 2014-06-21 Glenn Morris <rgm@gnu.org>
820
821 * play/landmark.el (landmark-move-down, landmark-move-up):
822 Fix 2007-10-20 change - preserve horizontal position.
823
824 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
825
826 Fix completion retrieval parsing (bug#17209).
827 * progmodes/python.el (python-mode):
828 (python-util-strip-string): New function.
829 (python-shell-completion-get-completions): Use it.
830
831 2014-06-21 Eli Zaretskii <eliz@gnu.org>
832
833 * skeleton.el (skeleton-insert): Fix last change.
834
835 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
836
837 Enhancements for outline integration (bug#17796).
838 * progmodes/python.el (python-mode): Properly set
839 outline-heading-end-regexp so that comments after colons for
840 defuns are supported.
841
842 2014-06-21 Eli Zaretskii <eliz@gnu.org>
843
844 * skeleton.el (skeleton-insert): Doc fix.
845
846 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
847
848 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
849 (smie-config-guess): Use smie-config-local so the rules are obeyed
850 (bug#17818).
851
852 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
853 since it's already done inside the loop (bug#17819).
854
855 2014-06-20 Martin Rudalics <rudalics@gmx.at>
856
857 * mouse.el (mouse-drag-line): Re-remove code initially removed
858 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
859 (Bug#17819).
860
861 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
862
863 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
864 align with the surrounding parent (bug#17721).
865
866 2014-06-20 Eli Zaretskii <eliz@gnu.org>
867
868 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
869 locally to nil.
870 (texinfo-insert-block, texinfo-insert-@end)
871 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
872 local setting of skeleton-end-newline by adding an explicit \n to
873 the skeletons where appropriate. (Bug#17801)
874
875 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
876
877 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
878 (smie-indent--hanging-p): Use it.
879 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
880
881 2014-06-20 Leo Liu <sdl.web@gmail.com>
882
883 * simple.el (read-quoted-char): Don't let help chars pop up help
884 buffer. (Bug#16617)
885
886 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
887
888 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
889 for | (bug#17621).
890
891 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
892
893 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
894 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
895 burping.
896
897 2014-06-18 Eli Zaretskii <eliz@gnu.org>
898
899 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
900 and later. (Bug#17790)
901
902 2014-06-18 Juri Linkov <juri@jurta.org>
903
904 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
905 to `soft'. (Bug#17554)
906
907 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
908
909 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
910 (bug#17737).
911
912 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
913
914 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
915 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
916
917 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
918
919 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
920 `unread-command-events'.
921
922 2014-06-14 Glenn Morris <rgm@gnu.org>
923
924 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
925 Replace delete-duplicates and mapcan by cl- versions throughout.
926 And cl-macroexpand-all by macroexpand-all.
927 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
928
929 2014-06-14 Eli Zaretskii <eliz@gnu.org>
930
931 * subr.el (posn-col-row): Doc fix. (Bug#17768)
932
933 2014-06-14 Juri Linkov <juri@jurta.org>
934
935 * bindings.el: Put `ascii-character' property on keypad keys
936 mapped to characters. (Bug#17759)
937
938 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
939
940 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
941 bumping forward into a closing paren (bug#17761).
942
943 * term/xterm.el (xterm--version-handler): Work around for OSX
944 Terminal.app (bug#17607).
945
946 2014-06-08 Glenn Morris <rgm@gnu.org>
947
948 * startup.el (initial-buffer-choice): Doc fix.
949 Reset :version (adding an option does not merit a :version bump).
950
951 * bookmark.el (bookmark-load):
952 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
953
954 2014-06-06 Juri Linkov <juri@jurta.org>
955
956 * desktop.el: Activate auto-saving on window configuration changes.
957 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
958 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
959 (desktop-auto-save-set-timer): Change REPEAT arg of
960 `run-with-idle-timer' from t to nil.
961 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
962
963 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
964
965 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
966 vc-hg-command (bug#17570).
967
968 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
969
970 * international/mule-cmds.el (ucs-names): Add special entry for BEL
971 (bug#17702).
972
973 2014-06-06 Glenn Morris <rgm@gnu.org>
974
975 * startup.el (window-setup-hook): Doc fix.
976
977 2014-06-05 Glenn Morris <rgm@gnu.org>
978
979 * emacs-lisp/package.el (package-check-signature)
980 (package-unsigned-archives): Doc fixes.
981
982 2014-06-03 Martin Rudalics <rudalics@gmx.at>
983
984 * window.el (display-buffer-use-some-window): Don't make window
985 used smaller than it was before (Bug#17671).
986
987 2014-06-03 Eli Zaretskii <eliz@gnu.org>
988
989 * menu-bar.el (menu-bar-open): Fix last change: use the PC
990 'redisplay' instead of '(sit-for 0)'.
991
992 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
993
994 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
995 regexp. (Bug#17653)
996
997 2014-06-03 Glenn Morris <rgm@gnu.org>
998
999 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1000
1001 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1002
1003 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1004
1005 2014-06-01 Eli Zaretskii <eliz@gnu.org>
1006
1007 * simple.el (keyboard-quit): Force update of mode lines, to remove
1008 the "Def" indicator, if we were defining a macro. (Bug#17615)
1009
1010 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
1011
1012 * minibuffer.el (minibuffer-force-complete-and-exit):
1013 Obey minibuffer-default (bug#17545).
1014
1015 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1016 (bug#17619).
1017
1018 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1019
1020 * subr.el (set-transient-map): Don't wait for some "nested"
1021 transient-map to finish if we're only supposed to be active for
1022 the next command (bug#17642).
1023
1024 2014-05-31 Leo Liu <sdl.web@gmail.com>
1025
1026 * emacs-lisp/gv.el (window-buffer, window-display-table)
1027 (window-dedicated-p, window-hscroll, window-point, window-start):
1028 Fix gv-expander. (Bug#17630)
1029
1030 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
1031
1032 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1033 clicks (bug#17633).
1034
1035 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1036 for the single comma, since ", " is *very* common in normal French text
1037 (bug#17643).
1038
1039 2014-05-30 Glenn Morris <rgm@gnu.org>
1040
1041 * emacs-lisp/package.el (package-check-signature)
1042 (package-unsigned-archives): Fix :version.
1043
1044 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1045
1046 * subr.el (sit-for): Don't run input-methods (bug#15614).
1047
1048 2014-05-28 Glenn Morris <rgm@gnu.org>
1049
1050 * cus-start.el: Fix some :version numbers.
1051
1052 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1053
1054 * simple.el (deactivate-mark): Set mark-active to nil even if
1055 deactivation is done via setting transient-mark-mode to nil,
1056 since one is buffer-local and the other is global.
1057
1058 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1059 there can't be more than 2 arguments (bug#17584).
1060
1061 2014-05-27 Glenn Morris <rgm@gnu.org>
1062
1063 * simple.el (filter-buffer-substring-functions)
1064 (filter-buffer-substring-function, buffer-substring-filters)
1065 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1066
1067 * minibuffer.el (completion-in-region-functions, completion-in-region)
1068 (completion--in-region): Doc fixes.
1069
1070 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1071 (expand-abbrev, abbrev--default-expand): Doc fixes.
1072
1073 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
1074
1075 Include sources used to create macuvs.h.
1076 * international/README: Refer to the Unicode Terms of Use rather
1077 than copying it bodily here, as that simplifies maintenance.
1078
1079 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1080
1081 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1082
1083 2014-05-25 Martin Rudalics <rudalics@gmx.at>
1084
1085 * window.el (window--dump-frame): Remove interactive
1086 specification.
1087
1088 2014-05-23 Glenn Morris <rgm@gnu.org>
1089
1090 * hippie-exp.el (he-line-search-regexp):
1091 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1092
1093 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1094
1095 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1096 to avoid errors when trying to create or visit a file foo.todo
1097 located outside to todo-directory, and to allow having such files
1098 without them being tied to Todo mode (bug#17482).
1099 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1100 (todo-archive-done-item, todo-find-filtered-items-file)
1101 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1102 (todo-category-completions, todo-read-category): When visiting a
1103 Todo file, make sure we're in the right mode and the buffer local
1104 variables are set.
1105 (todo-make-categories-list, todo-reset-nondiary-marker)
1106 (todo-reset-done-string, todo-reset-comment-string):
1107 After processing all Todo files, kill the buffers of those files that
1108 weren't being visited before the processing.
1109 (todo-display-as-todo-file, todo-add-to-buffer-list)
1110 (todo-visit-files-commands): Comment out.
1111 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1112 (auto-mode-alist): Remove add-to-list calls making Todo file
1113 extensions unrestrictedly tied to Todo modes.
1114
1115 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1116
1117 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1118 (advice-function-member-p): Tell it to check both names and functions
1119 (bug#17531).
1120 (advice--add-function): Adjust call accordingly.
1121
1122 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
1123
1124 * calendar/todo-mode.el: Miscellaneous bug fixes.
1125 (todo-delete-file): When deleting an archive but not its todo
1126 file, make sure to update the todo file's category sexp.
1127 (todo-move-category): Keep the moved category's name unless the
1128 file moved to already has a category with that name. If the
1129 numerically last category of the source file was moved, make the
1130 first category current to avoid selecting a nonexisting category.
1131 (todo-merge-category): Fix implementation to make merging to a
1132 category in another file work as documented. Eliminate now
1133 insufficient and unnecessary renaming of archive category, correct
1134 document string accordingly, and clarify it. If the numerically
1135 last category of the source file was merged, make the first
1136 category current to avoid selecting a nonexisting category.
1137 (todo-archive-done-item): When there are marked items and point
1138 happens to be on an unmarked item, ignore the latter. Don't leave
1139 point below last item after archiving marked items.
1140 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1141 from an archive with only one category deletes the archive only
1142 when the category is empty after unarchiving. Make sure the todo
1143 file's category sexp is updated.
1144 (todo-read-file-name): Allow an existing file name even when it is
1145 not required (todo-move-category needs this to work as documented).
1146 (todo-add-file): Call todo-validate-name to reject the name of an
1147 existing todo file (needed due to fix in todo-read-file-name).
1148 (todo-reset-nondiary-marker): Also reset in filtered items files.
1149 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1150 regexp filtered items files.
1151 (todo-reset-highlight-item): Also reset in filtered items files.
1152 Fix incorrect variable reference in document string.
1153
1154 2014-05-22 Glenn Morris <rgm@gnu.org>
1155
1156 * window.el (window--dump-frame): Avoid error in --without-x builds.
1157
1158 2014-05-21 Glenn Morris <rgm@gnu.org>
1159
1160 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1161
1162 2014-05-21 Eli Zaretskii <eliz@gnu.org>
1163
1164 * frame.el (set-frame-font): Doc fix.
1165
1166 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1167
1168 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
1169
1170 * emacs-lisp/package.el (package--download-one-archive):
1171 Use `write-region' instead of `save-buffer' to avoid running various
1172 hooks. (Bug#17155)
1173 (describe-package-1): Same. Insert newline at the end of the
1174 buffer if appropriate.
1175
1176 2014-05-20 Juri Linkov <juri@jurta.org>
1177
1178 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1179 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1180 Add more modifiers: meta, control, shift, hyper, super, alt.
1181 (Bug#17439)
1182
1183 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1184 to allow changing its value with `set-variable'.
1185
1186 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1187
1188 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1189 #; comments.
1190 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1191 New functions.
1192 (scheme-mode-variables): Set syntax-propertize-function instead of
1193 font-lock-syntactic-face-function.
1194 (scheme-font-lock-syntactic-face-function): Delete.
1195
1196 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1197
1198 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1199
1200 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1201 (bug#17392).
1202
1203 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1204
1205 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1206 for a temporary file name.
1207
1208 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1209
1210 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1211
1212 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1213
1214 * net/dbus.el (dbus-init-bus, dbus-call-method)
1215 (dbus-call-method-asynchronously, dbus-send-signal)
1216 (dbus-method-return-internal, dbus-method-error-internal):
1217 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1218
1219 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1220
1221 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1222 methods which do not have a doc string. (Bug#17490)
1223
1224 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1225 Stefan Monnier <monnier@iro.umontreal.ca>
1226
1227 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1228 suffix (bug#15419).
1229
1230 2014-05-14 Glenn Morris <rgm@gnu.org>
1231
1232 * vc/emerge.el (emerge-temp-file-prefix):
1233 Make pointless option obsolete.
1234 (emerge-temp-file-mode): Make non-functional option obsolete.
1235
1236 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1237
1238 * net/browse-url.el (browse-url):
1239 Use `unhandled-file-name-directory' when setting `default-directory',
1240 in order to circumvent stalled remote connections. (Bug#17425)
1241
1242 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1243
1244 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1245 into autoloading just because of a silly indirection.
1246
1247 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1248
1249 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1250
1251 2014-05-11 Glenn Morris <rgm@gnu.org>
1252
1253 * emacs-lisp/find-gc.el: Move to ../admin.
1254
1255 2014-05-10 Glenn Morris <rgm@gnu.org>
1256
1257 * printing.el (pr-version):
1258 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1259
1260 * net/browse-url.el (browse-url-mosaic):
1261 Create /tmp/Mosaic.PID as a private file.
1262
1263 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
1264
1265 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1266 (advice--member-p): If name is given, only compare the name.
1267 (advice--remove-function): Don't stop at the first match.
1268 (advice--normalize-place): New function.
1269 (add-function, remove-function): Use it.
1270 (advice--add-function): Pass the name, if any, to
1271 advice--remove-function.
1272
1273 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1274
1275 * electric.el (electric-indent-post-self-insert-function): Don't use
1276 `pos' after modifying the buffer (bug#17449).
1277
1278 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1279
1280 * subr.el (function-put): Add function.
1281
1282 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
1283
1284 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1285 Correct argument list to conform to todo-insert-item--basic.
1286
1287 2014-05-09 Glenn Morris <rgm@gnu.org>
1288
1289 * files.el (cd-absolute): Test if directory is accessible
1290 rather than executable. (Bug#17330)
1291
1292 * progmodes/compile.el (recompile):
1293 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1294
1295 2014-05-08 Juri Linkov <juri@jurta.org>
1296
1297 * dired.el (dired-check-switches, dired-switches-recursive-p):
1298 New functions. (Bug#17218)
1299 (dired-switches-escape-p, dired-move-to-end-of-filename):
1300 Use `dired-check-switches'.
1301 (dired-insert-old-subdirs, dired-build-subdir-alist)
1302 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1303
1304 2014-05-08 Glenn Morris <rgm@gnu.org>
1305
1306 * net/browse-url.el (browse-url-mosaic):
1307 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1308 This is CVE-2014-3423.
1309
1310 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1311
1312 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1313 (xterm-mouse--read-event-sequence-1000): Return nil if something
1314 looks fishy.
1315 (xterm-mouse-event): Propagate it.
1316 (xterm-mouse-translate-1): Handle it.
1317
1318 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
1319
1320 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1321 four slots of the parameter list are filled, make sure to pass it
1322 to the argument list of todo-insert-item--basic.
1323
1324 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1325
1326 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1327 Add optional `seen' argument to detect and break infinite loops.
1328
1329 2014-05-06 Eli Zaretskii <eliz@gnu.org>
1330
1331 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1332 (trace-unsafe, trace-use-tree): Make parentheses style be
1333 according to Emacs style.
1334
1335 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
1336
1337 * net/tramp-sh.el (tramp-remote-process-environment):
1338 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1339 Add :version entry.
1340 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1341 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
1342 extra "PSx=..." commands.
1343 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1344 (Bug#17295)
1345
1346 (tramp-uudecode): Replace the hard-coded temporary file name by a
1347 format specifier.
1348 (tramp-remote-coding-commands): Enhance docstring.
1349 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1350 name. (Bug#17415)
1351 This is CVE-2014-3424.
1352
1353 2014-05-06 Glenn Morris <rgm@gnu.org>
1354
1355 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1356 (find-gc-source-files): Update some names.
1357 (trace-call-tree): Simplify and update.
1358 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1359 This is CVE-2014-3422.
1360
1361 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1362
1363 * minibuffer.el (completion--try-word-completion): Revert fix for
1364 Bug#15980 (bug#17375).
1365
1366 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1367 Always store button numbers in the same way in xterm-mouse-last;
1368 Don't burp is xterm-mouse-last is not set as expected.
1369 Never return negative indices.
1370
1371 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
1372
1373 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1374 Backtrack one char if the global/char-literal var matcher hits
1375 inside a string. The next char could be the beginning of an
1376 expression expansion.
1377
1378 2014-05-05 Glenn Morris <rgm@gnu.org>
1379
1380 * help-fns.el (describe-function-1): Test for an autoload before a
1381 macro, since `macrop' works on autoloads. (Bug#17410)
1382
1383 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1384
1385 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1386
1387 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1388 Make sure the new point we return is within the new string (bug#17239).
1389
1390 2014-05-03 Eli Zaretskii <eliz@gnu.org>
1391
1392 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1393
1394 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1395
1396 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1397 Use nil rather than `default' for the "default" appearance (bug#17388).
1398 * vc/ediff-util.el (ediff-inferior-compare-regions)
1399 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1400 a misleading `default' value when it's really a boolean.
1401 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1402 overlay is not visible.
1403
1404 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1405
1406 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1407 (todo-menu): Uncomment and update.
1408
1409 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1410
1411 * calendar/todo-mode.el: Reimplement item editing to have the same
1412 basic user interface as item insertion, and make small UI and
1413 larger internal improvements to the latter.
1414 (todo-insert-item): Add reference to the Todo mode user manual to
1415 the documentation string.
1416 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1417 adjust all callers. Change signature to combine diary and
1418 nonmarking arguments. Incorporate functionality of deleted item
1419 copying command and add error checking. Remove detailed
1420 descriptions of the arguments from the documentation string, since
1421 this is treated in the Todo mode user manual.
1422 (todo-copy-item, todo-edit-multiline-item)
1423 (todo-edit-done-item-comment, todo-edit-item-header)
1424 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1425 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1426 (todo-edit-item-date-year, todo-edit-item-date-month)
1427 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1428 Remove.
1429 (todo-edit-item): Reimplement as wrapper command for
1430 todo-edit-item--next-key and make it distinguish done and not done
1431 todo items.
1432 (todo-edit-item--text): New function, replacing old command
1433 todo-edit-item and incorporating deleted commands
1434 todo-edit-multiline-item and todo-edit-done-item-comment.
1435 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1436 Use only numeric value of prefix argument. Remove detailed
1437 descriptions of the arguments from the documentation string, since
1438 this is treated in the Todo mode user manual.
1439 (todo-edit-item--diary-inclusion): New function, replacing old
1440 command todo-edit-item-diary-inclusion and incorporating and fixing
1441 functionality of deleted command todo-edit-item-diary-nonmarking,
1442 making sure to remove todo-nondiary-marker when adding
1443 diary-nonmarking-symbol.
1444 (todo-edit-category-diary-inclusion): Make sure to delete
1445 diary-nonmarking-symbol when adding todo-nondiary-marker.
1446 (todo-edit-category-diary-nonmarking): Fix indentation.
1447 (todo-insert-item--parameters): Group diary and nonmarking
1448 parameters together.
1449 (todo-insert-item--apply-args): Adjust to signature of
1450 todo-insert-item--basic and incorporate copy parameter.
1451 Make small code improvements.
1452 (todo-insert-item--next-param): Improve prompt and adjust it to
1453 new parameter grouping. Remove obsolete code.
1454 (todo-edit-item--param-key-alist)
1455 (todo-edit-item--date-param-key-alist)
1456 (todo-edit-done-item--param-key-alist): New defconsts.
1457 (todo-edit-item--prompt): New variable.
1458 (todo-edit-item--next-key): New function.
1459 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1460 Remove bindings of deleted commands.
1461
1462 2014-05-02 Leo Liu <sdl.web@gmail.com>
1463
1464 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1465
1466 2014-05-01 Glenn Morris <rgm@gnu.org>
1467
1468 * allout-widgets.el (allout-widgets-tally)
1469 (allout-decorate-item-guides):
1470 * menu-bar.el (menu-bar-positive-p):
1471 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1472 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1473 * progmodes/js.el (js--inside-param-list-p)
1474 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1475 * progmodes/prolog.el (region-exists-p):
1476 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1477 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1478 Doc fixes (replace `iff').
1479
1480 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1481
1482 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1483
1484 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1485
1486 * dired.el (dired-initial-position-hook, dired-initial-position):
1487 Doc string fixes.
1488
1489 2014-04-29 Glenn Morris <rgm@gnu.org>
1490
1491 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1492
1493 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
1494
1495 * faces.el (face-spec-recalc): Apply X resources only after the
1496 defface spec has been applied. Thus, X resources are no longer
1497 overridden by the defface spec which also fixes issues on win32 where
1498 the toolbar coloring was wrong because it is set through X resources
1499 and was (wrongfully) overridden. (Bug#16694)
1500
1501 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1502
1503 * textmodes/rst.el (electric-pair-pairs): Declare.
1504 (rst-mode): Set it (bug#17131).
1505
1506 2014-04-27 Juri Linkov <juri@jurta.org>
1507
1508 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1509 and `print-level' to nil. (Bug#17351)
1510
1511 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1512
1513 * battery.el (battery-update): Handle the case where battery
1514 status is "N/A" (bug#17319).
1515
1516 2014-04-24 Eli Zaretskii <eliz@gnu.org>
1517
1518 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1519 Use equal-including-properties to compare help-echo strings (bug#17331).
1520
1521 2014-04-24 Leo Liu <sdl.web@gmail.com>
1522
1523 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1524 Fix syntax for @. (Bug#17325)
1525
1526 2014-04-24 Daniel Colascione <dancol@dancol.org>
1527
1528 * emacs-lisp/cl.el (gv): Require gv early to break eager
1529 macro-expansion cycles.
1530
1531 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1532
1533 * simple.el (region-active-p): Check there's a mark (bug#17324).
1534
1535 * simple.el (completion-list-mode-map): Use choose-completion for the
1536 mouse binding as well (bug#17302).
1537 (completion-list-mode, completion-setup-function): Adjust docstring and
1538 echo area message accordingly.
1539 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1540 calling convention of choose-completion.
1541 * comint.el (comint-dynamic-list-completions):
1542 * term.el (term-dynamic-list-completions): Accept choose-completion.
1543
1544 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1545 &, |, +, - and * can't be a division (bug#17317).
1546
1547 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1548
1549 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1550 features on gnome-terminal (bug#16988).
1551
1552 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1553
1554 * dired.el (dired-insert-set-properties): Do not consider
1555 subdirectory headings and empty lines to be information that
1556 `dired-hide-details-mode' should hide. (Bug#17228)
1557
1558 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1559
1560 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1561 Remove test messages.
1562 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1563 and `target' twice.
1564
1565 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1566
1567 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1568 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1569
1570 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1571
1572 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
1573
1574 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1575 Set "IFS=" when using read builtin, in order to preserve spaces in
1576 the file name. Add test messages for hunting a bug on hydra.
1577 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1578
1579 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1580
1581 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1582 Don't prettify a word within a symbol.
1583
1584 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
1585
1586 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1587 possible.
1588
1589 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1590
1591 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1592 assignments such as "case=hello" (bug#17297).
1593
1594 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1595
1596 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1597 Do not autoload.
1598 (tramp-file-name-handler, tramp-completion-file-name-handler):
1599 Revert patch from 2014-04-10, it isn't necessary anymore.
1600 (tramp-autoload-file-name-handler)
1601 (tramp-register-autoload-file-name-handlers): New defuns.
1602 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1603 (tramp-register-file-name-handlers): Remove also
1604 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1605 Do not autoload its invocation, but eval it after loading of 'tramp.
1606
1607 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1608
1609 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1610
1611 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1612
1613 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
1614 was done (bug#17264).
1615 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
1616 comment to EOB.
1617
1618 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1619 here-documents (bug#17262).
1620
1621 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1622
1623 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1624 Provide doc strings, as required by snarf-documentation.
1625
1626 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1627
1628 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1629 arg of overlays-at. Use `invisible-p'.
1630
1631 * obsolete/lucid.el (extent-at):
1632 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1633 overlays-at.
1634 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1635
1636 2014-04-14 João Távora <joaotavora@gmail.com>
1637
1638 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1639 links. (Bug#17217).
1640
1641 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1642
1643 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1644 Use mapc to loop over a vector. (Bug#17257).
1645
1646 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
1647
1648 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1649 patch, there are new problems with file names containing spaces.
1650 Get rid of backticks. (Bug#17238)
1651
1652 2014-04-13 João Távora <joaotavora@gmail.com>
1653
1654 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1655 possible bug.
1656
1657 2014-04-13 Eli Zaretskii <eliz@gnu.org>
1658
1659 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1660 (blink-cursor-mode): Mention customization variables and the
1661 effect of 'blink-cursor-blinks'.
1662
1663 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
1664
1665 * simple.el (undo): Prevent insertion of identity mapping into
1666 undo-equiv-table so as undo-only does not inf loop in the presence
1667 of consecutive nils in undo list.
1668
1669 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1670
1671 * faces.el (make-face): Deprecate optional argument as it is no
1672 longer needed/used since the conditional X resources handling
1673 has been pushed down to make-face-x-resource-internal itself.
1674 (make-empty-face): Don't pass optional argument to make-face.
1675
1676 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1677
1678 * international/characters.el <standard-case-table>: Add entries
1679 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1680 Set category of Coptic characters be 'g' (Greek).
1681
1682 2014-04-12 Leo Liu <sdl.web@gmail.com>
1683
1684 * progmodes/octave.el (completion-table-with-cache): Define if not
1685 available.
1686 (octave-goto-function-definition)
1687 (octave-sync-function-file-names)
1688 (octave-find-definition-default-filename): Backquote upattern for
1689 compatibility.
1690
1691 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1692
1693 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1694 name twice due to backticks. (Bug#17238)
1695
1696 2014-04-11 Glenn Morris <rgm@gnu.org>
1697
1698 * term/w32-win.el (x-win-suspend-error):
1699 * term/x-win.el (x-win-suspend-error): Sync docs.
1700
1701 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1702
1703 Ediff's overlay priorities cause more trouble than they solve.
1704 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1705 (ediff-highest-priority): Remove function (bug#17234).
1706 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1707 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1708 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1709 overlay priorities.
1710
1711 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
1712
1713 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1714 entry; use symbol boundaries to avoid mis-matches.
1715
1716 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
1717
1718 * net/tramp.el (tramp-file-name-handler)
1719 (tramp-completion-file-name-handler): Avoid recursive loading.
1720
1721 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1722 Quote result also locally.
1723
1724 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1725
1726 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1727 Module methods. (Bug#17216)
1728
1729 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1730
1731 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1732 (describe-bindings-internal): Mark obsolete.
1733
1734 2014-04-07 João Távora <joaotavora@gmail.com>
1735
1736 * elec-pair.el:
1737 (electric-pair--syntax-ppss): When inside comments parse from
1738 comment beginning.
1739 (electric-pair--balance-info): Fix typo in comment.
1740 (electric-pair--in-unterminated-string-p): Delete.
1741 (electric-pair--unbalanced-strings-p): New function.
1742 (electric-pair-string-bound-function): New var.
1743 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1744 according to `electric-pair--in-unterminated-string-p'
1745
1746 2014-04-07 João Távora <joaotavora@gmail.com>
1747
1748 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1749 Inhibit quote pairing if point-max is inside an unterminated string.
1750 (electric-pair--looking-at-unterminated-string-p): Delete.
1751 (electric-pair--in-unterminated-string-p): New function.
1752
1753 2014-04-07 Glenn Morris <rgm@gnu.org>
1754
1755 * shell.el (shell-directory-tracker):
1756 Go back to just ignoring failures. (Bug#17159)
1757
1758 2014-04-06 João Távora <joaotavora@gmail.com>
1759
1760 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1761 backspace. (bug#16981)
1762 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1763 (electric-pair-backward-delete-char-untabify): Delete.
1764 (electric-pair-mode-map): Bind backspace to a menu item filtering
1765 a new `electric-pair-delete-pair' command.
1766 (electric-pair-delete-pair): New command.
1767
1768 2014-04-06 João Távora <joaotavora@gmail.com>
1769
1770 * progmodes/python.el (python-electric-pair-string-delimiter):
1771 Fix triple-quoting electricity. (Bug#17192)
1772
1773 2014-04-06 João Távora <joaotavora@gmail.com>
1774
1775 * elec-pair.el (electric-pair-post-self-insert-function):
1776 Don't skip whitespace when `electric-pair-text-pairs' and
1777 `electric-pair-pairs' were used. syntax to
1778 electric-pair--skip-whitespace. (Bug#17183)
1779
1780 2014-04-06 Eli Zaretskii <eliz@gnu.org>
1781
1782 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1783 "<F>". (Bug#17199)
1784
1785 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1786
1787 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1788 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1789
1790 2014-04-05 Glenn Morris <rgm@gnu.org>
1791
1792 * help.el (view-lossage): Doc tweak.
1793
1794 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
1795
1796 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1797 only when inhibit-x-resources is nil, and do that earlier in the
1798 function. Doc fix. (Bug#16694)
1799 (face-spec-choose): Accept additional optional argument, whose
1800 value is returned if no matching attributes are found.
1801 (face-spec-recalc): Use the new optional argument when calling
1802 face-spec-choose. (Bug#16378)
1803 (make-face-x-resource-internal): Do nothing when
1804 inhibit-x-resources is non-nil. Don't touch the default face if
1805 reversed video is given--as was done in previous versions of Emacs.
1806 (face-set-after-frame-default): Don't call
1807 make-face-x-resource-internal here. (Bug#16434)
1808
1809 2014-04-04 Tassilo Horn <tsdh@gnu.org>
1810
1811 * doc-view.el (doc-view-bookmark-jump):
1812 Use `bookmark-after-jump-hook' to jump to the right page after the
1813 buffer is shown in a window. (bug#16090)
1814
1815 2014-04-04 Eli Zaretskii <eliz@gnu.org>
1816
1817 * international/characters.el (mirroring): Fix last change:
1818 instead of loading uni-mirrored.el explicitly, do that implicitly
1819 by creating the 'mirroring' uniprop table. This avoids announcing
1820 the loading of uni-mirrored.el.
1821
1822 2014-04-04 Glenn Morris <rgm@gnu.org>
1823
1824 * files.el (buffer-stale--default-function)
1825 (buffer-stale-function, revert-buffer--default):
1826 * autorevert.el (auto-revert-buffers): Doc tweaks.
1827
1828 2014-04-03 Eli Zaretskii <eliz@gnu.org>
1829
1830 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1831
1832 2014-04-03 Glenn Morris <rgm@gnu.org>
1833
1834 * files.el (make-backup-file-name-function)
1835 (make-backup-file-name, make-backup-file-name--default-function)
1836 (make-backup-file-name-1, find-backup-file-name)
1837 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1838 (buffer-stale--default-function, buffer-stale-function)
1839 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1840 (revert-buffer, revert-buffer--default)
1841 (revert-buffer-insert-file-contents--default-function):
1842 Doc fixes related to defaults no longer being nil.
1843 (make-backup-file-name-function): Bump :version.
1844 Restore nil as a valid but deprecated custom type.
1845
1846 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1847
1848 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
1849 used as a variable (bug#17174).
1850
1851 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1852
1853 * progmodes/perl-mode.el (perl-indent-new-calculate):
1854 Handle forward-sexp failure (bug#16985).
1855 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1856 modifiers introducing expressions (bug#17116).
1857
1858 2014-04-02 Glenn Morris <rgm@gnu.org>
1859
1860 * menu-bar.el (menu-bar-file-menu):
1861 * vc/ediff.el (ediff-current-file):
1862 Update for revert-buffer-function no longer being nil by default.
1863
1864 * simple.el (command-execute): Respect nil disabled-command-function.
1865
1866 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1867
1868 * simple.el (command-execute): Do not execute the command when it
1869 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1870
1871 2014-03-29 Juri Linkov <juri@jurta.org>
1872
1873 * dired-aux.el (dired-compress-file): Don't use string-match-p
1874 because its match data is used afterwards.
1875
1876 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1877
1878 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1879 0 like nil.
1880
1881 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1882
1883 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1884 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1885
1886 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1887 Don't propertize `?' or `!' as symbol constituent when after
1888 colon. (Bug#17097)
1889
1890 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1891
1892 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1893 which is no longer needed and causes trouble in GTK builds (bug#17046).
1894
1895 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1896 Use url-insert-file-contents; package-handle-response no longer exists.
1897
1898 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1899
1900 * emacs-lisp/package.el: Fix bug#16733 (again).
1901 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1902 (url-http-target-url): Remove unused declarations.
1903 (package-handle-response): Remove.
1904 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1905 (package--download-one-archive): Use current-buffer instead of
1906 dynamic binding of `buffer'.
1907 (describe-package-1): Do not decode readme-string.
1908
1909 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
1910
1911 * simple.el (primitive-undo): Correction to 2014-03-24 change.
1912
1913 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
1914
1915 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1916
1917 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1918 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1919 `remote-file-name-inhibit-cache' to nil in the second pass.
1920 (tramp-find-executable): Do not call "which" on SunOS.
1921 (tramp-send-command-and-check): Fix docstring.
1922 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1923 check whether source directory has set the sticky bit.
1924
1925 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
1926
1927 * simple.el (primitive-undo): Only process marker adjustments
1928 validated against their corresponding (TEXT . POS). Issue warning
1929 for lone marker adjustments in undo history. (Bug#16818)
1930 (undo-make-selective-list): Add marker adjustments to selective
1931 undo list based on whether their corresponding (TEXT . POS) is in
1932 the region. Remove variable adjusted-markers, which was unused
1933 and only non nil during undo-make-selective-list.
1934 (undo-elt-in-region): Return nil when passed a marker adjustment
1935 and explain in function doc.
1936
1937 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1938
1939 * emacs-lisp/package.el (package--add-to-archive-contents):
1940 Include already installed and built-in packages in
1941 `package-archive-contents'.
1942 (package-install): Don't include already installed packages in the
1943 options during interactive invocation. (Bug#16762)
1944
1945 2014-03-24 Daniel Colascione <dancol@dancol.org>
1946
1947 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1948 instead of cl-loop search function.
1949
1950 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
1951
1952 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1953
1954 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1955
1956 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1957
1958 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1959
1960 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1961 Match special global variables without curlies, too.
1962 (ruby-font-lock-keywords): Simplify the matcher for special global
1963 variables. Don't require a non-word character after the variable.
1964 (Bug#17057)
1965
1966 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1967
1968 * simple.el (redisplay-highlight-region-function): Increase priority of
1969 overlay to make sure boundaries are visible (bug#15899).
1970
1971 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1972
1973 * frameset.el (frameset-restore): Compare display strings with equal.
1974
1975 * frame.el (make-frame): Don't quote display name in error message,
1976 it is already a string.
1977
1978 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1979
1980 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1981 the password.
1982
1983 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
1984
1985 * emacs-lisp/package.el (package-show-package-list): If the buffer
1986 is already displayed in another window, switch to that window.
1987
1988 2014-03-21 Daniel Colascione <dancol@dancol.org>
1989
1990 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1991 information in bug reports.
1992
1993 2014-03-23 Daniel Colascione <dancol@dancol.org>
1994
1995 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1996 list to look for keyword arguments instead of `memq', fixing
1997 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1998 Please make bootstrap.
1999
2000 2014-03-23 Richard Stallman <rms@gnu.org>
2001
2002 * battery.el (battery-linux-sysfs): Search for each field
2003 from the beginning of the buffer.
2004
2005 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2006
2007 * emacs-lisp/package.el (package-desc): Use the contents of the
2008 quoted form, not its cdr. (Bug#16873)
2009
2010 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2011
2012 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2013 benefit of doc.c; change parameter profile to match the X function.
2014
2015 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2016
2017 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2018 and `tramp-copy-env'.
2019
2020 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2021 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2022
2023 2014-03-21 Glenn Morris <rgm@gnu.org>
2024
2025 * electric.el (electric-indent-post-self-insert-function): Add doc.
2026
2027 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2028
2029 * emacs-lisp/package.el (package-compute-transaction):
2030 Use `version-list-<=' to compare the requirement version against
2031 the version of package already to be installed. Update the error
2032 message. (Bug#16826)
2033
2034 * progmodes/ruby-mode.el (ruby-smie-rules):
2035 Add indentation rule for ` @ '. (Bug#17050)
2036
2037 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2038
2039 * align.el (align-regexp): Remove superfluous backslash.
2040
2041 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2042 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2043 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2044 Fix docstring typos.
2045 (ffap-next): Use C-u in docstring.
2046 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2047 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2048 Remove superfluous backslashes.
2049 (ffap-string-at-point): Reflow docstring.
2050
2051 * server.el (server-host): Reflow docstring.
2052 (server-unload-function): Fix docstring typo.
2053 (server-eval-at): Remove superfluous backslash.
2054
2055 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2056 (skeleton-insert): Doc fix.
2057 (skeleton-insert): Reflow docstring.
2058
2059 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2060 (tty-color-approximate, tty-color-by-index, tty-color-values)
2061 (tty-color-desc): Remove superfluous backslashes.
2062
2063 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2064
2065 * electric.el (electric-newline-and-maybe-indent): New command.
2066 Bind it globally to C-j.
2067 (electric-indent-mode): Don't mess with the global map any more.
2068 Don't drop the post-self-insert-hook is some buffer is still using it
2069 (bug#16770).
2070
2071 * bindings.el (global-map): Remove C-j binding.
2072
2073 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2074 the docstring of functions advised before dumping (bug#16993).
2075
2076 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2077
2078 * ps-print.el (ps-generate-postscript-with-faces):
2079 Explicitly deactivate the mark (bug#16866).
2080 * simple.el (deactivate-mark): Update region highlight.
2081
2082 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2083
2084 * emacs-lisp/package.el (describe-package-1):
2085 Decode commentary (bug#16733).
2086
2087 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2088
2089 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2090 modification of the value argument of :set (bug#16755).
2091
2092 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2093
2094 * simple.el (newline-and-indent): Do autofill (bug#17031).
2095
2096 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2097
2098 * newcomment.el (comment-normalize-vars): Only add escaping check
2099 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2100 (comment-beginning): Use `narrow-to-region' instead of moving back
2101 one character.
2102 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2103 (comment-start-skip): Update the docstring.
2104
2105 2014-03-18 Richard Stallman <rms@gnu.org>
2106
2107 * dired.el (dired-display-file): Force use of other window.
2108
2109 2014-03-18 Daniel Colascione <dancol@dancol.org>
2110
2111 * startup.el (tty-handle-args): Remove debug message from 2007.
2112
2113 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2114
2115 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2116 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2117 (advice--make-1, advice-add, advice-remove):
2118 Remove braindead :advice-pending hack.
2119
2120 2014-03-17 Glenn Morris <rgm@gnu.org>
2121
2122 * calendar/calendar.el (calendar-generate-month): Apply weekend
2123 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2124
2125 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2126
2127 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2128 (tramp-call-process): Trace also DESTINATION.
2129
2130 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2131 Quote file names when they are local. Remove superfluous trace.
2132
2133 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2134
2135 * newcomment.el (comment-beginning): If `comment-start-skip'
2136 doesn't match, move back one char and try again. (Bug#16971)
2137
2138 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2139 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2140 Set `comment-start-skip' to a simpler value that doesn't try to
2141 check if the semicolon is escaped (this is handled by
2142 `syntax-ppss' now). (Bug#16971)
2143
2144 * progmodes/scheme.el (scheme-mode-variables): Same.
2145
2146 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2147
2148 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2149 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2150 current (Bug#16816, Bug#17007).
2151 (with-current-buffer-window): New macro doing the same as
2152 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2153 * help.el (help-print-return-message): Warn in doc-string to not
2154 use this in `with-help-window'.
2155 (describe-bindings-internal): Call `describe-buffer-bindings'
2156 from within help buffer. See Juanma's scenario in (Bug#16816).
2157 (with-help-window): Update doc-string.
2158 * dired.el (dired-mark-pop-up):
2159 * files.el (save-buffers-kill-emacs):
2160 * register.el (register-preview): Use `with-current-buffer-window'
2161 instead of `with-temp-buffer-window'.
2162
2163 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2164
2165 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2166 Implement inserting into current buffer, documented in their docstrings.
2167 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2168 (rst-section-tree-point, rst-forward-section, rst-indent)
2169 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2170 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2171 (rst-font-lock-handle-adornment-pre-match-form)
2172 (rst-repeat-last-character): Reflow docstrings.
2173 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2174 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2175 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2176 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2177 Fix docstring typos.
2178 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2179 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2180 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2181
2182 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2183
2184 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2185 for compatibility with other ports.
2186 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2187 from the -xrm command line argument, but in the Nextstep port its value
2188 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2189
2190 * progmodes/python.el (defconst, python-syntax-count-quotes)
2191 (python-indent-region, python-indent-shift-right)
2192 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2193 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2194 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2195 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2196 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2197 (python-shell-buffer-substring, python-shell-send-buffer)
2198 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2199 (python-completion-complete-at-point, python-fill-docstring-style)
2200 (python-eldoc-function, python-imenu-format-item-label)
2201 (python-imenu-format-parent-item-label)
2202 (python-imenu-format-parent-item-jump-label)
2203 (python-imenu--build-tree, python-imenu-create-index)
2204 (python-imenu-create-flat-index): Fix docstring typos.
2205 (python-indent-context, python-shell-prompt-regexp, run-python):
2206 Remove superfluous backslashes.
2207 (python-indent-line, python-nav-beginning-of-defun)
2208 (python-shell-get-buffer, python-shell-get-process)
2209 (python-info-current-defun, python-info-current-line-comment-p)
2210 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2211 (python-indent-post-self-insert-function, python-shell-send-file)
2212 (python-shell-completion-get-completions)
2213 (python-shell-completion-complete-or-indent)
2214 (python-eldoc--get-doc-at-point): Reflow docstrings.
2215
2216 2014-03-14 Glenn Morris <rgm@gnu.org>
2217
2218 * emacs-lisp/package.el (package-menu-mode-map):
2219 Replace use of obsolete function alias. Tweak menu item text.
2220
2221 * info.el (Info-finder-find-node):
2222 Ignore the `emacs' metapackage. (Bug#10813)
2223
2224 * finder.el (finder-list-matches): Include unversioned packages
2225 in the result of a keyword search.
2226
2227 * finder.el (finder--builtins-descriptions): New constant.
2228 (finder-compile-keywords): Use finder--builtins-descriptions.
2229
2230 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2231
2232 * simple.el (blink-matching-paren): Describe the new value,
2233 `jump', enabling the old behavior.
2234 (blink-matching-open): Use that value. (Bug#17008)
2235
2236 2014-03-14 Glenn Morris <rgm@gnu.org>
2237
2238 * finder.el (finder-no-scan-regexp): Add leim-list.
2239 (finder-compile-keywords):
2240 Don't skip files with same basename. (Bug#14010)
2241 * Makefile.in (setwins_finder): New, excluding leim.
2242 (finder-data): Use setwins_finder.
2243
2244 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2245 (help-function-arglist, help-make-usage): Move from here...
2246 * help.el (help-split-fundoc, help-add-fundoc-usage)
2247 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2248 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2249
2250 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2251
2252 * net/socks.el (socks, socks-override-functions)
2253 (socks-find-services-entry):
2254 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2255 (hif-find-ifdef-block):
2256 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2257
2258 * net/tls.el (tls-program): Reflow docstring.
2259
2260 * progmodes/pascal.el (pascal-mode-abbrev-table)
2261 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2262 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2263 (pascal-outline-mode): Fix docstring typos.
2264 (pascal-mode): Let define-derived-mode document mode hook.
2265 (pascal-uncomment-area): Reflow.
2266 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2267
2268 * progmodes/opascal.el (opascal-compound-block-indent)
2269 (opascal-case-label-indent): Fix docstring typos.
2270 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2271
2272 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2273
2274 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2275 Fontify multiple adjacent negation chars. (Bug#17004)
2276
2277 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2278
2279 * emacs-lisp/package.el (package--prepare-dependencies):
2280 Accept requirements without explicit version (bug#14941).
2281
2282 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2283
2284 * register.el (register-separator, copy-to-register): Doc fixes.
2285 (register-preview-default): Remove unnecessary call to concat.
2286
2287 * frameset.el (frameset-restore): When checking for a visible frame,
2288 use the action map instead of calling visible-frame-list.
2289
2290 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2291
2292 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2293
2294 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2295
2296 * window.el (fit-frame-to-buffer): Get maximum width from
2297 display's width instead of height.
2298
2299 2014-03-12 Glenn Morris <rgm@gnu.org>
2300
2301 * desktop.el (desktop-restore-frames)
2302 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2303 (desktop-restore-reuses-frames): Doc tweaks.
2304
2305 * electric.el (electric-indent-mode): Doc fix.
2306
2307 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2308
2309 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2310 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2311 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2312 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2313 (cvs-dired-use-hook): Fix docstring typos.
2314 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2315 Doc fixes.
2316
2317 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2318 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2319 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2320 (cvs-execute-single-dir): Fix docstring typos.
2321
2322 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2323 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2324
2325 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2326
2327 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2328 Fix docstring typos.
2329
2330 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2331
2332 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2333 called from jump-to-register after unloading the frameset package.
2334
2335 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2336
2337 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2338 (bug#16975). Deactivate the mark before setting it to nil.
2339 (activate-mark): Do nothing if region is already active.
2340
2341 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2342
2343 * frameset.el (frameset--target-display): Remove definition; declare.
2344 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2345
2346 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2347
2348 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2349 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2350 when the advice is pending.
2351 (advice-remove): Remove this marker when not needed any more.
2352
2353 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2354
2355 * frameset.el: Separate options for reusing frames and cleaning up.
2356 (frameset--reuse-list): Remove definition; declare.
2357 (frameset--action-map): Declare.
2358 (frameset--find-frame-if): Doc fix.
2359 (frameset--restore-frame): Cache frame action.
2360 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2361 how to clean up the frame list after restoring. Remove cleaning
2362 options from REUSE-FRAMES. Change all keyword values to symbols.
2363 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2364
2365 * desktop.el (desktop-restore-forces-onscreen)
2366 (desktop-restore-reuses-frames): Use non-keyword values.
2367 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2368
2369 2014-03-10 Glenn Morris <rgm@gnu.org>
2370
2371 * files.el (find-file): Doc fix: update info node name.
2372
2373 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2374 Doc fix: remove references to deleted info nodes.
2375
2376 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2377
2378 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2379 Do not add `nil' to the environment, when there's no remote `locale'.
2380 (tramp-find-inline-encoding): Check, that the remote host has
2381 installed perl, before sending scripts.
2382
2383 2014-03-10 Leo Liu <sdl.web@gmail.com>
2384
2385 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2386 Clear eldoc-last-message. (Bug#16920)
2387
2388 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2389
2390 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2391 (bug#14430).
2392
2393 2014-03-09 Juri Linkov <juri@jurta.org>
2394
2395 * ansi-color.el (ansi-color-names-vector): Copy default colors
2396 from `xterm-standard-colors' that look well on the default white
2397 background (and also on the black background) to avoid illegible
2398 color combinations like yellow-on-white and white-on-white.
2399 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2400
2401 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2402
2403 * frameset.el (frameset-restore): When no frame is visible, do not
2404 generate a list of frames, just make visible the selected one.
2405
2406 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2407
2408 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2409 it only contains the repository root. (Bug#16897)
2410
2411 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2412
2413 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2414 only when `remote-file-name-inhibit-cache' is nil.
2415 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2416
2417 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2418
2419 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2420 Fix doc-strings.
2421 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2422 fit-frame-to-buffer variable. Fix doc-string.
2423 (fit-window-to-buffer): Set ONLY argument in call of
2424 fit-frame-to-buffer. Fix doc-string.
2425
2426 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2427
2428 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2429 (tramp-action-password): Clear password cache if needed.
2430 (tramp-read-passwd): Do not clear password cache.
2431
2432 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2433 cache unless it is the first password request.
2434
2435 2014-03-06 Glenn Morris <rgm@gnu.org>
2436
2437 * simple.el (newline): Doc tweak.
2438
2439 * emacs-lisp/shadow.el (load-path-shadows-find):
2440 Ignore dir-locals. (Bug#12357)
2441
2442 2014-03-05 Glenn Morris <rgm@gnu.org>
2443
2444 * files.el (interpreter-mode-alist):
2445 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2446
2447 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2448
2449 * frameset.el (frameset--initial-params): Filter out null entries.
2450
2451 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2452
2453 * window.el (window-min-height, window-min-width):
2454 Rewrite doc-strings.
2455 (window-body-size): Add PIXELWISE argument to make it consistent
2456 with its callees.
2457
2458 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2459
2460 * finder.el (finder-mode-map, finder-mode-syntax-table):
2461 Revert part of 2014-02-28 change.
2462
2463 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2464
2465 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2466 (eww-setup-buffer): Clear next/prev/etc more reliably.
2467 (eww-textarea-map): [tab] doesn't work on tty.
2468 Reported by Mario Lang.
2469
2470 * net/shr.el (shr-map): Ditto.
2471
2472 2014-03-04 Glenn Morris <rgm@gnu.org>
2473
2474 * minibuffer.el (completion-hilit-commonality):
2475 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2476
2477 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2478
2479 * hilit-chg.el (hilit-chg-unload-function): New function.
2480 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2481 (hilit-chg-map-changes): Prefer cardinal number to digit.
2482 (hilit-chg-display-changes): Reflow docstring.
2483 (highlight-changes-rotate-faces): Remove superfluous backslash.
2484
2485 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2486
2487 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2488 `tramp-send-command-and-check'.
2489
2490 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2491
2492 * hexl.el (hexl-address-region, hexl-ascii-region)
2493 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2494 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2495 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2496 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2497 (hexl-mode): Doc fix.
2498 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2499 (hexl-mode-ruler): Fix typos in docstrings.
2500
2501 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2502 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2503 Remove superfluous backslashes.
2504 (strokes-last-stroke, strokes-global-map, strokes-mode):
2505 Reflow docstrings.
2506 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2507 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2508 (strokes-distance-squared, strokes-global-set-stroke)
2509 (strokes-global-set-stroke-string): Doc fixes.
2510 (strokes-help): Fix typos; reflow docstring.
2511
2512 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2513
2514 * window.el (window-in-direction): Fix doc-string.
2515
2516 2014-03-04 Glenn Morris <rgm@gnu.org>
2517
2518 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2519 Explicit error if no grammar.
2520 (smie-config-save): Doc fix. Fix quote typo.
2521
2522 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2523
2524 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2525 electric-indent-mode-hook if we obey electric-indent-mode.
2526 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2527 decide whether we obey electric-indent-mode.
2528 (c-change-set-fl-decl-start, c-extend-after-change-region):
2529 Silence warnings.
2530 (c-electric-indent-mode-hook): Assume we do want to obey
2531 electric-indent-mode.
2532
2533 * electric.el (electric-indent-mode-has-been-called): Remove.
2534 (electric-indent-mode): Fix accordingly.
2535
2536 * files.el (hack-local-variables): Mention file name in warning.
2537
2538 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2539
2540 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2541
2542 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2543 * simple.el (delete-forward-char): Mark as interactive-only.
2544
2545 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2546
2547 * icomplete.el (icomplete-completions):
2548 Follow-up to 2014-03-01 change.
2549
2550 * icomplete.el: Miscellaneous doc fixes.
2551 Use Icomplete everywhere instead of icomplete for consistency.
2552 (icomplete-max-delay-chars): Fix typo.
2553 (icomplete-mode): Use \[].
2554 (icomplete-tidy, icomplete-exhibit): Reflow.
2555 (icomplete-minibuffer-setup-hook, icomplete-completions):
2556 Remove superfluous backlashes.
2557
2558 * ido.el: Miscellaneous doc fixes.
2559 Use Ido everywhere instead of ido or `ido' for consistency.
2560 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2561 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2562 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2563 (ido-separator): Extract obsolescence info from docstring and declare
2564 with make-obsolete-variable.
2565 (ido-minibuffer-setup-hook): Simplify example.
2566 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2567 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2568 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2569 (ido-everywhere): Reflow docstring.
2570 (ido-toggle-vc): Doc fix.
2571 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2572 of long list of keybindings.
2573
2574 2014-03-03 Glenn Morris <rgm@gnu.org>
2575
2576 * frame.el (display-pixel-height, display-pixel-width)
2577 (display-mm-dimensions-alist, display-mm-height)
2578 (display-mm-width): Doc tweaks.
2579
2580 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2581
2582 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2583 case of undo in region.
2584
2585 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2586
2587 * window.el (fit-window-to-buffer): Fix argument in window-size
2588 call when window is horizontally combined.
2589
2590 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2591
2592 * icomplete.el (icomplete-completions): Use string-width.
2593 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2594
2595 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2596
2597 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2598 Highlight regexp options. (Bug#16914)
2599
2600 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2601
2602 * window.el (window--max-delta-1): Round down when calculating
2603 how many lines/columns we can get from a window.
2604
2605 2014-03-01 Glenn Morris <rgm@gnu.org>
2606
2607 * isearch.el (search-invisible): Doc fix.
2608
2609 * minibuffer.el (completion-hilit-commonality):
2610 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2611 * comint.el (comint-dynamic-list-completions): Doc fix.
2612 * comint.el (comint-dynamic-list-completions):
2613 * filecache.el (file-cache-minibuffer-complete):
2614 * tempo.el (tempo-display-completions):
2615 * eshell/em-hist.el (eshell-list-history):
2616 Replace use of obsolete argument of display-completion-list.
2617
2618 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2619
2620 * icomplete.el (icomplete-completions):
2621 Revert back to using "..." when ?… cannot be displayed.
2622
2623 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2624
2625 * finder.el (finder-unload-function): New function.
2626
2627 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2628
2629 * dframe.el (dframe-detach):
2630 * find-dired.el (find-dired, find-name-dired):
2631 * finder.el (finder-mode-map, finder-mode-syntax-table)
2632 (finder-headmark, finder-select, finder-mouse-select):
2633 Fix docstring typos.
2634
2635 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2636
2637 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2638 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2639 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2640 Fix doc-string based on a suggestion by Nicolas Richard
2641 <theonewiththeevillook@yahoo.fr>.
2642 * help.el (with-help-window): Fix doc-string.
2643
2644 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2645
2646 * net/shr.el (shr-image-animate): New option.
2647 (shr-put-image): Respect shr-image-animate.
2648
2649 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2650
2651 * net/tramp-adb.el (tramp-adb-parse-device-names):
2652 Use `accept-process-output'.
2653 (tramp-adb-handle-file-truename): Cache the localname only.
2654 (tramp-adb-handle-make-directory)
2655 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2656 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2657 modes cannot be changed.
2658
2659 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2660 file properties of symlinks.
2661
2662 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2663
2664 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2665 required/optional fields to match development biblatex. (Bug#16781)
2666
2667 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2668
2669 * saveplace.el (toggle-save-place):
2670 Fix argument handling. (Bug#16673)
2671
2672 2014-02-28 Glenn Morris <rgm@gnu.org>
2673
2674 * minibuffer.el (completions-first-difference)
2675 (completions-common-part, completion-hilit-commonality): Doc fixes.
2676
2677 2014-02-28 Karl Berry <karl@gnu.org>
2678
2679 * info.el (Info-mode-map): Add H for describe-mode,
2680 to synchronize with standalone Info.
2681
2682 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2683
2684 * progmodes/sql.el (sql-interactive-mode):
2685 Avoid setting global comint-input-ring-separator. (Bug#16814)
2686
2687 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2688
2689 * net/dbus.el (dbus--init-bus): Declare function.
2690 (dbus-path-local, dbus-interface-local): New defconst.
2691 (dbus-init-bus): Use them.
2692 (dbus-return-values-table): Extend doc.
2693 (dbus-handle-bus-disconnect): Extend error message.
2694
2695 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2696
2697 * subr.el (y-or-n-p): Fix double space issue in message.
2698
2699 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2700
2701 * net/tramp.el (tramp-call-process): Improve trace message.
2702 (tramp-handle-insert-file-contents): Trace error case.
2703
2704 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2705 <insert-directory>: Use `tramp-handle-insert-directory'.
2706 (tramp-adb-handle-insert-directory): Remove function.
2707 (tramp-adb-send-command-and-check): New defun, replacing
2708 `tramp-adb-command-exit-status'. Change all callees.
2709 (tramp-adb-handle-file-attributes)
2710 (tramp-adb-handle-directory-files-and-attributes): Use it.
2711 (tramp-adb-ls-output-name-less-p):
2712 Use `directory-listing-before-filename-regexp'.
2713 (tramp-adb-handle-delete-directory): Flush also file properties of
2714 the truename of directory.
2715 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2716 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2717 (tramp-adb-handle-write-region): Implement APPEND.
2718 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2719 properties correctly.
2720 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2721 variables. Check for connected devices only when needed.
2722
2723 2014-02-27 Glenn Morris <rgm@gnu.org>
2724
2725 * minibuffer.el (completion-table-dynamic)
2726 (completion-table-with-cache): Doc fixes.
2727
2728 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2729 (completing-read-multiple): Doc fixes.
2730
2731 2014-02-27 Daniel Colascione <dancol@dancol.org>
2732
2733 * minibuffer.el (completion--nth-completion): Fix indentation.
2734
2735 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2736 explicit tramp path is empty.
2737
2738 2014-02-27 Glenn Morris <rgm@gnu.org>
2739
2740 * emacs-lisp/crm.el (completing-read-multiple):
2741 Empower help-enable-auto-load.
2742
2743 2014-02-26 Glenn Morris <rgm@gnu.org>
2744
2745 * startup.el (command-line): Don't init the tty in daemon mode.
2746
2747 Avoid calling tty-setup-hook twice, eg if a term file
2748 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2749 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2750 (tty-create-frame-with-faces): Use it.
2751 * startup.el (command-line): Pass run-hook argument
2752 to tty-run-terminal-initialization.
2753
2754 * dired.el (dired-restore-desktop-buffer): Demote errors;
2755 eg in case a glob match fails. (Bug#16884)
2756
2757 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2758
2759 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2760 error from `read-from-string'. (Bug#16850)
2761
2762 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2763 result of `completing-read' in the interactive form. (Bug#16854)
2764
2765 2014-02-25 Glenn Morris <rgm@gnu.org>
2766
2767 * image.el (image-animate, image-animate-timeout):
2768 Stop animating images in dead buffers. (Bug#16878)
2769
2770 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2771
2772 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2773 Doc fixes.
2774 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2775 * term/sun.el (sun-raw-prefix-hooks):
2776 Use tty-setup-hook instead of term-setup-hook.
2777 (terminal-init-sun): Construct message from bytecomp plist.
2778 * term/wyse50.el (enable-arrow-keys): Doc fix.
2779
2780 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2781
2782 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2783 Fix docstring typos.
2784
2785 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2786
2787 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2788
2789 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2790
2791 * minibuffer.el (completion--try-word-completion):
2792 Fix error when completing M-x commands (bug#16808).
2793
2794 2014-02-24 Leo Liu <sdl.web@gmail.com>
2795
2796 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2797
2798 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2799
2800 * apropos.el (apropos-print): Avoid formatting error when
2801 apropos-do-all and apropos-compact-layout are both t.
2802
2803 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2804
2805 * apropos.el (apropos-property, apropos-all-words-regexp)
2806 (apropos-true-hit, apropos-variable, apropos-print):
2807 Fix docstring typos, and remove obsolete comment.
2808
2809 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2810
2811 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2812 Preserve trailing "/". (Bug#16851)
2813
2814 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2815
2816 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2817 after `=>' (bug#16811).
2818 (ruby-smie-rules): Handle the inconsistent second element of the
2819 list returned by `smie-indent--parent'.
2820 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2821 method call.
2822
2823 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2824
2825 * elec-pair.el (electric-pair-text-syntax-table)
2826 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2827 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2828 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2829 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2830
2831 2014-02-22 Glenn Morris <rgm@gnu.org>
2832
2833 * imenu.el (imenu--generic-function): Doc fix.
2834
2835 * register.el (frame-configuration-to-register): Make obsolete.
2836
2837 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2838
2839 * desktop.el (desktop-save-buffer-p): Do not fail when
2840 desktop-files-not-to-save is nil. Return t for true result
2841 as the doc says.
2842
2843 2014-02-22 Daniel Colascione <dancol@dancol.org>
2844
2845 * net/secrets.el (secrets-create-item, secrets-search-items):
2846 Check that attribute values are strings, avoiding the construction
2847 of invalid dbus messages.
2848
2849 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2850
2851 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2852 defun-declarations-alist.
2853
2854 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2855
2856 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2857 (bug#16829).
2858
2859 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2860
2861 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2862 (whitespace-newline, whitespace-trailing, whitespace-line)
2863 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2864 (whitespace-space-after-tab): Fix typo in docstrings.
2865
2866 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2867
2868 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2869
2870 * electric.el (electric-indent-functions-without-reindent):
2871 Add `yaml-indent-line'.
2872
2873 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2874
2875 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2876 It has done nothing for years; should be removed after the release.
2877
2878 * simple.el (choose-completion): Fix docstring typo.
2879 (read-quoted-char-radix): Remove unneeded * in docstring.
2880 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2881 Don't escape parentheses unnecessarily in docstrings.
2882
2883 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2884
2885 Fix handling of window-min-height/-width (Bug#16738).
2886 * window.el (window--dump-window, window--dump-frame):
2887 New functions.
2888 (window--min-size-1): Account for window dividers.
2889 When window-resize-pixelwise is nil, delay rounding till after the
2890 sum of the window components has been calculated.
2891 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2892 nil make sure at least one text line and two text columns remain
2893 fully visible.
2894 (window-resize): Signal an error when window-resize-apply fails.
2895 (window--resize-child-windows): Fix calculation of by how many
2896 pixels a window can still be shrunk via window-new-normal.
2897 (adjust-window-trailing-edge): Call window--resizable with
2898 correct TRAIL argument.
2899
2900 (with-temp-buffer-window): Don't evaluate BODY within
2901 with-current-buffer (Bug#16816).
2902
2903 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2904
2905 * net/tramp.el (tramp-check-cached-permissions):
2906 Call `file-attributes' with `suffix' being a symbol but a string.
2907
2908 2014-02-21 Daniel Colascione <dancol@dancol.org>
2909
2910 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2911 (dbus-init-bus): New function: call into dbus-init-bus-1
2912 and installs a handler for the disconnect signal.
2913 (dbus-call-method): Rewrite to look for result in cons.
2914 (dbus-call-method-handler): Store result in cons.
2915 (dbus-check-event): Recognize events with nil sender as valid.
2916 (dbus-handle-bus-disconnect): New function. React to bus
2917 disconnection signal by synthesizing dbus error for each
2918 pending synchronous or asynchronous call.
2919 (dbus-notice-synchronous-call-errors): New function.
2920 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2921 is true, not all the time.
2922
2923 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2924
2925 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2926 Remove obsolescence declarations, these variables do not exist anymore.
2927
2928 * savehist.el (savehist-save-minibuffer-history)
2929 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2930 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2931 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2932 mostly, refer to "Savehist mode" when talking about the mode,
2933 and not the function.
2934
2935 * saveplace.el (save-place): Remove redundant info in docstring.
2936 (save-place-forget-unreadable-files, toggle-save-place)
2937 (save-place-forget-unreadable-files, save-place-dired-hook):
2938 Fix typos and remove unneeded backslashes.
2939
2940 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2941
2942 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2943 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2944
2945 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2946 <insert-directory>: Use `tramp-handle-insert-directory'.
2947 (tramp-gvfs-handle-insert-directory): Remove function.
2948
2949 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2950 Call `tramp-handle-insert-directory'.
2951
2952 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2953
2954 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2955 before the start of buffer/region (bug#16799).
2956
2957 2014-02-20 Glenn Morris <rgm@gnu.org>
2958
2959 * isearch.el (search-invisible): Doc fix.
2960
2961 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2962
2963 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2964 (bug#16657).
2965
2966 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2967
2968 * frameset.el (frameset-restore): Delay removing an old frame's
2969 duplicate id until the new frame has been correctly created.
2970
2971 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2972
2973 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2974 (tramp-check-cached-permissions): Call `file-attributes' if the
2975 cache is empty.
2976
2977 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2978 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2979
2980 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2981 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2982 (tramp-gvfs-maybe-open-connection): Set always connection
2983 properties, even if target is mounted already.
2984
2985 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2986 Set tramp-autoload cookie.
2987 (tramp-get-remote-touch): New defun.
2988 (tramp-sh-handle-set-file-times): Use it.
2989 (tramp-sh-handle-directory-files-and-attributes):
2990 Use `tramp-handle-directory-files-and-attributes' if neither stat
2991 nor perl are available on the remote host.
2992
2993 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2994 "/". Write long listing only when "l" belongs to the switches.
2995
2996 * net/trampver.el: Update release number.
2997
2998 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2999
3000 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3001
3002 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3003
3004 * window.el (window-state-put): Allow WINDOW to refer to an
3005 internal window (Bug#16793).
3006
3007 2014-02-19 Glenn Morris <rgm@gnu.org>
3008
3009 * textmodes/remember.el: Move provide statement to end.
3010 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3011 (remember-notes): Doc fixes.
3012
3013 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3014
3015 * delsel.el (delete-char): Restore incorrectly erased property
3016 (bug#16795).
3017
3018 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3019
3020 * frameset.el (frameset--restore-frame): When a frame is being reused
3021 and its root window is not alive, delete all the frame's windows before
3022 restoring the window state. This works around the issue in bug#16793.
3023
3024 2014-02-18 Glenn Morris <rgm@gnu.org>
3025
3026 * textmodes/remember.el (remember-data-directory)
3027 (remember-directory-file-name-format, remember-store-in-files)
3028 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3029 (remember-notes-save-and-bury-buffer)
3030 (remember-notes--kill-buffer-query): Doc fixes.
3031
3032 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3033
3034 2014-02-17 Alan Mackenzie <acm@muc.de>
3035
3036 Connect electric-indent-mode up with CC Mode. Bug #15478.
3037 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3038 to electric-indent-{,local-}-mode.
3039 (c-basic-common-init): Set electric-indent-inhibit.
3040 Initialise c-electric-flag from electric-indent-mode.
3041 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3042 New hook functions which propagate electric-indent-mode to CC mode.
3043
3044 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3045 hit, toggle electric-indent-local-mode.
3046
3047 * electric.el (electric-indent-mode-has-been-called):
3048 New variable.
3049
3050 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3051
3052 * frameset.el (frameset-cfg-id): New function.
3053 (frameset--reuse-frame, frameset-restore): Use it.
3054 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3055
3056 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3057
3058 * ido.el (ido-file-internal): Remove unused var `d'.
3059 Use \` for to match BoS. Fit within 80n columns.
3060
3061 2014-02-17 Daniel Colascione <dancol@dancol.org>
3062
3063 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3064 dbus-call-method check for completion using a busy-wait loop with
3065 gradual backoff.
3066
3067 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3068
3069 Sync with Tramp 2.2.9.
3070
3071 * net/trampver.el: Update release number.
3072
3073 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3074
3075 * ido.el (ido-file-internal): Don't add the name of an existing
3076 directory twice. (Bug#16747)
3077
3078 2014-02-16 Glenn Morris <rgm@gnu.org>
3079
3080 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3081 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3082
3083 2014-02-15 Michael R. Mauger <michael@mauger.com>
3084
3085 * progmodes/sql.el: Version 3.4
3086 (sql-oracle-options): New default value ("-L").
3087 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3088 (sql-placeholders-filter): Correct placeholder pattern.
3089 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3090 (sql-login-delay): New variable.
3091 (sql-product-interactive): Use it.
3092
3093 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3094
3095 * frameset.el (frameset--jump-to-register): Check that buffer is live
3096 (bug#16749).
3097
3098 2014-02-15 Glenn Morris <rgm@gnu.org>
3099
3100 * info.el (info-initialize): Revert 2014-01-10 change.
3101
3102 2014-02-14 Glenn Morris <rgm@gnu.org>
3103
3104 * replace.el (map-query-replace-regexp)
3105 (read-regexp-defaults-function, read-regexp): Doc fixes.
3106
3107 * dired.el (dired-read-regexp):
3108 * faces.el (list-faces-display):
3109 * misearch.el (multi-isearch-read-matching-buffers)
3110 (multi-isearch-read-matching-files):
3111 * play/cookie1.el (cookie-apropos):
3112 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3113
3114 * textmodes/remember.el (remember): Use frameset-to-register
3115 rather than frame-configuration-to-register.
3116
3117 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3118
3119 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3120 incorrect keybinding.
3121
3122 2014-02-13 Daniel Colascione <dancol@dancol.org>
3123
3124 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3125 when adding overlays so that line numbers from compiler match line
3126 numbers we use.
3127
3128 2014-02-13 Glenn Morris <rgm@gnu.org>
3129
3130 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3131
3132 * jit-lock.el (jit-lock-mode): Doc fix.
3133
3134 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3135
3136 * apropos.el (apropos-read-pattern): When the user passes an empty
3137 string, give a more helpful error message than "Wrong type
3138 argument: stringp, nil".
3139
3140 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3141
3142 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3143
3144 2014-02-13 Glenn Morris <rgm@gnu.org>
3145
3146 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3147
3148 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3149
3150 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3151 shift-select commands.
3152
3153 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3154
3155 * progmodes/js.el (js-indent-line): Don't widen.
3156 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3157
3158 2014-02-12 Glenn Morris <rgm@gnu.org>
3159
3160 * icomplete.el (icomplete): Add info-link to defgroup.
3161 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3162 (icomplete-minibuffer-map, icomplete-mode)
3163 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3164
3165 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3166 (package-menu-filter): Rename from package-menu-filter-interactive.
3167 Doc fix.
3168
3169 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3170
3171 * frameset.el (frameset--jump-to-register): Select the required
3172 window and buffer before restoring position (bug#16696).
3173
3174 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3175
3176 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3177
3178 2014-02-10 Glenn Morris <rgm@gnu.org>
3179
3180 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3181
3182 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3183
3184 * w32-common-fns.el (x-get-selection): Doc fix.
3185 * select.el (x-get-selection): Doc fix. (Bug#15109)
3186
3187 * face-remap.el (face-remap-add-relative)
3188 (face-remap-remove-relative, face-remap-reset-base)
3189 (face-remap-set-base): Call force-mode-line-update to redisplay
3190 the current buffer due to potential change in faces. (Bug#16709)
3191
3192 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3193
3194 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3195 script more robustly.
3196
3197 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3198
3199 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3200
3201 * simple.el (choose-completion): Doc fix (bug#14160).
3202
3203 * subr.el (event-start): Say what a nil EVENT value means.
3204
3205 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3206 (bug#14197).
3207
3208 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3209
3210 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3211
3212 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3213
3214 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3215 predicate function (bug#15455).
3216
3217 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3218
3219 * ielm.el (inferior-emacs-lisp-mode): Instead of
3220 `comment-use-global-state', set `comment-use-syntax'.
3221
3222 2014-02-10 Glenn Morris <rgm@gnu.org>
3223
3224 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3225
3226 2014-02-09 Alan Mackenzie <acm@muc.de>
3227
3228 Fix c-invalidate-state-cache on narrowed buffers.
3229 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3230 Widen when setting and clearing the CPP delimiter properties.
3231
3232 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3233
3234 * help.el (describe-bindings): Doc fix (bug#9888).
3235
3236 * files.el (save-buffer): Use ARG as the parameter name for
3237 consistency (bug#10346).
3238 (save-buffer): Clarify the 0 argument (bug#10346).
3239
3240 * cus-edit.el (customize-apropos): Fix error string.
3241 (custom-buffer-create): Doc fix (bug#11122).
3242 (custom-sort-items): Doc fix (bug#11121).
3243
3244 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3245
3246 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3247 (icomplete-simple-completing-p): Mention the previous variable.
3248
3249 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3250 meaning of the parameter (bug#12282).
3251
3252 * files.el (find-file-noselect): Clarify prompt when changing
3253 readedness (bug#13261).
3254 (locate-file): Suffixes aren't returned, so don't say that they
3255 are (bug#12674).
3256 (backup-inhibited): Doc clarification (bug#12525).
3257
3258 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3259 before we actually start to delete things (bug#16331).
3260
3261 * subr.el (event-start): Doc fix (bug#14228).
3262 (event-end): Ditto.
3263
3264 2014-02-09 Glenn Morris <rgm@gnu.org>
3265
3266 * emacs-lisp/warnings.el (lwarn):
3267 Empower help-enable-auto-load. (Bug#15940)
3268
3269 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3270
3271 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3272 (Bug#16690)
3273
3274 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3275
3276 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3277 Insert output at end of buffer. (Bug#16120)
3278
3279 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3280
3281 * simple.el (choose-completion-string-functions): Document new
3282 calling convention (bug#14153).
3283 (execute-extended-command): Clarify doc string (bug#13373).
3284
3285 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3286
3287 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3288 (find-grep-dired): Doc fix (bug#14288).
3289
3290 2014-02-08 Juri Linkov <juri@jurta.org>
3291
3292 * isearch.el (isearch-quote-char): Check character validity
3293 like in `quoted-insert' (bug#16677).
3294
3295 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3296
3297 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3298
3299 * isearch.el (isearch-hide-immediately): Doc clarification
3300 (bug#14723).
3301
3302 * simple.el (line-move): Document utility function used many
3303 places in the Emacs sources (bug#14843).
3304
3305 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3306 (dired-prev-marked-file): Doc fix (bug#14855).
3307 (dired-up-directory): Doc fix (bug#14848).
3308
3309 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3310
3311 * files.el (file-relative-name): Doc fix (bug#15159).
3312
3313 * fringe.el (fringe-styles): Doc fix (bug#15239).
3314
3315 * isearch.el (isearch-filter-predicate): Documentation typo fix
3316 (bug#15474).
3317
3318 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3319
3320 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3321
3322 * replace.el (replace-match-maybe-edit): Doc clarification
3323 (bug#15632).
3324
3325 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3326
3327 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3328
3329 2014-02-08 Glenn Morris <rgm@gnu.org>
3330
3331 * help-fns.el (describe-variable):
3332 Check {file,dir}-local-variables-alist, and buffer-file-name,
3333 in the correct buffer.
3334
3335 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3336
3337 * help-fns.el (describe-variable): Fix the case where
3338 a value is directory-local with no dir-locals file. (Bug#16635)
3339
3340 2014-02-08 Glenn Morris <rgm@gnu.org>
3341
3342 * abbrev.el (edit-abbrevs-mode):
3343 Derive from fundamental-mode. (Bug#16682)
3344
3345 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3346
3347 * simple.el (quoted-insert): Check character validity (bug#16677).
3348
3349 2014-02-07 Juri Linkov <juri@jurta.org>
3350
3351 * desktop.el (desktop-read): Claim the lock when the owner is not
3352 the current process. (Bug#16157)
3353
3354 2014-02-07 Juri Linkov <juri@jurta.org>
3355
3356 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3357 to "\\` ". (Bug#16651)
3358
3359 2014-02-07 Juri Linkov <juri@jurta.org>
3360
3361 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3362 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3363 (desktop-auto-save-cancel-timer): New function with some code from
3364 `desktop-auto-save-set-timer'.
3365 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3366 Instead of setting `desktop-save-mode' to nil, call
3367 `desktop-save-mode' with arg 0. (Bug#16630)
3368
3369 2014-02-07 Glenn Morris <rgm@gnu.org>
3370
3371 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3372 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3373 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3374
3375 * obsolete/iswitchb.el: Move to obsolete/.
3376 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3377 since obsolete/ is not scanned for autoloads.
3378 * emacs-lisp/authors.el (authors-valid-file-names):
3379 Add iswitchb.el.
3380
3381 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3382 Disable now non-functional find-file-hook.
3383
3384 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3385
3386 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3387 instead of ";" in order to avoid additional prompts. Let heredoc
3388 scripts read from tty. (Bug#16582)
3389 (tramp-send-command): No special handling of heredocs, it isn't
3390 necessary anymore.
3391
3392 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3393
3394 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3395 with a space (bug#16664). Limit the symbols considered to the ones
3396 that are bound or fbound (bug#16646).
3397
3398 2014-02-06 Glenn Morris <rgm@gnu.org>
3399
3400 * epa.el (epa-mail-aliases): Doc fix.
3401
3402 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3403
3404 * emacs-lisp/lisp.el (lisp-completion-at-point):
3405 Use `completion-table-merge' instead of `completion-table-in-turn'
3406 (bug#16604).
3407
3408 * minibuffer.el (completion-table-merge): New function.
3409
3410 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3411
3412 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3413 (tramp-sh-handle-set-file-acl)
3414 (tramp-sh-handle-start-file-process)
3415 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3416 (tramp-find-executable, tramp-send-command): Use it.
3417
3418 2014-02-05 Glenn Morris <rgm@gnu.org>
3419
3420 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3421
3422 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3423
3424 * progmodes/python.el (python-shell-send-string)
3425 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3426
3427 2014-02-04 Anders Lindgren <andlind@gmail.com>
3428
3429 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3430 the names (bug#16620).
3431
3432 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3433
3434 * faces.el (window-divider): New default value. Rewrite doc-string.
3435 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3436
3437 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3438
3439 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3440 `protected' and `public' can also be called without arguments.
3441
3442 2014-02-03 Glenn Morris <rgm@gnu.org>
3443
3444 * register.el (window-configuration-to-register)
3445 (frame-configuration-to-register): Unadvertise unused argument.
3446 * frameset.el (frameset-to-register): Remove unused argument.
3447
3448 * frameset.el (frameset-to-register):
3449 * kmacro.el (kmacro-to-register):
3450 * register.el (increment-register):
3451 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3452 (calc-append-to-register, calc-prepend-to-register):
3453 * play/gametree.el (gametree-layout-to-register)
3454 (gametree-apply-register-layout):
3455 * textmodes/picture.el (picture-clear-rectangle-to-register)
3456 (picture-yank-rectangle-from-register):
3457 * vc/emerge.el (emerge-combine-versions-register):
3458 Use register-read-with-preview to read registers.
3459
3460 2014-02-03 João Távora <joaotavora@gmail.com>
3461
3462 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3463 when at beginning of (possibly narrowed) buffer.
3464
3465 2014-02-02 Daniel Colascione <dancol@dancol.org>
3466
3467 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3468 Also try to display local help from just before point.
3469
3470 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3471
3472 c-parse-state. Don't "append-lower-brace-pair" in certain
3473 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3474 recognised as a comment.
3475
3476 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3477 as well as normal comment starter.
3478 (c-parse-state-get-strategy): Extra return possibility
3479 'back-and-forward.
3480 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3481 return value list to indicate replacement of a brace-pair cons
3482 with its car.
3483 (c-parse-state-1): With 'back-and-forward, only call
3484 c-append-lower-brace-pair-to state-cache when cons-separated.
3485
3486 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3487
3488 * term/ns-win.el (ns-suspend-error): New function.
3489 (ns-initialize-window-system): Add ns-suspend-error to
3490 suspend-hook (Bug#16612).
3491
3492 2014-02-02 Daniel Colascione <dancol@dancol.org>
3493
3494 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3495 Make loading cc-mode silent.
3496
3497 2014-02-02 Daniel Colascione <dancol@dancol.org>
3498
3499 * comint.el (comint-prompt-read-only): Change doc to suggest
3500 remap keybinding.
3501
3502 2014-02-02 Glenn Morris <rgm@gnu.org>
3503
3504 * register.el (register-read-with-preview, point-to-register)
3505 (window-configuration-to-register, frame-configuration-to-register)
3506 (jump-to-register, number-to-register, view-register, insert-register)
3507 (copy-to-register, append-to-register, prepend-to-register)
3508 (copy-rectangle-to-register): Doc fixes.
3509
3510 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3511
3512 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3513 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3514 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3515 * help-fns.el (describe-function-1): Use it.
3516
3517 2014-02-02 Glenn Morris <rgm@gnu.org>
3518
3519 * register.el (register-preview-default): New function,
3520 split from register-preview.
3521 (register-preview-function): Rename from register-preview-functions,
3522 make it not a hook.
3523 (register-preview): Use register-preview-function.
3524 (register-read-with-preview): Error on non-character event. (Bug#16595)
3525
3526 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3527
3528 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3529 `:' before binary operators (bug#16609). Don't check for `:'
3530 before `[' and `(', or their syntax status. A percent literal
3531 can't end with either.
3532 (ruby-font-lock-keywords): For built-ins that require arguments,
3533 check that they're followed by something that looks like argument
3534 (bug#16610).
3535
3536 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3537
3538 * subr.el (butlast): Document what an omitted N means (bug#13437).
3539 (nbutlast): Ditto.
3540
3541 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3542
3543 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3544 depth shallower (bug#16587).
3545 (shr-tag-svg): Respect `shr-inhibit-images'.
3546 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3547
3548 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3549
3550 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3551 (ruby-smie-grammar): Make "." right-associative. Make its priority
3552 lower than the ternary and all binary operators.
3553 (ruby-smie-rules): Indent "(" relative to the first non-"."
3554 parent, or the first "." parent at indentation.
3555 Use `ruby-align-chained-calls' for indentation of "." tokens.
3556 (Bug#16593)
3557
3558 2014-01-31 Juri Linkov <juri@jurta.org>
3559
3560 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3561 from `make-hash-table'.
3562
3563 * textmodes/ispell.el (ispell-init-process): Change message format
3564 to be consistent with other messages.
3565
3566 2014-01-31 Glenn Morris <rgm@gnu.org>
3567
3568 * delsel.el (delete-selection-mode): Doc fix.
3569
3570 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3571 (trace-function-background): Doc fixes.
3572
3573 * ido.el (ido-use-virtual-buffers): Doc fix.
3574 Reset :version, since the default value has not changed.
3575
3576 * register.el (register-preview-delay, register-read-with-preview):
3577 Doc fixes.
3578
3579 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3580 do not mess with mail-buffer position (fixes 2009-11-03 change).
3581 * progmodes/cc-mode.el (c-submit-bug-report):
3582 Check auto-fill-mode is bound. (Bug#16592)
3583
3584 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3585
3586 * startup.el (fancy-splash-image-file): New function,
3587 split from fancy-splash-head.
3588 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3589 so that we are both using the same image. (Bug#16574)
3590
3591 2014-01-30 Glenn Morris <rgm@gnu.org>
3592
3593 * simple.el (eval-expression): Doc fix.
3594
3595 * hexl.el (hexl-mode-hook):
3596 * ielm.el (ielm-mode-hook):
3597 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3598 (lisp-interaction-mode-hook):
3599 * progmodes/cfengine.el (cfengine3-documentation-function):
3600 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3601
3602 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3603
3604 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3605 is a symbol (bug#16584).
3606
3607 2014-01-30 Glenn Morris <rgm@gnu.org>
3608
3609 * help.el (help-for-help-internal): Add "P" to text.
3610
3611 2014-01-29 Glenn Morris <rgm@gnu.org>
3612
3613 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3614
3615 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3616
3617 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3618 height constraints.
3619
3620 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3621
3622 * progmodes/hideif.el: Extend to full CPP expression syntax.
3623 (hif-token-alist): Add missing tokens.
3624 (hif-token-regexp): Add support for float/octal/hex immediates.
3625 (hif-string-literal-regexp): New const.
3626 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3627 (hif-exprlist): New function.
3628 (hif-parse-if-exp): Use it.
3629 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3630 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3631 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3632 (hif-logxor, hif-comma): New functions.
3633
3634 2014-01-28 Glenn Morris <rgm@gnu.org>
3635
3636 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3637
3638 * indent.el (tab-stop-list): Doc fix. Add :version.
3639
3640 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3641 (cvs-append-to-ignore): Add compatibility alias.
3642
3643 2014-01-27 Glenn Morris <rgm@gnu.org>
3644
3645 * dired.el (dired-hide-details-mode): Don't autoload it,
3646 since it cannot be used outside Dired buffers anyway.
3647
3648 * emulation/cua-base.el (cua-mode): Doc fix.
3649
3650 * dired.el (dired-hide-details-hide-symlink-targets)
3651 (dired-hide-details-hide-information-lines)
3652 (dired-hide-details-mode): Doc fixes.
3653
3654 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3655 * strokes.el (strokes-file): Doc fix. Bump :version.
3656 (strokes-help): Doc fix.
3657 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3658 * emulation/viper.el (viper): Doc fix for custom group.
3659 (top-level): Remove oh-so-no-longer-relevant text about vip.
3660 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3661
3662 * ido.el (ido-save-directory-list-file):
3663 * saveplace.el (save-place-file):
3664 * calendar/timeclock.el (timeclock-file):
3665 * net/quickurl.el (quickurl-url-file):
3666 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3667 * progmodes/idlwave.el (idlwave-config-directory):
3668 * textmodes/remember.el (remember-data-file):
3669 Bump :version.
3670
3671 2014-01-26 Glenn Morris <rgm@gnu.org>
3672
3673 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3674 Doc fix. Make obsolete.
3675 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3676
3677 * sort.el (delete-duplicate-lines): Doc fix.
3678
3679 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3680
3681 * progmodes/ada-mode.el (ada):
3682 * woman.el (woman): Link to info manual and Commentary section.
3683
3684 * progmodes/flymake.el (flymake):
3685 * nxml/nxml-mode.el (nxml):
3686 * net/eww.el (eww):
3687 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3688 * htmlfontify.el (htmlfontify):
3689 * ses.el (ses):
3690 * epa.el (epa):
3691 * ido.el (ido): Link to info manual.
3692
3693 2014-01-25 Leo Liu <sdl.web@gmail.com>
3694
3695 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3696
3697 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3698
3699 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3700 (bug#16537).
3701
3702 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3703
3704 * net/eww.el (eww-download-callback):
3705 Fix reference to eww-download-directory.
3706
3707 * emacs-lisp/bytecomp.el (byte-compile-file):
3708 Remove unused local variable `file-name'.
3709
3710 2014-01-24 Glenn Morris <rgm@gnu.org>
3711
3712 * woman.el (woman-default-faces, woman-monochrome-faces):
3713 Fix obsolescence specification.
3714
3715 * subr.el (with-demoted-errors): Doc fix.
3716
3717 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3718
3719 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3720 (cl--macroexp-fboundp): New function.
3721 (cl--make-type-test): Use it.
3722
3723 2014-01-23 Glenn Morris <rgm@gnu.org>
3724
3725 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3726 * simple.el (eval-expression): Doc fixes.
3727
3728 2014-01-22 Glenn Morris <rgm@gnu.org>
3729
3730 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3731
3732 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3733
3734 * emacs-lisp/package.el: Write files silently.
3735 (package-autoload-ensure-default-file, package--write-file-no-coding)
3736 (package-generate-description-file, package--download-one-archive)
3737 (package-install-from-archive): Tell `write-region' to stay quiet.
3738 (package-menu-mode, package-menu--print-info): Omit the Archive column
3739 if there's only one archive.
3740 (package-all-keywords, package--has-keyword-p): Remove dead code.
3741
3742 2014-01-22 Glenn Morris <rgm@gnu.org>
3743
3744 * version.el (emacs-bzr-version-bzr): Fix typo.
3745
3746 * version.el (emacs-repository-get-version):
3747 Check either .bzr or .git, but not both.
3748 Make the git case actually use the DIR argument, and return nil
3749 rather than the empty string.
3750 Avoid error if .git exists but the git executable is not found.
3751
3752 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3753
3754 Fixes in window size functions around Bug#16430 and Bug#16470.
3755 * window.el (window-total-size, window-size): New argument ROUND.
3756 (window--min-delta-1, window-min-delta, window--max-delta-1):
3757 Be more conservative when calculating the numbers of lines or
3758 columns a window can shrink (Bug#16430).
3759 (fit-window-to-buffer): Simplify code.
3760 * term.el (term-window-width): Call window-body-width again.
3761
3762 2014-01-22 Glenn Morris <rgm@gnu.org>
3763
3764 * image.el (image-format-suffixes): Doc fix.
3765
3766 * international/quail.el (quail-define-package): Doc fix.
3767
3768 * emacs-lisp/authors.el (authors-valid-file-names)
3769 (authors-renamed-files-alist): Additions.
3770
3771 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3772 reverts 2014-01-09 change. (Bug#16422)
3773
3774 * calc/calc-embed.el (thing-at-point-looking-at):
3775 * emacs-lisp/map-ynp.el (x-popup-dialog):
3776 * obsolete/lmenu.el (x-popup-dialog):
3777 * emacs-lisp/package.el (url-recreate-url):
3778 * mail/mailclient.el (clipboard-kill-ring-save):
3779 * subr.el (x-popup-dialog): Update declaration.
3780 * mail/rmail.el (rmail-mime-message-p):
3781 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3782
3783 2014-01-21 Daniel Colascione <dancol@dancol.org>
3784
3785 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3786 Correctly detect when we're inside an arithmetic expansion form
3787 containing nested parenthesis.
3788 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3789 to detect cases where we shouldn't expand "<<" to a heredoc
3790 skeleton.
3791
3792 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3793
3794 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3795 (eldoc--message-command-p): New function.
3796 (eldoc-display-message-p): Use it.
3797 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3798 message is not automatically erased for us.
3799 (eldoc-print-current-symbol-info): Erase previous message, if any.
3800
3801 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3802
3803 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3804 specify it's an interactive function.
3805
3806 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3807 Fix regex used for scanning for citation keys which failed for
3808 citations with optional arguments.
3809
3810 2014-01-21 Leo Liu <sdl.web@gmail.com>
3811
3812 * simple.el (read--expression): Don't enable eldoc-mode.
3813
3814 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3815
3816 * simple.el (move-beginning-of-line): Make sure we don't move forward
3817 (bug#16497).
3818
3819 2014-01-20 Juri Linkov <juri@jurta.org>
3820
3821 * saveplace.el (toggle-save-place, save-place-to-alist)
3822 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3823 'dired-mode) before checking for dired-directory. (Bug#16477)
3824
3825 2014-01-20 Juri Linkov <juri@jurta.org>
3826
3827 * indent.el (indent-line-to): Use backward-to-indentation
3828 instead of back-to-indentation. (Bug#16461)
3829
3830 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3831
3832 Revert some of the CANNOT_DUMP fix (Bug#16494).
3833 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3834 but fixing this can wait until after the next release.
3835 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3836
3837 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3838
3839 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3840 Use `password-word-equivalents'.
3841 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3842 to t. (Bug#5664, Bug#13124)
3843
3844 2014-01-19 Alan Mackenzie <acm@muc.de>
3845
3846 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3847 points.
3848 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3849 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3850 * progmodes/cc-mode.el (c-before-change, c-after-change)
3851 (c-font-lock-fontify-region): Bind it here.
3852
3853 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3854
3855 * term.el (term-window-width): Call window-text-width instead of
3856 window-width (Bug#16470).
3857
3858 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3859
3860 * simple.el (password-word-equivalents): Remove duplicates.
3861 Sort, to make this easier next time.
3862 Downcase. Omit ": " after "jelszó".
3863
3864 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3865
3866 * term/common-win.el (saved-region-selection): Defvar it.
3867 (x-select-text): Set saved-region-selection (Bug#16382).
3868
3869 2014-01-18 Glenn Morris <rgm@gnu.org>
3870
3871 * emacs-lisp/authors.el (authors-aliases)
3872 (authors-renamed-files-alist): Add some entries.
3873
3874 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3875
3876 * net/tramp.el (tramp-password-prompt-regexp):
3877 Use `password-word-equivalents' if available.
3878 (tramp-action-password, tramp-process-one-action)
3879 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3880
3881 2014-01-17 Chong Yidong <cyd@gnu.org>
3882
3883 * simple.el (password-word-equivalents): New defcustom.
3884 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3885 to 24.4.
3886 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3887 to t. (Bug#13124)
3888
3889 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3890
3891 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3892 (ruby-align-to-stmt-keywords): Change the default value.
3893 Use `ruby-alignable-keywords' to generate the possible customization
3894 choices.
3895 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3896 keywords, check against the value of `ruby-alignable-keywords'
3897 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3898
3899 2014-01-17 Glenn Morris <rgm@gnu.org>
3900
3901 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3902
3903 Make M-x authors return zero *Authors Errors* from current logs.
3904 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3905 (authors-ignored-files): Add some entries, remove others.
3906 (authors-ambiguous-files, authors-valid-file-names):
3907 Add some entries.
3908 (authors-renamed-files-alist): Add, remove, and adjust entries.
3909 (authors-renamed-files-regexps): Add some entries.
3910 Remove some very broad ones. Make some entries `lax'.
3911 (authors-lax-changelogs): New constant.
3912 (authors-disambiguate-file-name): Treat top-level specially.
3913 (authors-lax-changelog-p): New function.
3914 (authors-canonical-file-name): Check file as written against
3915 authors-valid-file-names. Do not special-case etc/.
3916 Handle `lax' logs and authors-renamed-files-regexps elements.
3917
3918 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3919
3920 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3921 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3922 callers.
3923
3924 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3925
3926 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3927 Assume we're already in the proper buffer.
3928 Inspired by Anders Lindgren <andlind@gmail.com>.
3929 (follow-post-command-hook): Call it from the right buffer.
3930 (follow-comint-scroll-to-bottom): Adjust call.
3931 (follow-all-followers): Use get-buffer-window-list.
3932
3933 2014-01-15 Daniel Colascione <dancol@dancol.org>
3934
3935 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3936 `buffer-file-name' in interactive-form so that we don't leave
3937 pathless file names in `file-name-history'.
3938
3939 2014-01-15 Juri Linkov <juri@jurta.org>
3940
3941 * indent.el (indent-rigidly): Set deactivate-mark to nil
3942 in transient indentation mode. (Bug#16438)
3943
3944 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3945
3946 * emacs-lisp/package.el (package-desc-keywords): New function
3947 (Bug#16222).
3948 (describe-package-1, package-all-keywords)
3949 (package--has-keyword-p): Use it.
3950
3951 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3952
3953 * simple.el (define-alternatives): When creating the
3954 COMMAND-alternatives variable, assign COMMAND as its definition
3955 name so that `describe-variable' can relocate it.
3956
3957 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3958
3959 * font-lock.el (font-lock-keywords): Fix typo in docstring
3960 (bug#16307).
3961
3962 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3963
3964 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
3965 line instead of wrongly reset `add-coment' (bug#13577).
3966
3967 2014-01-14 Daiki Ueno <ueno@gnu.org>
3968
3969 * epa-file.el (epa-file-write-region): Encode the region according
3970 to `buffer-file-format'. Problem reported at:
3971 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3972
3973 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3974
3975 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3976 so it applies in the right buffer (bug#16410).
3977
3978 2014-01-13 Daniel Colascione <dancol@dancol.org>
3979
3980 * textmodes/rst.el (rst-define-key): Provide deprecated
3981 keybindings through named functions instead of anonymous ones so
3982 that "??" doesn't appear in describe-mode output.
3983
3984 2014-01-13 Bastien Guerry <bzg@gnu.org>
3985
3986 * simple.el (define-alternatives): Call the selected command
3987 interactively. When setting `COMMAND--implementation' for the
3988 first time, tell the user how to chose another implementation.
3989 Enhance the docstring.
3990
3991 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3992
3993 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3994 (log-edit--match-first-line): New function.
3995 (log-edit-font-lock-keywords): Use it.
3996 (log-edit-mode): Make jit-lock-defer-multiline work.
3997
3998 2014-01-13 Bastien Guerry <bzg@gnu.org>
3999
4000 * rect.el (rectangle-mark-mode): When the region is not active,
4001 display a message saying that the mark as been set and that
4002 rectangle mode is in use.
4003 (rectangle--highlight-for-redisplay): Only put an overlay with a
4004 visible vertical bar when (display-graphic-p) is non-nil.
4005 This partially fixes Bug#16403.
4006
4007 2014-01-13 Juri Linkov <juri@jurta.org>
4008
4009 * info.el (Info-find-file): Go to DIR before displaying the error
4010 about a nonexistent file if no previous Info file is visited.
4011 Use `user-error' instead of `error' for "Info file %s does not exist".
4012 (Info-find-node-2): In case of a nonexistent node in unwind forms
4013 go to the Top node if there is no previous node to revert to.
4014 (Bug#16405)
4015
4016 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4017
4018 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4019 * window.el (fit-frame-to-buffer): Fix doc-string.
4020 Respect window-min-height/-width. Fit pixelwise when
4021 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4022 when avoiding that frame goes partially off-screen.
4023 (fit-window-to-buffer): Respect window-min-height/-width
4024 (Bug#14096).
4025
4026 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4027
4028 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4029 after an empty line.
4030
4031 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4032
4033 * net/shr.el (shr-render-region): Autoload.
4034
4035 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4036
4037 * net/eww.el (eww-download-directory): Rename from
4038 `eww-download-path' (Bug#16419).
4039
4040 2014-01-12 Leo Liu <sdl.web@gmail.com>
4041
4042 * dired-x.el (dired-mode-map): Fix last change.
4043
4044 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4045
4046 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4047
4048 Spelling fixes.
4049 * emacs-lisp/generic.el (generic--normalize-comments):
4050 Rename from generic--normalise-comments. All uses changed.
4051 * play/bubbles.el (bubbles--neighborhood-score)
4052 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4053 (bubbles--neighborhood-available)
4054 (bubbles--update-neighborhood-score):
4055 Rename from names with 'neighbourhood'. All uses changed.
4056
4057 2014-01-12 Leo Liu <sdl.web@gmail.com>
4058
4059 Re-implement the feature of showing eldoc info after editing.
4060 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4061 (eldoc-edit-message-commands): New function.
4062 (eldoc-print-after-edit): New variable.
4063 (eldoc-pre-command-refresh-echo-area): Emit message only by
4064 eldoc-message-commands.
4065 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4066 if eldoc-print-after-edit is set. (Bug#16346)
4067 * simple.el (read--expression): Enable eldoc-mode.
4068 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4069
4070 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4071 Eric S. Raymond <esr@thyrsus.com>
4072
4073 * version.el (emacs-repository-get-version): Enhance so the
4074 function works correctly in either a Bazaar or Git repo.
4075
4076 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4077
4078 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4079 Goes with removal of the joke manpages from /etc.
4080
4081 2014-01-10 Kenichi Handa <handa@gnu.org>
4082
4083 * mail/rmail.el (rmail-get-coding-system):
4084 Check rmail-get-coding-function before "funcall"ing it.
4085
4086 2014-01-10 Glenn Morris <rgm@gnu.org>
4087
4088 * emacs-lisp/authors.el (authors-fixed-entries):
4089 Update for files that no longer exist.
4090
4091 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4092
4093 * version.el (emacs-bzr-get-version): Restore compatibilty with
4094 24.3 (Tested).
4095
4096 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4097
4098 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4099 and Podfile.
4100
4101 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4102
4103 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4104
4105 2014-01-10 Chong Yidong <cyd@gnu.org>
4106
4107 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4108
4109 2014-01-10 Anders Lindgren <andlind@gmail.com>
4110
4111 * follow.el (follow-cache-command-list): Include right-char and
4112 left-char.
4113
4114 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4115
4116 Spelling fixes.
4117 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4118 * woman.el (woman-mark-horizontal-position):
4119 Rename from woman-mark-horizonal-position. Use changed.
4120
4121 2014-01-10 Glenn Morris <rgm@gnu.org>
4122
4123 * info.el (info-initialize): If running uninstalled, ensure our
4124 own info files are always found first, even if INFOPATH is set.
4125
4126 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4127
4128 2014-01-09 David Engster <deng@randomsample.de>
4129
4130 * emacs-lisp/eieio-custom.el:
4131 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4132 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4133 * emacs-lisp/eieio.el: Regenerate autoloads.
4134
4135 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4136
4137 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4138 following renames. (Bug#8756)
4139
4140 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4141
4142 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4143 (bug#16382).
4144 (activate-mark): Add `no-tmm' argument.
4145 (set-mark, push-mark-command): Use it instead of running
4146 activate-mark-hook by hand.
4147
4148 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4149
4150 In preparation for the move to git, sanitize out some
4151 Bazaar-specific names.
4152
4153 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4154
4155 * version.el (emacs-bzr-version): Name changed to
4156 emacs-repository-version. Obsolete-variable alias made.
4157 * loadup.el: Follow through on this name change.
4158 * mail/emacsbug.el (report-emacs-bug): Factor out any
4159 assumption about the version control system in use.
4160
4161 2014-01-08 David Engster <deng@randomsample.de>
4162
4163 * help-fns.el (help-fns-describe-function-functions):
4164 New variable to call functions for augmenting help buffers.
4165 (describe-function-1): Remove explicit calls to
4166 `help-fns--compiler-macro', `help-fns--parent-mode' and
4167 `help-fns--obsolete'. Put them in above new variable instead, and
4168 call them through `run-hook-with-args'.
4169 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4170 `eieio-describe-class'. Not meant for interactive use anymore,
4171 but to augment existing help buffers. Remove optional second
4172 argument. Create proper button for file location.
4173 Rewrite function to use `insert' instead of `princ' and `prin1' where
4174 possible.
4175 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4176 (eieio-method-def, eieio-class-def): Move further up.
4177 (describe-method, describe-generic, eieio-describe-method):
4178 Remove aliases.
4179 (eieio-help-constructor, eieio-help-generic): Rename from
4180 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4181 Rewrite to use `insert' in the current buffer and use proper help
4182 buttons.
4183 (eieio-help-find-method-definition)
4184 (eieio-help-find-class-definition): Also accept symbols as
4185 arguments.
4186 (eieio-help-mode-augmentation-maybee): Remove.
4187 (eieio-describe-class-sb): Use `describe-function'.
4188 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4189 Add `eieio-help-generic' and `eieio-help-constructor'.
4190
4191 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4192
4193 Spelling fixes.
4194 * language/china-util.el (hz-ascii-designation):
4195 Rename from hz-ascii-designnation.
4196 (hz-ascii-designation): Rename from hz-ascii-designnation.
4197 All uses changed.
4198
4199 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4200
4201 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4202 package-alist.
4203
4204 2014-01-08 Bastien Guerry <bzg@gnu.org>
4205
4206 * emacs-lisp/package.el (package-delete):
4207 Correctly delete the package from package-alist.
4208
4209 2014-01-08 Daiki Ueno <ueno@gnu.org>
4210
4211 * emacs-lisp/package.el (url-recreate-url): Declare.
4212 (url-http-target-url): Declare.
4213 (package-handle-response): Include requested URL in the error message.
4214 (package--check-signature): Don't re-signal errors from
4215 package--with-work-buffer. Suggested by Stefan Monnier.
4216
4217 2014-01-07 Bastien Guerry <bzg@gnu.org>
4218
4219 * minibuffer.el (completion--try-word-completion): When both a
4220 hyphen and a space are possible candidates for the character
4221 following a word, display both candidates. (Bug#15980)
4222
4223 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4224
4225 * window.el (balance-windows-2): While rounding don't give a
4226 window more than the remainder. Bug#16351, bug#16383.
4227
4228 2014-01-07 Glenn Morris <rgm@gnu.org>
4229
4230 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4231 (menu-bar-help-menu): Use view-external-packages instead.
4232
4233 2014-01-07 Bastien Guerry <bzg@gnu.org>
4234
4235 * emacs-lisp/package.el (package-delete): Also delete the package
4236 name from `package-alist', not its description only.
4237
4238 2014-01-07 Glenn Morris <rgm@gnu.org>
4239
4240 * help.el (view-external-packages):
4241 * menu-bar.el (menu-bar-help-extra-packages):
4242 Visit efaq.info rather than etc/MORE.STUFF.
4243
4244 2014-01-07 Juri Linkov <juri@jurta.org>
4245
4246 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4247 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4248
4249 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4250 that shadows RET. (Bug#16342)
4251
4252 2014-01-07 Chong Yidong <cyd@gnu.org>
4253
4254 * isearch.el (isearch-yank-char, isearch-yank-word)
4255 (isearch-yank-line): Doc fix.
4256
4257 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4258
4259 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4260 * emacs-lisp/elint.el (elint-find-builtins):
4261 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4262 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4263 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4264 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4265 * apropos.el (apropos-safe-documentation):
4266 * subr.el (symbol-file): Remove redundant fboundp.
4267 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4268
4269 2014-01-06 Bastien Guerry <bzg@gnu.org>
4270
4271 * hl-line.el (global-hl-line-overlay): Make a local variable.
4272 (global-hl-line-overlays): New variable to store all overlays.
4273 (global-hl-line-mode): Don't delete overlays from the current
4274 buffer when `global-hl-line-sticky-flag' is non-nil.
4275 (global-hl-line-highlight): Add new overlays to
4276 `global-hl-line-overlays'.
4277 (global-hl-line-unhighlight-all): New function to delete all
4278 overlays when turning off `global-hl-line-mode'.
4279 This fixes Bug#16183.
4280
4281 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4282
4283 * subr.el (set-transient-map): Fix nested case and docstring.
4284
4285 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4286
4287 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4288 `Texinfo' entry.
4289
4290 2014-01-06 Daniel Colascione <dancol@dancol.org>
4291
4292 Fix defun navigation in vc log view.
4293
4294 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4295 like `beginning-of-defun'.
4296 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4297 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4298 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4299 (log-view-extract-comment): Call `log-view-current-entry' directly
4300 instead of relying on broken `log-view-beginning-of-defun' behavior.
4301
4302 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4303
4304 Spelling fixes.
4305 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4306 * emacs-lisp/debug.el (cancel-debug-on-entry):
4307 * epg.el (epg-error-to-string):
4308 * files.el (recover-file):
4309 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4310 * mail/emacsbug.el (report-emacs-bug-hook):
4311 * mail/sendmail.el (mail-recover):
4312 * ses.el (ses-yank-resize):
4313 * term/ns-win.el (ns-print-buffer):
4314 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4315 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4316 All uses changed.
4317 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4318
4319 2014-01-06 Leo Liu <sdl.web@gmail.com>
4320
4321 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4322 to avoid shadowing global key. (Bug#16354)
4323
4324 2014-01-06 Daniel Colascione <dancol@dancol.org>
4325
4326 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4327 rst-mode.
4328
4329 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4330
4331 * window.el (balance-windows): Add mising t to fix Bug#16351.
4332
4333 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4334
4335 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4336 (bug#16285).
4337 (shr-insert): If we have a word that's longer than `shr-width',
4338 break after it anyway. Otherwise we'll do no breaking once we get
4339 such a long word.
4340
4341 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4342
4343 * net/eww.el (eww): Support single/double quote for search.
4344 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4345 (eww-history-quit): Delete and use quit-window.
4346 (eww-history-kill): Delete, because it doesn't work well and
4347 not necessary.
4348 (eww-history-mode-map): Delete some keys and add easy-menu.
4349
4350 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4351
4352 Fix misspelling of 'chinese' in rx (Bug#16237).
4353 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4354 chinese-two-byte.
4355
4356 Change subword regexps back to vars (Bug#16296).
4357 * progmodes/subword.el (subword-forward-regexp)
4358 (subword-backward-regexp): Change these back to variables.
4359
4360 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4361
4362 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4363 syntax-begin-function (bug#16247).
4364
4365 2014-01-03 Chong Yidong <cyd@gnu.org>
4366
4367 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4368 (advice--docstring): Delete variable.
4369 (advice--make-1): Leave the docstring empty.
4370 (advice-add): Use function-documentation for advised docstring.
4371
4372 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4373 Ignore function-documentation property when getting documentation.
4374 (ad-activate-advised-definition): Use function-documentation
4375 generate the docstring.
4376 (ad-make-advised-definition): Don't call
4377 ad-make-advised-definition-docstring.
4378 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4379 Delete functions.
4380
4381 * progmodes/sql.el (sql-help): Use function-documentation instead
4382 of dynamic-docstring-function property. No need to autoload now.
4383 (sql--help-docstring): New variable.
4384 (sql--make-help-docstring): Use it.
4385
4386 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4387
4388 * ielm.el (ielm-tab): Retarget.
4389 (ielm-map): Use ielm-tab for tab.
4390 (ielm-complete-filename): Use comint-filename-completion.
4391 (ielm-complete-symbol): Remove.
4392 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4393 remove ielm-tab from completion-at-point-functions (bug#16224).
4394
4395 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4396 Beware signals raised by predicates (bug#16201).
4397
4398 2014-01-02 Richard Stallman <rms@gnu.org>
4399
4400 * dired-aux.el (dired-do-print): Handle printer-name.
4401
4402 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4403 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4404 (rmail-epa-decrypt): Turn off mime processing.
4405
4406 * mail/rmail.el (rmail-make-in-reply-to-field):
4407 Add parens in message-id.
4408
4409 * mail/rmail.el (rmail-get-coding-function): Variable.
4410 (rmail-get-coding-system): Use it.
4411
4412 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4413
4414 * international/mule-conf.el: Unify the charset indian-is13194.
4415 (indian-is13194): Specify unify-map.
4416
4417 2013-12-31 Leo Liu <sdl.web@gmail.com>
4418
4419 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4420
4421 2013-12-30 Daniel Colascione <dancol@dancol.org>
4422
4423 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4424 of printing a useless when we resume from sleep.
4425
4426 * progmodes/sh-script.el
4427 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4428 in indentation code. (Bug#16233)
4429
4430 2013-12-28 João Távora <joaotavora@gmail.com>
4431
4432 * elec-pair.el (electric-pair-post-self-insert-function):
4433 Don't open extra newlines at beginning of buffer. (Bug#16272)
4434
4435 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4436
4437 * frame.el (window-system-for-display): Don't allow to create a
4438 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4439
4440 2013-12-28 Glenn Morris <rgm@gnu.org>
4441
4442 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4443 Update callers.
4444
4445 * apropos.el (apropos-match-face):
4446 * calculator.el (calculator-displayer):
4447 * dabbrev.el (dabbrev-search-these-buffers-only):
4448 * face-remap.el (buffer-face-mode-face):
4449 * simple.el (yank-handled-properties):
4450 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4451 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4452 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4453 (hashcash-double-spend-database):
4454 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4455 (ruby-deep-indent-paren-style):
4456 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4457 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4458 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4459 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4460 Specify custom types.
4461
4462 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4463 * bookmark.el (bookmark-bmenu-use-header-line):
4464 * doc-view.el (doc-view-scale-internally):
4465 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4466 * register.el (register-preview-delay):
4467 * net/shr.el (shr-bullet):
4468 * progmodes/cfengine.el (cfengine-cf-promises)
4469 (cfengine-parameters-indent):
4470 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4471 * textmodes/reftex-vars.el (reftex-label-regexps):
4472 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4473
4474 * net/tls.el (tls-certtool-program): Fix default value.
4475
4476 * desktop.el (desktop-restore-in-current-display):
4477 * newcomment.el (comment-empty-lines):
4478 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4479 (idlwave-pad-keyword):
4480 * progmodes/tcl.el (tcl-tab-always-indent):
4481 * textmodes/reftex-vars.el (reftex-index-default-tag):
4482 * elec-pair.el (electric-pair-skip-whitespace):
4483 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4484
4485 * emacs-lisp/authors.el (authors-ignored-files)
4486 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4487
4488 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4489
4490 * shell.el (shell-dynamic-complete-command): Doc fix.
4491 (shell--command-completion-data): Shell completion now matches
4492 executable filenames from the current buffer's directory, on
4493 systems in which this behavior is the default (windows-nt, ms-dos).
4494
4495 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4496
4497 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4498
4499 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4500
4501 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4502 (bug#16251).
4503
4504 * electric.el: Move all electric-pair-* to elec-pair.el.
4505 * elec-pair.el: New file, split from electric.el.
4506
4507 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4508
4509 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4510 indentation level is larger than the width, because that will
4511 infloop.
4512 (shr-insert): Fill repeatedly long texts, so that Japanese is
4513 formatted correctly (bug#16263).
4514 (shr-find-fill-point): Off by one error in comparison with the
4515 indentation.
4516
4517 2013-12-26 João Távora <joaotavora@gmail.com>
4518
4519 * electric.el (electric-pair-mode): More flexible engine for skip-
4520 and inhibit predicates, new options for pairing-related functionality.
4521 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4522 if that keeps or improves their balance in buffers.
4523 (electric-pair-delete-adjacent-pairs): Delete the pair when
4524 backspacing over adjacent matched delimiters.
4525 (electric-pair-open-extra-newline): Open extra newline when
4526 inserting newlines between adjacent matched delimiters.
4527 (electric--sort-post-self-insertion-hook):
4528 Sort post-self-insert-hook according to priority values when
4529 minor-modes are activated.
4530 * simple.el (newline-and-indent): Call newline with interactive
4531 set to t.
4532 (blink-paren-post-self-insert-function): Set priority to 100.
4533 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4534 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4535 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4536 electric-pair-open-newline-between-pairs to nil.
4537
4538 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4539
4540 * progmodes/python.el: Use lexical-binding.
4541 (python-nav-beginning-of-defun): Stop searching ASAP.
4542
4543 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4544
4545 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4546 Fix interactive spec. Doc fix. (Bug#15754)
4547
4548 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4549
4550 * emacs-lisp/byte-run.el (eval-when-compile):
4551 * progmodes/cc-defs.el (cc-eval-when-compile):
4552 Fix edebug spec (bug#16184).
4553
4554 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4555
4556 * net/shr.el (shr-visit-file): Remove debugging function.
4557 (shr-insert): Don't infloop if we can't find a good place to break
4558 the line (bug#16256).
4559
4560 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4561
4562 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4563 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4564 python-nav-lisp-forward-sexp-safe.
4565 (python-nav--forward-sexp): New argument SAFE allows switching
4566 forward sexp movement behavior for parens.
4567 (python-nav-forward-sexp): Throw errors on unterminated parens
4568 (Bug#16191).
4569 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4570 (python-nav-backward-sexp-safe): New functions.
4571 (python-shell-buffer-substring):
4572 Use `python-nav-forward-sexp-safe'.
4573
4574 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4575
4576 * net/shr.el (shr-find-fill-point): Don't break lines before a
4577 quotation mark.
4578 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4579 (shr-find-fill-point): Remove the special checks for the quotation
4580 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4581
4582 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4583
4584 * net/eww.el (eww-form-textarea): Use a different face for
4585 textareas than text input since they have different keymaps
4586 (bug#16142).
4587
4588 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4589
4590 * progmodes/python.el (python-nav-beginning-of-statement):
4591 Speed up (Bug#15295).
4592
4593 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4594
4595 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4596 the window configuration.
4597
4598 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4599
4600 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4601 we run on MS-Windows or MS-DOS.
4602
4603 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4604
4605 * window.el (balance-windows-area): Call window-size instead of
4606 window-height and window-width. Bug#16241.
4607
4608 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4609
4610 * net/eww.el (eww-bookmark-quit): Remove.
4611 (eww-bookmark-browse): Restore the window configuration when you
4612 choose a bookmark (bug#16144).
4613
4614 2013-12-24 Daniel Colascione <dancol@dancol.org>
4615
4616 * icomplete.el: Remove redundant :group arguments to `defcustom'
4617 throughout.
4618 (icomplete-show-matches-on-no-input): New customizable variable.
4619 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4620 we have something to show.
4621 (icomplete-exhibit): Compute completions even if we have no user input.
4622
4623 2013-12-23 Daniel Colascione <dancol@dancol.org>
4624
4625 * icomplete.el: Move `provide' to end of file.
4626
4627 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4628
4629 * net/gnutls.el (gnutls-verify-error): Add version tag.
4630
4631 2013-12-23 Chong Yidong <cyd@gnu.org>
4632
4633 * subr.el (set-transient-map): Rename from
4634 set-temporary-overlay-map. Doc fix.
4635
4636 * face-remap.el (text-scale-adjust):
4637 * indent.el (indent-rigidly):
4638 * kmacro.el (kmacro-call-macro):
4639 * minibuffer.el (minibuffer-force-complete):
4640 * repeat.el (repeat):
4641 * simple.el (universal-argument--mode):
4642 * calendar/todo-mode.el (todo-insert-item--next-param):
4643 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4644
4645 * indent.el (indent-rigidly): Use substitute-command-keys.
4646
4647 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4648
4649 * net/eww.el (eww-tag-select): Add text-property to jump to next
4650 select field.
4651 (eww): Add non-supported ftp error.
4652
4653 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4654
4655 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4656 comments. Handle electric indent after typing `?' and `!'.
4657
4658 2013-12-22 Chong Yidong <cyd@gnu.org>
4659
4660 * faces.el (face-spec-recalc): If the theme specs are not
4661 applicable to a frame, fall back on the defface spec.
4662 This prevents themes from obliterating faces on low-color terminals.
4663
4664 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4665
4666 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4667 after `{'. We need it after block openers, and it doesn't seem
4668 to hurt after hash openers.
4669
4670 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4671
4672 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4673 extracted from `ruby-smie-rules'.
4674 (ruby--electric-indent-chars): New variable.
4675 (ruby--electric-indent-p): New function.
4676 (ruby-mode): Use `electric-indent-functions' instead of
4677 `electric-indent-chars'.
4678
4679 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4680
4681 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4682 docstring.
4683 (ruby-smie-rules): Indent plus one level after `=>'.
4684
4685 2013-12-21 Richard Stallman <rms@gnu.org>
4686
4687 * simple.el (newline): Doc fix.
4688
4689 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4690
4691 * net/eww.el (eww-list-histories, eww-list-histories)
4692 (eww-history-browse, eww-history-quit, eww-history-kill)
4693 (eww-history-mode-map, eww-history-mode): New command and
4694 functions to list browser histories.
4695 (eww-form-text): Support text form with disabled
4696 and readonly attributes.
4697 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4698
4699 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4700
4701 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4702 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4703 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4704 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4705 Use `user-error'.
4706 (eww-bookmark-mode-map): Add menu.
4707 (eww-render, eww-mode): Use `setq-local'.
4708 (eww-tool-bar-map): New variable.
4709 (eww-mode): Set `tool-bar-map'.
4710 (eww-view-source): Check for `html-mode' with `fboundp'.
4711
4712 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4713
4714 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4715 elements with text inside. Also remove debugging.
4716
4717 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4718
4719 * cus-start.el (all): Add ns-use-srgb-colorspace.
4720
4721 2013-12-21 Chong Yidong <cyd@gnu.org>
4722
4723 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4724 undefined. Thus, theme settings for undefined faces do not take
4725 effect until the faces are defined with defface, the same as with
4726 theme variables.
4727
4728 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4729 (face-spec-reset-face): Don't assign extra properties in temacs.
4730 (face-spec-recalc): Apply X resources too.
4731
4732 2013-12-21 Chong Yidong <cyd@gnu.org>
4733
4734 * faces.el (face-spec-set):
4735 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4736 * custom.el (defface): Doc fixes (Bug#16203).
4737
4738 * indent.el (indent-rigidly-map): Add docstring, and move commands
4739 into named functions.
4740 (indent-rigidly-left, indent-rigidly-right)
4741 (indent-rigidly-left-to-tab-stop)
4742 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4743 indentation direction based on bidi direction, and accumulate
4744 sequential commands in a single undo boundary.
4745 (indent-rigidly--pop-undo): New utility function.
4746
4747 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4748
4749 * faces.el (read-face-name): Require crm.el when using crm-separator.
4750
4751 2013-12-20 Daniel Colascione <dancol@dancol.org>
4752
4753 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4754 so that we don't reflow comments into the shebang line.
4755
4756 2013-12-20 Juri Linkov <juri@jurta.org>
4757
4758 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4759 a position when `dired-directory' is non-nil. Check integer
4760 positions with `integerp'.
4761 (toggle-save-place, save-places-to-alist): Add check for
4762 `dired-directory'.
4763 (save-place-find-file-hook): Check integer positions with
4764 `integerp'.
4765 (save-place-dired-hook): Use `dired-goto-file' when
4766 `dired-filename' is found in the assoc list. Check integer
4767 positions with `integerp'.
4768 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4769
4770 * dired.el (dired-initial-position-hook): Rename back from
4771 `dired-initial-point-hook'.
4772 (dired-initial-position): Rename `dired-initial-point-hook' to
4773 `dired-initial-position-hook'.
4774 (dired-file-name-at-point): Doc fix. (Bug#15329)
4775
4776 2013-12-20 Juri Linkov <juri@jurta.org>
4777
4778 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4779 (read-regexp-suggestions): New function.
4780 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4781 Use `read-regexp-suggestions'. Add non-empty default to history
4782 for empty input.
4783 (occur-read-regexp-defaults-function): Remove function.
4784 (occur-read-primary-args): Use `regexp-history-last' instead of
4785 `occur-read-regexp-defaults-function'.
4786
4787 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4788 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4789 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4790 `hi-lock-read-regexp-defaults-function'. Doc fix.
4791 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4792 with `find-tag-default-as-symbol-regexp'. Doc fix.
4793 (hi-lock-read-regexp-defaults): Remove function.
4794 (hi-lock-regexp-okay): Add check for null.
4795
4796 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4797 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4798
4799 * subr.el (find-tag-default-as-symbol-regexp): New function.
4800 (find-tag-default-as-regexp): Move symbol regexp formatting to
4801 `find-tag-default-as-symbol-regexp'.
4802
4803 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4804
4805 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4806 (Bug#14179)
4807
4808 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4809
4810 * calendar/todo-mode.el: New implementation of item insertion
4811 commands and key bindings.
4812 (todo-key-prompt): New face.
4813 (todo-insert-item): New command.
4814 (todo-insert-item--parameters): New defconst, replacing defvar
4815 todo-insertion-commands-args-genlist.
4816 (todo-insert-item--param-key-alist): New defconst, replacing
4817 defvar todo-insertion-commands-arg-key-list.
4818 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4819 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4820 (todo-insert-item--next-param): New functions.
4821 (todo-insert-item--args, todo-insert-item--argleft)
4822 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4823 New variables.
4824 (todo-key-bindings-t): Change binding of "i" from
4825 todo-insertion-map to todo-insert-item.
4826 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4827 (todo-insertion-command-name, todo-insertion-commands-names)
4828 (todo-define-insertion-command, todo-insertion-commands)
4829 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4830
4831 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4832
4833 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4834 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4835 eval-when-compile.
4836 (todo-move-category): Allow choosing a non-existing todo file to
4837 move the category to, and create that file.
4838 (todo-default-priority): New user option.
4839 (todo-set-item-priority): Use it.
4840 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4841 (desktop-restore-file-buffer): Declare.
4842 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4843 (todo-modes-set-2): Locally set desktop-save-buffer to
4844 todo-desktop-save-buffer.
4845 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4846 (auto-mode-alist): Add autoload cookie.
4847
4848 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4849
4850 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4851 helpers.el was a poor choice of name.
4852 (string-remove-prefix): New function.
4853 (string-remove-suffix): New function.
4854
4855 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4856
4857 Fix assignment for new window total sizes.
4858 * window.el (window--pixel-to-size): Remove function.
4859 (window--pixel-to-total-1, window--pixel-to-total):
4860 Fix calculation of new total sizes.
4861
4862 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4863
4864 * comint.el (comint-output-filter): Fix rear-nonsticky property
4865 placement (Bug#16010).
4866
4867 2013-12-20 Chong Yidong <cyd@gnu.org>
4868
4869 * faces.el (read-color): Minor fix for completion function.
4870
4871 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4872
4873 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4874 New option. (Bug#16182)
4875 (ruby-smie--indent-to-stmt-p): Use it.
4876 (ruby-smie-rules): Revert the logic in the handling of `when'.
4877 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4878 (ruby-deep-arglist, ruby-deep-indent-paren)
4879 (ruby-deep-indent-paren-style): Update docstrings to note that the
4880 vars don't have any effect with SMIE.
4881
4882 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4883
4884 * calc/calc.el (calc-enter, calc-pop): Use the variable
4885 `calc-context-sensitive-enter'.
4886
4887 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4888
4889 * net/shr.el (shr-insert): Protect against infloops in degenerate
4890 tables.
4891
4892 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4893
4894 * progmodes/octave.el (octave): Add link to manual and octave
4895 homepage.
4896 (octave-mode-menu): Link to octave-mode manual.
4897
4898 2013-12-20 Leo Liu <sdl.web@gmail.com>
4899
4900 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4901 insertion using skeleton-end-newline. (Bug#16138)
4902
4903 2013-12-20 Juri Linkov <juri@jurta.org>
4904
4905 * replace.el (occur-engine): Use `add-face-text-property'
4906 to add the face property to matches and titles. (Bug#14645)
4907
4908 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4909 the palette of other hi-lock colors.
4910 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4911
4912 2013-12-19 Juri Linkov <juri@jurta.org>
4913
4914 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4915 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4916 (minibuffer-history-symbol): Move variable declaration closer to
4917 its usage.
4918
4919 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4920 (Bug#14785)
4921
4922 2013-12-19 Juri Linkov <juri@jurta.org>
4923
4924 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4925 New function.
4926 (log-edit-hook): Add it to :options. (Bug#16170)
4927
4928 2013-12-19 Juri Linkov <juri@jurta.org>
4929
4930 * simple.el (eval-expression-print-format): Don't check for
4931 command names and the last command. Always display additional
4932 formats of the integer result in the echo area, and insert them
4933 to the current buffer only with a zero prefix arg.
4934 Display character when char-displayable-p is non-nil.
4935 (eval-expression): With a zero prefix arg, set `print-length' and
4936 `print-level' to nil, and insert the integer values from
4937 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4938
4939 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4940 `eval-last-sexp-arg-internal'. Doc fix.
4941 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4942 `eval-last-sexp-print-value'. Doc fix.
4943 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4944 Set `print-length' and `print-level' to nil when arg is zero.
4945 (eval-last-sexp): Doc fix.
4946 (eval-defun-2): Print the integer values from
4947 `eval-expression-print-format' at the end.
4948
4949 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4950 values from `eval-expression-print-format' at the end.
4951
4952 * ielm.el (ielm-eval-input): Print the integer
4953 values from `eval-expression-print-format' at the end.
4954
4955 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4956
4957 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4958 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4959
4960 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4961
4962 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4963 (hl-line-highlight, global-hl-line-highlight): Use it.
4964 (hl-line-overlay): Use defvar-local.
4965
4966 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4967
4968 * term/ns-win.el: Require dnd.
4969 (global-map): Remove drag items.
4970 (ns-insert-text, ns-set-foreground-at-mouse)
4971 (ns-set-background-at-mouse):
4972 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4973 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4974 New functions.
4975
4976 2013-12-19 Glenn Morris <rgm@gnu.org>
4977
4978 * emacs-lisp/ert.el (ert-select-tests):
4979 Fix string/symbol mixup. (Bug#16121)
4980
4981 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4982
4983 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4984 keywords to their parent.
4985
4986 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4987
4988 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4989 first arg to be a string (fixed dead code), or an operator symbol.
4990 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4991 operator symbols.
4992 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4993 did nothing. Don't respond to `(:after ".")', it will be called
4994 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4995 change anything. Only return indentation for binary operators
4996 when they are hanging. De-dent opening paren when its parent is
4997 `.', otherwise it looks bad when the dot is not at bol or eol
4998 (bug#16182).
4999
5000 2013-12-19 Juri Linkov <juri@jurta.org>
5001
5002 * replace.el (query-replace-read-args): Split a non-negative arg
5003 and a negative arg into separate elements.
5004 (query-replace, query-replace-regexp, replace-string)
5005 (replace-regexp): Add arg `backward'. Doc fix.
5006 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5007 move point to the beginning of the match.
5008 (replace-search, replace-highlight): Use new arg `backward'
5009 to set the value of `isearch-forward'.
5010 (perform-replace): Add arg `backward' and use it to perform
5011 replacement backward. (Bug#14979)
5012
5013 * isearch.el (isearch-query-replace): Use a negative prefix arg
5014 to call `perform-replace' with a non-nil arg `backward'.
5015
5016 2013-12-18 Juri Linkov <juri@jurta.org>
5017
5018 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5019 to the default list. Move `log-edit-show-files' to the end.
5020 Add more available functions to options.
5021 (log-edit): Move default specific settings to
5022 `log-edit-insert-message-template'. Don't move point.
5023 (log-edit-insert-message-template): New function.
5024 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5025 (Bug#16170)
5026
5027 2013-12-18 Juri Linkov <juri@jurta.org>
5028
5029 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5030 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5031
5032 2013-12-18 Leo Liu <sdl.web@gmail.com>
5033
5034 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5035 (Bug#16186)
5036
5037 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5038
5039 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5040 formats for displaying file sizes when the -s switch is given.
5041 Instead, compute a separate format for displaying the size in
5042 blocks, which is displayed in addition to the "regular" size.
5043 When -h is given in addition to -s, produce size in blocks in
5044 human-readable form as well. (Bug#16179)
5045
5046 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5047
5048 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5049 Reference tables with ~\ref{...} instead of only \ref{...}.
5050
5051 2013-12-18 Chong Yidong <cyd@gnu.org>
5052
5053 * cus-edit.el (custom-magic-alist): Fix "themed" description
5054 (Bug#14348).
5055
5056 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5057 is non-nil, do not create a new entry in the symbol's theme-value
5058 or theme-face property; update theme-settings only (Bug#14664).
5059 (custom-available-themes): Doc fix.
5060
5061 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5062 (Bug#15674).
5063
5064 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5065
5066 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5067
5068 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5069 (Bug#13914).
5070
5071 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5072
5073 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5074
5075 2013-12-18 Glenn Morris <rgm@gnu.org>
5076
5077 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5078 * cus-start.el (load-prefer-newer): New option.
5079
5080 2013-12-18 Le Wang <l26wang@gmail.com>
5081
5082 * comint.el (comint-previous-matching-input-from-input):
5083 Retain point (Bug#13404).
5084
5085 2013-12-18 Chong Yidong <cyd@gnu.org>
5086
5087 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5088
5089 2013-12-18 Glenn Morris <rgm@gnu.org>
5090
5091 * mail/emacsbug.el (report-emacs-bug):
5092 Only mention enable-multibyte-characters if non-standard.
5093
5094 2013-12-17 Juri Linkov <juri@jurta.org>
5095
5096 * arc-mode.el (archive-extract-by-file): Check if directory exists
5097 before deletion to not show irrelevant errors if it doesn't exist.
5098
5099 2013-12-17 Juri Linkov <juri@jurta.org>
5100
5101 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5102 (Bug#14751)
5103
5104 * net/eww.el (browse-web): Add alias to `eww'.
5105 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5106 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5107
5108 * net/browse-url.el (browse-url-browser-function): Move `eww'
5109 closer to similar functions.
5110
5111 * startup.el (fancy-startup-screen, fancy-about-screen):
5112 Set browse-url-browser-function to eww-browse-url locally.
5113 (Bug#14751)
5114
5115 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5116
5117 * window.el (window--pixel-to-total): Remove unused `mini' var.
5118 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5119 (split-window): Remove unused `new' var.
5120 (window--display-buffer): Remove unused `frame' and `delta' vars.
5121 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5122 and display-width'.
5123
5124 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5125
5126 * dired.el (dired-mark-pop-up):
5127 * register.el (register-preview): Don't bind
5128 split-height-threshold here since it's now done in
5129 display-buffer-below-selected.
5130
5131 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5132
5133 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5134 xterm-rgb-convert-to-16bit.
5135 (rxvt-register-default-colors): Standardize with
5136 xterm-register-default-colors (Bug#14078).
5137
5138 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5139
5140 * simple.el (kill-region): Pass mark first, then point, so that
5141 kill-append works right (Bug#12819).
5142 (copy-region-as-kill, kill-ring-save): Likewise.
5143
5144 2013-12-17 Leo Liu <sdl.web@gmail.com>
5145
5146 * net/rcirc.el (rcirc-add-face):
5147 * eshell/em-prompt.el (eshell-emit-prompt):
5148 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5149 (Bug#16167)
5150
5151 2013-12-17 Chong Yidong <cyd@gnu.org>
5152
5153 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5154 Suggested by Xue Fuqiao.
5155
5156 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5157
5158 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5159
5160 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5161
5162 * net/shr.el (shr-insert-document): Remove unused var
5163 `shr-preliminary-table-render'.
5164 (shr-rescale-image): Remove unused arg `force'.
5165 (shr-put-image): Update calls accordingly.
5166 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5167
5168 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5169
5170 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5171 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5172 :close-all, to see which indentation method to use (Bug#16116).
5173 (smie-rules-function): Document the method :close-all.
5174
5175 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5176
5177 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5178
5179 * net/eww.el (eww-display-html): If we can't find the anchor we're
5180 looking for, then go to point-min.
5181
5182 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5183
5184 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5185 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5186 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5187 Expand dir too, in case it's relative.
5188
5189 2013-12-16 Juri Linkov <juri@jurta.org>
5190
5191 * desktop.el (desktop-auto-save-timeout): Change default to
5192 `auto-save-timeout'. Doc fix.
5193 (desktop-save): Skip the timestamp in desktop-saved-frameset
5194 when checking for auto-save changes.
5195 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5196 `desktop-auto-save' is called repeatedly by the idle timer.
5197 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5198 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5199 (Bug#15331)
5200
5201 2013-12-16 Juri Linkov <juri@jurta.org>
5202
5203 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5204 (Bug#16035)
5205 (isearch-pre-command-hook): Check `this-command' for symbolp.
5206
5207 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5208
5209 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5210
5211 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5212
5213 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5214 (cfengine3--current-function): Bring in the current-function
5215 functionality from `cfengine3--current-word'.
5216 (cfengine3-completion-function): Bring in the
5217 bounds-of-current-word functionality from
5218 `cfengine3--current-word'.
5219
5220 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5221
5222 * window.el (display-buffer-below-selected):
5223 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5224
5225 2013-12-16 Leo Liu <sdl.web@gmail.com>
5226
5227 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5228 Remove NOMSG arg and all uses changed.
5229
5230 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5231
5232 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5233 (cua--deactivate-rectangle): Don't deactivate the mark.
5234 (cua-set-rectangle-mark): Don't set mark-active since
5235 cua--activate-rectangle already does it for us.
5236 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5237 non-rectangular region.
5238
5239 * emulation/cua-base.el (cua-repeat-replace-region):
5240 Use with-current-buffer.
5241
5242 * net/gnutls.el: Use cl-lib.
5243 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5244
5245 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5246
5247 * emacs-lisp/package.el (package-built-in-p): Support both
5248 built-in and the package.el converted package descriptions.
5249 (package-show-package-list): Allow keywords.
5250 (package-keyword-button-action): Use it instead of
5251 `finder-list-matches'.
5252 (package-menu-filter-interactive): Interactive filtering (by
5253 keyword) function.
5254 (package-menu--generate): Support keywords and change keymappings
5255 and headers when they are given.
5256 (package--has-keyword-p): Helper function.
5257 (package-menu--refresh): Use it.
5258 (package--mapc): Helper function.
5259 (package-all-keywords): Use it.
5260 (package-menu-mode-map): Set up menu items and keybindings to
5261 provide a filtering UI.
5262
5263 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5264
5265 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5266 the behavior when a certificate fails validation. Defaults to
5267 old behavior: never abort, just warn.
5268 (gnutls-negotiate): Use it.
5269
5270 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5271
5272 * window.el (display-buffer-below-selected): Never split window
5273 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5274
5275 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5276
5277 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5278 (package-buffer-info): Use it (bug#15108).
5279
5280 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5281
5282 * icomplete.el (icomplete-completions): Make sure the prefix is already
5283 displayed elsewhere before hiding it (bug#16219).
5284
5285 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5286
5287 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5288 open-paren tokens when preceded by a open-paren, too.
5289 (ruby-smie-rules): Handle virtual indentation after open-paren
5290 tokens specially. If there is code between it and eol, return the
5291 column where is starts (Bug#16118).
5292
5293 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5294
5295 * progmodes/cfengine.el: Fix `add-hook' doc.
5296 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5297 (cfengine3--current-word): Fix parameters.
5298 (cfengine3-make-syntax-cache): Simplify further.
5299 (cfengine3-completion-function, cfengine3--current-function):
5300 Use `assq' for symbols.
5301 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5302
5303 2013-12-13 Glenn Morris <rgm@gnu.org>
5304
5305 * loadup.el (load-path): Warn if site-load or site-init changes it.
5306 No more need to reset it when bootstrapping.
5307
5308 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5309
5310 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5311 locations for cf-promises.
5312 (cfengine-mode-syntax-functions-regex): New caching variable.
5313 (cfengine3-fallback-syntax): Fallback syntax for cases where
5314 cf-promises doesn't run.
5315 (cfengine3--current-word): Reimplement using
5316 `cfengine-mode-syntax-functions-regex'.
5317 (cfengine3-completion-function, cfengine3--current-function):
5318 Use `cfengine3-make-syntax-cache' directly.
5319 (cfengine3-clear-syntax-cache): New function.
5320 (cfengine3-make-syntax-cache): Simplify and create
5321 `cfengine-mode-syntax-functions-regex' on demand.
5322 (cfengine3-format-function-docstring): Don't call
5323 `cfengine3-make-syntax-cache' explicitly.
5324
5325 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5326
5327 Fix windmove-find-other-window broken after pixelwise resizing
5328 (Bug#16017).
5329 * windmove.el (windmove-other-window-loc): Revert change from
5330 2013-12-04.
5331 (windmove-find-other-window): Call window-in-direction.
5332 * window.el (window-in-direction): New arguments SIGN, WRAP and
5333 MINI to emulate original windmove-find-other-window behavior.
5334
5335 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5336
5337 * simple.el (blink-matching--overlay): New variable.
5338 (blink-matching-open): Instead of moving point, highlight the
5339 matching paren with an overlay
5340 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5341
5342 * faces.el (paren-showing-faces, show-paren-match)
5343 (show-paren-mismatch): Move from paren.el.
5344
5345 2013-12-13 Leo Liu <sdl.web@gmail.com>
5346
5347 * indent.el (indent-region): Disable progress reporter in
5348 minibuffer. (Bug#16108)
5349
5350 * bindings.el (visual-order-cursor-movement): Fix version.
5351
5352 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5353
5354 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5355 Also match after beginning of line.
5356 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5357 files. Thanks to Russell Sim. (Bug#15378)
5358
5359 2013-12-13 Juri Linkov <juri@jurta.org>
5360
5361 * simple.el <Keypad support>: Remove key bindings duplicated
5362 with bindings.el. (Bug#14397)
5363
5364 2013-12-13 Juri Linkov <juri@jurta.org>
5365
5366 * comint.el (comint-mode-map): Replace `delete-char' with
5367 `delete-forward-char'. (Bug#16109)
5368
5369 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5370
5371 * progmodes/python.el (python-indent-calculate-indentation):
5372 Fix de-denters cornercase. (Bug#15731)
5373
5374 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5375
5376 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5377 (advice--make): Pay attention to `depth'.
5378 (advice--make-1): Don't autoload commands eagerly.
5379 * emacs-lisp/elp.el (elp-instrument-function):
5380 * emacs-lisp/trace.el (trace-function-internal):
5381 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5382
5383 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5384
5385 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5386
5387 * term/w32-win.el (w32-handle-dropped-file):
5388 * startup.el (normal-top-level):
5389 * net/browse-url.el (browse-url-file-url):
5390 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5391 decode file names using 'utf-8' rather than
5392 file-name-coding-system.
5393
5394 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5395
5396 * progmodes/python.el (python-indent-context)
5397 (python-indent-calculate-indentation): Fix auto-identation
5398 behavior for comment blocks. (Bug#15916)
5399
5400 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5401
5402 * progmodes/python.el (python-indent-calculate-indentation):
5403 When determining indentation, don't treat "return", "pass", etc., as
5404 operators when they are just string constituents. (Bug#15812)
5405
5406 2013-12-12 Juri Linkov <juri@jurta.org>
5407
5408 * uniquify.el (uniquify-buffer-name-style): Change default to
5409 `post-forward-angle-brackets'.
5410
5411 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5412 `uniquify'. Change default to `post-forward-angle-brackets'.
5413
5414 2013-12-11 Glenn Morris <rgm@gnu.org>
5415
5416 * emacs-lisp/package.el (finder-list-matches):
5417 Autoload rather than falsely declaring.
5418
5419 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5420
5421 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5422 (eww-mode-map): Use them.
5423
5424 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5425
5426 * window.el (display-buffer-in-side-window): Fix doc-string
5427 (Bug#16115).
5428
5429 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5430
5431 * vc/vc-git.el: Silence byte-compiler warnings.
5432 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5433 (log-edit-set-header): Declare.
5434
5435 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5436
5437 * Makefile.in (custom-deps, finder-data): Run output file names
5438 through unmsys--file-name. (Bug#16099)
5439
5440 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5441
5442 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5443 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5444
5445 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5446 instead of deleting the selection "by hand" (bug#16098).
5447 Rely on insert-for-yank to yank rectangles.
5448 (cua-highlight-region-shift-only): Mark obsolete.
5449 (cua-mode): Don't enable/disable transient-mark-mode,
5450 shift-select-mode (cua-mode works both with and without them), and
5451 pc-selection-mode (obsolete).
5452 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5453 (cua--deactivate-rectangle): Deactivate it.
5454
5455 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5456 (delete-selection-helper): Make sure yank starts at the top of the
5457 deleted region.
5458 (minibuffer-keyboard-quit): Use region-active-p.
5459
5460 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5461
5462 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5463 to `delete' (bug#16109).
5464
5465 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5466
5467 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5468 info manual and show keybindings and set `:group' keyword.
5469
5470 2013-12-11 Juri Linkov <juri@jurta.org>
5471
5472 * delsel.el (delete-active-region): Let-bind `this-command'
5473 to prevent `kill-region' from changing its original value.
5474 (delete-selection-helper): Handle `overwrite-mode' for the type
5475 `kill' exactly the same way as for the type `t'.
5476 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5477 Support more commands. (Bug#13312)
5478
5479 2013-12-11 Juri Linkov <juri@jurta.org>
5480
5481 * bindings.el: Map kp keys to non-kp keys systematically
5482 with basic modifiers control, meta and shift. (Bug#14397)
5483
5484 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5485
5486 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5487 "Close browser" menu items. Fix wrong function of "List
5488 bookmarks".
5489
5490 2013-12-11 Juri Linkov <juri@jurta.org>
5491
5492 * misearch.el (multi-isearch-buffers): Set the value of
5493 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5494 arg of isearch-forward to t.
5495 (multi-isearch-buffers-regexp): Set the value of
5496 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5497 arg of isearch-forward-regexp to t.
5498 (multi-isearch-files): Set the value of
5499 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5500 arg of isearch-forward to t.
5501 (multi-isearch-files-regexp): Set the value of
5502 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5503 arg of isearch-forward-regexp to t. (Bug#16035)
5504
5505 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5506 arg of isearch-forward to t.
5507 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5508 arg of isearch-forward-regexp to t.
5509 (dired-isearch-filter-filenames): Remove unnecessary check for
5510 `dired-isearch-filenames'.
5511
5512 * comint.el (comint-history-isearch-backward):
5513 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5514 (comint-history-isearch-backward-regexp):
5515 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5516
5517 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5518
5519 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5520 unmsys--file-name. (Bug#16099)
5521
5522 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5523
5524 * emacs-lisp/package.el (package-keyword-button-action):
5525 Remove finder.el require dependency.
5526
5527 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5528
5529 * emacs-lisp/package.el: Require finder.el.
5530 (describe-package-1): Add keyword buttons.
5531 (package-make-button): New convenience function.
5532 (package-keyword-button-action): Keyword button action using
5533 `finder-list-matches'.
5534
5535 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5536
5537 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5538 last commit.
5539
5540 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5541
5542 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5543 symlinked files.
5544
5545 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5546
5547 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5548 after the end of a percent literal.
5549
5550 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5551
5552 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5553 Handle caret-delimited strings (Bug#16079).
5554
5555 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5556
5557 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5558 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5559 `ruby-parse-partial' (Bug#16078).
5560
5561 2013-12-09 Leo Liu <sdl.web@gmail.com>
5562
5563 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5564
5565 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5566
5567 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5568 (js-switch-indent-offset): New option.
5569 (js--proper-indentation): Use it. And handle the case when
5570 "default" is actually a key in an object literal.
5571 (js--same-line): New function.
5572 (js--multi-line-declaration-indentation): Use it.
5573 (js--indent-in-array-comp, js--array-comp-indentation):
5574 New functions.
5575 (js--proper-indentation): Use them, to handle array comprehension
5576 continuations.
5577
5578 2013-12-08 Leo Liu <sdl.web@gmail.com>
5579
5580 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5581 (flymake-make-overlay): Remove arg MOUSE-FACE.
5582 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5583
5584 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5585
5586 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5587 New function.
5588 (redisplay-highlight-region-function): Use it.
5589
5590 * emulation/cua-base.el (cua--explicit-region-start)
5591 (cua--last-region-shifted): Remove.
5592 (cua--deactivate): Use deactivate-mark.
5593 (cua--pre-command-handler-1): Don't handle shift-selection.
5594 (cua--post-command-handler-1): Don't change transient-mark-mode.
5595 (cua--select-keymaps): Use region-active-p rather than
5596 cua--explicit-region-start or cua--last-region-shifted.
5597 (cua-mode): Enable shift-select-mode.
5598
5599 2013-12-08 Leo Liu <sdl.web@gmail.com>
5600
5601 * progmodes/flymake.el (flymake-popup-current-error-menu):
5602 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5603 (flymake-posn-at-point-as-event, flymake-popup-menu)
5604 (flymake-make-emacs-menu): Remove. (Bug#16077)
5605
5606 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5607
5608 * rect.el (rectangle-mark-mode): Activate mark even if
5609 transient-mark-mode is off (bug#16066).
5610 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5611 is > mark and at bolp.
5612
5613 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5614 (region-extract-function): Use it.
5615 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5616 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5617 Delete functions.
5618 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5619 kill-ring-save, kill-region, delete-char, delete-forward-char.
5620 Ignore self-insert-iso.
5621
5622 * emulation/cua-gmrk.el (cua--init-global-mark):
5623 Ignore `self-insert-iso'.
5624
5625 * emulation/cua-base.el (cua--prefix-copy-handler)
5626 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5627 checking cua--rectangle.
5628 (cua-delete-region): Use region-extract-function.
5629 (cua-replace-region): Delete function.
5630 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5631 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5632 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5633 (cua--init-keymaps): Don't remap delete-selection commands.
5634 (cua-mode): Use delete-selection-mode instead of rolling our own
5635 (bug#16085).
5636
5637 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5638 Obey region-extract-function.
5639
5640 Make registers and delete-selection-mode work on rectangles.
5641 * register.el (describe-register-1): Don't modify the register's value.
5642 (copy-to-register): Obey region-extract-function.
5643 * delsel.el (delete-active-region): Obey region-extract-function.
5644
5645 2013-12-08 Leo Liu <sdl.web@gmail.com>
5646
5647 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5648 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5649 (flymake-compilation-prevents-syntax-check)
5650 (flymake-start-syntax-check-on-newline)
5651 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5652 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5653 (flymake-xml-program, flymake-master-file-dirs)
5654 (flymake-master-file-count-limit)
5655 (flymake-allowed-file-name-masks): Relocate.
5656 (flymake-makehash, flymake-float-time)
5657 (flymake-replace-regexp-in-string, flymake-split-string)
5658 (flymake-get-temp-dir): Remove.
5659 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5660 (flymake-current-row, flymake-selected-frame)
5661 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5662 related functions. (Bug#16077)
5663
5664 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5665
5666 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5667
5668 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5669
5670 * help-fns.el (describe-function-1): Use new advice-* functions
5671 rather than old ad-* functions. Fix function type description and
5672 source links for advised functions and subrs.
5673
5674 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5675
5676 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5677
5678 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5679
5680 * progmodes/compile.el (compilation-start):
5681 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5682
5683 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5684 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5685
5686 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5687
5688 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5689 Touch up the last change.
5690
5691 2013-12-06 Leo Liu <sdl.web@gmail.com>
5692
5693 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5694 (inferior-octave-startup): Always use "octave> " for prompt.
5695 (octave-goto-function-definition)
5696 (octave-sync-function-file-names)
5697 (octave-find-definition-default-filename): Remove redundant backquotes.
5698
5699 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5700
5701 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5702 syntax for `?'.
5703 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5704 where appropriate already.
5705 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5706 end of method names (Bug#15874).
5707
5708 2013-12-06 Juri Linkov <juri@jurta.org>
5709
5710 * isearch.el (isearch--saved-overriding-local-map):
5711 New internal variable.
5712 (isearch-mode): Set it to the initial value of
5713 `overriding-terminal-local-map'.
5714 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5715 with `isearch--saved-overriding-local-map'. (Bug#16035)
5716
5717 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5718
5719 * progmodes/octave.el (inferior-octave-completion-table):
5720 Turn back into function, use `completion-table-with-cache'
5721 (Bug#11906). Update all references.
5722
5723 * minibuffer.el (completion-table-with-cache): New function.
5724
5725 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5726
5727 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5728
5729 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5730
5731 * net/eww.el (eww-current-source): New variable to store page
5732 source.
5733 (eww-display-html, eww-mode, eww-save-history)
5734 (eww-restore-history): Use it.
5735 (eww-view-source): New command to view page source.
5736 Opportunistically uses `html-mode' to highlight the buffer.
5737 (eww-mode-map): Install it.
5738
5739 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5740
5741 * net/dbus.el (dbus-unregister-service)
5742 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5743 Fix docstring.
5744 (dbus-unregister-service): Skip :serial entries in
5745 `dbus-registered-objects-table'.
5746 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5747
5748 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5749
5750 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5751 around keywords with extra `split-string' argument.
5752
5753 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5754
5755 * windmove.el (windmove-other-window-loc): Handle navigation
5756 between windows (excluding the minibuffer window - Bug#16017).
5757
5758 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5759
5760 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5761 in D-Bus type syntax.
5762 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5763 preserve unibyte strings. (Bug#16048)
5764
5765 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5766
5767 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5768 Call force-mode-line-update is the proper buffer (bug#16042).
5769
5770 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5771
5772 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5773 `log-edit-remember-comment', make argument optional. Adjust all
5774 callers.
5775 (log-edit-mode): Add `log-edit-remember-comment' to
5776 `kill-buffer-hook' locally.
5777 (log-edit-kill-buffer): Don't remember comment explicitly since
5778 the buffer is killed anyway.
5779
5780 2013-12-04 Juri Linkov <juri@jurta.org>
5781
5782 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5783 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5784
5785 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5786
5787 * notifications.el (notifications-close-notification): Call the
5788 D-Bus method with ID being a `:uint32'. (Bug#16030)
5789
5790 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5791
5792 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5793
5794 2013-12-03 Juri Linkov <juri@jurta.org>
5795
5796 * progmodes/compile.el (compilation-start): Rename window alist
5797 entry `no-display-ok' to `allow-no-window'.
5798
5799 * simple.el (shell-command): Add window alist entry
5800 `allow-no-window' to `display-buffer'.
5801 (async-shell-command): Doc fix.
5802
5803 * window.el (display-buffer-no-window): New action function.
5804 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5805
5806 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5807
5808 * vc/log-edit.el (log-edit-set-header): Extract from
5809 `log-edit-toggle-header'.
5810 (log-edit-extract-headers): Separate the summary, when extracted
5811 from header, from the rest of the message with an empty line.
5812
5813 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5814 line, if present, to the Summary header.
5815
5816 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5817
5818 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5819 in current-buffer (bug#16029).
5820
5821 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5822
5823 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5824 (debugger-mode-map): Bind it.
5825 (debugger--backtrace-base): New function.
5826 (debugger-eval-expression): Use it.
5827 (debugger-frame-number): Skip local vars when present.
5828 (debugger--locals-visible-p, debugger--insert-locals)
5829 (debugger--show-locals, debugger--hide-locals): New functions.
5830
5831 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5832
5833 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5834 "LC_ALL".
5835 (tramp-get-remote-locale): New defun.
5836 (tramp-open-connection-setup-interactive-shell): Use it.
5837
5838 2013-12-02 Leo Liu <sdl.web@gmail.com>
5839
5840 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5841
5842 * progmodes/sh-script.el (sh-shell-process):
5843 * progmodes/octave.el (inferior-octave-process-live-p):
5844 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5845 (gdb-inferior-io-sentinel):
5846 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5847
5848 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5849
5850 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5851 `save-selected-window' to `log-edit-hide-buf'. This makes
5852 `log-edit-show-files' idempotent.
5853 (log-edit-show-files): Mark the new window as dedicated.
5854
5855 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5856
5857 * vc/log-edit.el (log-edit-mode-map): Add binding for
5858 `log-edit-kill-biffer'.
5859 (log-edit-hide-buf): Add a FIXME comment.
5860 (log-edit-add-new-comment): New function, extracted from
5861 `log-edit-done'.
5862 (log-edit-done, log-edit-add-to-changelog): Use it.
5863 (log-edit-kill-buffer): New command.
5864
5865 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5866
5867 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5868 instead of killing the buffer.
5869
5870 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5871
5872 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5873
5874 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5875
5876 * net/eww.el (eww-form-checkbox-selected-symbol)
5877 (eww-form-checkbox-symbol): New customizable variable.
5878 (eww-form-checkbox, eww-toggle-checkbox):
5879 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5880
5881 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5882 (shr--get-media-pref, shr--extract-best-source): New function.
5883 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5884 no :src tag was specified.
5885
5886 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5887 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5888 Use \\` to match beginning of string instead of ^.
5889 (eww-browse-with-external-browser): Provide optional URL parameter.
5890 (eww-render): Set `eww-current-title' back to "".
5891
5892 * net/shr.el (shr-tag-video): Display content for video if no
5893 poster is available.
5894 (shr-tag-audio): Add support for <audio> tag.
5895
5896 * net/eww.el (eww-text-input-types): New const.
5897 (eww-process-text-input): Treat input types in
5898 `eww-text-input-types' as text.
5899
5900 * net/shr.el (shr-tag-table): Fix comment typo.
5901
5902 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5903
5904 * net/eww.el (eww-follow-link): New command to avoid reloading
5905 pages when we follow #target links (bug#15243).
5906 (eww-quit): Special mode buffers shouldn't query before exiting.
5907
5908 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5909
5910 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5911 forms.
5912
5913 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5914
5915 * net/eww.el (eww-restore-history): Update the window title after
5916 moving in the history.
5917 (eww-current-dom): New variable used to save the current DOM.
5918
5919 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5920
5921 * vc/log-edit.el (log-edit-mode-map): Add binding for
5922 `log-edit-beginning-of-line'.
5923 (log-edit-setup-add-author): New user option.
5924 (log-edit-beginning-of-line): New command.
5925 (log-edit): Move major mode call above the contents setup so that
5926 the local variable values are already applied.
5927 (log-edit): Only insert "Author: " when
5928 `log-edit-setup-add-author' is non-nil.
5929 (log-edit): When SETUP is non-nil, position point after ": "
5930 instead of point-min.
5931
5932 2013-12-01 Glenn Morris <rgm@gnu.org>
5933
5934 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5935
5936 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5937
5938 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5939 redisplay to make sure the initial frame gets a chance to become
5940 visible. (Bug#16014)
5941
5942 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5943
5944 Support resizing frames and windows pixelwise.
5945 * cus-start.el (frame-resize-pixelwise)
5946 (window-resize-pixelwise): New entries.
5947 * emacs-lisp/debug.el (debug): Use window-total-height instead
5948 of window-total-size.
5949 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5950 * help.el (describe-bindings-internal): Use help-buffer as
5951 argument for with-help-window.
5952 (temp-buffer-max-width): New option.
5953 (resize-temp-buffer-window, help-window-setup)
5954 (with-help-window): Rewrite.
5955 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5956 dragging dividers.
5957 * window.el (frame-char-size, window-min-pixel-height)
5958 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5959 (window-min-pixel-width, window-safe-min-pixel-size)
5960 (window-combination-p, window-safe-min-size)
5961 (window-resizable-p, window--size-to-pixel)
5962 (window--pixel-to-size, window--resize-apply-p): New functions.
5963 (window-safe-min-height): Fix doc-string.
5964 (window-size, window-min-size, window--min-size-1)
5965 (window-sizable, window-sizable-p, window--min-delta-1)
5966 (window-min-delta, window--max-delta-1, window-max-delta)
5967 (window--resizable, window--resizable-p, window-resizable)
5968 (window-full-height-p, window-full-width-p, window-at-side-p)
5969 (window--in-direction-2, window-in-direction)
5970 (window--resize-reset-1, window--resize-mini-window)
5971 (window-resize, window-resize-no-error)
5972 (window--resize-child-windows-normal)
5973 (window--resize-child-windows, window--resize-siblings)
5974 (window--resize-this-window, window--resize-root-window)
5975 (window--resize-root-window-vertically)
5976 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5977 (maximize-window, minimize-window, delete-window)
5978 (quit-restore-window, window-split-min-size, split-window)
5979 (balance-windows-2, balance-windows)
5980 (balance-windows-area-adjust, balance-windows-area)
5981 (window--state-get-1, window-state-get, window--state-put-1)
5982 (window--state-put-2, window-state-put)
5983 (display-buffer-record-window, window--display-buffer):
5984 Make functions handle pixelwise sizing of windows.
5985 (display-buffer--action-function-custom-type)
5986 (display-buffer-fallback-action):
5987 Add display-buffer-in-previous-window.
5988 (display-buffer-use-some-window): Resize window to height it had
5989 before.
5990 (fit-window-to-buffer-horizontally): New option.
5991 (fit-frame-to-buffer): Describe new values.
5992 (fit-frame-to-buffer-bottom-margin): Replace with
5993 fit-frame-to-buffer-margins.
5994 (window--sanitize-margin): New function.
5995 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5996 using window-text-pixel-size.
5997
5998 2013-11-30 Glenn Morris <rgm@gnu.org>
5999
6000 * emacs-lisp/bytecomp.el (byte-compile-form):
6001 Make the `interactive-only' warning like the `obsolete' one.
6002 * comint.el (comint-run):
6003 * files.el (insert-file-literally, insert-file):
6004 * replace.el (replace-string, replace-regexp):
6005 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6006 (goto-line, insert-buffer, next-line, previous-line):
6007 Tweak `interactive-only' spec.
6008
6009 Stop keeping (most) generated cedet grammar files in the repository.
6010 * Makefile.in (semantic): New.
6011 (compile-main): Depend on semantic.
6012
6013 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6014
6015 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6016 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6017
6018 * uniquify.el (uniquify-buffer-name-style): Change default.
6019
6020 * loadup.el: Preload "uniquify".
6021
6022 * time.el (display-time-update): Update all mode lines (bug#15999).
6023
6024 * electric.el (electric-indent-mode): Enable by default.
6025 * loadup.el: Preload "electric".
6026
6027 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6028
6029 * emacs-lisp/helpers.el (string-empty-p): New function.
6030 (string-blank-p): New function.
6031
6032 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6033
6034 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6035 (Bug#14029).
6036
6037 2013-11-29 Andreas Politz <politza@fh-trier.de>
6038 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6039 allow non-lambda lists as functions.
6040 (imenu--in-alist): Don't recurse into non-subalists.
6041 (imenu): Don't pass function itself as an argument (Bug#14029).
6042
6043 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6044
6045 * progmodes/python.el (python-mode-map): Remove binding for ":".
6046 (python-indent-electric-colon): Remove command.
6047 (python-indent-post-self-insert-function): Integrate the previous code
6048 of python-indent-electric-colon. Make it conditional on
6049 electric-indent-mode.
6050 (python-mode): Add ?: to electric-indent-chars.
6051 Move python-indent-post-self-insert-function to the end of
6052 post-self-insert-hook.
6053
6054 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6055
6056 * doc-view.el (doc-view-goto-page): Update mode-line.
6057
6058 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6059
6060 2013-11-27 Glenn Morris <rgm@gnu.org>
6061
6062 * international/charprop.el, international/uni-bidi.el:
6063 * international/uni-category.el, international/uni-combining.el:
6064 * international/uni-comment.el, international/uni-decimal.el:
6065 * international/uni-decomposition.el, international/uni-digit.el:
6066 * international/uni-lowercase.el, international/uni-mirrored.el:
6067 * international/uni-name.el, international/uni-numeric.el:
6068 * international/uni-old-name.el, international/uni-titlecase.el:
6069 * international/uni-uppercase.el:
6070 Remove generated files from VCS repository.
6071
6072 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6073
6074 * filenotify.el (file-notify-add-watch): Don't special-case
6075 w32notify when computing the directory to watch.
6076
6077 2013-11-27 Glenn Morris <rgm@gnu.org>
6078
6079 Make bootstrap without generated uni-*.el files possible again.
6080 * loadup.el: Update command-line-args checking for unidata-gen.
6081 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6082 * composite.el, international/characters.el:
6083 Handle unicode tables being undefined.
6084
6085 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6086 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6087 (compile-main): Depend on leim rule.
6088 (leim): New rule.
6089 * loadup.el: Move leim-list.el to leim/ subdirectory.
6090 * startup.el (normal-top-level): No more leim directory.
6091 * international/ja-dic-cnv.el (skkdic-convert):
6092 Disable version-control and autoloads in output files.
6093 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6094 Disable version-control and autoloads in output files.
6095 * leim/quail: Move here from ../leim.
6096 * leim/quail/hangul.el (hangul-input-method-activate):
6097 Add autoload cookie.
6098 (generated-autoload-load-name): Set file-local value.
6099 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6100 (generated-autoload-load-name): Set file-local value.
6101
6102 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6103
6104 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6105 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6106 (eww-quit): Ask confirmation before quitting eww.
6107
6108 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6109
6110 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6111 reading output from Diff on MS-Windows and MS-DOS.
6112
6113 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6114
6115 * emacs-lisp/helpers.el (string-reverse): New function.
6116
6117 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6118
6119 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6120 names on MS Windows, like "/[::1]:".
6121
6122 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6123 SWITCHES.
6124
6125 2013-11-26 Glenn Morris <rgm@gnu.org>
6126
6127 * progmodes/python.el (python-indent-guess-indent-offset):
6128 Avoid corner-case error. (Bug#15975)
6129
6130 Preload leim-list.el. (Bug#4789)
6131 * loadup.el: Load leim-list.el when found.
6132 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6133
6134 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6135
6136 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6137
6138 * emacs-lisp/helpers.el (string-join): New function.
6139
6140 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6141
6142 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6143 Mark as obsolete and replace it with a symbol property.
6144 (byte-compile-form): Use new 'interactive-only property.
6145 * comint.el, files.el, replace.el, simple.el:
6146 Apply new 'interactive-only properly.
6147
6148 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6149
6150 * window.el (display-buffer-at-bottom): Make sure that
6151 split-window-sensibly creates the new window on bottom
6152 (Bug#15961).
6153
6154 2013-11-23 David Kastrup <dak@gnu.org>
6155
6156 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6157 on the conflict markers when available.
6158 (smerge--get-marker): New function.
6159 (smerge-end-re, smerge-base-re): Add subgroup.
6160
6161 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6162
6163 * frame.el (handle-focus-in, handle-focus-out): Add missing
6164 interactive spec.
6165
6166 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6167
6168 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6169 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6170
6171 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6172
6173 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6174 (gomoku--last-pos): New var.
6175 (gomoku--intangible-chars): New const.
6176 (gomoku--intangible): New function.
6177 (gomoku-mode): Use it. Derive from special-mode.
6178 (gomoku-move-up): Adjust line count.
6179 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6180 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6181 Simplify accordingly.
6182
6183 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6184 Remove blink-cursor code.
6185 (blink-cursor-timer-function, blink-cursor-suspend):
6186 Don't special-case GUIs.
6187 (blink-cursor-mode): Use focus-in/out-hook.
6188
6189 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6190
6191 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6192 work when annotation is invisible (Bug#13886).
6193
6194 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6195
6196 * json.el (json-alist-p): Only return non-nil if the alist has
6197 simple keys (Bug#13518).
6198
6199 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6200
6201 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6202 when control-statement is the first statement in a buffer (Bug#15956).
6203
6204 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6205
6206 * imenu.el (imenu-generic-skip-comments-and-strings):
6207 New option (Bug#15560).
6208 (imenu--generic-function): Use it.
6209
6210 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6211
6212 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6213 (Bug#13898)
6214
6215 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6216
6217 * emacs-lisp/helpers.el: Add some string helpers.
6218 (string-trim-left): Removes leading whitespace.
6219 (string-trim-right): Removes trailing whitespace.
6220 (string-trim): Removes leading and trailing whitespace.
6221
6222 * subr.el (string-suffix-p): New function.
6223
6224 2013-11-23 Glenn Morris <rgm@gnu.org>
6225
6226 * progmodes/python.el (python-shell-send-file):
6227 Add option to delete file when done. (Bug#15647)
6228 (python-shell-send-string, python-shell-send-region): Use it.
6229
6230 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6231
6232 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6233 to set buffer-read-only to t, never to nil. (Bug#15938)
6234
6235 * textmodes/tex-mode.el (latex-noindent-environments):
6236 Add safe-local-variable property. (Bug#15936)
6237
6238 2013-11-23 Glenn Morris <rgm@gnu.org>
6239
6240 * textmodes/enriched.el (enriched-mode): Doc fix.
6241 * emacs-lisp/authors.el (authors-renamed-files-alist):
6242 Add enriched.doc -> enriched.txt.
6243
6244 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6245
6246 2013-11-22 Leo Liu <sdl.web@gmail.com>
6247
6248 * progmodes/octave.el (inferior-octave-startup): Spit out error
6249 message.
6250
6251 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6252
6253 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6254 Improve docstring.
6255 Add :version.
6256 (ruby-encoding-magic-comment-style): Add :version.
6257
6258 2013-11-22 Leo Liu <sdl.web@gmail.com>
6259
6260 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6261 (Bug#15076)
6262 (octave-help-mode): Adapt to change to help-mode-finish to use
6263 derived-mode-p on 2013-09-17.
6264 (inferior-octave-prompt): Also match octave-gui.
6265 (octave-kill-process): Don't ask twice. (Bug#10564)
6266
6267 2013-11-22 Leo Liu <sdl.web@gmail.com>
6268
6269 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6270 (inferior-octave-startup, inferior-octave-check-process)
6271 (inferior-octave-track-window-width-change)
6272 (octave-completion-at-point, octave-eldoc-function): Use it.
6273 (octave-kill-process): Provide confirmation. (Bug#10564)
6274
6275 2013-11-21 Leo Liu <sdl.web@gmail.com>
6276
6277 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6278 Fix obsolete variable comment-use-global-state.
6279
6280 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6281
6282 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6283 Add `octave-source-file'.
6284 (octave-source-file): New function. (Bug#15935)
6285
6286 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6287
6288 * net/eww.el (eww-local-regex): New variable.
6289 (eww): Use it to detect localhost and similar.
6290
6291 2013-11-21 Leo Liu <sdl.web@gmail.com>
6292
6293 Add completion for command `ag'.
6294 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6295 (pcomplete/ag): New function.
6296 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6297
6298 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6299
6300 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6301 (bug#14646).
6302 (make-obsolete): Remove interactive spec.
6303
6304 2013-11-21 Glenn Morris <rgm@gnu.org>
6305
6306 * startup.el (command-line-1): Use path-separator with -L.
6307
6308 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6309
6310 * emacs-lisp/package.el (describe-package-1): Add package archive
6311 to shown fields.
6312
6313 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6314
6315 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6316 Change default to "# encoding: %s" to differentiate it from the
6317 default Ruby encoding comment template.
6318
6319 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6320
6321 * ses.el (ses-mode): Doc fix. (Bug#14748)
6322
6323 2013-11-20 Leo Liu <sdl.web@gmail.com>
6324
6325 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6326
6327 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6328
6329 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6330 when rebase or bisect are in progress.
6331
6332 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6333
6334 * filenotify.el (file-notify-add-watch): Doc fix.
6335
6336 2013-11-19 Leo Liu <sdl.web@gmail.com>
6337
6338 * obsolete/rcompile.el: Mark obsolete.
6339
6340 * progmodes/compile.el (compilation-start)
6341 (compilation-goto-locus, compilation-find-file):
6342 Pass no-display-ok and handle nil value from display-buffer.
6343 (Bug#13594)
6344
6345 * window.el (display-buffer-alist, display-buffer): Document the
6346 new parameter no-display-ok. Return either a window or nil
6347 but never a non-window value.
6348
6349 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6350
6351 * electric.el (electric-indent-mode-map): Remove.
6352 (electric-indent-mode): Change the global-map instead (bug#15915).
6353
6354 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6355 Use add-function.
6356
6357 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6358
6359 * emacs-lisp/nadvice.el (remove-function): Align with
6360 add-function's behavior.
6361
6362 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6363 (gdb--string-regexp): New constant.
6364 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6365 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6366 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6367 submatch 1.
6368 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6369 Adjust use accordingly.
6370 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6371
6372 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6373
6374 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6375 interpolation curlies (Bug#15914).
6376
6377 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6378
6379 * calc/calc.el (calc-context-sensitive-enter): New variable.
6380 (calc-enter): Use `calc-context-sensitive-enter'.
6381
6382 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6383
6384 * progmodes/cfengine.el: Version bump.
6385 (cfengine-cf-promises): New defcustom to locate cf-promises.
6386 (cfengine3-vartypes): Add new "data" type.
6387 (cfengine3--current-word): New function to get current name-like
6388 word or its bounds.
6389 (cfengine3--current-function): New function to look up a CFEngine
6390 function's definition.
6391 (cfengine3-format-function-docstring): New function.
6392 (cfengine3-make-syntax-cache): New function.
6393 (cfengine3-documentation-function): New function: ElDoc glue.
6394 (cfengine3-completion-function): New function: completion glue.
6395 (cfengine3-mode): Set `compile-command',
6396 `eldoc-documentation-function', and add to
6397 `completion-at-point-functions'.
6398
6399 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6400
6401 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6402 `tramp-current-connection'.
6403
6404 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6405
6406 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6407 nil/self/true/false with "end of symbol".
6408
6409 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6410
6411 * subr.el (version-regexp-alist): Fix a typo.
6412
6413 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6414
6415 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6416 "en_US.utf8" and "LC_CTYPE" to "".
6417 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6418 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6419
6420 2013-11-15 Leo Liu <sdl.web@gmail.com>
6421
6422 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6423
6424 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6425
6426 * progmodes/gud.el (ctl-x-map):
6427 Remove C-x SPC binding. (Bug#12342)
6428 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6429
6430 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6431
6432 * subr.el (version-regexp-alist):
6433 Recognize hg, svn and darcs versions as snapshot versions.
6434
6435 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6436 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6437 (ruby--encoding-comment-required-p): Extract from
6438 `ruby-mode-set-encoding'.
6439 (ruby-mode-set-encoding): Add the ability to always insert an
6440 utf-8 encoding comment. Fix and simplify coding comment update
6441 logic.
6442
6443 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6444
6445 * net/tramp-gvfs.el (top): Run init code only when
6446 `tramp-gvfs-enabled' is not nil.
6447 (tramp-gvfs-enabled): Check also :system bus.
6448
6449 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6450
6451 Sync with upstream verilog-mode revision 78e66ba.
6452 * progmodes/verilog-mode.el (verilog-end-of-defun)
6453 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6454 (verilog-get-end-of-defun): Remove unused argument.
6455 (verilog-comment-depth): Remove unused local `e'.
6456 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6457 Don't pass arg to verilog-get-end-of-defun.
6458
6459 2013-11-14 Glenn Morris <rgm@gnu.org>
6460
6461 * obsolete/assoc.el (aget): Prefix dynamic variable.
6462
6463 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6464
6465 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6466
6467 * widget.el, hfy-cmap.el: Remove bogus package version number.
6468
6469 2013-11-13 Glenn Morris <rgm@gnu.org>
6470
6471 * replace.el (replace-eval-replacement):
6472 Try to give more helpful error message. (Bug#15836)
6473
6474 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6475 (archive-7z-update): Avoid custom type mismatches.
6476
6477 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6478
6479 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6480
6481 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6482 address can be empty.
6483
6484 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6485 Accept nil SWITCHES.
6486 (tramp-gvfs-handle-write-region): Implement APPEND.
6487
6488 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6489
6490 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6491 binary "|" operator and closing block args delimiter.
6492 Remove FIXME comment referring to Ruby 1.8-only syntax.
6493 (ruby-smie--implicit-semi-p): Not after "|" operator.
6494 (ruby-smie--closing-pipe-p): New function.
6495 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6496 (ruby-smie-rules): Indent after "|".
6497
6498 2013-11-12 Glenn Morris <rgm@gnu.org>
6499
6500 * ps-print.el (ps-face-attribute-list):
6501 Handle anonymous faces. (Bug#15827)
6502
6503 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6504
6505 * window.el (display-buffer-other-frame): Fix doc-string.
6506 (Bug#15868)
6507
6508 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6509
6510 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6511
6512 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6513
6514 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6515 (tramp-sh-handle-file-local-copy): Don't write a message when
6516 saving temporary files.
6517
6518 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6519 both directories are remote.
6520 (tramp-smb-handle-directory-files): Do not return double entries.
6521 Do not expand full file names.
6522 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6523 (tramp-smb-handle-write-region): Implement APPEND.
6524 (tramp-smb-get-stat-capability): Fix a stupid bug.
6525
6526 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6527
6528 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6529
6530 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6531
6532 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6533 throwing error over malformed let/let* (bug#15814).
6534
6535 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6536
6537 * iswitchb.el (iswitchb-mode): Mark obsolete.
6538
6539 2013-11-11 Glenn Morris <rgm@gnu.org>
6540
6541 * international/uni-bidi.el, international/uni-category.el:
6542 * international/uni-name.el, international/uni-numeric.el:
6543 Regenerate for Unicode 6.3.0.
6544
6545 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6546
6547 * net/tramp.el (tramp-methods):
6548 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6549 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6550
6551 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6552
6553 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6554 Force highlighting text after Summary keyword in doc face for rpm.
6555
6556 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6557
6558 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6559 available and the word has no wildcards, append one to the grep pattern.
6560 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6561 (ispell-complete-word): Call `ispell-lookup-words' with the value
6562 independent of `ispell-look-p'.
6563
6564 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6565
6566 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6567 Not after "||".
6568 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6569 their parent.
6570
6571 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6572
6573 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6574 (ruby-font-lock-keywords): Use backquote.
6575
6576 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6577
6578 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6579 (ruby-smie--backward-token): Only consider full-string matches.
6580
6581 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6582
6583 * faces.el (describe-face): Add distant-foreground.
6584
6585 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6586
6587 * progmodes/ruby-mode.el: Improve encoding comment handling.
6588 (ruby-encoding-magic-comment-style): New option.
6589 (ruby-custom-encoding-magic-comment-template): New option.
6590 (ruby--insert-coding-comment, ruby--detect-encoding):
6591 New functions extracted from `ruby-mode-set-encoding'.
6592 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6593 to control the style of the auto-inserted encoding comment.
6594
6595 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6596
6597 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6598 Use `smie-backward-sexp' with token argument.
6599
6600 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6601
6602 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6603 Remove instrumentation code.
6604
6605 2013-11-08 Glenn Morris <rgm@gnu.org>
6606
6607 * progmodes/autoconf.el (autoconf-mode):
6608 Tweak comment-start-skip. (Bug#15822)
6609
6610 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6611
6612 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6613 at bobp (bug#15826).
6614 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6615
6616 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6617
6618 * man.el (Man-start-calling): New macro, extracted from
6619 Man-getpage-in-background.
6620 (Man-getpage-in-background): Use it.
6621 (Man-update-manpage): New command.
6622 (Man-mode-map): Bind it.
6623
6624 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6625
6626 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6627 of "and", "or", "&&" and "||".
6628 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6629 argument. Prohibit opening curly brace because it could only be a
6630 block opener in that position.
6631 (ruby-smie--forward-token, ruby-smie--backward-token):
6632 Separate "|" from "&" or "*" going after it. That can happen in block
6633 arguments.
6634 (ruby-smie--indent-to-stmt): New function, seeks the end of
6635 previous statement or beginning of buffer.
6636 (ruby-smie-rules): Use it.
6637 (ruby-smie-rules): Check if there's a ":" before a curly block
6638 opener candidate; if there is, it's a hash.
6639
6640 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6641
6642 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6643 (cl--block-wrapper): Fix last accidental change.
6644
6645 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6646
6647 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6648 Instrument, in order to hunt failure on hydra.
6649
6650 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6651
6652 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6653 malformed bindings form (bug#15814).
6654
6655 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6656
6657 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6658 "." compared to " @ ". This incidentally fixes some indentation
6659 examples with "do".
6660 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6661 (ruby-smie-grammar): New tokens: "and" and "or".
6662 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6663 Exclude "and" and "or". Remove "do" in order to work around token
6664 priorities.
6665 (ruby-smie-rules): Add all infix tokens. Handle the case of
6666 beginning-of-buffer.
6667
6668 2013-11-06 Glenn Morris <rgm@gnu.org>
6669
6670 * Makefile.in (setwins_almost, setwins_for_subdirs):
6671 Avoid accidental matches.
6672
6673 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6674
6675 * menu-bar.el (popup-menu): Use key-binding.
6676
6677 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6678
6679 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6680 menus, support also the menus produced by minor modes.
6681 (Bug#15817)
6682
6683 2013-11-06 Leo Liu <sdl.web@gmail.com>
6684
6685 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6686 DISTANCE to bound the search. All uses changed. (Bug#15808)
6687
6688 2013-11-06 Glenn Morris <rgm@gnu.org>
6689
6690 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6691 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6692 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6693
6694 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6695
6696 * electric.el (electric-indent-just-newline): New command.
6697 (electric-indent-mode-map): New keymap.
6698 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6699 Re-add :group which weren't redundant.
6700
6701 * electric.el (electric-indent-local-mode): New minor mode.
6702 (electric-indent-functions-without-reindent): New var.
6703 (electric-indent-post-self-insert-function): Use it.
6704 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6705
6706 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6707
6708 * international/quail.el (quail-help): Be more explicit about the
6709 meaning of the labels shown on the keys. (Bug#15800)
6710
6711 * startup.el (normal-top-level): Load the subdirs.el files before
6712 setting the locale environment. (Bug#15805)
6713
6714 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6715
6716 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6717 via arguments so as to get the right ones (bug#15418).
6718
6719 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6720
6721 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6722
6723 Fix problems found while writing a test suite.
6724
6725 * net/tramp-compat.el (tramp-compat-load): New defun.
6726 * net/tramp.el (tramp-handle-load): Use it.
6727
6728 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6729 "(numberp ok-if-already-exists)" correctly.
6730
6731 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6732
6733 * international/characters.el (glyphless-char-display-control):
6734 Add usage note.
6735
6736 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6737
6738 * progmodes/python.el (python-mode):
6739 * progmodes/scheme.el (scheme-mode):
6740 * progmodes/prolog.el (prolog-mode):
6741 * progmodes/ruby-mode.el (ruby-mode):
6742 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6743 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6744
6745 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6746
6747 * rect.el (rectangle--highlight-for-redisplay):
6748 * emacs-lisp/smie.el (smie--next-indent-change):
6749 Use buffer-chars-modified-tick.
6750
6751 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6752
6753 * electric.el (electric-indent-post-self-insert-function):
6754 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6755
6756 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6757
6758 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6759
6760 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6761
6762 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6763 (bug#15786).
6764
6765 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6766
6767 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6768
6769 * progmodes/python.el: Fix up last change.
6770 (python-shell--save-temp-file): New function.
6771 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6772 `string' comes from the current buffer.
6773 (python-shell-send-string-no-output): Remove `msg' arg.
6774 (python--use-fake-loc): New var.
6775 (python-shell-buffer-substring): Obey it. Try to compensate for the
6776 extra coding line added by python-shell--save-temp-file.
6777 (python-shell-send-region): Use python-shell--save-temp-file and
6778 python-shell-send-file directly. Add `nomain' argument.
6779 (python-shell-send-buffer): Use python-shell-send-region.
6780 (python-electric-pair-string-delimiter): New function.
6781 (python-mode): Use it.
6782
6783 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6784
6785 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6786 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6787 environment and decoding all of the default-directory's to here
6788 from command-line.
6789 (command-line): Decode also argv[0].
6790
6791 * loadup.el: Error out if default-directory is a multibyte string
6792 when we are dumping.
6793
6794 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6795
6796 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6797
6798 * emacs-lisp/package.el (package-menu-mode)
6799 (package-menu--print-info, package-menu--archive-predicate):
6800 Add Archive column to package list.
6801
6802 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6803
6804 Fix problems found while writing a test suite.
6805
6806 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6807 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6808 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6809 to nil when running original file name handler. Otherwise,
6810 there are problems with constructs like "$$FOO".
6811
6812 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6813 for `localname'.
6814
6815 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6816
6817 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6818
6819 * subr.el (version<, version<=, version=):
6820 Update docstrings with information for snapshot versions.
6821
6822 * helpers.el: New library for misc helper functions.
6823 (hash-table-keys): New function returning a list of hash keys.
6824 (hash-table-values): New function returning a list of hash values.
6825
6826 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6827
6828 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6829 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6830
6831 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6832
6833 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6834 checking whether point is after a 1-letter word.
6835
6836 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6837
6838 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6839 Don't infloop when expanding region over `multiline' syntax-type that
6840 begins a line (bug#15778).
6841
6842 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6843
6844 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6845 Make it into a proper minor mode.
6846 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
6847 (rectangle-mark-mode-map): New keymap.
6848 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6849
6850 2013-11-04 Glenn Morris <rgm@gnu.org>
6851
6852 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6853
6854 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6855
6856 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6857 (ruby-smie-rules): Use smie-rule-parent instead.
6858
6859 * emacs-lisp/smie.el (smie-rule-parent): Always call
6860 smie-indent-virtual rather than only for hanging tokens.
6861 (smie--next-indent-change): New helper command.
6862
6863 2013-11-03 Glenn Morris <rgm@gnu.org>
6864
6865 * Makefile.in (abs_srcdir): Remove.
6866 (emacs): Unset EMACSLOADPATH.
6867
6868 2013-11-02 Glenn Morris <rgm@gnu.org>
6869
6870 * Makefile.in (EMACS): Use a relative filename.
6871 (abs_top_builddir): Remove.
6872 (custom-deps, finder-data, autoloads): Use --chdir.
6873
6874 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6875
6876 Use relative filenames in TAGS files.
6877 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6878 (lisptagsfiles4, TAGS): Use relative file names.
6879 (TAGS-LISP): Remove.
6880 (maintainer-clean): No more TAGS-LISP file.
6881
6882 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6883 (lisptagsfiles4): Use absolute filenames again.
6884 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6885 Remove all *loaddefs files, not just the first. Remove esh-groups.
6886 (maintainer-clean): Delete TAGS, TAGS-LISP.
6887
6888 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6889
6890 * emacs-lisp/package.el (package-version-join):
6891 Recognize snapshot versions.
6892
6893 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6894
6895 * subr.el (version-regexp-alist): Add support for snapshot versions.
6896
6897 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6898
6899 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6900 New function, replacement for `smie-rule-parent' for when we want to
6901 skip over our direct parent if it's an assignment token..
6902 (ruby-smie-rules): Use it.
6903
6904 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6905
6906 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6907 unconditionally. Remove now unnecessary forward declarations.
6908 Remove XEmacs-specific setup.
6909 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6910 (ruby-font-lock-syntactic-keywords)
6911 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6912 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6913 (ruby-here-doc-end-syntax): Remove.
6914 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6915 defined as function.
6916
6917 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6918
6919 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6920
6921 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6922
6923 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6924 table and abbrev table, `define-derived-mode' does that for us
6925 anyway.
6926
6927 2013-11-01 Glenn Morris <rgm@gnu.org>
6928
6929 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6930 files is atomic for some time, so no parallel compilation issues).
6931
6932 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6933
6934 * faces.el (face-x-resources): Add :distant-foreground.
6935 (region): Use :distant-foreground for gtk and ns.
6936
6937 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6938
6939 Allow multiple bibliographies when BibLaTeX is used rather than
6940 BibTeX.
6941 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6942 (reftex-locate-bibliography-files): Us it.
6943
6944 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6945
6946 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6947 allow comments in pbm files.
6948
6949 * term/w32-win.el (dynamic-library-alist): Support newer versions
6950 of libjpeg starting with v7: look only for the DLL from the
6951 version against which Emacs was built.
6952 Support versions of libpng beyond 1.4.x.
6953 Support libtiff v4.x.
6954
6955 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6956
6957 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6958 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6959 Add property :safe.
6960 (ruby-deep-arglist): Add property :type.
6961
6962 2013-10-31 Glenn Morris <rgm@gnu.org>
6963
6964 * Makefile.in (custom-deps, finder-data): No need to setq the target
6965 variables, we are in the right directory and the defaults work fine.
6966
6967 2013-10-30 Glenn Morris <rgm@gnu.org>
6968
6969 * Makefile.in (autoloads): Do not use abs_lisp.
6970
6971 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6972 `newline' does not respect `standard-output', so use `princ'.
6973
6974 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6975
6976 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6977 * buff-menu.el (Buffer-menu--unmark): New function.
6978 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6979
6980 2013-10-30 Glenn Morris <rgm@gnu.org>
6981
6982 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6983
6984 * emacs-lisp/package.el (lm-homepage): Declare.
6985
6986 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6987 Fix doc typos.
6988
6989 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6990
6991 * Makefile.in (finder-data, autoloads, update-subdirs)
6992 (compile-main, compile-clean, compile-always, bootstrap-clean):
6993 Check return value of cd.
6994 (compile-calc): Remove.
6995
6996 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6997
6998 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6999
7000 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7001 (byte-compile-and-folded): New function.
7002 (=, <, >, <=, >=): Use it.
7003
7004 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7005 (path-separator, null-device, buffer-file-coding-system)
7006 (lpr-headers-switches): Check system-type before modifying them.
7007 (find-buffer-file-type-coding-system): Mark obsolete.
7008 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7009 find-file-not-found-set-buffer-file-coding-system.
7010 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7011 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7012 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7013 (w32-direct-print-region-helper, w32-direct-print-region-function)
7014 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7015 * startup.el (normal-top-level-add-subdirs-to-load-path):
7016 * ps-print.el (ps-print-region-function):
7017 * lpr.el (print-region-function): Use new name.
7018
7019 * subr.el (custom-declare-variable-early): Remove function.
7020 (custom-declare-variable-list): Remove var.
7021 (error, user-error): Remove `while' loop.
7022 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7023 (user-emacs-directory-warning, locate-user-emacs-file):
7024 Move to files.el.
7025 * simple.el (read-quoted-char-radix, read-quoted-char):
7026 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7027 Move from subr.el.
7028 * custom.el (custom-declare-variable-list): Don't process
7029 custom-declare-variable-list.
7030
7031 * progmodes/python.el (python-shell-get-buffer): New function.
7032 (python-shell-get-process): Use it.
7033 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7034 Python which encoding was used. Don't split-string since we only care
7035 about the first line. Return the temp-file, if applicable.
7036 (python-shell-send-region): Tell compile.el how to turn locations in
7037 the temp-file into locations in the source buffer.
7038
7039 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7040
7041 * subr.el (undefined): Add missing behavior from the C code for
7042 unbound keys.
7043
7044 * rect.el: Use lexical-binding. Add new rectangular region support.
7045 (rectangle-mark): New command.
7046 (rectangle--region): New var.
7047 (deactivate-mark-hook): Reset rectangle--region.
7048 (rectangle--extract-region, rectangle--insert-for-yank)
7049 (rectangle--highlight-for-redisplay)
7050 (rectangle--unhighlight-for-redisplay): New functions.
7051 (region-extract-function, redisplay-unhighlight-region-function)
7052 (redisplay-highlight-region-function): Use them to handle
7053 rectangular region.
7054 * simple.el (region-extract-function): New var.
7055 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7056 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7057 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7058 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7059 (redisplay-unhighlight-region-function)
7060 (redisplay-highlight-region-function): New vars.
7061 (redisplay--update-region-highlight): New function.
7062 (pre-redisplay-function): Use it.
7063 (exchange-point-and-mark): Don't deactivate the mark before
7064 reactivate-it anyway.
7065 * comint.el (comint-kill-region): Remove yank-handler argument.
7066 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7067 (delete-char): Remove property, since it's now part of their
7068 default behavior.
7069 (self-insert-iso): Remove property since this command doesn't exist.
7070
7071 * emacs-lisp/package.el (package--download-one-archive)
7072 (describe-package-1): Don't query the user about final newline.
7073
7074 2013-10-29 Daniel Colascione <dancol@dancol.org>
7075
7076 * net/tramp.el (tramp-methods): Document new functionality.
7077 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7078 tramp-hostname-checker if method provides one instead of scanning
7079 argument list for "%h" to decide hostname acceptability.
7080
7081 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7082
7083 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7084 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7085 Handle COPY-CONTENTS. (Bug#15737)
7086
7087 2013-10-28 Daiki Ueno <ueno@gnu.org>
7088
7089 * epa-file.el
7090 (epa-file-cache-passphrase-for-symmetric-encryption):
7091 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7092
7093 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7094
7095 * image.el (defimage, image-load-path): Doc fixes.
7096
7097 2013-10-27 Alan Mackenzie <acm@muc.de>
7098
7099 Indent statements in macros following "##" correctly.
7100 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7101 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7102
7103 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7104
7105 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7106
7107 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7108
7109 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7110 after `=' is probably a new expression.
7111
7112 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7113
7114 * man.el (man-imenu-title): New option.
7115 (Man-mode-map): Add menu. (Bug#15722)
7116 (Man-mode): Add imenu to menu.
7117
7118 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7119
7120 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7121 specific in what the first arg can be: a non-keyword word,
7122 string/regexp/percent literal opener, opening paren, or unary
7123 operator followed directly by word.
7124
7125 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7126
7127 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7128 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7129 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7130 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7131 Remove vars, they do not apply any more.
7132 (prolog-mode-abbrev-table): Remove redundant declaration.
7133 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7134 (prolog-use-smie): Remove.
7135 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7136 supported by prolog-electric-if-then-else-flag.
7137 (prolog-mode-variables, prolog-menu): Use setq-local.
7138 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7139 Remove binding to `Backspace' since this key doesn't exist anyway.
7140 Remove bindings for electric self-inserting keys.
7141 (prog-mode): Assume it's defined.
7142 (prolog-post-self-insert): New function.
7143 (prolog-mode): Use it.
7144 (prolog-indent-line, prolog-indent-level)
7145 (prolog-find-indent-of-matching-paren)
7146 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7147 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7148 (prolog-goto-next-paren, prolog-in-string-or-comment)
7149 (prolog-tokenize, prolog-inside-mline-comment)
7150 (prolog-find-start-of-mline-comment): Remove functions.
7151 (prolog-find-unmatched-paren, prolog-clause-end)
7152 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7153 (prolog-electric--if-then-else): Rename from
7154 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7155 (prolog-tokenize-searchkey): Remove const.
7156 (prolog-clause-info): Use forward-sexp.
7157 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7158 (prolog-electric-if-then-else): Remove commands.
7159 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7160 for use in post-self-insert-hook.
7161 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7162 for use in post-self-insert-hook.
7163 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7164 for use in post-self-insert-hook.
7165 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7166 adapt it for use in post-self-insert-hook.
7167
7168 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7169
7170 * emacs-lisp/ert.el (ert-run-tests-interactively):
7171 Use `completing-read'. (Bug#9756)
7172
7173 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7174
7175 * simple.el (line-move): Call line-move-1 instead of
7176 line-move-visual when the current window hscroll is zero, but
7177 temporary-goal-column indicates we will need to hscroll as result
7178 of the movement. (Bug#15712)
7179
7180 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7181
7182 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7183 capitalization. Use :visible instead of :active.
7184 Fix `ruby-indent-exp' reference. Add menu items for the generic
7185 commands that are used with SMIE.
7186 (ruby-do-end-to-brace): Insert space after `{'.
7187
7188 2013-10-25 John Anthony <john@jo.hnanthony.com>
7189
7190 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7191
7192 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7193
7194 2013-10-25 Glenn Morris <rgm@gnu.org>
7195
7196 * vc/vc.el (vc-print-log): Don't use a working revision unless
7197 one was explicitly specified. (Bug#15322)
7198
7199 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7200
7201 * subr.el (add-to-list): Preserve return value in compiler-macro
7202 (bug#15692).
7203
7204 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7205
7206 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7207 result. Ask user to retry using '-all' flag. (Bug#15701)
7208
7209 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7210
7211 * emacs-lisp/smie.el: New smie-config system.
7212 (smie-config): New defcustom.
7213 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7214 (smie-config-guess, smie-config-save): New commands.
7215 (smie-config--mode-local, smie-config--buffer-local)
7216 (smie-config--trace, smie-config--modefuns): New vars.
7217 (smie-config--advice, smie-config--mode-hook)
7218 (smie-config--setter, smie-config-local, smie-config--get-trace)
7219 (smie-config--guess-value, smie-config--guess): New functions.
7220 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7221 text properties. Treat "string fence" syntax like string syntax.
7222
7223 * progmodes/sh-script.el (sh-use-smie): Change default.
7224 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7225 (sh-var-value): Simplify by CSE.
7226 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7227 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7228 is used.
7229 (sh-guess-basic-offset): Use cl-incf.
7230 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7231
7232 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7233
7234 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7235 (bug#15699).
7236
7237 2013-10-24 Glenn Morris <rgm@gnu.org>
7238
7239 * Makefile.in (abs_top_srcdir): Remove.
7240 (update-subdirs): Use relative path to update-subdirs.
7241
7242 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7243
7244 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7245 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7246 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7247 Call unmsys--file-name before expand-file-name, not after it.
7248
7249 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7250
7251 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7252 (ert-test-skipped): New error.
7253 (ert-skip, ert-stats-skipped): New defuns.
7254 (ert--skip-unless): New macro.
7255 (ert-test-skipped): New struct.
7256 (ert--run-test-debugger, ert-test-result-type-p)
7257 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7258 (ert--stats-set-test-and-result, ert-char-for-test-result)
7259 (ert-string-for-test-result, ert-run-tests-batch)
7260 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7261 Handle skipped tests. (Bug#9803)
7262
7263 2013-10-24 Glenn Morris <rgm@gnu.org>
7264
7265 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7266
7267 * Makefile.in (abs_top_srcdir): New, set by configure.
7268 (update-subdirs): Correct build-aux location.
7269
7270 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7271
7272 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7273 value, whether we could auto-deduce `backend', or not.
7274
7275 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7276 with parameters" example. Simplify the "is it block or is it
7277 hash" check, but also make it more thorough.
7278
7279 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7280
7281 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7282
7283 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7284
7285 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7286 { if it is hanging.
7287
7288 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7289 :before ";".
7290
7291 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7292
7293 * progmodes/compile.el (compilation-directory-matcher)
7294 (compilation-page-delimiter):
7295 Support GNU Make-4.0 directory quoting. (Bug#15678)
7296
7297 2013-10-23 Leo Liu <sdl.web@gmail.com>
7298
7299 * ido.el (ido-tidy): Handle read-only text.
7300
7301 2013-10-23 Glenn Morris <rgm@gnu.org>
7302
7303 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7304 (emacs, compile, compile-always):
7305 Quote entities that might contain whitespace.
7306 (custom-deps, finder-data, autoloads): Use abs_lisp.
7307 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7308 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7309 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7310
7311 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7312
7313 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7314 Use `following-char'.
7315
7316 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7317
7318 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7319 * progmodes/ruby-mode.el (ruby-smie-rules):
7320 Remove corresponding workaround. Fix indentation rule of ";" so it
7321 also applies when ";" is the parent.
7322
7323 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7324
7325 * frame.el (display-screens, display-pixel-height)
7326 (display-pixel-width, display-mm-width, display-backing-store)
7327 (display-save-under, display-planes, display-color-cells)
7328 (display-visual-class, display-monitor-attributes-list):
7329 Mention the optional ‘display’ argument in doc strings.
7330
7331 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7332
7333 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7334 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7335
7336 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7337
7338 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7339 TODO. Add "." after " @ ".
7340 (ruby-smie--at-dot-call): New function. Checks if point at method
7341 call with explicit target.
7342 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7343 to the method name tokens when it precedes them.
7344 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7345 (ruby-smie-rules): Add rule for indentation before and after "."
7346 token.
7347
7348 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7349
7350 * textmodes/remember.el (remember-diary-extract-entries):
7351 Avoid add-to-list.
7352
7353 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7354 an instruction.
7355
7356 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7357
7358 * progmodes/ruby-mode.el (ruby-smie-grammar):
7359 Add (almost) all infix operators.
7360 (ruby-smie--implicit-semi-p): Add new operator chars.
7361
7362 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7363 `smie-down-list'.
7364 (ruby-smie--args-separator-p): Check that there's no newline
7365 between method call and its arguments.
7366
7367 2013-10-20 Alan Mackenzie <acm@muc.de>
7368
7369 Allow comma separated lists after Java "implements".
7370
7371 * progmodes/cc-engine.el (c-backward-over-enum-header):
7372 Parse commas.
7373 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7374 from a "disallowed" list in enum fontification.
7375
7376 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7377
7378 * startup.el (default-frame-background-mode): Remove unused defvar.
7379
7380 * progmodes/verilog-mode.el (verilog-mode): Don't set
7381 comment-indent-function globally.
7382
7383 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7384
7385 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7386 Move Info menu item creation to ns-win.el.
7387
7388 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7389 in menu bar.
7390
7391 * menu-bar.el: Move GNUstep specific menus...
7392
7393 * term/ns-win.el (ns-initialize-window-system): ... to here.
7394
7395 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7396
7397 * simple.el (newline): Only run post-self-insert-hook when
7398 called interactively.
7399
7400 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7401
7402 * icomplete.el (icomplete-with-completion-tables): Add :version.
7403
7404 2013-10-19 Alan Mackenzie <acm@muc.de>
7405
7406 Fix fontification bugs with constructors and const.
7407
7408 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7409 CASE 2) Remove the check for the absence of a suffix construct
7410 after a function declaration with only types (no identifiers) in
7411 the parentheses. Also, accept a function declaration with just a
7412 type inside the parentheses, if this type can be positively
7413 recognised as such, or if a prefix keyword like "explicit" nails
7414 down the construct as a declaration.
7415
7416 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7417
7418 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7419 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7420 the problem whereby selecting a menu item that leads to a
7421 minibuffer prompt moves the cursor out of the minibuffer window,
7422 making it hard to type at the prompt. Suggested by Stefan Monnier
7423 <monnier@iro.umontreal.ca>.
7424
7425 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7426
7427 * menu-bar.el: Don't make Services menu.
7428
7429 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7430
7431 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7432 (ffap-alist): Use ffap-c++-mode for c++-mode.
7433 (ffap-c++-path): New variable.
7434 (ffap-c++-mode): New function.
7435
7436 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7437
7438 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7439
7440 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7441
7442 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7443 introduced on 2013-09-08, which results in an infinite loop
7444 requesting a password.
7445
7446 2013-10-18 Glenn Morris <rgm@gnu.org>
7447
7448 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7449
7450 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7451
7452 Sync with upstream verilog-mode revision 1a6ecec7.
7453 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7454 (verilog-mode-release-date): Remove.
7455 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7456 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7457 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7458 (verilog-auto-tieoff-ignore-regexp)
7459 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7460 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7461 (verilog-signals-with, verilog-dir-cache-preserving)
7462 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7463 Doc fixes.
7464 (verilog-case-fold): New option, to control case folding in
7465 regexp searches, bug597.
7466 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7467 (verilog-string-match-fold, verilog-in-paren-count)
7468 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7469 (verilog-at-close-struct-p): New functions.
7470 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7471 (verilog-forward-sexp, verilog-set-auto-endcomments)
7472 (verilog-leap-to-case-head): Handle "unique0" case.
7473 (verilog-in-constraint-re): New constant.
7474 (verilog-keywords, verilog-type-font-keywords):
7475 Add some SystemVerilog 1800-2012 keywords.
7476 (verilog-label-be): Remove unimplemented argument, bug669.
7477 (verilog-batch-execute-func): When batch expanding clear
7478 create-lockfiles to prevent spurious user locks when a file ends
7479 up not changing.
7480 (verilog-calculate-indent, verilog-calc-1)
7481 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7482 (verilog-do-indent): Fix indentation of nested constraints
7483 and structures.
7484 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7485 (verilog-auto-inst-param): Use verilog-string-match-fold.
7486 (verilog-read-inst-module-matcher):
7487 Fix AUTOINST on gate primitives with #1.
7488 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7489 Reads all user-defined typed variables.
7490 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7491 (verilog-signals-matching-regexp)
7492 (verilog-signals-not-matching-regexp, verilog-auto):
7493 Respect verilog-case-fold.
7494 (verilog-diff-report): Fix line count.
7495 (verilog-auto-assign-modport): Remove unused local `modi'.
7496 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7497 better handle multidimensional arrays.
7498 Fix packed array ports misadding bit index in AUTOINST, bug637.
7499 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7500 to not double-declare existing outputs and inputs, respectively.
7501 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7502 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7503 (verilog-sk-uvm-component): New skeleton.
7504 (verilog-submit-bug-report): Add verilog-case-fold,
7505 remove verilog-mode-release-date.
7506
7507 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7508
7509 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7510 as before.
7511
7512 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7513
7514 * textmodes/remember.el (remember): Set buffer-offer-save in
7515 remember buffers (bug#13566).
7516
7517 2013-10-18 Daniel Colascione <dancol@dancol.org>
7518
7519 When evaluating forms in ielm, direct standard output to ielm
7520 buffer. Add new ielm-return-for-effect command. Remove trailing
7521 whitespace throughout.
7522
7523 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7524 (ielm-return-for-effect): New command.
7525 (ielm-send-input): Accept optional `for-effect' parameter.
7526 (ielm-eval-input): Accept optional `for-effect' parameter.
7527 Bind `standard-output' to stream we create using
7528 `ielm-standard-output-impl'. Suppress printing result when
7529 `for-effect'.
7530 (ielm-standard-output-impl): New function.
7531 (inferior-emacs-lisp-mode): Explain new features in documentation.
7532
7533 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7534
7535 Code cleanup.
7536
7537 * net/tramp.el (tramp-debug-message): Do not check for connection
7538 buffer.
7539 (tramp-message): Use "vector" connection property.
7540
7541 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7542 (tramp-equal-remote, tramp-eshell-directory-change)
7543 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7544 (tramp-adb-handle-rename-file)
7545 * net/tramp-cmds.el (tramp-list-remote-buffers)
7546 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7547 * net/tramp-compat.el (tramp-compat-process-running-p)
7548 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7549 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7550 (tramp-gvfs-handle-rename-file)
7551 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7552 (tramp-set-file-uid-gid)
7553 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7554 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7555 of `file-remote-p'.
7556
7557 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7558 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7559 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7560 (tramp-gw-open-network-stream): Suppress unrelated traces.
7561
7562 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7563 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7564 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7565 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7566 connection property.
7567
7568 * net/tramp-cache.el (top): Suppress traces when reading
7569 persistency file.
7570
7571 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7572 Refactor common code. Improve debug message.
7573 (tramp-maybe-open-connection)
7574 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7575 connection buffer too early.
7576
7577 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7578 from `tramp-smb-actions-with-acl'.
7579 (tramp-smb-actions-set-acl): New defconst.
7580 (tramp-smb-handle-copy-directory)
7581 (tramp-smb-action-get-acl): New defun, renamed from
7582 `tramp-smb-action-with-acl'.
7583 (tramp-smb-action-set-acl): New defun.
7584 (tramp-smb-handle-set-file-acl): Rewrite.
7585
7586 2013-10-17 Glenn Morris <rgm@gnu.org>
7587
7588 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7589
7590 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7591
7592 * skeleton.el (skeleton-newline): Remove.
7593 (skeleton-internal-1): Use (insert "\n") instead.
7594
7595 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7596 let-bindings.
7597
7598 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7599 forward-sexp-function while we redo its job (bug#15613).
7600
7601 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7602
7603 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7604 represented by lists.
7605
7606 2013-10-16 Glenn Morris <rgm@gnu.org>
7607
7608 * tmm.el (tmm--history): New dynamic variable.
7609 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7610
7611 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7612
7613 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7614 (tramp-smb-errors): Add error messages.
7615 (tramp-smb-actions-with-acl): New defconst.
7616 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7617 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7618 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7619 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7620 (tramp-smb-get-stat-capability): Fix tests.
7621
7622 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7623
7624 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7625 (bug#15580).
7626
7627 2013-10-16 Glenn Morris <rgm@gnu.org>
7628
7629 * ansi-color.el (ansi-color-drop-regexp):
7630 Add 1J, 1K, 2K. (Bug#15617)
7631
7632 * files.el (hack-local-variables--warned-lexical): New.
7633 (hack-local-variables):
7634 Warn about misplaced lexical-binding. (Bug#15616)
7635
7636 * net/eww.el (eww-render): Always set eww-current-url,
7637 and update header line. (Bug#15622)
7638 (eww-display-html): ... Rather than just doing it here.
7639
7640 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7641
7642 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7643 menu navigations commands.
7644
7645 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7646
7647 * progmodes/subword.el (subword-capitalize): Be careful when
7648 the search for [[:alpha:]] fails (bug#15580).
7649
7650 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7651
7652 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7653 to commands that scroll the menu.
7654
7655 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7656
7657 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7658 Handle methods ending with `?' and `!'.
7659
7660 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7661
7662 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7663 `japanese-cp932' to `cp932' to fix the problem where saving a
7664 source file written in Shift_JIS twice would end up having
7665 `coding: japanese-cp932' which Ruby could not recognize.
7666 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7667 in `ruby-encoding-map'.
7668 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7669 doesn't need to be explicitly declared in magic comment.
7670 (ruby-encoding-map): Add type declaration for better customize UI.
7671
7672 2013-10-13 Glenn Morris <rgm@gnu.org>
7673
7674 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7675 Occur buffers are read-only. http://bugs.debian.org/720775
7676
7677 * emacs-lisp/authors.el (authors-fixed-entries):
7678 Comment out old alpha stuff.
7679
7680 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7681
7682 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7683 to `after-save-hook' instead of `before-save-hook'.
7684 (ruby-mode-set-encoding): Use the value of coding system used to
7685 write the file. Call `basic-save-buffer-1' after modifying the
7686 buffer.
7687
7688 2013-10-13 Alan Mackenzie <acm@muc.de>
7689
7690 Fix indentation/fontification of Java enum with
7691 "implements"/generic.
7692
7693 * progmodes/cc-engine.el (c-backward-over-enum-header):
7694 Extracted from the three other places and enhanced to handle generics.
7695 (c-inside-bracelist-p): Uses new function above.
7696 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7697 function above.
7698 (c-font-lock-enum-tail): Uses new function above.
7699
7700 2013-10-13 Kenichi Handa <handa@gnu.org>
7701
7702 * international/mule-cmds.el (select-safe-coding-system): Remove a
7703 superfluous condition in chekcing whether a coding system is safe
7704 or not.
7705
7706 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7707
7708 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7709
7710 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7711
7712 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7713
7714 2013-10-13 Glenn Morris <rgm@gnu.org>
7715
7716 * menu-bar.el (menu-bar-update-buffers):
7717 Unify Buffers menu prompt string. (Bug#15576)
7718
7719 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7720
7721 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7722 Add some entries.
7723 (authors-fixed-entries): Use accented form of name.
7724
7725 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7726
7727 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7728 method calls (bug#15594).
7729 (ruby-smie--args-separator-p): New function.
7730 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7731 recognize paren-free method calls.
7732
7733 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7734 internals of universal-argument.
7735
7736 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7737
7738 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7739 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7740 dropped menu on second mouse click on the menu bar.
7741
7742 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7743
7744 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7745 (explicit-shell-file-name): Declare.
7746 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7747 (sh-completion-at-point-function): New function.
7748 (sh-mode): Use it.
7749 (sh-smie--keyword-p): Remove unused argument.
7750 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7751 vars.
7752 (sh-set-shell): Always setup SMIE, even if we use the
7753 old indentation code.
7754
7755 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7756
7757 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7758 cases of ? and =.
7759 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7760 predicate would return nil are almost non-existent.
7761 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7762
7763 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7764 cache also after commands that modify the buffer but don't move
7765 point.
7766
7767 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7768
7769 * env.el (substitute-env-in-file-name): New function.
7770 (substitute-env-vars): Extend the meaning of the optional arg.
7771
7772 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7773
7774 * term/w32-win.el (dynamic-library-alist): Define separate lists
7775 of GIF DLLs for versions before and after 5.0.0 of giflib.
7776 (Bug#15531)
7777
7778 2013-10-10 João Távora <joaotavora@gmail.com>
7779
7780 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7781 not locked, use last revision and current source as
7782 defaults. (Bug#15569)
7783
7784 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7785
7786 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7787 menu-bar is hidden.
7788
7789 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7790
7791 * window.el (pop-to-buffer-same-window): Fix doc-string.
7792 (Bug#15492)
7793
7794 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7795
7796 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7797
7798 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7799
7800 * calendar/icalendar.el (icalendar-import-file):
7801 Fix interactive spec. (Bug#15482)
7802
7803 2013-10-10 Glenn Morris <rgm@gnu.org>
7804
7805 * desktop.el (desktop-save): Default to saving in .emacs.d,
7806 since PWD is no longer in desktop-path by default. (Bug#15319)
7807
7808 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7809 now that text mode has a menu with the same entry.
7810 (menu-bar-text-mode-auto-fill): Remove now unused func.
7811 * textmodes/text-mode.el (text-mode-map):
7812 Use auto-fill help text from menu-bar.el.
7813
7814 2013-10-10 John Anthony <john@jo.hnanthony.com>
7815
7816 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7817
7818 2013-10-09 Juri Linkov <juri@jurta.org>
7819
7820 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7821 instead of this-command-keys. Add universal-argument-more and
7822 universal-argument-minus to the list of prefix commands. (Bug#15568)
7823
7824 2013-10-09 Glenn Morris <rgm@gnu.org>
7825
7826 * vc/vc-svn.el (vc-svn-create-repo):
7827 Expand paths in file://... url. (Bug#15446)
7828
7829 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7830 Add some entries.
7831 (authors): Remove unused local variables.
7832
7833 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7834
7835 * profiler.el: Create a more coherent calltree from partial backtraces.
7836 (profiler-format): Hide the tail with `invisible' so that C-s can still
7837 find the hidden elements.
7838 (profiler-calltree-depth): Don't recurse so enthusiastically.
7839 (profiler-function-equal): New hash-table-test.
7840 (profiler-calltree-build-unified): New function.
7841 (profiler-calltree-build): Use it.
7842 (profiler-report-make-name-part): Indent the calltree less.
7843 (profiler-report-mode): Add visibility specs for profiler-format.
7844 (profiler-report-expand-entry, profiler-report-toggle-entry):
7845 Expand the whole subtree when provided with a prefix arg.
7846
7847 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7848
7849 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7850 iuwu-mod token.
7851 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7852 hanging iuwu-mod token.
7853 (ruby-smie--forward-token): Do not include a dot after a token in
7854 that token.
7855 (ruby-smie--backward-token): Likewise.
7856
7857 2013-10-08 Juri Linkov <juri@jurta.org>
7858
7859 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7860 to isearch-other-control-char.
7861 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7862 and isearch-post-command-hook to post-command-hook.
7863 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7864 and isearch-post-command-hook from post-command-hook.
7865 (isearch-unread-key-sequence)
7866 (isearch-reread-key-sequence-naturally)
7867 (isearch-lookup-scroll-key, isearch-other-control-char)
7868 (isearch-other-meta-char): Remove functions.
7869 (isearch-pre-command-hook, isearch-post-command-hook):
7870 New functions based on isearch-other-meta-char rewritten
7871 relying on the new behavior of overriding-terminal-local-map
7872 that does not replace the local keymaps any more. (Bug#15200)
7873
7874 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7875
7876 Support menus on text-mode terminals.
7877 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7878 functionality.
7879
7880 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7881
7882 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7883 Move here from mouse.el.
7884 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7885 and arrow keys.
7886 (tty-menu-navigation-map): New map for TTY menu navigation.
7887
7888 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7889
7890 * frame.el (display-mouse-p): Report text-mode mouse as available
7891 on w32.
7892 (display-popup-menus-p): Report availability if mouse is
7893 available; don't condition on window-system.
7894
7895 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7896 (tty-menu-selected-face): New faces.
7897
7898 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7899
7900 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7901 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7902 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7903 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7904 New constants.
7905 (lisp-mode-variables): New `elisp' argument.
7906 (emacs-lisp-mode): Use it.
7907 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7908 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7909
7910 * indent.el: Use lexical-binding.
7911 (indent-region): Add progress reporter.
7912 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7913 last step.
7914 (indent--next-tab-stop): New function to implement this behavior.
7915 (tab-to-tab-stop, move-to-tab-stop): Use it.
7916
7917 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7918
7919 * indent.el (indent-rigidly--current-indentation): New function.
7920 (indent-rigidly-map): New var.
7921 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7922
7923 2013-10-08 Bastien Guerry <bzg@gnu.org>
7924
7925 * register.el (insert-register): Fix 2013-10-07 change.
7926
7927 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7928
7929 * progmodes/perl-mode.el: Use lexical-binding.
7930 Remove redundant :group args.
7931 (perl-nochange): Change default to be closer to other major modes's
7932 standard behavior.
7933 (perl-indent-line): Don't consider text on current line as a
7934 valid beginning of function from which to indent.
7935
7936 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7937 with more than one argument (bug#15538).
7938
7939 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7940
7941 * vc/pcvs.el: Use lexical-binding.
7942 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7943 environment of `eval'.
7944 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7945 than a list of expressions. Adjust callers.
7946 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7947
7948 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7949
7950 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7951 case of the dot in a chained method call being on the following line.
7952
7953 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7954
7955 * electric.el (electric-indent-inhibit): New var.
7956 (electric-indent-post-self-insert-function): Use it.
7957 * progmodes/python.el (python-mode): Set it.
7958
7959 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7960 open braces.
7961
7962 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7963
7964 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7965 (css-mode): Use electric-indent-chars.
7966
7967 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7968 (font-lock-beg, font-lock-end): Move before first use.
7969 (nxml-mode): Use syntax-propertize-function.
7970 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7971 (nxml-extend-after-change-region): Remove.
7972 * nxml/xmltok.el: Use lexical-binding.
7973 (xmltok-save): Use `declare'.
7974 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7975 * nxml/nxml-util.el: Use lexical-binding.
7976 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7977 Use `declare'.
7978 * nxml/nxml-ns.el: Use lexical-binding.
7979 (nxml-ns-save): Use `declare'.
7980 (nxml-ns-prefixes-for): Avoid add-to-list.
7981 * nxml/rng-match.el: Use lexical-binding.
7982 (rng--ipattern): Use cl-defstruct.
7983 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7984 (rng-cons-group-after, rng-subst-group-after)
7985 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7986 Use closures instead of `(lambda...).
7987
7988 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7989
7990 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7991 of BEG and END.
7992
7993 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7994 Use `tramp-handle-insert-file-contents'.
7995 (tramp-gvfs-handle-insert-file-contents): Remove function.
7996
7997 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7998 Use `save-restriction' in order to keep markers.
7999
8000 * net/trampver.el: Update release number.
8001
8002 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8003
8004 * progmodes/compile.el (compilation-parse-errors):
8005 Use compilation--put-prop.
8006 (compilation--ensure-parse): Check compilation-multiline.
8007
8008 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8009
8010 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8011 lexical-binding.
8012
8013 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8014
8015 * progmodes/ruby-mode.el: Fix recently added tests.
8016 (ruby-smie-grammar): Add - and +.
8017 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8018 (ruby-smie--backward-id): New functions.
8019 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8020 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8021 any more.
8022
8023 2013-10-07 Leo Liu <sdl.web@gmail.com>
8024
8025 * register.el (register-preview-delay)
8026 (register-preview-functions): New variables.
8027 (register-read-with-preview, register-preview)
8028 (register-describe-oneline): New functions.
8029 (point-to-register, window-configuration-to-register)
8030 (frame-configuration-to-register, jump-to-register)
8031 (number-to-register, view-register, insert-register)
8032 (copy-to-register, append-to-register, prepend-to-register)
8033 (copy-rectangle-to-register): Use register-read-with-preview to
8034 read register. (Bug#15525)
8035
8036 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8037
8038 * net/network-stream.el (network-stream-open-starttls): Don't add
8039 --insecure if it's already present, because that gnutls-cli
8040 rejects getting that parameter twice.
8041
8042 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8043
8044 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8045 keyword, too.
8046
8047 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8048
8049 * newcomment.el (comment-use-global-state): Change default value
8050 to t, mark obsolete (Bug#15251).
8051 (comment-beginning): In addition to `comment-to-syntax', check the
8052 value of `comment-use-global-state'.
8053
8054 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8055
8056 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8057 (ruby-comment-column): Follow the global default, by default.
8058 (ruby-smie-grammar): Add assignment syntax.
8059 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8060 open-paren, a comma, or a \.
8061 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8062 and line continuations.
8063 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8064 followed by implicit semi-colons. Add rule for string concatenation
8065 and for indentation at BOB.
8066 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8067
8068 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8069 calling next-sexp, since next-token may have skipped chars which
8070 next-sexp doesn't know should be skipped!
8071
8072 2013-10-05 Leo Liu <sdl.web@gmail.com>
8073
8074 * progmodes/octave.el (octave-send-region):
8075 Call compilation-forget-errors.
8076
8077 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8078
8079 * vc/vc-svn.el (vc-svn-find-admin-dir):
8080 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8081 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8082 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8083 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8084
8085 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8086
8087 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8088
8089 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8090
8091 * subr.el (read-passwd): Hide chars even when called within a context
8092 where after-change-functions is disabled (bug#15501).
8093 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8094 until we removed ourself from overriding-terminal-local-map.
8095
8096 2013-10-04 Leo Liu <sdl.web@gmail.com>
8097
8098 * progmodes/octave.el (inferior-octave-mode):
8099 Call compilation-forget-errors.
8100
8101 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8102
8103 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8104
8105 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8106
8107 * net/secrets.el (secrets-create-collection): Add optional
8108 argument ALIAS. Use proper Label keyword. Append ALIAS as
8109 dbus-call-method argument. (Bug#15516)
8110
8111 2013-10-04 Leo Liu <sdl.web@gmail.com>
8112
8113 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8114 (inferior-octave-compilation-font-lock-keywords): New variables.
8115 (compilation-error-regexp-alist)
8116 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8117 (inferior-octave-mode): Use compilation-shell-minor-mode.
8118
8119 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8120
8121 * minibuffer.el (completion--replace): Be careful that `end' might be
8122 a marker.
8123
8124 2013-10-03 Daiki Ueno <ueno@gnu.org>
8125
8126 Add support for package signature checking.
8127 * emacs-lisp/package.el (url-http-file-exists-p)
8128 (epg-make-context, epg-context-set-home-directory)
8129 (epg-verify-string, epg-context-result-for)
8130 (epg-signature-status, epg-signature-to-string)
8131 (epg-check-configuration, epg-configuration)
8132 (epg-import-keys-from-file): Declare.
8133 (package-check-signature): New user option.
8134 (package-unsigned-archives): New user option.
8135 (package-desc): Add `signed' field.
8136 (package-load-descriptor): Set `signed' field if .signed file exists.
8137 (package--archive-file-exists-p): New function.
8138 (package--check-signature): New function.
8139 (package-install-from-archive): Check package signature.
8140 (package--download-one-archive): Check archive signature.
8141 (package-delete): Remove .signed file.
8142 (package-import-keyring): New command.
8143 (package-refresh-contents): Import default keyring.
8144 (package-desc-status): Add "unsigned" status.
8145 (describe-package-1, package-menu--print-info)
8146 (package-menu-mark-delete, package-menu--find-upgrades)
8147 (package-menu--status-predicate): Support "unsigned" status.
8148
8149 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8150
8151 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8152 the new compilation scheme using the new byte-codes.
8153
8154 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8155 (byte-pophandler): New byte codes.
8156 (byte-goto-ops): Adjust accordingly.
8157 (byte-compile--use-old-handlers): New var.
8158 (byte-compile-catch): Use new byte codes depending on
8159 byte-compile--use-old-handlers.
8160 (byte-compile-condition-case--old): Rename from
8161 byte-compile-condition-case.
8162 (byte-compile-condition-case--new): New function.
8163 (byte-compile-condition-case): New function that dispatches depending
8164 on byte-compile--use-old-handlers.
8165 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8166 when we can.
8167
8168 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8169 Optimize under `condition-case' and `catch' if
8170 byte-compile--use-old-handlers is nil.
8171 (disassemble-offset): Handle new bytecodes.
8172
8173 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8174
8175 * subr.el (error): Use `declare'.
8176 (decode-char, encode-char): Use advertised-calling-convention instead
8177 of the docstring to discourage use of the `restriction' arg.
8178
8179 2013-10-03 Daiki Ueno <ueno@gnu.org>
8180
8181 * epg.el (epg-verify-file): Add a comment saying that it does not
8182 notify verification error as a return value nor a signal.
8183 (epg-verify-string): Ditto.
8184
8185 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8186
8187 * progmodes/compile.el (compilation-start): Try globbing the arg to
8188 `cd' (bug#15417).
8189
8190 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8191
8192 Sync with Tramp 2.2.8.
8193
8194 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8195 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8196 * net/trampver.el: Update release number.
8197
8198 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8199
8200 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8201 and default-process-coding-system for darwin only.
8202
8203 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8204
8205 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8206
8207 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8208
8209 * vc/vc-git.el (vc-git-grep): Disable pager.
8210
8211 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8212
8213 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8214 Use :url instead of :homepage, as per
8215 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8216
8217 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8218 non-nil, use `syntax-ppss' (Bug#15251).
8219
8220 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8221
8222 * progmodes/octave.el (inferior-octave-startup-file):
8223 Prefer ~/.emacs.d/init_octave.m.
8224
8225 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8226
8227 * emacs-lisp/package.el (package-desc-from-define):
8228 Accept additional arguments as plist, convert them to an alist and store
8229 them in the `extras' slot.
8230 (package-generate-description-file): Convert extras alist back to
8231 plist and append to the `define-package' form arguments.
8232 (package--alist-to-plist): New function.
8233 (package--ac-desc): Add `extras' slot.
8234 (package--add-to-archive-contents): Check if the archive-contents
8235 vector is long enough, and if it is, pass its `extras' slot value
8236 to `package-desc-create'.
8237 (package-buffer-info): Call `lm-homepage', pass the returned value
8238 to `package-desc-from-define'.
8239 (describe-package-1): Render the homepage button (Bug#13291).
8240
8241 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8242 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8243
8244 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8245
8246 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8247 and default-process-coding-system to utf-8-unix (Bug#15402).
8248
8249 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8250
8251 * subr.el (looking-back): Do not recommend using looking-back.
8252
8253 2013-09-28 Alan Mackenzie <acm@muc.de>
8254
8255 Fix indentation/fontification of Java enum with "implements".
8256
8257 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8258 regexp which matches "implements", etc., in Java.
8259 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8260 specifier clauses coming after "enum".
8261 * progmodes/cc-fonts.el (c-font-lock-declarations)
8262 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8263 after "enum".
8264
8265 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8266
8267 * faces.el (region): Change ns_selection_color to
8268 ns_selection_fg_color, add ns_selection_bg_color.
8269
8270 2013-09-28 Leo Liu <sdl.web@gmail.com>
8271
8272 * progmodes/octave.el (inferior-octave-completion-table)
8273 (inferior-octave-completion-at-point): Minor tweaks.
8274
8275 * textmodes/ispell.el (ispell-lookup-words): Rename from
8276 lookup-words. (Bug#15460)
8277 (lookup-words): Obsolete.
8278 (ispell-complete-word, ispell-command-loop): All uses changed.
8279
8280 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8281
8282 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8283 (octave-mode-menu): Add octave-send-buffer.
8284 (octave-send-buffer): New function.
8285
8286 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8287
8288 * progmodes/octave.el (octave-mode-map): Add key binding for
8289 octave-lookfor.
8290 (octave-mode-menu): Add octave-lookfor.
8291 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8292 octave-lookfor.
8293 (octave-lookfor): New function.
8294
8295 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8296
8297 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8298 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8299 its convention.
8300 (cl--loop-set-iterator-function): New function.
8301 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8302 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8303 Bind `it' with `let' instead of substituting it with `cl-subst'.
8304 (cl--unused-var-p): New function.
8305 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8306 Eliminate some unused variable warnings (bug#15326).
8307
8308 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8309
8310 * doc-view.el (doc-view-scale-reset): Rename from
8311 `doc-view-reset-zoom-level'.
8312 (doc-view-scale-adjust): New command.
8313 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8314 `doc-view-scale-adjust'.
8315
8316 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8317
8318 * doc-view.el (doc-view-reset-zoom-level): New command.
8319 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8320 zoom commands (bug#15466).
8321
8322 2013-09-26 Kenichi Handa <handa@gnu.org>
8323
8324 * international/quail.el (quail-help): Make it not a command.
8325
8326 2013-09-26 Leo Liu <sdl.web@gmail.com>
8327
8328 * minibuffer.el (completion-all-sorted-completions): Make args
8329 optional as they are.
8330
8331 2013-09-25 Daniel Colascione <dancol@dancol.org>
8332
8333 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8334 specs are and that they're not evaluated.
8335
8336 2013-09-24 Sam Steingold <sds@gnu.org>
8337
8338 * midnight.el (clean-buffer-list-kill-regexps)
8339 (clean-buffer-list-kill-buffer-names): Update for the new Man
8340 buffer naming which includes the object name.
8341
8342 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8343
8344 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8345 (eshell-parse-command, eshell-parse-pipeline): Use it since
8346 eshell-separate-commands requires a dynamic scoped var.
8347 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8348
8349 2013-09-23 Leo Liu <sdl.web@gmail.com>
8350
8351 * autoinsert.el (auto-insert-alist): Make the value of
8352 lexical-binding match its file setting.
8353
8354 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8355
8356 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8357
8358 * autoarg.el (autoarg-kp-digit-argument):
8359 * electric.el (Electric-command-loop):
8360 * kmacro.el (kmacro-step-edit-insert):
8361 Do not set universal-argument-num-events.
8362
8363 2013-09-22 Leo Liu <sdl.web@gmail.com>
8364
8365 * files.el (interpreter-mode-alist): Add octave.
8366
8367 2013-09-21 Alan Mackenzie <acm@muc.de>
8368
8369 C++: fontify identifier in declaration following "public:" correctly.
8370 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8371 to match "public", etc.
8372 (c-decl-prefix-re): Add ":" into the C++ value.
8373 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8374 bit. Add a check for a ":" preceded by "public", etc.
8375
8376 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8377
8378 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8379 recognized by GDB 7.5 and later.
8380
8381 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8382
8383 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8384
8385 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8386
8387 * subr.el (internal--call-interactively): New const.
8388 (called-interactively-p): Use it (bug#3984).
8389
8390 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8391
8392 * vc/pcvs.el (cvs-mode-ignore):
8393 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8394 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8395
8396 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8397
8398 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8399 (eshell-ls-orig-insert-directory): Remove.
8400 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8401 (eshell-ls-use-in-dired): Use advice-add/remove.
8402 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8403 Add `orig-fun' arg for use in :around advice.
8404 Make it check (redundantly) eshell-ls-use-in-dired.
8405
8406 2013-09-19 Glenn Morris <rgm@gnu.org>
8407
8408 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8409
8410 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8411
8412 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8413
8414 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8415
8416 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8417 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8418 (tramp-get-remote-python): New defuns.
8419 (tramp-get-remote-uid-with-perl)
8420 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8421 contributed by yary <not.com@gmail.com> (tiny change).
8422 (tramp-get-remote-uid-with-python)
8423 (tramp-get-remote-gid-with-python): New defuns. Python code
8424 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8425 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8426
8427 2013-09-19 Glenn Morris <rgm@gnu.org>
8428
8429 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8430
8431 * eshell/em-unix.el (eshell-remove-entries):
8432 Rename argument to avoid name-clash with global `top-level'.
8433
8434 * eshell/esh-proc.el (eshell-kill-process-function):
8435 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8436 (eshell-reset-after-proc): Remove unused arg `proc'.
8437
8438 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8439 (directory-files-and-attributes): Mark unused arg.
8440
8441 * eshell/em-unix.el (eshell-remove-entries):
8442 Remove unused arg `path'. Update callers.
8443
8444 * eshell/em-hist.el (eshell-hist-parse-arguments):
8445 Remove unused arg `silent'. Update callers.
8446
8447 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8448 Fix (f)boundp mix-up.
8449
8450 * eshell/em-smart.el (eshell-smart-scroll-window)
8451 (eshell-disable-after-change):
8452 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8453
8454 2013-09-18 Alan Mackenzie <acm@muc.de>
8455
8456 Fix fontification of type when followed by "const".
8457 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8458 "known" types from fontification.
8459
8460 2013-09-18 Glenn Morris <rgm@gnu.org>
8461
8462 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8463 (chart-face-list): Drop Emacsen without display-color-p.
8464
8465 * net/eww.el (libxml-parse-html-region): Declare.
8466 (eww-display-html): Explicit error if no libxml2 support.
8467
8468 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8469
8470 * image.el (image-type-from-buffer, image-multi-frame-p):
8471 Remove --without-x warning/error.
8472
8473 * mouse.el (mouse-yank-primary):
8474 * term.el (term-mouse-paste):
8475 Reorder to silence --without-x compilation.
8476
8477 * mpc.el (doc-view-mode): Silence --without-x compilation.
8478
8479 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8480 Silence --without-x compilation.
8481
8482 * progmodes/gud.el (gud-find-file, gud-mode):
8483 Silence --without-x compilation.
8484 (tooltip-mode): Declare.
8485
8486 * wdired.el (dired-backup-overwrite): Remove declaration.
8487 (wdired-mode-map): Add doc string.
8488
8489 * custom.el (x-get-resource): Declare.
8490
8491 * eshell/em-glob.el (ange-cache):
8492 * eshell/em-unix.el (ange-cache): Declare.
8493
8494 * faces.el (x-display-list, x-open-connection, x-get-resource):
8495 Declare.
8496
8497 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8498 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8499 Declare.
8500
8501 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8502
8503 * net/gnutls.el (gnutls-log-level): Declare.
8504
8505 * net/shr.el (image-size, image-animate): Declare.
8506
8507 * simple.el (font-info): Declare.
8508
8509 * subr.el (x-popup-dialog): Declare.
8510
8511 * term/common-win.el (x-select-enable-primary)
8512 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8513 Declare.
8514
8515 * term/ns-win.el (x-handle-args): Declare.
8516
8517 * term/x-win.el (x-select-enable-clipboard): Declare.
8518
8519 * term/w32-win.el (create-default-fontset): Declare.
8520
8521 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8522 Declare.
8523
8524 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8525 (fit-frame-to-buffer): Explicit error if --without-x.
8526 (mouse-autoselect-window-select): Silence compiler.
8527
8528 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8529
8530 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8531 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8532 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8533 * eshell/esh-util.el (eshell-sublist):
8534 Remove unused local variables.
8535
8536 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8537
8538 * textmodes/two-column.el: Make 2C-split work for --without-x.
8539 (scroll-bar-columns): Autoload.
8540 (top-level): Require fringe when compiling.
8541
8542 2013-09-18 Leo Liu <sdl.web@gmail.com>
8543
8544 * subr.el (add-hook): Robustify to handle closure as well.
8545
8546 2013-09-17 Glenn Morris <rgm@gnu.org>
8547
8548 * simple.el (messages-buffer-mode-map): Unbind "g".
8549
8550 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8551
8552 * help-mode.el (help-mode-finish): Use derived-mode-p.
8553 Remove obsolete highlighting.
8554
8555 * play/life.el (life-mode): Use define-derived-mode. Derive from
8556 special-mode.
8557 (life): Let-bind inhibit-read-only.
8558 (life-setup): Avoid `setq'. Use `life-mode'.
8559
8560 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8561 which should not be needed any more.
8562 (package-menu-refresh, package-menu-describe-package): Use user-error.
8563
8564 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8565 (eshell-post-rewrite-command-hook): Make obsolete.
8566 (eshell-parse-command): Simplify.
8567 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8568 (eshell--cmd): Declare.
8569 (eshell-parse-pipeline): Remove unused var `final-p'.
8570 Pass a dynvar to eshell-post-rewrite-command-hook.
8571 Implement the new eshell-post-rewrite-command-function.
8572 (eshell-invoke-directly): Remove unused arg `input'.
8573 * eshell/esh-io.el (eshell-io-initialize):
8574 Use eshell-post-rewrite-command-function (bug#15399).
8575 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8576 adjust to new calling convention.
8577 (eshell-create-handles): Rename args to avoid clashing with dynvar
8578 `standard-output'.
8579
8580 2013-09-17 Glenn Morris <rgm@gnu.org>
8581
8582 * simple.el (messages-buffer-mode): New major mode.
8583 (messages-buffer): New function.
8584 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8585 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8586 (ert-run-test): Use `messages-buffer' function.
8587 (ert--force-message-log-buffer-truncation): Ignore read-only.
8588 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8589 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8590
8591 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8592
8593 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8594
8595 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8596
8597 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8598
8599 * icomplete.el (icomplete-in-buffer): New var.
8600 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8601 vars and replace them with functions.
8602 (icomplete-minibuffer-setup): Adjust accordingly.
8603 (icomplete--completion-table, icomplete--completion-predicate)
8604 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8605 New functions.
8606 (icomplete-forward-completions, icomplete-backward-completions)
8607 (icomplete-simple-completing-p, icomplete-exhibit)
8608 (icomplete-completions): Use them.
8609 (icomplete--in-region-buffer): New var.
8610 (icomplete--in-region-setup): New function.
8611 (icomplete-mode): Use it.
8612
8613 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8614 (bug#15379).
8615 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8616 return args and options.
8617 (eshell-eval-using-options): Use the new return value of
8618 eshell--do-opts to set the options's vars in their scope.
8619 (eshell--set-option): Rename from eshell-set-option.
8620 Add arg `opt-vals'.
8621 (eshell--process-option): Rename from eshell-process-option.
8622 Add arg `opt-vals'.
8623 (eshell--process-args): Use an `opt-vals' alist to store the options's
8624 values during their processing and return them additionally to the
8625 remaining args.
8626
8627 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8628
8629 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8630 continuation character an operator, as far as indentation is
8631 concerned (Bug#15369).
8632
8633 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8634
8635 * window.el (window--state-put-2): Don't process buffer state
8636 when buffer doesn't exist any more (Bug#15382).
8637
8638 2013-09-15 Glenn Morris <rgm@gnu.org>
8639
8640 * eshell/em-unix.el (eshell/rm):
8641 Make -f ignore missing files. (Bug#15373)
8642
8643 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8644 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8645 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8646
8647 2013-09-14 Glenn Morris <rgm@gnu.org>
8648
8649 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8650
8651 2013-09-13 Glenn Morris <rgm@gnu.org>
8652
8653 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8654 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8655
8656 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8657
8658 * frame.el (x-focus-frame): Mark as declared in frame.c.
8659
8660 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8661
8662 * ls-lisp.el: Use advice-add.
8663 (original-insert-directory): Remove.
8664 (ls-lisp--insert-directory): Rename from insert-directory; add
8665 `orig-fun' argument.
8666 (insert-directory): Advise.
8667
8668 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8669
8670 * term.el (term-emulate-terminal): Decode the command string
8671 before passing it to term-command-hook. (Bug#15337)
8672
8673 2013-09-13 Glenn Morris <rgm@gnu.org>
8674
8675 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8676
8677 * eshell/esh-ext.el (eshell-search-path): Declare.
8678
8679 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8680 Otherwise an error occurs if eshell-dirs module not loaded.
8681
8682 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8683
8684 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8685
8686 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8687 `tramp-check-proper-host'. Check for a valid method name.
8688
8689 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8690 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8691 * net/tramp-sh.el (tramp-maybe-open-connection):
8692 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8693
8694 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8695 also for hash values.
8696
8697 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8698
8699 * term/ns-win.el (parameters): Don't declare as dynamic.
8700 (before-make-frame-hook): Don't add ineffective function.
8701
8702 * eshell/*.el: Use lexical-binding (bug#15231).
8703
8704 2013-09-12 Kenichi Handa <handa@gnu.org>
8705
8706 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8707
8708 2013-09-12 Glenn Morris <rgm@gnu.org>
8709
8710 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8711 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8712
8713 * subr.el (do-after-load-evaluation): Also give compiler warnings
8714 when obsolete files are used (except by obsolete files).
8715
8716 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8717 in the status output, assume `filename' is the first. (Bug#15322)
8718
8719 * vc/vc.el (vc-deduce-fileset): Doc fix.
8720
8721 * calc/calc-help.el (Info-goto-node):
8722 * progmodes/cperl-mode.el (Info-find-node):
8723 * vc/ediff.el (Info-goto-node): Update declarations.
8724
8725 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8726
8727 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8728 (vc-bzr-pull): Require vc-dispatcher.
8729 * vc/vc-git.el (vc-compilation-mode): Declare.
8730 (vc-git-pull): Require vc-dispatcher.
8731
8732 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8733
8734 * progmodes/octave.el (help-button-action): Declare.
8735
8736 * shell.el (shell-directory-tracker): Output error as a message
8737 rather than just returning it as a string.
8738 (shell-process-pushd): Remove useless use of message.
8739
8740 * dframe.el (dframe-timer-fn):
8741 * files.el (dir-locals-read-from-file):
8742 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8743 (mpc-format):
8744 * reveal.el (reveal-post-command):
8745 * saveplace.el (load-save-place-alist-from-file):
8746 * shell.el (shell-resync-dirs):
8747 * w32-common-fns.el (x-get-selection-value):
8748 * emacs-lisp/copyright.el (copyright-find-copyright):
8749 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8750 * emulation/tpu-edt.el (tpu-copy-keyfile):
8751 * play/bubbles.el (bubbles--mark-neighbourhood):
8752 * progmodes/executable.el
8753 (executable-make-buffer-file-executable-if-script-p):
8754 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8755
8756 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8757
8758 Cleanup Eshell to rely less on dynamic scoping.
8759 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8760 last-value, and ext-command here. Bind `args' closer to `body'.
8761 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8762 (eshell--args): Declare new dynamic var.
8763 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8764 last-value, and ext-command. Pass `args' to `body'.
8765 (eshell-process-args): Bind eshell--args.
8766 (eshell-set-option): Use eshell--args.
8767 * eshell/eshell.el (eshell): Use derived-mode-p.
8768 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8769 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8770 (eshell-glob-function): Declare.
8771 * eshell/esh-util.el: Require cl-lib.
8772 (eshell-read-hosts-file): Avoid add-to-list.
8773 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8774 `err'.
8775 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8776 Declare.
8777 (eshell/diff): Remove unused var `err'.
8778 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8779 `killflag'.
8780 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8781 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8782 first use.
8783 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8784 Move declaration before first use.
8785 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8786 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8787 rely on cl-return.
8788
8789 2013-09-12 Glenn Morris <rgm@gnu.org>
8790
8791 * term/ns-win.el (global-map): Remove binding for ispell-next,
8792 deleted 1999-05-29. (Bug#15357)
8793
8794 2013-09-11 Glenn Morris <rgm@gnu.org>
8795
8796 * echistory.el (electric-command-history): Remove call to deleted func.
8797
8798 * play/landmark.el (landmark-mode): Fix typos.
8799
8800 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8801 Check cvs-sort-ignore-file is bound.
8802
8803 * savehist.el: No need for cl when compiling on Emacs.
8804
8805 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8806
8807 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8808 (bug#15338).
8809 (eshell-self-insert-command, eshell-send-invisible):
8810 Remove unused argument.
8811 (eshell-handle-control-codes): Remove unused var `orig'.
8812 Avoid delete-backward-char.
8813
8814 * files.el (set-auto-mode): Simplify a bit further.
8815
8816 2013-09-11 Glenn Morris <rgm@gnu.org>
8817
8818 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8819 (set-auto-mode): Don't regexp-quote elements.
8820 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8821 * progmodes/cc-mode.el (interpreter-mode-alist):
8822 * progmodes/ruby-mode.el (interpreter-mode-alist):
8823 Revert previous change.
8824
8825 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8826
8827 * play/snake.el (snake-mode):
8828 * play/mpuz.el (mpuz-mode):
8829 * play/landmark.el (lm-mode):
8830 * play/blackbox.el (blackbox-mode):
8831 * play/5x5.el (5x5-mode):
8832 * obsolete/options.el (Edit-options-mode):
8833 * net/quickurl.el (quickurl-list-mode):
8834 * net/newst-treeview.el (newsticker-treeview-mode):
8835 * mail/rmailsum.el (rmail-summary-mode):
8836 * mail/mspools.el (mspools-mode):
8837 * locate.el (locate-mode):
8838 * ibuffer.el (ibuffer-mode):
8839 * emulation/ws-mode.el (wordstar-mode):
8840 * emacs-lisp/debug.el (debugger-mode):
8841 * array.el (array-mode):
8842 * net/eudc.el (eudc-mode): Use define-derived-mode.
8843 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8844 Move initialization into declaration.
8845 (mairix-searches-mode): Use define-derived-mode.
8846 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8847 (eudc-edit-hotlist): Use dolist.
8848 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8849 (Man-mode): Use define-derived-mode.
8850 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8851 (Info-edit-mode): Use define-derived-mode.
8852 (Info-cease-edit): Use Info-mode.
8853 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8854 into declaration.
8855 (eshell-mode): Use define-derived-mode.
8856 * chistory.el (command-history-mode-map): Rename from
8857 command-history-map.
8858 (command-history-mode): Use define-derived-mode.
8859 (Command-history-setup): Remove function.
8860 * calc/calc.el (calc-trail-mode-map): New var.
8861 (calc-trail-mode): Use define-derived-mode.
8862 (calc-trail-buffer): Set calc-main-buffer manually.
8863 * bookmark.el (bookmark-insert-annotation): New function.
8864 (bookmark-edit-annotation): Use it.
8865 (bookmark-edit-annotation-mode): Make it a proper major mode.
8866 (bookmark-send-edited-annotation): Use derived-mode-p.
8867 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8868 closer to its ideal place. Use \' to match EOS.
8869
8870 * profiler.el (profiler-calltree-find): Use function-equal.
8871
8872 2013-09-10 Glenn Morris <rgm@gnu.org>
8873
8874 * files.el (interpreter-mode-alist): Convert to regexps.
8875 (set-auto-mode): Adapt for this. (Bug#15306)
8876 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8877 Comment out unused variable.
8878 * progmodes/cc-mode.el (interpreter-mode-alist):
8879 * progmodes/python.el (interpreter-mode-alist):
8880 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8881 * progmodes/sh-script.el (sh-set-shell):
8882 No longer use interpreter-mode-alist to get list of shells.
8883
8884 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8885
8886 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8887
8888 * simple.el: Use set-temporary-overlay-map for universal-argument.
8889 (universal-argument-map): Don't use default-bindings (bug#15317).
8890 Bind switch-frame explicitly. Replace universal-argument-minus with
8891 a conditional binding.
8892 (universal-argument-num-events, saved-overriding-map): Remove.
8893 (restore-overriding-map): Remove.
8894 (universal-argument--mode): Rename from save&set-overriding-map,
8895 and rewrite.
8896 (universal-argument, universal-argument-more, negative-argument)
8897 (digit-argument): Adjust accordingly.
8898 (universal-argument-minus): Remove.
8899 (universal-argument-other-key): Remove.
8900
8901 * subr.el (with-demoted-errors): Add `format' argument.
8902
8903 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8904
8905 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8906 `tramp-cleanup-connection'.
8907
8908 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8909 parameters KEEP-DEBUG and KEEP-PASSWORD.
8910
8911 * net/tramp.el (tramp-file-name-handler):
8912 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8913 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8914 (tramp-maybe-open-connection):
8915 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8916 Use `tramp-cleanup-connection'.
8917
8918 * net/tramp-sh.el (tramp-maybe-open-connection):
8919 Catch 'uname-changed inside the progress reporter.
8920
8921 2013-09-10 Glenn Morris <rgm@gnu.org>
8922
8923 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8924
8925 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8926 returns "alternate access method" in mode (eg "-rw-r--r--.").
8927
8928 2013-09-08 Glenn Morris <rgm@gnu.org>
8929
8930 * saveplace.el (load-save-place-alist-from-file):
8931 Demote errors. (Bug#15305)
8932
8933 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8934
8935 Improve compatibility with older Emacsen, and XEmacs.
8936
8937 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8938 only if it is bound. It isn't for XEmacs.
8939 (with-tramp-progress-reporter): Do not let-bind `result'.
8940 This yields to scoping errors in XEmacs.
8941 (tramp-handle-make-auto-save-file-name): New function, moved from
8942 tramp-sh.el.
8943
8944 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8945 for `make-auto-save-file-name'.
8946 (tramp-adb--gnu-switches-to-ash):
8947 Use `tramp-compat-replace-regexp-in-string'.
8948
8949 * net/tramp-cache.el (tramp-cache-print): Call
8950 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8951
8952 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8953 bound. It isn't for XEmacs.
8954
8955 * net/tramp-compat.el (tramp-compat-copy-file):
8956 Catch `wrong-number-of-arguments' error.
8957 (tramp-compat-replace-regexp-in-string): New defun.
8958
8959 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8960 for `make-auto-save-file-name'.
8961 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8962 `copy-file'.
8963 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8964 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8965 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8966
8967 * net/tramp-gw.el (tramp-gw-open-network-stream):
8968 Use `tramp-compat-replace-regexp-in-string'.
8969
8970 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8971 Call `tramp-handle-make-auto-save-file-name'.
8972 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8973 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8974 (tramp-sh-file-inotifywait-process-filter):
8975 Use `tramp-compat-replace-regexp-in-string'.
8976 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8977
8978 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8979 for `make-auto-save-file-name'.
8980 (tramp-smb-handle-copy-directory):
8981 Call `tramp-compat-replace-regexp-in-string'.
8982 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8983 (tramp-smb-handle-copy-file): Improve error message.
8984 (tramp-smb-handle-rename-file): Rename directly only in case
8985 `newname' does not exist yet. This is a restriction of smbclient.
8986 (tramp-smb-maybe-open-connection): Rerun the function only when
8987 `auth-sources' is non-nil.
8988
8989 2013-09-08 Kenichi Handa <handa@gnu.org>
8990
8991 * international/characters.el: Set category "^" (Combining) for
8992 more characters.
8993
8994 2013-09-07 Alan Mackenzie <acm@muc.de>
8995
8996 Correctly fontify Java class constructors.
8997 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8998 in Java Mode.
8999 (c-recognize-typeless-decls): Set the Java value to t.
9000 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9001 While handling a "(", add a check for, effectively, Java, and handle a
9002 "typeless" declaration there.
9003
9004 2013-09-07 Roland Winkler <winkler@gnu.org>
9005
9006 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9007 field subtitle for entry type book.
9008
9009 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9010
9011 * minibuffer.el: Make minibuffer-complete call completion-in-region
9012 rather than other way around.
9013 (completion--some, completion-pcm--find-all-completions):
9014 Don't delay signals when debugging.
9015 (minibuffer-completion-contents): Beware fields within the
9016 minibuffer contents.
9017 (completion-all-sorted-completions): Use defvar-local.
9018 (completion--do-completion, completion--cache-all-sorted-completions)
9019 (completion-all-sorted-completions, minibuffer-force-complete):
9020 Add args `beg' and `end'.
9021 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9022 (minibuffer-complete): Use completion-in-region.
9023 (completion-complete-and-exit): New fun, extracted from
9024 minibuffer-complete-and-exit.
9025 (minibuffer-complete-and-exit): Use it.
9026 (completion--complete-and-exit): Rename from
9027 minibuffer--complete-and-exit.
9028 (completion-in-region--single-word): New function, extracted from
9029 minibuffer-complete-word.
9030 (minibuffer-complete-word): Use it.
9031 (display-completion-list): Make `common-substring' argument obsolete.
9032 (completion--in-region): Call completion--in-region-1 instead of
9033 minibuffer-complete.
9034 (completion-help-at-point): Pass boundaries to
9035 minibuffer-completion-help as args rather than via an overlay.
9036 (completion-pcm--string->pattern): Use `any-delim'.
9037 (completion-pcm--optimize-pattern): New function.
9038 (completion-pcm--pattern->regex): Handle `any-delim'.
9039 * icomplete.el (icomplete-forward-completions)
9040 (icomplete-backward-completions, icomplete-completions):
9041 Adjust calls to completion-all-sorted-completions and
9042 completion--cache-all-sorted-completions.
9043 (icomplete-with-completion-tables): Default to t.
9044 * emacs-lisp/crm.el (crm--current-element): Rename from
9045 crm--select-current-element. Don't put an overlay but return the
9046 boundaries instead.
9047 (crm--completion-command): Take two new args to bind to the boundaries.
9048 (crm-completion-help): Adjust accordingly.
9049 (crm-complete): Use completion-in-region.
9050 (crm-complete-word): Use completion-in-region--single-word.
9051 (crm-complete-and-exit): Use completion-complete-and-exit.
9052
9053 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9054
9055 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9056 than dynamically.
9057
9058 2013-09-06 Juri Linkov <juri@jurta.org>
9059
9060 * info.el (Info-display-images-node): When image file doesn't exist
9061 display text version of the image if it's provided in the Info file.
9062 Otherwise, display the location of missing image from SRC attribute.
9063 Add help-echo text property from ALT attribute. (Bug#15279)
9064
9065 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9066
9067 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9068 (edit-abbrevs-mode): Use define-derived-mode.
9069
9070 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9071 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9072 that it's defined.
9073 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9074 Use define-derived-mode.
9075
9076 * epg.el (epg-start-encrypt): Minor CSE simplification.
9077
9078 2013-09-06 William Xu <william.xwl@gmail.com>
9079
9080 * arc-mode.el: Add support for 7za (bug#15264).
9081 (archive-7z-program): New var.
9082 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9083 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9084 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9085
9086 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9087
9088 Remove URL syntax.
9089
9090 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9091 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9092 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9093 (tramp-postfix-host-format, tramp-file-name-regexp)
9094 (tramp-completion-file-name-regexp)
9095 (tramp-completion-dissect-file-name)
9096 (tramp-handle-substitute-in-file-name): Remove 'url case.
9097 (tramp-file-name-regexp-url)
9098 (tramp-completion-file-name-regexp-url): Remove constants.
9099
9100 2013-09-06 Glenn Morris <rgm@gnu.org>
9101
9102 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9103
9104 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9105
9106 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9107 keywords" below "here-doc beginnings" (Bug#15270).
9108
9109 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9110
9111 * subr.el (pop): Use `car-safe'.
9112 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9113 to detect unused `pop' return value.
9114
9115 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9116 var `block-regexp'.
9117 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9118 (python-fill-string): Remove unused var `marker'.
9119 (python-skeleton-add-menu-items): Remove unused var `items'.
9120
9121 * international/mule-cmds.el: Require CL.
9122 (find-coding-systems-for-charsets): Avoid add-to-list.
9123 (sanitize-coding-system-list): New function, extracted from
9124 select-safe-coding-system-interactively.
9125 (select-safe-coding-system-interactively): Use it.
9126 (read-input-method-name): Accept symbols for `default'.
9127
9128 * emacs-lisp/advice.el (defadvice): Add indent rule.
9129
9130 2013-09-05 Daniel Hackney <dan@haxney.org>
9131
9132 * dired-x.el:
9133 * net/ange-ftp.el:
9134 * net/browse-url.el:
9135 * net/dbus.el:
9136 * net/eudc.el:
9137 * net/eudcb-ldap.el:
9138 * net/eww.el:
9139 * net/imap.el:
9140 * printing.el:
9141 * vc/ediff-diff.el:
9142 * vc/ediff-init.el:
9143 * vc/ediff-merg.el:
9144 * vc/ediff-mult.el:
9145 * vc/ediff-util.el:
9146 * vc/ediff-wind.el:
9147 * vc/ediff.el:
9148 * vc/emerge.el:
9149 * vc/pcvs.el:
9150 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9151 byte compiler. Remove some unused let-bound variables.
9152
9153 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9154
9155 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9156 a "ref-cell", since it gets better optimized (bug#14883).
9157
9158 2013-09-05 Glenn Morris <rgm@gnu.org>
9159
9160 * progmodes/cc-awk.el (c-forward-sws): Declare.
9161
9162 2013-09-04 Glenn Morris <rgm@gnu.org>
9163
9164 * generic-x.el [rul-generic-mode]: Require cc-mode.
9165 (c++-mode-syntax-table): Declare.
9166 (rul-generic-mode-syntax-table): Init in the defvar.
9167
9168 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9169
9170 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9171 (vc-do-command, vc-set-async-update):
9172 * vc/vc-mtn.el (vc-mtn-dir-status):
9173 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9174 (vc-hg-pull, vc-hg-merge-branch):
9175 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9176 (vc-git-merge-branch):
9177 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9178 (vc-cvs-dir-status-files):
9179 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9180 (vc-bzr-dir-status-files):
9181 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9182 * vc/vc-annotate.el: Use lexical-binding.
9183 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9184 (vc-sentinel-movepoint): Declare.
9185 (vc-annotate): Don't use `goto-line'.
9186 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9187 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9188 (vc-sentinel-movepoint): Declare.
9189 * vc/vc-svn.el: Use lexical-binding.
9190 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9191 * vc/vc-sccs.el:
9192 * vc/vc-rcs.el: Use lexical-binding.
9193
9194 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9195 `deleted'. Don't drop errors silently.
9196
9197 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9198
9199 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9200
9201 * vc/vc.el (vc-ignore): Rewrite.
9202 (vc-default-ignore): New function.
9203 (vc-default-ignore-completion-table): Use find-ignore-file.
9204
9205 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9206 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9207 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9208 Remove. Most code moved to vc.el.
9209
9210 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9211
9212 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9213 * net/tramp-smb.el (tramp-smb-get-file-entries):
9214 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9215 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9216
9217 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9218 Update call to it.
9219 (eww-change-select): Remove unused var `properties'.
9220 (eww-make-unique-file-name): Remove unused var `base'.
9221
9222 * finder.el (finder-compile-keywords): Don't mess with windows.
9223
9224 * calculator.el (calculator-funcall): Fix typo in last change.
9225
9226 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9227
9228 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9229 <pkg>-autoloads.el file stop us.
9230
9231 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9232 warnings, and factor out common code.
9233
9234 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9235
9236 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9237 two-character operators and whether the character preceding them
9238 changes their meaning (Bug#15208).
9239
9240 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9241
9242 Format code sent to Python shell for robustness.
9243 * progmodes/python.el (python-shell-buffer-substring):
9244 New function.
9245 (python-shell-send-region, python-shell-send-buffer): Use it.
9246
9247 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9248
9249 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9250 * net/tramp.el (tramp-user-error): ... here.
9251 (tramp-find-method, tramp-check-proper-host)
9252 (tramp-dissect-file-name, tramp-debug-message)
9253 (tramp-handle-shell-command):
9254 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9255 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9256
9257 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9258
9259 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9260
9261 * avoid.el (mouse-avoidance-point-position)
9262 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9263 returns nil.
9264
9265 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9266
9267 * progmodes/python.el (python-shell-completion-get-completions):
9268 Drop use of deleted `comint-last-prompt-overlay'.
9269 (python-nav-if-name-main): New command.
9270
9271 2013-09-01 Glenn Morris <rgm@gnu.org>
9272
9273 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9274 Avoid leading space in $wins. Otherwise the sed command used by
9275 eg compile-main ends up containing "/*.el". (Bug#15170)
9276
9277 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9278
9279 2013-08-30 Glenn Morris <rgm@gnu.org>
9280
9281 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9282 Fix is-this-a-directory logic. (Bug#15220)
9283
9284 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9285
9286 * textmodes/css-mode.el: Use SMIE.
9287 (css-smie-grammar): New var.
9288 (css-smie--forward-token, css-smie--backward-token)
9289 (css-smie-rules): New functions.
9290 (css-mode): Use them.
9291 (css-navigation-syntax-table): Remove var.
9292 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9293 (css-indent-calculate, css-indent-line): Remove functions.
9294
9295 Misc changes to reduce use of `(lambda...); and other cleanups.
9296 * cus-edit.el: Use lexical-binding.
9297 (customize-push-and-save, customize-apropos)
9298 (custom-buffer-create-internal): Use closures.
9299 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9300 * progmodes/ada-xref.el: Use setq.
9301 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9302 * dframe.el: Use lexical-binding.
9303 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9304 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9305 * descr-text.el: Use lexical-binding.
9306 (describe-text-widget, describe-text-sexp, describe-property-list):
9307 Use closures.
9308 * comint.el (comint-history-isearch-push-state): Use a closure.
9309 * calculator.el: Use lexical-binding.
9310 (calculator-number-to-string): Make it work with lexical-binding.
9311 (calculator-funcall): Same and use cl-letf.
9312
9313 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9314 (lisp--company-doc-string, lisp--company-location): New functions.
9315 (lisp-completion-at-point): Use them to improve Company support.
9316
9317 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9318 params of lambda expressions.
9319 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9320 (ruby-smie--opening-pipe-p): New function.
9321 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9322 symbols and matched |...| for formal params.
9323 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9324 from being treated as hanging. Handle "rescue".
9325
9326 2013-08-29 Glenn Morris <rgm@gnu.org>
9327
9328 * progmodes/cc-engine.el (c-pull-open-brace):
9329 Move definition before use.
9330
9331 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9332
9333 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9334 are immutable. Don't use `unsafe' any more.
9335 (cl--defsubst-expand): Don't substitute at the same time as keeping
9336 a residual unused let-binding. Don't use `unsafe' any more.
9337
9338 2013-08-29 Glenn Morris <rgm@gnu.org>
9339
9340 * calendar/cal-china.el (calendar-chinese-year-cache):
9341 Recenter on 2015.
9342
9343 * nxml/nxml-util.el (nxml-debug-clear-inside):
9344 Use cl-loop rather than loop.
9345
9346 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9347
9348 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9349
9350 2013-08-28 Glenn Morris <rgm@gnu.org>
9351
9352 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9353
9354 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9355
9356 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9357
9358 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9359
9360 * simple.el (repeat-complex-command--called-interactively-skip):
9361 New function.
9362 (repeat-complex-command): Use it (bug#14136).
9363
9364 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9365 (c-define-abbrev-table): Add `doc' argument.
9366 (c-mode-abbrev-table, c++-mode-abbrev-table)
9367 (objc-mode-abbrev-table, java-mode-abbrev-table)
9368 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9369 (awk-mode-abbrev-table): Use it.
9370 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9371 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9372 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9373 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9374 Move initialization into the declaration; and remove any
9375 autoload cookie.
9376
9377 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9378 and dynamic let binding.
9379
9380 * vc/smerge-mode.el: Remove redundant :group args.
9381
9382 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9383 to load-path.
9384
9385 2013-08-28 Juri Linkov <juri@jurta.org>
9386
9387 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9388 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9389 (isearch-other-meta-char): Handle an undefined shifted printing
9390 character by downshifting it. (Bug#15200)
9391
9392 2013-08-28 Juri Linkov <juri@jurta.org>
9393
9394 * isearch.el (isearch-search): Change regexp error message for
9395 non-regexp searches. (Bug#15166)
9396
9397 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9398
9399 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9400 for portability to hosts where /bin/sh has problems.
9401
9402 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9403
9404 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9405
9406 2013-08-27 Juri Linkov <juri@jurta.org>
9407
9408 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9409 in the keyboard macro. (Bug#15126)
9410
9411 2013-08-27 Juri Linkov <juri@jurta.org>
9412
9413 * isearch.el (isearch-quote-char): Comment out converting unibyte
9414 to multibyte, thus syncing with its `quoted-insert' counterpart.
9415 (Bug#15166)
9416
9417 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9418
9419 * window.el (display-buffer-use-some-window): Add missing
9420 argument in call of get-largest-window (Bug#15185).
9421 Reported by Stephen Leake.
9422
9423 2013-08-27 Glenn Morris <rgm@gnu.org>
9424
9425 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9426
9427 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9428
9429 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9430 from a matcher-function unless there's no more matches (bug#15161).
9431
9432 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9433
9434 * minibuffer.el: Revert change from 2013-08-20.
9435
9436 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9437 with text property `tramp-default', if appropriate.
9438 (tramp-check-proper-host): New defun.
9439 (tramp-dissect-file-name): Do not check hostname. Revert change
9440 of 2013-03-18.
9441 (tramp-backtrace): Make VEC-OR-PROC optional.
9442
9443 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9444 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9445 * net/tramp-sh.el (tramp-maybe-open-connection):
9446 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9447 Apply `tramp-check-proper-host'.
9448
9449 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9450
9451 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9452 lambda expression in order to have `describe-variable' display it.
9453
9454 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9455
9456 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9457 BUF can be optional. (Bug#15186)
9458
9459 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9460
9461 * progmodes/flymake.el (flymake-get-real-file-name-function):
9462 Fix broken customization. (Bug#15184)
9463
9464 2013-08-25 Alan Mackenzie <acm@muc.de>
9465
9466 Improve indentation of bracelists defined by macros (without "=").
9467
9468 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9469 expansion begins with "{", regard it as bracelist when it doesn't
9470 contain a ";".
9471
9472 Parse C++ inher-intro when there's a template split over 2 lines.
9473
9474 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9475 rigorously the search for "class" etc. followed by ":".
9476
9477 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9478 random languages a regexp which never matches rather than nil.
9479
9480 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9481
9482 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9483 (c-awk-regexp-one-line-possibly-open-char-list-re)
9484 (c-awk-one-line-possibly-open-regexp-re)
9485 (c-awk-one-line-non-syn-ws*-re): Remove.
9486 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9487 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9488 (c-awk-space*-unclosed-regexp-/-re): New constants.
9489 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9490 aren't regexp delimiters.
9491
9492 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9493 handling for a rare situation in AWK Mode involving unterminated
9494 strings/regexps.
9495
9496 2013-08-23 Glenn Morris <rgm@gnu.org>
9497
9498 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9499
9500 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9501
9502 * files.el (create-file-buffer): If the result would begin with
9503 spaces, prepend a "|" instead of removing them. (Bug#15162)
9504
9505 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9506
9507 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9508 text-properties (bug#15155).
9509
9510 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9511 exist any more.
9512 (calc-keypad-redraw): Remove unused var `pad'.
9513 (calc-keypad-press): Remove unused var `menu'.
9514
9515 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9516
9517 * window.el (display-buffer-pop-up-frame):
9518 Call pop-up-frame-function with BUFFER current so `make-frame' will
9519 use it as the new frame's buffer (Bug#15133).
9520
9521 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9522
9523 * calendar/timeclock.el: Minor cleanups.
9524 (timeclock-ask-before-exiting, timeclock-use-display-time):
9525 Use `symbol'.
9526 (timeclock-modeline-display): Define as alias before the
9527 actual definition.
9528 (timeclock-mode-line-display): Use define-minor-mode.
9529 (timeclock-day-list-template): Make it a function, add an argument.
9530 (timeclock-day-list-required, timeclock-day-list-length)
9531 (timeclock-day-list-debt, timeclock-day-list-span)
9532 (timeclock-day-list-break): Adjust calls accordingly.
9533
9534 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9535
9536 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9537 Use read--expression so that completion works again.
9538
9539 2013-08-21 Sam Steingold <sds@gnu.org>
9540
9541 Add rudimentary inferior shell interaction
9542 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9543 (sh-set-shell): Reset it.
9544 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9545 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9546
9547 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9548
9549 * align.el: Use lexical-binding.
9550 (align-region): Simplify accordingly.
9551
9552 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9553
9554 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9555
9556 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9557 `non-essential' up.
9558
9559 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9560
9561 * net/tramp.el:
9562 * net/tramp-adb.el:
9563 * net/tramp-cmds.el:
9564 * net/tramp-ftp.el:
9565 * net/tramp-gvfs.el:
9566 * net/tramp-gw.el:
9567 * net/tramp-sh.el: Don't wrap external variable declarations by
9568 `eval-when-compile'.
9569
9570 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9571
9572 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9573 now that Emacs supports ImageMagick animations.
9574
9575 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9576
9577 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9578 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9579
9580 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9581
9582 * window.el (mouse-autoselect-window-select): Do autoselect when
9583 mouse pointer is on margin.
9584
9585 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9586
9587 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9588
9589 2013-08-16 Glenn Morris <rgm@gnu.org>
9590
9591 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9592 Handle "Remote Directory" response of some clients. (Bug#15058)
9593
9594 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9595 Tweak warning. (Bug#14926)
9596
9597 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9598 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9599
9600 * image-mode.el (image-mode-map): Add menu items to reverse,
9601 increase, decrease, reset animation speed.
9602 (image--set-speed, image-increase-speed, image-decrease-speed)
9603 (image-reverse-speed, image-reset-speed): New functions.
9604 (image-mode-map): Add bindings for speed commands.
9605
9606 * image.el (image-animate-get-speed, image-animate-set-speed):
9607 New functions.
9608 (image-animate-timeout): Respect image :speed property.
9609
9610 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9611
9612 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9613 previous line (bug#15101).
9614 (debugger-eval-expression, debugger-record-expression):
9615 Use read--expression (bug#15102).
9616
9617 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9618
9619 Remove byte compiler warnings, visible when compiling with
9620 `byte-compile-force-lexical-warnings' set to t.
9621
9622 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9623 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9624 (tramp-handle-unhandled-file-name-directory)
9625 (tramp-handle-file-notify-add-watch, tramp-action-login)
9626 (tramp-action-succeed, tramp-action-permission-denied)
9627 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9628 arguments with "_".
9629
9630 * net/tramp-adb.el (tramp-adb-parse-device-names)
9631 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9632 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9633 (tramp-adb-handle-file-truename): Remove unused arguments.
9634
9635 * net/tramp-cache.el (tramp-flush-directory-property)
9636 (tramp-flush-connection-property, tramp-list-connections)
9637 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9638
9639 * net/tramp-compat.el (tramp-compat-make-temp-file):
9640 Rename FILENAME to F.
9641
9642 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9643 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9644 (tramp-zeroconf-parse-workstation-device-names)
9645 (tramp-zeroconf-parse-webdav-device-names)
9646 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9647
9648 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9649 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9650
9651 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9652 arguments.
9653 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9654 (tramp-sh-handle-insert-file-contents-literally)
9655 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9656 with "_".
9657 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9658 Remove unused variables.
9659
9660 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9661 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9662 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9663
9664 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9665 Make them a defconst.
9666 (tramp-uuencode-region): Remove unused variable.
9667
9668 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9669
9670 * frameset.el (frameset--prop-setter): New function.
9671 (frameset-prop): Add gv-setter declaration.
9672 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9673 parameter was already set in FILTERED. Doc fix.
9674 (frameset--record-minibuffer-relationships): Allow saving a
9675 minibufferless frame without its corresponding minibuffer frame.
9676 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9677 frame, if the frame id matches.
9678 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9679 frames before orphaned ones.
9680 (frameset-restore): Warn about orphaned windows, instead of error out.
9681
9682 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9683
9684 * window.el (window-make-atom): Don't overwrite parameter
9685 already present.
9686 (display-buffer-in-atom-window): Handle special case where we
9687 split an already atomic window.
9688 (window--major-non-side-window, display-buffer-in-side-window)
9689 (window--side-check): Ignore minibuffer window when walking
9690 window tree.
9691 (window-deletable-p): Return 'frame only if no other frame uses
9692 our minibuffer window.
9693 (record-window-buffer): Run buffer-list-update-hook.
9694 (split-window): Make sure window--check-frame won't destroy an
9695 existing atomic window in case the new window gets nested
9696 inside.
9697 (display-buffer-at-bottom): Ignore minibuffer window when
9698 walking window tree. Don't split a side window.
9699 (pop-to-buffer): Don't set-buffer here, the select-window call
9700 should do that.
9701 (mouse-autoselect-window-select): Autoselect only if we are in the
9702 text portion of the window.
9703
9704 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9705
9706 * net/shr.el (shr-parse-image-data): New function to grab both the
9707 data itself and the Content-Type.
9708 (shr-put-image): Use it.
9709
9710 * net/eww.el (eww-display-image): Ditto.
9711
9712 * image.el (image-content-type-suffixes): New variable.
9713
9714 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9715
9716 * progmodes/python.el (python-imenu--build-tree)
9717 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9718
9719 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9720
9721 * simple.el (backward-word): Mention the optional argument.
9722
9723 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9724
9725 * frameset.el (frameset--make): Rename constructor from make-frameset.
9726 (frameset-p, frameset-valid-p): Don't autoload.
9727 (frameset-valid-p): Use normal accessors.
9728
9729 2013-08-13 Glenn Morris <rgm@gnu.org>
9730
9731 * progmodes/compile.el (compile-command): Tweak example in doc.
9732 * obsolete/scribe.el (scribe-mode):
9733 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9734
9735 * mail/feedmail.el (feedmail-confirm-outgoing)
9736 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9737
9738 * cus-start.el (truncate-partial-width-windows): Fix type.
9739
9740 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9741
9742 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9743
9744 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9745
9746 * emacs-lisp/timer.el (timer--time-setter): New function.
9747 (timer--time): Use it as gv-setter.
9748
9749 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9750 setter is not a symbol.
9751
9752 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9753
9754 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9755 if sending fails. This makes debugging easier.
9756
9757 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9758
9759 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9760 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9761 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9762
9763 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9764
9765 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9766
9767 2013-08-12 Glenn Morris <rgm@gnu.org>
9768
9769 * format.el (format-annotate-function):
9770 Handle read-only text properties in the source. (Bug#14887)
9771
9772 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9773
9774 * net/eww.el (eww-display-html): Ignore coding system errors.
9775 One web site uses "utf-8lias" as the coding system.
9776
9777 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9778
9779 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9780
9781 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9782
9783 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9784 (tutorial--detailed-help): Remove unused local variables.
9785 (tutorial--save-tutorial-to): Use ignore-errors.
9786 (help-with-tutorial): Use looking-at-p.
9787
9788 * view.el (view-buffer-other-window, view-buffer-other-frame):
9789 Mark unused arguments.
9790
9791 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9792 (woman-select-symbol-fonts, woman, woman-find-file)
9793 (woman-insert-file-contents, woman-non-underline-faces):
9794 Use string-match-p.
9795 (woman1-unquote): Move declaration.
9796
9797 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9798 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9799 argument. Remove unused local variable.
9800 (xml-parse-elem-type): Use string-match-p.
9801 (xml-substitute-numeric-entities): Use ignore-errors.
9802
9803 * calculator.el (calculator): Mark unused argument.
9804 (calculator-paste, calculator-quit, calculator-integer-p):
9805 Use ignore-errors.
9806 (calculator-string-to-number, calculator-decimal, calculator-exp)
9807 (calculator-op-or-exp): Use string-match-p.
9808
9809 * dired.el (dired-buffer-more-recently-used-p): Declare.
9810 (dired-insert-set-properties, dired-insert-old-subdirs):
9811 Use ignore-errors.
9812
9813 * dired-aux.el (dired-compress): Use ignore-errors.
9814 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9815 (dired-do-async-shell-command, dired-do-shell-command)
9816 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9817 (dired-insert-subdir-validate): Use string-match-p.
9818 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9819 (dired-add-entry): Use string-match-p, looking-at-p.
9820 (dired-insert-subdir-newpos): Remove unused local variable.
9821
9822 * filenotify.el (file-notify-callback): Remove unused local variable.
9823
9824 * filesets.el (filesets-error): Mark unused argument.
9825 (filesets-which-command-p, filesets-filter-dir-names)
9826 (filesets-directory-files, filesets-get-external-viewer)
9827 (filesets-ingroup-get-data): Use string-match-p.
9828
9829 * find-file.el (ff-other-file-name, ff-other-file-name)
9830 (ff-find-the-other-file, ff-cc-hh-converter):
9831 Remove unused local variables.
9832 (ff-get-file-name): Use string-match-p.
9833 (ff-all-dirs-under): Use ignore-errors.
9834
9835 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9836 (follow-select-if-visible): Remove unused local variable.
9837
9838 * forms.el (read-file-filter): Move declaration.
9839 (forms--make-format, forms--make-parser, forms-insert-record):
9840 Quote function with #'.
9841 (forms--update): Use string-match-p. Quote function with #'.
9842
9843 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9844 (help-make-xrefs): Use looking-at-p.
9845 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9846
9847 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9848 (ibuffer-confirm-operation-on): Use string-match-p.
9849
9850 * msb.el (msb-item-handler, msb-dired-item-handler):
9851 Mark unused arguments.
9852
9853 * ses.el (ses-decode-cell-symbol)
9854 (ses-kill-override): Remove unused local variable.
9855 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9856 (ses-load): Use ignore-errors, looking-at-p.
9857 (ses-jump-safe): Use ignore-errors.
9858 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9859
9860 * tabify.el (untabify, tabify): Mark unused arguments.
9861
9862 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9863 Mark unused argument.
9864 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9865 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9866
9867 * emacs-lisp/timer.el (timer--time): Define setter with
9868 gv-define-setter to avoid deprecation warning.
9869
9870 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9871 (*record-cmpl-statistics-p*): Remove (was commented out).
9872 (cmpl-statistics-block): Remove (body was commented out).
9873 All callers changed.
9874 (add-completions-from-buffer, load-completions-from-file):
9875 Remove unused variables.
9876
9877 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9878
9879 * filecache.el (file-cache-delete-file-list):
9880 Print message only when told so.
9881 (file-cache-files-matching): Use #' in mapconcat argument.
9882
9883 * ffap.el (ffap-url-at-point): Fix reference to variable
9884 thing-at-point-default-mail-uri-scheme.
9885
9886 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9887
9888 * subr.el (define-error): New function.
9889 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9890 error-file-not-found and define with define-error.
9891 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9892 and define with define-error.
9893 * userlock.el (file-locked, file-supersession):
9894 * simple.el (mark-inactive):
9895 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9896 * progmodes/ada-mode.el (ada-mode-errors):
9897 * play/life.el (life-extinct):
9898 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9899 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9900 * nxml/rng-util.el (rng-error):
9901 * nxml/rng-uri.el (rng-uri-error):
9902 * nxml/rng-match.el (rng-compile-error):
9903 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9904 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9905 * nxml/nxml-rap.el (nxml-scan-error):
9906 * nxml/nxml-outln.el (nxml-outline-error):
9907 * net/soap-client.el (soap-error):
9908 * net/gnutls.el (gnutls-error):
9909 * net/ange-ftp.el (ftp-error):
9910 * mpc.el (mpc-proc-error):
9911 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9912 (json-number-format, json-string-escape, json-string-format)
9913 (json-key-format, json-object-format):
9914 * jka-compr.el (compression-error):
9915 * international/quail.el (quail-error):
9916 * international/kkc.el (kkc-error):
9917 * emacs-lisp/ert.el (ert-test-failed):
9918 * calc/calc.el (calc-error, inexact-result, math-overflow)
9919 (math-underflow):
9920 * bookmark.el (bookmark-error-no-filename):
9921 * epg.el (epg-error): Define with define-error.
9922
9923 * time.el (display-time-event-handler)
9924 (display-time-next-load-average): Don't call sit-for since it seems
9925 unnecessary (bug#15045).
9926
9927 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9928 Use #' instead of ' to quote functions.
9929 (checkdoc-output-mode): Use setq-local.
9930 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9931 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9932 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9933 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9934 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9935 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9936 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9937 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9938
9939 * ido.el (ido-completion-help): Fix up compiler warning.
9940
9941 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9942
9943 * frameset.el (frameset-p): Add autoload cookie.
9944 (frameset--jump-to-register): New function, based on code moved from
9945 register.el.
9946 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9947
9948 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9949 (frameset-restore, frameset-save, frameset-session-filter-alist):
9950 Remove declarations.
9951 (register-alist): Doc fix.
9952 (frameset-to-register): Move to frameset.el.
9953 (jump-to-register, describe-register-1): Remove frameset-specific code.
9954
9955 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9956
9957 * allout-widgets.el (allout-widgets-pre-command-business)
9958 (allout-widgets-post-command-business)
9959 (allout-widgets-after-change-handler)
9960 (allout-decorate-item-and-context, allout-set-boundary-marker)
9961 (allout-body-modification-handler)
9962 (allout-graphics-modification-handler): Mark ignored arguments.
9963 (allout-widgets-post-command-business)
9964 (allout-widgets-exposure-change-processor)
9965 (allout-widgets-exposure-undo-processor)
9966 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9967 (allout-parse-item-at-point, allout-decorate-item-guides)
9968 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9969 * allout.el (epa-passphrase-callback-function): Declare.
9970 (allout-overlay-insert-in-front-handler)
9971 (allout-overlay-interior-modification-handler)
9972 (allout-isearch-end-handler, allout-chart-siblings)
9973 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9974 (allout-yank-processing, allout-process-exposed)
9975 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9976 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9977 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9978 (lisp-indent-defform): Mark ignored arguments.
9979 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9980 (calculate-lisp-indent): Remove unused variables.
9981 * international/characters.el (indian-2-column, arabic-2-column)
9982 (tibetan): Mark ignored arguments.
9983 (use-cjk-char-width-table): Mark ignored arguments.
9984 Remove unused variables.
9985 * international/fontset.el (build-default-fontset-data)
9986 (x-compose-font-name, create-fontset-from-fontset-spec):
9987 Mark ignored arguments.
9988 (fontset-plain-name): Remove unused variables.
9989 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9990 (keyboard-coding-system): Mark ignored arguments.
9991 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9992 * help.el (resize-temp-buffer-window):
9993 * window.el (display-buffer-in-major-side-window)
9994 (display-buffer-in-side-window, display-buffer-in-previous-window):
9995 Remove unused variables.
9996 * isearch.el (isearch-forward-symbol):
9997 * version.el (emacs-bzr-version-bzr):
9998 * international/mule-cmds.el (current-language-environment):
9999 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10000 (x-handle-display):
10001 * term/pc-win.el (x-list-fonts, x-display-planes)
10002 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10003 (x-server-version, x-display-screens, x-display-mm-height)
10004 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10005 (x-selection-owner-p, x-own-selection-internal)
10006 (x-disown-selection-internal, x-get-selection-internal)
10007 (msdos-initialize-window-system):
10008 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10009 * term/x-win.el (x-handle-no-bitmap-icon):
10010 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10011 (vc-default-find-file-hook, vc-default-extra-menu):
10012 Mark ignored arguments.
10013
10014 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10015
10016 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10017 break-condition in the context of the debugged code (bug#12685).
10018
10019 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10020
10021 * comint.el:
10022 Do not use an overlay to highlight the last prompt. (Bug#14744)
10023 (comint-mode): Make comint-last-prompt buffer local.
10024 (comint-last-prompt): New variable.
10025 (comint-last-prompt-overlay): Remove. Superseded by
10026 comint-last-prompt.
10027 (comint-snapshot-last-prompt, comint-output-filter):
10028 Use comint-last-prompt.
10029
10030 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10031
10032 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10033 (frameset-save): Check validity of the resulting frameset.
10034
10035 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10036
10037 * ido.el (ido-record-command): Add doc string.
10038
10039 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10040
10041 * frameset.el (frameset): Do not disable creation of the default
10042 frameset-p predicate. Doc fix.
10043 (frameset-valid-p): New function, copied from the old predicate-p.
10044 Add additional checks.
10045 (frameset-restore): Check with frameset-valid-p.
10046 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10047 (frameset-name, frameset-description, frameset-properties)
10048 (frameset-states): Add docstring.
10049 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10050 (frameset-filter-alist): Doc fixes.
10051
10052 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10053
10054 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10055
10056 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10057
10058 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10059 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10060 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10061 (byte-compile-normal-call): Remove obsolescence check.
10062
10063 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10064
10065 * frameset.el (frameset-restore): Doc fix.
10066
10067 * register.el (frameset-frame-id, frameset-frame-with-id)
10068 (frameset-p, frameset-restore, frameset-save): Declare.
10069 (register-alist): Document framesets.
10070 (frameset-session-filter-alist): Declare.
10071 (frameset-to-register): New function.
10072 (jump-to-register): Implement jumping to framesets. Doc fix.
10073 (describe-register-1): Describe framesets.
10074
10075 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10076
10077 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10078
10079 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10080 Use lexical-binding.
10081
10082 * frameset.el (frameset): Use type vector, not list (incompatible
10083 change). Do not declare a new constructor, use the default one.
10084 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10085 `name' and `description', respectively, and add read-only slot
10086 `timestamp'. Doc fixes.
10087 (frameset-copy, frameset-persistent-filter-alist)
10088 (frameset-filter-alist, frameset-switch-to-gui-p)
10089 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10090 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10091 (frameset-filter-iconified, frameset-keep-original-display-p):
10092 Doc fixes.
10093 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10094 Rename from frameset-filter-(save|restore)-param. All callers changed.
10095 Doc fix.
10096 (frameset-p): Adapt to change to vector and be more thorough.
10097 Change arg name to OBJECT. Doc fix.
10098 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10099 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10100 All callers changed.
10101 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10102 All callers changed.
10103 (frameset--record-minibuffer-relationships): Rename from
10104 frameset--process-minibuffer-frames. All callers changed.
10105 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10106 Use new default constructor (again). Doc fix.
10107 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10108 All callers changed.
10109 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10110 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10111 Doc fix.
10112 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10113 PARAMETERS and WINDOW-STATE, respectively.
10114 (frameset-restore): Add new keyword argument PREDICATE.
10115 Reset frameset--target-display to nil. Doc fix.
10116
10117 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10118
10119 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10120 (bat-mode): Use it.
10121 (bat-mode-syntax-table): Mark \n as end-of-comment.
10122 (bat-font-lock-keywords): Remove comment rule.
10123
10124 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10125 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10126
10127 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10128 (byte-compile-callargs-warn): Use `push'.
10129 (byte-compile-arglist-warn): Ignore higher-order "calls".
10130 (byte-compile-file-form-autoload): Use `pcase'.
10131 (byte-compile-function-form): If quoting a symbol, check that it exists.
10132
10133 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10134
10135 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10136 and add a few popular commands found in batch files.
10137 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10138 (dos-mode): Doc fixes.
10139
10140 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10141
10142 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10143 (dos-mode): Use setq-local. Add space after "rem".
10144 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10145 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10146
10147 2013-08-07 Arni Magnusson <arnima@hafro.is>
10148
10149 * progmodes/dos.el: New file.
10150 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10151 dos-mode.
10152
10153 2013-08-06 Glenn Morris <rgm@gnu.org>
10154
10155 * calendar/calendar.el: Add new faces, and day-header-array.
10156 (calendar-weekday-header, calendar-weekend-header)
10157 (calendar-month-header): New faces.
10158 (calendar-day-header-construct): New function.
10159 (calendar-day-header-width): Also :set calendar-day-header-array.
10160 (calendar-american-month-header, calendar-european-month-header)
10161 (calendar-iso-month-header): Use calendar- faces.
10162 (calendar-generate-month):
10163 Use calendar-day-header-array for day headers; apply faces to them.
10164 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10165 (calendar-abbrev-construct): Add optional maxlen argument.
10166 (calendar-day-name-array): Doc fix.
10167 (calendar-day-name-array, calendar-abbrev-length)
10168 (calendar-day-abbrev-array):
10169 Also :set calendar-day-header-array, and maybe redraw.
10170 (calendar-day-header-array): New option. (Bug#15007)
10171 (calendar-font-lock-keywords): Set to nil and make obsolete.
10172 (calendar-day-name): Add option to use header array.
10173
10174 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10175
10176 * net/shr.el (shr-render-td): Remove debugging.
10177 (shr-render-td): Make width computation consistent by defaulting
10178 all zero-width columns to 10 characters. This may not be optimal,
10179 but it's at least consistent.
10180 (shr-make-table-1): Redo last change to fix the real problem in
10181 colspan handling.
10182
10183 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10184
10185 * files.el (cache-long-line-scans):
10186 Make obsolete alias to `cache-long-scans'.
10187
10188 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10189
10190 * frameset.el (frameset, frameset-filter-alist)
10191 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10192 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10193 (frameset-compute-pos): Rename from frameset--compute-pos,
10194 and add docstring.
10195 (frameset-move-onscreen): Use frameset-compute-pos.
10196 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10197
10198 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10199 Fix typos in docstrings.
10200
10201 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10202
10203 * frame.el (get-other-frame): Tiny cleanup.
10204
10205 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10206
10207 * vc/vc.el (vc-default-ignore-completion-table):
10208 Silence byte-compiler warning.
10209
10210 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10211 slot, which can indeed be nil.
10212 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10213 Move entry for `left' from persistent to live filter alist.
10214 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10215 Doc fixes.
10216 (frameset-filter-params): When restoring a frame, copy items added to
10217 `filtered', to avoid unwittingly modifying the original parameters.
10218 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10219 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10220
10221 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10222 to use looking-at-p instead of looking-at. (Bug#15028)
10223
10224 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10225
10226 Revert introduction of isearch-filter-predicates (bug#14714).
10227 Rely on add-function instead.
10228 * isearch.el (isearch-filter-predicates): Rename it back to
10229 isearch-filter-predicate.
10230 (isearch-message-prefix): Use advice-function-mapc and advice
10231 properties to get the isearch-message-prefix.
10232 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10233 instead of run-hook-with-args-until-failure.
10234 (isearch-filter-visible): Not obsolete any more.
10235 * loadup.el: Preload nadvice.
10236 * replace.el (perform-replace): Revert to funcall
10237 instead of run-hook-with-args-until-failure.
10238 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10239 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10240 dired-isearch-filenames-toggle; make it into a proper minor mode.
10241 Use add/remove-function.
10242 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10243 Call the minor-mode rather than add/remove-hook.
10244 (dired-isearch-filter-filenames):
10245 Remove isearch-message-prefix property.
10246 * info.el (Info--search-loop): New function, extracted from Info-search.
10247 Funcall isearch-filter-predicate instead of
10248 run-hook-with-args-until-failure isearch-filter-predicates.
10249 (Info-search): Use it.
10250 (Info-mode): Use isearch-filter-predicate instead of
10251 isearch-filter-predicates.
10252
10253 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10254
10255 Do not call to `selected-window' where it is assumed by default.
10256 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10257 `window-hscroll', `window-width', `window-height', `window-buffer',
10258 `window-frame', `window-start', `window-point', `next-window'
10259 and `window-display-table'.
10260 * abbrev.el (abbrev--default-expand):
10261 * bs.el (bs--show-with-configuration):
10262 * buff-menu.el (Buffer-menu-mouse-select):
10263 * calc/calc.el (calc):
10264 * calendar/calendar.el (calendar-generate-window):
10265 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10266 (diary-make-entry):
10267 * comint.el (send-invisible, comint-dynamic-complete-filename)
10268 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10269 * completion.el (complete):
10270 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10271 * disp-table.el (describe-current-display-table):
10272 * doc-view.el (doc-view-insert-image):
10273 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10274 * ehelp.el (with-electric-help):
10275 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10276 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10277 * emacs-lisp/helper.el (Helper-help-scroller):
10278 * emulation/cua-base.el (cua--post-command-handler-1):
10279 * eshell/esh-mode.el (eshell-output-filter):
10280 * ffap.el (ffap-gnus-wrapper):
10281 * help-macro.el (make-help-screen):
10282 * hilit-chg.el (highlight-compare-buffers):
10283 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10284 * hl-line.el (global-hl-line-highlight):
10285 * icomplete.el (icomplete-simple-completing-p):
10286 * isearch.el (isearch-done):
10287 * jit-lock.el (jit-lock-stealth-fontify):
10288 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10289 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10290 * mpc.el (mpc-tagbrowser, mpc):
10291 * net/rcirc.el (rcirc-any-buffer):
10292 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10293 * play/landmark.el (landmark-max-width, landmark-max-height):
10294 * play/zone.el (zone):
10295 * progmodes/compile.el (compilation-goto-locus):
10296 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10297 * progmodes/etags.el (find-tag-other-window):
10298 * progmodes/fortran.el (fortran-column-ruler):
10299 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10300 * progmodes/verilog-mode.el (verilog-point-text):
10301 * reposition.el (reposition-window):
10302 * rot13.el (toggle-rot13-mode):
10303 * server.el (server-switch-buffer):
10304 * shell.el (shell-dynamic-complete-command)
10305 (shell-dynamic-complete-environment-variable):
10306 * simple.el (insert-buffer, set-selective-display)
10307 (delete-completion-window):
10308 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10309 (speedbar-recenter):
10310 * startup.el (fancy-splash-head):
10311 * textmodes/ispell.el (ispell-command-loop):
10312 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10313 * tutorial.el (help-with-tutorial):
10314 * vc/add-log.el (add-change-log-entry):
10315 * vc/compare-w.el (compare-windows):
10316 * vc/ediff-help.el (ediff-indent-help-message):
10317 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10318 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10319 (ediff-setup-control-frame):
10320 * vc/emerge.el (emerge-position-region):
10321 * vc/pcvs-util.el (cvs-bury-buffer):
10322 * window.el (walk-windows, mouse-autoselect-window-select):
10323 * winner.el (winner-set-conf, winner-undo): Related users changed.
10324
10325 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10326
10327 * frameset.el (frameset--set-id): Doc fix.
10328 (frameset-frame-id, frameset-frame-id-equal-p)
10329 (frameset-locate-frame-id): New functions.
10330 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10331 (frameset-restore): Use them.
10332
10333 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10334
10335 Do not call to `selected-frame' where it is assumed by default.
10336 Affected functions are `raise-frame', `redraw-frame',
10337 `frame-first-window', `frame-terminal' and `delete-frame'.
10338 * calendar/appt.el (appt-disp-window):
10339 * epg.el (epg-wait-for-completion):
10340 * follow.el (follow-delete-other-windows-and-split)
10341 (follow-avoid-tail-recenter):
10342 * international/mule.el (set-terminal-coding-system):
10343 * mail/rmail.el (rmail-mail-return):
10344 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10345 * progmodes/f90.el (f90-add-imenu-menu):
10346 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10347 * server.el (server-switch-buffer):
10348 * simple.el (delete-completion-window):
10349 * talk.el (talk):
10350 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10351 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10352 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10353 * vc/ediff.el (ediff-documentation): Related users changed.
10354 * frame.el (selected-terminal): Remove the leftover.
10355
10356 2013-08-05 Glenn Morris <rgm@gnu.org>
10357
10358 * calendar/calendar.el (calendar-generate-month):
10359 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10360 (calendar-generate-month, calendar-font-lock-keywords):
10361 Fix for calendar-day-header-width > length of any day name.
10362
10363 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10364
10365 * desktop.el (desktop-clear): Use new name of sort predicate.
10366
10367 * frameset.el (frameset): Add docstring. Move :version property to its
10368 own `version' slot.
10369 (frameset-copy): Rename from copy-frameset.
10370 (frameset-p): Check more thoroughly.
10371 (frameset-prop): Do not check for :version, which is no longer a prop.
10372 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10373 Use new :never value instead of t.
10374 (frameset-filter-alist): Expand and clarify docstring.
10375 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10376 (frameset-filter-minibuffer, frameset-filter-save-param)
10377 (frameset-filter-restore-param, frameset-filter-iconified):
10378 Add pointer to docstring of frameset-filter-alist.
10379 (frameset-filter-params): Rename filter values to be more meaningful:
10380 :never instead of t, and reverse the meanings of :save and :restore.
10381 (frameset--process-minibuffer-frames): Clarify error message.
10382 (frameset-save): Avoid unnecessary and confusing call to framep.
10383 Use new BOA constructor for framesets.
10384 (frameset--reuse-list): Doc fix.
10385 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10386 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10387 (frameset-minibufferless-first-p): Doc fix.
10388 Rename from frameset-sort-frames-for-deletion.
10389 (frameset-restore): Doc fixes. Use new function names.
10390 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10391
10392 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10393
10394 * desktop.el (desktop-restore-forces-onscreen)
10395 (desktop-restore-reuses-frames): Document :keyword constant values.
10396 (desktop-filter-parameters-alist): Remove, now identical to
10397 frameset-filter-alist.
10398 (desktop--filter-tty*): Remove, moved to frameset.el.
10399 (desktop-save-frameset, desktop-restore-frameset):
10400 Do not pass :filters argument.
10401
10402 * frameset.el (frameset-live-filter-alist)
10403 (frameset-persistent-filter-alist): New variables.
10404 (frameset-filter-alist): Use them. Add autoload cookie.
10405 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10406 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10407 `frameset--id' (it's supposed to be internal to frameset.el).
10408 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10409 (frameset--initial-params): New function.
10410 (frameset--get-frame): Use it. Doc fix.
10411 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10412 Accept :all, not 'all.
10413 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10414 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10415 with fbound symbols. Fix frame id matching, and remove matching ids if
10416 the frame being restored is deleted. Obey :delete.
10417
10418 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10419
10420 * subr.el (macrop): New function.
10421 (text-clone--maintaining): New var.
10422 (text-clone--maintain): Rename from text-clone-maintain. Use it
10423 instead of inhibit-modification-hooks.
10424
10425 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10426 a proxy, so as handle autoloads and redefinitions of the target.
10427 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10428
10429 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10430 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10431 (pcase--mutually-exclusive-p): New function.
10432 (pcase--split-consp): Use it.
10433 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10434 mutually exclusive with the current predicate.
10435
10436 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10437 (edebug-macrop): Remove. Use `macrop' instead.
10438 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10439 (ad-macro-p):
10440 * eshell/esh-cmd.el (eshell-macrop):
10441 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10442
10443 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10444
10445 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10446 (advice-mapc): New function, using it.
10447 (advice-function-member-p): New function.
10448 (advice--normalize): Store the cdr in advice--saved-rewrite since
10449 that's the part that will be changed.
10450 (advice--symbol-function): New function.
10451 (advice-remove): Handle removal before the function is defined.
10452 Adjust to new advice--saved-rewrite.
10453 (advice-member-p): Use advice-function-member-p and
10454 advice--symbol-function.
10455
10456 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10457
10458 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10459 (frameset-filter-minibuffer): Doc fix.
10460 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10461 (frameset--set-id, frameset--process-minibuffer-frames)
10462 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10463 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10464
10465 * desktop.el (desktop-clear): Only delete frames when called
10466 interactively and desktop-restore-frames is non-nil. Doc fix.
10467 (desktop-read): Set desktop-saved-frameset to nil.
10468
10469 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10470
10471 * vc/vc.el (vc-ignore): Rewrite.
10472 (vc-default-ignore-completion-table, vc--read-lines)
10473 (vc--add-line, vc--remove-regexp): New functions.
10474
10475 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10476 (vc-svn-ignore-completion-table): New function.
10477
10478 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10479 (vc-hg-ignore-completion-table)
10480 (vc-hg-find-ignore-file): New functions.
10481
10482 * vc/vc-git.el (vc-git-ignore): Rewrite.
10483 (vc-git-ignore-completion-table)
10484 (vc-git-find-ignore-file): New functions.
10485
10486 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10487
10488 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10489 (vc-bzr-ignore-completion-table)
10490 (vc-bzr-find-ignore-file): New functions.
10491
10492 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10493
10494 * frameset.el (frameset-prop): New function and setter.
10495 (frameset-save): Do not modify frame list passed by the caller.
10496
10497 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10498
10499 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10500
10501 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10502
10503 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10504 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10505
10506 * custom.el (custom-initialize-default, custom-initialize-set)
10507 (custom-initialize-reset, custom-initialize-changed): Affect the
10508 toplevel-default-value (bug#6275, bug#14586).
10509 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10510 for bug#6275.
10511
10512 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10513
10514 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10515 Add cl-def* expressions.
10516
10517 * frameset.el (frameset-filter-params): Fix order of arguments.
10518
10519 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10520
10521 Move code related to saving frames to frameset.el.
10522 * desktop.el: Require frameset.
10523 (desktop-restore-frames): Doc fix.
10524 (desktop-restore-reuses-frames): Rename from
10525 desktop-restoring-reuses-frames.
10526 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10527 (desktop-clear): Clear frames too.
10528 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10529 (desktop--filter-tty*, desktop-save, desktop-read):
10530 Use frameset functions.
10531 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10532 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10533 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10534 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10535 (desktop--process-minibuffer-frames, desktop-save-frames)
10536 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10537 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10538 (desktop--sort-states, desktop-restoring-frames-p)
10539 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10540 (desktop-restoring-frameset-p, desktop-restore-frameset)
10541 (desktop--check-dont-save, desktop-save-frameset): New functions.
10542 (desktop--app-id): New constant.
10543 (desktop-first-buffer, desktop-buffer-ok-count)
10544 (desktop-buffer-fail-count): Move before first use.
10545 * frameset.el: New file.
10546
10547 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10548
10549 * files.el: Use lexical-binding.
10550 (dir-locals-read-from-file): Remove unused `err' variable.
10551 (hack-dir-local-variables--warned-coding): New var.
10552 (hack-dir-local-variables): Use it to avoid repeated warnings.
10553 (make-backup-file-name--default-function): New function.
10554 (make-backup-file-name-function): Use it as default.
10555 (buffer-stale--default-function): New function.
10556 (buffer-stale-function): Use it as default.
10557 (revert-buffer-insert-file-contents--default-function): New function.
10558 (revert-buffer-insert-file-contents-function): Use it as default.
10559 (insert-directory): Avoid add-to-list.
10560
10561 * autorevert.el (auto-revert-handler): Simplify.
10562 Use buffer-stale--default-function.
10563
10564 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10565
10566 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10567
10568 * whitespace.el (whitespace-ensure-local-variables): New function.
10569 (whitespace-cleanup-region): Call it.
10570 (whitespace-turn-on): Call it.
10571
10572 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10573
10574 Complete file name handlers.
10575
10576 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10577 (tramp-handle-verify-visited-file-modtime)
10578 (tramp-handle-file-notify-rm-watch): New functions.
10579 (tramp-call-process): Do not bind `default-directory'.
10580
10581 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10582 Order alphabetically.
10583 <access-file, add-name-to-file, dired-call-process>:
10584 <dired-compress-file, file-acl, file-notify-rm-watch>:
10585 <file-ownership-preserved-p, file-selinux-context>:
10586 <make-directory-internal, make-symbolic-link, set-file-acl>:
10587 <set-file-selinux-context, set-visited-file-modtime>:
10588 <verify-visited-file-modtime>: Add handler.
10589 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10590
10591 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10592 <file-notify-add-watch, file-notify-rm-watch>:
10593 <set-file-times, set-visited-file-modtime>:
10594 <verify-visited-file-modtime>: Add handler.
10595 (with-tramp-gvfs-error-message)
10596 (tramp-gvfs-handle-set-visited-file-modtime)
10597 (tramp-gvfs-fuse-file-name): Remove.
10598 (tramp-gvfs-handle-file-notify-add-watch)
10599 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10600 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10601
10602 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10603 Order alphabetically.
10604 <file-notify-rm-watch>: Use default Tramp handler.
10605 <executable-find>: Remove private handler.
10606 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10607 `default-directory'.
10608 (tramp-sh-handle-executable-find)
10609 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10610 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10611 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10612 Do not use `format' in `tramp-message'.
10613
10614 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10615 <file-notify-rm-watch, set-visited-file-modtime>:
10616 <verify-visited-file-modtime>: Add handler.
10617 (tramp-smb-call-winexe): Do not bind `default-directory'.
10618
10619 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10620
10621 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10622
10623 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10624
10625 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10626 use it.
10627 (log-view-diff-changeset): Same.
10628 (log-view-diff-common): Call backend command `previous-revision'
10629 to find out the previous revision, in both cases. Swap the
10630 variables `to' and `fr', so that `fr' usually refers to the
10631 earlier revision (Bug#14989).
10632
10633 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10634
10635 * ibuf-ext.el (ibuffer-filter-by-filename):
10636 Make it work with dired buffers too.
10637
10638 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10639
10640 * emacs-lisp/re-builder.el (reb-color-display-p):
10641 * files.el (save-buffers-kill-terminal):
10642 * net/browse-url.el (browse-url):
10643 * server.el (server-save-buffers-kill-terminal):
10644 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10645 Prefer nil to selected-frame for the first arg of frame-parameter.
10646
10647 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10648
10649 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10650
10651 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10652
10653 * minibuffer.el (completion--twq-all): Try and preserve each
10654 completion's case choice (bug#14907).
10655
10656 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10657
10658 * net/network-stream.el (open-network-stream): Mention the new
10659 :nogreeting parameter.
10660 (network-stream-open-starttls): Use the :nogreeting parameter
10661 (bug#14938).
10662
10663 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10664
10665 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10666 more natural than popping.
10667
10668 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10669 (shr-urlify): Highlight under mouse.
10670
10671 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10672
10673 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10674
10675 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10676
10677 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10678 buffer for output.
10679
10680 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10681 point-min==1. Fix search string. Fix parentheses missing.
10682
10683 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10684 assume point-min==1. Fix search string. Fix parentheses missing.
10685
10686 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10687
10688 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10689 buffer for output.
10690
10691 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10692
10693 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10694 initial frame is minibuffer-less. (Bug#14841)
10695
10696 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10697
10698 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10699 option.
10700
10701 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10702 (tramp-maybe-open-connection): Use it.
10703
10704 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10705
10706 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10707 minimal set of parameters passed when creating a frame, because
10708 the minibuffer status of a frame cannot be changed later.
10709
10710 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10711
10712 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10713 replace-regexp-in-string and inadvertent omissions in previous change.
10714 (todo-filter-items): Ensure only file names are comma-separated in
10715 name of filtered items buffer.
10716
10717 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10718
10719 * desktop.el: Optionally force offscreen frames back onscreen.
10720 (desktop-restoring-reuses-frames): New option.
10721 (desktop--compute-pos, desktop--move-onscreen): New functions.
10722 (desktop--make-frame): Use desktop--move-onscreen.
10723
10724 2013-07-27 Alan Mackenzie <acm@muc.de>
10725
10726 Fontify a Java generic method as a function.
10727 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10728 value to t.
10729
10730 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10731
10732 * calendar/todo-mode.el: Add command to rename todo files.
10733 (todo-rename-file): New command.
10734 (todo-key-bindings-t): Add key binding for it. Change the
10735 bindings of todo-filter-regexp-items(-multifile) to use `x'
10736 instead of `r', since the latter is better suited to the new
10737 renaming command.
10738
10739 2013-07-27 Alan Mackenzie <acm@muc.de>
10740
10741 Make Java try-with-resources statement parse properly.
10742 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10743 (c-block-stmt-1-2-key): New language constants/variables.
10744 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10745 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10746 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10747 with c-block-stmt-1-2-key.
10748
10749 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10750
10751 * desktop.el (desktop--make-frame): Apply most frame parameters after
10752 creating the frame to force (partially or totally) offscreen frames to
10753 be restored as such.
10754
10755 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10756
10757 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10758 (Bug#14948)
10759
10760 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10761
10762 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10763 `base' arg of backtrace-frame.
10764
10765 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10766
10767 * simple.el (list-processes): Doc fix.
10768
10769 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10770
10771 * desktop.el (desktop--select-frame):
10772 Try harder to reuse existing frames.
10773
10774 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10775
10776 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10777 (edebug-eval): Use backtrace-eval.
10778 (edebug--display, edebug--recursive-edit): Don't let-bind the
10779 edebug-outer-* vars that keep track of variables we locally let-bind.
10780 (edebug-outside-excursion): Don't restore outside values of locally
10781 let-bound vars.
10782 (edebug--display): Use user-error.
10783 (cl-lexical-debug, cl-debug-env): Remove.
10784
10785 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10786
10787 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10788 are restored to be sure that they are visible before deleting any
10789 remaining ones.
10790
10791 2013-07-26 Matthias Meulien <orontee@gmail.com>
10792
10793 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10794 vc-print-root-log. (Bug#14948)
10795
10796 2013-07-26 Richard Stallman <rms@gnu.org>
10797
10798 Add aliases for encrypting mail.
10799 * epa.el (epa-mail-aliases): New option.
10800 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10801 Bind inhibit-read-only so read-only text doesn't ruin everything.
10802 (epa-mail-default-recipients): New subroutine broken out.
10803 Handle epa-mail-aliases.
10804
10805 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10806
10807 Add support for lexical variables to the debugger's `e' command.
10808 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10809 vars, except for debugger-outer-match-data.
10810 (debugger-frame-number): Move check for "on a function call" from
10811 callers into it. Add `skip-base' argument.
10812 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10813 (debugger-env-macro): Only reset the state stored in non-variables,
10814 i.e. current-buffer and match-data.
10815 (debugger-eval-expression): Rewrite using backtrace-eval.
10816 * subr.el (internal--called-interactively-p--get-frame): Remove.
10817 (called-interactively-p):
10818 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10819 `base' arg of backtrace-frame instead.
10820
10821 2013-07-26 Glenn Morris <rgm@gnu.org>
10822
10823 * align.el (align-regexp): Doc fix. (Bug#14857)
10824 (align-region): Explicit error if subexpression missing/does not match.
10825
10826 * simple.el (global-visual-line-mode):
10827 Do not duplicate the mode lighter. (Bug#14858)
10828
10829 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10830
10831 * window.el (display-buffer): In display-buffer bind
10832 split-window-keep-point to t, bug#14829.
10833
10834 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10835
10836 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10837 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10838 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10839 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10840 Change accordingly.
10841 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10842 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10843
10844 2013-07-25 Glenn Morris <rgm@gnu.org>
10845
10846 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10847
10848 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10849
10850 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10851 parameter to modify-frame-parameters if the value has not changed;
10852 this is a workaround for bug#14949.
10853 (desktop--make-frame): On cl-delete-if call, check parameter name,
10854 not full parameter.
10855
10856 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10857
10858 * vc/vc.el (vc-ignore): New function.
10859
10860 * vc/vc-svn.el (vc-svn-ignore): New function.
10861
10862 * vc/vc-hg.el (vc-hg-ignore): New function.
10863
10864 * vc/vc-git.el (vc-git-ignore): New function.
10865
10866 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10867 (vc-dir-ignore): New function.
10868
10869 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10870 (cvs-append-to-ignore): Move here from pcvs.el.
10871
10872 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10873
10874 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10875
10876 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10877
10878 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10879 (desktop-restore-frames): Warn when deleting an existing frame failed.
10880
10881 2013-07-24 Glenn Morris <rgm@gnu.org>
10882
10883 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10884
10885 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10886
10887 * filenotify.el (file-notify-supported-p):
10888 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10889 Remove functions.
10890
10891 * autorevert.el (auto-revert-use-notify)
10892 (auto-revert-notify-add-watch):
10893 * net/tramp.el (tramp-file-name-for-operation):
10894 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10895 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10896 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10897 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10898 Remove `file-notify-supported-p' entry.
10899
10900 2013-07-24 Glenn Morris <rgm@gnu.org>
10901
10902 * printing.el: Replace all uses of deleted ps-windows-system,
10903 ps-lp-system, ps-flatten-list with lpr- versions.
10904
10905 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10906
10907 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10908 checked with memq (bug#14935).
10909
10910 * files.el (revert-buffer-function): Use a non-nil default.
10911 (revert-buffer-preserve-modes): Declare var to
10912 provide access to the `preserve-modes' argument.
10913 (revert-buffer): Let-bind it.
10914 (revert-buffer--default): New function, extracted from revert-buffer.
10915
10916 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10917
10918 * lpr.el: Signal print errors more prominently.
10919 (print-region-function): Don't default to nil.
10920 (lpr-print-region): New function, extracted from print-region-1.
10921 Check lpr's return value and signal an error in case of problem.
10922 (print-region-1): Use it.
10923 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10924 versions instead.
10925 (ps-printer-name): Default to nil.
10926 (ps-printer-name-option): Default to lpr-printer-switch.
10927 (ps-print-region-function): Don't default to nil.
10928 (ps-postscript-code-directory): Simplify default.
10929 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10930 (ps-string-list, ps-eval-switch, ps-flatten-list)
10931 (ps-flatten-list-1): Remove.
10932 (ps-multibyte-buffer): Avoid setq.
10933 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10934 (print-region-function, ps-print-region-function): Don't set them here.
10935
10936 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10937
10938 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10939 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10940 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10941 (ido-decorations): Doc fix.
10942
10943 * ansi-color.el: Fix old URL.
10944
10945 2013-07-23 Michael R. Mauger <michael@mauger.com>
10946
10947 * progmodes/sql.el: Version 3.3
10948 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10949 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10950 (sql-interactive-remove-continuation-prompt): Rewrite, use
10951 functions above. Fix continuation prompt and complete output line
10952 handling.
10953 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10954 redirected output buffer.
10955 (sql-mode): Restore deleted code (Bug#13591).
10956
10957 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10958
10959 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10960
10961 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10962
10963 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10964
10965 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10966 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10967 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10968
10969 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10970
10971 * desktop.el (desktop-clear): Simplify; remove useless checks
10972 against invalid buffer names.
10973 (desktop-list*): Use cl-list*.
10974 (desktop-buffer-info, desktop-create-buffer): Simplify.
10975
10976 2013-07-23 Leo Liu <sdl.web@gmail.com>
10977
10978 * bookmark.el (bookmark-make-record): Restore NAME as a default
10979 value. (Bug#14933)
10980
10981 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10982
10983 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10984 extracted from autoload--insert-text.
10985 (autoload--insert-text): Remove.
10986 (autoload--print-cookie-text): New function, extracted from
10987 autoload--insert-cookie-text.
10988 (autoload--insert-cookie-text): Remove.
10989 (autoload-generate-file-autoloads): Adjust calls accordingly.
10990
10991 * winner.el (winner-hook-installed-p): Remove.
10992 (winner-mode): Simplify accordingly.
10993
10994 * subr.el (add-to-list): Fix compiler-macro when `append' is
10995 not constant. Don't use `cl-member' for the base case.
10996
10997 * progmodes/subword.el: Fix boundary case (bug#13758).
10998 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10999 own group.
11000 (subword-backward-regexp): Make it a constant.
11001 (subword-forward-internal): Don't treat a trailing capital as the
11002 beginning of a word.
11003
11004 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11005
11006 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11007 global value of tabulated-list-revert-hook (bug#14930).
11008
11009 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11010
11011 * desktop.el: Require 'cl-lib.
11012 (desktop-before-saving-frames-functions): New hook.
11013 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11014 for frames being saved. Rename from desktop--save-minibuffer-frames.
11015 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11016 Do not save frames with non-nil `desktop-dont-save' parameter.
11017 Filter out deleted frames.
11018 (desktop--find-frame): Use cl-find-if.
11019 (desktop--select-frame): Use cl-(first|second|third) to access values
11020 of desktop-mini.
11021 (desktop--make-frame): Use cl-delete-if.
11022 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11023 (desktop-restore-frames): Use cl-(first|second|third) to access values
11024 of desktop-mini. Look for visible frame at the end, not while
11025 restoring frames.
11026
11027 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11028 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11029 Use string-match-p, looking-at-p (bug#14927).
11030
11031 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11032
11033 * desktop.el (desktop-saved-frame-states):
11034 Rename from desktop--saved-states; all users changed.
11035 (desktop-save-frames): Rename from desktop--save-frames.
11036 Do not save state to desktop file.
11037 (desktop-save): Save desktop-saved-frame-states to desktop file
11038 and reset to nil.
11039 (desktop-restoring-frames-p): New function.
11040 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11041 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11042 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11043
11044 * desktop.el: Correctly restore iconified frames.
11045 (desktop--filter-iconified-position): New function.
11046 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11047
11048 2013-07-20 Glenn Morris <rgm@gnu.org>
11049
11050 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11051 Let `message' do the formatting.
11052 (def-gdb-preempt-display-buffer): Add explicit format.
11053
11054 * image-dired.el (image-dired-track-original-file):
11055 Use with-current-buffer.
11056 (image-dired-track-thumbnail): Use with-current-buffer.
11057 Avoid changing point of wrong window.
11058
11059 * image-dired.el (image-dired-track-original-file):
11060 Avoid changing point of wrong window. (Bug#14909)
11061
11062 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11063
11064 * progmodes/gdb-mi.el (gdb-done-or-error):
11065 Guard against "%" in gdb output. (Bug#14127)
11066
11067 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11068
11069 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11070 (Bug#14826)
11071
11072 * international/mule.el (coding-system-iso-2022-flags): Fix last
11073 change.
11074
11075 2013-07-20 Kenichi Handa <handa@gnu.org>
11076
11077 * international/mule.el (coding-system-iso-2022-flags):
11078 Add `8-bit-level-4'. (Bug#8522)
11079
11080 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11081
11082 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11083 (bug#14815).
11084
11085 * net/eww.el (eww-process-text-input): Allow inputting when the
11086 point is at the start of the line, as the properties aren't
11087 front-sticky.
11088
11089 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11090 degenerate widths.
11091
11092 2013-07-19 Richard Stallman <rms@gnu.org>
11093
11094 * epa.el (epa-popup-info-window): Doc fix.
11095
11096 * subr.el (split-string): New arg TRIM.
11097
11098 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11099
11100 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11101 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11102
11103 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11104
11105 * filenotify.el (file-notify--library): Rename from
11106 `file-notify-support'. Do not autoload. Adapt all uses.
11107 (file-notify-supported-p): New defun.
11108
11109 * autorevert.el (auto-revert-use-notify):
11110 Use `file-notify-supported-p' instead of `file-notify-support'.
11111 Adapt docstring.
11112 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11113
11114 * net/tramp.el (tramp-file-name-for-operation):
11115 Add `file-notify-supported-p'.
11116
11117 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11118 New defun.
11119 (tramp-sh-file-name-handler-alist): Add it as handler for
11120 `file-notify-supported-p '.
11121
11122 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11123 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11124 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11125 Add `ignore' as handler for `file-notify-*' functions.
11126
11127 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11128
11129 * simple.el (line-move-partial, line-move): Don't start vscroll or
11130 scroll-up if the current line is not taller than the window.
11131 (Bug#14881)
11132
11133 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11134
11135 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11136 highlight question marks in the method names as strings.
11137 (ruby-block-beg-keywords): Inline.
11138 (ruby-font-lock-keyword-beg-re): Extract from
11139 `ruby-font-lock-keywords'.
11140
11141 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11142
11143 * frame.el (blink-cursor-blinks): New defcustom.
11144 (blink-cursor-blinks-done): New defvar.
11145 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11146 (blink-cursor-timer-function): Check if number of blinks has been
11147 done on X and NS.
11148 (blink-cursor-suspend, blink-cursor-check): New defuns.
11149
11150 2013-07-15 Glenn Morris <rgm@gnu.org>
11151
11152 * edmacro.el (edmacro-format-keys): Fix previous change.
11153
11154 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11155
11156 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11157 The hack didn't work outside English locales anyway.
11158
11159 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11160
11161 * simple.el (define-alternatives): Rename from alternatives-define,
11162 per RMS' suggestion.
11163
11164 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11165
11166 * desktop.el (desktop-restore-frames): Change default to t.
11167 (desktop-restore-in-current-display): Now offer more options.
11168 (desktop-restoring-reuses-frames): New customization option.
11169 (desktop--saved-states): Doc fix.
11170 (desktop-filter-parameters-alist): New variable, renamed and expanded
11171 from desktop--excluded-frame-parameters.
11172 (desktop--target-display): New variable.
11173 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11174 (desktop--filter-tty*, desktop--filter-*-color)
11175 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11176 (desktop--filter-save-desktop-parm)
11177 (desktop-restore-in-original-display-p): New functions.
11178 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11179 (desktop--save-minibuffer-frames): New function, inspired by a similar
11180 function from Martin Rudalics.
11181 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11182 (desktop--restore-in-this-display-p): Remove.
11183 (desktop--find-frame): Rename from desktop--find-frame-in-display
11184 and add predicate argument.
11185 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11186 (desktop--reuse-list): New variable.
11187 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11188 New functions.
11189 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11190
11191 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11192
11193 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11194
11195 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11196
11197 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11198 Highlight conversion methods on Kernel.
11199
11200 2013-07-13 Alan Mackenzie <acm@muc.de>
11201
11202 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11203 and comment it out. This out-commenting enables certain C++
11204 declarations to be parsed correctly.
11205
11206 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11207
11208 * international/mule.el (define-coding-system): Doc fix.
11209
11210 * simple.el (default-font-height): Don't call font-info if the
11211 frame's default font didn't change since the frame was created.
11212 (Bug#14838)
11213
11214 2013-07-13 Leo Liu <sdl.web@gmail.com>
11215
11216 * ido.el (ido-read-file-name): Guard against non-symbol value.
11217
11218 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11219
11220 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11221 in nested defuns.
11222
11223 2013-07-13 Leo Liu <sdl.web@gmail.com>
11224
11225 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11226 ido-set-matches call. (Bug#6852)
11227
11228 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11229
11230 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11231 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11232 Ruby 2.0.
11233 (ruby-font-lock-keywords): Distinguish calls to functions with
11234 module-like names from module references. Highlight character
11235 literals.
11236
11237 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11238
11239 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11240 (gdb-send): Handle continued commands. (Bug#14847)
11241
11242 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11243
11244 * desktop.el (desktop--v2s): Remove unused local variable.
11245 (desktop-save-buffer): Make defvar-local; adjust docstring.
11246 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11247 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11248
11249 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11250
11251 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11252
11253 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11254
11255 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11256 (Bug#14842)
11257
11258 2013-07-12 Glenn Morris <rgm@gnu.org>
11259
11260 * doc-view.el: Require cl-lib at runtime too.
11261 (doc-view-remove-if): Remove.
11262 (doc-view-search-next-match, doc-view-search-previous-match):
11263 Use cl-remove-if.
11264
11265 * edmacro.el: Require cl-lib at runtime too.
11266 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11267 (edmacro-mismatch, edmacro-subseq): Remove.
11268
11269 * shadowfile.el: Require cl-lib.
11270 (shadow-remove-if): Remove.
11271 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11272 Use cl-remove-if.
11273
11274 * wid-edit.el: Require cl-lib.
11275 (widget-choose): Use cl-remove-if.
11276 (widget-remove-if): Remove.
11277
11278 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11279 (ebrowse-delete-if-not): Remove.
11280 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11281 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11282 Use cl-delete-if-not.
11283
11284 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11285
11286 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11287 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11288
11289 2013-07-12 Leo Liu <sdl.web@gmail.com>
11290
11291 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11292
11293 2013-07-11 Glenn Morris <rgm@gnu.org>
11294
11295 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11296 (edebug-gensym-index, edebug-gensym):
11297 Remove reimplementation of cl-gensym.
11298 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11299
11300 * thumbs.el: Require cl-lib at run-time too.
11301 (thumbs-gensym-counter, thumbs-gensym):
11302 Remove reimplementation of cl-gensym.
11303 (thumbs-temp-file): Use cl-gensym.
11304
11305 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11306 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11307 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11308 (ert--union, ert--gensym-counter, ert--gensym-counter)
11309 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11310 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11311 (ert-make-test-unbound, ert--expand-should-1)
11312 (ert--expand-should, ert--should-error-handle-error)
11313 (should-error, ert--explain-equal-rec)
11314 (ert--plist-difference-explanation, ert-select-tests)
11315 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11316 Use cl-lib functions rather than reimplementations.
11317
11318 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11319
11320 * net/tramp.el (tramp-methods): Extend docstring.
11321 (tramp-connection-timeout): New defcustom.
11322 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11323 (with-tramp-progress-reporter): Simplify.
11324 (tramp-process-actions): Improve messages.
11325
11326 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11327 * net/tramp-sh.el (tramp-maybe-open-connection):
11328 Use `tramp-connection-timeout'.
11329 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11330 (Bug#14808)
11331
11332 2013-07-11 Leo Liu <sdl.web@gmail.com>
11333
11334 * ido.el (ido-read-file-name): Conform to the requirements of
11335 read-file-name. (Bug#11861)
11336 (ido-read-directory-name): Conform to the requirements of
11337 read-directory-name.
11338
11339 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11340
11341 * subr.el (delay-warning): New function.
11342
11343 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11344
11345 * simple.el (default-line-height): New function.
11346 (line-move-partial, line-move): Use it instead of computing the
11347 line height inline.
11348 (line-move-partial): Always compute ROWH. If the last line is
11349 partially-visible, but its text is completely visible, allow
11350 cursor to enter such a partially-visible line.
11351
11352 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11353
11354 Improve error messages. (Bug#14808)
11355
11356 * net/tramp.el (tramp-current-connection): New defvar, moved from
11357 tramp-sh.el.
11358 (tramp-message-show-progress-reporter-message): Remove, not
11359 needed anymore.
11360 (tramp-error-with-buffer): Show message in minibuffer.
11361 Discard input before waiting. Reset connection timestamp.
11362 (with-tramp-progress-reporter): Improve messages.
11363 (tramp-process-actions): Use progress reporter. Delete process in
11364 case of error. Improve messages.
11365
11366 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11367 Call `tramp-error-with-buffer' with vector and buffer.
11368 (tramp-current-connection): Remove.
11369 (tramp-maybe-open-connection): The car of
11370 `tramp-current-connection' are the first 3 slots of the vector.
11371
11372 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11373
11374 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11375 inside continued strings.
11376
11377 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11378
11379 Timestamp fixes for undo (Bug#14824).
11380 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11381
11382 2013-07-10 Leo Liu <sdl.web@gmail.com>
11383
11384 * files.el (require-final-newline): Allow safe local value.
11385 (Bug#14834)
11386
11387 2013-07-09 Leo Liu <sdl.web@gmail.com>
11388
11389 * ido.el (ido-read-directory-name): Handle fallback.
11390 (ido-read-file-name): Update DIR to ido-current-directory.
11391 (Bug#1516)
11392 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11393
11394 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11395
11396 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11397 "autoload". Remove "warn lower camel case" section, previously
11398 commented out. Highlight negation char. Do not highlight the
11399 target in singleton method definitions.
11400
11401 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11402
11403 * faces.el (tty-setup-hook): Declare the hook.
11404
11405 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11406 and detect when a guard/pred depends on local vars (bug#14773).
11407 (pcase--u1): Adjust caller.
11408
11409 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11410
11411 * simple.el (line-move-partial, line-move): Account for
11412 line-spacing.
11413 (line-move-partial): Avoid setting vscroll when the last
11414 partially-visible line in window is of default height.
11415
11416 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11417
11418 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11419 been used a while.
11420
11421 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11422
11423 * subr.el (read-quoted-char): Remove unused local variable `char'.
11424
11425 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11426
11427 * vc/ediff.el (ediff-version): Version update.
11428 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11429 (ediff-merge-with-ancestor-command, ediff-directories-command)
11430 (ediff-directories3-command, ediff-merge-directories-command)
11431 (ediff-merge-directories-with-ancestor-command): New functions.
11432 All are command-line interfaces to ediff: to facilitate calling
11433 Emacs with the appropriate ediff functions invoked.
11434
11435 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
11436 New function.
11437 (viper-save-kill-buffer): Check if buffer is modified.
11438
11439 * emulation/viper.el (viper-version): Version update.
11440 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11441
11442 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11443
11444 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11445 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
11446 (viper-intercept-ESC-key): Simplify.
11447 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
11448 don't use kbd.
11449 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
11450 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11451 (viper-setup-ESC-to-escape): New functions.
11452 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11453 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11454
11455 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11456
11457 * simple.el (default-font-height, window-screen-lines):
11458 New functions.
11459 (line-move, line-move-partial): Use them instead of
11460 frame-char-height and window-text-height. This makes scrolling
11461 text smoother when the buffer's default face uses a font that is
11462 different from the frame's default font.
11463
11464 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11465
11466 * files.el (write-file): Do not display confirm dialog for NS,
11467 it does its own dialog, which can't be canceled (Bug#14578).
11468
11469 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11470
11471 * simple.el (line-move-partial): Adjust the row returned by
11472 posn-at-point for the current window-vscroll. (Bug#14567)
11473
11474 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11475
11476 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11477 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11478 spaces.
11479
11480 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11481
11482 * window.el (window-state-put-stale-windows): New variable.
11483 (window--state-put-2): Save list of windows without matching buffer.
11484 (window-state-put): Remove "bufferless" windows if possible.
11485
11486 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11487
11488 * simple.el (alternatives-define): Remove leftover :group keyword.
11489 Tweak docstring.
11490
11491 2013-07-06 Leo Liu <sdl.web@gmail.com>
11492
11493 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11494 (ido-enable-virtual-buffers): New variable.
11495 (ido-buffer-internal, ido-toggle-virtual-buffers)
11496 (ido-make-buffer-list): Use it.
11497 (ido-exhibit): Support turning on and off virtual buffers
11498 automatically.
11499
11500 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11501
11502 * simple.el (alternatives-define): New macro.
11503
11504 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11505
11506 * subr.el (read-quoted-char): Use read-key.
11507 (sit-for): Let read-event decode tty input (bug#14782).
11508
11509 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11510
11511 * calendar/todo-mode.el: Add handling of file deletion, both by
11512 mode command and externally. Fix various related bugs.
11513 Clarify Commentary and improve some documentation strings and code.
11514 (todo-delete-file): New command.
11515 (todo-check-file): New function.
11516 (todo-show): Handle external deletion of the file we're trying to
11517 show (bug#14688). Replace called-interactively-p by an optional
11518 prefix argument to avoid problematic interaction with catch form
11519 when byte compiled (bug#14702).
11520 (todo-quit): Handle external deletion of the archive's todo file.
11521 Make sure the buffer that was visiting the archive file is still
11522 live before trying to bury it.
11523 (todo-category-completions): Handle external deletion of any
11524 category completion files.
11525 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11526 of todo files, in case of external deletion.
11527 (todo-add-file): Replace unnecessary setq by let-binding.
11528 (todo-find-archive): Check whether there are any archives.
11529 Replace unnecessary setq by let-binding.
11530 (todo-archive-done-item): Use find-file-noselect to get the
11531 archive buffer whether or not the archive already exists.
11532 Remove superfluous code. Use file size instead of buffer-file-name to
11533 check if the archive is new; if it is, update list of archives.
11534 (todo-default-todo-file): Allow nil to be a valid value for when
11535 there are no todo files.
11536 (todo-reevaluate-default-file-defcustom): Use corrected definition
11537 of todo-default-todo-file.
11538 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11539 (todo-delete-category, todo-show-categories-table)
11540 (todo-category-number): Clarify comment.
11541 (todo-filter-items): Clarify documentation string.
11542 (todo-show-current-file, todo-display-as-todo-file)
11543 (todo-reset-and-enable-done-separator): Tweak documentation string.
11544 (todo-done-separator): Make separator length window-width, since
11545 bug#2749 is now fixed.
11546
11547 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11548
11549 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11550 Support both "gvfs-monitor-dir" and "inotifywait".
11551 (tramp-sh-file-inotifywait-process-filter): Rename from
11552 `tramp-sh-file-notify-process-filter'.
11553 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11554 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11555
11556 2013-07-05 Leo Liu <sdl.web@gmail.com>
11557
11558 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11559
11560 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11561
11562 * frame.el (display-pixel-height, display-pixel-width)
11563 (display-mm-height, display-mm-width): Mention behavior on
11564 multi-monitor setups in docstrings.
11565 (w32-display-monitor-attributes-list): Declare function.
11566 (display-monitor-attributes-list): Use it.
11567
11568 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11569
11570 * filenotify.el: New package.
11571
11572 * autorevert.el (top): Require filenotify.el.
11573 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11574 instead.
11575 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11576 (auto-revert-notify-handler): Use `file-notify-*' functions.
11577
11578 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11579
11580 * net/tramp.el (tramp-file-name-for-operation):
11581 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11582
11583 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11584 for `file-notify-add-watch' and `file-notify-rm-watch'.
11585 (tramp-process-sentinel): Improve trace.
11586 (tramp-sh-handle-file-notify-add-watch)
11587 (tramp-sh-file-notify-process-filter)
11588 (tramp-sh-handle-file-notify-rm-watch)
11589 (tramp-get-remote-inotifywait): New defuns.
11590
11591 2013-07-03 Juri Linkov <juri@jurta.org>
11592
11593 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11594 call of `occur-read-primary-args' to interactive spec.
11595
11596 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11597 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11598
11599 2013-07-03 Matthias Meulien <orontee@gmail.com>
11600
11601 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11602 `Buffer-menu-multi-occur'. Add it to the menu.
11603 (Buffer-menu-mode): Document it in docstring.
11604 (Buffer-menu-multi-occur): New command. (Bug#14673)
11605
11606 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11607
11608 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11609 keywords and built-ins.
11610
11611 2013-07-03 Glenn Morris <rgm@gnu.org>
11612
11613 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11614
11615 Make info-xref checks case-sensitive by default
11616 * info.el (Info-find-node, Info-find-in-tag-table)
11617 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11618 Add option for exact case matching of nodes.
11619 * info-xref.el (info-xref): New custom group.
11620 (info-xref-case-fold): New option.
11621 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11622
11623 2013-07-03 Leo Liu <sdl.web@gmail.com>
11624
11625 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11626
11627 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11628
11629 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11630 middle of block statement initially, lower the depth. Remove
11631 FIXME comment, not longer valid. Remove middle of block statement
11632 detection, no need to do that anymore since we've been using
11633 `ruby-parse-region' here.
11634
11635 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11636
11637 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11638
11639 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11640
11641 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11642
11643 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11644
11645 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11646 (desktop-restore-in-current-display): New customization option.
11647 (desktop--excluded-frame-parameters): Add `font'.
11648 (desktop--save-frames): Rename from desktop--save-windows.
11649 (desktop--restore-in-this-display-p): New function.
11650 (desktop--make-full-frame): Remove unwanted width/height from
11651 full(width|height) frames.
11652 (desktop--restore-frames): Rename from desktop--restore-windows.
11653 Obey desktop-restore-current-display. Do not delete old frames or
11654 select a new frame unless we were able to restore at least one frame.
11655
11656 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11657
11658 * files.el (find-file-noselect): Simplify conditional expression.
11659
11660 * textmodes/remember.el (remember-append-to-file):
11661 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11662
11663 Add `remember-notes' function to store random notes across Emacs
11664 restarts.
11665 * textmodes/remember.el (remember-data-file): Add :set callback to
11666 affect notes buffer (if any).
11667 (remember-notes): New command.
11668 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11669 New defcustoms for the `remember-notes' function.
11670 (remember-notes-save-and-bury-buffer): New command.
11671 (remember-notes-mode-map): New variable.
11672 (remember-mode): New minor mode.
11673 (remember-notes--kill-buffer-query): New function.
11674 * startup.el (initial-buffer-choice): Add notes to custom type.
11675
11676 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11677
11678 * bindings.el (right-char, left-char): Don't call sit-for, this is
11679 no longer needed. Use arithmetic comparison only for numerical
11680 arguments.
11681
11682 * international/mule-cmds.el (select-safe-coding-system):
11683 Handle the case of FROM being a string correctly. (Bug#14755)
11684
11685 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11686
11687 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11688 progression on degenerate tables.
11689 (shr-rescale-image): ImageMagick animated images currently don't work.
11690
11691 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11692
11693 Some fixes and improvements for desktop frame restoration.
11694 It is still experimental and disabled by default.
11695 * desktop.el (desktop--save-windows): Put the selected frame at
11696 the head of the list.
11697 (desktop--make-full-frame): New function.
11698 (desktop--restore-windows): Try to re-select the frame that was
11699 selected upon saving. Do not abort if some frames fail to restore,
11700 just show an error message and continue. Set up maximized frames
11701 so they have default non-maximized dimensions.
11702
11703 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11704
11705 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11706 Don't start heredoc inside a string or comment.
11707
11708 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11709
11710 * bindings.el (visual-order-cursor-movement): New defcustom.
11711 (right-char, left-char): Provide visual-order cursor motion by
11712 calling move-point-visually. Update the doc strings.
11713
11714 2013-06-28 Kenichi Handa <handa@gnu.org>
11715
11716 * international/mule.el (define-coding-system): New coding system
11717 properties :inhibit-null-byte-detection,
11718 :inhibit-iso-escape-detection, and :prefer-utf-8.
11719 (set-buffer-file-coding-system): If :charset-list property of
11720 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11721 appropriate for setting.
11722
11723 * international/mule-cmds.el (select-safe-coding-system):
11724 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11725 multibyte characters, return utf-8 (or one of its siblings).
11726
11727 * international/mule-conf.el (prefer-utf-8): New coding system.
11728 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11729 files.
11730
11731 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11732
11733 * net/shr.el (shr-render-region): New function.
11734
11735 * net/eww.el: Autoload `eww-browse-url'.
11736
11737 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11738
11739 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11740 Adapt to `package-desc-version' being a list.
11741 Use `package--ac-desc-version' to retrieve version from a package
11742 archive element.
11743
11744 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11745
11746 New experimental feature to save&restore window and frame setup.
11747 * desktop.el (desktop-save-windows): New defcustom.
11748 (desktop--saved-states): New var.
11749 (desktop--excluded-frame-parameters): New defconst.
11750 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11751 (desktop--restore-windows, desktop--save-windows): New functions.
11752 (desktop-save): Call `desktop--save-windows'.
11753 (desktop-read): Call `desktop--restore-windows'.
11754
11755 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11756
11757 * net/shr.el (add-face-text-property): Remove compat definition.
11758
11759 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11760
11761 * info.el (Info-try-follow-nearest-node): Move search for footnote
11762 above search for node name to prevent missing a footnote (bug#14717).
11763
11764 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11765
11766 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11767
11768 2013-06-27 Leo Liu <sdl.web@gmail.com>
11769
11770 * net/eww.el (eww-read-bookmarks): Check file size.
11771
11772 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11773
11774 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11775 advice--pending if newdef is nil or an autoload (bug#13820).
11776 (advice-mapc): New function.
11777
11778 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11779
11780 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11781 probably.
11782 (eww-mode-map): Add a menu bar.
11783 (eww-add-bookmark): New command.
11784 (eww-bookmark-mode): New mode and commands.
11785 (eww-add-bookmark): Remove newlines from the title.
11786 (eww-bookmark-browse): Don't bug out if it's the only window.
11787
11788 2013-06-26 Glenn Morris <rgm@gnu.org>
11789
11790 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11791 (hfy-size): Handle ttys. (Bug#14668)
11792
11793 * info-xref.el: Update for Texinfo 5 change in *note format.
11794 (info-xref-node-re, info-xref-note-re): New constants.
11795 (info-xref-check-buffer): Use info-xref-note-re.
11796
11797 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11798
11799 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11800
11801 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11802 nil terminate the loop (bug#14718).
11803
11804 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11805
11806 * net/eww.el: Rework history traversal. When going forward/back,
11807 put these actions into the history, too, so that they can be
11808 replayed.
11809 (eww-render): Move the history reset to the correct buffer.
11810
11811 2013-06-25 Juri Linkov <juri@jurta.org>
11812
11813 * files-x.el (modify-dir-local-variable): Change the header comment
11814 in the file with directory local variables. (Bug#14692)
11815
11816 * files-x.el (read-file-local-variable-value): Add `default'.
11817 (Bug#14710)
11818
11819 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11820
11821 * net/eww.el (eww-make-unique-file-name): Create a unique file
11822 name before saving to entering `y' accidentally asynchronously.
11823
11824 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11825
11826 * net/eww.el (eww-download): New command and keystroke.
11827
11828 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11829
11830 * net/eww.el (eww-copy-page-url): Change name of command.
11831
11832 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11833 be more consistent with Info and dired.
11834
11835 * net/eww.el (eww-mode-map): Ditto.
11836
11837 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11838
11839 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11840 packages from archives.
11841 (package-archive-contents): Change format; include obsolete packages.
11842 (package-desc): Use `dir' to mark builtin packages.
11843 (package--from-builtin): Set the `dir' field to `builtin'.
11844 (generated-autoload-file, version-control): Declare.
11845 (package-compute-transaction): Change first arg and return value to be
11846 lists of package-descs. Adjust to new package-archive-contents format.
11847 (package--add-to-archive-contents): Adjust to new
11848 package-archive-contents format.
11849 (package-download-transaction): Arg is now a list of package-descs.
11850 (package-install): If `pkg' is a package name, pass it as
11851 a requirement, so it is subject to the usual (e.g. disabled) checks.
11852 (describe-package): Accept package-desc as well.
11853 (describe-package-1): Describe a specific package-desc. Add links to
11854 other package-descs for the same package name.
11855 (package-menu-describe-package): Pass the actual package-desc.
11856 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11857 works correctly.
11858 (package-desc-status): New function.
11859 (package-menu--refresh): New function, extracted
11860 from package-menu--generate.
11861 (package-menu--generate): Use it.
11862 (package-delete): Update package-alist.
11863 (package-menu-execute): Don't call package-initialize.
11864
11865 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11866 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11867 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11868 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11869 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11870 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11871
11872 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11873
11874 * window.el (window--state-get-1): Workaround for bug#14527.
11875 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11876
11877 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11878
11879 * net/eww.el (eww-back-url): Implement the history by stashing all
11880 the data into a list.
11881 (eww-forward-url): Allow going forward in the history, too.
11882
11883 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11884
11885 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11886 for values and use read--expression for expressions (bug#14710).
11887 (read-file-local-variable): Avoid setq.
11888 (read-file-local-variable-mode): Use minor-mode-list.
11889
11890 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11891
11892 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11893 for DOI URLs.
11894
11895 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11896
11897 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11898 Update imenu-support when dialect changes.
11899
11900 2013-06-25 Leo Liu <sdl.web@gmail.com>
11901
11902 * ido.el (ido-read-internal): Allow forward slash on windows.
11903
11904 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11905
11906 * net/eww.el (eww): Start of strings is \\`, not ^.
11907
11908 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11909
11910 * net/shr.el (shr-browse-url): Fix interactive spec.
11911
11912 * net/eww.el (eww): Add a trailing slash to domain names.
11913
11914 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11915
11916 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11917
11918 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11919
11920 * net/shr.el (shr-browse-url): Use an external browser if given a
11921 prefix.
11922
11923 * net/eww.el (eww-external-browser): Move to shr.
11924
11925 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11926
11927 * net/eww.el (eww): Work more correctly for file: URLs.
11928 (eww-detect-charset): Allow quoted charsets.
11929 (eww-yank-page-url): New command and keystroke.
11930
11931 2013-06-24 Daiki Ueno <ueno@gnu.org>
11932
11933 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11934 file name of gpg executable.
11935 (epg-context-program): New function.
11936 (epg-context-home-directory): New function.
11937 (epg-context-set-program): New function.
11938 (epg-context-set-home-directory): New function.
11939 (epg--start): Use `epg-context-program' instead of
11940 'epg-gpg-program'.
11941 (epg--list-keys-1): Likewise.
11942
11943 2013-06-24 Leo Liu <sdl.web@gmail.com>
11944
11945 * ido.el (ido-read-internal): Fix bug#14620.
11946
11947 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11948
11949 * faces.el (face-documentation): Simplify.
11950 (read-face-attribute, tty-find-type, x-resolve-font-name):
11951 Use `string-match-p'.
11952 (list-faces-display): Use `string-match-p'. Simplify.
11953 (face-spec-recalc): Check face to avoid face alias loops.
11954 (read-color): Use `string-match-p' and non-capturing parenthesis.
11955
11956 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11957
11958 * net/shr.el (shr-rescale-image): Use the new
11959 :max-width/:max-height functionality.
11960
11961 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11962
11963 * net/eww.el (eww-search-prefix): New variable.
11964 (eww): Use it.
11965 (eww-external-browser): New variable.
11966 (eww-mode-map): New keystroke.
11967 (eww-browse-with-external-browser): New command.
11968
11969 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11970
11971 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11972
11973 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11974 Don't skip aligning the next header field when padding is 0;
11975 otherwise, field width is not respected unless the title is as
11976 wide as the field.
11977
11978 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11979
11980 * emacs-lisp/package.el (package-el-version): Remove.
11981 (package-process-define-package): Fix inf-loop.
11982 (package-install): Allow symbols as arguments again.
11983
11984 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11985
11986 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11987 add some more keyword-like methods.
11988 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11989
11990 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11991
11992 * bs.el (bs-buffer-show-mark): Make defvar-local.
11993 (bs-mode): Use setq-local.
11994
11995 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11996 (emacs-lock--try-unlocking): Make defvar-local.
11997
11998 2013-06-22 Glenn Morris <rgm@gnu.org>
11999
12000 * play/cookie1.el (cookie-apropos): Minor simplification.
12001
12002 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12003
12004 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12005
12006 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12007 `regexp-opt', it breaks the build during dumping.
12008
12009 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12010
12011 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12012 Highlight keyword-like methods on Kernel and Module with
12013 font-lock-builtin-face.
12014 (auto-mode-alist): Consolidate different entries into one regexp
12015 and add more *file-s.
12016
12017 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12018
12019 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12020
12021 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12022 (diary-entry): Use it in the action of this button type instead of
12023 diary-goto-entry.
12024
12025 * calendar/todo-mode.el: New version.
12026 (todo-add-category): Append new category to end of file and give
12027 it the highest number, instead of putting it at the beginning and
12028 giving it 0. Incorporate noninteractive functionality.
12029 (todo-forward-category): Adapt to 1-based category numbering.
12030 Allow skipping over archived categories.
12031 (todo-backward-category): Derive from todo-forward-category.
12032 (todo-backward-item, todo-forward-item): Make noninteractive and
12033 delegate interactive part to new commands. Make sensitive to done items.
12034 (todo-categories): Make value an alist of category names and
12035 vectors of item counts.
12036 (todo-category-beg): Make a defconst.
12037 (todo-category-number): Use 1 instead of 0 as initial value.
12038 (todo-category-select): Make sensitive to overlays, optional item
12039 highlighting and done items.
12040 (todo-delete-item): Make sensitive to overlays and marked and done items.
12041 (todo-edit-item): Make sensitive to overlays and editing of
12042 date/time header optional. Add format checks.
12043 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12044 no-op if point is not on an item. Advertise using todo-edit-quit.
12045 (todo-edit-mode): Make sensitive to new format, font-locking, and
12046 multiple todo files.
12047 (todo-insert-item, todo-insert-item-here): Derive from
12048 todo-basic-insert-item and extend functionality.
12049 (todo-item-end, todo-item-start): Make sensitive to done items.
12050 (todo-item-string): Don't return text properties. Restore point.
12051 (todo-jump-to-category): Make sensitive to multiple todo files and
12052 todo archives. Use extended category completion.
12053 (todo-lower-item, todo-raise-item): Rename to *-priority and
12054 derive from todo-set-item-priority.
12055 (todo-mode): Derive from special-mode. Make sensitive to new
12056 format, font-locking and multiple todo files. Make read-only.
12057 (todo-mode-map): Don't suppress digit keys, so they can supply
12058 prefix arguments. Add many new key bindings.
12059 (todo-prefix): Insert as an overlay instead of file text.
12060 Change semantics from diary date expression to purely visual mark.
12061 (todo-print): Rename to todo-print-buffer. Make buffer display
12062 features printable. Remove option to restrict number of items
12063 printed. Add option to print to file.
12064 (todo-print-function): Rename to todo-print-buffer-function.
12065 (todo-quit): Extend to handle exiting new todo modes.
12066 (todo-remove-item): Make sensitive to overlays.
12067 (todo-save): Extend to buffers of filtered items.
12068 (todo-show): Make sensitive to done items, multiple todo files and
12069 new todo modes. Offer to convert legacy todo file before creating
12070 first new todo file.
12071 (todo-show-priorities): Rename to todo-top-priorities.
12072 Change semantics of value 0.
12073 (todo-top-priorities): Rename to todo-filter-top-priorities,
12074 derive from todo-filter-items and extend functionality.
12075 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12076 and extend functionality to other types of filtered items.
12077 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12078 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12079 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12080 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12081 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12082 (todo-edit-mode-hook, todo-entry-prefix-function)
12083 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12084 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12085 (todo-initials, todo-insert-threshold, todo-item-string-start)
12086 (todo-line-string, todo-menu, todo-mode-hook)
12087 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12088 (todo-print-priorities, todo-remove-separator)
12089 (todo-save-top-priorities-too, todo-string-count-lines)
12090 (todo-string-multiline-p, todo-time-string-format)
12091 (todo-tmp-buffer-name): Remove.
12092 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12093 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12094 (todo-edit-category-diary-inclusion)
12095 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12096 (todo-edit-file, todo-edit-item-date-day)
12097 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12098 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12099 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12100 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12101 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12102 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12103 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12104 (todo-filter-top-priorities-multifile, todo-find-archive)
12105 (todo-find-filtered-items-file, todo-go-to-source-item)
12106 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12107 (todo-jump-to-archive-category, todo-lower-category)
12108 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12109 (todo-move-category, todo-move-item, todo-next-button)
12110 (todo-next-item, todo-padded-string, todo-powerset)
12111 (todo-previous-button, todo-previous-item)
12112 (todo-print-buffer-to-file, todo-raise-category)
12113 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12114 (todo-set-category-number, todo-set-item-priority)
12115 (todo-set-top-priorities-in-category)
12116 (todo-set-top-priorities-in-file, todo-show-categories-table)
12117 (todo-sort-categories-alphabetically-or-numerically)
12118 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12119 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12120 (todo-toggle-item-header, todo-toggle-item-highlighting)
12121 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12122 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12123 (todo-unarchive-items, todo-unmark-category): New commands.
12124 (todo-absolute-file-name, todo-add-to-buffer-list)
12125 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12126 (todo-basic-insert-item, todo-category-completions)
12127 (todo-category-number, todo-category-string-matcher-1)
12128 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12129 (todo-check-format, todo-clear-matches)
12130 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12131 (todo-current-category, todo-date-string-matcher)
12132 (todo-define-insertion-command, todo-diary-expired-matcher)
12133 (todo-diary-goto-entry, todo-diary-item-p)
12134 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12135 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12136 (todo-done-item-section-p, todo-done-separator)
12137 (todo-done-string-matcher, todo-files, todo-filter-items)
12138 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12139 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12140 (todo-insert-category-line, todo-insert-item-from-calendar)
12141 (todo-insert-sort-button, todo-insert-with-overlays)
12142 (todo-insertion-command-name, todo-insertion-key-bindings)
12143 (todo-label-to-key, todo-longest-category-name-length)
12144 (todo-make-categories-list, todo-mode-external-set)
12145 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12146 (todo-modes-set-3, todo-multiple-filter-files)
12147 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12148 (todo-read-category, todo-read-date, todo-read-dayname)
12149 (todo-read-file-name, todo-read-time)
12150 (todo-reevaluate-category-completions-files-defcustom)
12151 (todo-reevaluate-default-file-defcustom)
12152 (todo-reevaluate-filelist-defcustoms)
12153 (todo-reevaluate-filter-files-defcustom)
12154 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12155 (todo-reset-done-separator, todo-reset-done-separator-string)
12156 (todo-reset-done-string, todo-reset-global-current-todo-file)
12157 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12158 (todo-reset-prefix, todo-set-categories)
12159 (todo-set-date-from-calendar, todo-set-show-current-file)
12160 (todo-set-top-priorities, todo-short-file-name)
12161 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12162 (todo-total-item-counts, todo-update-buffer-list)
12163 (todo-update-categories-display, todo-update-categories-sexp)
12164 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12165 New functions.
12166 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12167 New major modes.
12168 (todo-categories, todo-display, todo-edit, todo-faces)
12169 (todo-filtered): New defgroups.
12170 (todo-archived-only, todo-button, todo-category-string, todo-date)
12171 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12172 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12173 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12174 (todo-add-item-if-new-category, todo-always-add-time-string)
12175 (todo-categories-align, todo-categories-archived-label)
12176 (todo-categories-category-label, todo-categories-diary-label)
12177 (todo-categories-done-label, todo-categories-number-separator)
12178 (todo-categories-todo-label, todo-categories-totals-label)
12179 (todo-category-completions-files, todo-completion-ignore-case)
12180 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12181 (todo-done-separator-string, todo-done-string)
12182 (todo-files-function, todo-filter-done-items, todo-filter-files)
12183 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12184 (todo-initial-category, todo-initial-file, todo-item-mark)
12185 (todo-legacy-date-time-regexp, todo-mode-line-function)
12186 (todo-nondiary-marker, todo-number-prefix)
12187 (todo-print-buffer-function, todo-show-current-file)
12188 (todo-show-done-only, todo-show-first, todo-show-with-done)
12189 (todo-skip-archived-categories, todo-top-priorities-overrides)
12190 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12191 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12192 New defcustoms.
12193 (todo-category-done, todo-date-pattern, todo-date-string-start)
12194 (todo-diary-items-buffer, todo-done-string-start)
12195 (todo-filtered-items-buffer, todo-item-start)
12196 (todo-month-abbrev-array, todo-month-name-array)
12197 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12198 (todo-top-priorities-buffer): New defconsts.
12199 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12200 (todo-categories-with-marks, todo-category-string-face)
12201 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12202 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12203 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12204 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12205 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12206 (todo-font-lock-keywords, todo-global-current-todo-file)
12207 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12208 (todo-insertion-commands-args)
12209 (todo-insertion-commands-args-genlist)
12210 (todo-insertion-commands-names, todo-insertion-map)
12211 (todo-key-bindings-t, todo-key-bindings-t+a)
12212 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12213 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12214 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12215 (todo-visited): New variables.
12216
12217 2013-06-21 Glenn Morris <rgm@gnu.org>
12218
12219 * play/cookie1.el (cookie-apropos): Add optional display argument.
12220 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12221 (psychoanalyze-pinhead): Use cookie-doctor.
12222
12223 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12224
12225 * emacs-lisp/package.el (tar-get-file-descriptor)
12226 (tar--extract): Declare.
12227
12228 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12229
12230 Extend flymake's warning predicate to be a function (bug#14217).
12231 * progmodes/flymake.el (flymake-warning-predicate): New.
12232 (flymake-parse-line): Use it.
12233 (flymake-warning-re): Make obsolete alias to
12234 `flymake-warning-predicate'.
12235
12236 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12237
12238 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12239 (package-obsolete-list): Remove.
12240 (package-activate): Remove min-version argument. Add `force' argument.
12241 Adjust to new package-alist format.
12242 (package-mark-obsolete): Remove.
12243 (package-unpack): Force reload of the package's autoloads.
12244 (package-installed-p): Check builtins if the installed package is not
12245 recent enough.
12246 (package-initialize): Don't reset package-obsolete-list.
12247 Don't specify which package version to activate.
12248 (package-process-define-package, describe-package-1)
12249 (package-menu--generate): Adjust to new package-alist format.
12250
12251 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12252
12253 * allout-widgets.el (allout-widgets-mode-off)
12254 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12255 (allout-widgets-post-command-business)
12256 (allout-widgets-after-copy-or-kill-function)
12257 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12258 (allout-decorate-item-and-context)
12259 (allout-graphics-modification-handler): Fix typos in docstrings.
12260 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12261
12262 * cmuscheme.el (scheme-start-file): Doc fix.
12263 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12264 (scheme-input-filter): Use `string-match-p'.
12265
12266 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12267
12268 * dired-x.el: Use Dired consistently in docstrings.
12269
12270 * dired.el: Use Dired consistently in docstrings.
12271 (dired-readin, dired-mode): Use `setq-local'.
12272 (dired-switches-alist): Make defvar-local.
12273 (dired-buffers-for-dir): Use `zerop'.
12274 (dired-safe-switches-p, dired-switches-escape-p)
12275 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12276 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12277 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12278 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12279 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12280 (dired-toggle-marks, dired-mark-files-containing-regexp)
12281 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12282 (dired-flag-auto-save-files, dired-flag-backup-files):
12283 Use `looking-at-p'.
12284 (dired-mark-files-regexp, dired-build-subdir-alist):
12285 Use `string-match-p', `looking-at-p'.
12286
12287 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12288 (direct-print-region-helper): Use `string-match-p'.
12289
12290 2013-06-21 Leo Liu <sdl.web@gmail.com>
12291
12292 * comint.el (comint-redirect-results-list-from-process):
12293 Fix infinite loop.
12294
12295 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12296
12297 * net/eww.el (eww-update-header-line-format): Quote % characters.
12298
12299 2013-06-21 Glenn Morris <rgm@gnu.org>
12300
12301 * play/cookie1.el (cookie): New custom group.
12302 (cookie-file): New option.
12303 (cookie-check-file): New function.
12304 (cookie): Make it interactive. Make start and end messages optional.
12305 Interactively, display the result. Default to cookie-file.
12306 (cookie-insert): Default to cookie-file.
12307 (cookie-snarf): Make start and end messages optional.
12308 Default to cookie-file. Use with-temp-buffer.
12309 (cookie-read): Rename from read-cookie.
12310 Make start and end messages optional. Default to cookie-file.
12311 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12312 Do not autoload it.
12313 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12314 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12315
12316 2013-06-21 Leo Liu <sdl.web@gmail.com>
12317
12318 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12319
12320 2013-06-21 Glenn Morris <rgm@gnu.org>
12321
12322 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12323
12324 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12325 Daniel Hackney <dan@haxney.org>
12326
12327 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12328 Consolidate the single-file vs tarball code.
12329 (package-desc-suffix): New function.
12330 (package-desc-full-name): Don't bother inlining it.
12331 (package-load-descriptor): Return the new package-desc.
12332 (package-mark-obsolete): Remove unused arg `package'.
12333 (package-unpack): Make it work for single files as well.
12334 Make it update package-alist.
12335 (package--make-autoloads-and-stuff): Rename from
12336 package--make-autoloads-and-compile. Don't compile any more.
12337 (package--compile): New function.
12338 (package-generate-description-file): New function, extracted from
12339 package-unpack-single.
12340 (package-unpack-single): Remove.
12341 (package--with-work-buffer): Add indentation and debugging info.
12342 (package-download-single): Remove.
12343 (package-install-from-archive): Rename from package-download-tar, make
12344 it take a pkg-desc, and make it work for single files as well.
12345 (package-download-transaction): Simplify.
12346 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12347 external tar program.
12348 (package-install-from-buffer): Remove `pkg-desc' argument.
12349 Use package-tar-file-info for tar-mode buffers.
12350 (package-install-file): Simplify accordingly.
12351 (package-archive-base): Change to take a pkg-desc.
12352 * tar-mode.el (tar--check-descriptor): New function, extracted from
12353 tar-get-descriptor.
12354 (tar-get-descriptor): Use it.
12355 (tar-get-file-descriptor): New function.
12356 (tar--extract): New function, extracted from tar-extract.
12357 (tar--extract): Use it.
12358 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12359 case the summary uses non-ascii. Adjust to new calling convention of
12360 package-tar-file-info.
12361
12362 2013-06-21 Leo Liu <sdl.web@gmail.com>
12363
12364 * comint.el (comint-redirect-results-list-from-process):
12365 Fix random delay. (Bug#14681)
12366
12367 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12368
12369 * profiler.el (profiler-format-number): Use log, not log10.
12370
12371 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12372
12373 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12374
12375 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12376
12377 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12378 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12379 yet available.
12380 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12381 (AUTOGENEL): ... here.
12382 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12383 (cl--defsubst-expand): Use it.
12384
12385 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12386
12387 * subr.el (log10): Move here from C code, and declare as obsolete.
12388 All uses of (log10 X) replaced with (log X 10).
12389
12390 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12391
12392 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12393 Declare with `defvar-local'.
12394 (tabulated-list-use-header-line, tabulated-list-entries)
12395 (tabulated-list-padding, tabulated-list-printer)
12396 (tabulated-list-sort-key): Declare with `defvar-local'.
12397 (tabulated-list-init-header, tabulated-list-print-fake-header):
12398 Use `setq-local'.
12399
12400 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12401
12402 * arc-mode.el (archive-mode): Add `archive-write-file' to
12403 `write-contents-functions' also for remote files. (Bug#14652)
12404
12405 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12406
12407 * cus-edit.el (custom-commands): Fix typos.
12408 (custom-display): Fix tooltip text.
12409 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12410 Fix typos in docstrings.
12411 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12412 (custom-unlispify-menu-entry, custom-magic-value-create)
12413 (custom-add-see-also, custom-group-value-create): Use ?\s.
12414 (custom-guess-type, customize-apropos, editable-field)
12415 (custom-face-value-create): Use `string-match-p'.
12416 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12417
12418 * custom.el (custom-load-symbol): Use `string-match-p'.
12419
12420 * ansi-color.el: Convert to lexical binding.
12421 (ansi-colors): Fix URL.
12422 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12423 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12424 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12425
12426 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12427
12428 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12429
12430 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12431
12432 2013-06-19 Tom Tromey <tromey@redhat.com>
12433
12434 * net/eww.el (eww-top-url): Remove.
12435 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12436 (eww-render): Set new variables. Don't set eww-top-url.
12437 (eww-handle-link): Handle "prev", "home", and "contents".
12438 Downcase the rel text.
12439 (eww-top-url): Choose best top URL.
12440
12441 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12442
12443 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12444 relying in widget.el. Using widget.el leads to too many
12445 user interface inconsistencies.
12446 (eww-self-insert): Implement entering commands in text fields.
12447 (eww-process-text-input): New function to make text input field editing
12448 work.
12449 (eww-submit): Rewrite to use the new-style form methods.
12450 (eww-select-display): Display the correct selected item.
12451 (eww-change-select): Implement changing the select value.
12452 (eww-toggle-checkbox): Implement radio/checkboxes.
12453 (eww-update-field): Fix compilation error.
12454 (eww-tag-textarea): Implement <textarea>.
12455
12456 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12457 we don't shadow mode-specific bindings.
12458
12459 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12460 nothing to push.
12461
12462 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12463
12464 2013-06-19 Glenn Morris <rgm@gnu.org>
12465
12466 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12467
12468 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12469
12470 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12471 not needed.
12472
12473 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12474
12475 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12476
12477 * net/browse-url.el (browse-url-browser-function):
12478 `eww-browse-url' has the right calling signature, `eww' does not.
12479
12480 2013-06-19 Glenn Morris <rgm@gnu.org>
12481
12482 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12483 Only eval autoloaded macros.
12484 (byte-compile-autoload): Only give the macro warning for macros.
12485
12486 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12487 (ps-underlined-faces): Declare.
12488
12489 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12490 (speedbar-add-supported-extension): Declare.
12491
12492 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12493 Don't include a date stamp in the header of the generated file;
12494 it leads to needless differences between output files.
12495
12496 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12497
12498 * net/secrets.el (secrets-struct-secret-content-type):
12499 Replace check of introspection data by a test call of "CreateItem".
12500 Some servers do not offer introspection.
12501
12502 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12503
12504 * electric.el (electric-pair-mode): Improve interaction with
12505 electric-layout-mode.
12506 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12507 (electric-pair-syntax): Use text-mode-syntax-table in comments
12508 and strings.
12509 (electric-pair--insert): New function.
12510 (electric-pair-post-self-insert-function): Use it and
12511 electric--after-char-pos.
12512
12513 2013-06-19 Leo Liu <sdl.web@gmail.com>
12514
12515 * progmodes/octave.el (octave-help): Fix regexp.
12516
12517 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12518
12519 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12520 (shr-table-horizontal-line): Allow nil as a value, and change the
12521 default.
12522 (shr-insert-table-ruler): Respect the nil value.
12523
12524 2013-06-18 Tom Tromey <tromey@barimba>
12525
12526 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12527 New defvars.
12528 (eww-open-file): New defun.
12529 (eww-render): Initialize new variables.
12530 (eww-display-html): Handle "link" and "a".
12531 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12532 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12533 (eww-back-url): Rename from eww-previous-url.
12534 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12535 New defuns.
12536
12537 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12538
12539 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12540 Distinguish ternary operator tokens from slash symbol and slash
12541 char literal.
12542
12543 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12544
12545 Convert symbol prettification into minor mode and global minor mode.
12546
12547 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12548 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12549 (prettify-symbols--keywords): Rename from
12550 `prog-prettify-symbols-alist' and make a local defvar.
12551 (prettify-symbols--compose-symbol): Rename from
12552 `prog--prettify-font-lock-compose-symbol'.
12553 (prettify-symbols--make-keywords): Rename from
12554 `prog-prettify-font-lock-symbols-keywords' and simplify.
12555 (prog-prettify-install): Remove.
12556 (prettify-symbols-mode): New minor mode, based on
12557 `prog-prettify-install'.
12558 (turn-on-prettify-symbols-mode): New function.
12559 (global-prettify-symbols-mode): New globalized minor mode.
12560
12561 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12562 * progmodes/cfengine.el (cfengine3-mode):
12563 * progmodes/perl-mode.el (perl-mode): Don't call
12564 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12565
12566 2013-06-18 Juri Linkov <juri@jurta.org>
12567
12568 * files-x.el (modify-file-local-variable-message): New function.
12569 (modify-file-local-variable)
12570 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12571 and call `modify-file-local-variable-message' when it's non-nil.
12572 (add-file-local-variable, delete-file-local-variable)
12573 (add-file-local-variable-prop-line)
12574 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12575 and use it. (Bug#9820)
12576
12577 2013-06-18 Juri Linkov <juri@jurta.org>
12578
12579 * emulation/vi.el (vi-shell-op):
12580 * emulation/vip.el (vip-execute-com, ex-command):
12581 * emulation/viper-cmd.el (viper-exec-bang):
12582 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12583 the call of `shell-command-on-region'. (Bug#14637)
12584
12585 * simple.el (shell-command-on-region): Doc fix.
12586
12587 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12588
12589 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12590 (bug#14633).
12591
12592 2013-06-18 Glenn Morris <rgm@gnu.org>
12593
12594 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12595
12596 * newcomment.el (comment-search-forward, comment-search-backward):
12597 Doc fix. (Bug#14376)
12598
12599 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12600
12601 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12602 (buffer-face-mode-invoke): Doc fix.
12603
12604 2013-06-18 Matthias Meulien <orontee@gmail.com>
12605
12606 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12607 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12608
12609 2013-06-18 Glenn Morris <rgm@gnu.org>
12610
12611 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12612 Replace obsolete function generic-make-keywords with its expansion.
12613
12614 * progmodes/python.el (ffap-alist): Declare.
12615
12616 * textmodes/reftex.el (bibtex-mode-map): Declare.
12617
12618 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12619
12620 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12621 (package-unpack, package-unpack-single): Return the pkg-dir.
12622 (package-download-transaction): Use it to update package-alist.
12623
12624 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12625
12626 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12627 possible choice.
12628
12629 2013-06-17 Juri Linkov <juri@jurta.org>
12630
12631 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12632
12633 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12634
12635 * emacs-lisp/package.el (package-load-descriptor):
12636 Remove `with-syntax-table' call, `read' doesn't need it.
12637 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12638
12639 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12640
12641 * startup.el (command-line): Expand package name returned by
12642 `package--description-file' (bug#14639).
12643
12644 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12645
12646 * emacs-lisp/package.el (package-load-descriptor): Do not call
12647 `emacs-lisp-mode', just use its syntax table.
12648
12649 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12650
12651 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12652 `font-lock-extra-managed-props' if any prettifying keyword is added.
12653 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12654 (prog-mode): Use `setq-local'.
12655
12656 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12657
12658 * international/characters.el (standard-case-table): Set syntax of ?»
12659 and ?« to punctuation.
12660
12661 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12662
12663 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12664 Save relevant match data before calling `syntax-ppss' (bug#14595).
12665
12666 2013-06-15 Juri Linkov <juri@jurta.org>
12667
12668 * files-x.el (modify-file-local-variable-prop-line): Add local
12669 variables to the end of the existing comment on the first line.
12670 Use `file-auto-mode-skip' to skip interpreter magic line,
12671 and also skip XML declaration.
12672
12673 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12674
12675 * startup.el (package--builtin-versions): New var.
12676 (package-subdirectory-regexp): Remove.
12677 (package--description-file): Hard code its value instead.
12678
12679 * emacs-lisp/package.el: Don't activate packages older than builtin.
12680 (package-obsolete-list): Rename from package-obsolete-alist, and make
12681 it into a simple list of package-desc.
12682 (package-strip-version): Remove.
12683 (package-built-in-p): Use package--builtin-versions.
12684 (package-mark-obsolete): Simplify.
12685 (package-process-define-package): Mark it obsolete if older than the
12686 builtin version.
12687 (package-handle-response): Use line-end-position.
12688 (package-read-archive-contents, package--download-one-archive):
12689 Simplify.
12690 (package--add-to-archive-contents): Skip if older than the builtin or
12691 installed version.
12692 (package-menu-describe-package): Fix last change.
12693 (package-list-unversioned): New var.
12694 (package-menu--generate): Use it.
12695
12696 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12697 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12698 (autoload-builtin-package-versions): New variable.
12699 (autoload-generate-file-autoloads): Use them.
12700 Remove the list of autoloaded functions/macros from the
12701 (autoload...) comments.
12702
12703 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12704
12705 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12706
12707 * simple.el (line-move-partial): Don't jump to the next screen
12708 line as soon as it becomes visible. Instead, continue enlarging
12709 the vscroll until the portion of a tall screen line that's left on
12710 display is about the height of the frame's default font.
12711 (Bug#14567)
12712
12713 2013-06-15 Glenn Morris <rgm@gnu.org>
12714
12715 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12716 compilation-error-regexp-alist void, or local while let-bound.
12717
12718 * progmodes/make-mode.el (makefile-mode-syntax-table):
12719 Treat "=" as punctuation. (Bug#14614)
12720
12721 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12722
12723 * help-fns.el (describe-variable):
12724 Add extra line for permanent-local variables.
12725
12726 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12727
12728 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12729 Add export, import, library. (Bug#9164)
12730 (library): Set indent function.
12731
12732 2013-06-14 Glenn Morris <rgm@gnu.org>
12733
12734 * term/xterm.el (xterm--query):
12735 Stop after first matching handler. (Bug#14615)
12736
12737 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12738
12739 Add support for dired in saveplace.
12740 * dired.el (dired-initial-position-hook): New variable.
12741 (dired-initial-position): Call hook to place cursor position.
12742 * saveplace.el (save-place-to-alist): Add dired position.
12743 (save-place-dired-hook): New function.
12744
12745 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12746
12747 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12748 through a symbol rather than letrec.
12749
12750 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12751 (package-desc): Add `dir' field.
12752 (package-desc-full-name): New function.
12753 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12754 (package-maybe-load-descriptor): Remove.
12755 (package-load-all-descriptors): Just call package-load-descriptor.
12756 (package--disabled-p): New function.
12757 (package-desc-vers, package-desc-doc): Remove aliases.
12758 (package--dir): Remove function.
12759 (package-activate): Check if a package is disabled.
12760 (package-process-define-package): New function, extracted from
12761 define-package.
12762 (define-package): Turn into a place holder.
12763 (package-unpack-single, package-tar-file-info):
12764 Use package--description-file.
12765 (package-compute-transaction): Use package--disabled-p.
12766 (package-download-transaction): Don't call
12767 package-maybe-load-descriptor since they're all loaded anyway.
12768 (package-install): Change argument to be a pkg-desc.
12769 (package-delete): Use a single pkg-desc argument.
12770 (describe-package-1): Use package-desc-dir instead of package--dir.
12771 Use package-desc property instead of package-symbol.
12772 (package-install-button-action): Adjust accordingly.
12773 (package--push): Rewrite.
12774 (package-menu--print-info): Adjust accordingly. Change the ID format
12775 to be a pkg-desc.
12776 (package-menu-describe-package, package-menu-get-status)
12777 (package-menu--find-upgrades, package-menu-mark-upgrades)
12778 (package-menu-execute, package-menu--name-predicate):
12779 Adjust accordingly.
12780 * startup.el (package--description-file): New function.
12781 (command-line): Use it.
12782 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12783 Use package-desc-version.
12784
12785 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12786 (byte-compile-preprocess): Use it.
12787 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12788 can't quite recognize.
12789 (byte-compile-add-to-list): Remove.
12790 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12791 (cconv-closure-convert): Add assertion.
12792
12793 * emacs-lisp/map-ynp.el: Use lexical-binding.
12794 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12795 Factor out some repeated code.
12796
12797 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12798
12799 * subr.el (with-eval-after-load): New macro.
12800 (eval-after-load): Allow form to be a function.
12801 take advantage of lexical-binding.
12802 (do-after-load-evaluation): Use dolist and adjust to new format.
12803 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12804
12805 2013-06-13 Juri Linkov <juri@jurta.org>
12806
12807 * replace.el (perform-replace): Display "symbol " and other search
12808 modes from `isearch-message-prefix' in the *Help* buffer.
12809
12810 * isearch.el (isearch-query-replace): Add " symbol" and other
12811 possible search modes from `isearch-message-prefix' to the prompt.
12812 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12813 when reading a regexp to collect.
12814
12815 2013-06-13 Juri Linkov <juri@jurta.org>
12816
12817 * isearch.el (word-search-regexp): Match whitespace if the search
12818 string begins or ends in whitespace. The LAX arg is applied to
12819 both ends of the search string. Use `regexp-quote' and explicit
12820 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12821 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12822 boundaries are replaced with symbol boundaries, and characters
12823 between symbols match non-word non-symbol syntax. (Bug#14602)
12824
12825 2013-06-13 Juri Linkov <juri@jurta.org>
12826
12827 * isearch.el (isearch-del-char): Don't exceed the length of
12828 `isearch-string' by the prefix arg. (Bug#14563)
12829
12830 2013-06-13 Juri Linkov <juri@jurta.org>
12831
12832 * isearch.el (isearch-yank-word, isearch-yank-line)
12833 (isearch-char-by-name, isearch-quote-char)
12834 (isearch-printing-char, isearch-process-search-char):
12835 Add optional count prefix arg. (Bug#14563)
12836
12837 * international/isearch-x.el
12838 (isearch-process-search-multibyte-characters):
12839 Add optional count prefix arg.
12840
12841 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12842
12843 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12844 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12845 lexical-binding.
12846
12847 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12848
12849 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12850
12851 2013-06-13 Glenn Morris <rgm@gnu.org>
12852
12853 * startup.el (tty-handle-args):
12854 Don't just discard "--" and anything after. (Bug#14608)
12855
12856 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12857
12858 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12859
12860 Implement changes in Secret Service API. Make it backward compatible.
12861 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12862 (secrets-create-item): Use it. Prefix properties with interface.
12863
12864 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12865
12866 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12867 (term-emulate-terminal): Respect term-suppress-hard-newline.
12868
12869 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12870
12871 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12872 Only remove a `thumb-file' overlay. (Bug#14548)
12873
12874 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12875
12876 * mail/reporter.el (reporter-submit-bug-report):
12877 Handle missing package-name. (Bug#14600)
12878
12879 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12880
12881 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12882 (reftex-citation-prompt, reftex-default-bibliography)
12883 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12884 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12885 (reftex-bib-sort-author, reftex-bib-sort-year)
12886 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12887 (reftex-extract-bib-entries-from-thebibliography)
12888 (reftex-get-bibkey-default, reftex-get-bib-names)
12889 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12890 (reftex-format-bib-entry, reftex-parse-bibitem)
12891 (reftex-format-bibitem, reftex-do-citation)
12892 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12893 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12894 (reftex-insert-bib-matches, reftex-format-citation)
12895 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12896 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12897 existing comments into docstrings.
12898
12899 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12900
12901 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12902
12903 2013-06-12 Andreas Schwab <schwab@suse.de>
12904
12905 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12906 for auto-save files.
12907
12908 2013-06-12 Glenn Morris <rgm@gnu.org>
12909
12910 * ido.el (ido-delete-ignored-files): Remove.
12911 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12912 Go back to calling ido-ignore-item-p directly.
12913
12914 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12915
12916 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12917
12918 * ido.el (ido-delete-ignored-files): New function,
12919 split from ido-make-file-list-1.
12920 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12921 (ido-make-file-list-1): Use ido-delete-ignored-files.
12922
12923 2013-06-12 Leo Liu <sdl.web@gmail.com>
12924
12925 * progmodes/octave.el (inferior-octave-startup)
12926 (inferior-octave-completion-table)
12927 (inferior-octave-track-window-width-change)
12928 (octave-eldoc-function-signatures, octave-help)
12929 (octave-find-definition): Use single quoted strings.
12930 (inferior-octave-startup-args): Change default value.
12931 (inferior-octave-startup): Do not hard code "-i" and
12932 "--no-line-editing".
12933 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12934 (inferior-octave-directory-tracker): Use it.
12935 (octave-goto-function-definition): Robustify.
12936 (octave-help): Support highlighting operators in 'See also'.
12937 (octave-find-definition): Find subfunctions only in Octave mode.
12938
12939 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12940
12941 * help-fns.el (help-fns--compiler-macro): If the handler function is
12942 named, then put a link to it.
12943 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12944 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12945 (cl-typep): Use it.
12946 (cl-eval-when): Simplify debug spec.
12947 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12948 compiler-macro function instead of setting `compiler-macro-file'.
12949
12950 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12951
12952 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12953 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12954
12955 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12956 Daniel Hackney <dan@haxney.org>
12957
12958 First part of Daniel Hackney's patch to package.el.
12959 * emacs-lisp/package.el: Use defstruct.
12960 (package-desc): New, main struct.
12961 (package--bi-desc, package--ac-desc): New structs, used to describe the
12962 format in external files.
12963 (package-desc-vers): Replace with package-desc-version accessor.
12964 (package-desc-doc): Replace with package-desc-summary accessor.
12965 (package-activate-1): Remove `package' arg since the pkg-vec now
12966 includes the name.
12967 (define-package): Use package-desc-from-define.
12968 (package-unpack-single): Change file-name arg to be a symbol.
12969 (package--add-to-archive-contents): Use package-desc-create and new
12970 accessor functions to package--ac-desc.
12971 (package-buffer-info, package-tar-file-info): Return a package-desc.
12972 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12973 arg to be a package-desc.
12974 (package-install-file): Adjust accordingly. Use \' to match EOS.
12975 (package--from-builtin): New function.
12976 (describe-package-1, package-menu--generate): Use it.
12977 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12978 (package-generate-autoloads): Idem and return the name of the file.
12979 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12980 Change pkg-info arg to be a package-desc.
12981 Use package-make-ac-desc.
12982 (package-upload-file): Use \' to match EOS.
12983 * finder.el (finder-compile-keywords): Use package-make-builtin.
12984
12985 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12986
12987 * vc/vc.el (vc-deduce-fileset): Change error message.
12988 (vc-read-backend): New function.
12989 (vc-next-action): Use it.
12990
12991 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12992
12993 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12994 (prolog-font-lock-keywords): Use regexp-opt instead.
12995 Don't manually highlight strings.
12996 (prolog-mode-variables): Simplify comment-start-skip.
12997 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12998
12999 * emacs-lisp/generic.el (generic--normalise-comments)
13000 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13001 (generic-mode-set-comments): Use them.
13002 (generic-bracket-support): Use setq-local.
13003 (generic-make-keywords-list): Declare obsolete.
13004
13005 2013-06-11 Glenn Morris <rgm@gnu.org>
13006
13007 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13008 Prettify after setting font-lock-defaults. (Bug#14574)
13009
13010 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13011
13012 * replace.el (query-replace, occur-read-regexp-defaults-function)
13013 (replace-search):
13014 * subr.el (declare-function, number-sequence, local-set-key)
13015 (substitute-key-definition, locate-user-emacs-file)
13016 (with-silent-modifications, split-string, eval-after-load):
13017 Fix typos, remove unneeded backslashes and reflow some docstrings.
13018
13019 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13020
13021 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13022 default for Elisp files.
13023
13024 2013-06-11 Glenn Morris <rgm@gnu.org>
13025
13026 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13027 although define-derived-mode was doing this anyway. (Bug#14583)
13028
13029 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13030
13031 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13032 Fix make-variable-buffer-local call to refer to the correct variable.
13033
13034 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13035
13036 * eshell/em-term.el (eshell-visual-commands)
13037 (eshell-visual-subcommands, eshell-visual-options):
13038 Add summary line to docstrings. Add cross-references.
13039
13040 2013-06-10 Glenn Morris <rgm@gnu.org>
13041
13042 * epa.el (epa-read-file-name): New function. (Bug#14510)
13043 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13044
13045 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13046
13047 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13048 output redirection to be ignored with visual commands.
13049
13050 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13051
13052 * eshell/em-term.el (eshell-visual-command-p): New function.
13053 (eshell-term-initialize): Move long lambda to separate function
13054 eshell-visual-command-p.
13055 * eshell/em-dirs.el (eshell-dirs-initialize):
13056 * eshell/em-script.el (eshell-script-initialize):
13057 Add missing #' to lambda.
13058
13059 2013-06-08 Leo Liu <sdl.web@gmail.com>
13060
13061 * progmodes/octave.el (octave-add-log-current-defun): New function.
13062 (octave-mode): Set add-log-current-defun-function.
13063 (octave-goto-function-definition): Do not move point if not found.
13064 (octave-find-definition): Enhance to try subfunctions first.
13065
13066 2013-06-08 Glenn Morris <rgm@gnu.org>
13067
13068 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13069 (byte-compile-backward-char, byte-compile-backward-word):
13070 Improve previous change, to handle non-explicit nil.
13071
13072 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13073
13074 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13075 (smie--opener/closer-at-point): New function.
13076 (smie--matching-block-data): Use it. Don't match from right after an
13077 opener or right before a closer. Obey smie-blink-matching-inners.
13078 Don't signal a mismatch for repeated inners like "switch..case..case".
13079
13080 2013-06-07 Leo Liu <sdl.web@gmail.com>
13081
13082 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13083 to t. (Bug#14303)
13084 (octave-function-header-regexp): Fix. (Bug#14570)
13085 (octave-help-mode-finish-hook, octave-help-mode-finish):
13086 Remove. Just use temp-buffer-show-hook.
13087
13088 * newcomment.el (comment-search-backward): Revert last change.
13089 (Bug#14434)
13090
13091 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13092
13093 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13094
13095 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13096 through xargs, to avoid failure due to MS-Windows limitations on
13097 command-line length.
13098
13099 2013-06-06 Glenn Morris <rgm@gnu.org>
13100
13101 * font-lock.el (lisp-font-lock-keywords-2):
13102 Treat user-error like error.
13103
13104 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13105 (byte-compile-backward-char, byte-compile-backward-word):
13106 Handle explicit nil arguments. (Bug#14565)
13107
13108 2013-06-05 Alan Mackenzie <acm@muc.de>
13109
13110 * isearch.el (isearch-allow-prefix): New user option.
13111 (isearch-other-meta-char): Don't exit isearch when a prefix
13112 argument is typed whilst `isearch-allow-prefix' is non-nil.
13113 (Bug#9706)
13114
13115 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13116
13117 * autorevert.el (auto-revert-notify-handler): Use memq.
13118 Hide assertion failure.
13119
13120 * skeleton.el: Use cl-lib.
13121 (skeleton-further-elements): Use defvar-local.
13122 (skeleton-insert): Use cl-progv.
13123
13124 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13125
13126 * progmodes/prog-mode.el (prog-prettify-symbols)
13127 (prog-prettify-install): Update docstrings.
13128
13129 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13130
13131 * simple.el: Move all the prog-mode code to prog-mode.el.
13132 * progmodes/prog-mode.el: New file.
13133 * loadup.el: Add prog-mode.el.
13134
13135 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13136
13137 * simple.el (prog-prettify-symbols): Add version.
13138 (prog-prettify-install): Add convenience function to prettify symbols.
13139
13140 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13141 (perl--augmented-font-lock-keywords-1)
13142 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13143 variables and use it.
13144
13145 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13146 (cfengine3-mode): Remove unneeded variable and use it.
13147
13148 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13149 (lisp--augmented-font-lock-keywords-1)
13150 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13151 Remove unneeded variables and use it.
13152
13153 2013-06-05 João Távora <joaotavora@gmail.com>
13154
13155 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13156 to point when opening the connection. (Bug#14380)
13157
13158 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13159
13160 * subr.el (load-history-regexp, load-history-filename-element)
13161 (eval-after-load, after-load-functions, do-after-load-evaluation)
13162 (eval-next-after-load, display-delayed-warnings)
13163 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13164 definition of save-match-data.
13165 (overriding-local-map): Remove accidental obsolescence declaration.
13166
13167 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13168
13169 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13170
13171 Generalize symbol prettify support to prog-mode and implement it
13172 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13173 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13174 (prog--prettify-font-lock-compose-symbol)
13175 (prog-prettify-font-lock-symbols-keywords): New variables and
13176 functions to support symbol prettification.
13177 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13178 (lisp--augmented-font-lock-keywords-1)
13179 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13180 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13181 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13182 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13183 Implement prettify of -> => :: strings.
13184 * progmodes/perl-mode.el (perl-prettify-symbols)
13185 (perl--font-lock-compose-symbol)
13186 (perl--font-lock-symbols-keywords): Move to prog-mode.
13187 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13188 (perl-font-lock-keywords-1)
13189 (perl-font-lock-keywords-2): Remove explicit prettify support.
13190 (perl--augmented-font-lock-keywords)
13191 (perl--augmented-font-lock-keywords-1)
13192 (perl--augmented-font-lock-keywords-2, perl-mode):
13193 Implement prettify support.
13194
13195 2013-06-05 Leo Liu <sdl.web@gmail.com>
13196
13197 Re-implement SMIE matching block highlight using
13198 show-paren-data-function. (Bug#14395)
13199 * emacs-lisp/smie.el (smie-matching-block-highlight)
13200 (smie--highlight-matching-block-overlay)
13201 (smie--highlight-matching-block-lastpos)
13202 (smie-highlight-matching-block)
13203 (smie-highlight-matching-block-mode): Remove.
13204 (smie--matching-block-data-cache): New variable.
13205 (smie--matching-block-data): New function.
13206 (smie-setup): Use smie--matching-block-data for
13207 show-paren-data-function.
13208
13209 * progmodes/octave.el (octave-mode-menu): Fix.
13210 (octave-find-definition): Skip garbage lines.
13211
13212 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13213
13214 Fix compilation error with simultaneous dynamic+lexical scoping.
13215 Add warning when a defvar appears after the first let-binding.
13216 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13217 (byte-compile-close-variables): Initialize it.
13218 (byte-compile--declare-var): New function.
13219 (byte-compile-file-form-defvar)
13220 (byte-compile-file-form-define-abbrev-table)
13221 (byte-compile-file-form-custom-declare-variable): Use it.
13222 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13223 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13224 (byte-compile-bind): Handle dynamic bindings that shadow
13225 lexical bindings.
13226 (byte-compile-unbind): Make arg non-optional.
13227 (byte-compile-let): Simplify.
13228 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13229 (cconv--analyse-function, cconv-analyse-form): Populate it.
13230 Protect byte-compile-bound-variables to limit the scope of defvars.
13231 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13232 Remove unneeded rule for `declare'.
13233
13234 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13235 so as to avoid depending on cl-adjoin at run-time.
13236 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13237
13238 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13239 (macroexp--warn-and-return): Use it.
13240
13241 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13242
13243 * subr.el: Convert to lexical binding.
13244 (overriding-local-map): Make obsolete.
13245 (add-to-list): Doc fix. Add compiler macro.
13246 (read-key): Swap values of local maps.
13247
13248 2013-06-05 Leo Liu <sdl.web@gmail.com>
13249
13250 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13251
13252 2013-06-04 Leo Liu <sdl.web@gmail.com>
13253
13254 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13255 (compilation-auto-jump): Suppress the "Mark set" message to give
13256 way to exit message.
13257
13258 2013-06-04 Alan Mackenzie <acm@muc.de>
13259
13260 Remove faulty optimisation from indentation calculation.
13261 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13262 search limit based on 2000 characters back from indent-point.
13263
13264 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13265
13266 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13267
13268 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13269
13270 * emacs-lisp/lisp.el: Use lexical-binding.
13271 (lisp--local-variables-1, lisp--local-variables): New functions.
13272 (lisp--local-variables-completion-table): New var.
13273 (lisp-completion-at-point): Use it complete let-bound vars.
13274
13275 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13276 eagerly (bug#14422).
13277
13278 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13279
13280 * autorevert.el (auto-revert-notify-enabled)
13281 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13282 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13283 (auto-revert-notify-handler): Handle also gfilenotify.
13284
13285 * subr.el (file-notify-handle-event): New defun. Replacing ...
13286 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13287 Remove.
13288
13289 2013-06-03 Juri Linkov <juri@jurta.org>
13290
13291 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13292 `M-s h .'. (Bug#14427)
13293
13294 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13295 command `hi-lock-face-symbol-at-point'.
13296 (hi-lock-face-symbol-at-point): New command.
13297 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13298 (hi-lock-menu): Add `highlight-symbol-at-point'.
13299 (hi-lock-mode): Doc fix.
13300
13301 * isearch.el (isearch-forward-symbol-at-point): New command.
13302 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13303 (isearch-highlight-regexp): Add a regexp which matches
13304 words/symbols for word/symbol mode.
13305
13306 * subr.el (find-tag-default-bounds): New function with the body
13307 mostly moved from `find-tag-default'.
13308 (find-tag-default): Move most code to `find-tag-default-bounds',
13309 call it and apply `buffer-substring-no-properties' afterwards.
13310
13311 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13312
13313 * eshell/em-term.el (eshell-term-initialize):
13314 Use `cl-intersection' rather than `intersection'.
13315
13316 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13317
13318 * vc/log-view.el: Doc fix.
13319 (log-view-mode-map): Copy keymap from `special-mode-map'.
13320
13321 2013-06-02 Eric Ludlam <zappo@gnu.org>
13322
13323 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13324 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13325 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13326 (eieio-unbound, eieio-default-superclass)
13327 (eieio--define-field-accessors, method-static, method-before)
13328 (method-primary, method-after, method-num-lists)
13329 (method-generic-before, method-generic-primary)
13330 (method-generic-after, method-num-slots)
13331 (eieio-specialized-key-to-generic-key)
13332 (eieio--check-type, class-v, class-p)
13333 (eieio-class-name, define-obsolete-function-alias)
13334 (eieio-class-parents-fast, eieio-class-children-fast)
13335 (same-class-fast-p, class-constructor, generic-p)
13336 (generic-primary-only-p, generic-primary-only-one-p)
13337 (class-option-assoc, class-option, eieio-object-p)
13338 (class-abstract-p, class-method-invocation-order)
13339 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13340 (eieio-class-un-autoload, eieio-defclass)
13341 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13342 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13343 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13344 (eieio-defgeneric-reset-generic-form)
13345 (eieio-defgeneric-form-primary-only)
13346 (eieio-defgeneric-reset-generic-form-primary-only)
13347 (eieio-defgeneric-form-primary-only-one)
13348 (eieio-defgeneric-reset-generic-form-primary-only-one)
13349 (eieio-unbind-method-implementations)
13350 (eieio--defmethod, eieio--typep)
13351 (eieio-perform-slot-validation, eieio-validate-slot-value)
13352 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13353 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13354 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13355 (eieio-slot-name-index, eieio-class-slot-name-index)
13356 (eieio-set-defaults, eieio-initarg-to-attribute)
13357 (eieio-attribute-to-initarg, eieio-c3-candidate)
13358 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13359 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13360 (eieio-class-precedence-list, eieio-generic-call-methodname)
13361 (eieio-generic-call-arglst, eieio-generic-call-key)
13362 (eieio-generic-call-next-method-list)
13363 (eieio-pre-method-execution-functions, eieio-generic-call)
13364 (eieio-generic-call-primary-only, eieiomt-method-list)
13365 (eieiomt-optimizing-obarray, eieiomt-install)
13366 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13367 (eieio-generic-form, eieio-defmethod, make-obsolete)
13368 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13369 (defclass): Remove `eval-and-compile' from macro.
13370 (call-next-method, shared-initialize): Instead of using
13371 `scoped-class' variable, use new eieio--scoped-class, and
13372 eieio--with-scoped-class.
13373 (initialize-instance): Rename local variable 'scoped-class' to
13374 'this-class' to remove ambiguitity from old global.
13375
13376 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13377 eieio.el.
13378 (eieio--scoped-class-stack): New variable.
13379 (eieio--scoped-class): New fcn.
13380 (eieio--with-scoped-class): New scoping macro.
13381 (eieio-defclass): Use pushnew instead of add-to-list.
13382 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13383 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13384 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13385 `scoped-class' variable, use new eieio--scoped-class, and
13386 eieio--with-scoped-class.
13387
13388 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13389
13390 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13391
13392 * eshell/esh-ext.el (eshell-external-command): Pass args to
13393 `eshell-find-interpreter'.
13394 (eshell-find-interpreter): Add new second parameter ARGS.
13395
13396 * eshell/em-script.el (eshell-script-initialize): Add second arg
13397 to the function added as MATCH to `eshell-interpreter-alist'.
13398
13399 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13400 the function added as MATCH to `eshell-interpreter-alist'.
13401
13402 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13403 (eshell-visual-options): New defcustom.
13404 (eshell-escape-control-x): Adapt docstring.
13405 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13406 `eshell-visual-options' in addition to `eshell-visual-commands'.
13407 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13408
13409 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13410
13411 * progmodes/python.el (python-indent-block-enders): Add break,
13412 continue and raise keywords.
13413
13414 2013-06-01 Glenn Morris <rgm@gnu.org>
13415
13416 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13417
13418 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13419 * progmodes/cc-cmds.el (delete-forward-p):
13420 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13421 * progmodes/cc-engine.el (buffer-syntactic-context):
13422 * progmodes/cc-fonts.el (face-property-instance):
13423 * progmodes/cc-mode.el (set-keymap-parents):
13424 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13425 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13426 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13427 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13428 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13429
13430 * progmodes/cc-vars.el (other): Emacs has this widget since
13431 at least 21.1, so don't (re)define it.
13432
13433 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13434 Replace the obsolete alias pcomplete-arg-quote-list.
13435
13436 2013-06-01 Leo Liu <sdl.web@gmail.com>
13437
13438 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13439 punctuation syntax.
13440 (inferior-octave-minimal-columns)
13441 (inferior-octave-last-column-width): New variables.
13442 (inferior-octave-track-window-width-change): New function.
13443 (inferior-octave-mode): Adjust column width so that Octave output,
13444 for example from 'ls', can fit into the window nicely.
13445
13446 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13447
13448 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13449 Highlight expansions inside regexp literals.
13450
13451 2013-05-31 Glenn Morris <rgm@gnu.org>
13452
13453 * obsolete/sym-comp.el (symbol-complete):
13454 Replace obsolete completion-annotate-function.
13455
13456 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13457
13458 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13459
13460 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13461 New function, checks if point is inside a literal that allows
13462 expression expansion.
13463 (ruby-syntax-propertize-expansion): Use it.
13464 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13465 around the body.
13466
13467 2013-05-30 Juri Linkov <juri@jurta.org>
13468
13469 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13470 to "\M-si".
13471 (isearch-invisible): New variable.
13472 (isearch-forward): Doc fix.
13473 (isearch-mode): Set `isearch-invisible'
13474 to the value of `search-invisible'.
13475 (isearch-toggle-case-fold): Doc fix.
13476 (isearch-toggle-invisible): New command.
13477 (isearch-query-replace): Let-bind `search-invisible'
13478 to the value of `isearch-invisible'.
13479 (isearch-search): Use `isearch-invisible' instead of
13480 `search-invisible'. Let-bind `search-invisible'
13481 to the value of `isearch-invisible'. (Bug#11378)
13482
13483 2013-05-30 Juri Linkov <juri@jurta.org>
13484
13485 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13486 call when `query-flag' is nil and `search-invisible' is non-nil.
13487 (Bug#11746)
13488
13489 2013-05-30 Glenn Morris <rgm@gnu.org>
13490
13491 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13492
13493 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13494 (cc-require): Suppress spurious "noruntime" warnings.
13495 (cc-require-when-compile): Use fboundp, for sake of compiler.
13496
13497 * progmodes/cc-mode.el: Move load of cc-vars before that of
13498 cc-langs (which in turn loads cc-vars), to quieten compiler.
13499
13500 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13501
13502 * paren.el: Simplify the code.
13503 (show-paren-mode): Always start the timer.
13504 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13505 (show-paren--overlay, show-paren--overlay-1): Rename from
13506 show-paren-overlay and show-paren-overlay-1, and initialize to an
13507 overlay rather than to nil.
13508 (show-paren-function): Misc cleanup and simplifications.
13509
13510 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13511
13512 * paren.el (show-paren-data-function): New hook.
13513 (show-paren--default): New function, extracted from show-paren-function.
13514 (show-paren-function): Use show-paren-data-function.
13515
13516 2013-05-30 Glenn Morris <rgm@gnu.org>
13517
13518 * ielm.el (ielm-map, ielm-complete-symbol):
13519 Use completion-at-point rather than obsolete functions.
13520 (inferior-emacs-lisp-mode): Doc fix.
13521 Set completion-at-point-functions, rather than
13522 comint-dynamic-complete-functions.
13523
13524 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13525 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13526 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13527
13528 * image.el (image-animated-p): Tweak definition.
13529
13530 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13531 (rlogin-process-connection-type): Tweak default. Add set-after.
13532 (rlogin-host): Doc fix.
13533 (rlogin): Tweak prompt.
13534 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13535
13536 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13537 * progmodes/tcl.el (inferior-tcl-mode-map):
13538 Use completion-at-point rather than obsolete alias.
13539
13540 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13541
13542 * minibuffer.el (read-file-name-completion-ignore-case):
13543 Move before completion--in-region, for eager macro expansion.
13544
13545 2013-05-29 Juri Linkov <juri@jurta.org>
13546
13547 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13548 for total count of matching lines. Add `global-matches' for total
13549 count of matches. Rename `matches' to `lines' for count of
13550 matching lines. Add `matches' for count of matches.
13551 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13552 to `prev-line' for line number of prev match endpt.
13553 Increment `matches' for every match. Print the number of
13554 matching lines in the header.
13555 (occur-context-lines): Rename `lines' to `curr-line'.
13556 Rename `prev-lines' to `prev-line'. (Bug#14017)
13557
13558 2013-05-29 Juri Linkov <juri@jurta.org>
13559
13560 * replace.el (perform-replace): Add `skip-read-only-count',
13561 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13562 Increment them for corresponding conditions and report the number
13563 of skipped occurrences in the final message. (Bug#11746)
13564 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13565 (replace-string, replace-regexp): Doc fix.
13566
13567 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13568
13569 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13570
13571 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13572 prog-mode-map (bug#14504).
13573
13574 2013-05-29 Leo Liu <sdl.web@gmail.com>
13575
13576 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13577 (octave-help): Small simplification.
13578
13579 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13580 off the highlight first.
13581
13582 2013-05-29 Glenn Morris <rgm@gnu.org>
13583
13584 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13585 Handle idlwave-last-system-routine-info-cons-cell being nil.
13586
13587 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13588 (idlwave-write-paths): Simplify via with-temp-buffer.
13589
13590 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13591 * emulation/cua-rect.el: Also load cua-base at run time.
13592
13593 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13594 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13595 (cperl-imenu-on-info): Require imenu.
13596
13597 2013-05-28 Alan Mackenzie <acm@muc.de>
13598
13599 Handle "capitalised keywords" correctly.
13600 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13601
13602 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13603
13604 * eshell/em-unix.el: Add -r option to cp.
13605
13606 2013-05-28 Glenn Morris <rgm@gnu.org>
13607
13608 * vc/vc-arch.el (vc-exec-after): Declare.
13609 (vc-switches): Autoload.
13610 * vc/vc-bzr.el: No need to require vc when compiling.
13611 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13612 (vc-resynch-buffer, vc-dir-refresh): Declare.
13613 (vc-setup-buffer, vc-switches): Autoload.
13614 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13615 (vc-resynch-buffer): Declare.
13616 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13617 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13618 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13619 (grep-read-regexp, grep-read-files, grep-expand-template)
13620 (vc-dir-refresh): Declare.
13621 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13622 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13623 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13624 * vc/vc-mtn.el (vc-exec-after): Declare.
13625 (vc-switches): Autoload.
13626 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13627 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13628 (vc-file-tree-walk): Declare.
13629 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13630 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13631 (vc-tag-precondition, vc-rename-master): Autoload.
13632 * vc/vc-svn.el (vc-exec-after): Declare.
13633 (vc-switches, vc-setup-buffer): Autoload.
13634 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13635 Autoload.
13636 (vc-resynch-buffer): Declare.
13637
13638 * obsolete/fast-lock.el (byte-compile-warnings):
13639 Don't warn about obsolete features in this obsolete file.
13640
13641 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13642 Move definition before use.
13643
13644 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13645 (dun-unix-verbs): Remove dun-zippy.
13646 (dun-zippy): Remove function.
13647
13648 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13649
13650 2013-05-27 Juri Linkov <juri@jurta.org>
13651
13652 * replace.el (replace-search): New function with code moved out
13653 from `perform-replace'.
13654 (replace-highlight, replace-dehighlight): Move function definitions
13655 up closer to `replace-search'. (Bug#11746)
13656
13657 2013-05-27 Juri Linkov <juri@jurta.org>
13658
13659 * replace.el (perform-replace): Ignore invisible matches.
13660 In addition to checking `query-replace-skip-read-only', also
13661 filter out matches by calling `run-hook-with-args-until-failure'
13662 on `isearch-filter-predicates', and also check `search-invisible'
13663 for t or call `isearch-range-invisible'.
13664 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13665
13666 2013-05-27 Juri Linkov <juri@jurta.org>
13667
13668 * isearch.el (isearch-filter-predicates): Rename from
13669 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13670 (isearch-message-prefix): Display text from the property
13671 `isearch-message-prefix' of the currently active filters.
13672 (isearch-search): Don't compare `isearch-filter-predicate' with
13673 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13674 on `isearch-filter-predicates'. Also check `search-invisible' for t
13675 or call `isearch-range-invisible'.
13676 (isearch-filter-visible): Make obsolete.
13677 (isearch-lazy-highlight-search):
13678 Call `run-hook-with-args-until-failure' on
13679 `isearch-filter-predicates' and use `isearch-range-invisible'.
13680
13681 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13682 `isearch-filter-predicates' instead of `funcall'ing
13683 `isearch-filter-predicate'.
13684 (Info-mode): Set `Info-isearch-filter' to
13685 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13686
13687 * dired-aux.el (dired-isearch-filter-predicate-orig):
13688 Remove variable.
13689 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13690 (dired-isearch-filenames-end): Add and remove
13691 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13692 instead of changing the value of `isearch-filter-predicate'.
13693 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13694 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13695 Put property `isearch-message-prefix' to "filename " on
13696 `dired-isearch-filter-filenames'.
13697
13698 * wdired.el (wdired-change-to-wdired-mode):
13699 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13700 locally instead of changing `isearch-filter-predicate'.
13701 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13702
13703 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13704
13705 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13706 return the commit hash (Bug#14459). Also set the
13707 `vc-git-detached' property.
13708 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13709 (vc-git-mode-line-string): Use the same help-echo format whether
13710 in detached mode or not, because we know the actual revision now.
13711 When in detached mode, shorten the revision to 7 chars.
13712
13713 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13714
13715 * emacs-lisp/easy-mmode.el (define-minor-mode):
13716 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13717 mode hook and provide a docstring.
13718
13719 2013-05-27 Alan Mackenzie <acm@muc.de>
13720
13721 Remove spurious syntax-table text properties inserted by C-y.
13722 * progmodes/cc-mode.el (c-after-change): Also clear hard
13723 syntax-table property with value nil.
13724
13725 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13726
13727 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13728 when reading the events; the buffer layout shall not be changed.
13729
13730 2013-05-27 Leo Liu <sdl.web@gmail.com>
13731
13732 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13733 New variable.
13734 (inferior-octave-directory-tracker): Automatically re-sync
13735 default-directory.
13736 (octave-help): Improve handling of 'See also'.
13737
13738 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13739
13740 * doc-view.el: Minor naming convention tweaks.
13741 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13742
13743 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13744 even if there's no `display' property yet (bug#14435).
13745
13746 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13747
13748 * subr.el (unmsys--file-name): Rename from reveal-filename.
13749
13750 * Makefile.in (custom-deps, finder-data, autoloads)
13751 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13752 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13753 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13754
13755 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13756
13757 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13758 error-completion on the first 2 args of condition-case (bug#14446).
13759 Don't burp at EOB.
13760
13761 2013-05-25 Leo Liu <sdl.web@gmail.com>
13762
13763 * comint.el (comint-previous-matching-input): Do not flood the
13764 *Messages* buffer with trivial messages.
13765
13766 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13767
13768 * progmodes/flymake.el (flymake-nop): Don't return a string.
13769 (flymake-set-at): Fix typo.
13770
13771 * simple.el (read--expression): New function, extracted from
13772 eval-expression. Set completion-at-point-functions (bug#14465).
13773 (eval-expression, eval-minibuffer): Use it.
13774
13775 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13776
13777 * progmodes/flymake.el (flymake-save-buffer-in-file)
13778 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13779 (flymake-selected-frame, flymake-log, flymake-ins-after)
13780 (flymake-set-at, flymake-get-buildfile-from-cache)
13781 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13782 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13783 Refine the doc string.
13784 (flymake-get-file-name-mode-and-masks): Reformat.
13785 (flymake-get-real-file-name-function): Fix a minor bug.
13786
13787 2013-05-24 Juri Linkov <juri@jurta.org>
13788
13789 * progmodes/grep.el (grep-mode-font-lock-keywords):
13790 Support =linenumber= format used by git-grep for lines with
13791 function names. (Bug#13549)
13792
13793 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13794
13795 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13796 0 after a semi-colon; it works better for smie-auto-fill.
13797 (octave--indent-new-comment-line): New function.
13798 (octave-indent-new-comment-line): Use it (indirectly).
13799 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13800 modify comment-line-break-function.
13801
13802 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13803 (smie-setup): Use add-function to set it.
13804
13805 2013-05-24 Sam Steingold <sds@gnu.org>
13806
13807 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13808 argument (before the `interactive' argument).
13809
13810 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13811
13812 * image-mode.el (image-mode-winprops): Add winprops to
13813 image-mode-winprops-alist before running
13814 image-mode-new-window-functions.
13815 * doc-view.el (doc-view-new-window-function): Don't delay
13816 doc-view-goto-page via timers (bug#14435).
13817
13818 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13819
13820 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13821 (doc-view-desktop-save-buffer): New function.
13822 (doc-view-restore-desktop-buffer): New function.
13823 (desktop-buffer-mode-handlers):
13824 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13825 handler.
13826 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13827 `desktop-save-buffer' function.
13828
13829 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13830
13831 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13832 (tramp-gvfs-file-name-handler): Raise a user error when
13833 `tramp-gvfs-enabled' is nil.
13834 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13835 Do not raise a user error when loading package. (Bug#14447)
13836
13837 * net/xesam.el: Move to obsolete/.
13838
13839 2013-05-24 Glenn Morris <rgm@gnu.org>
13840
13841 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13842
13843 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13844
13845 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13846 (Info-find-node, Man-getpage-in-background): Declare.
13847
13848 * mail/unrmail.el (unrmail):
13849 Replace obsolete detect-coding-with-priority.
13850
13851 * net/socks.el (socks-split-string): Use this rather than split-string.
13852 (socks-nslookup-host): Update for above change.
13853 (dynamic-choice, s5-dynamic-choice-match)
13854 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13855 Comment out unused code.
13856
13857 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13858 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13859 (gud-tooltip-echo-area): Make obsolete.
13860 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13861
13862 * progmodes/js.el (js--optimize-arglist): Declare.
13863
13864 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13865
13866 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13867 (ediff-window-C): Declare.
13868
13869 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13870 Tweak requires to silence compiler.
13871
13872 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13873 (he-search-string, he-tried-table, he-expand-list)
13874 (he-init-string, he-string-member, he-substitute-string)
13875 (he-reset-string): Declare.
13876
13877 * obsolete/options.el (list-options): Use custom-variable-p,
13878 rather than obsolete alias.
13879
13880 2013-05-23 Sam Steingold <sds@gnu.org>
13881
13882 * simple.el (shell-command-on-region): Pass the `replace' argument
13883 down to `call-process-region' to comply with the doc as reported on
13884 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13885
13886 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13887
13888 * emacs-lisp/smie.el (smie-indent-forward-token)
13889 (smie-indent-backward-token): Handle string tokens (bug#14381).
13890
13891 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13892
13893 * ielm.el (ielm-menu): New menu.
13894 (inferior-emacs-lisp-mode): Set comment-start.
13895
13896 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13897
13898 * textmodes/reftex.el (reftex-ref-style-toggle):
13899 Fix deactivate action.
13900
13901 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13902 Add cleveref macros.
13903
13904 * textmodes/reftex-parse.el
13905 (reftex-locate-bibliography-files): Accept options for
13906 bibliography commands.
13907 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13908 Add addbibresource. Basic Biblatex support.
13909
13910 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13911
13912 * net/tramp-gvfs.el (top):
13913 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13914 when loading package. (Bug#14447)
13915
13916 2013-05-23 Glenn Morris <rgm@gnu.org>
13917
13918 * progmodes/js.el: No need to load comint when compiling.
13919 (ring-insert, comint-send-string, comint-send-input)
13920 (comint-last-input-end, ido-chop): Declare.
13921
13922 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13923 * vc/ediff-mult.el: Adjust requires.
13924 (ediff-directories-internal, ediff-directory-revisions-internal)
13925 (ediff-patch-file-internal): Declare.
13926 * vc/ediff-ptch.el: Adjust requires.
13927 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13928 (ediff-find-file): Autoload.
13929 * vc/ediff-util.el: No need to load ediff when compiling.
13930 (ediff-regions-internal): Declare.
13931 * vc/ediff-wind.el: Adjust requires.
13932 (ediff-compute-toolbar-width): Define when compiling.
13933 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13934 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13935 (dired-get-filename, dired-get-marked-files)
13936 (ediff-last-dir-patch, ediff-patch-default-directory)
13937 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13938 (ediff-patch-buffer-internal): Declare.
13939
13940 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13941 (ispell-process, ispell-buffer-local-words, lm-summary)
13942 (lm-section-start, lm-section-end): Declare.
13943 (checkdoc-ispell-init): Simplify.
13944
13945 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13946 (he-string-member, he-reset-string, he-substitute-string): Declare.
13947
13948 * eshell/em-ls.el: Adjust requires.
13949 (eshell-glob-regexp): Declare.
13950 * eshell/em-tramp.el: Adjust requires.
13951 (eshell-parse-command): Autoload.
13952 * eshell/em-xtra.el: Adjust requires.
13953 (eshell-parse-command): Autoload.
13954 * eshell/esh-ext.el: Adjust requires.
13955 (eshell-parse-command, eshell-close-handles): Autoload.
13956 * eshell/esh-io.el: Adjust requires.
13957 (eshell-output-filter): Autoload.
13958 * eshell/esh-util.el: No need to load tramp when compiling.
13959 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13960 Declare.
13961 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13962 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13963 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13964 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13965 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13966 * eshell/esh-opt.el, eshell/esh-proc.el:
13967 * eshell/esh-var.el: Adjust requires.
13968 * eshell/eshell.el: Do not require esh-util twice.
13969 (eshell-add-input-to-history): Declare.
13970 (eshell-command): Check history module is active before using it.
13971
13972 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13973
13974 2013-05-22 Leo Liu <sdl.web@gmail.com>
13975
13976 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13977
13978 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13979
13980 * autorevert.el (auto-revert-notify-add-watch)
13981 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13982 it indicates changes in file modification time.
13983
13984 2013-05-22 Glenn Morris <rgm@gnu.org>
13985
13986 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13987 Always delete the autoloaded function from the noruntime and
13988 unresolved functions lists.
13989
13990 * allout.el: No need to load epa, epg, overlay when compiling.
13991 (epg-context-set-passphrase-callback, epg-list-keys)
13992 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13993 (epg-key-user-id-list): Declare.
13994
13995 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13996 (viper-set-parsing-style-toggling-macro)
13997 (viper-set-emacs-state-searchstyle-macros):
13998 Use called-interactively-p on Emacs.
13999 (viper-looking-back): Make it an obsolete alias. Update callers.
14000 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14001 Use looking-back rather than viper-looking-back.
14002 (viper-tmp-insert-at-eob, viper-enlarge-region)
14003 (viper-read-string-with-history, viper-register-to-point)
14004 (viper-append-to-register, viper-change-state-to-vi)
14005 (viper-backward-char-carefully, viper-forward-char-carefully)
14006 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14007 (viper-change-state-to-emacs): Declare.
14008 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14009 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14010 * emulation/viper-mous.el: Do not load viper-cmd.
14011 (viper-backward-char-carefully, viper-forward-char-carefully)
14012 (viper-forward-word, viper-adjust-window): Declare.
14013
14014 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14015
14016 * progmodes/idlw-help.el (idlwave-help-fontify):
14017 Use called-interactively-p.
14018
14019 * term/w32console.el (w32-get-console-codepage)
14020 (w32-get-console-output-codepage): Declare.
14021
14022 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14023 Remove unnecessary declarations.
14024 (dframe-message): Doc fix.
14025
14026 * info.el (dframe-select-attached-frame, dframe-current-frame):
14027 Declare.
14028
14029 * speedbar.el (speedbar-message): Make it an obsolete alias.
14030 Update all callers.
14031 (speedbar-with-attached-buffer)
14032 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14033 (speedbar-with-writable): Use backquote.
14034 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14035 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14036 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14037 rather than speedbar- aliases.
14038 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14039 (speedbar-make-specialized-keymap, speedbar-insert-button)
14040 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14041 (speedbar-do-function-pointer): Declare.
14042 (rmail-speedbar-button, rmail-speedbar-find-file)
14043 (rmail-speedbar-move-message):
14044 Use dframe-with-attached-buffer rather than speedbar- alias.
14045 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14046 (dframe-message, speedbar-make-specialized-keymap)
14047 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14048 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14049 (speedbar-insert-button, dframe-select-attached-frame)
14050 (dframe-maybee-jump-to-attached-frame)
14051 (speedbar-change-initial-expansion-list)
14052 (speedbar-previously-used-expansion-list-name): Declare.
14053 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14054 Use dframe-message, dframe-with-attached-buffer rather than
14055 speedbar- aliases.
14056 (gud-sentinel): Silence compiler.
14057 * progmodes/vhdl-mode.el (speedbar-refresh)
14058 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14059 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14060 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14061 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14062 (speedbar-file-lists, speedbar-make-tag-line)
14063 (speedbar-line-directory, speedbar-goto-this-file)
14064 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14065 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14066 (speedbar-make-button, speedbar-reset-scanners)
14067 (speedbar-files-item-info, speedbar-line-text)
14068 (speedbar-find-file-in-frame, speedbar-set-timer)
14069 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14070 (speedbar-with-writable): Do not (re)define it.
14071 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14072 rather than speedbar- alias.
14073
14074 2013-05-21 Leo Liu <sdl.web@gmail.com>
14075
14076 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14077 menu items.
14078 (octave-mode): Tweak fill-nobreak-predicate.
14079 (inferior-octave-startup): Check process to avoid infinite loop.
14080 (inferior-octave): Pop to buffer first to show abornmal process
14081 exit information.
14082
14083 2013-05-21 Glenn Morris <rgm@gnu.org>
14084
14085 * printing.el (pr-menu-bar): Define when compiling.
14086
14087 2013-05-21 Leo Liu <sdl.web@gmail.com>
14088
14089 * progmodes/octave.el (octave-auto-fill): Remove.
14090 (octave-indent-new-comment-line): Improve.
14091 (octave-mode): Use auto fill mode through
14092 comment-line-break-function and fill-nobreak-predicate.
14093 (octave-goto-function-definition): Support DEFUN_DLD.
14094 (octave-beginning-of-defun): Small tweak.
14095 (octave-help): Show parent directory.
14096
14097 2013-05-21 Glenn Morris <rgm@gnu.org>
14098
14099 * files.el (dired-unmark):
14100 * progmodes/gud.el (gdb-input): Update declarations.
14101
14102 * calculator.el (electric, ehelp): No need to load when compiling.
14103 (Electric-command-loop, electric-describe-mode): Declare.
14104
14105 * doc-view.el (doc-view-current-converter-processes): Move before use.
14106
14107 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14108 Move MODE-set-explicitly definition before use.
14109
14110 * international/mule-diag.el (mule-diag):
14111 Don't use obsolete window-system-version.
14112
14113 * mail/feedmail.el (smtpmail): No need to load when compiling.
14114 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14115
14116 * mail/mail-utils.el (rfc822): No need to load when compiling.
14117 (rfc822-addresses): Autoload it.
14118 (mail-strip-quoted-names): Trivial simplification.
14119
14120 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14121 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14122
14123 * net/snmp-mode.el (tempo): Don't duplicate requires.
14124
14125 * progmodes/prolog.el (info): No need to load when compiling.
14126 (comint): Require before shell requires it.
14127 (Info-goto-node): Autoload it.
14128 (Info-follow-nearest-node): Declare.
14129 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14130
14131 * textmodes/artist.el (picture-mode-exit): Declare.
14132
14133 * textmodes/reftex-parse.el (reftex-parse-from-file):
14134 Trivial rewrite so the compiler can parse it better.
14135
14136 2013-05-20 Leo Liu <sdl.web@gmail.com>
14137
14138 * progmodes/octave.el (octave-help-mode-map)
14139 (octave-help-mode-finish-hook): New variables.
14140 (octave-help-mode, octave-help-mode-finish): New functions.
14141 (octave-help): Use octave-help-mode.
14142
14143 2013-05-20 Glenn Morris <rgm@gnu.org>
14144
14145 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14146
14147 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14148
14149 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14150 start at point, so that expansion starting right after opening
14151 slash in a regexp is recognized.
14152 (ruby-syntax-before-regexp-re): New defvar, extracted from
14153 ruby-syntax-propertize-function. Since the value of this regexp
14154 is looked up at runtime now, we should be able to turn
14155 `ruby-syntax-methods-before-regexp' into a defcustom later.
14156 (ruby-syntax-propertize-function): Split regexp matching into two
14157 parts, for opening and closing slashes. That allows us to skip
14158 over string interpolations and support multiline regexps.
14159 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14160 for them, which calls `ruby-syntax-propertize-expansion'.
14161 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14162 call to `ruby-syntax-propertize-function'.
14163 (ruby-syntax-propertize-expansion): Extracted from
14164 `ruby-syntax-propertize-expansions'. Handles one expansion.
14165 (ruby-syntax-propertize-percent-literal): Leave point right after
14166 the percent symbol, so that the expression expansion rule can
14167 propertize the contents.
14168 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14169 heredoc openers.
14170 (ruby-syntax-propertize-expansions): Remove.
14171
14172 2013-05-18 Juri Linkov <juri@jurta.org>
14173
14174 * man.el (Man-default-man-entry): Remove `-' from the end
14175 of the default value. (Bug#14400)
14176
14177 2013-05-18 Glenn Morris <rgm@gnu.org>
14178
14179 * comint.el (comint-password-prompt-regexp):
14180 Allow "password for XXX" where XXX contains colons (eg https://...).
14181
14182 2013-05-18 Leo Liu <sdl.web@gmail.com>
14183
14184 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14185 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14186 (octave-source-directories): Don't check process.
14187 (octave-source-directories, octave-find-definition): Doc fix.
14188
14189 2013-05-18 Glenn Morris <rgm@gnu.org>
14190
14191 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14192 Remove backspace/delete bindings. (Bug#14392)
14193
14194 * cus-dep.el (custom-make-dependencies): Sort the output.
14195 (custom-versions-load-alist): Convert comment to doc.
14196
14197 2013-05-17 Leo Liu <sdl.web@gmail.com>
14198
14199 * newcomment.el (comment-search-backward): Stricter in finding
14200 comment start. (Bug#14303)
14201
14202 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14203 (octave-comment-start-skip): Properly anchored.
14204
14205 2013-05-17 Leo Liu <sdl.web@gmail.com>
14206
14207 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14208 Clean up when turned off. (Bug#14395)
14209 (smie--highlight-matching-block-overlay): No longer buffer-local.
14210 (smie-highlight-matching-block): Adjust.
14211
14212 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14213
14214 Doc string fix for "nanoseconds" (Bug#14406).
14215 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14216 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14217
14218 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14219
14220 * calc/calc-units.el (math-extract-units): Preserve powers
14221 of units.
14222
14223 2013-05-17 Leo Liu <sdl.web@gmail.com>
14224
14225 * subr.el (delete-consecutive-dups): New function.
14226 * ido.el (ido-set-matches-1): Use it.
14227 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14228 * ido.el (ido-remove-consecutive-dups): Remove.
14229
14230 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14231
14232 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14233 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14234 regexp-opt's `words'.
14235
14236 2013-05-16 Leo Liu <sdl.web@gmail.com>
14237
14238 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14239 (smie--highlight-matching-block-overlay)
14240 (smie--highlight-matching-block-lastpos)
14241 (smie--highlight-matching-block-timer): New variables.
14242 (smie-highlight-matching-block): New function.
14243 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14244 (smie-setup): Conditionally enable smie-blink-matching-open.
14245
14246 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14247
14248 Sync with upstream verilog-mode r840.
14249 * progmodes/verilog-mode.el (verilog-mode-version)
14250 (verilog-mode-release-date): Update.
14251 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14252 (verilog-sig-tieoff): Fix string error on
14253 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14254 (verilog-read-decls): Fix parameters confusing
14255 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14256
14257 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14258
14259 * subr.el (reveal-filename): New function.
14260
14261 * loadup.el: Compute Emacs executable versions on MS-Windows,
14262 where executables have the .exe extension. Add a hard link
14263 emacs-XX.YY.ZZ.exe on MS-Windows.
14264
14265 * Makefile.in (XARGS_LIMIT): New variable.
14266 (custom-deps, finder-data, autoloads)
14267 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14268 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14269 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14270 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14271
14272 2013-05-16 Leo Liu <sdl.web@gmail.com>
14273
14274 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14275 (octave-mode-menu, octave-mode-map): Remove its uses.
14276
14277 2013-05-16 Reto Zimmermann <reto@gnu.org>
14278
14279 Sync with upstream vhdl mode v3.34.2.
14280 * progmodes/vhdl-mode.el: Use `push' throughout.
14281 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14282 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14283 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14284 (vhdl-actual-generic-name): New option to derive actual generic name.
14285 (vhdl-port-paste-signals): Replace formal by actual generics.
14286 (vhdl-beautify): New name for old group vhdl-align. Update users.
14287 (vhdl-beautify-options): New option.
14288 (vhdl-last-input-event): New compat alias. Use throughout.
14289 (vhdl-goto-line): Replace user level function `goto-line'.
14290 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14291 vhdl-fix-statement-buffer.
14292 (vhdl-create-mode-menu): Add some entries.
14293 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14294 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14295 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14296 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14297 to force statements on one line.
14298 (vhdl-remove-trailing-spaces-region):
14299 New, split from vhdl-remove-trailing-spaces.
14300 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14301 Respect vhdl-beautify-options.
14302 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14303 (vhdl-update-sensitivity-list): Not add with index if exists without.
14304 Not include array index with signal. Ignore keywords in comments.
14305 (vhdl-get-visible-signals): Regexp tweaks.
14306 (vhdl-template-component-inst): Handle empty library.
14307 (vhdl-template-type): Add template for 'enum' type.
14308 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14309 Use vhdl-replace-string.
14310 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14311 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14312 (vhdl-speedbar-initialize): Update for above name change.
14313 (vhdl-compose-wire-components): Fix in handling of constants.
14314 (vhdl-error-regexp-emacs-alist): New variable.
14315 (vhdl-error-regexp-add-emacs): New function;
14316 adds support for new compile.el (Emacs 22+)
14317 (vhdl-generate-makefile-1): Change target order for single lib. units.
14318 Allow use of absolute file names.
14319
14320 2013-05-16 Leo Liu <sdl.web@gmail.com>
14321
14322 * simple.el (prog-indent-sexp): Indent enclosing defun.
14323
14324 2013-05-15 Glenn Morris <rgm@gnu.org>
14325
14326 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14327 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14328 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14329 (whitespace-highlight): Move to whitespace group.
14330
14331 * comint.el (comint-source):
14332 * pcmpl-linux.el (pcmpl-linux):
14333 * shell.el (shell-faces):
14334 * eshell/esh-opt.el (eshell-opt):
14335 * international/ccl.el (ccl): Remove empty custom groups.
14336
14337 * completion.el (dynamic-completion-mode):
14338 * jit-lock.el (jit-lock-debug-mode):
14339 * minibuffer.el (completion-in-region-mode):
14340 * type-break.el (type-break-mode-line-message-mode)
14341 (type-break-query-mode):
14342 * emulation/tpu-edt.el (tpu-edt-mode):
14343 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14344 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14345 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14346
14347 * term/xterm.el (xterm): Change parent group to terminals.
14348
14349 * master.el (master): Remove empty custom group.
14350 (master-mode): Remove unused :group argument.
14351 * textmodes/refill.el (refill): Remove empty custom group.
14352 (refill-mode): Remove unused :group argument.
14353
14354 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14355
14356 * cus-dep.el: Provide a feature.
14357 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14358 Don't mistakenly ignore files whose basenames match a basename
14359 from preloaded-file-list (eg cedet/ede/simple.el).
14360 Add a fallback method for getting :group.
14361
14362 2013-05-15 Juri Linkov <juri@jurta.org>
14363
14364 * isearch.el (isearch-char-by-name): Rename from
14365 `isearch-insert-char-by-name'. Doc fix.
14366 (isearch-forward): Mention `isearch-char-by-name' in
14367 the docstring. (Bug#13348)
14368
14369 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14370 `exit-minibuffer' instead of
14371 `isearch-nonincremental-exit-minibuffer'.
14372 (isearch-edit-string): Remove mention of
14373 `isearch-nonincremental-exit-minibuffer' from docstring.
14374 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14375 (isearch-forward-exit-minibuffer)
14376 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14377
14378 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14379
14380 * loadup.el: Just use unversioned DOC.
14381
14382 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14383 literals as extending to EOB.
14384 (nxml-last-fontify-end): Remove unused variable.
14385 (nxml-after-change1): Use with-silent-modifications.
14386 (nxml-extend-after-change-region): Simplify.
14387 (nxml-extend-after-change-region1): Remove function.
14388 (nxml-after-change1): Don't adjust for dependent regions.
14389 (nxml-fontify-matcher): Simplify.
14390 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14391 (xmltok-add-dependent): Remove function.
14392 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14393 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14394 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14395 unclosed <[[, <?, comment, and other literals as extending to EOB.
14396 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14397 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14398 Remove functions.
14399 (rng-do-some-validation-1): Don't mark dependent regions.
14400 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14401 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14402 (nxml-clear-dependent-regions): Remove functions.
14403 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14404 (nxml-ensure-scan-up-to-date):
14405 Don't clear&mark dependent regions.
14406
14407 2013-05-15 Leo Liu <sdl.web@gmail.com>
14408
14409 * progmodes/octave.el (octave-goto-function-definition):
14410 Improve and fix callers.
14411
14412 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14413
14414 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14415 the setter (bug#14387).
14416
14417 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14418 surrounding group (bug#14402).
14419
14420 2013-05-14 Juri Linkov <juri@jurta.org>
14421
14422 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14423 (Bug#14390)
14424
14425 2013-05-14 Glenn Morris <rgm@gnu.org>
14426
14427 * progmodes/f90.el (f90-imenu-generic-expression):
14428 Fix typo in 2013-05-08 change. (Bug#14402)
14429
14430 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14431
14432 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14433 Remove signals for which replies are never received.
14434
14435 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14436
14437 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14438 (gdb-handler-alist, gdb-handler-number): Remove variables.
14439 (gdb-handler-list): New variable.
14440 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14441 (gdb-pending-handler-p, gdb-handle-reply)
14442 (gdb-remove-all-pending-triggers): New functions.
14443 (gdb-discard-unordered-replies): New defcustom.
14444 (gdb-handler): New defstruct.
14445 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14446 instead of gdb-pending-triggers. Update docstring.
14447 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14448 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14449 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14450 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14451 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14452 (gdb-frame-handler): Pending triggers are now automatically managed.
14453 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14454 Remove argument.
14455 (gdb-input): Automatically handles pending triggers. Update docstring.
14456 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14457 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14458 Update comments.
14459 (gdb-done-or-error): Now use gdb-handle-reply.
14460
14461 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14462
14463 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14464 gdb-debug-log.
14465
14466 2013-05-14 Glenn Morris <rgm@gnu.org>
14467
14468 * subr.el (user-emacs-directory-warning): New option.
14469 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14470
14471 2013-05-14 Leo Liu <sdl.web@gmail.com>
14472
14473 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14474 during redisplay.
14475 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14476 (octave-font-lock-texinfo-comment): Fix invalid search bound
14477 error: wrong side of point.
14478
14479 2013-05-14 Glenn Morris <rgm@gnu.org>
14480
14481 * progmodes/flymake.el (flymake-xml-program): New option.
14482 (flymake-xml-init): Use it.
14483
14484 * term/xterm.el: Provide a feature.
14485
14486 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14487
14488 2013-05-13 Glenn Morris <rgm@gnu.org>
14489
14490 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14491 Add compat aliases as a hack workaround. (Bug#14384)
14492
14493 2013-05-13 Leo Liu <sdl.web@gmail.com>
14494
14495 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14496 ###, and %!.
14497 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14498 C-M-q.
14499 (octave-comment-start-skip): Include %!.
14500 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14501
14502 2013-05-12 Leo Liu <sdl.web@gmail.com>
14503
14504 * progmodes/octave.el (inferior-octave-startup): Store the value
14505 of __octave_srcdir__ for octave-source-directories.
14506 (inferior-octave-check-process): New function refactored out of
14507 inferior-octave-send-list-and-digest.
14508 (octave-source-directories)
14509 (octave-find-definition-filename-function): New variables.
14510 (octave-source-directories)
14511 (octave-find-definition-default-filename): New functions.
14512 (octave-find-definition): Improve to find functions implemented in C++.
14513
14514 2013-05-12 Glenn Morris <rgm@gnu.org>
14515
14516 * calendar/diary-lib.el (diary-outlook-format-1):
14517 Don't include dayname in the output. (Bug#14349)
14518
14519 2013-05-11 Glenn Morris <rgm@gnu.org>
14520
14521 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14522
14523 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14524 Treat cc-provide like provide.
14525
14526 2013-05-11 Kevin Ryde <user42@zip.com.au>
14527
14528 * cus-dep.el (custom-make-dependencies):
14529 Use generated-autoload-load-name for the sake of files such
14530 such cedet/semantic/bovine/c.el, where the base file name
14531 is not in load-path. (Bug#5277)
14532
14533 2013-05-11 Glenn Morris <rgm@gnu.org>
14534
14535 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14536 Provide features.
14537
14538 2013-05-11 Leo Liu <sdl.web@gmail.com>
14539
14540 * progmodes/octave.el (octave-indent-comment): Improve.
14541 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14542 (octave-eldoc-function-signatures, octave-eldoc-function):
14543 New functions.
14544 (octave-mode, inferior-octave-mode): Add eldoc support.
14545
14546 2013-05-11 Richard Stallman <rms@gnu.org>
14547
14548 * epa.el (epa-decrypt-file): Take output file name as argument
14549 and read it using `interactive'.
14550
14551 2013-05-11 Leo Liu <sdl.web@gmail.com>
14552
14553 * progmodes/octave.el (octave-beginning-of-line)
14554 (octave-end-of-line): Check before using up-list because it jumps
14555 out of more syntactic contructs since moving to smie.
14556 (octave-indent-comment): New function.
14557 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14558 (octave-begin-keywords, octave-end-keywords)
14559 (octave-reserved-words, octave-smie-bnf-table)
14560 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14561
14562 2013-05-11 Glenn Morris <rgm@gnu.org>
14563
14564 * faces.el (internal-face-x-get-resource):
14565 * frame.el (ns-display-monitor-attributes-list):
14566 * calc/calc-aent.el (math-to-radians-2):
14567 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14568 Fix declarations.
14569
14570 * calc/calc-menu.el: Make it loadable in isolation.
14571
14572 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14573 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14574 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14575 (eudc-bbdb-query-internal): Require 'bbdb.
14576
14577 * lpr.el (lpr-headers-switches):
14578 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14579
14580 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14581
14582 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14583
14584 * term.el (term-set-escape-char): Make it idempotent.
14585
14586 2013-05-10 Leo Liu <sdl.web@gmail.com>
14587
14588 * progmodes/octave.el (inferior-octave-completion-table):
14589 No longer a function and all uses changed. Use cache to speed up
14590 completion due to bug#11906.
14591 (octave-beginning-of-defun): Re-write to be more general.
14592
14593 2013-05-10 Glenn Morris <rgm@gnu.org>
14594
14595 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14596
14597 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14598
14599 * comint.el (comint-redirect-send-command-to-process): Use :around
14600 rather than :override for comint-redirect-filter.
14601 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14602 Call it instead of comint-redirect-original-filter-function (which
14603 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14604
14605 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14606
14607 * frame.el (display-monitor-attributes-list): Add NS case.
14608 (ns-display-monitor-attributes-list): Declare.
14609
14610 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14611
14612 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14613
14614 2013-05-09 Glenn Morris <rgm@gnu.org>
14615
14616 * international/fontset.el (vertical-centering-font-regexp):
14617 Set standard-value.
14618
14619 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14620
14621 * bookmark.el (bookmark-search-delay):
14622 * cus-start.el (vertical-centering-font-regexp):
14623 * ps-mule.el (ps-mule-font-info-database-default):
14624 * ps-print.el (ps-default-fg, ps-default-bg):
14625 * type-break.el (type-break-good-break-interval):
14626 * whitespace.el (whitespace-indentation-regexp)
14627 (whitespace-space-after-tab-regexp):
14628 * emacs-lisp/testcover.el (testcover-1value-functions)
14629 (testcover-noreturn-functions, testcover-progn-functions)
14630 (testcover-prog1-functions):
14631 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14632 * eshell/em-glob.el (eshell-glob-translate-alist):
14633 * play/tetris.el (tetris-tty-colors):
14634 * progmodes/cpp.el (cpp-face-default-list):
14635 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14636 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14637 (idlwave-help-browser-generic-args):
14638 * progmodes/make-mode.el (makefile-special-targets-list):
14639 * progmodes/python.el (python-shell-virtualenv-path):
14640 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14641 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14642 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14643 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14644 * textmodes/reftex-vars.el (reftex-format-label-function):
14645 * textmodes/remember.el (remember-diary-file): Fix custom types.
14646
14647 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14648 Add :version.
14649
14650 2013-05-09 Leo Liu <sdl.web@gmail.com>
14651
14652 * progmodes/octave.el (inferior-octave-completion-at-point):
14653 Restore file completion. (Bug#14300)
14654 (inferior-octave-startup): Fix incorrect highlighting for the
14655 first prompt.
14656
14657 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14658
14659 * progmodes/ruby-mode.el: First cut at SMIE support.
14660 (ruby-use-smie): New var.
14661 (ruby-smie-grammar): New constant.
14662 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14663 (ruby-smie--forward-token, ruby-smie--backward-token)
14664 (ruby-smie-rules): New functions.
14665 (ruby-mode-variables): Setup SMIE if applicable.
14666
14667 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14668
14669 * simple.el (line-move-visual): Signal beginning/end of buffer
14670 only if vertical-motion moved less than it was requested. Avoids
14671 silly incorrect error messages when there are display strings with
14672 multiple newlines at EOL.
14673
14674 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14675
14676 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14677 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14678 (prolog-char-quote-workaround):
14679 * progmodes/cperl-mode.el (cperl-under-as-char):
14680 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14681 Mark as obsolete.
14682 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14683 their declaration.
14684 (vhdl-mode-syntax-table-init): Remove.
14685
14686 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14687 last change.
14688
14689 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14690 syntax for "_".
14691 (ld-script-font-lock-keywords):
14692 Change regexps to use things like \_< and \_>.
14693
14694 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14695 Change all regexps to use things like \_< and \_>.
14696
14697 * progmodes/autoconf.el (autoconf-definition-regexp)
14698 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14699 Handle a _ with symbol syntax.
14700 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14701
14702 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14703 Consolidate declaration.
14704 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14705 the declaration.
14706 (ada-create-syntax-table): Remove.
14707 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14708 already has the right syntax nowadays.
14709 (ada-goto-next-word): Don't change the syntax of "_".
14710
14711 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14712 with-wrapper-hook.
14713
14714 2013-05-08 Sam Steingold <sds@gnu.org>
14715
14716 * thingatpt.el (thing-at-point): Accept optional second argument
14717 NO-PROPERTIES to strip the text properties from the return value.
14718 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14719 to `thing-at-point' instead of stripping the properties ourselves.
14720 Also, when `thing-at-point' fails to find a url, prepend "http://"
14721 to the filename at point on the assumption that the user is
14722 pointing at something like gnu.org/gnu.
14723
14724 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14725
14726 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14727 * faces.el (crm-separator):
14728 Silence byte-compiler.
14729
14730 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14731 (tool-bar-map): Remove unneeded defvars.
14732
14733 2013-05-08 Leo Liu <sdl.web@gmail.com>
14734
14735 Re-work a fix for bug#10994 based on Le Wang's patch.
14736 * ido.el (ido-remove-consecutive-dups): New helper.
14737 (ido-completing-read): Use it.
14738 (ido-chop): Revert fix for bug#10994.
14739
14740 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14741
14742 * cus-edit.el (custom-save-variables):
14743 Pretty-print long values. (Bug#14187)
14744
14745 2013-05-08 Glenn Morris <rgm@gnu.org>
14746
14747 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14748 (m4-mode-syntax-table): Init in the defvar.
14749 (m4-mode-abbrev-table): Let define-derived-mode define it.
14750
14751 2013-05-08 Tom Tromey <tromey@redhat.com>
14752
14753 * progmodes/m4-mode.el (m4-mode-syntax-table):
14754 Do not treat "_" as word constituent. (Bug#14167)
14755
14756 2013-05-07 Glenn Morris <rgm@gnu.org>
14757
14758 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14759 Remove explicit eshell-isearch-cancel-map.
14760
14761 * progmodes/f90.el (f90-smart-end-names): New option.
14762 (f90-smart-end): Doc fix.
14763 (f90-end-block-optional-name): New constant.
14764 (f90-block-match): Respect f90-smart-end-names.
14765
14766 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14767
14768 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14769 about implicit semi-colons (bug#14218).
14770
14771 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14772
14773 * frame.el (display-monitor-attributes-list)
14774 (frame-monitor-attributes): New functions.
14775
14776 2013-05-06 Leo Liu <sdl.web@gmail.com>
14777
14778 * progmodes/octave.el (octave-syntax-propertize-function): Change
14779 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14780 (octave-font-lock-keywords): Use octave-operator-regexp.
14781 (octave-completion-at-point): Rename from
14782 octave-completion-at-point-function.
14783 (inferior-octave-directory-tracker): Robustify.
14784 (octave-text-functions): Remove and fix its uses. No such things
14785 any more.
14786
14787 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14788
14789 * emacs-lisp/trace.el (trace--display-buffer): New function.
14790 (trace-make-advice): Use it.
14791
14792 2013-05-06 Juri Linkov <juri@jurta.org>
14793
14794 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14795 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14796 Doc fix.
14797 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14798 in the help string. (Bug#12985)
14799
14800 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14801
14802 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14803
14804 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14805
14806 * progmodes/perl-mode.el: Add support for here documents.
14807 (perl-syntax-propertize-function): Match here-doc markers.
14808 (perl-syntax-propertize-special-constructs): Find their end.
14809 (perl-imenu-generic-expression): Use [:alnum:].
14810
14811 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14812 (advice--add-function): Refresh the advice if already present
14813 (bug#14317).
14814
14815 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14816
14817 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14818
14819 2013-05-06 Glenn Morris <rgm@gnu.org>
14820
14821 * w32-fns.el (w32-charset-info-alist): Declare.
14822
14823 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14824 of its defcustom properties.
14825 (eshell-cmpl-initialize): No need to load pcomplete.
14826
14827 * generic-x.el: No need to require comint when compiling.
14828
14829 * net/eudc-export.el: Make it loadable without bbdb.
14830 (top-level): Use require rather than load-library.
14831 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14832 (eudc-batch-export-records-to-bbdb)
14833 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14834 Require bbdb.
14835
14836 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14837
14838 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14839 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14840 some tweaks, instead.
14841
14842 2013-05-05 Leo Liu <sdl.web@gmail.com>
14843
14844 * progmodes/octave.el (octave-font-lock-keywords)
14845 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14846 (inferior-octave-send-list-and-digest): Improve error message.
14847 (octave-mode, inferior-octave-mode): Use setq-local.
14848 (octave-help): Set info-lookup-mode.
14849
14850 2013-05-05 Richard Stallman <rms@gnu.org>
14851
14852 * vc/compare-w.el (compare-windows-whitespace):
14853 Treat no-break space as whitespace.
14854
14855 * mail/rmailsum.el (rmail-summary-rmail-update):
14856 Detect empty summary and don't change selected message.
14857 (rmail-summary-goto-msg): Likewise.
14858
14859 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14860 Doc fixes, rename args.
14861
14862 2013-05-05 Alan Mackenzie <acm@muc.de>
14863
14864 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14865
14866 2013-05-05 Juri Linkov <juri@jurta.org>
14867
14868 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14869 to not add the length of the summary segment to the return value.
14870 (Bug#14125)
14871
14872 2013-05-05 Leo Liu <sdl.web@gmail.com>
14873
14874 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14875 (inferior-octave-output-filter): Remove.
14876 (octave-send-region, inferior-octave-startup): Fix callers.
14877 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14878 (octave-binary-file-extensions): New user variable.
14879 (octave-find-definition): Confirm if opening binary files.
14880 (octave-help-file): Use octave-find-definition to get the binary
14881 confirmation.
14882 (octave-help): Adjust for octave-help-file change.
14883
14884 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14885
14886 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14887 Merge the two entries that handle function definitions.
14888 (pascal--syntax-propertize): New const.
14889 (pascal-mode): Use it. Use setq-local.
14890
14891 2013-05-04 Glenn Morris <rgm@gnu.org>
14892
14893 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14894 (diary-from-outlook): Respect diary-from-outlook-function.
14895
14896 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14897
14898 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14899 Move the declaration from C.
14900 (read-minibuffer, eval-minibuffer): Move from C.
14901 (completion-setup-function): Avoid minibuffer-completion-contents.
14902
14903 2013-05-03 Leo Liu <sdl.web@gmail.com>
14904
14905 * progmodes/octave.el (octave-font-lock-keywords): Do not
14906 dehighlight 'end' in comments or strings.
14907 (octave-completing-read, octave-goto-function-definition):
14908 New helpers.
14909 (octave-help-buffer): New user variable.
14910 (octave-help-file, octave-help-function): New button types.
14911 (octave-help): New command and bind it to C-h ;.
14912 (octave-find-definition): New command and bind it to M-.
14913 (user-error): Alias to error if not defined.
14914
14915 2013-05-02 Leo Liu <sdl.web@gmail.com>
14916
14917 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14918 for \. (bug#14332)
14919 (octave-font-lock-keywords): Include [ and {.
14920
14921 2013-05-02 Leo Liu <sdl.web@gmail.com>
14922
14923 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14924 (inferior-octave): Remove calling comint-mode and return the buffer.
14925 (inferior-octave-startup): Cosmetic changes.
14926
14927 2013-05-02 Leo Liu <sdl.web@gmail.com>
14928
14929 * progmodes/octave.el (octave-syntax-propertize-function):
14930 Include the case when ' is at line beginning. (Bug#14336)
14931
14932 2013-05-02 Glenn Morris <rgm@gnu.org>
14933
14934 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14935 * desktop.el (vc-dir-mode): Just autoload it here.
14936
14937 2013-05-02 Alan Mackenzie <acm@muc.de>
14938
14939 Eliminate variable c-standard-font-lock-fontify-region-function.
14940 * progmodes/cc-mode.el
14941 (c-standard-font-lock-fontify-region-function): Remove.
14942 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14943
14944 2013-05-01 Leo Liu <sdl.web@gmail.com>
14945
14946 * progmodes/octave.el: Compatible with older emacs-24 releases.
14947 (inferior-octave-has-built-in-variables): Remove. Built-in
14948 variables were removed from Octave in 2007.
14949 (inferior-octave-startup): Fix uses.
14950 (comint-line-beginning-position): Remove compatibility code for
14951 emacs 21.
14952
14953 2013-05-01 Juri Linkov <juri@jurta.org>
14954
14955 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14956
14957 2013-05-01 Juri Linkov <juri@jurta.org>
14958
14959 * comint.el (comint-previous-matching-input): Don't print message
14960 "History item: %d" when `isearch-mode' is active.
14961 (comint-history-isearch-message): Print message "History item: %d"
14962 when `comint-input-ring-index' is not empty and this function is
14963 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14964
14965 2013-05-01 Leo Liu <sdl.web@gmail.com>
14966
14967 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14968 definitions. Use completion-at-point to insert keywords.
14969 (octave-abbrev-start): Remove.
14970 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14971
14972 2013-04-30 Leo Liu <sdl.web@gmail.com>
14973
14974 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14975 change.
14976
14977 2013-04-30 Alan Mackenzie <acm@muc.de>
14978
14979 Handle arbitrarily long C++ member initialisation lists.
14980 * progmodes/cc-engine.el (c-back-over-member-initializers):
14981 new function.
14982 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14983 (most) member init lists.
14984
14985 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14986
14987 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14988 variable.
14989
14990 2013-04-30 Leo Liu <sdl.web@gmail.com>
14991
14992 * progmodes/octave.el (octave-variables): Remove. No builtin
14993 variables any more. All converted to functions.
14994 (octave-font-lock-keywords, octave-completion-at-point-function):
14995 Fix uses.
14996 (octave-font-lock-texinfo-comment): New user variable.
14997 (octave-texinfo-font-lock-keywords): New variable for texinfo
14998 comment block.
14999 (octave-function-comment-block): New face.
15000 (octave-font-lock-texinfo-comment): New function.
15001 (octave-mode): Font lock texinfo comment block.
15002
15003 2013-04-29 Leo Liu <sdl.web@gmail.com>
15004
15005 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15006 indexing expression.
15007 (octave-continuation-string): Do not use \.
15008 (inferior-octave-complete-impossible): Remove.
15009 (inferior-octave-completion-table)
15010 (inferior-octave-completion-at-point): Remove its uses.
15011 (inferior-octave-startup): completion_matches was introduced to
15012 Octave in 1996 so safe to assume it.
15013 (octave-function-file-comment): Improve to follow how Octave does it.
15014 (octave-update-function-file-comment): Tweak.
15015
15016 2013-04-29 Leo Liu <sdl.web@gmail.com>
15017
15018 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15019 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15020 (octave-function-file-comment): Fix typo.
15021 (octave-sync-function-file-names): Use read-char-choice.
15022
15023 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15024
15025 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15026 to t for the less important warnings.
15027
15028 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15029
15030 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15031
15032 2013-04-27 Glenn Morris <rgm@gnu.org>
15033
15034 * vc/log-view.el (log-view-current-entry):
15035 Treat "---" separator lines as part of the following rev. (Bug#14169)
15036
15037 2013-04-27 Juri Linkov <juri@jurta.org>
15038
15039 * subr.el (read-number): Doc fix about using it by interactive
15040 code letter `n'. (Bug#14254)
15041
15042 2013-04-27 Juri Linkov <juri@jurta.org>
15043
15044 * desktop.el (desktop-auto-save-timeout): New option.
15045 (desktop-file-checksum): New variable.
15046 (desktop-save): Add optional arg `auto-save' and don't auto-save
15047 if nothing changed.
15048 (desktop-auto-save-timer): New variable.
15049 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15050 (after-init-hook): Call `desktop-auto-save-set-timer'.
15051 Suggested by Reuben Thomas <rrt@sc3d.org> in
15052 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15053
15054 2013-04-27 Leo Liu <sdl.web@gmail.com>
15055
15056 * progmodes/octave.el (octave-function-file-p)
15057 (octave-skip-comment-forward, octave-function-file-comment)
15058 (octave-update-function-file-comment): New functions.
15059 (octave-mode-map): Bind C-c ; to
15060 octave-update-function-file-comment.
15061 (octave-mode-menu): Add octave-update-function-file-comment.
15062 (octave-mode, inferior-octave-mode): Fix doc-string.
15063 (octave-insert-defun): Conform to Octave's coding convention.
15064 (Bug#14285)
15065
15066 * files.el (basic-save-buffer): Don't let errors in
15067 before-save-hook prevent saving buffer.
15068
15069 2013-04-20 Roland Winkler <winkler@gnu.org>
15070
15071 * faces.el (read-face-name): Use completing-read if arg multiple
15072 is nil.
15073
15074 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15075
15076 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15077 displayed, move point to after the totals line.
15078 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15079 for the details.
15080
15081 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15082
15083 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15084 Add current dir to the load-path.
15085 (package-generate-autoloads): Don't rely on
15086 autoload-ensure-default-file.
15087
15088 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15089
15090 * textmodes/remember.el (remember-store-in-files): Document that
15091 the file name format is passed to `format-time-string'.
15092
15093 2013-04-26 Leo Liu <sdl.web@gmail.com>
15094
15095 * progmodes/octave.el (octave-sync-function-file-names): New function.
15096 (octave-mode): Use it in before-save-hook.
15097
15098 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15099
15100 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15101 (bug#14274).
15102
15103 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15104 \n and comment, even if it's not an implicit ; (bug#14218).
15105
15106 2013-04-26 Glenn Morris <rgm@gnu.org>
15107
15108 * subr.el (read-number): Once more use `read' rather than
15109 `string-to-number', to trap non-numeric input. (Bug#14254)
15110
15111 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15112
15113 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15114 Use `syntax-multiline' text property consistently instead of
15115 `font-lock-multiline'. (Bug#14237)
15116
15117 2013-04-26 Glenn Morris <rgm@gnu.org>
15118
15119 * emacs-lisp/shadow.el (list-load-path-shadows):
15120 No longer necessary to check for duplicate simple.el, since
15121 2012-07-07 change to init_lread to not include installation lisp
15122 directories in load-path when running uninstalled. (Bug#14270)
15123
15124 2013-04-26 Leo Liu <sdl.web@gmail.com>
15125
15126 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15127 (octave-mode, inferior-octave-mode): Use setq-local.
15128 (octave-not-in-string-or-comment-p): Rename to
15129 octave-in-string-or-comment-p.
15130 (octave-in-comment-p, octave-in-string-p)
15131 (octave-in-string-or-comment-p): Replace defsubst with defun.
15132
15133 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15134
15135 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15136
15137 2013-04-25 Bastien Guerry <bzg@gnu.org>
15138
15139 * textmodes/remember.el (remember-data-directory)
15140 (remember-directory-file-name-format): Fix custom types.
15141
15142 2013-04-25 Leo Liu <sdl.web@gmail.com>
15143
15144 * progmodes/octave.el (octave-completion-at-point-function):
15145 Make use of inferior octave process.
15146 (octave-initialize-completions): Remove.
15147 (inferior-octave-completion-table): New function.
15148 (inferior-octave-completion-at-point): Use it.
15149 (octave-completion-alist): Remove.
15150
15151 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15152
15153 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15154 (opascal-mode-syntax-table): New var.
15155 (opascal-literal-kind, opascal-is-literal-end)
15156 (opascal-literal-token-at): Rewrite.
15157 (opascal--literal-start-re, opascal-font-lock-keywords)
15158 (opascal--syntax-propertize): New constants.
15159 (opascal-font-lock-defaults): Adjust.
15160 (opascal-mode): Use them. Set comment-<foo> variables as well.
15161 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15162 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15163 (delphi-other-face, opascal-other-face): Remove face variables.
15164 (opascal-save-state): Remove macro.
15165 (opascal-fontifying-progress-step): Remove constant.
15166 (opascal--ignore-changes): Remove var.
15167 (opascal-set-token-property, opascal-parse-next-literal)
15168 (opascal-is-stable-literal, opascal-complete-literal)
15169 (opascal-is-literal-start, opascal-face-of)
15170 (opascal-parse-region, opascal-parse-region-until-stable)
15171 (opascal-fontify-region, opascal-after-change)
15172 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15173 (opascal-debug-parse-region, opascal-debug-parse-window)
15174 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15175 (opascal-debug-fontify-buffer): Remove.
15176 (opascal-debug-mode-map): Adjust accordingly.
15177
15178 2013-04-25 Leo Liu <sdl.web@gmail.com>
15179
15180 Merge octave-mod.el and octave-inf.el into octave.el with some
15181 cleanups.
15182 * progmodes/octave.el: New file renamed from octave-mod.el.
15183 * progmodes/octave-inf.el: Merged into octave.el.
15184 * progmodes/octave-mod.el: Renamed to octave.el.
15185
15186 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15187
15188 * textmodes/reftex-vars.el
15189 (reftex-label-ignored-macros-and-environments): New defcustom.
15190
15191 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15192
15193 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15194
15195 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15196 (smie-indent-keyword): Improve the check to ensure that the next
15197 comment is really on the same line.
15198 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15199
15200 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15201 semi-colons if the line is not otherwise empty (bug#14218).
15202
15203 2013-04-25 Glenn Morris <rgm@gnu.org>
15204
15205 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15206
15207 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15208
15209 * progmodes/opascal.el (opascal-set-token-property): Rename from
15210 opascal-set-text-properties and only set `token' (bug#14134).
15211 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15212 (opascal-literal-text-properties): Remove.
15213 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15214 Adjust callers.
15215
15216 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15217
15218 * textmodes/remember.el (remember-handler-functions): Add an
15219 option for a new handler `remember-store-in-files'.
15220 (remember-data-directory, remember-directory-file-name-format):
15221 New options.
15222 (remember-store-in-files): New function to store remember notes
15223 as separate files within a directory.
15224
15225 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15226
15227 * progmodes/compile.el (compilation-next-error-function):
15228 Pass "formats" to compilation-find-file (bug#11777).
15229
15230 2013-04-24 Glenn Morris <rgm@gnu.org>
15231
15232 * vc/vc-bzr.el (vc-bzr-print-log):
15233 * vc/vc-hg.el (vc-hg-print-log):
15234 * vc/vc-svn.el (vc-svn-print-log):
15235 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15236
15237 * vc/vc-bzr.el (vc-bzr-print-log):
15238 * vc/vc-cvs.el (vc-cvs-print-log):
15239 * vc/vc-git.el (vc-git-print-log):
15240 * vc/vc-hg.el (vc-hg-print-log):
15241 * vc/vc-mtn.el (vc-mtn-print-log):
15242 * vc/vc-rcs.el (vc-rcs-print-log):
15243 * vc/vc-sccs.el (vc-sccs-print-log):
15244 * vc/vc-svn.el (vc-svn-print-log):
15245 * vc/vc.el (vc-print-log-internal): Doc fixes.
15246
15247 2013-04-23 Glenn Morris <rgm@gnu.org>
15248
15249 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15250 Remove venerable code attempting to avoid substitute-command-keys.
15251
15252 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15253
15254 * textmodes/reftex-vars.el (reftex-label-regexps):
15255 Call `reftex-compile-variables' after changes to this variable.
15256
15257 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15258
15259 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15260 Use lexical-binding.
15261 (jit-lock-force-redisplay): Use markers, check buffer's continued
15262 existence and beware narrowed buffers.
15263 (jit-lock-fontify-now): Adjust call accordingly.
15264
15265 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15266
15267 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15268 to avoid misleading the user.
15269
15270 2013-04-22 Leo Liu <sdl.web@gmail.com>
15271
15272 * info-look.el: Prefer latex2e.info. (Bug#14240)
15273
15274 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15275
15276 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15277
15278 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15279 * net/tramp.el (tramp-call-process): ... here.
15280 (tramp-set-completion-function, tramp-parse-putty):
15281 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15282 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15283 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15284 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15285 (tramp-call-local-coding-command): Use `tramp-call-process'
15286 instead of `tramp-compat-call-process'.
15287
15288 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15289 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15290 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15291 (tramp-find-inline-compress): Improve traces.
15292 (tramp-maybe-send-script): Check for Perl binary.
15293 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15294
15295 2013-04-22 Daiki Ueno <ueno@gnu.org>
15296
15297 * epg.el (epg-context-pinentry-mode): New function.
15298 (epg-context-set-pinentry-mode): New function.
15299 (epg--start): Pass --pinentry-mode option to gpg command.
15300
15301 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15302
15303 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15304 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15305 `completion-at-point'. (Bug#13774)
15306
15307 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15308 default key binding for `describe-distribution' has been moved to
15309 `C-h C-o'. (Bug#13970)
15310
15311 2013-04-21 Glenn Morris <rgm@gnu.org>
15312
15313 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15314 Add doc strings.
15315 (vc-print-log): Clarify interactive prompt.
15316
15317 2013-04-20 Glenn Morris <rgm@gnu.org>
15318
15319 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15320 No longer include timestamp etc information.
15321
15322 2013-04-20 Roland Winkler <winkler@gnu.org>
15323
15324 * faces.el (read-face-name): Bug fix, return just one face if arg
15325 multiple is nil. (Bug#14209)
15326
15327 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15328
15329 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15330 (remove-function): Autoload.
15331
15332 * comint.el (comint-redirect-original-filter-function): Remove.
15333 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15334 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15335 (vc-cvs-annotate-command):
15336 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15337 * progmodes/prolog.el (prolog-consult-compile):
15338 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15339 Use add/remove-function instead.
15340 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15341 (gud-tooltip-process-output, gud-tooltip-tips):
15342 Use add/remove-function instead.
15343 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15344 (scheme-interaction-mode, exit-scheme-interaction-mode):
15345 Use add/remove-function instead.
15346
15347 * vc/vc-dispatcher.el: Use lexical-binding.
15348 (vc--process-sentinel): Rename from vc-process-sentinel.
15349 Change last arg to be the code to run. Don't use vc-previous-sentinel
15350 and vc-sentinel-commands any more.
15351 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15352 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15353
15354 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15355
15356 * progmodes/sh-script.el (sh-imenu-generic-expression):
15357 Handle function names with a single character. (Bug#14111)
15358
15359 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15360
15361 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15362 for subroutines defined in an eval (bug#14182).
15363
15364 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15365
15366 * bookmark.el (bookmark-completing-read): Improve handling of empty
15367 string (bug#14176).
15368
15369 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15370
15371 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15372
15373 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15374
15375 New faster Imenu implementation (bug#14058).
15376 * progmodes/python.el:
15377 (python-imenu-prev-index-position):
15378 (python-imenu-format-item-label-function)
15379 (python-imenu-format-parent-item-label-function)
15380 (python-imenu-format-parent-item-jump-label-function):
15381 New vars.
15382 (python-imenu-format-item-label)
15383 (python-imenu-format-parent-item-label)
15384 (python-imenu-format-parent-item-jump-label)
15385 (python-imenu--put-parent, python-imenu--build-tree)
15386 (python-imenu-create-index, python-imenu-create-flat-index)
15387 (python-util-popn): New functions.
15388 (python-mode): Set imenu-create-index-function to
15389 python-imenu-create-index.
15390
15391 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15392
15393 * winner.el (winner-active-region): Use region-active-p, activate-mark
15394 and deactivate-mark (bug#14225).
15395
15396 * simple.el (deactivate-mark): Don't inline it.
15397
15398 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15399
15400 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15401
15402 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15403
15404 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15405 file extensions from the archive-mode entry in order to prefer
15406 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15407
15408 2013-04-18 Leo Liu <sdl.web@gmail.com>
15409
15410 * bindings.el (help-event-list): Add ?\?.
15411
15412 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15413
15414 * subr.el (with-wrapper-hook): Declare obsolete.
15415 * simple.el (filter-buffer-substring-function): New hook.
15416 (filter-buffer-substring): Use it.
15417 (filter-buffer-substring-functions): Mark obsolete.
15418 * minibuffer.el (completion-in-region-function): New hook.
15419 (completion-in-region): Use it.
15420 (completion-in-region-functions): Mark obsolete.
15421 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15422 * abbrev.el (abbrev-expand-function): New hook.
15423 (expand-abbrev): Use it.
15424 (abbrev-expand-functions): Mark obsolete.
15425 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15426 and :filter-return.
15427
15428 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15429
15430 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15431 and do not care about match data.
15432
15433 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15434
15435 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15436 completion tables when completing error conditions and
15437 `declare' arguments.
15438 (lisp-complete-symbol, field-complete): Mark as obsolete.
15439 (check-parens): Unmatched parens are user errors.
15440 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15441
15442 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15443
15444 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15445 command changed buffer (ie. `flyspell-pre-buffer' is not current
15446 buffer), which prevents making decisions based on invalid value of
15447 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15448 cause an error when `flyspell-pre-point' was nil after switching
15449 buffers.
15450 (flyspell-post-command-hook): No longer needs to change buffers when
15451 checking pre-word. While at it remove unnecessary progn.
15452
15453 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15454
15455 * textmodes/ispell.el (ispell-add-per-file-word-list):
15456 Fix `flyspell-correct-word-before-point' error when accepting
15457 words and `coment-padding' is an integer by using
15458 `comment-normalize-vars' (Bug #14214).
15459
15460 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15461
15462 New defun movement commands.
15463 * progmodes/python.el (python-nav--syntactically)
15464 (python-nav--forward-defun, python-nav-backward-defun)
15465 (python-nav-forward-defun): New functions.
15466
15467 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15468
15469 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15470 (python-syntax-context): Use named compiler-macro for backwards
15471 compatibility with Emacs 24.x.
15472
15473 2013-04-17 Leo Liu <sdl.web@gmail.com>
15474
15475 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15476 octave-hide-process-buffer.
15477
15478 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15479
15480 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15481 (bug#14216).
15482
15483 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15484
15485 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15486 Fix adjustment of offset when receiving incomplete responses from GDB
15487 (bug#14129).
15488
15489 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15490
15491 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15492 python-mode-abbrev-table.
15493 (python-skeleton-define): Adjust accordingly.
15494 (python-mode-abbrev-table): New table that inherits from it so that
15495 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15496
15497 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15498 (abbrev-symbol): Use it.
15499 (abbrev--before-point): Use it since we already handle inheritance.
15500
15501 2013-04-16 Leo Liu <sdl.web@gmail.com>
15502
15503 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15504 binding to info-lookup-symbol.
15505
15506 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15507
15508 * minibuffer.el (completion--twq-all):
15509 * term/ns-win.el (ns-initialize-window-system):
15510 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15511
15512 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15513
15514 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15515 global bindings.
15516
15517 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15518
15519 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15520
15521 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15522 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15523 to nil.
15524 (ruby-end-of-defun): Remove the unused arg, change the docstring
15525 to reflect that this function is only used as the value of
15526 `end-of-defun-function'.
15527 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15528 to reflect an earlier change that beginning/end-of-defun functions
15529 jump between methods in a class definition, as well as top-level
15530 functions.
15531
15532 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15533
15534 * minibuffer.el (minibuffer-complete): Don't just scroll
15535 a *Completions* that's been iconified.
15536 (minibuffer-force-complete): Make sure repetitions do cycle when going
15537 through completion-in-region -> minibuffer-complete.
15538
15539 2013-04-15 Alan Mackenzie <acm@muc.de>
15540
15541 Correct the placement of c-cpp-delimiters when there're #s not at
15542 col 0.
15543
15544 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15545 place a submatch around the #.
15546 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15547 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15548 on the #, not BOL.
15549
15550 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15551
15552 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15553 (advice--member-p): New arg `name'.
15554 (advice--add-function, advice-member-p): Use it (bug#14202).
15555
15556 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15557
15558 Reformulate java imenu-generic-expression.
15559 The old expression contained ill formed regexps.
15560
15561 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15562 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15563 (cc-imenu-java-method-arg-regexp): New defconsts.
15564 (cc-imenu-java-build-type-args-regex): New defun.
15565 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15566 handling of spaces in the regexp.
15567
15568 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15569
15570 * textmodes/ispell.el (ispell-command-loop): Remove
15571 flyspell highlight of a word when ispell accepts it (bug #14178).
15572
15573 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15574
15575 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15576 uses code from the previous `ange-ftp-run-real-handler'.
15577 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15578 only in case that function exist. This is needed for proper
15579 unloading of Tramp.
15580
15581 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15582
15583 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15584
15585 * textmodes/reftex.el (reftex-compile-variables): Use it.
15586
15587 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15588
15589 * files.el (normal-mode): Only use default major-mode if no other mode
15590 was specified.
15591
15592 * emacs-lisp/trace.el (trace-values): New function.
15593
15594 * files.el: Allow : in local variables (bug#14089).
15595 (hack-local-variable-regexp): New var.
15596 (hack-local-variables-prop-line, hack-local-variables): Use it.
15597
15598 2013-04-13 Roland Winkler <winkler@gnu.org>
15599
15600 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15601 data before it gets modified by bibtex-beginning-of-entry.
15602
15603 2013-04-13 Roland Winkler <winkler@gnu.org>
15604
15605 * textmodes/bibtex.el (bibtex-url): Doc fix.
15606
15607 2013-04-13 Roland Winkler <winkler@gnu.org>
15608
15609 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15610 does not visit a BibTeX file, exclude it from the list of buffers
15611 returned by bibtex-initialize.
15612
15613 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15614
15615 * window.el (split-window): Remove interactive form, since as a
15616 command this function is a special case of split-window-below.
15617 Correct doc string.
15618
15619 2013-04-12 Roland Winkler <winkler@gnu.org>
15620
15621 * faces.el (read-face-name): Do not override value of arg default.
15622 Allow single faces and strings as default values. Remove those
15623 elements from return value that are not faces.
15624 (describe-face): Simplify.
15625 (face-at-point): New optional args thing and multiple so that this
15626 function can provide the same functionality previously provided by
15627 read-face-name.
15628 (make-face-bold, make-face-unbold, make-face-italic)
15629 (make-face-unitalic, make-face-bold-italic, invert-face)
15630 (modify-face, read-face-and-attribute): Use face-at-point.
15631
15632 * cus-edit.el (customize-face, customize-face-other-window)
15633 * cus-theme.el (custom-theme-add-face)
15634 * face-remap.el (buffer-face-set)
15635 * facemenu.el (facemenu-set-face): Use face-at-point.
15636
15637 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15638
15639 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15640
15641 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15642
15643 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15644 off leading { and trailing } from field values.
15645
15646 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15647
15648 * emacs-lisp/timer.el (timer--check): New function.
15649 (timer--time, timer-set-function, timer-event-handler): Use it.
15650 (timer-set-idle-time): Simplify.
15651 (timer--activate): CSE.
15652 (timer-event-handler): Give more info in error message.
15653 (internal-timer-start-idle): New function, moved from C.
15654
15655 * mpc.el (mpc-proc): Add `restart' argument.
15656 (mpc-proc-cmd): Use it.
15657 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15658 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15659 less often.
15660
15661 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15662
15663 * progmodes/sh-script.el: Implement `sh-mode' own
15664 `add-log-current-defun-function' (bug#14112).
15665 (sh-current-defun-name): New function.
15666 (sh-mode): Use the function.
15667
15668 2013-04-09 Bastien Guerry <bzg@gnu.org>
15669
15670 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15671
15672 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15673
15674 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15675
15676 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15677 timer (bug#14156).
15678
15679 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15680
15681 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15682 declaration.
15683
15684 2013-04-07 Leo Liu <sdl.web@gmail.com>
15685
15686 * pcmpl-x.el: New file.
15687
15688 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15689
15690 Do not set x-display-name until X connection is established.
15691 This is needed to prevent from weird situation described at
15692 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15693 * frame.el (make-frame): Set x-display-name after call to
15694 window system initialization function, not before.
15695 * term/x-win.el (x-initialize-window-system): Add optional
15696 display argument and use it.
15697 * term/w32-win.el (w32-initialize-window-system):
15698 * term/ns-win.el (ns-initialize-window-system):
15699 * term/pc-win.el (msdos-initialize-window-system):
15700 Add compatible optional display argument.
15701
15702 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15703
15704 * files.el (normal-backup-enable-predicate): On MS-Windows and
15705 MS-DOS compare truenames of temporary-file-directory and of the
15706 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15707 don't fail comparison by compare-strings. Also, compare file
15708 names case-insensitively on MS-Windows and MS-DOS.
15709
15710 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15711
15712 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15713 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15714
15715 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15716
15717 * whitespace.el (whitespace-color-on, whitespace-color-off):
15718 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15719
15720 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15721
15722 * ispell.el (ispell-set-spellchecker-params):
15723 Really set `ispell-args' for all equivs.
15724
15725 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15726
15727 * ido.el (ido-completions): Use extra elements of ido-decorations
15728 (bug#14143).
15729 (ido-decorations): Update docstring.
15730
15731 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15732
15733 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15734 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15735 nil during initialization, in order not to miss changes since the
15736 file was opened. (Bug#14140)
15737
15738 2013-04-05 Leo Liu <sdl.web@gmail.com>
15739
15740 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15741
15742 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15743
15744 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15745
15746 2013-04-04 Glenn Morris <rgm@gnu.org>
15747
15748 * electric.el (electric-pair-inhibit-predicate): Add :version.
15749
15750 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15751
15752 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15753 when a package is required several times (bug#14082).
15754
15755 2013-04-04 Roland Winkler <winkler@gnu.org>
15756
15757 * faces.el (read-face-name): Behave as promised by the docstring.
15758 Assume that arg default is a list of faces.
15759 (describe-face): Call read-face-name with list of default faces.
15760
15761 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15762
15763 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15764 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15765 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15766 the header.
15767 (bookmark-exit-hook-internal): Save even if list is empty.
15768
15769 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15770
15771 * emacs-lisp/package.el (package-pinned-packages): New var.
15772 (package--add-to-archive-contents): Obey it (bug#14118).
15773
15774 2013-04-03 Alan Mackenzie <acm@muc.de>
15775
15776 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15777 Also adapt to the new values of element 7 of a parse state.
15778
15779 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15780 parameter `not-in-delimiter'. Handle being inside comment opener.
15781 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15782 character in case we're typing a '*' after a '/'.
15783 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15784 instead by passing the parameter to c-state-pp-to-literal.
15785
15786 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15787 for elt. 7 of a parse state.
15788
15789 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15790
15791 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15792 * international/latin1-disp.el, international/mule-util.el:
15793 * language/cyril-util.el, language/european.el, language/ind-util.el:
15794 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15795 * language/tibetan.el, language/viet-util.el:
15796 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15797
15798 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15799
15800 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15801 (electric-pair-post-self-insert-function): Use it.
15802 (electric-pair-default-inhibit): New function, extracted from
15803 electric-pair-post-self-insert-function.
15804
15805 2013-03-31 Roland Winkler <winkler@gnu.org>
15806
15807 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15808
15809 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15810
15811 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15812
15813 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15814
15815 Un-indent after "pass" and "return" statements (Bug#13888)
15816 * progmodes/python.el (python-indent-block-enders): New var.
15817 (python-indent-calculate-indentation): Use it.
15818
15819 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15820
15821 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15822 defun. Defining it as defalias could introduce too eager
15823 byte-compiler optimization. (Bug#14030)
15824
15825 2013-03-30 Chong Yidong <cyd@gnu.org>
15826
15827 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15828
15829 2013-03-30 Leo Liu <sdl.web@gmail.com>
15830
15831 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15832 (kmacro-execute-from-register): Pass the keyboard macro to
15833 kmacro-call-macro or repeating won't work correctly.
15834
15835 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15836
15837 * progmodes/subword.el: Back to using `forward-symbol'.
15838
15839 * subr.el (forward-whitespace, forward-symbol)
15840 (forward-same-syntax): Move from thingatpt.el.
15841
15842 2013-03-29 Leo Liu <sdl.web@gmail.com>
15843
15844 * kmacro.el (kmacro-to-register): New command.
15845 (kmacro-execute-from-register): New function.
15846 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15847
15848 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15849
15850 * mpc.el: Use defvar-local and setq-local.
15851 (mpc--proc-connect): Connection failures are not bugs.
15852 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15853 (mpc-volume-map): Bind to the up-events.
15854
15855 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15856
15857 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15858 instead of `forward-symbol'.
15859
15860 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15861
15862 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15863 (edebug--recursive-edit): Use it.
15864 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15865 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15866
15867 2013-03-28 Leo Liu <sdl.web@gmail.com>
15868
15869 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15870
15871 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15872
15873 * facemenu.el (list-colors-callback): New defvar.
15874 (list-colors-redisplay): New function.
15875 (list-colors-display): Install list-colors-redisplay as the
15876 revert-buffer-function. (Bug#14063)
15877
15878 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15879
15880 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15881 and suffixes don't overlap (bug#14061).
15882
15883 * case-table.el: Use lexical-binding.
15884 (case-table-get-table): New function.
15885 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15886
15887 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15888
15889 * progmodes/subword.el: Add `superword-mode' to do word motion
15890 over symbol_words (parallels and leverages `subword-mode' which
15891 does word motion inside MixedCaseWords).
15892
15893 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15894
15895 * eshell/em-unix.el: Move su and sudo to...
15896 * eshell/em-tramp.el: ...Eshell tramp module.
15897
15898 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15899
15900 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15901 Change return value to be a sexp. Delay `get-buffer' to after
15902 restoring the desktop (bug#13951).
15903
15904 2013-03-26 Leo Liu <sdl.web@gmail.com>
15905
15906 * register.el: Move semantic tag handling back to
15907 cedet/semantic/senator.el. (Bug#14052)
15908
15909 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15910
15911 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15912 into the prompt either (bug#13963).
15913
15914 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15915
15916 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15917 part of "(error-foo)".
15918
15919 2013-03-24 Juri Linkov <juri@jurta.org>
15920
15921 * replace.el (list-matching-lines-prefix-face): New defcustom.
15922 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15923 `occur-engine' if `face-differs-from-default-p' returns t.
15924 (occur-engine): Add `,' inside backquote construct to evaluate
15925 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15926 Pass `prefix-face' to the functions `occur-context-lines' and
15927 `occur-engine-add-prefix'.
15928 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15929 `prefix-face' and propertize the prefix with `prefix-face'.
15930 (Bug#14017)
15931
15932 2013-03-24 Leo Liu <sdl.web@gmail.com>
15933
15934 * nxml/rng-valid.el (rng-validate-while-idle)
15935 (rng-validate-quick-while-idle): Guard against deleted buffer.
15936 (Bug#13999)
15937
15938 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15939 is the last entry in kill-buffer-hook.
15940
15941 * files.el (kill-buffer-hook): Doc fix.
15942
15943 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15944
15945 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15946 Make it safe-local.
15947
15948 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15949
15950 2013-03-23 Leo Liu <sdl.web@gmail.com>
15951
15952 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15953 Remove.
15954
15955 * nxml/rng-valid.el (rng-validate-mode)
15956 (rng-after-change-function, rng-do-some-validation):
15957 * nxml/rng-maint.el (rng-validate-buffer):
15958 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15959 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15960 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15961 (nxml-extend-after-change-region): Use with-silent-modifications.
15962
15963 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15964 timer-idle-list.
15965
15966 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15967 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15968 timer-idle-list. (Bug#13999)
15969
15970 2013-03-23 Juri Linkov <juri@jurta.org>
15971
15972 * info.el (info-index-match): New face.
15973 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15974 main pattern and add text properties with the new face to matches
15975 in index entries relative to the beginning of the index entry.
15976 (Bug#14015)
15977
15978 2013-03-21 Eric Ludlam <zappo@gnu.org>
15979
15980 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15981 Inhibit read only while inserting objects.
15982
15983 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15984
15985 * progmodes/cfengine.el: Update docs to mention
15986 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15987 symbol motion. Remove "_" from the word syntax.
15988
15989 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15990
15991 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15992 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15993
15994 2013-03-20 Juri Linkov <juri@jurta.org>
15995
15996 * info.el (Info-next-reference-or-link)
15997 (Info-prev-reference-or-link): New functions.
15998 (Info-next-reference, Info-prev-reference): Use them.
15999 (Info-try-follow-nearest-node): Handle footnote navigation.
16000 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16001
16002 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16003
16004 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16005 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16006
16007 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16008
16009 Suppress unnecessary non-ASCII chatter during build process.
16010 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16011 (batch-skkdic-convert): Suppress most of the chatter.
16012 It's not needed so much now that machines are faster,
16013 and its non-ASCII component was confusing; see Dmitry Gutov in
16014 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16015
16016 2013-03-20 Leo Liu <sdl.web@gmail.com>
16017
16018 * ido.el (ido-chop): Fix bug#10994.
16019
16020 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16021
16022 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16023 Remove vars.
16024 (whitespace-color-on, whitespace-color-off):
16025 Use `font-lock-fontify-buffer' (Bug#13817).
16026
16027 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16028
16029 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16030 remapping in mode-line.
16031 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16032
16033 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16034
16035 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16036 value for `whitespace-line' face (Bug#13875).
16037 (whitespace-font-lock-keywords): Change description.
16038 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16039 the constructed keywords instead.
16040 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16041
16042 2013-03-19 Leo Liu <sdl.web@gmail.com>
16043
16044 * progmodes/compile.el (compilation-display-error): New command.
16045 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16046 C-o. (Bug#13992)
16047
16048 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16049
16050 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16051
16052 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16053
16054 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16055
16056 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16057
16058 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16059
16060 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16061 * net/tramp-gvfs.el (top):
16062 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16063 (tramp-handle-shell-command): Use it.
16064 (tramp-dissect-file-name): Raise an error when hostname is a
16065 method name, and neither method nor user is specified.
16066
16067 * net/trampver.el: Update release number.
16068
16069 2013-03-18 Leo Liu <sdl.web@gmail.com>
16070
16071 Make sure eldoc can be turned off properly.
16072 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16073 eldoc-mode.
16074 (eldoc-display-message-p): Revert last change.
16075 (eldoc-display-message-no-interference-p)
16076 (eldoc-print-current-symbol-info): Tweak.
16077
16078 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16079
16080 * doc-view.el (doc-view-new-window-function): Check the new window
16081 overlay's display property instead the char property of the
16082 buffer's first char. Use `with-selected-window' instead of
16083 `save-window-excursion' with `select-window'.
16084 (doc-view-document->bitmap): Check the current doc-view overlay's
16085 display property instead the char property of the buffer's first char.
16086
16087 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16088
16089 Automate the build of ja-dic.el (Bug#13984).
16090 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16091 from the input, rather than assume that it's been done for us by the
16092 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16093 the current date into a ja-dic.el comment, as that complicates
16094 regression testing.
16095
16096 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16097
16098 * whitespace.el: Fix double evaluation.
16099 (whitespace-space, whitespace-hspace, whitespace-tab)
16100 (whitespace-newline, whitespace-trailing, whitespace-line)
16101 (whitespace-space-before-tab, whitespace-indentation)
16102 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16103 obsolete defvars.
16104 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16105 (whitespace-color-on): Use a single font-lock-add-keywords call.
16106 Fix double-evaluation of face variables.
16107
16108 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16109
16110 * net/tramp-adb.el (tramp-adb-parse-device-names):
16111 Use `start-process' instead of `call-process'. Otherwise, the
16112 function might be blocked under MS Windows. (Bug#13299)
16113
16114 2013-03-17 Leo Liu <sdl.web@gmail.com>
16115
16116 Extend eldoc to display info in the mode-line. (Bug#13978)
16117 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16118 (eldoc-mode-line-string): New variable.
16119 (eldoc-minibuffer-message): New function.
16120 (eldoc-message-function): New variable.
16121 (eldoc-message): Use it.
16122 (eldoc-display-message-p)
16123 (eldoc-display-message-no-interference-p):
16124 Support eldoc-post-insert-mode.
16125
16126 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16127 (eval-expression): Run it.
16128
16129 2013-03-17 Roland Winkler <winkler@gnu.org>
16130
16131 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16132 strings in the list of return values.
16133
16134 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16135
16136 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16137 radix before checking for HMS forms.
16138
16139 2013-03-16 Leo Liu <sdl.web@gmail.com>
16140
16141 * progmodes/scheme.el: Add indentation and font-locking for λ.
16142 (Bug#13975)
16143
16144 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16145
16146 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16147 token before point (bug#13942).
16148
16149 2013-03-16 Leo Liu <sdl.web@gmail.com>
16150
16151 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16152
16153 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16154
16155 * startup.el (command-line-normalize-file-name): Fix handling of
16156 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16157 <xfq.free@gmail.com> in
16158 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16159
16160 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16161
16162 Sync with Tramp 2.2.7.
16163
16164 * net/trampver.el: Update release number.
16165
16166 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16167
16168 * doc-view.el: Fix bug#13887.
16169 (doc-view-insert-image): Don't modify overlay associated to
16170 non-live windows, and implement horizontal centering of image in
16171 case it's smaller than the window.
16172 (doc-view-new-window-function): Force redisplay of new windows on
16173 doc-view buffers.
16174
16175 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16176
16177 * saveplace.el (save-place-alist-to-file): Don't sort
16178 `save-place-alist', just pretty-print it (bug#13882).
16179
16180 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16181
16182 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16183 Check whether `default-file-name-coding-system' is bound.
16184 It isn't in XEmacs.
16185
16186 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16187
16188 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16189 backquotes for `obsolete' (bug#13929).
16190
16191 * international/mule.el (find-auto-coding): Include file name in
16192 obsolescence warning (bug#13922).
16193
16194 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16195
16196 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16197 for CFEngine 3-specific indentation.
16198 (cfengine3-indent-line): Use it. Fix up category regex.
16199 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16200
16201 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16202
16203 * type-break.el (type-break-file-name):
16204 * textmodes/remember.el (remember-data-file):
16205 * strokes.el (strokes-file):
16206 * shadowfile.el (shadow-initialize):
16207 * saveplace.el (save-place-file):
16208 * ps-bdf.el (bdf-cache-file):
16209 * progmodes/idlwave.el (idlwave-config-directory):
16210 * net/quickurl.el (quickurl-url-file):
16211 * international/kkc.el (kkc-init-file-name):
16212 * ido.el (ido-save-directory-list-file):
16213 * emulation/viper.el (viper-custom-file-name):
16214 * emulation/vip.el (vip-startup-file):
16215 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16216 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16217
16218 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16219
16220 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16221 * language/thai-word.el: Switch to UTF-8.
16222
16223 See ChangeLog.16 for earlier changes.
16224
16225 ;; Local Variables:
16226 ;; coding: utf-8
16227 ;; End:
16228
16229 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16230
16231 This file is part of GNU Emacs.
16232
16233 GNU Emacs is free software: you can redistribute it and/or modify
16234 it under the terms of the GNU General Public License as published by
16235 the Free Software Foundation, either version 3 of the License, or
16236 (at your option) any later version.
16237
16238 GNU Emacs is distributed in the hope that it will be useful,
16239 but WITHOUT ANY WARRANTY; without even the implied warranty of
16240 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16241 GNU General Public License for more details.
16242
16243 You should have received a copy of the GNU General Public License
16244 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.