]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* calendar/diary-lib.el (diary-list-entries): Restore 24.3 display behavior.
[gnu-emacs] / lisp / ChangeLog
1 2014-09-09 Glenn Morris <rgm@gnu.org>
2
3 * calendar/diary-lib.el (diary-list-entries):
4 Restore 24.3 display behavior. (Bug#18381)
5
6 2014-09-09 Eli Zaretskii <eliz@gnu.org>
7
8 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
9 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
10 discrepancy between window-pixel-edges and mouse events, and
11 avoids moving mode line up when the mouse click is on the modeline
12 and no drag is attempted.
13
14 2014-09-08 Glenn Morris <rgm@gnu.org>
15
16 * calendar/calendar.el (calendar-basic-setup):
17 Avoid clobbering calendar with diary. (Bug#18381)
18
19 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
20
21 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
22
23 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
24
25 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
26 as well (bug#18400).
27
28 2014-09-04 Eli Zaretskii <eliz@gnu.org>
29
30 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
31
32 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
33
34 * emacs-lisp/package.el (package-generate-description-file):
35 Properly quote the arguments (bug#18332). Change second arg.
36 (package--alist-to-plist-args): Rename from package--alist-to-plist and
37 quote the elements.
38 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
39 the *-pkg.el file. Adjust to new calling convention of
40 package-generate-description-file.
41
42 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
43 (gud-gdb-completions): Remove obsolete workaround.
44
45 2014-09-02 Eli Zaretskii <eliz@gnu.org>
46
47 * subr.el (posn-col-row): Revert the change from commit
48 2010-11-13T21:07:58Z!eliz@gnu.org, which
49 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
50 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
51 introduced an off-by-one error in the reported row when there is a
52 header line. (Bug#18384)
53
54 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
55
56 * progmodes/python.el (python-indent-post-self-insert-function):
57 Avoid electric colon at beginning-of-defun. (Bug#18228)
58
59 2014-09-01 Glenn Morris <rgm@gnu.org>
60
61 * tutorial.el (tutorial--display-changes):
62 Fix 2014-07-29 change. (Bug#18382)
63
64 2014-08-29 Ken Brown <kbrown@cornell.edu>
65
66 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
67 the Cygwin-w32 build. (Bug#18347)
68
69 2014-08-28 Glenn Morris <rgm@gnu.org>
70
71 * tar-mode.el (tar--extract, tar-extract):
72 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
73
74 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
75
76 * emacs-lisp/authors.el (authors-aliases): Addition.
77
78 * net/tramp-adb.el: Spell author name correctly.
79
80 2014-08-27 João Távora <joaotavora@gmail.com>
81
82 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
83 use url-expand-file-name. (Bug#18310)
84
85 2014-08-25 Glenn Morris <rgm@gnu.org>
86
87 * emulation/cua-rect.el (cua--highlight-rectangle):
88 Avoid error at point-min. (Bug#18309)
89
90 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
91
92 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
93 executable-find (bug#18244).
94
95 * simple.el (self-insert-uses-region-functions): Defvar.
96
97 2014-08-13 Leo Liu <sdl.web@gmail.com>
98
99 * speedbar.el (speedbar-generic-list-tag-p): Allow special
100 elements from imenu.
101
102 2014-08-11 Glenn Morris <rgm@gnu.org>
103
104 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
105
106 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
107 chose coding system for writing before backing up, since it causes
108 a more serious problem than the one it solves. (Closes Bug#18141,
109 reopens Bug#13522.)
110
111 2014-08-10 Martin Rudalics <rudalics@gmx.at>
112
113 * window.el (window-total-size): Make doc-string more
114 self-contained.
115
116 2014-08-09 Martin Rudalics <rudalics@gmx.at>
117
118 * window.el (display-buffer-below-selected): Restore original
119 behavior if buffer is already displayed in the window below the
120 selected one (Bug#18181).
121
122 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
123
124 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
125 event (bug#18212).
126
127 2014-08-08 Eli Zaretskii <eliz@gnu.org>
128
129 * info.el (info): Doc fix.
130
131 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
132
133 * info.el (Info-mode-map): Override a global down-mouse-2 binding
134 (bug#18212).
135
136 2014-08-05 Eli Zaretskii <eliz@gnu.org>
137
138 * simple.el (default-line-height): A floating-point value of
139 line-spacing means a fraction of the default frame font's height,
140 not of the font currently used by the 'default' face.
141 Truncate the pixel value, like the display engine does.
142 (window-screen-lines): Use window-inside-pixel-edges for
143 determining the window height in pixels. (Bug#18195)
144
145 2014-07-29 Eli Zaretskii <eliz@gnu.org>
146
147 * tutorial.el (tutorial--display-changes): Accept punctuation
148 characters before the key binding. (Bug#18146)
149
150 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
151
152 * doc-view.el (doc-view-open-text): Don't require that the
153 document is saved in a file (e.g., email attachment).
154
155 2014-07-27 Eli Zaretskii <eliz@gnu.org>
156
157 * window.el (window--pixel-to-total): Use FRAME's root window, not
158 that of the selected frame. (Bug#18112, Bug#16674)
159
160 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
161
162 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
163 (Bug#18117)
164
165 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
166
167 * progmodes/python.el (inferior-python-mode): Doc fix.
168
169 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
170
171 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
172 not a character, ignore it instead of raising an error.
173
174 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
175
176 * calendar/todo-mode.el: Fix handling of marked items and make
177 minor code improvements.
178 (todo-edit-item): If there are marked items, ensure user can only
179 invoke editing commands that work with marked items.
180 (todo-edit-item--text): When there are marked items, make it a
181 noop if invoked with point not on an item; otherwise, ensure it
182 applies only to item at point.
183 (todo-item-undone): If there are marked not-done items, return
184 point to its original position before signaling user error.
185 (todo--user-error-if-marked-done-item): New function.
186 (todo-edit-item--header, todo-edit-item--diary-inclusion)
187 (todo-item-done): Use it.
188
189 2014-07-25 Glenn Morris <rgm@gnu.org>
190
191 * files.el (toggle-read-only): Re-add basic doc-string.
192 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
193
194 * progmodes/prolog.el (prolog-mode-keybindings-edit):
195 Replace missing `switch-to-prolog' with `run-prolog'.
196 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
197
198 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
199
200 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
201 of file-wide setting when changing category-wide setting.
202
203 2014-07-21 Glenn Morris <rgm@gnu.org>
204
205 * progmodes/hideif.el (hide-ifdef-mode-submap):
206 Also substitute read-only-mode.
207 * bindings.el (mode-line-toggle-read-only):
208 * bs.el (bs-toggle-readonly):
209 * buff-menu.el (Buffer-menu-toggle-read-only):
210 * dired.el (dired-toggle-read-only):
211 * files.el (view-read-only, find-file-read-only)
212 (find-file-read-only-other-window)
213 (find-file-read-only-other-frame):
214 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
215 Doc fixes re toggle-read-only.
216
217 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
218
219 * progmodes/python.el: Add comment about pipe buffering and
220 solutions for missing/delayed output in inferior Python shells.
221 (Bug#17304)
222
223 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
224
225 * progmodes/python.el (python-mode): Don't set
226 mode-require-final-newline. (Bug#17990)
227
228 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
229
230 Make python.el work with IPython automatically. (Bug#15510)
231 * progmodes/python.el:
232 (python-shell-completion-setup-code): New value supporting iPython.
233 (python-shell-completion-string-code): New value supporting iPython.
234 (python-shell-completion-get-completions): Use them.
235 (python-shell-completion-module-string-code): Make obsolete.
236 (python-shell-prompt-input-regexps)
237 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
238 (python-shell-output-filter): Fix comment typo.
239
240 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
241
242 Fix Python shell prompts detection for remote hosts.
243 * progmodes/python.el (python-shell-prompt-detect):
244 Replace call-process with process-file and make it more robust.
245
246 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
247
248 Autodetect Python shell prompts. (Bug#17370)
249 * progmodes/python.el:
250 (python-shell-interpreter-interactive-arg)
251 (python-shell-prompt-detect-enabled)
252 (python-shell-prompt-detect-failure-warning)
253 (python-shell-prompt-input-regexps)
254 (python-shell-prompt-output-regexps): New vars.
255 (python-shell-prompt-calculated-input-regexp)
256 (python-shell-prompt-calculated-output-regexp): New vars.
257 (python-shell-get-process-name)
258 (python-shell-internal-get-process-name)
259 (python-shell-output-filter)
260 (python-shell-completion-get-completions): Use them.
261 (python-shell-prompt-detect)
262 (python-shell-prompt-validate-regexps): New functions.
263 (python-shell-prompt-set-calculated-regexps): New function.
264 (inferior-python-mode): Use it. Also honor overridden
265 python-shell-interpreter and python-shell-interpreter-args.
266 (python-shell-make-comint): Honor overridden
267 python-shell-interpreter and python-shell-interpreter-args.
268 (python-shell-get-or-create-process): Make it testable by allowing
269 to call run-python non-interactively.
270 (python-util-valid-regexp-p): New function.
271 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
272 (python-shell-prompt-output-regexp)
273 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
274
275 2014-07-16 Glenn Morris <rgm@gnu.org>
276
277 * desktop.el (after-init-hook): Disable startup frame restoration
278 in non-graphical situations. (Bug#17693)
279
280 2014-07-14 Glenn Morris <rgm@gnu.org>
281
282 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
283 if it was "empty", or used for a different set of files. (Bug#17884)
284
285 2014-07-13 Eli Zaretskii <eliz@gnu.org>
286
287 * bindings.el (mode-line-remote): If default-directory is not a
288 string, don't call file-remote-p on it; instead state in the
289 help-echo that it is nil. (Bug#17986)
290
291 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
292
293 Fix bug: C-x v v discarded existing log message (Bug#17884).
294 * vc/vc-dispatcher.el (vc-log-edit):
295 Don't clobber an already-existing log message.
296
297 2014-07-10 Glenn Morris <rgm@gnu.org>
298
299 * vc/log-edit.el (log-edit-changelog-entries):
300 Check for a visited-but-never-saved ChangeLog.
301
302 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
303
304 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
305 a non-existing file (bug#17970).
306
307 * faces.el (face-name): Undo last change.
308 (x-resolve-font-name): Don't call face-name (bug#17956).
309
310 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
311
312 Fix dedenters and electric colon handling. (Bug#15163)
313
314 * progmodes/python.el
315 (python-rx-constituents): Add dedenter and block-ender.
316 (python-indent-dedenters, python-indent-block-enders): Delete.
317 (python-indent-context): Return new case for dedenter-statement.
318 (python-indent-calculate-indentation): Handle new case.
319 (python-indent-calculate-levels): Fix levels calculation for
320 dedenter statements.
321 (python-indent-post-self-insert-function): Fix colon handling.
322 (python-info-dedenter-opening-block-message): New function.
323 (python-indent-line): Use it.
324 (python-info-closing-block)
325 (python-info-closing-block-message): Remove.
326 (python-info-dedenter-opening-block-position)
327 (python-info-dedenter-opening-block-positions)
328 (python-info-dedenter-statement-p): New functions.
329
330 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
331
332 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
333 the middle of a line (bug#17896).
334
335 2014-07-08 Juri Linkov <juri@jurta.org>
336
337 * startup.el (command-line): Append displaying the warning about
338 the errors in the init file to the end of `after-init-hook'.
339 (Bug#17927)
340
341 2014-07-08 Juri Linkov <juri@jurta.org>
342
343 * faces.el (face-name): Return input arg `face' as is
344 when it's not a symbol.
345 (x-resolve-font-name): Don't check if the face is a symbol.
346 (Bug#17956)
347
348 2014-07-08 Juri Linkov <juri@jurta.org>
349
350 * facemenu.el (list-colors-print): In help-echo format use %.2f
351 instead of %d because now HSV values are floating-point components
352 between 0.0 and 1.0.
353
354 2014-07-06 Glenn Morris <rgm@gnu.org>
355
356 * emulation/cua-rect.el (cua--activate-rectangle):
357 Avoid setting cua--rectangle to nil. (Bug#17877)
358
359 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
360
361 * calendar/todo-mode.el: Fix wrong-type-argument error when
362 marking multiple consecutive items.
363 (todo-toggle-mark-item): Don't try to mark the empty lines at the
364 end of the todo and done items sections. Note in doc string that
365 items marked by passing a numeric prefix argument can include the
366 last todo and first done items.
367 (todo-mark-category): Don't try to mark the empty line between the
368 todo and done items sections.
369
370 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
371
372 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
373 proper Lisp quoting (bug#17934).
374
375 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
376 require-final-newline since prog-mode already took care of it (bug#17947).
377
378 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
379
380 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
381 refer to the Todo mode Info manual. Update the comment on
382 requiring cl-lib.
383 (todo-find-filtered-items-file): Add todo-prefix overlays.
384 (todo-filter-items): Reorder a let-bound variable to avoid a
385 wrong-type-argument error on canceling the file choice dialog.
386
387 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
388
389 * progmodes/octave.el (inferior-octave-mode):
390 Set comint-input-ring-size to a number (bug#17912).
391
392 2014-07-03 Juri Linkov <juri@jurta.org>
393
394 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
395 and `isearch-mode' associated with nil. (Bug#17849)
396
397 2014-07-02 Juri Linkov <juri@jurta.org>
398
399 * desktop.el (desktop-save): Rename arg `auto-save' to
400 `only-if-changed'. Doc fix. (Bug#17873)
401
402 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
403
404 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
405 Use insert-for-yank (bug#17271).
406
407 2014-07-02 Leo Liu <sdl.web@gmail.com>
408
409 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
410 Support lexical-binding.
411
412 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
413
414 * vc/log-edit.el (log-edit-goto-eoh): New function.
415 (log-edit--match-first-line): Use it (bug#17861).
416
417 2014-07-01 Glenn Morris <rgm@gnu.org>
418
419 * vc/log-edit.el (log-edit-hook): Add missing :version.
420
421 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
422
423 * progmodes/python.el (python-indent-post-self-insert-function):
424 Enhancements to electric indentation behavior inside
425 parens. (Bug#17658)
426
427 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
428
429 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
430 buffer-invisibility-spec (bug#17867).
431
432 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
433
434 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
435 pass "-a".
436
437 2014-06-29 Glenn Morris <rgm@gnu.org>
438
439 * cus-edit.el (help):
440 * finder.el (finder-known-keywords):
441 * help.el (help-for-help-internal):
442 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
443 (ediff-redraw-registry-buffer):
444 * vc/ediff-ptch.el (ediff-patch-file-internal):
445 Doc fixes re "online" help. (Bug#17803)
446
447 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
448 (idlwave-mode): Doc URL update.
449
450 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
451
452 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
453 account for file-wide setting of todo-top-priorities-overrides.
454 Make code a bit cleaner.
455
456 2014-06-27 Leo Liu <sdl.web@gmail.com>
457
458 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
459
460 2014-06-27 Glenn Morris <rgm@gnu.org>
461
462 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
463
464 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
465
466 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
467 category-wide setting of todo-top-priorities-overrides, check for
468 a file-wide setting and fontify accordingly.
469
470 2014-06-26 Glenn Morris <rgm@gnu.org>
471
472 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
473
474 2014-06-26 Daiki Ueno <ueno@gnu.org>
475
476 * emacs-lisp/package.el (package--check-signature):
477 If package-check-signature is allow-unsigned, don't signal error when
478 we can't verify signature because of missing public key
479 (backport for bug#17625).
480
481 2014-06-26 Glenn Morris <rgm@gnu.org>
482
483 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
484 Remove outdated declaration.
485
486 * emacs-lisp/authors.el (authors-valid-file-names)
487 (authors-renamed-files-alist): Additions.
488
489 2014-06-25 Leo Liu <sdl.web@gmail.com>
490
491 * textmodes/picture.el (picture-set-tab-stops):
492 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
493 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
494
495 * progmodes/asm-mode.el (asm-calculate-indentation):
496 Use indent-next-tab-stop.
497
498 * indent.el (indent-accumulate-tab-stops): New function.
499
500 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
501
502 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
503 (package-desc-status): Obey it.
504
505 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
506
507 * calendar/todo-mode.el: Fix two bugs.
508 (todo-insert-item--basic): If user cancels item insertion to
509 another category before setting priority, show original category
510 whether it is in the same or a different file.
511 (todo-set-item-priority): After selecting category, instead of
512 moving point to top, which extends an active region, restore it.
513
514 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
515
516 * help-fns.el (describe-function-1): Check file-name is a string before
517 calling help-fns--autoloaded-p (bug#17564).
518
519 2014-06-24 Juri Linkov <juri@jurta.org>
520
521 * desktop.el (desktop-auto-save-enable)
522 (desktop-auto-save-disable): New functions.
523 (desktop-save-mode, desktop-auto-save-timeout): Use them.
524 (desktop-read): Disable the autosave before loading the desktop,
525 and enable afterwards. (Bug#17351)
526
527 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
528
529 Fix some indentation problem with \; and pipes (bug#17842).
530 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
531 (sh-smie--default-forward-token, sh-smie--default-backward-token):
532 New functions.
533 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
534 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
535 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
536
537 2014-06-24 Eli Zaretskii <eliz@gnu.org>
538
539 * international/fontset.el (script-representative-chars):
540 Add representative characters for scripts added in Unicode 7.0.
541 (otf-script-alist): Synchronize with the latest registry of OTF
542 script tags.
543
544 * international/characters.el (char-script-table): Update for
545 scripts added and codepoint ranges changed in Unicode 7.0.
546
547 2014-06-23 Leo Liu <sdl.web@gmail.com>
548
549 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
550 tab-stop-list to nil. (Bug#16381)
551
552 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
553 (indent-rigidly-left-to-tab-stop)
554 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
555 (move-to-tab-stop): Change callers.
556
557 2014-06-22 Eli Zaretskii <eliz@gnu.org>
558
559 * skeleton.el (skeleton-insert): Yet another fix of the doc string
560 wrt behavior of \n as the first/last element of a skeleton.
561
562 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
563
564 * net/tramp-adb.el (tramp-adb-handle-process-file):
565 * net/tramp-sh.el (tramp-sh-handle-process-file):
566 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
567 the output buffer when DISPLAY is non-nil. (Bug#17815)
568
569 2014-06-21 Glenn Morris <rgm@gnu.org>
570
571 * play/landmark.el (landmark-move-down, landmark-move-up):
572 Fix 2007-10-20 change - preserve horizontal position.
573
574 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
575
576 Fix completion retrieval parsing (bug#17209).
577 * progmodes/python.el (python-mode):
578 (python-util-strip-string): New function.
579 (python-shell-completion-get-completions): Use it.
580
581 2014-06-21 Eli Zaretskii <eliz@gnu.org>
582
583 * skeleton.el (skeleton-insert): Fix last change.
584
585 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
586
587 Enhancements for outline integration (bug#17796).
588 * progmodes/python.el (python-mode): Properly set
589 outline-heading-end-regexp so that comments after colons for
590 defuns are supported.
591
592 2014-06-21 Eli Zaretskii <eliz@gnu.org>
593
594 * skeleton.el (skeleton-insert): Doc fix.
595
596 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
597
598 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
599 (smie-config-guess): Use smie-config-local so the rules are obeyed
600 (bug#17818).
601
602 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
603 since it's already done inside the loop (bug#17819).
604
605 2014-06-20 Martin Rudalics <rudalics@gmx.at>
606
607 * mouse.el (mouse-drag-line): Re-remove code initially removed
608 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
609 (Bug#17819).
610
611 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
612
613 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
614 align with the surrounding parent (bug#17721).
615
616 2014-06-20 Eli Zaretskii <eliz@gnu.org>
617
618 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
619 locally to nil.
620 (texinfo-insert-block, texinfo-insert-@end)
621 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
622 local setting of skeleton-end-newline by adding an explicit \n to
623 the skeletons where appropriate. (Bug#17801)
624
625 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
626
627 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
628 (smie-indent--hanging-p): Use it.
629 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
630
631 2014-06-20 Leo Liu <sdl.web@gmail.com>
632
633 * simple.el (read-quoted-char): Don't let help chars pop up help
634 buffer. (Bug#16617)
635
636 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
637
638 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
639 for | (bug#17621).
640
641 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
642
643 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
644 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
645 burping.
646
647 2014-06-18 Eli Zaretskii <eliz@gnu.org>
648
649 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
650 and later. (Bug#17790)
651
652 2014-06-18 Juri Linkov <juri@jurta.org>
653
654 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
655 to `soft'. (Bug#17554)
656
657 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
658
659 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
660 (bug#17737).
661
662 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
663
664 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
665 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
666
667 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
668
669 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
670 `unread-command-events'.
671
672 2014-06-14 Glenn Morris <rgm@gnu.org>
673
674 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
675 Replace delete-duplicates and mapcan by cl- versions throughout.
676 And cl-macroexpand-all by macroexpand-all.
677 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
678
679 2014-06-14 Eli Zaretskii <eliz@gnu.org>
680
681 * subr.el (posn-col-row): Doc fix. (Bug#17768)
682
683 2014-06-14 Juri Linkov <juri@jurta.org>
684
685 * bindings.el: Put `ascii-character' property on keypad keys
686 mapped to characters. (Bug#17759)
687
688 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
689
690 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
691 bumping forward into a closing paren (bug#17761).
692
693 * term/xterm.el (xterm--version-handler): Work around for OSX
694 Terminal.app (bug#17607).
695
696 2014-06-08 Glenn Morris <rgm@gnu.org>
697
698 * startup.el (initial-buffer-choice): Doc fix.
699 Reset :version (adding an option does not merit a :version bump).
700
701 * bookmark.el (bookmark-load):
702 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
703
704 2014-06-06 Juri Linkov <juri@jurta.org>
705
706 * desktop.el: Activate auto-saving on window configuration changes.
707 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
708 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
709 (desktop-auto-save-set-timer): Change REPEAT arg of
710 `run-with-idle-timer' from t to nil.
711 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
712
713 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
714
715 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
716 vc-hg-command (bug#17570).
717
718 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
719
720 * international/mule-cmds.el (ucs-names): Add special entry for BEL
721 (bug#17702).
722
723 2014-06-06 Glenn Morris <rgm@gnu.org>
724
725 * startup.el (window-setup-hook): Doc fix.
726
727 2014-06-05 Glenn Morris <rgm@gnu.org>
728
729 * emacs-lisp/package.el (package-check-signature)
730 (package-unsigned-archives): Doc fixes.
731
732 2014-06-03 Martin Rudalics <rudalics@gmx.at>
733
734 * window.el (display-buffer-use-some-window): Don't make window
735 used smaller than it was before (Bug#17671).
736
737 2014-06-03 Eli Zaretskii <eliz@gnu.org>
738
739 * menu-bar.el (menu-bar-open): Fix last change: use the PC
740 'redisplay' instead of '(sit-for 0)'.
741
742 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
743
744 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
745 regexp. (Bug#17653)
746
747 2014-06-03 Glenn Morris <rgm@gnu.org>
748
749 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
750
751 2014-06-02 Eli Zaretskii <eliz@gnu.org>
752
753 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
754
755 2014-06-01 Eli Zaretskii <eliz@gnu.org>
756
757 * simple.el (keyboard-quit): Force update of mode lines, to remove
758 the "Def" indicator, if we were defining a macro. (Bug#17615)
759
760 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
761
762 * minibuffer.el (minibuffer-force-complete-and-exit):
763 Obey minibuffer-default (bug#17545).
764
765 * progmodes/js.el (js-indent-line): Don't mix columns and chars
766 (bug#17619).
767
768 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
769
770 * subr.el (set-transient-map): Don't wait for some "nested"
771 transient-map to finish if we're only supposed to be active for
772 the next command (bug#17642).
773
774 2014-05-31 Leo Liu <sdl.web@gmail.com>
775
776 * emacs-lisp/gv.el (window-buffer, window-display-table)
777 (window-dedicated-p, window-hscroll, window-point, window-start):
778 Fix gv-expander. (Bug#17630)
779
780 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
781
782 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
783 clicks (bug#17633).
784
785 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
786 for the single comma, since ", " is *very* common in normal French text
787 (bug#17643).
788
789 2014-05-30 Glenn Morris <rgm@gnu.org>
790
791 * emacs-lisp/package.el (package-check-signature)
792 (package-unsigned-archives): Fix :version.
793
794 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
795
796 * subr.el (sit-for): Don't run input-methods (bug#15614).
797
798 2014-05-28 Glenn Morris <rgm@gnu.org>
799
800 * cus-start.el: Fix some :version numbers.
801
802 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
803
804 * simple.el (deactivate-mark): Set mark-active to nil even if
805 deactivation is done via setting transient-mark-mode to nil,
806 since one is buffer-local and the other is global.
807
808 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
809 there can't be more than 2 arguments (bug#17584).
810
811 2014-05-27 Glenn Morris <rgm@gnu.org>
812
813 * simple.el (filter-buffer-substring-functions)
814 (filter-buffer-substring-function, buffer-substring-filters)
815 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
816
817 * minibuffer.el (completion-in-region-functions, completion-in-region)
818 (completion--in-region): Doc fixes.
819
820 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
821 (expand-abbrev, abbrev--default-expand): Doc fixes.
822
823 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
824
825 Include sources used to create macuvs.h.
826 * international/README: Refer to the Unicode Terms of Use rather
827 than copying it bodily here, as that simplifies maintenance.
828
829 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
830
831 * cus-face.el (custom-face-attributes): Add :distant-foreground.
832
833 2014-05-25 Martin Rudalics <rudalics@gmx.at>
834
835 * window.el (window--dump-frame): Remove interactive
836 specification.
837
838 2014-05-23 Glenn Morris <rgm@gnu.org>
839
840 * hippie-exp.el (he-line-search-regexp):
841 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
842
843 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
844
845 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
846 to avoid errors when trying to create or visit a file foo.todo
847 located outside to todo-directory, and to allow having such files
848 without them being tied to Todo mode (bug#17482).
849 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
850 (todo-archive-done-item, todo-find-filtered-items-file)
851 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
852 (todo-category-completions, todo-read-category): When visiting a
853 Todo file, make sure we're in the right mode and the buffer local
854 variables are set.
855 (todo-make-categories-list, todo-reset-nondiary-marker)
856 (todo-reset-done-string, todo-reset-comment-string):
857 After processing all Todo files, kill the buffers of those files that
858 weren't being visited before the processing.
859 (todo-display-as-todo-file, todo-add-to-buffer-list)
860 (todo-visit-files-commands): Comment out.
861 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
862 (auto-mode-alist): Remove add-to-list calls making Todo file
863 extensions unrestrictedly tied to Todo modes.
864
865 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
866
867 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
868 (advice-function-member-p): Tell it to check both names and functions
869 (bug#17531).
870 (advice--add-function): Adjust call accordingly.
871
872 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
873
874 * calendar/todo-mode.el: Miscellaneous bug fixes.
875 (todo-delete-file): When deleting an archive but not its todo
876 file, make sure to update the todo file's category sexp.
877 (todo-move-category): Keep the moved category's name unless the
878 file moved to already has a category with that name. If the
879 numerically last category of the source file was moved, make the
880 first category current to avoid selecting a nonexisting category.
881 (todo-merge-category): Fix implementation to make merging to a
882 category in another file work as documented. Eliminate now
883 insufficient and unnecessary renaming of archive category, correct
884 document string accordingly, and clarify it. If the numerically
885 last category of the source file was merged, make the first
886 category current to avoid selecting a nonexisting category.
887 (todo-archive-done-item): When there are marked items and point
888 happens to be on an unmarked item, ignore the latter. Don't leave
889 point below last item after archiving marked items.
890 (todo-unarchive-items): Fix logic to ensure unarchiving an item
891 from an archive with only one category deletes the archive only
892 when the category is empty after unarchiving. Make sure the todo
893 file's category sexp is updated.
894 (todo-read-file-name): Allow an existing file name even when it is
895 not required (todo-move-category needs this to work as documented).
896 (todo-add-file): Call todo-validate-name to reject the name of an
897 existing todo file (needed due to fix in todo-read-file-name).
898 (todo-reset-nondiary-marker): Also reset in filtered items files.
899 (todo-reset-done-string, todo-reset-comment-string): Also reset in
900 regexp filtered items files.
901 (todo-reset-highlight-item): Also reset in filtered items files.
902 Fix incorrect variable reference in document string.
903
904 2014-05-22 Glenn Morris <rgm@gnu.org>
905
906 * window.el (window--dump-frame): Avoid error in --without-x builds.
907
908 2014-05-21 Glenn Morris <rgm@gnu.org>
909
910 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
911
912 2014-05-21 Eli Zaretskii <eliz@gnu.org>
913
914 * frame.el (set-frame-font): Doc fix.
915
916 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
917
918 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
919
920 * emacs-lisp/package.el (package--download-one-archive):
921 Use `write-region' instead of `save-buffer' to avoid running various
922 hooks. (Bug#17155)
923 (describe-package-1): Same. Insert newline at the end of the
924 buffer if appropriate.
925
926 2014-05-20 Juri Linkov <juri@jurta.org>
927
928 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
929 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
930 Add more modifiers: meta, control, shift, hyper, super, alt.
931 (Bug#17439)
932
933 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
934 to allow changing its value with `set-variable'.
935
936 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
937
938 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
939 #; comments.
940 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
941 New functions.
942 (scheme-mode-variables): Set syntax-propertize-function instead of
943 font-lock-syntactic-face-function.
944 (scheme-font-lock-syntactic-face-function): Delete.
945
946 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
947
948 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
949
950 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
951 (bug#17392).
952
953 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
954
955 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
956 for a temporary file name.
957
958 2014-05-17 Eli Zaretskii <eliz@gnu.org>
959
960 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
961
962 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
963
964 * net/dbus.el (dbus-init-bus, dbus-call-method)
965 (dbus-call-method-asynchronously, dbus-send-signal)
966 (dbus-method-return-internal, dbus-method-error-internal):
967 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
968
969 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
970
971 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
972 methods which do not have a doc string. (Bug#17490)
973
974 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
975 Stefan Monnier <monnier@iro.umontreal.ca>
976
977 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
978 suffix (bug#15419).
979
980 2014-05-14 Glenn Morris <rgm@gnu.org>
981
982 * vc/emerge.el (emerge-temp-file-prefix):
983 Make pointless option obsolete.
984 (emerge-temp-file-mode): Make non-functional option obsolete.
985
986 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
987
988 * net/browse-url.el (browse-url):
989 Use `unhandled-file-name-directory' when setting `default-directory',
990 in order to circumvent stalled remote connections. (Bug#17425)
991
992 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
993
994 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
995 into autoloading just because of a silly indirection.
996
997 2014-05-11 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
998
999 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1000
1001 2014-05-11 Glenn Morris <rgm@gnu.org>
1002
1003 * emacs-lisp/find-gc.el: Move to ../admin.
1004
1005 2014-05-10 Glenn Morris <rgm@gnu.org>
1006
1007 * printing.el (pr-version):
1008 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1009
1010 * net/browse-url.el (browse-url-mosaic):
1011 Create /tmp/Mosaic.PID as a private file.
1012
1013 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
1014
1015 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1016 (advice--member-p): If name is given, only compare the name.
1017 (advice--remove-function): Don't stop at the first match.
1018 (advice--normalize-place): New function.
1019 (add-function, remove-function): Use it.
1020 (advice--add-function): Pass the name, if any, to
1021 advice--remove-function.
1022
1023 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1024
1025 * electric.el (electric-indent-post-self-insert-function): Don't use
1026 `pos' after modifying the buffer (bug#17449).
1027
1028 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1029
1030 * subr.el (function-put): Add function.
1031
1032 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
1033
1034 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1035 Correct argument list to conform to todo-insert-item--basic.
1036
1037 2014-05-09 Glenn Morris <rgm@gnu.org>
1038
1039 * files.el (cd-absolute): Test if directory is accessible
1040 rather than executable. (Bug#17330)
1041
1042 * progmodes/compile.el (recompile):
1043 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1044
1045 2014-05-08 Juri Linkov <juri@jurta.org>
1046
1047 * dired.el (dired-check-switches, dired-switches-recursive-p):
1048 New functions. (Bug#17218)
1049 (dired-switches-escape-p, dired-move-to-end-of-filename):
1050 Use `dired-check-switches'.
1051 (dired-insert-old-subdirs, dired-build-subdir-alist)
1052 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1053
1054 2014-05-08 Glenn Morris <rgm@gnu.org>
1055
1056 * net/browse-url.el (browse-url-mosaic):
1057 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1058 This is CVE-2014-3423.
1059
1060 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1061
1062 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1063 (xterm-mouse--read-event-sequence-1000): Return nil if something
1064 looks fishy.
1065 (xterm-mouse-event): Propagate it.
1066 (xterm-mouse-translate-1): Handle it.
1067
1068 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
1069
1070 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1071 four slots of the parameter list are filled, make sure to pass it
1072 to the argument list of todo-insert-item--basic.
1073
1074 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1075
1076 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1077 Add optional `seen' argument to detect and break infinite loops.
1078
1079 2014-05-06 Eli Zaretskii <eliz@gnu.org>
1080
1081 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1082 (trace-unsafe, trace-use-tree): Make parentheses style be
1083 according to Emacs style.
1084
1085 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
1086
1087 * net/tramp-sh.el (tramp-remote-process-environment):
1088 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1089 Add :version entry.
1090 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1091 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
1092 extra "PSx=..." commands.
1093 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1094 (Bug#17295)
1095
1096 (tramp-uudecode): Replace the hard-coded temporary file name by a
1097 format specifier.
1098 (tramp-remote-coding-commands): Enhance docstring.
1099 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1100 name. (Bug#17415)
1101 This is CVE-2014-3424.
1102
1103 2014-05-06 Glenn Morris <rgm@gnu.org>
1104
1105 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1106 (find-gc-source-files): Update some names.
1107 (trace-call-tree): Simplify and update.
1108 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1109 This is CVE-2014-3422.
1110
1111 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1112
1113 * minibuffer.el (completion--try-word-completion): Revert fix for
1114 Bug#15980 (bug#17375).
1115
1116 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1117 Always store button numbers in the same way in xterm-mouse-last;
1118 Don't burp is xterm-mouse-last is not set as expected.
1119 Never return negative indices.
1120
1121 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
1122
1123 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1124 Backtrack one char if the global/char-literal var matcher hits
1125 inside a string. The next char could be the beginning of an
1126 expression expansion.
1127
1128 2014-05-05 Glenn Morris <rgm@gnu.org>
1129
1130 * help-fns.el (describe-function-1): Test for an autoload before a
1131 macro, since `macrop' works on autoloads. (Bug#17410)
1132
1133 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1134
1135 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1136
1137 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1138 Make sure the new point we return is within the new string (bug#17239).
1139
1140 2014-05-03 Eli Zaretskii <eliz@gnu.org>
1141
1142 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1143
1144 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1145
1146 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1147 Use nil rather than `default' for the "default" appearance (bug#17388).
1148 * vc/ediff-util.el (ediff-inferior-compare-regions)
1149 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1150 a misleading `default' value when it's really a boolean.
1151 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1152 overlay is not visible.
1153
1154 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1155
1156 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1157 (todo-menu): Uncomment and update.
1158
1159 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1160
1161 * calendar/todo-mode.el: Reimplement item editing to have the same
1162 basic user interface as item insertion, and make small UI and
1163 larger internal improvements to the latter.
1164 (todo-insert-item): Add reference to the Todo mode user manual to
1165 the documentation string.
1166 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1167 adjust all callers. Change signature to combine diary and
1168 nonmarking arguments. Incorporate functionality of deleted item
1169 copying command and add error checking. Remove detailed
1170 descriptions of the arguments from the documentation string, since
1171 this is treated in the Todo mode user manual.
1172 (todo-copy-item, todo-edit-multiline-item)
1173 (todo-edit-done-item-comment, todo-edit-item-header)
1174 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1175 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1176 (todo-edit-item-date-year, todo-edit-item-date-month)
1177 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1178 Remove.
1179 (todo-edit-item): Reimplement as wrapper command for
1180 todo-edit-item--next-key and make it distinguish done and not done
1181 todo items.
1182 (todo-edit-item--text): New function, replacing old command
1183 todo-edit-item and incorporating deleted commands
1184 todo-edit-multiline-item and todo-edit-done-item-comment.
1185 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1186 Use only numeric value of prefix argument. Remove detailed
1187 descriptions of the arguments from the documentation string, since
1188 this is treated in the Todo mode user manual.
1189 (todo-edit-item--diary-inclusion): New function, replacing old
1190 command todo-edit-item-diary-inclusion and incorporating and fixing
1191 functionality of deleted command todo-edit-item-diary-nonmarking,
1192 making sure to remove todo-nondiary-marker when adding
1193 diary-nonmarking-symbol.
1194 (todo-edit-category-diary-inclusion): Make sure to delete
1195 diary-nonmarking-symbol when adding todo-nondiary-marker.
1196 (todo-edit-category-diary-nonmarking): Fix indentation.
1197 (todo-insert-item--parameters): Group diary and nonmarking
1198 parameters together.
1199 (todo-insert-item--apply-args): Adjust to signature of
1200 todo-insert-item--basic and incorporate copy parameter.
1201 Make small code improvements.
1202 (todo-insert-item--next-param): Improve prompt and adjust it to
1203 new parameter grouping. Remove obsolete code.
1204 (todo-edit-item--param-key-alist)
1205 (todo-edit-item--date-param-key-alist)
1206 (todo-edit-done-item--param-key-alist): New defconsts.
1207 (todo-edit-item--prompt): New variable.
1208 (todo-edit-item--next-key): New function.
1209 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1210 Remove bindings of deleted commands.
1211
1212 2014-05-02 Leo Liu <sdl.web@gmail.com>
1213
1214 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1215
1216 2014-05-01 Glenn Morris <rgm@gnu.org>
1217
1218 * allout-widgets.el (allout-widgets-tally)
1219 (allout-decorate-item-guides):
1220 * menu-bar.el (menu-bar-positive-p):
1221 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1222 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1223 * progmodes/js.el (js--inside-param-list-p)
1224 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1225 * progmodes/prolog.el (region-exists-p):
1226 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1227 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1228 Doc fixes (replace `iff').
1229
1230 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1231
1232 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1233
1234 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1235
1236 * dired.el (dired-initial-position-hook, dired-initial-position):
1237 Doc string fixes.
1238
1239 2014-04-29 Glenn Morris <rgm@gnu.org>
1240
1241 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1242
1243 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
1244
1245 * faces.el (face-spec-recalc): Apply X resources only after the
1246 defface spec has been applied. Thus, X resources are no longer
1247 overridden by the defface spec which also fixes issues on win32 where
1248 the toolbar coloring was wrong because it is set through X resources
1249 and was (wrongfully) overridden. (Bug#16694)
1250
1251 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1252
1253 * textmodes/rst.el (electric-pair-pairs): Declare.
1254 (rst-mode): Set it (bug#17131).
1255
1256 2014-04-27 Juri Linkov <juri@jurta.org>
1257
1258 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1259 and `print-level' to nil. (Bug#17351)
1260
1261 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1262
1263 * battery.el (battery-update): Handle the case where battery
1264 status is "N/A" (bug#17319).
1265
1266 2014-04-24 Eli Zaretskii <eliz@gnu.org>
1267
1268 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1269 Use equal-including-properties to compare help-echo strings (bug#17331).
1270
1271 2014-04-24 Leo Liu <sdl.web@gmail.com>
1272
1273 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1274 Fix syntax for @. (Bug#17325)
1275
1276 2014-04-24 Daniel Colascione <dancol@dancol.org>
1277
1278 * emacs-lisp/cl.el (gv): Require gv early to break eager
1279 macro-expansion cycles.
1280
1281 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1282
1283 * simple.el (region-active-p): Check there's a mark (bug#17324).
1284
1285 * simple.el (completion-list-mode-map): Use choose-completion for the
1286 mouse binding as well (bug#17302).
1287 (completion-list-mode, completion-setup-function): Adjust docstring and
1288 echo area message accordingly.
1289 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1290 calling convention of choose-completion.
1291 * comint.el (comint-dynamic-list-completions):
1292 * term.el (term-dynamic-list-completions): Accept choose-completion.
1293
1294 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1295 &, |, +, - and * can't be a division (bug#17317).
1296
1297 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1298
1299 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1300 features on gnome-terminal (bug#16988).
1301
1302 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1303
1304 * dired.el (dired-insert-set-properties): Do not consider
1305 subdirectory headings and empty lines to be information that
1306 `dired-hide-details-mode' should hide. (Bug#17228)
1307
1308 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1309
1310 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1311 Remove test messages.
1312 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1313 and `target' twice.
1314
1315 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1316
1317 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1318 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1319
1320 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1321
1322 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
1323
1324 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1325 Set "IFS=" when using read builtin, in order to preserve spaces in
1326 the file name. Add test messages for hunting a bug on hydra.
1327 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1328
1329 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1330
1331 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1332 Don't prettify a word within a symbol.
1333
1334 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
1335
1336 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1337 possible.
1338
1339 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1340
1341 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1342 assignments such as "case=hello" (bug#17297).
1343
1344 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1345
1346 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1347 Do not autoload.
1348 (tramp-file-name-handler, tramp-completion-file-name-handler):
1349 Revert patch from 2014-04-10, it isn't necessary anymore.
1350 (tramp-autoload-file-name-handler)
1351 (tramp-register-autoload-file-name-handlers): New defuns.
1352 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1353 (tramp-register-file-name-handlers): Remove also
1354 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1355 Do not autoload its invocation, but eval it after loading of 'tramp.
1356
1357 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1358
1359 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1360
1361 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1362
1363 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
1364 was done (bug#17264).
1365 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
1366 comment to EOB.
1367
1368 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1369 here-documents (bug#17262).
1370
1371 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1372
1373 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1374 Provide doc strings, as required by snarf-documentation.
1375
1376 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1377
1378 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1379 arg of overlays-at. Use `invisible-p'.
1380
1381 * obsolete/lucid.el (extent-at):
1382 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1383 overlays-at.
1384 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1385
1386 2014-04-14 João Távora <joaotavora@gmail.com>
1387
1388 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1389 links. (Bug#17217).
1390
1391 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1392
1393 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1394 Use mapc to loop over a vector. (Bug#17257).
1395
1396 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
1397
1398 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1399 patch, there are new problems with file names containing spaces.
1400 Get rid of backticks. (Bug#17238)
1401
1402 2014-04-13 João Távora <joaotavora@gmail.com>
1403
1404 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1405 possible bug.
1406
1407 2014-04-13 Eli Zaretskii <eliz@gnu.org>
1408
1409 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1410 (blink-cursor-mode): Mention customization variables and the
1411 effect of 'blink-cursor-blinks'.
1412
1413 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
1414
1415 * simple.el (undo): Prevent insertion of identity mapping into
1416 undo-equiv-table so as undo-only does not inf loop in the presence
1417 of consecutive nils in undo list.
1418
1419 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1420
1421 * faces.el (make-face): Deprecate optional argument as it is no
1422 longer needed/used since the conditional X resources handling
1423 has been pushed down to make-face-x-resource-internal itself.
1424 (make-empty-face): Don't pass optional argument to make-face.
1425
1426 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1427
1428 * international/characters.el <standard-case-table>: Add entries
1429 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1430 Set category of Coptic characters be 'g' (Greek).
1431
1432 2014-04-12 Leo Liu <sdl.web@gmail.com>
1433
1434 * progmodes/octave.el (completion-table-with-cache): Define if not
1435 available.
1436 (octave-goto-function-definition)
1437 (octave-sync-function-file-names)
1438 (octave-find-definition-default-filename): Backquote upattern for
1439 compatibility.
1440
1441 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1442
1443 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1444 name twice due to backticks. (Bug#17238)
1445
1446 2014-04-11 Glenn Morris <rgm@gnu.org>
1447
1448 * term/w32-win.el (x-win-suspend-error):
1449 * term/x-win.el (x-win-suspend-error): Sync docs.
1450
1451 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1452
1453 Ediff's overlay priorities cause more trouble than they solve.
1454 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1455 (ediff-highest-priority): Remove function (bug#17234).
1456 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1457 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1458 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1459 overlay priorities.
1460
1461 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
1462
1463 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1464 entry; use symbol boundaries to avoid mis-matches.
1465
1466 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
1467
1468 * net/tramp.el (tramp-file-name-handler)
1469 (tramp-completion-file-name-handler): Avoid recursive loading.
1470
1471 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1472 Quote result also locally.
1473
1474 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1475
1476 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1477 Module methods. (Bug#17216)
1478
1479 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1480
1481 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1482 (describe-bindings-internal): Mark obsolete.
1483
1484 2014-04-07 João Távora <joaotavora@gmail.com>
1485
1486 * elec-pair.el:
1487 (electric-pair--syntax-ppss): When inside comments parse from
1488 comment beginning.
1489 (electric-pair--balance-info): Fix typo in comment.
1490 (electric-pair--in-unterminated-string-p): Delete.
1491 (electric-pair--unbalanced-strings-p): New function.
1492 (electric-pair-string-bound-function): New var.
1493 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1494 according to `electric-pair--in-unterminated-string-p'
1495
1496 2014-04-07 João Távora <joaotavora@gmail.com>
1497
1498 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1499 Inhibit quote pairing if point-max is inside an unterminated string.
1500 (electric-pair--looking-at-unterminated-string-p): Delete.
1501 (electric-pair--in-unterminated-string-p): New function.
1502
1503 2014-04-07 Glenn Morris <rgm@gnu.org>
1504
1505 * shell.el (shell-directory-tracker):
1506 Go back to just ignoring failures. (Bug#17159)
1507
1508 2014-04-06 João Távora <joaotavora@gmail.com>
1509
1510 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1511 backspace. (bug#16981)
1512 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1513 (electric-pair-backward-delete-char-untabify): Delete.
1514 (electric-pair-mode-map): Bind backspace to a menu item filtering
1515 a new `electric-pair-delete-pair' command.
1516 (electric-pair-delete-pair): New command.
1517
1518 2014-04-06 João Távora <joaotavora@gmail.com>
1519
1520 * progmodes/python.el (python-electric-pair-string-delimiter):
1521 Fix triple-quoting electricity. (Bug#17192)
1522
1523 2014-04-06 João Távora <joaotavora@gmail.com>
1524
1525 * elec-pair.el (electric-pair-post-self-insert-function):
1526 Don't skip whitespace when `electric-pair-text-pairs' and
1527 `electric-pair-pairs' were used. syntax to
1528 electric-pair--skip-whitespace. (Bug#17183)
1529
1530 2014-04-06 Eli Zaretskii <eliz@gnu.org>
1531
1532 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1533 "<F>". (Bug#17199)
1534
1535 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1536
1537 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1538 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1539
1540 2014-04-05 Glenn Morris <rgm@gnu.org>
1541
1542 * help.el (view-lossage): Doc tweak.
1543
1544 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
1545
1546 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1547 only when inhibit-x-resources is nil, and do that earlier in the
1548 function. Doc fix. (Bug#16694)
1549 (face-spec-choose): Accept additional optional argument, whose
1550 value is returned if no matching attributes are found.
1551 (face-spec-recalc): Use the new optional argument when calling
1552 face-spec-choose. (Bug#16378)
1553 (make-face-x-resource-internal): Do nothing when
1554 inhibit-x-resources is non-nil. Don't touch the default face if
1555 reversed video is given--as was done in previous versions of Emacs.
1556 (face-set-after-frame-default): Don't call
1557 make-face-x-resource-internal here. (Bug#16434)
1558
1559 2014-04-04 Tassilo Horn <tsdh@gnu.org>
1560
1561 * doc-view.el (doc-view-bookmark-jump):
1562 Use `bookmark-after-jump-hook' to jump to the right page after the
1563 buffer is shown in a window. (bug#16090)
1564
1565 2014-04-04 Eli Zaretskii <eliz@gnu.org>
1566
1567 * international/characters.el (mirroring): Fix last change:
1568 instead of loading uni-mirrored.el explicitly, do that implicitly
1569 by creating the 'mirroring' uniprop table. This avoids announcing
1570 the loading of uni-mirrored.el.
1571
1572 2014-04-04 Glenn Morris <rgm@gnu.org>
1573
1574 * files.el (buffer-stale--default-function)
1575 (buffer-stale-function, revert-buffer--default):
1576 * autorevert.el (auto-revert-buffers): Doc tweaks.
1577
1578 2014-04-03 Eli Zaretskii <eliz@gnu.org>
1579
1580 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1581
1582 2014-04-03 Glenn Morris <rgm@gnu.org>
1583
1584 * files.el (make-backup-file-name-function)
1585 (make-backup-file-name, make-backup-file-name--default-function)
1586 (make-backup-file-name-1, find-backup-file-name)
1587 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1588 (buffer-stale--default-function, buffer-stale-function)
1589 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1590 (revert-buffer, revert-buffer--default)
1591 (revert-buffer-insert-file-contents--default-function):
1592 Doc fixes related to defaults no longer being nil.
1593 (make-backup-file-name-function): Bump :version.
1594 Restore nil as a valid but deprecated custom type.
1595
1596 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1597
1598 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
1599 used as a variable (bug#17174).
1600
1601 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1602
1603 * progmodes/perl-mode.el (perl-indent-new-calculate):
1604 Handle forward-sexp failure (bug#16985).
1605 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1606 modifiers introducing expressions (bug#17116).
1607
1608 2014-04-02 Glenn Morris <rgm@gnu.org>
1609
1610 * menu-bar.el (menu-bar-file-menu):
1611 * vc/ediff.el (ediff-current-file):
1612 Update for revert-buffer-function no longer being nil by default.
1613
1614 * simple.el (command-execute): Respect nil disabled-command-function.
1615
1616 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1617
1618 * simple.el (command-execute): Do not execute the command when it
1619 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1620
1621 2014-03-29 Juri Linkov <juri@jurta.org>
1622
1623 * dired-aux.el (dired-compress-file): Don't use string-match-p
1624 because its match data is used afterwards.
1625
1626 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1627
1628 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1629 0 like nil.
1630
1631 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1632
1633 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1634 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1635
1636 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1637 Don't propertize `?' or `!' as symbol constituent when after
1638 colon. (Bug#17097)
1639
1640 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1641
1642 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1643 which is no longer needed and causes trouble in GTK builds (bug#17046).
1644
1645 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1646 Use url-insert-file-contents; package-handle-response no longer exists.
1647
1648 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1649
1650 * emacs-lisp/package.el: Fix bug#16733 (again).
1651 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1652 (url-http-target-url): Remove unused declarations.
1653 (package-handle-response): Remove.
1654 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1655 (package--download-one-archive): Use current-buffer instead of
1656 dynamic binding of `buffer'.
1657 (describe-package-1): Do not decode readme-string.
1658
1659 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
1660
1661 * simple.el (primitive-undo): Correction to 2014-03-24 change.
1662
1663 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
1664
1665 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1666
1667 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1668 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1669 `remote-file-name-inhibit-cache' to nil in the second pass.
1670 (tramp-find-executable): Do not call "which" on SunOS.
1671 (tramp-send-command-and-check): Fix docstring.
1672 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1673 check whether source directory has set the sticky bit.
1674
1675 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
1676
1677 * simple.el (primitive-undo): Only process marker adjustments
1678 validated against their corresponding (TEXT . POS). Issue warning
1679 for lone marker adjustments in undo history. (Bug#16818)
1680 (undo-make-selective-list): Add marker adjustments to selective
1681 undo list based on whether their corresponding (TEXT . POS) is in
1682 the region. Remove variable adjusted-markers, which was unused
1683 and only non nil during undo-make-selective-list.
1684 (undo-elt-in-region): Return nil when passed a marker adjustment
1685 and explain in function doc.
1686
1687 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1688
1689 * emacs-lisp/package.el (package--add-to-archive-contents):
1690 Include already installed and built-in packages in
1691 `package-archive-contents'.
1692 (package-install): Don't include already installed packages in the
1693 options during interactive invocation. (Bug#16762)
1694
1695 2014-03-24 Daniel Colascione <dancol@dancol.org>
1696
1697 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1698 instead of cl-loop search function.
1699
1700 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
1701
1702 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1703
1704 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1705
1706 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1707
1708 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1709
1710 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1711 Match special global variables without curlies, too.
1712 (ruby-font-lock-keywords): Simplify the matcher for special global
1713 variables. Don't require a non-word character after the variable.
1714 (Bug#17057)
1715
1716 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1717
1718 * simple.el (redisplay-highlight-region-function): Increase priority of
1719 overlay to make sure boundaries are visible (bug#15899).
1720
1721 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1722
1723 * frameset.el (frameset-restore): Compare display strings with equal.
1724
1725 * frame.el (make-frame): Don't quote display name in error message,
1726 it is already a string.
1727
1728 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1729
1730 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1731 the password.
1732
1733 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
1734
1735 * emacs-lisp/package.el (package-show-package-list): If the buffer
1736 is already displayed in another window, switch to that window.
1737
1738 2014-03-21 Daniel Colascione <dancol@dancol.org>
1739
1740 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1741 information in bug reports.
1742
1743 2014-03-23 Daniel Colascione <dancol@dancol.org>
1744
1745 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1746 list to look for keyword arguments instead of `memq', fixing
1747 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1748 Please make bootstrap.
1749
1750 2014-03-23 Richard Stallman <rms@gnu.org>
1751
1752 * battery.el (battery-linux-sysfs): Search for each field
1753 from the beginning of the buffer.
1754
1755 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1756
1757 * emacs-lisp/package.el (package-desc): Use the contents of the
1758 quoted form, not its cdr. (Bug#16873)
1759
1760 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1761
1762 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1763 benefit of doc.c; change parameter profile to match the X function.
1764
1765 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
1766
1767 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1768 and `tramp-copy-env'.
1769
1770 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1771 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1772
1773 2014-03-21 Glenn Morris <rgm@gnu.org>
1774
1775 * electric.el (electric-indent-post-self-insert-function): Add doc.
1776
1777 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1778
1779 * emacs-lisp/package.el (package-compute-transaction):
1780 Use `version-list-<=' to compare the requirement version against
1781 the version of package already to be installed. Update the error
1782 message. (Bug#16826)
1783
1784 * progmodes/ruby-mode.el (ruby-smie-rules):
1785 Add indentation rule for ` @ '. (Bug#17050)
1786
1787 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1788
1789 * align.el (align-regexp): Remove superfluous backslash.
1790
1791 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1792 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1793 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1794 Fix docstring typos.
1795 (ffap-next): Use C-u in docstring.
1796 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1797 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1798 Remove superfluous backslashes.
1799 (ffap-string-at-point): Reflow docstring.
1800
1801 * server.el (server-host): Reflow docstring.
1802 (server-unload-function): Fix docstring typo.
1803 (server-eval-at): Remove superfluous backslash.
1804
1805 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1806 (skeleton-insert): Doc fix.
1807 (skeleton-insert): Reflow docstring.
1808
1809 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1810 (tty-color-approximate, tty-color-by-index, tty-color-values)
1811 (tty-color-desc): Remove superfluous backslashes.
1812
1813 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1814
1815 * electric.el (electric-newline-and-maybe-indent): New command.
1816 Bind it globally to C-j.
1817 (electric-indent-mode): Don't mess with the global map any more.
1818 Don't drop the post-self-insert-hook is some buffer is still using it
1819 (bug#16770).
1820
1821 * bindings.el (global-map): Remove C-j binding.
1822
1823 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1824 the docstring of functions advised before dumping (bug#16993).
1825
1826 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
1827
1828 * ps-print.el (ps-generate-postscript-with-faces):
1829 Explicitly deactivate the mark (bug#16866).
1830 * simple.el (deactivate-mark): Update region highlight.
1831
1832 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
1833
1834 * emacs-lisp/package.el (describe-package-1):
1835 Decode commentary (bug#16733).
1836
1837 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
1838
1839 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1840 modification of the value argument of :set (bug#16755).
1841
1842 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1843
1844 * simple.el (newline-and-indent): Do autofill (bug#17031).
1845
1846 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1847
1848 * newcomment.el (comment-normalize-vars): Only add escaping check
1849 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1850 (comment-beginning): Use `narrow-to-region' instead of moving back
1851 one character.
1852 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1853 (comment-start-skip): Update the docstring.
1854
1855 2014-03-18 Richard Stallman <rms@gnu.org>
1856
1857 * dired.el (dired-display-file): Force use of other window.
1858
1859 2014-03-18 Daniel Colascione <dancol@dancol.org>
1860
1861 * startup.el (tty-handle-args): Remove debug message from 2007.
1862
1863 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1864
1865 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1866 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1867 (advice--make-1, advice-add, advice-remove):
1868 Remove braindead :advice-pending hack.
1869
1870 2014-03-17 Glenn Morris <rgm@gnu.org>
1871
1872 * calendar/calendar.el (calendar-generate-month): Apply weekend
1873 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1874
1875 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
1876
1877 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1878 (tramp-call-process): Trace also DESTINATION.
1879
1880 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1881 Quote file names when they are local. Remove superfluous trace.
1882
1883 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1884
1885 * newcomment.el (comment-beginning): If `comment-start-skip'
1886 doesn't match, move back one char and try again. (Bug#16971)
1887
1888 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1889 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
1890 Set `comment-start-skip' to a simpler value that doesn't try to
1891 check if the semicolon is escaped (this is handled by
1892 `syntax-ppss' now). (Bug#16971)
1893
1894 * progmodes/scheme.el (scheme-mode-variables): Same.
1895
1896 2014-03-16 Martin Rudalics <rudalics@gmx.at>
1897
1898 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1899 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1900 current (Bug#16816, Bug#17007).
1901 (with-current-buffer-window): New macro doing the same as
1902 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1903 * help.el (help-print-return-message): Warn in doc-string to not
1904 use this in `with-help-window'.
1905 (describe-bindings-internal): Call `describe-buffer-bindings'
1906 from within help buffer. See Juanma's scenario in (Bug#16816).
1907 (with-help-window): Update doc-string.
1908 * dired.el (dired-mark-pop-up):
1909 * files.el (save-buffers-kill-emacs):
1910 * register.el (register-preview): Use `with-current-buffer-window'
1911 instead of `with-temp-buffer-window'.
1912
1913 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
1914
1915 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1916 Implement inserting into current buffer, documented in their docstrings.
1917 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1918 (rst-section-tree-point, rst-forward-section, rst-indent)
1919 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1920 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1921 (rst-font-lock-handle-adornment-pre-match-form)
1922 (rst-repeat-last-character): Reflow docstrings.
1923 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1924 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1925 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1926 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1927 Fix docstring typos.
1928 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1929 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1930 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1931
1932 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
1933
1934 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
1935 for compatibility with other ports.
1936 (ns-initialize-window-system): Use it. It is set in term/common-win.el
1937 from the -xrm command line argument, but in the Nextstep port its value
1938 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
1939
1940 * progmodes/python.el (defconst, python-syntax-count-quotes)
1941 (python-indent-region, python-indent-shift-right)
1942 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
1943 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
1944 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
1945 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
1946 (inferior-python-mode, python-shell-make-comint, run-python-internal)
1947 (python-shell-buffer-substring, python-shell-send-buffer)
1948 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
1949 (python-completion-complete-at-point, python-fill-docstring-style)
1950 (python-eldoc-function, python-imenu-format-item-label)
1951 (python-imenu-format-parent-item-label)
1952 (python-imenu-format-parent-item-jump-label)
1953 (python-imenu--build-tree, python-imenu-create-index)
1954 (python-imenu-create-flat-index): Fix docstring typos.
1955 (python-indent-context, python-shell-prompt-regexp, run-python):
1956 Remove superfluous backslashes.
1957 (python-indent-line, python-nav-beginning-of-defun)
1958 (python-shell-get-buffer, python-shell-get-process)
1959 (python-info-current-defun, python-info-current-line-comment-p)
1960 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
1961 (python-indent-post-self-insert-function, python-shell-send-file)
1962 (python-shell-completion-get-completions)
1963 (python-shell-completion-complete-or-indent)
1964 (python-eldoc--get-doc-at-point): Reflow docstrings.
1965
1966 2014-03-14 Glenn Morris <rgm@gnu.org>
1967
1968 * emacs-lisp/package.el (package-menu-mode-map):
1969 Replace use of obsolete function alias. Tweak menu item text.
1970
1971 * info.el (Info-finder-find-node):
1972 Ignore the `emacs' metapackage. (Bug#10813)
1973
1974 * finder.el (finder-list-matches): Include unversioned packages
1975 in the result of a keyword search.
1976
1977 * finder.el (finder--builtins-descriptions): New constant.
1978 (finder-compile-keywords): Use finder--builtins-descriptions.
1979
1980 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
1981
1982 * simple.el (blink-matching-paren): Describe the new value,
1983 `jump', enabling the old behavior.
1984 (blink-matching-open): Use that value. (Bug#17008)
1985
1986 2014-03-14 Glenn Morris <rgm@gnu.org>
1987
1988 * finder.el (finder-no-scan-regexp): Add leim-list.
1989 (finder-compile-keywords):
1990 Don't skip files with same basename. (Bug#14010)
1991 * Makefile.in (setwins_finder): New, excluding leim.
1992 (finder-data): Use setwins_finder.
1993
1994 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
1995 (help-function-arglist, help-make-usage): Move from here...
1996 * help.el (help-split-fundoc, help-add-fundoc-usage)
1997 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
1998 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
1999
2000 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2001
2002 * net/socks.el (socks, socks-override-functions)
2003 (socks-find-services-entry):
2004 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2005 (hif-find-ifdef-block):
2006 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2007
2008 * net/tls.el (tls-program): Reflow docstring.
2009
2010 * progmodes/pascal.el (pascal-mode-abbrev-table)
2011 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2012 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2013 (pascal-outline-mode): Fix docstring typos.
2014 (pascal-mode): Let define-derived-mode document mode hook.
2015 (pascal-uncomment-area): Reflow.
2016 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2017
2018 * progmodes/opascal.el (opascal-compound-block-indent)
2019 (opascal-case-label-indent): Fix docstring typos.
2020 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2021
2022 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2023
2024 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2025 Fontify multiple adjacent negation chars. (Bug#17004)
2026
2027 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2028
2029 * emacs-lisp/package.el (package--prepare-dependencies):
2030 Accept requirements without explicit version (bug#14941).
2031
2032 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2033
2034 * register.el (register-separator, copy-to-register): Doc fixes.
2035 (register-preview-default): Remove unnecessary call to concat.
2036
2037 * frameset.el (frameset-restore): When checking for a visible frame,
2038 use the action map instead of calling visible-frame-list.
2039
2040 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2041
2042 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2043
2044 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2045
2046 * window.el (fit-frame-to-buffer): Get maximum width from
2047 display's width instead of height.
2048
2049 2014-03-12 Glenn Morris <rgm@gnu.org>
2050
2051 * desktop.el (desktop-restore-frames)
2052 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2053 (desktop-restore-reuses-frames): Doc tweaks.
2054
2055 * electric.el (electric-indent-mode): Doc fix.
2056
2057 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2058
2059 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2060 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2061 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2062 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2063 (cvs-dired-use-hook): Fix docstring typos.
2064 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2065 Doc fixes.
2066
2067 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2068 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2069 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2070 (cvs-execute-single-dir): Fix docstring typos.
2071
2072 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2073 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2074
2075 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2076
2077 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2078 Fix docstring typos.
2079
2080 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2081
2082 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2083 called from jump-to-register after unloading the frameset package.
2084
2085 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2086
2087 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2088 (bug#16975). Deactivate the mark before setting it to nil.
2089 (activate-mark): Do nothing if region is already active.
2090
2091 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2092
2093 * frameset.el (frameset--target-display): Remove definition; declare.
2094 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2095
2096 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2097
2098 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2099 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2100 when the advice is pending.
2101 (advice-remove): Remove this marker when not needed any more.
2102
2103 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2104
2105 * frameset.el: Separate options for reusing frames and cleaning up.
2106 (frameset--reuse-list): Remove definition; declare.
2107 (frameset--action-map): Declare.
2108 (frameset--find-frame-if): Doc fix.
2109 (frameset--restore-frame): Cache frame action.
2110 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2111 how to clean up the frame list after restoring. Remove cleaning
2112 options from REUSE-FRAMES. Change all keyword values to symbols.
2113 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2114
2115 * desktop.el (desktop-restore-forces-onscreen)
2116 (desktop-restore-reuses-frames): Use non-keyword values.
2117 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2118
2119 2014-03-10 Glenn Morris <rgm@gnu.org>
2120
2121 * files.el (find-file): Doc fix: update info node name.
2122
2123 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2124 Doc fix: remove references to deleted info nodes.
2125
2126 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2127
2128 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2129 Do not add `nil' to the environment, when there's no remote `locale'.
2130 (tramp-find-inline-encoding): Check, that the remote host has
2131 installed perl, before sending scripts.
2132
2133 2014-03-10 Leo Liu <sdl.web@gmail.com>
2134
2135 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2136 Clear eldoc-last-message. (Bug#16920)
2137
2138 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2139
2140 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2141 (bug#14430).
2142
2143 2014-03-09 Juri Linkov <juri@jurta.org>
2144
2145 * ansi-color.el (ansi-color-names-vector): Copy default colors
2146 from `xterm-standard-colors' that look well on the default white
2147 background (and also on the black background) to avoid illegible
2148 color combinations like yellow-on-white and white-on-white.
2149 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2150
2151 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2152
2153 * frameset.el (frameset-restore): When no frame is visible, do not
2154 generate a list of frames, just make visible the selected one.
2155
2156 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2157
2158 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2159 it only contains the repository root. (Bug#16897)
2160
2161 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2162
2163 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2164 only when `remote-file-name-inhibit-cache' is nil.
2165 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2166
2167 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2168
2169 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2170 Fix doc-strings.
2171 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2172 fit-frame-to-buffer variable. Fix doc-string.
2173 (fit-window-to-buffer): Set ONLY argument in call of
2174 fit-frame-to-buffer. Fix doc-string.
2175
2176 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2177
2178 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2179 (tramp-action-password): Clear password cache if needed.
2180 (tramp-read-passwd): Do not clear password cache.
2181
2182 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2183 cache unless it is the first password request.
2184
2185 2014-03-06 Glenn Morris <rgm@gnu.org>
2186
2187 * simple.el (newline): Doc tweak.
2188
2189 * emacs-lisp/shadow.el (load-path-shadows-find):
2190 Ignore dir-locals. (Bug#12357)
2191
2192 2014-03-05 Glenn Morris <rgm@gnu.org>
2193
2194 * files.el (interpreter-mode-alist):
2195 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2196
2197 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2198
2199 * frameset.el (frameset--initial-params): Filter out null entries.
2200
2201 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2202
2203 * window.el (window-min-height, window-min-width):
2204 Rewrite doc-strings.
2205 (window-body-size): Add PIXELWISE argument to make it consistent
2206 with its callees.
2207
2208 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2209
2210 * finder.el (finder-mode-map, finder-mode-syntax-table):
2211 Revert part of 2014-02-28 change.
2212
2213 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2214
2215 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2216 (eww-setup-buffer): Clear next/prev/etc more reliably.
2217 (eww-textarea-map): [tab] doesn't work on tty.
2218 Reported by Mario Lang.
2219
2220 * net/shr.el (shr-map): Ditto.
2221
2222 2014-03-04 Glenn Morris <rgm@gnu.org>
2223
2224 * minibuffer.el (completion-hilit-commonality):
2225 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2226
2227 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2228
2229 * hilit-chg.el (hilit-chg-unload-function): New function.
2230 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2231 (hilit-chg-map-changes): Prefer cardinal number to digit.
2232 (hilit-chg-display-changes): Reflow docstring.
2233 (highlight-changes-rotate-faces): Remove superfluous backslash.
2234
2235 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2236
2237 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2238 `tramp-send-command-and-check'.
2239
2240 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2241
2242 * hexl.el (hexl-address-region, hexl-ascii-region)
2243 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2244 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2245 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2246 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2247 (hexl-mode): Doc fix.
2248 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2249 (hexl-mode-ruler): Fix typos in docstrings.
2250
2251 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2252 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2253 Remove superfluous backslashes.
2254 (strokes-last-stroke, strokes-global-map, strokes-mode):
2255 Reflow docstrings.
2256 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2257 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2258 (strokes-distance-squared, strokes-global-set-stroke)
2259 (strokes-global-set-stroke-string): Doc fixes.
2260 (strokes-help): Fix typos; reflow docstring.
2261
2262 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2263
2264 * window.el (window-in-direction): Fix doc-string.
2265
2266 2014-03-04 Glenn Morris <rgm@gnu.org>
2267
2268 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2269 Explicit error if no grammar.
2270 (smie-config-save): Doc fix. Fix quote typo.
2271
2272 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2273
2274 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2275 electric-indent-mode-hook if we obey electric-indent-mode.
2276 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2277 decide whether we obey electric-indent-mode.
2278 (c-change-set-fl-decl-start, c-extend-after-change-region):
2279 Silence warnings.
2280 (c-electric-indent-mode-hook): Assume we do want to obey
2281 electric-indent-mode.
2282
2283 * electric.el (electric-indent-mode-has-been-called): Remove.
2284 (electric-indent-mode): Fix accordingly.
2285
2286 * files.el (hack-local-variables): Mention file name in warning.
2287
2288 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2289
2290 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2291
2292 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2293 * simple.el (delete-forward-char): Mark as interactive-only.
2294
2295 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2296
2297 * icomplete.el (icomplete-completions):
2298 Follow-up to 2014-03-01 change.
2299
2300 * icomplete.el: Miscellaneous doc fixes.
2301 Use Icomplete everywhere instead of icomplete for consistency.
2302 (icomplete-max-delay-chars): Fix typo.
2303 (icomplete-mode): Use \[].
2304 (icomplete-tidy, icomplete-exhibit): Reflow.
2305 (icomplete-minibuffer-setup-hook, icomplete-completions):
2306 Remove superfluous backlashes.
2307
2308 * ido.el: Miscellaneous doc fixes.
2309 Use Ido everywhere instead of ido or `ido' for consistency.
2310 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2311 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2312 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2313 (ido-separator): Extract obsolescence info from docstring and declare
2314 with make-obsolete-variable.
2315 (ido-minibuffer-setup-hook): Simplify example.
2316 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2317 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2318 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2319 (ido-everywhere): Reflow docstring.
2320 (ido-toggle-vc): Doc fix.
2321 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2322 of long list of keybindings.
2323
2324 2014-03-03 Glenn Morris <rgm@gnu.org>
2325
2326 * frame.el (display-pixel-height, display-pixel-width)
2327 (display-mm-dimensions-alist, display-mm-height)
2328 (display-mm-width): Doc tweaks.
2329
2330 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2331
2332 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2333 case of undo in region.
2334
2335 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2336
2337 * window.el (fit-window-to-buffer): Fix argument in window-size
2338 call when window is horizontally combined.
2339
2340 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2341
2342 * icomplete.el (icomplete-completions): Use string-width.
2343 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2344
2345 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2346
2347 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2348 Highlight regexp options. (Bug#16914)
2349
2350 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2351
2352 * window.el (window--max-delta-1): Round down when calculating
2353 how many lines/columns we can get from a window.
2354
2355 2014-03-01 Glenn Morris <rgm@gnu.org>
2356
2357 * isearch.el (search-invisible): Doc fix.
2358
2359 * minibuffer.el (completion-hilit-commonality):
2360 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2361 * comint.el (comint-dynamic-list-completions): Doc fix.
2362 * comint.el (comint-dynamic-list-completions):
2363 * filecache.el (file-cache-minibuffer-complete):
2364 * tempo.el (tempo-display-completions):
2365 * eshell/em-hist.el (eshell-list-history):
2366 Replace use of obsolete argument of display-completion-list.
2367
2368 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2369
2370 * icomplete.el (icomplete-completions):
2371 Revert back to using "..." when ?… cannot be displayed.
2372
2373 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2374
2375 * finder.el (finder-unload-function): New function.
2376
2377 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2378
2379 * dframe.el (dframe-detach):
2380 * find-dired.el (find-dired, find-name-dired):
2381 * finder.el (finder-mode-map, finder-mode-syntax-table)
2382 (finder-headmark, finder-select, finder-mouse-select):
2383 Fix docstring typos.
2384
2385 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2386
2387 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2388 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2389 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2390 Fix doc-string based on a suggestion by Nicolas Richard
2391 <theonewiththeevillook@yahoo.fr>.
2392 * help.el (with-help-window): Fix doc-string.
2393
2394 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2395
2396 * net/shr.el (shr-image-animate): New option.
2397 (shr-put-image): Respect shr-image-animate.
2398
2399 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2400
2401 * net/tramp-adb.el (tramp-adb-parse-device-names):
2402 Use `accept-process-output'.
2403 (tramp-adb-handle-file-truename): Cache the localname only.
2404 (tramp-adb-handle-make-directory)
2405 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2406 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2407 modes cannot be changed.
2408
2409 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2410 file properties of symlinks.
2411
2412 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2413
2414 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2415 required/optional fields to match development biblatex. (Bug#16781)
2416
2417 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2418
2419 * saveplace.el (toggle-save-place):
2420 Fix argument handling. (Bug#16673)
2421
2422 2014-02-28 Glenn Morris <rgm@gnu.org>
2423
2424 * minibuffer.el (completions-first-difference)
2425 (completions-common-part, completion-hilit-commonality): Doc fixes.
2426
2427 2014-02-28 Karl Berry <karl@gnu.org>
2428
2429 * info.el (Info-mode-map): Add H for describe-mode,
2430 to synchronize with standalone Info.
2431
2432 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2433
2434 * progmodes/sql.el (sql-interactive-mode):
2435 Avoid setting global comint-input-ring-separator. (Bug#16814)
2436
2437 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2438
2439 * net/dbus.el (dbus--init-bus): Declare function.
2440 (dbus-path-local, dbus-interface-local): New defconst.
2441 (dbus-init-bus): Use them.
2442 (dbus-return-values-table): Extend doc.
2443 (dbus-handle-bus-disconnect): Extend error message.
2444
2445 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2446
2447 * subr.el (y-or-n-p): Fix double space issue in message.
2448
2449 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2450
2451 * net/tramp.el (tramp-call-process): Improve trace message.
2452 (tramp-handle-insert-file-contents): Trace error case.
2453
2454 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2455 <insert-directory>: Use `tramp-handle-insert-directory'.
2456 (tramp-adb-handle-insert-directory): Remove function.
2457 (tramp-adb-send-command-and-check): New defun, replacing
2458 `tramp-adb-command-exit-status'. Change all callees.
2459 (tramp-adb-handle-file-attributes)
2460 (tramp-adb-handle-directory-files-and-attributes): Use it.
2461 (tramp-adb-ls-output-name-less-p):
2462 Use `directory-listing-before-filename-regexp'.
2463 (tramp-adb-handle-delete-directory): Flush also file properties of
2464 the truename of directory.
2465 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2466 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2467 (tramp-adb-handle-write-region): Implement APPEND.
2468 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2469 properties correctly.
2470 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2471 variables. Check for connected devices only when needed.
2472
2473 2014-02-27 Glenn Morris <rgm@gnu.org>
2474
2475 * minibuffer.el (completion-table-dynamic)
2476 (completion-table-with-cache): Doc fixes.
2477
2478 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2479 (completing-read-multiple): Doc fixes.
2480
2481 2014-02-27 Daniel Colascione <dancol@dancol.org>
2482
2483 * minibuffer.el (completion--nth-completion): Fix indentation.
2484
2485 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2486 explicit tramp path is empty.
2487
2488 2014-02-27 Glenn Morris <rgm@gnu.org>
2489
2490 * emacs-lisp/crm.el (completing-read-multiple):
2491 Empower help-enable-auto-load.
2492
2493 2014-02-26 Glenn Morris <rgm@gnu.org>
2494
2495 * startup.el (command-line): Don't init the tty in daemon mode.
2496
2497 Avoid calling tty-setup-hook twice, eg if a term file
2498 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2499 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2500 (tty-create-frame-with-faces): Use it.
2501 * startup.el (command-line): Pass run-hook argument
2502 to tty-run-terminal-initialization.
2503
2504 * dired.el (dired-restore-desktop-buffer): Demote errors;
2505 eg in case a glob match fails. (Bug#16884)
2506
2507 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2508
2509 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2510 error from `read-from-string'. (Bug#16850)
2511
2512 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2513 result of `completing-read' in the interactive form. (Bug#16854)
2514
2515 2014-02-25 Glenn Morris <rgm@gnu.org>
2516
2517 * image.el (image-animate, image-animate-timeout):
2518 Stop animating images in dead buffers. (Bug#16878)
2519
2520 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2521
2522 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2523 Doc fixes.
2524 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2525 * term/sun.el (sun-raw-prefix-hooks):
2526 Use tty-setup-hook instead of term-setup-hook.
2527 (terminal-init-sun): Construct message from bytecomp plist.
2528 * term/wyse50.el (enable-arrow-keys): Doc fix.
2529
2530 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2531
2532 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2533 Fix docstring typos.
2534
2535 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2536
2537 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2538
2539 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2540
2541 * minibuffer.el (completion--try-word-completion):
2542 Fix error when completing M-x commands (bug#16808).
2543
2544 2014-02-24 Leo Liu <sdl.web@gmail.com>
2545
2546 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2547
2548 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2549
2550 * apropos.el (apropos-print): Avoid formatting error when
2551 apropos-do-all and apropos-compact-layout are both t.
2552
2553 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2554
2555 * apropos.el (apropos-property, apropos-all-words-regexp)
2556 (apropos-true-hit, apropos-variable, apropos-print):
2557 Fix docstring typos, and remove obsolete comment.
2558
2559 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2560
2561 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2562 Preserve trailing "/". (Bug#16851)
2563
2564 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2565
2566 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2567 after `=>' (bug#16811).
2568 (ruby-smie-rules): Handle the inconsistent second element of the
2569 list returned by `smie-indent--parent'.
2570 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2571 method call.
2572
2573 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2574
2575 * elec-pair.el (electric-pair-text-syntax-table)
2576 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2577 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2578 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2579 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2580
2581 2014-02-22 Glenn Morris <rgm@gnu.org>
2582
2583 * imenu.el (imenu--generic-function): Doc fix.
2584
2585 * register.el (frame-configuration-to-register): Make obsolete.
2586
2587 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2588
2589 * desktop.el (desktop-save-buffer-p): Do not fail when
2590 desktop-files-not-to-save is nil. Return t for true result
2591 as the doc says.
2592
2593 2014-02-22 Daniel Colascione <dancol@dancol.org>
2594
2595 * net/secrets.el (secrets-create-item, secrets-search-items):
2596 Check that attribute values are strings, avoiding the construction
2597 of invalid dbus messages.
2598
2599 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2600
2601 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2602 defun-declarations-alist.
2603
2604 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2605
2606 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2607 (bug#16829).
2608
2609 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2610
2611 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2612 (whitespace-newline, whitespace-trailing, whitespace-line)
2613 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2614 (whitespace-space-after-tab): Fix typo in docstrings.
2615
2616 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2617
2618 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2619
2620 * electric.el (electric-indent-functions-without-reindent):
2621 Add `yaml-indent-line'.
2622
2623 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2624
2625 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2626 It has done nothing for years; should be removed after the release.
2627
2628 * simple.el (choose-completion): Fix docstring typo.
2629 (read-quoted-char-radix): Remove unneeded * in docstring.
2630 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2631 Don't escape parentheses unnecessarily in docstrings.
2632
2633 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2634
2635 Fix handling of window-min-height/-width (Bug#16738).
2636 * window.el (window--dump-window, window--dump-frame):
2637 New functions.
2638 (window--min-size-1): Account for window dividers.
2639 When window-resize-pixelwise is nil, delay rounding till after the
2640 sum of the window components has been calculated.
2641 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2642 nil make sure at least one text line and two text columns remain
2643 fully visible.
2644 (window-resize): Signal an error when window-resize-apply fails.
2645 (window--resize-child-windows): Fix calculation of by how many
2646 pixels a window can still be shrunk via window-new-normal.
2647 (adjust-window-trailing-edge): Call window--resizable with
2648 correct TRAIL argument.
2649
2650 (with-temp-buffer-window): Don't evaluate BODY within
2651 with-current-buffer (Bug#16816).
2652
2653 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2654
2655 * net/tramp.el (tramp-check-cached-permissions):
2656 Call `file-attributes' with `suffix' being a symbol but a string.
2657
2658 2014-02-21 Daniel Colascione <dancol@dancol.org>
2659
2660 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2661 (dbus-init-bus): New function: call into dbus-init-bus-1
2662 and installs a handler for the disconnect signal.
2663 (dbus-call-method): Rewrite to look for result in cons.
2664 (dbus-call-method-handler): Store result in cons.
2665 (dbus-check-event): Recognize events with nil sender as valid.
2666 (dbus-handle-bus-disconnect): New function. React to bus
2667 disconnection signal by synthesizing dbus error for each
2668 pending synchronous or asynchronous call.
2669 (dbus-notice-synchronous-call-errors): New function.
2670 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2671 is true, not all the time.
2672
2673 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2674
2675 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2676 Remove obsolescence declarations, these variables do not exist anymore.
2677
2678 * savehist.el (savehist-save-minibuffer-history)
2679 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2680 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2681 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2682 mostly, refer to "Savehist mode" when talking about the mode,
2683 and not the function.
2684
2685 * saveplace.el (save-place): Remove redundant info in docstring.
2686 (save-place-forget-unreadable-files, toggle-save-place)
2687 (save-place-forget-unreadable-files, save-place-dired-hook):
2688 Fix typos and remove unneeded backslashes.
2689
2690 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2691
2692 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2693 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2694
2695 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2696 <insert-directory>: Use `tramp-handle-insert-directory'.
2697 (tramp-gvfs-handle-insert-directory): Remove function.
2698
2699 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2700 Call `tramp-handle-insert-directory'.
2701
2702 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2703
2704 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2705 before the start of buffer/region (bug#16799).
2706
2707 2014-02-20 Glenn Morris <rgm@gnu.org>
2708
2709 * isearch.el (search-invisible): Doc fix.
2710
2711 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2712
2713 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2714 (bug#16657).
2715
2716 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2717
2718 * frameset.el (frameset-restore): Delay removing an old frame's
2719 duplicate id until the new frame has been correctly created.
2720
2721 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2722
2723 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2724 (tramp-check-cached-permissions): Call `file-attributes' if the
2725 cache is empty.
2726
2727 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2728 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2729
2730 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2731 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2732 (tramp-gvfs-maybe-open-connection): Set always connection
2733 properties, even if target is mounted already.
2734
2735 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2736 Set tramp-autoload cookie.
2737 (tramp-get-remote-touch): New defun.
2738 (tramp-sh-handle-set-file-times): Use it.
2739 (tramp-sh-handle-directory-files-and-attributes):
2740 Use `tramp-handle-directory-files-and-attributes' if neither stat
2741 nor perl are available on the remote host.
2742
2743 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2744 "/". Write long listing only when "l" belongs to the switches.
2745
2746 * net/trampver.el: Update release number.
2747
2748 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2749
2750 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2751
2752 2014-02-19 Martin Rudalics <rudalics@gmx.at>
2753
2754 * window.el (window-state-put): Allow WINDOW to refer to an
2755 internal window (Bug#16793).
2756
2757 2014-02-19 Glenn Morris <rgm@gnu.org>
2758
2759 * textmodes/remember.el: Move provide statement to end.
2760 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2761 (remember-notes): Doc fixes.
2762
2763 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2764
2765 * delsel.el (delete-char): Restore incorrectly erased property
2766 (bug#16795).
2767
2768 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2769
2770 * frameset.el (frameset--restore-frame): When a frame is being reused
2771 and its root window is not alive, delete all the frame's windows before
2772 restoring the window state. This works around the issue in bug#16793.
2773
2774 2014-02-18 Glenn Morris <rgm@gnu.org>
2775
2776 * textmodes/remember.el (remember-data-directory)
2777 (remember-directory-file-name-format, remember-store-in-files)
2778 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2779 (remember-notes-save-and-bury-buffer)
2780 (remember-notes--kill-buffer-query): Doc fixes.
2781
2782 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2783
2784 2014-02-17 Alan Mackenzie <acm@muc.de>
2785
2786 Connect electric-indent-mode up with CC Mode. Bug #15478.
2787 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2788 to electric-indent-{,local-}-mode.
2789 (c-basic-common-init): Set electric-indent-inhibit.
2790 Initialise c-electric-flag from electric-indent-mode.
2791 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2792 New hook functions which propagate electric-indent-mode to CC mode.
2793
2794 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2795 hit, toggle electric-indent-local-mode.
2796
2797 * electric.el (electric-indent-mode-has-been-called):
2798 New variable.
2799
2800 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
2801
2802 * frameset.el (frameset-cfg-id): New function.
2803 (frameset--reuse-frame, frameset-restore): Use it.
2804 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2805
2806 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2807
2808 * ido.el (ido-file-internal): Remove unused var `d'.
2809 Use \` for to match BoS. Fit within 80n columns.
2810
2811 2014-02-17 Daniel Colascione <dancol@dancol.org>
2812
2813 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2814 dbus-call-method check for completion using a busy-wait loop with
2815 gradual backoff.
2816
2817 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
2818
2819 Sync with Tramp 2.2.9.
2820
2821 * net/trampver.el: Update release number.
2822
2823 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2824
2825 * ido.el (ido-file-internal): Don't add the name of an existing
2826 directory twice. (Bug#16747)
2827
2828 2014-02-16 Glenn Morris <rgm@gnu.org>
2829
2830 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2831 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2832
2833 2014-02-15 Michael R. Mauger <michael@mauger.com>
2834
2835 * progmodes/sql.el: Version 3.4
2836 (sql-oracle-options): New default value ("-L").
2837 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
2838 (sql-placeholders-filter): Correct placeholder pattern.
2839 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
2840 (sql-login-delay): New variable.
2841 (sql-product-interactive): Use it.
2842
2843 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
2844
2845 * frameset.el (frameset--jump-to-register): Check that buffer is live
2846 (bug#16749).
2847
2848 2014-02-15 Glenn Morris <rgm@gnu.org>
2849
2850 * info.el (info-initialize): Revert 2014-01-10 change.
2851
2852 2014-02-14 Glenn Morris <rgm@gnu.org>
2853
2854 * replace.el (map-query-replace-regexp)
2855 (read-regexp-defaults-function, read-regexp): Doc fixes.
2856
2857 * dired.el (dired-read-regexp):
2858 * faces.el (list-faces-display):
2859 * misearch.el (multi-isearch-read-matching-buffers)
2860 (multi-isearch-read-matching-files):
2861 * play/cookie1.el (cookie-apropos):
2862 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2863
2864 * textmodes/remember.el (remember): Use frameset-to-register
2865 rather than frame-configuration-to-register.
2866
2867 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2868
2869 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2870 incorrect keybinding.
2871
2872 2014-02-13 Daniel Colascione <dancol@dancol.org>
2873
2874 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2875 when adding overlays so that line numbers from compiler match line
2876 numbers we use.
2877
2878 2014-02-13 Glenn Morris <rgm@gnu.org>
2879
2880 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2881
2882 * jit-lock.el (jit-lock-mode): Doc fix.
2883
2884 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
2885
2886 * apropos.el (apropos-read-pattern): When the user passes an empty
2887 string, give a more helpful error message than "Wrong type
2888 argument: stringp, nil".
2889
2890 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2891
2892 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2893
2894 2014-02-13 Glenn Morris <rgm@gnu.org>
2895
2896 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2897
2898 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2899
2900 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2901 shift-select commands.
2902
2903 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2904
2905 * progmodes/js.el (js-indent-line): Don't widen.
2906 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2907
2908 2014-02-12 Glenn Morris <rgm@gnu.org>
2909
2910 * icomplete.el (icomplete): Add info-link to defgroup.
2911 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2912 (icomplete-minibuffer-map, icomplete-mode)
2913 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2914
2915 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2916 (package-menu-filter): Rename from package-menu-filter-interactive.
2917 Doc fix.
2918
2919 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
2920
2921 * frameset.el (frameset--jump-to-register): Select the required
2922 window and buffer before restoring position (bug#16696).
2923
2924 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2925
2926 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2927
2928 2014-02-10 Glenn Morris <rgm@gnu.org>
2929
2930 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2931
2932 2014-02-10 Eli Zaretskii <eliz@gnu.org>
2933
2934 * w32-common-fns.el (x-get-selection): Doc fix.
2935 * select.el (x-get-selection): Doc fix. (Bug#15109)
2936
2937 * face-remap.el (face-remap-add-relative)
2938 (face-remap-remove-relative, face-remap-reset-base)
2939 (face-remap-set-base): Call force-mode-line-update to redisplay
2940 the current buffer due to potential change in faces. (Bug#16709)
2941
2942 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
2943
2944 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
2945 script more robustly.
2946
2947 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
2948
2949 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
2950
2951 * simple.el (choose-completion): Doc fix (bug#14160).
2952
2953 * subr.el (event-start): Say what a nil EVENT value means.
2954
2955 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
2956 (bug#14197).
2957
2958 * progmodes/grep.el (find-program): Doc fix (bug#14289).
2959
2960 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
2961
2962 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
2963
2964 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
2965 predicate function (bug#15455).
2966
2967 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
2968
2969 * ielm.el (inferior-emacs-lisp-mode): Instead of
2970 `comment-use-global-state', set `comment-use-syntax'.
2971
2972 2014-02-10 Glenn Morris <rgm@gnu.org>
2973
2974 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
2975
2976 2014-02-09 Alan Mackenzie <acm@muc.de>
2977
2978 Fix c-invalidate-state-cache on narrowed buffers.
2979 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
2980 Widen when setting and clearing the CPP delimiter properties.
2981
2982 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
2983
2984 * help.el (describe-bindings): Doc fix (bug#9888).
2985
2986 * files.el (save-buffer): Use ARG as the parameter name for
2987 consistency (bug#10346).
2988 (save-buffer): Clarify the 0 argument (bug#10346).
2989
2990 * cus-edit.el (customize-apropos): Fix error string.
2991 (custom-buffer-create): Doc fix (bug#11122).
2992 (custom-sort-items): Doc fix (bug#11121).
2993
2994 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
2995
2996 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
2997 (icomplete-simple-completing-p): Mention the previous variable.
2998
2999 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3000 meaning of the parameter (bug#12282).
3001
3002 * files.el (find-file-noselect): Clarify prompt when changing
3003 readedness (bug#13261).
3004 (locate-file): Suffixes aren't returned, so don't say that they
3005 are (bug#12674).
3006 (backup-inhibited): Doc clarification (bug#12525).
3007
3008 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3009 before we actually start to delete things (bug#16331).
3010
3011 * subr.el (event-start): Doc fix (bug#14228).
3012 (event-end): Ditto.
3013
3014 2014-02-09 Glenn Morris <rgm@gnu.org>
3015
3016 * emacs-lisp/warnings.el (lwarn):
3017 Empower help-enable-auto-load. (Bug#15940)
3018
3019 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3020
3021 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3022 (Bug#16690)
3023
3024 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3025
3026 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3027 Insert output at end of buffer. (Bug#16120)
3028
3029 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3030
3031 * simple.el (choose-completion-string-functions): Document new
3032 calling convention (bug#14153).
3033 (execute-extended-command): Clarify doc string (bug#13373).
3034
3035 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3036
3037 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3038 (find-grep-dired): Doc fix (bug#14288).
3039
3040 2014-02-08 Juri Linkov <juri@jurta.org>
3041
3042 * isearch.el (isearch-quote-char): Check character validity
3043 like in `quoted-insert' (bug#16677).
3044
3045 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3046
3047 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3048
3049 * isearch.el (isearch-hide-immediately): Doc clarification
3050 (bug#14723).
3051
3052 * simple.el (line-move): Document utility function used many
3053 places in the Emacs sources (bug#14843).
3054
3055 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3056 (dired-prev-marked-file): Doc fix (bug#14855).
3057 (dired-up-directory): Doc fix (bug#14848).
3058
3059 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3060
3061 * files.el (file-relative-name): Doc fix (bug#15159).
3062
3063 * fringe.el (fringe-styles): Doc fix (bug#15239).
3064
3065 * isearch.el (isearch-filter-predicate): Documentation typo fix
3066 (bug#15474).
3067
3068 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3069
3070 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3071
3072 * replace.el (replace-match-maybe-edit): Doc clarification
3073 (bug#15632).
3074
3075 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3076
3077 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3078
3079 2014-02-08 Glenn Morris <rgm@gnu.org>
3080
3081 * help-fns.el (describe-variable):
3082 Check {file,dir}-local-variables-alist, and buffer-file-name,
3083 in the correct buffer.
3084
3085 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3086
3087 * help-fns.el (describe-variable): Fix the case where
3088 a value is directory-local with no dir-locals file. (Bug#16635)
3089
3090 2014-02-08 Glenn Morris <rgm@gnu.org>
3091
3092 * abbrev.el (edit-abbrevs-mode):
3093 Derive from fundamental-mode. (Bug#16682)
3094
3095 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3096
3097 * simple.el (quoted-insert): Check character validity (bug#16677).
3098
3099 2014-02-07 Juri Linkov <juri@jurta.org>
3100
3101 * desktop.el (desktop-read): Claim the lock when the owner is not
3102 the current process. (Bug#16157)
3103
3104 2014-02-07 Juri Linkov <juri@jurta.org>
3105
3106 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3107 to "\\` ". (Bug#16651)
3108
3109 2014-02-07 Juri Linkov <juri@jurta.org>
3110
3111 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3112 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3113 (desktop-auto-save-cancel-timer): New function with some code from
3114 `desktop-auto-save-set-timer'.
3115 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3116 Instead of setting `desktop-save-mode' to nil, call
3117 `desktop-save-mode' with arg 0. (Bug#16630)
3118
3119 2014-02-07 Glenn Morris <rgm@gnu.org>
3120
3121 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3122 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3123 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3124
3125 * obsolete/iswitchb.el: Move to obsolete/.
3126 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3127 since obsolete/ is not scanned for autoloads.
3128 * emacs-lisp/authors.el (authors-valid-file-names):
3129 Add iswitchb.el.
3130
3131 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3132 Disable now non-functional find-file-hook.
3133
3134 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3135
3136 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3137 instead of ";" in order to avoid additional prompts. Let heredoc
3138 scripts read from tty. (Bug#16582)
3139 (tramp-send-command): No special handling of heredocs, it isn't
3140 necessary anymore.
3141
3142 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3143
3144 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3145 with a space (bug#16664). Limit the symbols considered to the ones
3146 that are bound or fbound (bug#16646).
3147
3148 2014-02-06 Glenn Morris <rgm@gnu.org>
3149
3150 * epa.el (epa-mail-aliases): Doc fix.
3151
3152 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3153
3154 * emacs-lisp/lisp.el (lisp-completion-at-point):
3155 Use `completion-table-merge' instead of `completion-table-in-turn'
3156 (bug#16604).
3157
3158 * minibuffer.el (completion-table-merge): New function.
3159
3160 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3161
3162 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3163 (tramp-sh-handle-set-file-acl)
3164 (tramp-sh-handle-start-file-process)
3165 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3166 (tramp-find-executable, tramp-send-command): Use it.
3167
3168 2014-02-05 Glenn Morris <rgm@gnu.org>
3169
3170 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3171
3172 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3173
3174 * progmodes/python.el (python-shell-send-string)
3175 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3176
3177 2014-02-04 Anders Lindgren <andlind@gmail.com>
3178
3179 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3180 the names (bug#16620).
3181
3182 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3183
3184 * faces.el (window-divider): New default value. Rewrite doc-string.
3185 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3186
3187 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3188
3189 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3190 `protected' and `public' can also be called without arguments.
3191
3192 2014-02-03 Glenn Morris <rgm@gnu.org>
3193
3194 * register.el (window-configuration-to-register)
3195 (frame-configuration-to-register): Unadvertise unused argument.
3196 * frameset.el (frameset-to-register): Remove unused argument.
3197
3198 * frameset.el (frameset-to-register):
3199 * kmacro.el (kmacro-to-register):
3200 * register.el (increment-register):
3201 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3202 (calc-append-to-register, calc-prepend-to-register):
3203 * play/gametree.el (gametree-layout-to-register)
3204 (gametree-apply-register-layout):
3205 * textmodes/picture.el (picture-clear-rectangle-to-register)
3206 (picture-yank-rectangle-from-register):
3207 * vc/emerge.el (emerge-combine-versions-register):
3208 Use register-read-with-preview to read registers.
3209
3210 2014-02-03 João Távora <joaotavora@gmail.com>
3211
3212 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3213 when at beginning of (possibly narrowed) buffer.
3214
3215 2014-02-02 Daniel Colascione <dancol@dancol.org>
3216
3217 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3218 Also try to display local help from just before point.
3219
3220 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3221
3222 c-parse-state. Don't "append-lower-brace-pair" in certain
3223 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3224 recognised as a comment.
3225
3226 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3227 as well as normal comment starter.
3228 (c-parse-state-get-strategy): Extra return possibility
3229 'back-and-forward.
3230 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3231 return value list to indicate replacement of a brace-pair cons
3232 with its car.
3233 (c-parse-state-1): With 'back-and-forward, only call
3234 c-append-lower-brace-pair-to state-cache when cons-separated.
3235
3236 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3237
3238 * term/ns-win.el (ns-suspend-error): New function.
3239 (ns-initialize-window-system): Add ns-suspend-error to
3240 suspend-hook (Bug#16612).
3241
3242 2014-02-02 Daniel Colascione <dancol@dancol.org>
3243
3244 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3245 Make loading cc-mode silent.
3246
3247 2014-02-02 Daniel Colascione <dancol@dancol.org>
3248
3249 * comint.el (comint-prompt-read-only): Change doc to suggest
3250 remap keybinding.
3251
3252 2014-02-02 Glenn Morris <rgm@gnu.org>
3253
3254 * register.el (register-read-with-preview, point-to-register)
3255 (window-configuration-to-register, frame-configuration-to-register)
3256 (jump-to-register, number-to-register, view-register, insert-register)
3257 (copy-to-register, append-to-register, prepend-to-register)
3258 (copy-rectangle-to-register): Doc fixes.
3259
3260 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3261
3262 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3263 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3264 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3265 * help-fns.el (describe-function-1): Use it.
3266
3267 2014-02-02 Glenn Morris <rgm@gnu.org>
3268
3269 * register.el (register-preview-default): New function,
3270 split from register-preview.
3271 (register-preview-function): Rename from register-preview-functions,
3272 make it not a hook.
3273 (register-preview): Use register-preview-function.
3274 (register-read-with-preview): Error on non-character event. (Bug#16595)
3275
3276 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3277
3278 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3279 `:' before binary operators (bug#16609). Don't check for `:'
3280 before `[' and `(', or their syntax status. A percent literal
3281 can't end with either.
3282 (ruby-font-lock-keywords): For built-ins that require arguments,
3283 check that they're followed by something that looks like argument
3284 (bug#16610).
3285
3286 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3287
3288 * subr.el (butlast): Document what an omitted N means (bug#13437).
3289 (nbutlast): Ditto.
3290
3291 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3292
3293 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3294 depth shallower (bug#16587).
3295 (shr-tag-svg): Respect `shr-inhibit-images'.
3296 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3297
3298 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3299
3300 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3301 (ruby-smie-grammar): Make "." right-associative. Make its priority
3302 lower than the ternary and all binary operators.
3303 (ruby-smie-rules): Indent "(" relative to the first non-"."
3304 parent, or the first "." parent at indentation.
3305 Use `ruby-align-chained-calls' for indentation of "." tokens.
3306 (Bug#16593)
3307
3308 2014-01-31 Juri Linkov <juri@jurta.org>
3309
3310 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3311 from `make-hash-table'.
3312
3313 * textmodes/ispell.el (ispell-init-process): Change message format
3314 to be consistent with other messages.
3315
3316 2014-01-31 Glenn Morris <rgm@gnu.org>
3317
3318 * delsel.el (delete-selection-mode): Doc fix.
3319
3320 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3321 (trace-function-background): Doc fixes.
3322
3323 * ido.el (ido-use-virtual-buffers): Doc fix.
3324 Reset :version, since the default value has not changed.
3325
3326 * register.el (register-preview-delay, register-read-with-preview):
3327 Doc fixes.
3328
3329 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3330 do not mess with mail-buffer position (fixes 2009-11-03 change).
3331 * progmodes/cc-mode.el (c-submit-bug-report):
3332 Check auto-fill-mode is bound. (Bug#16592)
3333
3334 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3335
3336 * startup.el (fancy-splash-image-file): New function,
3337 split from fancy-splash-head.
3338 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3339 so that we are both using the same image. (Bug#16574)
3340
3341 2014-01-30 Glenn Morris <rgm@gnu.org>
3342
3343 * simple.el (eval-expression): Doc fix.
3344
3345 * hexl.el (hexl-mode-hook):
3346 * ielm.el (ielm-mode-hook):
3347 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3348 (lisp-interaction-mode-hook):
3349 * progmodes/cfengine.el (cfengine3-documentation-function):
3350 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3351
3352 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3353
3354 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3355 is a symbol (bug#16584).
3356
3357 2014-01-30 Glenn Morris <rgm@gnu.org>
3358
3359 * help.el (help-for-help-internal): Add "P" to text.
3360
3361 2014-01-29 Glenn Morris <rgm@gnu.org>
3362
3363 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3364
3365 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3366
3367 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3368 height constraints.
3369
3370 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3371
3372 * progmodes/hideif.el: Extend to full CPP expression syntax.
3373 (hif-token-alist): Add missing tokens.
3374 (hif-token-regexp): Add support for float/octal/hex immediates.
3375 (hif-string-literal-regexp): New const.
3376 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3377 (hif-exprlist): New function.
3378 (hif-parse-if-exp): Use it.
3379 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3380 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3381 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3382 (hif-logxor, hif-comma): New functions.
3383
3384 2014-01-28 Glenn Morris <rgm@gnu.org>
3385
3386 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3387
3388 * indent.el (tab-stop-list): Doc fix. Add :version.
3389
3390 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3391 (cvs-append-to-ignore): Add compatibility alias.
3392
3393 2014-01-27 Glenn Morris <rgm@gnu.org>
3394
3395 * dired.el (dired-hide-details-mode): Don't autoload it,
3396 since it cannot be used outside Dired buffers anyway.
3397
3398 * emulation/cua-base.el (cua-mode): Doc fix.
3399
3400 * dired.el (dired-hide-details-hide-symlink-targets)
3401 (dired-hide-details-hide-information-lines)
3402 (dired-hide-details-mode): Doc fixes.
3403
3404 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3405 * strokes.el (strokes-file): Doc fix. Bump :version.
3406 (strokes-help): Doc fix.
3407 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3408 * emulation/viper.el (viper): Doc fix for custom group.
3409 (top-level): Remove oh-so-no-longer-relevant text about vip.
3410 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3411
3412 * ido.el (ido-save-directory-list-file):
3413 * saveplace.el (save-place-file):
3414 * calendar/timeclock.el (timeclock-file):
3415 * net/quickurl.el (quickurl-url-file):
3416 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3417 * progmodes/idlwave.el (idlwave-config-directory):
3418 * textmodes/remember.el (remember-data-file):
3419 Bump :version.
3420
3421 2014-01-26 Glenn Morris <rgm@gnu.org>
3422
3423 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3424 Doc fix. Make obsolete.
3425 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3426
3427 * sort.el (delete-duplicate-lines): Doc fix.
3428
3429 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3430
3431 * progmodes/ada-mode.el (ada):
3432 * woman.el (woman): Link to info manual and Commentary section.
3433
3434 * progmodes/flymake.el (flymake):
3435 * nxml/nxml-mode.el (nxml):
3436 * net/eww.el (eww):
3437 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3438 * htmlfontify.el (htmlfontify):
3439 * ses.el (ses):
3440 * epa.el (epa):
3441 * ido.el (ido): Link to info manual.
3442
3443 2014-01-25 Leo Liu <sdl.web@gmail.com>
3444
3445 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3446
3447 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3448
3449 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3450 (bug#16537).
3451
3452 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3453
3454 * net/eww.el (eww-download-callback):
3455 Fix reference to eww-download-directory.
3456
3457 * emacs-lisp/bytecomp.el (byte-compile-file):
3458 Remove unused local variable `file-name'.
3459
3460 2014-01-24 Glenn Morris <rgm@gnu.org>
3461
3462 * woman.el (woman-default-faces, woman-monochrome-faces):
3463 Fix obsolescence specification.
3464
3465 * subr.el (with-demoted-errors): Doc fix.
3466
3467 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3468
3469 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3470 (cl--macroexp-fboundp): New function.
3471 (cl--make-type-test): Use it.
3472
3473 2014-01-23 Glenn Morris <rgm@gnu.org>
3474
3475 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3476 * simple.el (eval-expression): Doc fixes.
3477
3478 2014-01-22 Glenn Morris <rgm@gnu.org>
3479
3480 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3481
3482 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3483
3484 * emacs-lisp/package.el: Write files silently.
3485 (package-autoload-ensure-default-file, package--write-file-no-coding)
3486 (package-generate-description-file, package--download-one-archive)
3487 (package-install-from-archive): Tell `write-region' to stay quiet.
3488 (package-menu-mode, package-menu--print-info): Omit the Archive column
3489 if there's only one archive.
3490 (package-all-keywords, package--has-keyword-p): Remove dead code.
3491
3492 2014-01-22 Glenn Morris <rgm@gnu.org>
3493
3494 * version.el (emacs-bzr-version-bzr): Fix typo.
3495
3496 * version.el (emacs-repository-get-version):
3497 Check either .bzr or .git, but not both.
3498 Make the git case actually use the DIR argument, and return nil
3499 rather than the empty string.
3500 Avoid error if .git exists but the git executable is not found.
3501
3502 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3503
3504 Fixes in window size functions around Bug#16430 and Bug#16470.
3505 * window.el (window-total-size, window-size): New argument ROUND.
3506 (window--min-delta-1, window-min-delta, window--max-delta-1):
3507 Be more conservative when calculating the numbers of lines or
3508 columns a window can shrink (Bug#16430).
3509 (fit-window-to-buffer): Simplify code.
3510 * term.el (term-window-width): Call window-body-width again.
3511
3512 2014-01-22 Glenn Morris <rgm@gnu.org>
3513
3514 * image.el (image-format-suffixes): Doc fix.
3515
3516 * international/quail.el (quail-define-package): Doc fix.
3517
3518 * emacs-lisp/authors.el (authors-valid-file-names)
3519 (authors-renamed-files-alist): Additions.
3520
3521 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3522 reverts 2014-01-09 change. (Bug#16422)
3523
3524 * calc/calc-embed.el (thing-at-point-looking-at):
3525 * emacs-lisp/map-ynp.el (x-popup-dialog):
3526 * obsolete/lmenu.el (x-popup-dialog):
3527 * emacs-lisp/package.el (url-recreate-url):
3528 * mail/mailclient.el (clipboard-kill-ring-save):
3529 * subr.el (x-popup-dialog): Update declaration.
3530 * mail/rmail.el (rmail-mime-message-p):
3531 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3532
3533 2014-01-21 Daniel Colascione <dancol@dancol.org>
3534
3535 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3536 Correctly detect when we're inside an arithmetic expansion form
3537 containing nested parenthesis.
3538 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3539 to detect cases where we shouldn't expand "<<" to a heredoc
3540 skeleton.
3541
3542 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3543
3544 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3545 (eldoc--message-command-p): New function.
3546 (eldoc-display-message-p): Use it.
3547 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3548 message is not automatically erased for us.
3549 (eldoc-print-current-symbol-info): Erase previous message, if any.
3550
3551 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3552
3553 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3554 specify it's an interactive function.
3555
3556 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3557 Fix regex used for scanning for citation keys which failed for
3558 citations with optional arguments.
3559
3560 2014-01-21 Leo Liu <sdl.web@gmail.com>
3561
3562 * simple.el (read--expression): Don't enable eldoc-mode.
3563
3564 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3565
3566 * simple.el (move-beginning-of-line): Make sure we don't move forward
3567 (bug#16497).
3568
3569 2014-01-20 Juri Linkov <juri@jurta.org>
3570
3571 * saveplace.el (toggle-save-place, save-place-to-alist)
3572 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3573 'dired-mode) before checking for dired-directory. (Bug#16477)
3574
3575 2014-01-20 Juri Linkov <juri@jurta.org>
3576
3577 * indent.el (indent-line-to): Use backward-to-indentation
3578 instead of back-to-indentation. (Bug#16461)
3579
3580 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3581
3582 Revert some of the CANNOT_DUMP fix (Bug#16494).
3583 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3584 but fixing this can wait until after the next release.
3585 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3586
3587 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3588
3589 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3590 Use `password-word-equivalents'.
3591 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3592 to t. (Bug#5664, Bug#13124)
3593
3594 2014-01-19 Alan Mackenzie <acm@muc.de>
3595
3596 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3597 points.
3598 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3599 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3600 * progmodes/cc-mode.el (c-before-change, c-after-change)
3601 (c-font-lock-fontify-region): Bind it here.
3602
3603 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3604
3605 * term.el (term-window-width): Call window-text-width instead of
3606 window-width (Bug#16470).
3607
3608 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3609
3610 * simple.el (password-word-equivalents): Remove duplicates.
3611 Sort, to make this easier next time.
3612 Downcase. Omit ": " after "jelszó".
3613
3614 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3615
3616 * term/common-win.el (saved-region-selection): Defvar it.
3617 (x-select-text): Set saved-region-selection (Bug#16382).
3618
3619 2014-01-18 Glenn Morris <rgm@gnu.org>
3620
3621 * emacs-lisp/authors.el (authors-aliases)
3622 (authors-renamed-files-alist): Add some entries.
3623
3624 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3625
3626 * net/tramp.el (tramp-password-prompt-regexp):
3627 Use `password-word-equivalents' if available.
3628 (tramp-action-password, tramp-process-one-action)
3629 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3630
3631 2014-01-17 Chong Yidong <cyd@gnu.org>
3632
3633 * simple.el (password-word-equivalents): New defcustom.
3634 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3635 to 24.4.
3636 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3637 to t. (Bug#13124)
3638
3639 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3640
3641 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3642 (ruby-align-to-stmt-keywords): Change the default value.
3643 Use `ruby-alignable-keywords' to generate the possible customization
3644 choices.
3645 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3646 keywords, check against the value of `ruby-alignable-keywords'
3647 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3648
3649 2014-01-17 Glenn Morris <rgm@gnu.org>
3650
3651 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3652
3653 Make M-x authors return zero *Authors Errors* from current logs.
3654 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3655 (authors-ignored-files): Add some entries, remove others.
3656 (authors-ambiguous-files, authors-valid-file-names):
3657 Add some entries.
3658 (authors-renamed-files-alist): Add, remove, and adjust entries.
3659 (authors-renamed-files-regexps): Add some entries.
3660 Remove some very broad ones. Make some entries `lax'.
3661 (authors-lax-changelogs): New constant.
3662 (authors-disambiguate-file-name): Treat top-level specially.
3663 (authors-lax-changelog-p): New function.
3664 (authors-canonical-file-name): Check file as written against
3665 authors-valid-file-names. Do not special-case etc/.
3666 Handle `lax' logs and authors-renamed-files-regexps elements.
3667
3668 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3669
3670 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3671 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3672 callers.
3673
3674 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3675
3676 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3677 Assume we're already in the proper buffer.
3678 Inspired by Anders Lindgren <andlind@gmail.com>.
3679 (follow-post-command-hook): Call it from the right buffer.
3680 (follow-comint-scroll-to-bottom): Adjust call.
3681 (follow-all-followers): Use get-buffer-window-list.
3682
3683 2014-01-15 Daniel Colascione <dancol@dancol.org>
3684
3685 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3686 `buffer-file-name' in interactive-form so that we don't leave
3687 pathless file names in `file-name-history'.
3688
3689 2014-01-15 Juri Linkov <juri@jurta.org>
3690
3691 * indent.el (indent-rigidly): Set deactivate-mark to nil
3692 in transient indentation mode. (Bug#16438)
3693
3694 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3695
3696 * emacs-lisp/package.el (package-desc-keywords): New function
3697 (Bug#16222).
3698 (describe-package-1, package-all-keywords)
3699 (package--has-keyword-p): Use it.
3700
3701 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3702
3703 * simple.el (define-alternatives): When creating the
3704 COMMAND-alternatives variable, assign COMMAND as its definition
3705 name so that `describe-variable' can relocate it.
3706
3707 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3708
3709 * font-lock.el (font-lock-keywords): Fix typo in docstring
3710 (bug#16307).
3711
3712 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3713
3714 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
3715 line instead of wrongly reset `add-coment' (bug#13577).
3716
3717 2014-01-14 Daiki Ueno <ueno@gnu.org>
3718
3719 * epa-file.el (epa-file-write-region): Encode the region according
3720 to `buffer-file-format'. Problem reported at:
3721 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3722
3723 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3724
3725 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3726 so it applies in the right buffer (bug#16410).
3727
3728 2014-01-13 Daniel Colascione <dancol@dancol.org>
3729
3730 * textmodes/rst.el (rst-define-key): Provide deprecated
3731 keybindings through named functions instead of anonymous ones so
3732 that "??" doesn't appear in describe-mode output.
3733
3734 2014-01-13 Bastien Guerry <bzg@gnu.org>
3735
3736 * simple.el (define-alternatives): Call the selected command
3737 interactively. When setting `COMMAND--implementation' for the
3738 first time, tell the user how to chose another implementation.
3739 Enhance the docstring.
3740
3741 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3742
3743 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3744 (log-edit--match-first-line): New function.
3745 (log-edit-font-lock-keywords): Use it.
3746 (log-edit-mode): Make jit-lock-defer-multiline work.
3747
3748 2014-01-13 Bastien Guerry <bzg@gnu.org>
3749
3750 * rect.el (rectangle-mark-mode): When the region is not active,
3751 display a message saying that the mark as been set and that
3752 rectangle mode is in use.
3753 (rectangle--highlight-for-redisplay): Only put an overlay with a
3754 visible vertical bar when (display-graphic-p) is non-nil.
3755 This partially fixes Bug#16403.
3756
3757 2014-01-13 Juri Linkov <juri@jurta.org>
3758
3759 * info.el (Info-find-file): Go to DIR before displaying the error
3760 about a nonexistent file if no previous Info file is visited.
3761 Use `user-error' instead of `error' for "Info file %s does not exist".
3762 (Info-find-node-2): In case of a nonexistent node in unwind forms
3763 go to the Top node if there is no previous node to revert to.
3764 (Bug#16405)
3765
3766 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3767
3768 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3769 * window.el (fit-frame-to-buffer): Fix doc-string.
3770 Respect window-min-height/-width. Fit pixelwise when
3771 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3772 when avoiding that frame goes partially off-screen.
3773 (fit-window-to-buffer): Respect window-min-height/-width
3774 (Bug#14096).
3775
3776 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3777
3778 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3779 after an empty line.
3780
3781 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3782
3783 * net/shr.el (shr-render-region): Autoload.
3784
3785 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3786
3787 * net/eww.el (eww-download-directory): Rename from
3788 `eww-download-path' (Bug#16419).
3789
3790 2014-01-12 Leo Liu <sdl.web@gmail.com>
3791
3792 * dired-x.el (dired-mode-map): Fix last change.
3793
3794 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3795
3796 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3797
3798 Spelling fixes.
3799 * emacs-lisp/generic.el (generic--normalize-comments):
3800 Rename from generic--normalise-comments. All uses changed.
3801 * play/bubbles.el (bubbles--neighborhood-score)
3802 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3803 (bubbles--neighborhood-available)
3804 (bubbles--update-neighborhood-score):
3805 Rename from names with 'neighbourhood'. All uses changed.
3806
3807 2014-01-12 Leo Liu <sdl.web@gmail.com>
3808
3809 Re-implement the feature of showing eldoc info after editing.
3810 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3811 (eldoc-edit-message-commands): New function.
3812 (eldoc-print-after-edit): New variable.
3813 (eldoc-pre-command-refresh-echo-area): Emit message only by
3814 eldoc-message-commands.
3815 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3816 if eldoc-print-after-edit is set. (Bug#16346)
3817 * simple.el (read--expression): Enable eldoc-mode.
3818 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3819
3820 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3821 Eric S. Raymond <esr@thyrsus.com>
3822
3823 * version.el (emacs-repository-get-version): Enhance so the
3824 function works correctly in either a Bazaar or Git repo.
3825
3826 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
3827
3828 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3829 Goes with removal of the joke manpages from /etc.
3830
3831 2014-01-10 Kenichi Handa <handa@gnu.org>
3832
3833 * mail/rmail.el (rmail-get-coding-system):
3834 Check rmail-get-coding-function before "funcall"ing it.
3835
3836 2014-01-10 Glenn Morris <rgm@gnu.org>
3837
3838 * emacs-lisp/authors.el (authors-fixed-entries):
3839 Update for files that no longer exist.
3840
3841 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
3842
3843 * version.el (emacs-bzr-get-version): Restore compatibilty with
3844 24.3 (Tested).
3845
3846 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3847
3848 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3849 and Podfile.
3850
3851 2014-01-10 Eli Zaretskii <eliz@gnu.org>
3852
3853 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3854
3855 2014-01-10 Chong Yidong <cyd@gnu.org>
3856
3857 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
3858
3859 2014-01-10 Anders Lindgren <andlind@gmail.com>
3860
3861 * follow.el (follow-cache-command-list): Include right-char and
3862 left-char.
3863
3864 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3865
3866 Spelling fixes.
3867 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3868 * woman.el (woman-mark-horizontal-position):
3869 Rename from woman-mark-horizonal-position. Use changed.
3870
3871 2014-01-10 Glenn Morris <rgm@gnu.org>
3872
3873 * info.el (info-initialize): If running uninstalled, ensure our
3874 own info files are always found first, even if INFOPATH is set.
3875
3876 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3877
3878 2014-01-09 David Engster <deng@randomsample.de>
3879
3880 * emacs-lisp/eieio-custom.el:
3881 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3882 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3883 * emacs-lisp/eieio.el: Regenerate autoloads.
3884
3885 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
3886
3887 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
3888 following renames. (Bug#8756)
3889
3890 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3891
3892 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3893 (bug#16382).
3894 (activate-mark): Add `no-tmm' argument.
3895 (set-mark, push-mark-command): Use it instead of running
3896 activate-mark-hook by hand.
3897
3898 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
3899
3900 In preparation for the move to git, sanitize out some
3901 Bazaar-specific names.
3902
3903 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3904
3905 * version.el (emacs-bzr-version): Name changed to
3906 emacs-repository-version. Obsolete-variable alias made.
3907 * loadup.el: Follow through on this name change.
3908 * mail/emacsbug.el (report-emacs-bug): Factor out any
3909 assumption about the version control system in use.
3910
3911 2014-01-08 David Engster <deng@randomsample.de>
3912
3913 * help-fns.el (help-fns-describe-function-functions):
3914 New variable to call functions for augmenting help buffers.
3915 (describe-function-1): Remove explicit calls to
3916 `help-fns--compiler-macro', `help-fns--parent-mode' and
3917 `help-fns--obsolete'. Put them in above new variable instead, and
3918 call them through `run-hook-with-args'.
3919 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3920 `eieio-describe-class'. Not meant for interactive use anymore,
3921 but to augment existing help buffers. Remove optional second
3922 argument. Create proper button for file location.
3923 Rewrite function to use `insert' instead of `princ' and `prin1' where
3924 possible.
3925 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3926 (eieio-method-def, eieio-class-def): Move further up.
3927 (describe-method, describe-generic, eieio-describe-method):
3928 Remove aliases.
3929 (eieio-help-constructor, eieio-help-generic): Rename from
3930 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3931 Rewrite to use `insert' in the current buffer and use proper help
3932 buttons.
3933 (eieio-help-find-method-definition)
3934 (eieio-help-find-class-definition): Also accept symbols as
3935 arguments.
3936 (eieio-help-mode-augmentation-maybee): Remove.
3937 (eieio-describe-class-sb): Use `describe-function'.
3938 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
3939 Add `eieio-help-generic' and `eieio-help-constructor'.
3940
3941 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
3942
3943 Spelling fixes.
3944 * language/china-util.el (hz-ascii-designation):
3945 Rename from hz-ascii-designnation.
3946 (hz-ascii-designation): Rename from hz-ascii-designnation.
3947 All uses changed.
3948
3949 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3950
3951 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
3952 package-alist.
3953
3954 2014-01-08 Bastien Guerry <bzg@gnu.org>
3955
3956 * emacs-lisp/package.el (package-delete):
3957 Correctly delete the package from package-alist.
3958
3959 2014-01-08 Daiki Ueno <ueno@gnu.org>
3960
3961 * emacs-lisp/package.el (url-recreate-url): Declare.
3962 (url-http-target-url): Declare.
3963 (package-handle-response): Include requested URL in the error message.
3964 (package--check-signature): Don't re-signal errors from
3965 package--with-work-buffer. Suggested by Stefan Monnier.
3966
3967 2014-01-07 Bastien Guerry <bzg@gnu.org>
3968
3969 * minibuffer.el (completion--try-word-completion): When both a
3970 hyphen and a space are possible candidates for the character
3971 following a word, display both candidates. (Bug#15980)
3972
3973 2014-01-07 Martin Rudalics <rudalics@gmx.at>
3974
3975 * window.el (balance-windows-2): While rounding don't give a
3976 window more than the remainder. Bug#16351, bug#16383.
3977
3978 2014-01-07 Glenn Morris <rgm@gnu.org>
3979
3980 * menu-bar.el (menu-bar-help-extra-packages): Remove.
3981 (menu-bar-help-menu): Use view-external-packages instead.
3982
3983 2014-01-07 Bastien Guerry <bzg@gnu.org>
3984
3985 * emacs-lisp/package.el (package-delete): Also delete the package
3986 name from `package-alist', not its description only.
3987
3988 2014-01-07 Glenn Morris <rgm@gnu.org>
3989
3990 * help.el (view-external-packages):
3991 * menu-bar.el (menu-bar-help-extra-packages):
3992 Visit efaq.info rather than etc/MORE.STUFF.
3993
3994 2014-01-07 Juri Linkov <juri@jurta.org>
3995
3996 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
3997 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
3998
3999 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4000 that shadows RET. (Bug#16342)
4001
4002 2014-01-07 Chong Yidong <cyd@gnu.org>
4003
4004 * isearch.el (isearch-yank-char, isearch-yank-word)
4005 (isearch-yank-line): Doc fix.
4006
4007 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4008
4009 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4010 * emacs-lisp/elint.el (elint-find-builtins):
4011 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4012 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4013 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4014 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4015 * apropos.el (apropos-safe-documentation):
4016 * subr.el (symbol-file): Remove redundant fboundp.
4017 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4018
4019 2014-01-06 Bastien Guerry <bzg@gnu.org>
4020
4021 * hl-line.el (global-hl-line-overlay): Make a local variable.
4022 (global-hl-line-overlays): New variable to store all overlays.
4023 (global-hl-line-mode): Don't delete overlays from the current
4024 buffer when `global-hl-line-sticky-flag' is non-nil.
4025 (global-hl-line-highlight): Add new overlays to
4026 `global-hl-line-overlays'.
4027 (global-hl-line-unhighlight-all): New function to delete all
4028 overlays when turning off `global-hl-line-mode'.
4029 This fixes Bug#16183.
4030
4031 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4032
4033 * subr.el (set-transient-map): Fix nested case and docstring.
4034
4035 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4036
4037 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4038 `Texinfo' entry.
4039
4040 2014-01-06 Daniel Colascione <dancol@dancol.org>
4041
4042 Fix defun navigation in vc log view.
4043
4044 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4045 like `beginning-of-defun'.
4046 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4047 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4048 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4049 (log-view-extract-comment): Call `log-view-current-entry' directly
4050 instead of relying on broken `log-view-beginning-of-defun' behavior.
4051
4052 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4053
4054 Spelling fixes.
4055 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4056 * emacs-lisp/debug.el (cancel-debug-on-entry):
4057 * epg.el (epg-error-to-string):
4058 * files.el (recover-file):
4059 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4060 * mail/emacsbug.el (report-emacs-bug-hook):
4061 * mail/sendmail.el (mail-recover):
4062 * ses.el (ses-yank-resize):
4063 * term/ns-win.el (ns-print-buffer):
4064 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4065 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4066 All uses changed.
4067 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4068
4069 2014-01-06 Leo Liu <sdl.web@gmail.com>
4070
4071 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4072 to avoid shadowing global key. (Bug#16354)
4073
4074 2014-01-06 Daniel Colascione <dancol@dancol.org>
4075
4076 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4077 rst-mode.
4078
4079 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4080
4081 * window.el (balance-windows): Add mising t to fix Bug#16351.
4082
4083 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4084
4085 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4086 (bug#16285).
4087 (shr-insert): If we have a word that's longer than `shr-width',
4088 break after it anyway. Otherwise we'll do no breaking once we get
4089 such a long word.
4090
4091 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4092
4093 * net/eww.el (eww): Support single/double quote for search.
4094 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4095 (eww-history-quit): Delete and use quit-window.
4096 (eww-history-kill): Delete, because it doesn't work well and
4097 not necessary.
4098 (eww-history-mode-map): Delete some keys and add easy-menu.
4099
4100 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4101
4102 Fix misspelling of 'chinese' in rx (Bug#16237).
4103 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4104 chinese-two-byte.
4105
4106 Change subword regexps back to vars (Bug#16296).
4107 * progmodes/subword.el (subword-forward-regexp)
4108 (subword-backward-regexp): Change these back to variables.
4109
4110 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4111
4112 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4113 syntax-begin-function (bug#16247).
4114
4115 2014-01-03 Chong Yidong <cyd@gnu.org>
4116
4117 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4118 (advice--docstring): Delete variable.
4119 (advice--make-1): Leave the docstring empty.
4120 (advice-add): Use function-documentation for advised docstring.
4121
4122 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4123 Ignore function-documentation property when getting documentation.
4124 (ad-activate-advised-definition): Use function-documentation
4125 generate the docstring.
4126 (ad-make-advised-definition): Don't call
4127 ad-make-advised-definition-docstring.
4128 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4129 Delete functions.
4130
4131 * progmodes/sql.el (sql-help): Use function-documentation instead
4132 of dynamic-docstring-function property. No need to autoload now.
4133 (sql--help-docstring): New variable.
4134 (sql--make-help-docstring): Use it.
4135
4136 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4137
4138 * ielm.el (ielm-tab): Retarget.
4139 (ielm-map): Use ielm-tab for tab.
4140 (ielm-complete-filename): Use comint-filename-completion.
4141 (ielm-complete-symbol): Remove.
4142 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4143 remove ielm-tab from completion-at-point-functions (bug#16224).
4144
4145 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4146 Beware signals raised by predicates (bug#16201).
4147
4148 2014-01-02 Richard Stallman <rms@gnu.org>
4149
4150 * dired-aux.el (dired-do-print): Handle printer-name.
4151
4152 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4153 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4154 (rmail-epa-decrypt): Turn off mime processing.
4155
4156 * mail/rmail.el (rmail-make-in-reply-to-field):
4157 Add parens in message-id.
4158
4159 * mail/rmail.el (rmail-get-coding-function): Variable.
4160 (rmail-get-coding-system): Use it.
4161
4162 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4163
4164 * international/mule-conf.el: Unify the charset indian-is13194.
4165 (indian-is13194): Specify unify-map.
4166
4167 2013-12-31 Leo Liu <sdl.web@gmail.com>
4168
4169 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4170
4171 2013-12-30 Daniel Colascione <dancol@dancol.org>
4172
4173 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4174 of printing a useless when we resume from sleep.
4175
4176 * progmodes/sh-script.el
4177 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4178 in indentation code. (Bug#16233)
4179
4180 2013-12-28 João Távora <joaotavora@gmail.com>
4181
4182 * elec-pair.el (electric-pair-post-self-insert-function):
4183 Don't open extra newlines at beginning of buffer. (Bug#16272)
4184
4185 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4186
4187 * frame.el (window-system-for-display): Don't allow to create a
4188 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4189
4190 2013-12-28 Glenn Morris <rgm@gnu.org>
4191
4192 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4193 Update callers.
4194
4195 * apropos.el (apropos-match-face):
4196 * calculator.el (calculator-displayer):
4197 * dabbrev.el (dabbrev-search-these-buffers-only):
4198 * face-remap.el (buffer-face-mode-face):
4199 * simple.el (yank-handled-properties):
4200 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4201 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4202 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4203 (hashcash-double-spend-database):
4204 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4205 (ruby-deep-indent-paren-style):
4206 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4207 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4208 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4209 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4210 Specify custom types.
4211
4212 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4213 * bookmark.el (bookmark-bmenu-use-header-line):
4214 * doc-view.el (doc-view-scale-internally):
4215 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4216 * register.el (register-preview-delay):
4217 * net/shr.el (shr-bullet):
4218 * progmodes/cfengine.el (cfengine-cf-promises)
4219 (cfengine-parameters-indent):
4220 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4221 * textmodes/reftex-vars.el (reftex-label-regexps):
4222 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4223
4224 * net/tls.el (tls-certtool-program): Fix default value.
4225
4226 * desktop.el (desktop-restore-in-current-display):
4227 * newcomment.el (comment-empty-lines):
4228 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4229 (idlwave-pad-keyword):
4230 * progmodes/tcl.el (tcl-tab-always-indent):
4231 * textmodes/reftex-vars.el (reftex-index-default-tag):
4232 * elec-pair.el (electric-pair-skip-whitespace):
4233 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4234
4235 * emacs-lisp/authors.el (authors-ignored-files)
4236 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4237
4238 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4239
4240 * shell.el (shell-dynamic-complete-command): Doc fix.
4241 (shell--command-completion-data): Shell completion now matches
4242 executable filenames from the current buffer's directory, on
4243 systems in which this behavior is the default (windows-nt, ms-dos).
4244
4245 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4246
4247 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4248
4249 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4250
4251 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4252 (bug#16251).
4253
4254 * electric.el: Move all electric-pair-* to elec-pair.el.
4255 * elec-pair.el: New file, split from electric.el.
4256
4257 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4258
4259 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4260 indentation level is larger than the width, because that will
4261 infloop.
4262 (shr-insert): Fill repeatedly long texts, so that Japanese is
4263 formatted correctly (bug#16263).
4264 (shr-find-fill-point): Off by one error in comparison with the
4265 indentation.
4266
4267 2013-12-26 João Távora <joaotavora@gmail.com>
4268
4269 * electric.el (electric-pair-mode): More flexible engine for skip-
4270 and inhibit predicates, new options for pairing-related functionality.
4271 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4272 if that keeps or improves their balance in buffers.
4273 (electric-pair-delete-adjacent-pairs): Delete the pair when
4274 backspacing over adjacent matched delimiters.
4275 (electric-pair-open-extra-newline): Open extra newline when
4276 inserting newlines between adjacent matched delimiters.
4277 (electric--sort-post-self-insertion-hook):
4278 Sort post-self-insert-hook according to priority values when
4279 minor-modes are activated.
4280 * simple.el (newline-and-indent): Call newline with interactive
4281 set to t.
4282 (blink-paren-post-self-insert-function): Set priority to 100.
4283 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4284 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4285 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4286 electric-pair-open-newline-between-pairs to nil.
4287
4288 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4289
4290 * progmodes/python.el: Use lexical-binding.
4291 (python-nav-beginning-of-defun): Stop searching ASAP.
4292
4293 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4294
4295 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4296 Fix interactive spec. Doc fix. (Bug#15754)
4297
4298 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4299
4300 * emacs-lisp/byte-run.el (eval-when-compile):
4301 * progmodes/cc-defs.el (cc-eval-when-compile):
4302 Fix edebug spec (bug#16184).
4303
4304 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4305
4306 * net/shr.el (shr-visit-file): Remove debugging function.
4307 (shr-insert): Don't infloop if we can't find a good place to break
4308 the line (bug#16256).
4309
4310 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4311
4312 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4313 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4314 python-nav-lisp-forward-sexp-safe.
4315 (python-nav--forward-sexp): New argument SAFE allows switching
4316 forward sexp movement behavior for parens.
4317 (python-nav-forward-sexp): Throw errors on unterminated parens
4318 (Bug#16191).
4319 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4320 (python-nav-backward-sexp-safe): New functions.
4321 (python-shell-buffer-substring):
4322 Use `python-nav-forward-sexp-safe'.
4323
4324 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4325
4326 * net/shr.el (shr-find-fill-point): Don't break lines before a
4327 quotation mark.
4328 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4329 (shr-find-fill-point): Remove the special checks for the quotation
4330 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4331
4332 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4333
4334 * net/eww.el (eww-form-textarea): Use a different face for
4335 textareas than text input since they have different keymaps
4336 (bug#16142).
4337
4338 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4339
4340 * progmodes/python.el (python-nav-beginning-of-statement):
4341 Speed up (Bug#15295).
4342
4343 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4344
4345 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4346 the window configuration.
4347
4348 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4349
4350 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4351 we run on MS-Windows or MS-DOS.
4352
4353 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4354
4355 * window.el (balance-windows-area): Call window-size instead of
4356 window-height and window-width. Bug#16241.
4357
4358 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4359
4360 * net/eww.el (eww-bookmark-quit): Remove.
4361 (eww-bookmark-browse): Restore the window configuration when you
4362 choose a bookmark (bug#16144).
4363
4364 2013-12-24 Daniel Colascione <dancol@dancol.org>
4365
4366 * icomplete.el: Remove redundant :group arguments to `defcustom'
4367 throughout.
4368 (icomplete-show-matches-on-no-input): New customizable variable.
4369 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4370 we have something to show.
4371 (icomplete-exhibit): Compute completions even if we have no user input.
4372
4373 2013-12-23 Daniel Colascione <dancol@dancol.org>
4374
4375 * icomplete.el: Move `provide' to end of file.
4376
4377 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4378
4379 * net/gnutls.el (gnutls-verify-error): Add version tag.
4380
4381 2013-12-23 Chong Yidong <cyd@gnu.org>
4382
4383 * subr.el (set-transient-map): Rename from
4384 set-temporary-overlay-map. Doc fix.
4385
4386 * face-remap.el (text-scale-adjust):
4387 * indent.el (indent-rigidly):
4388 * kmacro.el (kmacro-call-macro):
4389 * minibuffer.el (minibuffer-force-complete):
4390 * repeat.el (repeat):
4391 * simple.el (universal-argument--mode):
4392 * calendar/todo-mode.el (todo-insert-item--next-param):
4393 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4394
4395 * indent.el (indent-rigidly): Use substitute-command-keys.
4396
4397 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4398
4399 * net/eww.el (eww-tag-select): Add text-property to jump to next
4400 select field.
4401 (eww): Add non-supported ftp error.
4402
4403 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4404
4405 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4406 comments. Handle electric indent after typing `?' and `!'.
4407
4408 2013-12-22 Chong Yidong <cyd@gnu.org>
4409
4410 * faces.el (face-spec-recalc): If the theme specs are not
4411 applicable to a frame, fall back on the defface spec.
4412 This prevents themes from obliterating faces on low-color terminals.
4413
4414 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4415
4416 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4417 after `{'. We need it after block openers, and it doesn't seem
4418 to hurt after hash openers.
4419
4420 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4421
4422 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4423 extracted from `ruby-smie-rules'.
4424 (ruby--electric-indent-chars): New variable.
4425 (ruby--electric-indent-p): New function.
4426 (ruby-mode): Use `electric-indent-functions' instead of
4427 `electric-indent-chars'.
4428
4429 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4430
4431 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4432 docstring.
4433 (ruby-smie-rules): Indent plus one level after `=>'.
4434
4435 2013-12-21 Richard Stallman <rms@gnu.org>
4436
4437 * simple.el (newline): Doc fix.
4438
4439 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4440
4441 * net/eww.el (eww-list-histories, eww-list-histories)
4442 (eww-history-browse, eww-history-quit, eww-history-kill)
4443 (eww-history-mode-map, eww-history-mode): New command and
4444 functions to list browser histories.
4445 (eww-form-text): Support text form with disabled
4446 and readonly attributes.
4447 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4448
4449 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4450
4451 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4452 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4453 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4454 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4455 Use `user-error'.
4456 (eww-bookmark-mode-map): Add menu.
4457 (eww-render, eww-mode): Use `setq-local'.
4458 (eww-tool-bar-map): New variable.
4459 (eww-mode): Set `tool-bar-map'.
4460 (eww-view-source): Check for `html-mode' with `fboundp'.
4461
4462 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4463
4464 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4465 elements with text inside. Also remove debugging.
4466
4467 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4468
4469 * cus-start.el (all): Add ns-use-srgb-colorspace.
4470
4471 2013-12-21 Chong Yidong <cyd@gnu.org>
4472
4473 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4474 undefined. Thus, theme settings for undefined faces do not take
4475 effect until the faces are defined with defface, the same as with
4476 theme variables.
4477
4478 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4479 (face-spec-reset-face): Don't assign extra properties in temacs.
4480 (face-spec-recalc): Apply X resources too.
4481
4482 2013-12-21 Chong Yidong <cyd@gnu.org>
4483
4484 * faces.el (face-spec-set):
4485 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4486 * custom.el (defface): Doc fixes (Bug#16203).
4487
4488 * indent.el (indent-rigidly-map): Add docstring, and move commands
4489 into named functions.
4490 (indent-rigidly-left, indent-rigidly-right)
4491 (indent-rigidly-left-to-tab-stop)
4492 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4493 indentation direction based on bidi direction, and accumulate
4494 sequential commands in a single undo boundary.
4495 (indent-rigidly--pop-undo): New utility function.
4496
4497 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4498
4499 * faces.el (read-face-name): Require crm.el when using crm-separator.
4500
4501 2013-12-20 Daniel Colascione <dancol@dancol.org>
4502
4503 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4504 so that we don't reflow comments into the shebang line.
4505
4506 2013-12-20 Juri Linkov <juri@jurta.org>
4507
4508 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4509 a position when `dired-directory' is non-nil. Check integer
4510 positions with `integerp'.
4511 (toggle-save-place, save-places-to-alist): Add check for
4512 `dired-directory'.
4513 (save-place-find-file-hook): Check integer positions with
4514 `integerp'.
4515 (save-place-dired-hook): Use `dired-goto-file' when
4516 `dired-filename' is found in the assoc list. Check integer
4517 positions with `integerp'.
4518 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4519
4520 * dired.el (dired-initial-position-hook): Rename back from
4521 `dired-initial-point-hook'.
4522 (dired-initial-position): Rename `dired-initial-point-hook' to
4523 `dired-initial-position-hook'.
4524 (dired-file-name-at-point): Doc fix. (Bug#15329)
4525
4526 2013-12-20 Juri Linkov <juri@jurta.org>
4527
4528 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4529 (read-regexp-suggestions): New function.
4530 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4531 Use `read-regexp-suggestions'. Add non-empty default to history
4532 for empty input.
4533 (occur-read-regexp-defaults-function): Remove function.
4534 (occur-read-primary-args): Use `regexp-history-last' instead of
4535 `occur-read-regexp-defaults-function'.
4536
4537 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4538 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4539 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4540 `hi-lock-read-regexp-defaults-function'. Doc fix.
4541 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4542 with `find-tag-default-as-symbol-regexp'. Doc fix.
4543 (hi-lock-read-regexp-defaults): Remove function.
4544 (hi-lock-regexp-okay): Add check for null.
4545
4546 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4547 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4548
4549 * subr.el (find-tag-default-as-symbol-regexp): New function.
4550 (find-tag-default-as-regexp): Move symbol regexp formatting to
4551 `find-tag-default-as-symbol-regexp'.
4552
4553 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4554
4555 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4556 (Bug#14179)
4557
4558 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4559
4560 * calendar/todo-mode.el: New implementation of item insertion
4561 commands and key bindings.
4562 (todo-key-prompt): New face.
4563 (todo-insert-item): New command.
4564 (todo-insert-item--parameters): New defconst, replacing defvar
4565 todo-insertion-commands-args-genlist.
4566 (todo-insert-item--param-key-alist): New defconst, replacing
4567 defvar todo-insertion-commands-arg-key-list.
4568 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4569 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4570 (todo-insert-item--next-param): New functions.
4571 (todo-insert-item--args, todo-insert-item--argleft)
4572 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4573 New variables.
4574 (todo-key-bindings-t): Change binding of "i" from
4575 todo-insertion-map to todo-insert-item.
4576 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4577 (todo-insertion-command-name, todo-insertion-commands-names)
4578 (todo-define-insertion-command, todo-insertion-commands)
4579 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4580
4581 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4582
4583 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4584 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4585 eval-when-compile.
4586 (todo-move-category): Allow choosing a non-existing todo file to
4587 move the category to, and create that file.
4588 (todo-default-priority): New user option.
4589 (todo-set-item-priority): Use it.
4590 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4591 (desktop-restore-file-buffer): Declare.
4592 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4593 (todo-modes-set-2): Locally set desktop-save-buffer to
4594 todo-desktop-save-buffer.
4595 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4596 (auto-mode-alist): Add autoload cookie.
4597
4598 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4599
4600 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4601 helpers.el was a poor choice of name.
4602 (string-remove-prefix): New function.
4603 (string-remove-suffix): New function.
4604
4605 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4606
4607 Fix assignment for new window total sizes.
4608 * window.el (window--pixel-to-size): Remove function.
4609 (window--pixel-to-total-1, window--pixel-to-total):
4610 Fix calculation of new total sizes.
4611
4612 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4613
4614 * comint.el (comint-output-filter): Fix rear-nonsticky property
4615 placement (Bug#16010).
4616
4617 2013-12-20 Chong Yidong <cyd@gnu.org>
4618
4619 * faces.el (read-color): Minor fix for completion function.
4620
4621 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4622
4623 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4624 New option. (Bug#16182)
4625 (ruby-smie--indent-to-stmt-p): Use it.
4626 (ruby-smie-rules): Revert the logic in the handling of `when'.
4627 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4628 (ruby-deep-arglist, ruby-deep-indent-paren)
4629 (ruby-deep-indent-paren-style): Update docstrings to note that the
4630 vars don't have any effect with SMIE.
4631
4632 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4633
4634 * calc/calc.el (calc-enter, calc-pop): Use the variable
4635 `calc-context-sensitive-enter'.
4636
4637 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4638
4639 * net/shr.el (shr-insert): Protect against infloops in degenerate
4640 tables.
4641
4642 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4643
4644 * progmodes/octave.el (octave): Add link to manual and octave
4645 homepage.
4646 (octave-mode-menu): Link to octave-mode manual.
4647
4648 2013-12-20 Leo Liu <sdl.web@gmail.com>
4649
4650 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4651 insertion using skeleton-end-newline. (Bug#16138)
4652
4653 2013-12-20 Juri Linkov <juri@jurta.org>
4654
4655 * replace.el (occur-engine): Use `add-face-text-property'
4656 to add the face property to matches and titles. (Bug#14645)
4657
4658 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4659 the palette of other hi-lock colors.
4660 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4661
4662 2013-12-19 Juri Linkov <juri@jurta.org>
4663
4664 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4665 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4666 (minibuffer-history-symbol): Move variable declaration closer to
4667 its usage.
4668
4669 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4670 (Bug#14785)
4671
4672 2013-12-19 Juri Linkov <juri@jurta.org>
4673
4674 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4675 New function.
4676 (log-edit-hook): Add it to :options. (Bug#16170)
4677
4678 2013-12-19 Juri Linkov <juri@jurta.org>
4679
4680 * simple.el (eval-expression-print-format): Don't check for
4681 command names and the last command. Always display additional
4682 formats of the integer result in the echo area, and insert them
4683 to the current buffer only with a zero prefix arg.
4684 Display character when char-displayable-p is non-nil.
4685 (eval-expression): With a zero prefix arg, set `print-length' and
4686 `print-level' to nil, and insert the integer values from
4687 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4688
4689 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4690 `eval-last-sexp-arg-internal'. Doc fix.
4691 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4692 `eval-last-sexp-print-value'. Doc fix.
4693 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4694 Set `print-length' and `print-level' to nil when arg is zero.
4695 (eval-last-sexp): Doc fix.
4696 (eval-defun-2): Print the integer values from
4697 `eval-expression-print-format' at the end.
4698
4699 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4700 values from `eval-expression-print-format' at the end.
4701
4702 * ielm.el (ielm-eval-input): Print the integer
4703 values from `eval-expression-print-format' at the end.
4704
4705 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4706
4707 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4708 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4709
4710 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4711
4712 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4713 (hl-line-highlight, global-hl-line-highlight): Use it.
4714 (hl-line-overlay): Use defvar-local.
4715
4716 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4717
4718 * term/ns-win.el: Require dnd.
4719 (global-map): Remove drag items.
4720 (ns-insert-text, ns-set-foreground-at-mouse)
4721 (ns-set-background-at-mouse):
4722 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4723 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4724 New functions.
4725
4726 2013-12-19 Glenn Morris <rgm@gnu.org>
4727
4728 * emacs-lisp/ert.el (ert-select-tests):
4729 Fix string/symbol mixup. (Bug#16121)
4730
4731 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4732
4733 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4734 keywords to their parent.
4735
4736 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4737
4738 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4739 first arg to be a string (fixed dead code), or an operator symbol.
4740 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4741 operator symbols.
4742 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4743 did nothing. Don't respond to `(:after ".")', it will be called
4744 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4745 change anything. Only return indentation for binary operators
4746 when they are hanging. De-dent opening paren when its parent is
4747 `.', otherwise it looks bad when the dot is not at bol or eol
4748 (bug#16182).
4749
4750 2013-12-19 Juri Linkov <juri@jurta.org>
4751
4752 * replace.el (query-replace-read-args): Split a non-negative arg
4753 and a negative arg into separate elements.
4754 (query-replace, query-replace-regexp, replace-string)
4755 (replace-regexp): Add arg `backward'. Doc fix.
4756 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4757 move point to the beginning of the match.
4758 (replace-search, replace-highlight): Use new arg `backward'
4759 to set the value of `isearch-forward'.
4760 (perform-replace): Add arg `backward' and use it to perform
4761 replacement backward. (Bug#14979)
4762
4763 * isearch.el (isearch-query-replace): Use a negative prefix arg
4764 to call `perform-replace' with a non-nil arg `backward'.
4765
4766 2013-12-18 Juri Linkov <juri@jurta.org>
4767
4768 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4769 to the default list. Move `log-edit-show-files' to the end.
4770 Add more available functions to options.
4771 (log-edit): Move default specific settings to
4772 `log-edit-insert-message-template'. Don't move point.
4773 (log-edit-insert-message-template): New function.
4774 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4775 (Bug#16170)
4776
4777 2013-12-18 Juri Linkov <juri@jurta.org>
4778
4779 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4780 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4781
4782 2013-12-18 Leo Liu <sdl.web@gmail.com>
4783
4784 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4785 (Bug#16186)
4786
4787 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4788
4789 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4790 formats for displaying file sizes when the -s switch is given.
4791 Instead, compute a separate format for displaying the size in
4792 blocks, which is displayed in addition to the "regular" size.
4793 When -h is given in addition to -s, produce size in blocks in
4794 human-readable form as well. (Bug#16179)
4795
4796 2013-12-18 Tassilo Horn <tsdh@gnu.org>
4797
4798 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4799 Reference tables with ~\ref{...} instead of only \ref{...}.
4800
4801 2013-12-18 Chong Yidong <cyd@gnu.org>
4802
4803 * cus-edit.el (custom-magic-alist): Fix "themed" description
4804 (Bug#14348).
4805
4806 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4807 is non-nil, do not create a new entry in the symbol's theme-value
4808 or theme-face property; update theme-settings only (Bug#14664).
4809 (custom-available-themes): Doc fix.
4810
4811 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4812 (Bug#15674).
4813
4814 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4815
4816 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4817
4818 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4819 (Bug#13914).
4820
4821 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
4822
4823 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4824
4825 2013-12-18 Glenn Morris <rgm@gnu.org>
4826
4827 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
4828 * cus-start.el (load-prefer-newer): New option.
4829
4830 2013-12-18 Le Wang <l26wang@gmail.com>
4831
4832 * comint.el (comint-previous-matching-input-from-input):
4833 Retain point (Bug#13404).
4834
4835 2013-12-18 Chong Yidong <cyd@gnu.org>
4836
4837 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4838
4839 2013-12-18 Glenn Morris <rgm@gnu.org>
4840
4841 * mail/emacsbug.el (report-emacs-bug):
4842 Only mention enable-multibyte-characters if non-standard.
4843
4844 2013-12-17 Juri Linkov <juri@jurta.org>
4845
4846 * arc-mode.el (archive-extract-by-file): Check if directory exists
4847 before deletion to not show irrelevant errors if it doesn't exist.
4848
4849 2013-12-17 Juri Linkov <juri@jurta.org>
4850
4851 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4852 (Bug#14751)
4853
4854 * net/eww.el (browse-web): Add alias to `eww'.
4855 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4856 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4857
4858 * net/browse-url.el (browse-url-browser-function): Move `eww'
4859 closer to similar functions.
4860
4861 * startup.el (fancy-startup-screen, fancy-about-screen):
4862 Set browse-url-browser-function to eww-browse-url locally.
4863 (Bug#14751)
4864
4865 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4866
4867 * window.el (window--pixel-to-total): Remove unused `mini' var.
4868 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4869 (split-window): Remove unused `new' var.
4870 (window--display-buffer): Remove unused `frame' and `delta' vars.
4871 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4872 and display-width'.
4873
4874 2013-12-17 Martin Rudalics <rudalics@gmx.at>
4875
4876 * dired.el (dired-mark-pop-up):
4877 * register.el (register-preview): Don't bind
4878 split-height-threshold here since it's now done in
4879 display-buffer-below-selected.
4880
4881 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4882
4883 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4884 xterm-rgb-convert-to-16bit.
4885 (rxvt-register-default-colors): Standardize with
4886 xterm-register-default-colors (Bug#14078).
4887
4888 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4889
4890 * simple.el (kill-region): Pass mark first, then point, so that
4891 kill-append works right (Bug#12819).
4892 (copy-region-as-kill, kill-ring-save): Likewise.
4893
4894 2013-12-17 Leo Liu <sdl.web@gmail.com>
4895
4896 * net/rcirc.el (rcirc-add-face):
4897 * eshell/em-prompt.el (eshell-emit-prompt):
4898 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4899 (Bug#16167)
4900
4901 2013-12-17 Chong Yidong <cyd@gnu.org>
4902
4903 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4904 Suggested by Xue Fuqiao.
4905
4906 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4907
4908 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4909
4910 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4911
4912 * net/shr.el (shr-insert-document): Remove unused var
4913 `shr-preliminary-table-render'.
4914 (shr-rescale-image): Remove unused arg `force'.
4915 (shr-put-image): Update calls accordingly.
4916 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4917
4918 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4919
4920 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4921 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4922 :close-all, to see which indentation method to use (Bug#16116).
4923 (smie-rules-function): Document the method :close-all.
4924
4925 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4926
4927 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4928
4929 * net/eww.el (eww-display-html): If we can't find the anchor we're
4930 looking for, then go to point-min.
4931
4932 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4933
4934 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
4935 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
4936 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
4937 Expand dir too, in case it's relative.
4938
4939 2013-12-16 Juri Linkov <juri@jurta.org>
4940
4941 * desktop.el (desktop-auto-save-timeout): Change default to
4942 `auto-save-timeout'. Doc fix.
4943 (desktop-save): Skip the timestamp in desktop-saved-frameset
4944 when checking for auto-save changes.
4945 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
4946 `desktop-auto-save' is called repeatedly by the idle timer.
4947 (desktop-auto-save-set-timer): Replace `run-with-timer' with
4948 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
4949 (Bug#15331)
4950
4951 2013-12-16 Juri Linkov <juri@jurta.org>
4952
4953 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
4954 (Bug#16035)
4955 (isearch-pre-command-hook): Check `this-command' for symbolp.
4956
4957 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4958
4959 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
4960
4961 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
4962
4963 * progmodes/cfengine.el (cfengine3--current-word): Remove.
4964 (cfengine3--current-function): Bring in the current-function
4965 functionality from `cfengine3--current-word'.
4966 (cfengine3-completion-function): Bring in the
4967 bounds-of-current-word functionality from
4968 `cfengine3--current-word'.
4969
4970 2013-12-16 Martin Rudalics <rudalics@gmx.at>
4971
4972 * window.el (display-buffer-below-selected):
4973 Bind split-height-threshold to 0 as suggested by Juri Linkov.
4974
4975 2013-12-16 Leo Liu <sdl.web@gmail.com>
4976
4977 * progmodes/compile.el (compile-goto-error): Do not push-mark.
4978 Remove NOMSG arg and all uses changed.
4979
4980 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
4981
4982 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
4983 (cua--deactivate-rectangle): Don't deactivate the mark.
4984 (cua-set-rectangle-mark): Don't set mark-active since
4985 cua--activate-rectangle already does it for us.
4986 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
4987 non-rectangular region.
4988
4989 * emulation/cua-base.el (cua-repeat-replace-region):
4990 Use with-current-buffer.
4991
4992 * net/gnutls.el: Use cl-lib.
4993 (gnutls-negotiate): `mapcan' -> cl-mapcan.
4994
4995 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
4996
4997 * emacs-lisp/package.el (package-built-in-p): Support both
4998 built-in and the package.el converted package descriptions.
4999 (package-show-package-list): Allow keywords.
5000 (package-keyword-button-action): Use it instead of
5001 `finder-list-matches'.
5002 (package-menu-filter-interactive): Interactive filtering (by
5003 keyword) function.
5004 (package-menu--generate): Support keywords and change keymappings
5005 and headers when they are given.
5006 (package--has-keyword-p): Helper function.
5007 (package-menu--refresh): Use it.
5008 (package--mapc): Helper function.
5009 (package-all-keywords): Use it.
5010 (package-menu-mode-map): Set up menu items and keybindings to
5011 provide a filtering UI.
5012
5013 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5014
5015 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5016 the behavior when a certificate fails validation. Defaults to
5017 old behavior: never abort, just warn.
5018 (gnutls-negotiate): Use it.
5019
5020 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5021
5022 * window.el (display-buffer-below-selected): Never split window
5023 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5024
5025 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5026
5027 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5028 (package-buffer-info): Use it (bug#15108).
5029
5030 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5031
5032 * icomplete.el (icomplete-completions): Make sure the prefix is already
5033 displayed elsewhere before hiding it (bug#16219).
5034
5035 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5036
5037 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5038 open-paren tokens when preceded by a open-paren, too.
5039 (ruby-smie-rules): Handle virtual indentation after open-paren
5040 tokens specially. If there is code between it and eol, return the
5041 column where is starts (Bug#16118).
5042
5043 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5044
5045 * progmodes/cfengine.el: Fix `add-hook' doc.
5046 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5047 (cfengine3--current-word): Fix parameters.
5048 (cfengine3-make-syntax-cache): Simplify further.
5049 (cfengine3-completion-function, cfengine3--current-function):
5050 Use `assq' for symbols.
5051 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5052
5053 2013-12-13 Glenn Morris <rgm@gnu.org>
5054
5055 * loadup.el (load-path): Warn if site-load or site-init changes it.
5056 No more need to reset it when bootstrapping.
5057
5058 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5059
5060 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5061 locations for cf-promises.
5062 (cfengine-mode-syntax-functions-regex): New caching variable.
5063 (cfengine3-fallback-syntax): Fallback syntax for cases where
5064 cf-promises doesn't run.
5065 (cfengine3--current-word): Reimplement using
5066 `cfengine-mode-syntax-functions-regex'.
5067 (cfengine3-completion-function, cfengine3--current-function):
5068 Use `cfengine3-make-syntax-cache' directly.
5069 (cfengine3-clear-syntax-cache): New function.
5070 (cfengine3-make-syntax-cache): Simplify and create
5071 `cfengine-mode-syntax-functions-regex' on demand.
5072 (cfengine3-format-function-docstring): Don't call
5073 `cfengine3-make-syntax-cache' explicitly.
5074
5075 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5076
5077 Fix windmove-find-other-window broken after pixelwise resizing
5078 (Bug#16017).
5079 * windmove.el (windmove-other-window-loc): Revert change from
5080 2013-12-04.
5081 (windmove-find-other-window): Call window-in-direction.
5082 * window.el (window-in-direction): New arguments SIGN, WRAP and
5083 MINI to emulate original windmove-find-other-window behavior.
5084
5085 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5086
5087 * simple.el (blink-matching--overlay): New variable.
5088 (blink-matching-open): Instead of moving point, highlight the
5089 matching paren with an overlay
5090 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5091
5092 * faces.el (paren-showing-faces, show-paren-match)
5093 (show-paren-mismatch): Move from paren.el.
5094
5095 2013-12-13 Leo Liu <sdl.web@gmail.com>
5096
5097 * indent.el (indent-region): Disable progress reporter in
5098 minibuffer. (Bug#16108)
5099
5100 * bindings.el (visual-order-cursor-movement): Fix version.
5101
5102 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5103
5104 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5105 Also match after beginning of line.
5106 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5107 files. Thanks to Russell Sim. (Bug#15378)
5108
5109 2013-12-13 Juri Linkov <juri@jurta.org>
5110
5111 * simple.el <Keypad support>: Remove key bindings duplicated
5112 with bindings.el. (Bug#14397)
5113
5114 2013-12-13 Juri Linkov <juri@jurta.org>
5115
5116 * comint.el (comint-mode-map): Replace `delete-char' with
5117 `delete-forward-char'. (Bug#16109)
5118
5119 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5120
5121 * progmodes/python.el (python-indent-calculate-indentation):
5122 Fix de-denters cornercase. (Bug#15731)
5123
5124 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5125
5126 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5127 (advice--make): Pay attention to `depth'.
5128 (advice--make-1): Don't autoload commands eagerly.
5129 * emacs-lisp/elp.el (elp-instrument-function):
5130 * emacs-lisp/trace.el (trace-function-internal):
5131 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5132
5133 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5134
5135 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5136
5137 * term/w32-win.el (w32-handle-dropped-file):
5138 * startup.el (normal-top-level):
5139 * net/browse-url.el (browse-url-file-url):
5140 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5141 decode file names using 'utf-8' rather than
5142 file-name-coding-system.
5143
5144 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5145
5146 * progmodes/python.el (python-indent-context)
5147 (python-indent-calculate-indentation): Fix auto-identation
5148 behavior for comment blocks. (Bug#15916)
5149
5150 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5151
5152 * progmodes/python.el (python-indent-calculate-indentation):
5153 When determining indentation, don't treat "return", "pass", etc., as
5154 operators when they are just string constituents. (Bug#15812)
5155
5156 2013-12-12 Juri Linkov <juri@jurta.org>
5157
5158 * uniquify.el (uniquify-buffer-name-style): Change default to
5159 `post-forward-angle-brackets'.
5160
5161 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5162 `uniquify'. Change default to `post-forward-angle-brackets'.
5163
5164 2013-12-11 Glenn Morris <rgm@gnu.org>
5165
5166 * emacs-lisp/package.el (finder-list-matches):
5167 Autoload rather than falsely declaring.
5168
5169 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5170
5171 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5172 (eww-mode-map): Use them.
5173
5174 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5175
5176 * window.el (display-buffer-in-side-window): Fix doc-string
5177 (Bug#16115).
5178
5179 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5180
5181 * vc/vc-git.el: Silence byte-compiler warnings.
5182 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5183 (log-edit-set-header): Declare.
5184
5185 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5186
5187 * Makefile.in (custom-deps, finder-data): Run output file names
5188 through unmsys--file-name. (Bug#16099)
5189
5190 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5191
5192 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5193 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5194
5195 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5196 instead of deleting the selection "by hand" (bug#16098).
5197 Rely on insert-for-yank to yank rectangles.
5198 (cua-highlight-region-shift-only): Mark obsolete.
5199 (cua-mode): Don't enable/disable transient-mark-mode,
5200 shift-select-mode (cua-mode works both with and without them), and
5201 pc-selection-mode (obsolete).
5202 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5203 (cua--deactivate-rectangle): Deactivate it.
5204
5205 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5206 (delete-selection-helper): Make sure yank starts at the top of the
5207 deleted region.
5208 (minibuffer-keyboard-quit): Use region-active-p.
5209
5210 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5211
5212 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5213 to `delete' (bug#16109).
5214
5215 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5216
5217 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5218 info manual and show keybindings and set `:group' keyword.
5219
5220 2013-12-11 Juri Linkov <juri@jurta.org>
5221
5222 * delsel.el (delete-active-region): Let-bind `this-command'
5223 to prevent `kill-region' from changing its original value.
5224 (delete-selection-helper): Handle `overwrite-mode' for the type
5225 `kill' exactly the same way as for the type `t'.
5226 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5227 Support more commands. (Bug#13312)
5228
5229 2013-12-11 Juri Linkov <juri@jurta.org>
5230
5231 * bindings.el: Map kp keys to non-kp keys systematically
5232 with basic modifiers control, meta and shift. (Bug#14397)
5233
5234 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5235
5236 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5237 "Close browser" menu items. Fix wrong function of "List
5238 bookmarks".
5239
5240 2013-12-11 Juri Linkov <juri@jurta.org>
5241
5242 * misearch.el (multi-isearch-buffers): Set the value of
5243 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5244 arg of isearch-forward to t.
5245 (multi-isearch-buffers-regexp): Set the value of
5246 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5247 arg of isearch-forward-regexp to t.
5248 (multi-isearch-files): Set the value of
5249 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5250 arg of isearch-forward to t.
5251 (multi-isearch-files-regexp): Set the value of
5252 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5253 arg of isearch-forward-regexp to t. (Bug#16035)
5254
5255 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5256 arg of isearch-forward to t.
5257 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5258 arg of isearch-forward-regexp to t.
5259 (dired-isearch-filter-filenames): Remove unnecessary check for
5260 `dired-isearch-filenames'.
5261
5262 * comint.el (comint-history-isearch-backward):
5263 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5264 (comint-history-isearch-backward-regexp):
5265 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5266
5267 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5268
5269 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5270 unmsys--file-name. (Bug#16099)
5271
5272 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5273
5274 * emacs-lisp/package.el (package-keyword-button-action):
5275 Remove finder.el require dependency.
5276
5277 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5278
5279 * emacs-lisp/package.el: Require finder.el.
5280 (describe-package-1): Add keyword buttons.
5281 (package-make-button): New convenience function.
5282 (package-keyword-button-action): Keyword button action using
5283 `finder-list-matches'.
5284
5285 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5286
5287 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5288 last commit.
5289
5290 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5291
5292 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5293 symlinked files.
5294
5295 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5296
5297 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5298 after the end of a percent literal.
5299
5300 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5301
5302 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5303 Handle caret-delimited strings (Bug#16079).
5304
5305 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5306
5307 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5308 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5309 `ruby-parse-partial' (Bug#16078).
5310
5311 2013-12-09 Leo Liu <sdl.web@gmail.com>
5312
5313 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5314
5315 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5316
5317 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5318 (js-switch-indent-offset): New option.
5319 (js--proper-indentation): Use it. And handle the case when
5320 "default" is actually a key in an object literal.
5321 (js--same-line): New function.
5322 (js--multi-line-declaration-indentation): Use it.
5323 (js--indent-in-array-comp, js--array-comp-indentation):
5324 New functions.
5325 (js--proper-indentation): Use them, to handle array comprehension
5326 continuations.
5327
5328 2013-12-08 Leo Liu <sdl.web@gmail.com>
5329
5330 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5331 (flymake-make-overlay): Remove arg MOUSE-FACE.
5332 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5333
5334 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5335
5336 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5337 New function.
5338 (redisplay-highlight-region-function): Use it.
5339
5340 * emulation/cua-base.el (cua--explicit-region-start)
5341 (cua--last-region-shifted): Remove.
5342 (cua--deactivate): Use deactivate-mark.
5343 (cua--pre-command-handler-1): Don't handle shift-selection.
5344 (cua--post-command-handler-1): Don't change transient-mark-mode.
5345 (cua--select-keymaps): Use region-active-p rather than
5346 cua--explicit-region-start or cua--last-region-shifted.
5347 (cua-mode): Enable shift-select-mode.
5348
5349 2013-12-08 Leo Liu <sdl.web@gmail.com>
5350
5351 * progmodes/flymake.el (flymake-popup-current-error-menu):
5352 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5353 (flymake-posn-at-point-as-event, flymake-popup-menu)
5354 (flymake-make-emacs-menu): Remove. (Bug#16077)
5355
5356 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5357
5358 * rect.el (rectangle-mark-mode): Activate mark even if
5359 transient-mark-mode is off (bug#16066).
5360 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5361 is > mark and at bolp.
5362
5363 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5364 (region-extract-function): Use it.
5365 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5366 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5367 Delete functions.
5368 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5369 kill-ring-save, kill-region, delete-char, delete-forward-char.
5370 Ignore self-insert-iso.
5371
5372 * emulation/cua-gmrk.el (cua--init-global-mark):
5373 Ignore `self-insert-iso'.
5374
5375 * emulation/cua-base.el (cua--prefix-copy-handler)
5376 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5377 checking cua--rectangle.
5378 (cua-delete-region): Use region-extract-function.
5379 (cua-replace-region): Delete function.
5380 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5381 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5382 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5383 (cua--init-keymaps): Don't remap delete-selection commands.
5384 (cua-mode): Use delete-selection-mode instead of rolling our own
5385 (bug#16085).
5386
5387 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5388 Obey region-extract-function.
5389
5390 Make registers and delete-selection-mode work on rectangles.
5391 * register.el (describe-register-1): Don't modify the register's value.
5392 (copy-to-register): Obey region-extract-function.
5393 * delsel.el (delete-active-region): Obey region-extract-function.
5394
5395 2013-12-08 Leo Liu <sdl.web@gmail.com>
5396
5397 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5398 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5399 (flymake-compilation-prevents-syntax-check)
5400 (flymake-start-syntax-check-on-newline)
5401 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5402 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5403 (flymake-xml-program, flymake-master-file-dirs)
5404 (flymake-master-file-count-limit)
5405 (flymake-allowed-file-name-masks): Relocate.
5406 (flymake-makehash, flymake-float-time)
5407 (flymake-replace-regexp-in-string, flymake-split-string)
5408 (flymake-get-temp-dir): Remove.
5409 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5410 (flymake-current-row, flymake-selected-frame)
5411 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5412 related functions. (Bug#16077)
5413
5414 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5415
5416 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5417
5418 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5419
5420 * help-fns.el (describe-function-1): Use new advice-* functions
5421 rather than old ad-* functions. Fix function type description and
5422 source links for advised functions and subrs.
5423
5424 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5425
5426 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5427
5428 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5429
5430 * progmodes/compile.el (compilation-start):
5431 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5432
5433 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5434 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5435
5436 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5437
5438 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5439 Touch up the last change.
5440
5441 2013-12-06 Leo Liu <sdl.web@gmail.com>
5442
5443 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5444 (inferior-octave-startup): Always use "octave> " for prompt.
5445 (octave-goto-function-definition)
5446 (octave-sync-function-file-names)
5447 (octave-find-definition-default-filename): Remove redundant backquotes.
5448
5449 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5450
5451 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5452 syntax for `?'.
5453 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5454 where appropriate already.
5455 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5456 end of method names (Bug#15874).
5457
5458 2013-12-06 Juri Linkov <juri@jurta.org>
5459
5460 * isearch.el (isearch--saved-overriding-local-map):
5461 New internal variable.
5462 (isearch-mode): Set it to the initial value of
5463 `overriding-terminal-local-map'.
5464 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5465 with `isearch--saved-overriding-local-map'. (Bug#16035)
5466
5467 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5468
5469 * progmodes/octave.el (inferior-octave-completion-table):
5470 Turn back into function, use `completion-table-with-cache'
5471 (Bug#11906). Update all references.
5472
5473 * minibuffer.el (completion-table-with-cache): New function.
5474
5475 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5476
5477 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5478
5479 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5480
5481 * net/eww.el (eww-current-source): New variable to store page
5482 source.
5483 (eww-display-html, eww-mode, eww-save-history)
5484 (eww-restore-history): Use it.
5485 (eww-view-source): New command to view page source.
5486 Opportunistically uses `html-mode' to highlight the buffer.
5487 (eww-mode-map): Install it.
5488
5489 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5490
5491 * net/dbus.el (dbus-unregister-service)
5492 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5493 Fix docstring.
5494 (dbus-unregister-service): Skip :serial entries in
5495 `dbus-registered-objects-table'.
5496 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5497
5498 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5499
5500 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5501 around keywords with extra `split-string' argument.
5502
5503 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5504
5505 * windmove.el (windmove-other-window-loc): Handle navigation
5506 between windows (excluding the minibuffer window - Bug#16017).
5507
5508 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5509
5510 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5511 in D-Bus type syntax.
5512 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5513 preserve unibyte strings. (Bug#16048)
5514
5515 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5516
5517 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5518 Call force-mode-line-update is the proper buffer (bug#16042).
5519
5520 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5521
5522 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5523 `log-edit-remember-comment', make argument optional. Adjust all
5524 callers.
5525 (log-edit-mode): Add `log-edit-remember-comment' to
5526 `kill-buffer-hook' locally.
5527 (log-edit-kill-buffer): Don't remember comment explicitly since
5528 the buffer is killed anyway.
5529
5530 2013-12-04 Juri Linkov <juri@jurta.org>
5531
5532 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5533 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5534
5535 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5536
5537 * notifications.el (notifications-close-notification): Call the
5538 D-Bus method with ID being a `:uint32'. (Bug#16030)
5539
5540 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5541
5542 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5543
5544 2013-12-03 Juri Linkov <juri@jurta.org>
5545
5546 * progmodes/compile.el (compilation-start): Rename window alist
5547 entry `no-display-ok' to `allow-no-window'.
5548
5549 * simple.el (shell-command): Add window alist entry
5550 `allow-no-window' to `display-buffer'.
5551 (async-shell-command): Doc fix.
5552
5553 * window.el (display-buffer-no-window): New action function.
5554 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5555
5556 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5557
5558 * vc/log-edit.el (log-edit-set-header): Extract from
5559 `log-edit-toggle-header'.
5560 (log-edit-extract-headers): Separate the summary, when extracted
5561 from header, from the rest of the message with an empty line.
5562
5563 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5564 line, if present, to the Summary header.
5565
5566 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5567
5568 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5569 in current-buffer (bug#16029).
5570
5571 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5572
5573 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5574 (debugger-mode-map): Bind it.
5575 (debugger--backtrace-base): New function.
5576 (debugger-eval-expression): Use it.
5577 (debugger-frame-number): Skip local vars when present.
5578 (debugger--locals-visible-p, debugger--insert-locals)
5579 (debugger--show-locals, debugger--hide-locals): New functions.
5580
5581 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5582
5583 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5584 "LC_ALL".
5585 (tramp-get-remote-locale): New defun.
5586 (tramp-open-connection-setup-interactive-shell): Use it.
5587
5588 2013-12-02 Leo Liu <sdl.web@gmail.com>
5589
5590 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5591
5592 * progmodes/sh-script.el (sh-shell-process):
5593 * progmodes/octave.el (inferior-octave-process-live-p):
5594 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5595 (gdb-inferior-io-sentinel):
5596 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5597
5598 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5599
5600 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5601 `save-selected-window' to `log-edit-hide-buf'. This makes
5602 `log-edit-show-files' idempotent.
5603 (log-edit-show-files): Mark the new window as dedicated.
5604
5605 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5606
5607 * vc/log-edit.el (log-edit-mode-map): Add binding for
5608 `log-edit-kill-biffer'.
5609 (log-edit-hide-buf): Add a FIXME comment.
5610 (log-edit-add-new-comment): New function, extracted from
5611 `log-edit-done'.
5612 (log-edit-done, log-edit-add-to-changelog): Use it.
5613 (log-edit-kill-buffer): New command.
5614
5615 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5616
5617 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5618 instead of killing the buffer.
5619
5620 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5621
5622 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5623
5624 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5625
5626 * net/eww.el (eww-form-checkbox-selected-symbol)
5627 (eww-form-checkbox-symbol): New customizable variable.
5628 (eww-form-checkbox, eww-toggle-checkbox):
5629 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5630
5631 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5632 (shr--get-media-pref, shr--extract-best-source): New function.
5633 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5634 no :src tag was specified.
5635
5636 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5637 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5638 Use \\` to match beginning of string instead of ^.
5639 (eww-browse-with-external-browser): Provide optional URL parameter.
5640 (eww-render): Set `eww-current-title' back to "".
5641
5642 * net/shr.el (shr-tag-video): Display content for video if no
5643 poster is available.
5644 (shr-tag-audio): Add support for <audio> tag.
5645
5646 * net/eww.el (eww-text-input-types): New const.
5647 (eww-process-text-input): Treat input types in
5648 `eww-text-input-types' as text.
5649
5650 * net/shr.el (shr-tag-table): Fix comment typo.
5651
5652 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5653
5654 * net/eww.el (eww-follow-link): New command to avoid reloading
5655 pages when we follow #target links (bug#15243).
5656 (eww-quit): Special mode buffers shouldn't query before exiting.
5657
5658 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5659
5660 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5661 forms.
5662
5663 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5664
5665 * net/eww.el (eww-restore-history): Update the window title after
5666 moving in the history.
5667 (eww-current-dom): New variable used to save the current DOM.
5668
5669 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5670
5671 * vc/log-edit.el (log-edit-mode-map): Add binding for
5672 `log-edit-beginning-of-line'.
5673 (log-edit-setup-add-author): New user option.
5674 (log-edit-beginning-of-line): New command.
5675 (log-edit): Move major mode call above the contents setup so that
5676 the local variable values are already applied.
5677 (log-edit): Only insert "Author: " when
5678 `log-edit-setup-add-author' is non-nil.
5679 (log-edit): When SETUP is non-nil, position point after ": "
5680 instead of point-min.
5681
5682 2013-12-01 Glenn Morris <rgm@gnu.org>
5683
5684 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5685
5686 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5687
5688 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5689 redisplay to make sure the initial frame gets a chance to become
5690 visible. (Bug#16014)
5691
5692 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5693
5694 Support resizing frames and windows pixelwise.
5695 * cus-start.el (frame-resize-pixelwise)
5696 (window-resize-pixelwise): New entries.
5697 * emacs-lisp/debug.el (debug): Use window-total-height instead
5698 of window-total-size.
5699 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5700 * help.el (describe-bindings-internal): Use help-buffer as
5701 argument for with-help-window.
5702 (temp-buffer-max-width): New option.
5703 (resize-temp-buffer-window, help-window-setup)
5704 (with-help-window): Rewrite.
5705 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5706 dragging dividers.
5707 * window.el (frame-char-size, window-min-pixel-height)
5708 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5709 (window-min-pixel-width, window-safe-min-pixel-size)
5710 (window-combination-p, window-safe-min-size)
5711 (window-resizable-p, window--size-to-pixel)
5712 (window--pixel-to-size, window--resize-apply-p): New functions.
5713 (window-safe-min-height): Fix doc-string.
5714 (window-size, window-min-size, window--min-size-1)
5715 (window-sizable, window-sizable-p, window--min-delta-1)
5716 (window-min-delta, window--max-delta-1, window-max-delta)
5717 (window--resizable, window--resizable-p, window-resizable)
5718 (window-full-height-p, window-full-width-p, window-at-side-p)
5719 (window--in-direction-2, window-in-direction)
5720 (window--resize-reset-1, window--resize-mini-window)
5721 (window-resize, window-resize-no-error)
5722 (window--resize-child-windows-normal)
5723 (window--resize-child-windows, window--resize-siblings)
5724 (window--resize-this-window, window--resize-root-window)
5725 (window--resize-root-window-vertically)
5726 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5727 (maximize-window, minimize-window, delete-window)
5728 (quit-restore-window, window-split-min-size, split-window)
5729 (balance-windows-2, balance-windows)
5730 (balance-windows-area-adjust, balance-windows-area)
5731 (window--state-get-1, window-state-get, window--state-put-1)
5732 (window--state-put-2, window-state-put)
5733 (display-buffer-record-window, window--display-buffer):
5734 Make functions handle pixelwise sizing of windows.
5735 (display-buffer--action-function-custom-type)
5736 (display-buffer-fallback-action):
5737 Add display-buffer-in-previous-window.
5738 (display-buffer-use-some-window): Resize window to height it had
5739 before.
5740 (fit-window-to-buffer-horizontally): New option.
5741 (fit-frame-to-buffer): Describe new values.
5742 (fit-frame-to-buffer-bottom-margin): Replace with
5743 fit-frame-to-buffer-margins.
5744 (window--sanitize-margin): New function.
5745 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5746 using window-text-pixel-size.
5747
5748 2013-11-30 Glenn Morris <rgm@gnu.org>
5749
5750 * emacs-lisp/bytecomp.el (byte-compile-form):
5751 Make the `interactive-only' warning like the `obsolete' one.
5752 * comint.el (comint-run):
5753 * files.el (insert-file-literally, insert-file):
5754 * replace.el (replace-string, replace-regexp):
5755 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5756 (goto-line, insert-buffer, next-line, previous-line):
5757 Tweak `interactive-only' spec.
5758
5759 Stop keeping (most) generated cedet grammar files in the repository.
5760 * Makefile.in (semantic): New.
5761 (compile-main): Depend on semantic.
5762
5763 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5764
5765 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5766 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5767
5768 * uniquify.el (uniquify-buffer-name-style): Change default.
5769
5770 * loadup.el: Preload "uniquify".
5771
5772 * time.el (display-time-update): Update all mode lines (bug#15999).
5773
5774 * electric.el (electric-indent-mode): Enable by default.
5775 * loadup.el: Preload "electric".
5776
5777 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5778
5779 * emacs-lisp/helpers.el (string-empty-p): New function.
5780 (string-blank-p): New function.
5781
5782 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5783
5784 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5785 (Bug#14029).
5786
5787 2013-11-29 Andreas Politz <politza@fh-trier.de>
5788 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5789 allow non-lambda lists as functions.
5790 (imenu--in-alist): Don't recurse into non-subalists.
5791 (imenu): Don't pass function itself as an argument (Bug#14029).
5792
5793 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5794
5795 * progmodes/python.el (python-mode-map): Remove binding for ":".
5796 (python-indent-electric-colon): Remove command.
5797 (python-indent-post-self-insert-function): Integrate the previous code
5798 of python-indent-electric-colon. Make it conditional on
5799 electric-indent-mode.
5800 (python-mode): Add ?: to electric-indent-chars.
5801 Move python-indent-post-self-insert-function to the end of
5802 post-self-insert-hook.
5803
5804 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5805
5806 * doc-view.el (doc-view-goto-page): Update mode-line.
5807
5808 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5809
5810 2013-11-27 Glenn Morris <rgm@gnu.org>
5811
5812 * international/charprop.el, international/uni-bidi.el:
5813 * international/uni-category.el, international/uni-combining.el:
5814 * international/uni-comment.el, international/uni-decimal.el:
5815 * international/uni-decomposition.el, international/uni-digit.el:
5816 * international/uni-lowercase.el, international/uni-mirrored.el:
5817 * international/uni-name.el, international/uni-numeric.el:
5818 * international/uni-old-name.el, international/uni-titlecase.el:
5819 * international/uni-uppercase.el:
5820 Remove generated files from VCS repository.
5821
5822 2013-11-27 Eli Zaretskii <eliz@gnu.org>
5823
5824 * filenotify.el (file-notify-add-watch): Don't special-case
5825 w32notify when computing the directory to watch.
5826
5827 2013-11-27 Glenn Morris <rgm@gnu.org>
5828
5829 Make bootstrap without generated uni-*.el files possible again.
5830 * loadup.el: Update command-line-args checking for unidata-gen.
5831 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5832 * composite.el, international/characters.el:
5833 Handle unicode tables being undefined.
5834
5835 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
5836 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5837 (compile-main): Depend on leim rule.
5838 (leim): New rule.
5839 * loadup.el: Move leim-list.el to leim/ subdirectory.
5840 * startup.el (normal-top-level): No more leim directory.
5841 * international/ja-dic-cnv.el (skkdic-convert):
5842 Disable version-control and autoloads in output files.
5843 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5844 Disable version-control and autoloads in output files.
5845 * leim/quail: Move here from ../leim.
5846 * leim/quail/hangul.el (hangul-input-method-activate):
5847 Add autoload cookie.
5848 (generated-autoload-load-name): Set file-local value.
5849 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5850 (generated-autoload-load-name): Set file-local value.
5851
5852 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
5853
5854 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
5855 (eww-add-bookmark): Ask confirmation when add to bookmarks.
5856 (eww-quit): Ask confirmation before quitting eww.
5857
5858 2013-11-26 Eli Zaretskii <eliz@gnu.org>
5859
5860 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5861 reading output from Diff on MS-Windows and MS-DOS.
5862
5863 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5864
5865 * emacs-lisp/helpers.el (string-reverse): New function.
5866
5867 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
5868
5869 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5870 names on MS Windows, like "/[::1]:".
5871
5872 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5873 SWITCHES.
5874
5875 2013-11-26 Glenn Morris <rgm@gnu.org>
5876
5877 * progmodes/python.el (python-indent-guess-indent-offset):
5878 Avoid corner-case error. (Bug#15975)
5879
5880 Preload leim-list.el. (Bug#4789)
5881 * loadup.el: Load leim-list.el when found.
5882 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5883
5884 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
5885
5886 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5887
5888 * emacs-lisp/helpers.el (string-join): New function.
5889
5890 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
5891
5892 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5893 Mark as obsolete and replace it with a symbol property.
5894 (byte-compile-form): Use new 'interactive-only property.
5895 * comint.el, files.el, replace.el, simple.el:
5896 Apply new 'interactive-only properly.
5897
5898 2013-11-25 Martin Rudalics <rudalics@gmx.at>
5899
5900 * window.el (display-buffer-at-bottom): Make sure that
5901 split-window-sensibly creates the new window on bottom
5902 (Bug#15961).
5903
5904 2013-11-23 David Kastrup <dak@gnu.org>
5905
5906 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5907 on the conflict markers when available.
5908 (smerge--get-marker): New function.
5909 (smerge-end-re, smerge-base-re): Add subgroup.
5910
5911 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5912
5913 * frame.el (handle-focus-in, handle-focus-out): Add missing
5914 interactive spec.
5915
5916 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
5917
5918 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5919 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5920
5921 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5922
5923 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5924 (gomoku--last-pos): New var.
5925 (gomoku--intangible-chars): New const.
5926 (gomoku--intangible): New function.
5927 (gomoku-mode): Use it. Derive from special-mode.
5928 (gomoku-move-up): Adjust line count.
5929 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5930 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5931 Simplify accordingly.
5932
5933 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5934 Remove blink-cursor code.
5935 (blink-cursor-timer-function, blink-cursor-suspend):
5936 Don't special-case GUIs.
5937 (blink-cursor-mode): Use focus-in/out-hook.
5938
5939 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
5940
5941 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
5942 work when annotation is invisible (Bug#13886).
5943
5944 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
5945
5946 * json.el (json-alist-p): Only return non-nil if the alist has
5947 simple keys (Bug#13518).
5948
5949 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
5950
5951 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
5952 when control-statement is the first statement in a buffer (Bug#15956).
5953
5954 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
5955
5956 * imenu.el (imenu-generic-skip-comments-and-strings):
5957 New option (Bug#15560).
5958 (imenu--generic-function): Use it.
5959
5960 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
5961
5962 * minibuffer.el (completion--in-region-1): Scroll the correct window.
5963 (Bug#13898)
5964
5965 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
5966
5967 * emacs-lisp/helpers.el: Add some string helpers.
5968 (string-trim-left): Removes leading whitespace.
5969 (string-trim-right): Removes trailing whitespace.
5970 (string-trim): Removes leading and trailing whitespace.
5971
5972 * subr.el (string-suffix-p): New function.
5973
5974 2013-11-23 Glenn Morris <rgm@gnu.org>
5975
5976 * progmodes/python.el (python-shell-send-file):
5977 Add option to delete file when done. (Bug#15647)
5978 (python-shell-send-string, python-shell-send-region): Use it.
5979
5980 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
5981
5982 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
5983 to set buffer-read-only to t, never to nil. (Bug#15938)
5984
5985 * textmodes/tex-mode.el (latex-noindent-environments):
5986 Add safe-local-variable property. (Bug#15936)
5987
5988 2013-11-23 Glenn Morris <rgm@gnu.org>
5989
5990 * textmodes/enriched.el (enriched-mode): Doc fix.
5991 * emacs-lisp/authors.el (authors-renamed-files-alist):
5992 Add enriched.doc -> enriched.txt.
5993
5994 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
5995
5996 2013-11-22 Leo Liu <sdl.web@gmail.com>
5997
5998 * progmodes/octave.el (inferior-octave-startup): Spit out error
5999 message.
6000
6001 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6002
6003 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6004 Improve docstring.
6005 Add :version.
6006 (ruby-encoding-magic-comment-style): Add :version.
6007
6008 2013-11-22 Leo Liu <sdl.web@gmail.com>
6009
6010 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6011 (Bug#15076)
6012 (octave-help-mode): Adapt to change to help-mode-finish to use
6013 derived-mode-p on 2013-09-17.
6014 (inferior-octave-prompt): Also match octave-gui.
6015 (octave-kill-process): Don't ask twice. (Bug#10564)
6016
6017 2013-11-22 Leo Liu <sdl.web@gmail.com>
6018
6019 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6020 (inferior-octave-startup, inferior-octave-check-process)
6021 (inferior-octave-track-window-width-change)
6022 (octave-completion-at-point, octave-eldoc-function): Use it.
6023 (octave-kill-process): Provide confirmation. (Bug#10564)
6024
6025 2013-11-21 Leo Liu <sdl.web@gmail.com>
6026
6027 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6028 Fix obsolete variable comment-use-global-state.
6029
6030 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6031
6032 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6033 Add `octave-source-file'.
6034 (octave-source-file): New function. (Bug#15935)
6035
6036 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6037
6038 * net/eww.el (eww-local-regex): New variable.
6039 (eww): Use it to detect localhost and similar.
6040
6041 2013-11-21 Leo Liu <sdl.web@gmail.com>
6042
6043 Add completion for command `ag'.
6044 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6045 (pcomplete/ag): New function.
6046 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6047
6048 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6049
6050 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6051 (bug#14646).
6052 (make-obsolete): Remove interactive spec.
6053
6054 2013-11-21 Glenn Morris <rgm@gnu.org>
6055
6056 * startup.el (command-line-1): Use path-separator with -L.
6057
6058 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6059
6060 * emacs-lisp/package.el (describe-package-1): Add package archive
6061 to shown fields.
6062
6063 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6064
6065 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6066 Change default to "# encoding: %s" to differentiate it from the
6067 default Ruby encoding comment template.
6068
6069 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6070
6071 * ses.el (ses-mode): Doc fix. (Bug#14748)
6072
6073 2013-11-20 Leo Liu <sdl.web@gmail.com>
6074
6075 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6076
6077 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6078
6079 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6080 when rebase or bisect are in progress.
6081
6082 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6083
6084 * filenotify.el (file-notify-add-watch): Doc fix.
6085
6086 2013-11-19 Leo Liu <sdl.web@gmail.com>
6087
6088 * obsolete/rcompile.el: Mark obsolete.
6089
6090 * progmodes/compile.el (compilation-start)
6091 (compilation-goto-locus, compilation-find-file):
6092 Pass no-display-ok and handle nil value from display-buffer.
6093 (Bug#13594)
6094
6095 * window.el (display-buffer-alist, display-buffer): Document the
6096 new parameter no-display-ok. Return either a window or nil
6097 but never a non-window value.
6098
6099 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6100
6101 * electric.el (electric-indent-mode-map): Remove.
6102 (electric-indent-mode): Change the global-map instead (bug#15915).
6103
6104 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6105 Use add-function.
6106
6107 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6108
6109 * emacs-lisp/nadvice.el (remove-function): Align with
6110 add-function's behavior.
6111
6112 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6113 (gdb--string-regexp): New constant.
6114 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6115 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6116 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6117 submatch 1.
6118 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6119 Adjust use accordingly.
6120 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6121
6122 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6123
6124 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6125 interpolation curlies (Bug#15914).
6126
6127 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6128
6129 * calc/calc.el (calc-context-sensitive-enter): New variable.
6130 (calc-enter): Use `calc-context-sensitive-enter'.
6131
6132 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6133
6134 * progmodes/cfengine.el: Version bump.
6135 (cfengine-cf-promises): New defcustom to locate cf-promises.
6136 (cfengine3-vartypes): Add new "data" type.
6137 (cfengine3--current-word): New function to get current name-like
6138 word or its bounds.
6139 (cfengine3--current-function): New function to look up a CFEngine
6140 function's definition.
6141 (cfengine3-format-function-docstring): New function.
6142 (cfengine3-make-syntax-cache): New function.
6143 (cfengine3-documentation-function): New function: ElDoc glue.
6144 (cfengine3-completion-function): New function: completion glue.
6145 (cfengine3-mode): Set `compile-command',
6146 `eldoc-documentation-function', and add to
6147 `completion-at-point-functions'.
6148
6149 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6150
6151 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6152 `tramp-current-connection'.
6153
6154 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6155
6156 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6157 nil/self/true/false with "end of symbol".
6158
6159 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6160
6161 * subr.el (version-regexp-alist): Fix a typo.
6162
6163 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6164
6165 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6166 "en_US.utf8" and "LC_CTYPE" to "".
6167 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6168 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6169
6170 2013-11-15 Leo Liu <sdl.web@gmail.com>
6171
6172 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6173
6174 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6175
6176 * progmodes/gud.el (ctl-x-map):
6177 Remove C-x SPC binding. (Bug#12342)
6178 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6179
6180 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6181
6182 * subr.el (version-regexp-alist):
6183 Recognize hg, svn and darcs versions as snapshot versions.
6184
6185 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6186 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6187 (ruby--encoding-comment-required-p): Extract from
6188 `ruby-mode-set-encoding'.
6189 (ruby-mode-set-encoding): Add the ability to always insert an
6190 utf-8 encoding comment. Fix and simplify coding comment update
6191 logic.
6192
6193 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6194
6195 * net/tramp-gvfs.el (top): Run init code only when
6196 `tramp-gvfs-enabled' is not nil.
6197 (tramp-gvfs-enabled): Check also :system bus.
6198
6199 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6200
6201 Sync with upstream verilog-mode revision 78e66ba.
6202 * progmodes/verilog-mode.el (verilog-end-of-defun)
6203 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6204 (verilog-get-end-of-defun): Remove unused argument.
6205 (verilog-comment-depth): Remove unused local `e'.
6206 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6207 Don't pass arg to verilog-get-end-of-defun.
6208
6209 2013-11-14 Glenn Morris <rgm@gnu.org>
6210
6211 * obsolete/assoc.el (aget): Prefix dynamic variable.
6212
6213 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6214
6215 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6216
6217 * widget.el, hfy-cmap.el: Remove bogus package version number.
6218
6219 2013-11-13 Glenn Morris <rgm@gnu.org>
6220
6221 * replace.el (replace-eval-replacement):
6222 Try to give more helpful error message. (Bug#15836)
6223
6224 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6225 (archive-7z-update): Avoid custom type mismatches.
6226
6227 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6228
6229 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6230
6231 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6232 address can be empty.
6233
6234 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6235 Accept nil SWITCHES.
6236 (tramp-gvfs-handle-write-region): Implement APPEND.
6237
6238 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6239
6240 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6241 binary "|" operator and closing block args delimiter.
6242 Remove FIXME comment referring to Ruby 1.8-only syntax.
6243 (ruby-smie--implicit-semi-p): Not after "|" operator.
6244 (ruby-smie--closing-pipe-p): New function.
6245 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6246 (ruby-smie-rules): Indent after "|".
6247
6248 2013-11-12 Glenn Morris <rgm@gnu.org>
6249
6250 * ps-print.el (ps-face-attribute-list):
6251 Handle anonymous faces. (Bug#15827)
6252
6253 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6254
6255 * window.el (display-buffer-other-frame): Fix doc-string.
6256 (Bug#15868)
6257
6258 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6259
6260 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6261
6262 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6263
6264 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6265 (tramp-sh-handle-file-local-copy): Don't write a message when
6266 saving temporary files.
6267
6268 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6269 both directories are remote.
6270 (tramp-smb-handle-directory-files): Do not return double entries.
6271 Do not expand full file names.
6272 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6273 (tramp-smb-handle-write-region): Implement APPEND.
6274 (tramp-smb-get-stat-capability): Fix a stupid bug.
6275
6276 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6277
6278 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6279
6280 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6281
6282 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6283 throwing error over malformed let/let* (bug#15814).
6284
6285 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6286
6287 * iswitchb.el (iswitchb-mode): Mark obsolete.
6288
6289 2013-11-11 Glenn Morris <rgm@gnu.org>
6290
6291 * international/uni-bidi.el, international/uni-category.el:
6292 * international/uni-name.el, international/uni-numeric.el:
6293 Regenerate for Unicode 6.3.0.
6294
6295 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6296
6297 * net/tramp.el (tramp-methods):
6298 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6299 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6300
6301 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6302
6303 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6304 Force highlighting text after Summary keyword in doc face for rpm.
6305
6306 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6307
6308 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6309 available and the word has no wildcards, append one to the grep pattern.
6310 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6311 (ispell-complete-word): Call `ispell-lookup-words' with the value
6312 independent of `ispell-look-p'.
6313
6314 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6315
6316 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6317 Not after "||".
6318 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6319 their parent.
6320
6321 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6322
6323 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6324 (ruby-font-lock-keywords): Use backquote.
6325
6326 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6327
6328 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6329 (ruby-smie--backward-token): Only consider full-string matches.
6330
6331 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6332
6333 * faces.el (describe-face): Add distant-foreground.
6334
6335 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6336
6337 * progmodes/ruby-mode.el: Improve encoding comment handling.
6338 (ruby-encoding-magic-comment-style): New option.
6339 (ruby-custom-encoding-magic-comment-template): New option.
6340 (ruby--insert-coding-comment, ruby--detect-encoding):
6341 New functions extracted from `ruby-mode-set-encoding'.
6342 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6343 to control the style of the auto-inserted encoding comment.
6344
6345 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6346
6347 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6348 Use `smie-backward-sexp' with token argument.
6349
6350 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6351
6352 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6353 Remove instrumentation code.
6354
6355 2013-11-08 Glenn Morris <rgm@gnu.org>
6356
6357 * progmodes/autoconf.el (autoconf-mode):
6358 Tweak comment-start-skip. (Bug#15822)
6359
6360 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6361
6362 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6363 at bobp (bug#15826).
6364 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6365
6366 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6367
6368 * man.el (Man-start-calling): New macro, extracted from
6369 Man-getpage-in-background.
6370 (Man-getpage-in-background): Use it.
6371 (Man-update-manpage): New command.
6372 (Man-mode-map): Bind it.
6373
6374 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6375
6376 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6377 of "and", "or", "&&" and "||".
6378 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6379 argument. Prohibit opening curly brace because it could only be a
6380 block opener in that position.
6381 (ruby-smie--forward-token, ruby-smie--backward-token):
6382 Separate "|" from "&" or "*" going after it. That can happen in block
6383 arguments.
6384 (ruby-smie--indent-to-stmt): New function, seeks the end of
6385 previous statement or beginning of buffer.
6386 (ruby-smie-rules): Use it.
6387 (ruby-smie-rules): Check if there's a ":" before a curly block
6388 opener candidate; if there is, it's a hash.
6389
6390 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6391
6392 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6393 (cl--block-wrapper): Fix last accidental change.
6394
6395 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6396
6397 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6398 Instrument, in order to hunt failure on hydra.
6399
6400 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6401
6402 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6403 malformed bindings form (bug#15814).
6404
6405 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6406
6407 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6408 "." compared to " @ ". This incidentally fixes some indentation
6409 examples with "do".
6410 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6411 (ruby-smie-grammar): New tokens: "and" and "or".
6412 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6413 Exclude "and" and "or". Remove "do" in order to work around token
6414 priorities.
6415 (ruby-smie-rules): Add all infix tokens. Handle the case of
6416 beginning-of-buffer.
6417
6418 2013-11-06 Glenn Morris <rgm@gnu.org>
6419
6420 * Makefile.in (setwins_almost, setwins_for_subdirs):
6421 Avoid accidental matches.
6422
6423 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6424
6425 * menu-bar.el (popup-menu): Use key-binding.
6426
6427 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6428
6429 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6430 menus, support also the menus produced by minor modes.
6431 (Bug#15817)
6432
6433 2013-11-06 Leo Liu <sdl.web@gmail.com>
6434
6435 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6436 DISTANCE to bound the search. All uses changed. (Bug#15808)
6437
6438 2013-11-06 Glenn Morris <rgm@gnu.org>
6439
6440 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6441 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6442 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6443
6444 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6445
6446 * electric.el (electric-indent-just-newline): New command.
6447 (electric-indent-mode-map): New keymap.
6448 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6449 Re-add :group which weren't redundant.
6450
6451 * electric.el (electric-indent-local-mode): New minor mode.
6452 (electric-indent-functions-without-reindent): New var.
6453 (electric-indent-post-self-insert-function): Use it.
6454 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6455
6456 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6457
6458 * international/quail.el (quail-help): Be more explicit about the
6459 meaning of the labels shown on the keys. (Bug#15800)
6460
6461 * startup.el (normal-top-level): Load the subdirs.el files before
6462 setting the locale environment. (Bug#15805)
6463
6464 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6465
6466 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6467 via arguments so as to get the right ones (bug#15418).
6468
6469 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6470
6471 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6472
6473 Fix problems found while writing a test suite.
6474
6475 * net/tramp-compat.el (tramp-compat-load): New defun.
6476 * net/tramp.el (tramp-handle-load): Use it.
6477
6478 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6479 "(numberp ok-if-already-exists)" correctly.
6480
6481 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6482
6483 * international/characters.el (glyphless-char-display-control):
6484 Add usage note.
6485
6486 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6487
6488 * progmodes/python.el (python-mode):
6489 * progmodes/scheme.el (scheme-mode):
6490 * progmodes/prolog.el (prolog-mode):
6491 * progmodes/ruby-mode.el (ruby-mode):
6492 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6493 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6494
6495 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6496
6497 * rect.el (rectangle--highlight-for-redisplay):
6498 * emacs-lisp/smie.el (smie--next-indent-change):
6499 Use buffer-chars-modified-tick.
6500
6501 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6502
6503 * electric.el (electric-indent-post-self-insert-function):
6504 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6505
6506 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6507
6508 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6509
6510 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6511
6512 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6513 (bug#15786).
6514
6515 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6516
6517 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6518
6519 * progmodes/python.el: Fix up last change.
6520 (python-shell--save-temp-file): New function.
6521 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6522 `string' comes from the current buffer.
6523 (python-shell-send-string-no-output): Remove `msg' arg.
6524 (python--use-fake-loc): New var.
6525 (python-shell-buffer-substring): Obey it. Try to compensate for the
6526 extra coding line added by python-shell--save-temp-file.
6527 (python-shell-send-region): Use python-shell--save-temp-file and
6528 python-shell-send-file directly. Add `nomain' argument.
6529 (python-shell-send-buffer): Use python-shell-send-region.
6530 (python-electric-pair-string-delimiter): New function.
6531 (python-mode): Use it.
6532
6533 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6534
6535 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6536 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6537 environment and decoding all of the default-directory's to here
6538 from command-line.
6539 (command-line): Decode also argv[0].
6540
6541 * loadup.el: Error out if default-directory is a multibyte string
6542 when we are dumping.
6543
6544 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6545
6546 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6547
6548 * emacs-lisp/package.el (package-menu-mode)
6549 (package-menu--print-info, package-menu--archive-predicate):
6550 Add Archive column to package list.
6551
6552 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6553
6554 Fix problems found while writing a test suite.
6555
6556 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6557 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6558 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6559 to nil when running original file name handler. Otherwise,
6560 there are problems with constructs like "$$FOO".
6561
6562 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6563 for `localname'.
6564
6565 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6566
6567 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6568
6569 * subr.el (version<, version<=, version=):
6570 Update docstrings with information for snapshot versions.
6571
6572 * helpers.el: New library for misc helper functions.
6573 (hash-table-keys): New function returning a list of hash keys.
6574 (hash-table-values): New function returning a list of hash values.
6575
6576 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6577
6578 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6579 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6580
6581 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6582
6583 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6584 checking whether point is after a 1-letter word.
6585
6586 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6587
6588 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6589 Don't infloop when expanding region over `multiline' syntax-type that
6590 begins a line (bug#15778).
6591
6592 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6593
6594 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6595 Make it into a proper minor mode.
6596 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
6597 (rectangle-mark-mode-map): New keymap.
6598 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6599
6600 2013-11-04 Glenn Morris <rgm@gnu.org>
6601
6602 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6603
6604 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6605
6606 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6607 (ruby-smie-rules): Use smie-rule-parent instead.
6608
6609 * emacs-lisp/smie.el (smie-rule-parent): Always call
6610 smie-indent-virtual rather than only for hanging tokens.
6611 (smie--next-indent-change): New helper command.
6612
6613 2013-11-03 Glenn Morris <rgm@gnu.org>
6614
6615 * Makefile.in (abs_srcdir): Remove.
6616 (emacs): Unset EMACSLOADPATH.
6617
6618 2013-11-02 Glenn Morris <rgm@gnu.org>
6619
6620 * Makefile.in (EMACS): Use a relative filename.
6621 (abs_top_builddir): Remove.
6622 (custom-deps, finder-data, autoloads): Use --chdir.
6623
6624 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6625
6626 Use relative filenames in TAGS files.
6627 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6628 (lisptagsfiles4, TAGS): Use relative file names.
6629 (TAGS-LISP): Remove.
6630 (maintainer-clean): No more TAGS-LISP file.
6631
6632 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6633 (lisptagsfiles4): Use absolute filenames again.
6634 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6635 Remove all *loaddefs files, not just the first. Remove esh-groups.
6636 (maintainer-clean): Delete TAGS, TAGS-LISP.
6637
6638 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6639
6640 * emacs-lisp/package.el (package-version-join):
6641 Recognize snapshot versions.
6642
6643 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6644
6645 * subr.el (version-regexp-alist): Add support for snapshot versions.
6646
6647 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6648
6649 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6650 New function, replacement for `smie-rule-parent' for when we want to
6651 skip over our direct parent if it's an assignment token..
6652 (ruby-smie-rules): Use it.
6653
6654 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6655
6656 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6657 unconditionally. Remove now unnecessary forward declarations.
6658 Remove XEmacs-specific setup.
6659 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6660 (ruby-font-lock-syntactic-keywords)
6661 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6662 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6663 (ruby-here-doc-end-syntax): Remove.
6664 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6665 defined as function.
6666
6667 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6668
6669 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6670
6671 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6672
6673 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6674 table and abbrev table, `define-derived-mode' does that for us
6675 anyway.
6676
6677 2013-11-01 Glenn Morris <rgm@gnu.org>
6678
6679 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6680 files is atomic for some time, so no parallel compilation issues).
6681
6682 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6683
6684 * faces.el (face-x-resources): Add :distant-foreground.
6685 (region): Use :distant-foreground for gtk and ns.
6686
6687 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6688
6689 Allow multiple bibliographies when BibLaTeX is used rather than
6690 BibTeX.
6691 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6692 (reftex-locate-bibliography-files): Us it.
6693
6694 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6695
6696 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6697 allow comments in pbm files.
6698
6699 * term/w32-win.el (dynamic-library-alist): Support newer versions
6700 of libjpeg starting with v7: look only for the DLL from the
6701 version against which Emacs was built.
6702 Support versions of libpng beyond 1.4.x.
6703 Support libtiff v4.x.
6704
6705 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6706
6707 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6708 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6709 Add property :safe.
6710 (ruby-deep-arglist): Add property :type.
6711
6712 2013-10-31 Glenn Morris <rgm@gnu.org>
6713
6714 * Makefile.in (custom-deps, finder-data): No need to setq the target
6715 variables, we are in the right directory and the defaults work fine.
6716
6717 2013-10-30 Glenn Morris <rgm@gnu.org>
6718
6719 * Makefile.in (autoloads): Do not use abs_lisp.
6720
6721 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6722 `newline' does not respect `standard-output', so use `princ'.
6723
6724 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6725
6726 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6727 * buff-menu.el (Buffer-menu--unmark): New function.
6728 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6729
6730 2013-10-30 Glenn Morris <rgm@gnu.org>
6731
6732 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6733
6734 * emacs-lisp/package.el (lm-homepage): Declare.
6735
6736 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6737 Fix doc typos.
6738
6739 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6740
6741 * Makefile.in (finder-data, autoloads, update-subdirs)
6742 (compile-main, compile-clean, compile-always, bootstrap-clean):
6743 Check return value of cd.
6744 (compile-calc): Remove.
6745
6746 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6747
6748 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6749
6750 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6751 (byte-compile-and-folded): New function.
6752 (=, <, >, <=, >=): Use it.
6753
6754 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6755 (path-separator, null-device, buffer-file-coding-system)
6756 (lpr-headers-switches): Check system-type before modifying them.
6757 (find-buffer-file-type-coding-system): Mark obsolete.
6758 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6759 find-file-not-found-set-buffer-file-coding-system.
6760 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6761 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6762 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6763 (w32-direct-print-region-helper, w32-direct-print-region-function)
6764 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6765 * startup.el (normal-top-level-add-subdirs-to-load-path):
6766 * ps-print.el (ps-print-region-function):
6767 * lpr.el (print-region-function): Use new name.
6768
6769 * subr.el (custom-declare-variable-early): Remove function.
6770 (custom-declare-variable-list): Remove var.
6771 (error, user-error): Remove `while' loop.
6772 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6773 (user-emacs-directory-warning, locate-user-emacs-file):
6774 Move to files.el.
6775 * simple.el (read-quoted-char-radix, read-quoted-char):
6776 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6777 Move from subr.el.
6778 * custom.el (custom-declare-variable-list): Don't process
6779 custom-declare-variable-list.
6780
6781 * progmodes/python.el (python-shell-get-buffer): New function.
6782 (python-shell-get-process): Use it.
6783 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6784 Python which encoding was used. Don't split-string since we only care
6785 about the first line. Return the temp-file, if applicable.
6786 (python-shell-send-region): Tell compile.el how to turn locations in
6787 the temp-file into locations in the source buffer.
6788
6789 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6790
6791 * subr.el (undefined): Add missing behavior from the C code for
6792 unbound keys.
6793
6794 * rect.el: Use lexical-binding. Add new rectangular region support.
6795 (rectangle-mark): New command.
6796 (rectangle--region): New var.
6797 (deactivate-mark-hook): Reset rectangle--region.
6798 (rectangle--extract-region, rectangle--insert-for-yank)
6799 (rectangle--highlight-for-redisplay)
6800 (rectangle--unhighlight-for-redisplay): New functions.
6801 (region-extract-function, redisplay-unhighlight-region-function)
6802 (redisplay-highlight-region-function): Use them to handle
6803 rectangular region.
6804 * simple.el (region-extract-function): New var.
6805 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6806 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6807 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6808 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6809 (redisplay-unhighlight-region-function)
6810 (redisplay-highlight-region-function): New vars.
6811 (redisplay--update-region-highlight): New function.
6812 (pre-redisplay-function): Use it.
6813 (exchange-point-and-mark): Don't deactivate the mark before
6814 reactivate-it anyway.
6815 * comint.el (comint-kill-region): Remove yank-handler argument.
6816 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6817 (delete-char): Remove property, since it's now part of their
6818 default behavior.
6819 (self-insert-iso): Remove property since this command doesn't exist.
6820
6821 * emacs-lisp/package.el (package--download-one-archive)
6822 (describe-package-1): Don't query the user about final newline.
6823
6824 2013-10-29 Daniel Colascione <dancol@dancol.org>
6825
6826 * net/tramp.el (tramp-methods): Document new functionality.
6827 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6828 tramp-hostname-checker if method provides one instead of scanning
6829 argument list for "%h" to decide hostname acceptability.
6830
6831 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
6832
6833 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6834 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6835 Handle COPY-CONTENTS. (Bug#15737)
6836
6837 2013-10-28 Daiki Ueno <ueno@gnu.org>
6838
6839 * epa-file.el
6840 (epa-file-cache-passphrase-for-symmetric-encryption):
6841 Document that this option has no effect with GnuPG 2.0 (bug#15552).
6842
6843 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6844
6845 * image.el (defimage, image-load-path): Doc fixes.
6846
6847 2013-10-27 Alan Mackenzie <acm@muc.de>
6848
6849 Indent statements in macros following "##" correctly.
6850 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6851 Modify the "#" arm of a cond form to handle "#" and "##" operators.
6852
6853 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6854
6855 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6856
6857 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6858
6859 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6860 after `=' is probably a new expression.
6861
6862 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6863
6864 * man.el (man-imenu-title): New option.
6865 (Man-mode-map): Add menu. (Bug#15722)
6866 (Man-mode): Add imenu to menu.
6867
6868 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6869
6870 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6871 specific in what the first arg can be: a non-keyword word,
6872 string/regexp/percent literal opener, opening paren, or unary
6873 operator followed directly by word.
6874
6875 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6876
6877 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6878 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6879 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6880 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6881 Remove vars, they do not apply any more.
6882 (prolog-mode-abbrev-table): Remove redundant declaration.
6883 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6884 (prolog-use-smie): Remove.
6885 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6886 supported by prolog-electric-if-then-else-flag.
6887 (prolog-mode-variables, prolog-menu): Use setq-local.
6888 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6889 Remove binding to `Backspace' since this key doesn't exist anyway.
6890 Remove bindings for electric self-inserting keys.
6891 (prog-mode): Assume it's defined.
6892 (prolog-post-self-insert): New function.
6893 (prolog-mode): Use it.
6894 (prolog-indent-line, prolog-indent-level)
6895 (prolog-find-indent-of-matching-paren)
6896 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6897 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6898 (prolog-goto-next-paren, prolog-in-string-or-comment)
6899 (prolog-tokenize, prolog-inside-mline-comment)
6900 (prolog-find-start-of-mline-comment): Remove functions.
6901 (prolog-find-unmatched-paren, prolog-clause-end)
6902 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6903 (prolog-electric--if-then-else): Rename from
6904 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6905 (prolog-tokenize-searchkey): Remove const.
6906 (prolog-clause-info): Use forward-sexp.
6907 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6908 (prolog-electric-if-then-else): Remove commands.
6909 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6910 for use in post-self-insert-hook.
6911 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6912 for use in post-self-insert-hook.
6913 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6914 for use in post-self-insert-hook.
6915 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6916 adapt it for use in post-self-insert-hook.
6917
6918 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
6919
6920 * emacs-lisp/ert.el (ert-run-tests-interactively):
6921 Use `completing-read'. (Bug#9756)
6922
6923 2013-10-25 Eli Zaretskii <eliz@gnu.org>
6924
6925 * simple.el (line-move): Call line-move-1 instead of
6926 line-move-visual when the current window hscroll is zero, but
6927 temporary-goal-column indicates we will need to hscroll as result
6928 of the movement. (Bug#15712)
6929
6930 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6931
6932 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
6933 capitalization. Use :visible instead of :active.
6934 Fix `ruby-indent-exp' reference. Add menu items for the generic
6935 commands that are used with SMIE.
6936 (ruby-do-end-to-brace): Insert space after `{'.
6937
6938 2013-10-25 John Anthony <john@jo.hnanthony.com>
6939
6940 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
6941
6942 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
6943
6944 2013-10-25 Glenn Morris <rgm@gnu.org>
6945
6946 * vc/vc.el (vc-print-log): Don't use a working revision unless
6947 one was explicitly specified. (Bug#15322)
6948
6949 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6950
6951 * subr.el (add-to-list): Preserve return value in compiler-macro
6952 (bug#15692).
6953
6954 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6955
6956 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
6957 result. Ask user to retry using '-all' flag. (Bug#15701)
6958
6959 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
6960
6961 * emacs-lisp/smie.el: New smie-config system.
6962 (smie-config): New defcustom.
6963 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
6964 (smie-config-guess, smie-config-save): New commands.
6965 (smie-config--mode-local, smie-config--buffer-local)
6966 (smie-config--trace, smie-config--modefuns): New vars.
6967 (smie-config--advice, smie-config--mode-hook)
6968 (smie-config--setter, smie-config-local, smie-config--get-trace)
6969 (smie-config--guess-value, smie-config--guess): New functions.
6970 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
6971 text properties. Treat "string fence" syntax like string syntax.
6972
6973 * progmodes/sh-script.el (sh-use-smie): Change default.
6974 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
6975 (sh-var-value): Simplify by CSE.
6976 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
6977 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
6978 is used.
6979 (sh-guess-basic-offset): Use cl-incf.
6980 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
6981
6982 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
6983
6984 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
6985 (bug#15699).
6986
6987 2013-10-24 Glenn Morris <rgm@gnu.org>
6988
6989 * Makefile.in (abs_top_srcdir): Remove.
6990 (update-subdirs): Use relative path to update-subdirs.
6991
6992 2013-10-24 Eli Zaretskii <eliz@gnu.org>
6993
6994 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
6995 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
6996 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
6997 Call unmsys--file-name before expand-file-name, not after it.
6998
6999 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7000
7001 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7002 (ert-test-skipped): New error.
7003 (ert-skip, ert-stats-skipped): New defuns.
7004 (ert--skip-unless): New macro.
7005 (ert-test-skipped): New struct.
7006 (ert--run-test-debugger, ert-test-result-type-p)
7007 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7008 (ert--stats-set-test-and-result, ert-char-for-test-result)
7009 (ert-string-for-test-result, ert-run-tests-batch)
7010 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7011 Handle skipped tests. (Bug#9803)
7012
7013 2013-10-24 Glenn Morris <rgm@gnu.org>
7014
7015 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7016
7017 * Makefile.in (abs_top_srcdir): New, set by configure.
7018 (update-subdirs): Correct build-aux location.
7019
7020 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7021
7022 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7023 value, whether we could auto-deduce `backend', or not.
7024
7025 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7026 with parameters" example. Simplify the "is it block or is it
7027 hash" check, but also make it more thorough.
7028
7029 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7030
7031 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7032
7033 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7034
7035 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7036 { if it is hanging.
7037
7038 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7039 :before ";".
7040
7041 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7042
7043 * progmodes/compile.el (compilation-directory-matcher)
7044 (compilation-page-delimiter):
7045 Support GNU Make-4.0 directory quoting. (Bug#15678)
7046
7047 2013-10-23 Leo Liu <sdl.web@gmail.com>
7048
7049 * ido.el (ido-tidy): Handle read-only text.
7050
7051 2013-10-23 Glenn Morris <rgm@gnu.org>
7052
7053 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7054 (emacs, compile, compile-always):
7055 Quote entities that might contain whitespace.
7056 (custom-deps, finder-data, autoloads): Use abs_lisp.
7057 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7058 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7059 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7060
7061 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7062
7063 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7064 Use `following-char'.
7065
7066 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7067
7068 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7069 * progmodes/ruby-mode.el (ruby-smie-rules):
7070 Remove corresponding workaround. Fix indentation rule of ";" so it
7071 also applies when ";" is the parent.
7072
7073 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7074
7075 * frame.el (display-screens, display-pixel-height)
7076 (display-pixel-width, display-mm-width, display-backing-store)
7077 (display-save-under, display-planes, display-color-cells)
7078 (display-visual-class, display-monitor-attributes-list):
7079 Mention the optional ‘display’ argument in doc strings.
7080
7081 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7082
7083 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7084 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7085
7086 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7087
7088 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7089 TODO. Add "." after " @ ".
7090 (ruby-smie--at-dot-call): New function. Checks if point at method
7091 call with explicit target.
7092 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7093 to the method name tokens when it precedes them.
7094 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7095 (ruby-smie-rules): Add rule for indentation before and after "."
7096 token.
7097
7098 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7099
7100 * textmodes/remember.el (remember-diary-extract-entries):
7101 Avoid add-to-list.
7102
7103 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7104 an instruction.
7105
7106 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7107
7108 * progmodes/ruby-mode.el (ruby-smie-grammar):
7109 Add (almost) all infix operators.
7110 (ruby-smie--implicit-semi-p): Add new operator chars.
7111
7112 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7113 `smie-down-list'.
7114 (ruby-smie--args-separator-p): Check that there's no newline
7115 between method call and its arguments.
7116
7117 2013-10-20 Alan Mackenzie <acm@muc.de>
7118
7119 Allow comma separated lists after Java "implements".
7120
7121 * progmodes/cc-engine.el (c-backward-over-enum-header):
7122 Parse commas.
7123 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7124 from a "disallowed" list in enum fontification.
7125
7126 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7127
7128 * startup.el (default-frame-background-mode): Remove unused defvar.
7129
7130 * progmodes/verilog-mode.el (verilog-mode): Don't set
7131 comment-indent-function globally.
7132
7133 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7134
7135 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7136 Move Info menu item creation to ns-win.el.
7137
7138 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7139 in menu bar.
7140
7141 * menu-bar.el: Move GNUstep specific menus...
7142
7143 * term/ns-win.el (ns-initialize-window-system): ... to here.
7144
7145 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7146
7147 * simple.el (newline): Only run post-self-insert-hook when
7148 called interactively.
7149
7150 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7151
7152 * icomplete.el (icomplete-with-completion-tables): Add :version.
7153
7154 2013-10-19 Alan Mackenzie <acm@muc.de>
7155
7156 Fix fontification bugs with constructors and const.
7157
7158 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7159 CASE 2) Remove the check for the absence of a suffix construct
7160 after a function declaration with only types (no identifiers) in
7161 the parentheses. Also, accept a function declaration with just a
7162 type inside the parentheses, if this type can be positively
7163 recognised as such, or if a prefix keyword like "explicit" nails
7164 down the construct as a declaration.
7165
7166 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7167
7168 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7169 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7170 the problem whereby selecting a menu item that leads to a
7171 minibuffer prompt moves the cursor out of the minibuffer window,
7172 making it hard to type at the prompt. Suggested by Stefan Monnier
7173 <monnier@iro.umontreal.ca>.
7174
7175 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7176
7177 * menu-bar.el: Don't make Services menu.
7178
7179 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7180
7181 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7182 (ffap-alist): Use ffap-c++-mode for c++-mode.
7183 (ffap-c++-path): New variable.
7184 (ffap-c++-mode): New function.
7185
7186 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7187
7188 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7189
7190 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7191
7192 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7193 introduced on 2013-09-08, which results in an infinite loop
7194 requesting a password.
7195
7196 2013-10-18 Glenn Morris <rgm@gnu.org>
7197
7198 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7199
7200 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7201
7202 Sync with upstream verilog-mode revision 1a6ecec7.
7203 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7204 (verilog-mode-release-date): Remove.
7205 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7206 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7207 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7208 (verilog-auto-tieoff-ignore-regexp)
7209 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7210 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7211 (verilog-signals-with, verilog-dir-cache-preserving)
7212 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7213 Doc fixes.
7214 (verilog-case-fold): New option, to control case folding in
7215 regexp searches, bug597.
7216 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7217 (verilog-string-match-fold, verilog-in-paren-count)
7218 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7219 (verilog-at-close-struct-p): New functions.
7220 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7221 (verilog-forward-sexp, verilog-set-auto-endcomments)
7222 (verilog-leap-to-case-head): Handle "unique0" case.
7223 (verilog-in-constraint-re): New constant.
7224 (verilog-keywords, verilog-type-font-keywords):
7225 Add some SystemVerilog 1800-2012 keywords.
7226 (verilog-label-be): Remove unimplemented argument, bug669.
7227 (verilog-batch-execute-func): When batch expanding clear
7228 create-lockfiles to prevent spurious user locks when a file ends
7229 up not changing.
7230 (verilog-calculate-indent, verilog-calc-1)
7231 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7232 (verilog-do-indent): Fix indentation of nested constraints
7233 and structures.
7234 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7235 (verilog-auto-inst-param): Use verilog-string-match-fold.
7236 (verilog-read-inst-module-matcher):
7237 Fix AUTOINST on gate primitives with #1.
7238 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7239 Reads all user-defined typed variables.
7240 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7241 (verilog-signals-matching-regexp)
7242 (verilog-signals-not-matching-regexp, verilog-auto):
7243 Respect verilog-case-fold.
7244 (verilog-diff-report): Fix line count.
7245 (verilog-auto-assign-modport): Remove unused local `modi'.
7246 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7247 better handle multidimensional arrays.
7248 Fix packed array ports misadding bit index in AUTOINST, bug637.
7249 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7250 to not double-declare existing outputs and inputs, respectively.
7251 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7252 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7253 (verilog-sk-uvm-component): New skeleton.
7254 (verilog-submit-bug-report): Add verilog-case-fold,
7255 remove verilog-mode-release-date.
7256
7257 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7258
7259 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7260 as before.
7261
7262 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7263
7264 * textmodes/remember.el (remember): Set buffer-offer-save in
7265 remember buffers (bug#13566).
7266
7267 2013-10-18 Daniel Colascione <dancol@dancol.org>
7268
7269 When evaluating forms in ielm, direct standard output to ielm
7270 buffer. Add new ielm-return-for-effect command. Remove trailing
7271 whitespace throughout.
7272
7273 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7274 (ielm-return-for-effect): New command.
7275 (ielm-send-input): Accept optional `for-effect' parameter.
7276 (ielm-eval-input): Accept optional `for-effect' parameter.
7277 Bind `standard-output' to stream we create using
7278 `ielm-standard-output-impl'. Suppress printing result when
7279 `for-effect'.
7280 (ielm-standard-output-impl): New function.
7281 (inferior-emacs-lisp-mode): Explain new features in documentation.
7282
7283 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7284
7285 Code cleanup.
7286
7287 * net/tramp.el (tramp-debug-message): Do not check for connection
7288 buffer.
7289 (tramp-message): Use "vector" connection property.
7290
7291 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7292 (tramp-equal-remote, tramp-eshell-directory-change)
7293 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7294 (tramp-adb-handle-rename-file)
7295 * net/tramp-cmds.el (tramp-list-remote-buffers)
7296 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7297 * net/tramp-compat.el (tramp-compat-process-running-p)
7298 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7299 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7300 (tramp-gvfs-handle-rename-file)
7301 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7302 (tramp-set-file-uid-gid)
7303 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7304 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7305 of `file-remote-p'.
7306
7307 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7308 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7309 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7310 (tramp-gw-open-network-stream): Suppress unrelated traces.
7311
7312 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7313 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7314 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7315 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7316 connection property.
7317
7318 * net/tramp-cache.el (top): Suppress traces when reading
7319 persistency file.
7320
7321 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7322 Refactor common code. Improve debug message.
7323 (tramp-maybe-open-connection)
7324 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7325 connection buffer too early.
7326
7327 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7328 from `tramp-smb-actions-with-acl'.
7329 (tramp-smb-actions-set-acl): New defconst.
7330 (tramp-smb-handle-copy-directory)
7331 (tramp-smb-action-get-acl): New defun, renamed from
7332 `tramp-smb-action-with-acl'.
7333 (tramp-smb-action-set-acl): New defun.
7334 (tramp-smb-handle-set-file-acl): Rewrite.
7335
7336 2013-10-17 Glenn Morris <rgm@gnu.org>
7337
7338 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7339
7340 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7341
7342 * skeleton.el (skeleton-newline): Remove.
7343 (skeleton-internal-1): Use (insert "\n") instead.
7344
7345 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7346 let-bindings.
7347
7348 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7349 forward-sexp-function while we redo its job (bug#15613).
7350
7351 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7352
7353 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7354 represented by lists.
7355
7356 2013-10-16 Glenn Morris <rgm@gnu.org>
7357
7358 * tmm.el (tmm--history): New dynamic variable.
7359 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7360
7361 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7362
7363 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7364 (tramp-smb-errors): Add error messages.
7365 (tramp-smb-actions-with-acl): New defconst.
7366 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7367 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7368 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7369 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7370 (tramp-smb-get-stat-capability): Fix tests.
7371
7372 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7373
7374 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7375 (bug#15580).
7376
7377 2013-10-16 Glenn Morris <rgm@gnu.org>
7378
7379 * ansi-color.el (ansi-color-drop-regexp):
7380 Add 1J, 1K, 2K. (Bug#15617)
7381
7382 * files.el (hack-local-variables--warned-lexical): New.
7383 (hack-local-variables):
7384 Warn about misplaced lexical-binding. (Bug#15616)
7385
7386 * net/eww.el (eww-render): Always set eww-current-url,
7387 and update header line. (Bug#15622)
7388 (eww-display-html): ... Rather than just doing it here.
7389
7390 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7391
7392 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7393 menu navigations commands.
7394
7395 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7396
7397 * progmodes/subword.el (subword-capitalize): Be careful when
7398 the search for [[:alpha:]] fails (bug#15580).
7399
7400 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7401
7402 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7403 to commands that scroll the menu.
7404
7405 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7406
7407 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7408 Handle methods ending with `?' and `!'.
7409
7410 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7411
7412 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7413 `japanese-cp932' to `cp932' to fix the problem where saving a
7414 source file written in Shift_JIS twice would end up having
7415 `coding: japanese-cp932' which Ruby could not recognize.
7416 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7417 in `ruby-encoding-map'.
7418 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7419 doesn't need to be explicitly declared in magic comment.
7420 (ruby-encoding-map): Add type declaration for better customize UI.
7421
7422 2013-10-13 Glenn Morris <rgm@gnu.org>
7423
7424 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7425 Occur buffers are read-only. http://bugs.debian.org/720775
7426
7427 * emacs-lisp/authors.el (authors-fixed-entries):
7428 Comment out old alpha stuff.
7429
7430 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7431
7432 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7433 to `after-save-hook' instead of `before-save-hook'.
7434 (ruby-mode-set-encoding): Use the value of coding system used to
7435 write the file. Call `basic-save-buffer-1' after modifying the
7436 buffer.
7437
7438 2013-10-13 Alan Mackenzie <acm@muc.de>
7439
7440 Fix indentation/fontification of Java enum with
7441 "implements"/generic.
7442
7443 * progmodes/cc-engine.el (c-backward-over-enum-header):
7444 Extracted from the three other places and enhanced to handle generics.
7445 (c-inside-bracelist-p): Uses new function above.
7446 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7447 function above.
7448 (c-font-lock-enum-tail): Uses new function above.
7449
7450 2013-10-13 Kenichi Handa <handa@gnu.org>
7451
7452 * international/mule-cmds.el (select-safe-coding-system): Remove a
7453 superfluous condition in chekcing whether a coding system is safe
7454 or not.
7455
7456 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7457
7458 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7459
7460 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7461
7462 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7463
7464 2013-10-13 Glenn Morris <rgm@gnu.org>
7465
7466 * menu-bar.el (menu-bar-update-buffers):
7467 Unify Buffers menu prompt string. (Bug#15576)
7468
7469 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7470
7471 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7472 Add some entries.
7473 (authors-fixed-entries): Use accented form of name.
7474
7475 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7476
7477 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7478 method calls (bug#15594).
7479 (ruby-smie--args-separator-p): New function.
7480 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7481 recognize paren-free method calls.
7482
7483 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7484 internals of universal-argument.
7485
7486 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7487
7488 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7489 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7490 dropped menu on second mouse click on the menu bar.
7491
7492 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7493
7494 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7495 (explicit-shell-file-name): Declare.
7496 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7497 (sh-completion-at-point-function): New function.
7498 (sh-mode): Use it.
7499 (sh-smie--keyword-p): Remove unused argument.
7500 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7501 vars.
7502 (sh-set-shell): Always setup SMIE, even if we use the
7503 old indentation code.
7504
7505 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7506
7507 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7508 cases of ? and =.
7509 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7510 predicate would return nil are almost non-existent.
7511 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7512
7513 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7514 cache also after commands that modify the buffer but don't move
7515 point.
7516
7517 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7518
7519 * env.el (substitute-env-in-file-name): New function.
7520 (substitute-env-vars): Extend the meaning of the optional arg.
7521
7522 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7523
7524 * term/w32-win.el (dynamic-library-alist): Define separate lists
7525 of GIF DLLs for versions before and after 5.0.0 of giflib.
7526 (Bug#15531)
7527
7528 2013-10-10 João Távora <joaotavora@gmail.com>
7529
7530 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7531 not locked, use last revision and current source as
7532 defaults. (Bug#15569)
7533
7534 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7535
7536 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7537 menu-bar is hidden.
7538
7539 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7540
7541 * window.el (pop-to-buffer-same-window): Fix doc-string.
7542 (Bug#15492)
7543
7544 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7545
7546 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7547
7548 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7549
7550 * calendar/icalendar.el (icalendar-import-file):
7551 Fix interactive spec. (Bug#15482)
7552
7553 2013-10-10 Glenn Morris <rgm@gnu.org>
7554
7555 * desktop.el (desktop-save): Default to saving in .emacs.d,
7556 since PWD is no longer in desktop-path by default. (Bug#15319)
7557
7558 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7559 now that text mode has a menu with the same entry.
7560 (menu-bar-text-mode-auto-fill): Remove now unused func.
7561 * textmodes/text-mode.el (text-mode-map):
7562 Use auto-fill help text from menu-bar.el.
7563
7564 2013-10-10 John Anthony <john@jo.hnanthony.com>
7565
7566 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7567
7568 2013-10-09 Juri Linkov <juri@jurta.org>
7569
7570 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7571 instead of this-command-keys. Add universal-argument-more and
7572 universal-argument-minus to the list of prefix commands. (Bug#15568)
7573
7574 2013-10-09 Glenn Morris <rgm@gnu.org>
7575
7576 * vc/vc-svn.el (vc-svn-create-repo):
7577 Expand paths in file://... url. (Bug#15446)
7578
7579 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7580 Add some entries.
7581 (authors): Remove unused local variables.
7582
7583 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7584
7585 * profiler.el: Create a more coherent calltree from partial backtraces.
7586 (profiler-format): Hide the tail with `invisible' so that C-s can still
7587 find the hidden elements.
7588 (profiler-calltree-depth): Don't recurse so enthusiastically.
7589 (profiler-function-equal): New hash-table-test.
7590 (profiler-calltree-build-unified): New function.
7591 (profiler-calltree-build): Use it.
7592 (profiler-report-make-name-part): Indent the calltree less.
7593 (profiler-report-mode): Add visibility specs for profiler-format.
7594 (profiler-report-expand-entry, profiler-report-toggle-entry):
7595 Expand the whole subtree when provided with a prefix arg.
7596
7597 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7598
7599 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7600 iuwu-mod token.
7601 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7602 hanging iuwu-mod token.
7603 (ruby-smie--forward-token): Do not include a dot after a token in
7604 that token.
7605 (ruby-smie--backward-token): Likewise.
7606
7607 2013-10-08 Juri Linkov <juri@jurta.org>
7608
7609 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7610 to isearch-other-control-char.
7611 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7612 and isearch-post-command-hook to post-command-hook.
7613 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7614 and isearch-post-command-hook from post-command-hook.
7615 (isearch-unread-key-sequence)
7616 (isearch-reread-key-sequence-naturally)
7617 (isearch-lookup-scroll-key, isearch-other-control-char)
7618 (isearch-other-meta-char): Remove functions.
7619 (isearch-pre-command-hook, isearch-post-command-hook):
7620 New functions based on isearch-other-meta-char rewritten
7621 relying on the new behavior of overriding-terminal-local-map
7622 that does not replace the local keymaps any more. (Bug#15200)
7623
7624 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7625
7626 Support menus on text-mode terminals.
7627 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7628 functionality.
7629
7630 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7631
7632 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7633 Move here from mouse.el.
7634 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7635 and arrow keys.
7636 (tty-menu-navigation-map): New map for TTY menu navigation.
7637
7638 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7639
7640 * frame.el (display-mouse-p): Report text-mode mouse as available
7641 on w32.
7642 (display-popup-menus-p): Report availability if mouse is
7643 available; don't condition on window-system.
7644
7645 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7646 (tty-menu-selected-face): New faces.
7647
7648 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7649
7650 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7651 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7652 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7653 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7654 New constants.
7655 (lisp-mode-variables): New `elisp' argument.
7656 (emacs-lisp-mode): Use it.
7657 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7658 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7659
7660 * indent.el: Use lexical-binding.
7661 (indent-region): Add progress reporter.
7662 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7663 last step.
7664 (indent--next-tab-stop): New function to implement this behavior.
7665 (tab-to-tab-stop, move-to-tab-stop): Use it.
7666
7667 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7668
7669 * indent.el (indent-rigidly--current-indentation): New function.
7670 (indent-rigidly-map): New var.
7671 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7672
7673 2013-10-08 Bastien Guerry <bzg@gnu.org>
7674
7675 * register.el (insert-register): Fix 2013-10-07 change.
7676
7677 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7678
7679 * progmodes/perl-mode.el: Use lexical-binding.
7680 Remove redundant :group args.
7681 (perl-nochange): Change default to be closer to other major modes's
7682 standard behavior.
7683 (perl-indent-line): Don't consider text on current line as a
7684 valid beginning of function from which to indent.
7685
7686 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7687 with more than one argument (bug#15538).
7688
7689 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7690
7691 * vc/pcvs.el: Use lexical-binding.
7692 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7693 environment of `eval'.
7694 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7695 than a list of expressions. Adjust callers.
7696 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7697
7698 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7699
7700 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7701 case of the dot in a chained method call being on the following line.
7702
7703 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7704
7705 * electric.el (electric-indent-inhibit): New var.
7706 (electric-indent-post-self-insert-function): Use it.
7707 * progmodes/python.el (python-mode): Set it.
7708
7709 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7710 open braces.
7711
7712 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7713
7714 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7715 (css-mode): Use electric-indent-chars.
7716
7717 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7718 (font-lock-beg, font-lock-end): Move before first use.
7719 (nxml-mode): Use syntax-propertize-function.
7720 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7721 (nxml-extend-after-change-region): Remove.
7722 * nxml/xmltok.el: Use lexical-binding.
7723 (xmltok-save): Use `declare'.
7724 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7725 * nxml/nxml-util.el: Use lexical-binding.
7726 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7727 Use `declare'.
7728 * nxml/nxml-ns.el: Use lexical-binding.
7729 (nxml-ns-save): Use `declare'.
7730 (nxml-ns-prefixes-for): Avoid add-to-list.
7731 * nxml/rng-match.el: Use lexical-binding.
7732 (rng--ipattern): Use cl-defstruct.
7733 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7734 (rng-cons-group-after, rng-subst-group-after)
7735 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7736 Use closures instead of `(lambda...).
7737
7738 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7739
7740 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7741 of BEG and END.
7742
7743 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7744 Use `tramp-handle-insert-file-contents'.
7745 (tramp-gvfs-handle-insert-file-contents): Remove function.
7746
7747 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7748 Use `save-restriction' in order to keep markers.
7749
7750 * net/trampver.el: Update release number.
7751
7752 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7753
7754 * progmodes/compile.el (compilation-parse-errors):
7755 Use compilation--put-prop.
7756 (compilation--ensure-parse): Check compilation-multiline.
7757
7758 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7759
7760 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7761 lexical-binding.
7762
7763 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7764
7765 * progmodes/ruby-mode.el: Fix recently added tests.
7766 (ruby-smie-grammar): Add - and +.
7767 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7768 (ruby-smie--backward-id): New functions.
7769 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7770 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7771 any more.
7772
7773 2013-10-07 Leo Liu <sdl.web@gmail.com>
7774
7775 * register.el (register-preview-delay)
7776 (register-preview-functions): New variables.
7777 (register-read-with-preview, register-preview)
7778 (register-describe-oneline): New functions.
7779 (point-to-register, window-configuration-to-register)
7780 (frame-configuration-to-register, jump-to-register)
7781 (number-to-register, view-register, insert-register)
7782 (copy-to-register, append-to-register, prepend-to-register)
7783 (copy-rectangle-to-register): Use register-read-with-preview to
7784 read register. (Bug#15525)
7785
7786 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7787
7788 * net/network-stream.el (network-stream-open-starttls): Don't add
7789 --insecure if it's already present, because that gnutls-cli
7790 rejects getting that parameter twice.
7791
7792 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7793
7794 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7795 keyword, too.
7796
7797 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7798
7799 * newcomment.el (comment-use-global-state): Change default value
7800 to t, mark obsolete (Bug#15251).
7801 (comment-beginning): In addition to `comment-to-syntax', check the
7802 value of `comment-use-global-state'.
7803
7804 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7805
7806 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7807 (ruby-comment-column): Follow the global default, by default.
7808 (ruby-smie-grammar): Add assignment syntax.
7809 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7810 open-paren, a comma, or a \.
7811 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7812 and line continuations.
7813 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7814 followed by implicit semi-colons. Add rule for string concatenation
7815 and for indentation at BOB.
7816 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7817
7818 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7819 calling next-sexp, since next-token may have skipped chars which
7820 next-sexp doesn't know should be skipped!
7821
7822 2013-10-05 Leo Liu <sdl.web@gmail.com>
7823
7824 * progmodes/octave.el (octave-send-region):
7825 Call compilation-forget-errors.
7826
7827 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7828
7829 * vc/vc-svn.el (vc-svn-find-admin-dir):
7830 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7831 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7832 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7833 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7834
7835 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7836
7837 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7838
7839 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7840
7841 * subr.el (read-passwd): Hide chars even when called within a context
7842 where after-change-functions is disabled (bug#15501).
7843 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7844 until we removed ourself from overriding-terminal-local-map.
7845
7846 2013-10-04 Leo Liu <sdl.web@gmail.com>
7847
7848 * progmodes/octave.el (inferior-octave-mode):
7849 Call compilation-forget-errors.
7850
7851 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7852
7853 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7854
7855 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
7856
7857 * net/secrets.el (secrets-create-collection): Add optional
7858 argument ALIAS. Use proper Label keyword. Append ALIAS as
7859 dbus-call-method argument. (Bug#15516)
7860
7861 2013-10-04 Leo Liu <sdl.web@gmail.com>
7862
7863 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7864 (inferior-octave-compilation-font-lock-keywords): New variables.
7865 (compilation-error-regexp-alist)
7866 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7867 (inferior-octave-mode): Use compilation-shell-minor-mode.
7868
7869 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7870
7871 * minibuffer.el (completion--replace): Be careful that `end' might be
7872 a marker.
7873
7874 2013-10-03 Daiki Ueno <ueno@gnu.org>
7875
7876 Add support for package signature checking.
7877 * emacs-lisp/package.el (url-http-file-exists-p)
7878 (epg-make-context, epg-context-set-home-directory)
7879 (epg-verify-string, epg-context-result-for)
7880 (epg-signature-status, epg-signature-to-string)
7881 (epg-check-configuration, epg-configuration)
7882 (epg-import-keys-from-file): Declare.
7883 (package-check-signature): New user option.
7884 (package-unsigned-archives): New user option.
7885 (package-desc): Add `signed' field.
7886 (package-load-descriptor): Set `signed' field if .signed file exists.
7887 (package--archive-file-exists-p): New function.
7888 (package--check-signature): New function.
7889 (package-install-from-archive): Check package signature.
7890 (package--download-one-archive): Check archive signature.
7891 (package-delete): Remove .signed file.
7892 (package-import-keyring): New command.
7893 (package-refresh-contents): Import default keyring.
7894 (package-desc-status): Add "unsigned" status.
7895 (describe-package-1, package-menu--print-info)
7896 (package-menu-mark-delete, package-menu--find-upgrades)
7897 (package-menu--status-predicate): Support "unsigned" status.
7898
7899 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7900
7901 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7902 the new compilation scheme using the new byte-codes.
7903
7904 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7905 (byte-pophandler): New byte codes.
7906 (byte-goto-ops): Adjust accordingly.
7907 (byte-compile--use-old-handlers): New var.
7908 (byte-compile-catch): Use new byte codes depending on
7909 byte-compile--use-old-handlers.
7910 (byte-compile-condition-case--old): Rename from
7911 byte-compile-condition-case.
7912 (byte-compile-condition-case--new): New function.
7913 (byte-compile-condition-case): New function that dispatches depending
7914 on byte-compile--use-old-handlers.
7915 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7916 when we can.
7917
7918 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7919 Optimize under `condition-case' and `catch' if
7920 byte-compile--use-old-handlers is nil.
7921 (disassemble-offset): Handle new bytecodes.
7922
7923 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7924
7925 * subr.el (error): Use `declare'.
7926 (decode-char, encode-char): Use advertised-calling-convention instead
7927 of the docstring to discourage use of the `restriction' arg.
7928
7929 2013-10-03 Daiki Ueno <ueno@gnu.org>
7930
7931 * epg.el (epg-verify-file): Add a comment saying that it does not
7932 notify verification error as a return value nor a signal.
7933 (epg-verify-string): Ditto.
7934
7935 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7936
7937 * progmodes/compile.el (compilation-start): Try globbing the arg to
7938 `cd' (bug#15417).
7939
7940 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
7941
7942 Sync with Tramp 2.2.8.
7943
7944 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
7945 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
7946 * net/trampver.el: Update release number.
7947
7948 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
7949
7950 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7951 and default-process-coding-system for darwin only.
7952
7953 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
7954
7955 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
7956
7957 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
7958
7959 * vc/vc-git.el (vc-git-grep): Disable pager.
7960
7961 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
7962
7963 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
7964 Use :url instead of :homepage, as per
7965 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
7966
7967 * newcomment.el (comment-beginning): When `comment-use-syntax' is
7968 non-nil, use `syntax-ppss' (Bug#15251).
7969
7970 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7971
7972 * progmodes/octave.el (inferior-octave-startup-file):
7973 Prefer ~/.emacs.d/init_octave.m.
7974
7975 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
7976
7977 * emacs-lisp/package.el (package-desc-from-define):
7978 Accept additional arguments as plist, convert them to an alist and store
7979 them in the `extras' slot.
7980 (package-generate-description-file): Convert extras alist back to
7981 plist and append to the `define-package' form arguments.
7982 (package--alist-to-plist): New function.
7983 (package--ac-desc): Add `extras' slot.
7984 (package--add-to-archive-contents): Check if the archive-contents
7985 vector is long enough, and if it is, pass its `extras' slot value
7986 to `package-desc-create'.
7987 (package-buffer-info): Call `lm-homepage', pass the returned value
7988 to `package-desc-from-define'.
7989 (describe-package-1): Render the homepage button (Bug#13291).
7990
7991 * emacs-lisp/package-x.el (package-upload-buffer-internal):
7992 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
7993
7994 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
7995
7996 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
7997 and default-process-coding-system to utf-8-unix (Bug#15402).
7998
7999 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8000
8001 * subr.el (looking-back): Do not recommend using looking-back.
8002
8003 2013-09-28 Alan Mackenzie <acm@muc.de>
8004
8005 Fix indentation/fontification of Java enum with "implements".
8006
8007 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8008 regexp which matches "implements", etc., in Java.
8009 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8010 specifier clauses coming after "enum".
8011 * progmodes/cc-fonts.el (c-font-lock-declarations)
8012 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8013 after "enum".
8014
8015 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8016
8017 * faces.el (region): Change ns_selection_color to
8018 ns_selection_fg_color, add ns_selection_bg_color.
8019
8020 2013-09-28 Leo Liu <sdl.web@gmail.com>
8021
8022 * progmodes/octave.el (inferior-octave-completion-table)
8023 (inferior-octave-completion-at-point): Minor tweaks.
8024
8025 * textmodes/ispell.el (ispell-lookup-words): Rename from
8026 lookup-words. (Bug#15460)
8027 (lookup-words): Obsolete.
8028 (ispell-complete-word, ispell-command-loop): All uses changed.
8029
8030 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8031
8032 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8033 (octave-mode-menu): Add octave-send-buffer.
8034 (octave-send-buffer): New function.
8035
8036 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8037
8038 * progmodes/octave.el (octave-mode-map): Add key binding for
8039 octave-lookfor.
8040 (octave-mode-menu): Add octave-lookfor.
8041 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8042 octave-lookfor.
8043 (octave-lookfor): New function.
8044
8045 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8046
8047 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8048 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8049 its convention.
8050 (cl--loop-set-iterator-function): New function.
8051 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8052 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8053 Bind `it' with `let' instead of substituting it with `cl-subst'.
8054 (cl--unused-var-p): New function.
8055 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8056 Eliminate some unused variable warnings (bug#15326).
8057
8058 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8059
8060 * doc-view.el (doc-view-scale-reset): Rename from
8061 `doc-view-reset-zoom-level'.
8062 (doc-view-scale-adjust): New command.
8063 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8064 `doc-view-scale-adjust'.
8065
8066 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8067
8068 * doc-view.el (doc-view-reset-zoom-level): New command.
8069 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8070 zoom commands (bug#15466).
8071
8072 2013-09-26 Kenichi Handa <handa@gnu.org>
8073
8074 * international/quail.el (quail-help): Make it not a command.
8075
8076 2013-09-26 Leo Liu <sdl.web@gmail.com>
8077
8078 * minibuffer.el (completion-all-sorted-completions): Make args
8079 optional as they are.
8080
8081 2013-09-25 Daniel Colascione <dancol@dancol.org>
8082
8083 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8084 specs are and that they're not evaluated.
8085
8086 2013-09-24 Sam Steingold <sds@gnu.org>
8087
8088 * midnight.el (clean-buffer-list-kill-regexps)
8089 (clean-buffer-list-kill-buffer-names): Update for the new Man
8090 buffer naming which includes the object name.
8091
8092 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8093
8094 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8095 (eshell-parse-command, eshell-parse-pipeline): Use it since
8096 eshell-separate-commands requires a dynamic scoped var.
8097 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8098
8099 2013-09-23 Leo Liu <sdl.web@gmail.com>
8100
8101 * autoinsert.el (auto-insert-alist): Make the value of
8102 lexical-binding match its file setting.
8103
8104 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8105
8106 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8107
8108 * autoarg.el (autoarg-kp-digit-argument):
8109 * electric.el (Electric-command-loop):
8110 * kmacro.el (kmacro-step-edit-insert):
8111 Do not set universal-argument-num-events.
8112
8113 2013-09-22 Leo Liu <sdl.web@gmail.com>
8114
8115 * files.el (interpreter-mode-alist): Add octave.
8116
8117 2013-09-21 Alan Mackenzie <acm@muc.de>
8118
8119 C++: fontify identifier in declaration following "public:" correctly.
8120 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8121 to match "public", etc.
8122 (c-decl-prefix-re): Add ":" into the C++ value.
8123 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8124 bit. Add a check for a ":" preceded by "public", etc.
8125
8126 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8127
8128 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8129 recognized by GDB 7.5 and later.
8130
8131 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8132
8133 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8134
8135 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8136
8137 * subr.el (internal--call-interactively): New const.
8138 (called-interactively-p): Use it (bug#3984).
8139
8140 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8141
8142 * vc/pcvs.el (cvs-mode-ignore):
8143 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8144 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8145
8146 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8147
8148 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8149 (eshell-ls-orig-insert-directory): Remove.
8150 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8151 (eshell-ls-use-in-dired): Use advice-add/remove.
8152 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8153 Add `orig-fun' arg for use in :around advice.
8154 Make it check (redundantly) eshell-ls-use-in-dired.
8155
8156 2013-09-19 Glenn Morris <rgm@gnu.org>
8157
8158 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8159
8160 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8161
8162 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8163
8164 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8165
8166 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8167 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8168 (tramp-get-remote-python): New defuns.
8169 (tramp-get-remote-uid-with-perl)
8170 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8171 contributed by yary <not.com@gmail.com> (tiny change).
8172 (tramp-get-remote-uid-with-python)
8173 (tramp-get-remote-gid-with-python): New defuns. Python code
8174 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8175 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8176
8177 2013-09-19 Glenn Morris <rgm@gnu.org>
8178
8179 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8180
8181 * eshell/em-unix.el (eshell-remove-entries):
8182 Rename argument to avoid name-clash with global `top-level'.
8183
8184 * eshell/esh-proc.el (eshell-kill-process-function):
8185 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8186 (eshell-reset-after-proc): Remove unused arg `proc'.
8187
8188 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8189 (directory-files-and-attributes): Mark unused arg.
8190
8191 * eshell/em-unix.el (eshell-remove-entries):
8192 Remove unused arg `path'. Update callers.
8193
8194 * eshell/em-hist.el (eshell-hist-parse-arguments):
8195 Remove unused arg `silent'. Update callers.
8196
8197 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8198 Fix (f)boundp mix-up.
8199
8200 * eshell/em-smart.el (eshell-smart-scroll-window)
8201 (eshell-disable-after-change):
8202 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8203
8204 2013-09-18 Alan Mackenzie <acm@muc.de>
8205
8206 Fix fontification of type when followed by "const".
8207 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8208 "known" types from fontification.
8209
8210 2013-09-18 Glenn Morris <rgm@gnu.org>
8211
8212 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8213 (chart-face-list): Drop Emacsen without display-color-p.
8214
8215 * net/eww.el (libxml-parse-html-region): Declare.
8216 (eww-display-html): Explicit error if no libxml2 support.
8217
8218 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8219
8220 * image.el (image-type-from-buffer, image-multi-frame-p):
8221 Remove --without-x warning/error.
8222
8223 * mouse.el (mouse-yank-primary):
8224 * term.el (term-mouse-paste):
8225 Reorder to silence --without-x compilation.
8226
8227 * mpc.el (doc-view-mode): Silence --without-x compilation.
8228
8229 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8230 Silence --without-x compilation.
8231
8232 * progmodes/gud.el (gud-find-file, gud-mode):
8233 Silence --without-x compilation.
8234 (tooltip-mode): Declare.
8235
8236 * wdired.el (dired-backup-overwrite): Remove declaration.
8237 (wdired-mode-map): Add doc string.
8238
8239 * custom.el (x-get-resource): Declare.
8240
8241 * eshell/em-glob.el (ange-cache):
8242 * eshell/em-unix.el (ange-cache): Declare.
8243
8244 * faces.el (x-display-list, x-open-connection, x-get-resource):
8245 Declare.
8246
8247 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8248 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8249 Declare.
8250
8251 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8252
8253 * net/gnutls.el (gnutls-log-level): Declare.
8254
8255 * net/shr.el (image-size, image-animate): Declare.
8256
8257 * simple.el (font-info): Declare.
8258
8259 * subr.el (x-popup-dialog): Declare.
8260
8261 * term/common-win.el (x-select-enable-primary)
8262 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8263 Declare.
8264
8265 * term/ns-win.el (x-handle-args): Declare.
8266
8267 * term/x-win.el (x-select-enable-clipboard): Declare.
8268
8269 * term/w32-win.el (create-default-fontset): Declare.
8270
8271 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8272 Declare.
8273
8274 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8275 (fit-frame-to-buffer): Explicit error if --without-x.
8276 (mouse-autoselect-window-select): Silence compiler.
8277
8278 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8279
8280 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8281 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8282 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8283 * eshell/esh-util.el (eshell-sublist):
8284 Remove unused local variables.
8285
8286 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8287
8288 * textmodes/two-column.el: Make 2C-split work for --without-x.
8289 (scroll-bar-columns): Autoload.
8290 (top-level): Require fringe when compiling.
8291
8292 2013-09-18 Leo Liu <sdl.web@gmail.com>
8293
8294 * subr.el (add-hook): Robustify to handle closure as well.
8295
8296 2013-09-17 Glenn Morris <rgm@gnu.org>
8297
8298 * simple.el (messages-buffer-mode-map): Unbind "g".
8299
8300 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8301
8302 * help-mode.el (help-mode-finish): Use derived-mode-p.
8303 Remove obsolete highlighting.
8304
8305 * play/life.el (life-mode): Use define-derived-mode. Derive from
8306 special-mode.
8307 (life): Let-bind inhibit-read-only.
8308 (life-setup): Avoid `setq'. Use `life-mode'.
8309
8310 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8311 which should not be needed any more.
8312 (package-menu-refresh, package-menu-describe-package): Use user-error.
8313
8314 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8315 (eshell-post-rewrite-command-hook): Make obsolete.
8316 (eshell-parse-command): Simplify.
8317 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8318 (eshell--cmd): Declare.
8319 (eshell-parse-pipeline): Remove unused var `final-p'.
8320 Pass a dynvar to eshell-post-rewrite-command-hook.
8321 Implement the new eshell-post-rewrite-command-function.
8322 (eshell-invoke-directly): Remove unused arg `input'.
8323 * eshell/esh-io.el (eshell-io-initialize):
8324 Use eshell-post-rewrite-command-function (bug#15399).
8325 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8326 adjust to new calling convention.
8327 (eshell-create-handles): Rename args to avoid clashing with dynvar
8328 `standard-output'.
8329
8330 2013-09-17 Glenn Morris <rgm@gnu.org>
8331
8332 * simple.el (messages-buffer-mode): New major mode.
8333 (messages-buffer): New function.
8334 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8335 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8336 (ert-run-test): Use `messages-buffer' function.
8337 (ert--force-message-log-buffer-truncation): Ignore read-only.
8338 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8339 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8340
8341 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8342
8343 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8344
8345 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8346
8347 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8348
8349 * icomplete.el (icomplete-in-buffer): New var.
8350 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8351 vars and replace them with functions.
8352 (icomplete-minibuffer-setup): Adjust accordingly.
8353 (icomplete--completion-table, icomplete--completion-predicate)
8354 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8355 New functions.
8356 (icomplete-forward-completions, icomplete-backward-completions)
8357 (icomplete-simple-completing-p, icomplete-exhibit)
8358 (icomplete-completions): Use them.
8359 (icomplete--in-region-buffer): New var.
8360 (icomplete--in-region-setup): New function.
8361 (icomplete-mode): Use it.
8362
8363 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8364 (bug#15379).
8365 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8366 return args and options.
8367 (eshell-eval-using-options): Use the new return value of
8368 eshell--do-opts to set the options's vars in their scope.
8369 (eshell--set-option): Rename from eshell-set-option.
8370 Add arg `opt-vals'.
8371 (eshell--process-option): Rename from eshell-process-option.
8372 Add arg `opt-vals'.
8373 (eshell--process-args): Use an `opt-vals' alist to store the options's
8374 values during their processing and return them additionally to the
8375 remaining args.
8376
8377 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8378
8379 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8380 continuation character an operator, as far as indentation is
8381 concerned (Bug#15369).
8382
8383 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8384
8385 * window.el (window--state-put-2): Don't process buffer state
8386 when buffer doesn't exist any more (Bug#15382).
8387
8388 2013-09-15 Glenn Morris <rgm@gnu.org>
8389
8390 * eshell/em-unix.el (eshell/rm):
8391 Make -f ignore missing files. (Bug#15373)
8392
8393 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8394 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8395 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8396
8397 2013-09-14 Glenn Morris <rgm@gnu.org>
8398
8399 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8400
8401 2013-09-13 Glenn Morris <rgm@gnu.org>
8402
8403 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8404 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8405
8406 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8407
8408 * frame.el (x-focus-frame): Mark as declared in frame.c.
8409
8410 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8411
8412 * ls-lisp.el: Use advice-add.
8413 (original-insert-directory): Remove.
8414 (ls-lisp--insert-directory): Rename from insert-directory; add
8415 `orig-fun' argument.
8416 (insert-directory): Advise.
8417
8418 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8419
8420 * term.el (term-emulate-terminal): Decode the command string
8421 before passing it to term-command-hook. (Bug#15337)
8422
8423 2013-09-13 Glenn Morris <rgm@gnu.org>
8424
8425 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8426
8427 * eshell/esh-ext.el (eshell-search-path): Declare.
8428
8429 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8430 Otherwise an error occurs if eshell-dirs module not loaded.
8431
8432 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8433
8434 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8435
8436 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8437 `tramp-check-proper-host'. Check for a valid method name.
8438
8439 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8440 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8441 * net/tramp-sh.el (tramp-maybe-open-connection):
8442 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8443
8444 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8445 also for hash values.
8446
8447 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8448
8449 * term/ns-win.el (parameters): Don't declare as dynamic.
8450 (before-make-frame-hook): Don't add ineffective function.
8451
8452 * eshell/*.el: Use lexical-binding (bug#15231).
8453
8454 2013-09-12 Kenichi Handa <handa@gnu.org>
8455
8456 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8457
8458 2013-09-12 Glenn Morris <rgm@gnu.org>
8459
8460 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8461 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8462
8463 * subr.el (do-after-load-evaluation): Also give compiler warnings
8464 when obsolete files are used (except by obsolete files).
8465
8466 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8467 in the status output, assume `filename' is the first. (Bug#15322)
8468
8469 * vc/vc.el (vc-deduce-fileset): Doc fix.
8470
8471 * calc/calc-help.el (Info-goto-node):
8472 * progmodes/cperl-mode.el (Info-find-node):
8473 * vc/ediff.el (Info-goto-node): Update declarations.
8474
8475 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8476
8477 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8478 (vc-bzr-pull): Require vc-dispatcher.
8479 * vc/vc-git.el (vc-compilation-mode): Declare.
8480 (vc-git-pull): Require vc-dispatcher.
8481
8482 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8483
8484 * progmodes/octave.el (help-button-action): Declare.
8485
8486 * shell.el (shell-directory-tracker): Output error as a message
8487 rather than just returning it as a string.
8488 (shell-process-pushd): Remove useless use of message.
8489
8490 * dframe.el (dframe-timer-fn):
8491 * files.el (dir-locals-read-from-file):
8492 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8493 (mpc-format):
8494 * reveal.el (reveal-post-command):
8495 * saveplace.el (load-save-place-alist-from-file):
8496 * shell.el (shell-resync-dirs):
8497 * w32-common-fns.el (x-get-selection-value):
8498 * emacs-lisp/copyright.el (copyright-find-copyright):
8499 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8500 * emulation/tpu-edt.el (tpu-copy-keyfile):
8501 * play/bubbles.el (bubbles--mark-neighbourhood):
8502 * progmodes/executable.el
8503 (executable-make-buffer-file-executable-if-script-p):
8504 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8505
8506 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8507
8508 Cleanup Eshell to rely less on dynamic scoping.
8509 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8510 last-value, and ext-command here. Bind `args' closer to `body'.
8511 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8512 (eshell--args): Declare new dynamic var.
8513 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8514 last-value, and ext-command. Pass `args' to `body'.
8515 (eshell-process-args): Bind eshell--args.
8516 (eshell-set-option): Use eshell--args.
8517 * eshell/eshell.el (eshell): Use derived-mode-p.
8518 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8519 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8520 (eshell-glob-function): Declare.
8521 * eshell/esh-util.el: Require cl-lib.
8522 (eshell-read-hosts-file): Avoid add-to-list.
8523 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8524 `err'.
8525 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8526 Declare.
8527 (eshell/diff): Remove unused var `err'.
8528 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8529 `killflag'.
8530 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8531 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8532 first use.
8533 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8534 Move declaration before first use.
8535 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8536 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8537 rely on cl-return.
8538
8539 2013-09-12 Glenn Morris <rgm@gnu.org>
8540
8541 * term/ns-win.el (global-map): Remove binding for ispell-next,
8542 deleted 1999-05-29. (Bug#15357)
8543
8544 2013-09-11 Glenn Morris <rgm@gnu.org>
8545
8546 * echistory.el (electric-command-history): Remove call to deleted func.
8547
8548 * play/landmark.el (landmark-mode): Fix typos.
8549
8550 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8551 Check cvs-sort-ignore-file is bound.
8552
8553 * savehist.el: No need for cl when compiling on Emacs.
8554
8555 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8556
8557 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8558 (bug#15338).
8559 (eshell-self-insert-command, eshell-send-invisible):
8560 Remove unused argument.
8561 (eshell-handle-control-codes): Remove unused var `orig'.
8562 Avoid delete-backward-char.
8563
8564 * files.el (set-auto-mode): Simplify a bit further.
8565
8566 2013-09-11 Glenn Morris <rgm@gnu.org>
8567
8568 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8569 (set-auto-mode): Don't regexp-quote elements.
8570 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8571 * progmodes/cc-mode.el (interpreter-mode-alist):
8572 * progmodes/ruby-mode.el (interpreter-mode-alist):
8573 Revert previous change.
8574
8575 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8576
8577 * play/snake.el (snake-mode):
8578 * play/mpuz.el (mpuz-mode):
8579 * play/landmark.el (lm-mode):
8580 * play/blackbox.el (blackbox-mode):
8581 * play/5x5.el (5x5-mode):
8582 * obsolete/options.el (Edit-options-mode):
8583 * net/quickurl.el (quickurl-list-mode):
8584 * net/newst-treeview.el (newsticker-treeview-mode):
8585 * mail/rmailsum.el (rmail-summary-mode):
8586 * mail/mspools.el (mspools-mode):
8587 * locate.el (locate-mode):
8588 * ibuffer.el (ibuffer-mode):
8589 * emulation/ws-mode.el (wordstar-mode):
8590 * emacs-lisp/debug.el (debugger-mode):
8591 * array.el (array-mode):
8592 * net/eudc.el (eudc-mode): Use define-derived-mode.
8593 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8594 Move initialization into declaration.
8595 (mairix-searches-mode): Use define-derived-mode.
8596 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8597 (eudc-edit-hotlist): Use dolist.
8598 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8599 (Man-mode): Use define-derived-mode.
8600 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8601 (Info-edit-mode): Use define-derived-mode.
8602 (Info-cease-edit): Use Info-mode.
8603 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8604 into declaration.
8605 (eshell-mode): Use define-derived-mode.
8606 * chistory.el (command-history-mode-map): Rename from
8607 command-history-map.
8608 (command-history-mode): Use define-derived-mode.
8609 (Command-history-setup): Remove function.
8610 * calc/calc.el (calc-trail-mode-map): New var.
8611 (calc-trail-mode): Use define-derived-mode.
8612 (calc-trail-buffer): Set calc-main-buffer manually.
8613 * bookmark.el (bookmark-insert-annotation): New function.
8614 (bookmark-edit-annotation): Use it.
8615 (bookmark-edit-annotation-mode): Make it a proper major mode.
8616 (bookmark-send-edited-annotation): Use derived-mode-p.
8617 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8618 closer to its ideal place. Use \' to match EOS.
8619
8620 * profiler.el (profiler-calltree-find): Use function-equal.
8621
8622 2013-09-10 Glenn Morris <rgm@gnu.org>
8623
8624 * files.el (interpreter-mode-alist): Convert to regexps.
8625 (set-auto-mode): Adapt for this. (Bug#15306)
8626 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8627 Comment out unused variable.
8628 * progmodes/cc-mode.el (interpreter-mode-alist):
8629 * progmodes/python.el (interpreter-mode-alist):
8630 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8631 * progmodes/sh-script.el (sh-set-shell):
8632 No longer use interpreter-mode-alist to get list of shells.
8633
8634 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8635
8636 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8637
8638 * simple.el: Use set-temporary-overlay-map for universal-argument.
8639 (universal-argument-map): Don't use default-bindings (bug#15317).
8640 Bind switch-frame explicitly. Replace universal-argument-minus with
8641 a conditional binding.
8642 (universal-argument-num-events, saved-overriding-map): Remove.
8643 (restore-overriding-map): Remove.
8644 (universal-argument--mode): Rename from save&set-overriding-map,
8645 and rewrite.
8646 (universal-argument, universal-argument-more, negative-argument)
8647 (digit-argument): Adjust accordingly.
8648 (universal-argument-minus): Remove.
8649 (universal-argument-other-key): Remove.
8650
8651 * subr.el (with-demoted-errors): Add `format' argument.
8652
8653 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8654
8655 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8656 `tramp-cleanup-connection'.
8657
8658 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8659 parameters KEEP-DEBUG and KEEP-PASSWORD.
8660
8661 * net/tramp.el (tramp-file-name-handler):
8662 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8663 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8664 (tramp-maybe-open-connection):
8665 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8666 Use `tramp-cleanup-connection'.
8667
8668 * net/tramp-sh.el (tramp-maybe-open-connection):
8669 Catch 'uname-changed inside the progress reporter.
8670
8671 2013-09-10 Glenn Morris <rgm@gnu.org>
8672
8673 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8674
8675 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8676 returns "alternate access method" in mode (eg "-rw-r--r--.").
8677
8678 2013-09-08 Glenn Morris <rgm@gnu.org>
8679
8680 * saveplace.el (load-save-place-alist-from-file):
8681 Demote errors. (Bug#15305)
8682
8683 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8684
8685 Improve compatibility with older Emacsen, and XEmacs.
8686
8687 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8688 only if it is bound. It isn't for XEmacs.
8689 (with-tramp-progress-reporter): Do not let-bind `result'.
8690 This yields to scoping errors in XEmacs.
8691 (tramp-handle-make-auto-save-file-name): New function, moved from
8692 tramp-sh.el.
8693
8694 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8695 for `make-auto-save-file-name'.
8696 (tramp-adb--gnu-switches-to-ash):
8697 Use `tramp-compat-replace-regexp-in-string'.
8698
8699 * net/tramp-cache.el (tramp-cache-print): Call
8700 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8701
8702 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8703 bound. It isn't for XEmacs.
8704
8705 * net/tramp-compat.el (tramp-compat-copy-file):
8706 Catch `wrong-number-of-arguments' error.
8707 (tramp-compat-replace-regexp-in-string): New defun.
8708
8709 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8710 for `make-auto-save-file-name'.
8711 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8712 `copy-file'.
8713 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8714 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8715 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8716
8717 * net/tramp-gw.el (tramp-gw-open-network-stream):
8718 Use `tramp-compat-replace-regexp-in-string'.
8719
8720 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8721 Call `tramp-handle-make-auto-save-file-name'.
8722 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8723 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8724 (tramp-sh-file-inotifywait-process-filter):
8725 Use `tramp-compat-replace-regexp-in-string'.
8726 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8727
8728 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8729 for `make-auto-save-file-name'.
8730 (tramp-smb-handle-copy-directory):
8731 Call `tramp-compat-replace-regexp-in-string'.
8732 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8733 (tramp-smb-handle-copy-file): Improve error message.
8734 (tramp-smb-handle-rename-file): Rename directly only in case
8735 `newname' does not exist yet. This is a restriction of smbclient.
8736 (tramp-smb-maybe-open-connection): Rerun the function only when
8737 `auth-sources' is non-nil.
8738
8739 2013-09-08 Kenichi Handa <handa@gnu.org>
8740
8741 * international/characters.el: Set category "^" (Combining) for
8742 more characters.
8743
8744 2013-09-07 Alan Mackenzie <acm@muc.de>
8745
8746 Correctly fontify Java class constructors.
8747 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8748 in Java Mode.
8749 (c-recognize-typeless-decls): Set the Java value to t.
8750 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8751 While handling a "(", add a check for, effectively, Java, and handle a
8752 "typeless" declaration there.
8753
8754 2013-09-07 Roland Winkler <winkler@gnu.org>
8755
8756 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8757 field subtitle for entry type book.
8758
8759 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8760
8761 * minibuffer.el: Make minibuffer-complete call completion-in-region
8762 rather than other way around.
8763 (completion--some, completion-pcm--find-all-completions):
8764 Don't delay signals when debugging.
8765 (minibuffer-completion-contents): Beware fields within the
8766 minibuffer contents.
8767 (completion-all-sorted-completions): Use defvar-local.
8768 (completion--do-completion, completion--cache-all-sorted-completions)
8769 (completion-all-sorted-completions, minibuffer-force-complete):
8770 Add args `beg' and `end'.
8771 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8772 (minibuffer-complete): Use completion-in-region.
8773 (completion-complete-and-exit): New fun, extracted from
8774 minibuffer-complete-and-exit.
8775 (minibuffer-complete-and-exit): Use it.
8776 (completion--complete-and-exit): Rename from
8777 minibuffer--complete-and-exit.
8778 (completion-in-region--single-word): New function, extracted from
8779 minibuffer-complete-word.
8780 (minibuffer-complete-word): Use it.
8781 (display-completion-list): Make `common-substring' argument obsolete.
8782 (completion--in-region): Call completion--in-region-1 instead of
8783 minibuffer-complete.
8784 (completion-help-at-point): Pass boundaries to
8785 minibuffer-completion-help as args rather than via an overlay.
8786 (completion-pcm--string->pattern): Use `any-delim'.
8787 (completion-pcm--optimize-pattern): New function.
8788 (completion-pcm--pattern->regex): Handle `any-delim'.
8789 * icomplete.el (icomplete-forward-completions)
8790 (icomplete-backward-completions, icomplete-completions):
8791 Adjust calls to completion-all-sorted-completions and
8792 completion--cache-all-sorted-completions.
8793 (icomplete-with-completion-tables): Default to t.
8794 * emacs-lisp/crm.el (crm--current-element): Rename from
8795 crm--select-current-element. Don't put an overlay but return the
8796 boundaries instead.
8797 (crm--completion-command): Take two new args to bind to the boundaries.
8798 (crm-completion-help): Adjust accordingly.
8799 (crm-complete): Use completion-in-region.
8800 (crm-complete-word): Use completion-in-region--single-word.
8801 (crm-complete-and-exit): Use completion-complete-and-exit.
8802
8803 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8804
8805 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8806 than dynamically.
8807
8808 2013-09-06 Juri Linkov <juri@jurta.org>
8809
8810 * info.el (Info-display-images-node): When image file doesn't exist
8811 display text version of the image if it's provided in the Info file.
8812 Otherwise, display the location of missing image from SRC attribute.
8813 Add help-echo text property from ALT attribute. (Bug#15279)
8814
8815 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8816
8817 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8818 (edit-abbrevs-mode): Use define-derived-mode.
8819
8820 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8821 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8822 that it's defined.
8823 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8824 Use define-derived-mode.
8825
8826 * epg.el (epg-start-encrypt): Minor CSE simplification.
8827
8828 2013-09-06 William Xu <william.xwl@gmail.com>
8829
8830 * arc-mode.el: Add support for 7za (bug#15264).
8831 (archive-7z-program): New var.
8832 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8833 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8834 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8835
8836 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
8837
8838 Remove URL syntax.
8839
8840 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8841 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8842 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8843 (tramp-postfix-host-format, tramp-file-name-regexp)
8844 (tramp-completion-file-name-regexp)
8845 (tramp-completion-dissect-file-name)
8846 (tramp-handle-substitute-in-file-name): Remove 'url case.
8847 (tramp-file-name-regexp-url)
8848 (tramp-completion-file-name-regexp-url): Remove constants.
8849
8850 2013-09-06 Glenn Morris <rgm@gnu.org>
8851
8852 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8853
8854 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8855
8856 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8857 keywords" below "here-doc beginnings" (Bug#15270).
8858
8859 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8860
8861 * subr.el (pop): Use `car-safe'.
8862 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8863 to detect unused `pop' return value.
8864
8865 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8866 var `block-regexp'.
8867 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8868 (python-fill-string): Remove unused var `marker'.
8869 (python-skeleton-add-menu-items): Remove unused var `items'.
8870
8871 * international/mule-cmds.el: Require CL.
8872 (find-coding-systems-for-charsets): Avoid add-to-list.
8873 (sanitize-coding-system-list): New function, extracted from
8874 select-safe-coding-system-interactively.
8875 (select-safe-coding-system-interactively): Use it.
8876 (read-input-method-name): Accept symbols for `default'.
8877
8878 * emacs-lisp/advice.el (defadvice): Add indent rule.
8879
8880 2013-09-05 Daniel Hackney <dan@haxney.org>
8881
8882 * dired-x.el:
8883 * net/ange-ftp.el:
8884 * net/browse-url.el:
8885 * net/dbus.el:
8886 * net/eudc.el:
8887 * net/eudcb-ldap.el:
8888 * net/eww.el:
8889 * net/imap.el:
8890 * printing.el:
8891 * vc/ediff-diff.el:
8892 * vc/ediff-init.el:
8893 * vc/ediff-merg.el:
8894 * vc/ediff-mult.el:
8895 * vc/ediff-util.el:
8896 * vc/ediff-wind.el:
8897 * vc/ediff.el:
8898 * vc/emerge.el:
8899 * vc/pcvs.el:
8900 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8901 byte compiler. Remove some unused let-bound variables.
8902
8903 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8904
8905 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8906 a "ref-cell", since it gets better optimized (bug#14883).
8907
8908 2013-09-05 Glenn Morris <rgm@gnu.org>
8909
8910 * progmodes/cc-awk.el (c-forward-sws): Declare.
8911
8912 2013-09-04 Glenn Morris <rgm@gnu.org>
8913
8914 * generic-x.el [rul-generic-mode]: Require cc-mode.
8915 (c++-mode-syntax-table): Declare.
8916 (rul-generic-mode-syntax-table): Init in the defvar.
8917
8918 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8919
8920 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8921 (vc-do-command, vc-set-async-update):
8922 * vc/vc-mtn.el (vc-mtn-dir-status):
8923 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8924 (vc-hg-pull, vc-hg-merge-branch):
8925 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8926 (vc-git-merge-branch):
8927 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8928 (vc-cvs-dir-status-files):
8929 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8930 (vc-bzr-dir-status-files):
8931 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8932 * vc/vc-annotate.el: Use lexical-binding.
8933 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8934 (vc-sentinel-movepoint): Declare.
8935 (vc-annotate): Don't use `goto-line'.
8936 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
8937 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
8938 (vc-sentinel-movepoint): Declare.
8939 * vc/vc-svn.el: Use lexical-binding.
8940 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
8941 * vc/vc-sccs.el:
8942 * vc/vc-rcs.el: Use lexical-binding.
8943
8944 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
8945 `deleted'. Don't drop errors silently.
8946
8947 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
8948
8949 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
8950
8951 * vc/vc.el (vc-ignore): Rewrite.
8952 (vc-default-ignore): New function.
8953 (vc-default-ignore-completion-table): Use find-ignore-file.
8954
8955 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
8956 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
8957 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
8958 Remove. Most code moved to vc.el.
8959
8960 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
8961
8962 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
8963 * net/tramp-smb.el (tramp-smb-get-file-entries):
8964 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
8965 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
8966
8967 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
8968 Update call to it.
8969 (eww-change-select): Remove unused var `properties'.
8970 (eww-make-unique-file-name): Remove unused var `base'.
8971
8972 * finder.el (finder-compile-keywords): Don't mess with windows.
8973
8974 * calculator.el (calculator-funcall): Fix typo in last change.
8975
8976 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
8977
8978 * emacs-lisp/package.el (package-activate-1): Don't let a missing
8979 <pkg>-autoloads.el file stop us.
8980
8981 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
8982 warnings, and factor out common code.
8983
8984 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
8985
8986 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
8987 two-character operators and whether the character preceding them
8988 changes their meaning (Bug#15208).
8989
8990 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
8991
8992 Format code sent to Python shell for robustness.
8993 * progmodes/python.el (python-shell-buffer-substring):
8994 New function.
8995 (python-shell-send-region, python-shell-send-buffer): Use it.
8996
8997 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
8998
8999 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9000 * net/tramp.el (tramp-user-error): ... here.
9001 (tramp-find-method, tramp-check-proper-host)
9002 (tramp-dissect-file-name, tramp-debug-message)
9003 (tramp-handle-shell-command):
9004 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9005 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9006
9007 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9008
9009 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9010
9011 * avoid.el (mouse-avoidance-point-position)
9012 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9013 returns nil.
9014
9015 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9016
9017 * progmodes/python.el (python-shell-completion-get-completions):
9018 Drop use of deleted `comint-last-prompt-overlay'.
9019 (python-nav-if-name-main): New command.
9020
9021 2013-09-01 Glenn Morris <rgm@gnu.org>
9022
9023 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9024 Avoid leading space in $wins. Otherwise the sed command used by
9025 eg compile-main ends up containing "/*.el". (Bug#15170)
9026
9027 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9028
9029 2013-08-30 Glenn Morris <rgm@gnu.org>
9030
9031 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9032 Fix is-this-a-directory logic. (Bug#15220)
9033
9034 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9035
9036 * textmodes/css-mode.el: Use SMIE.
9037 (css-smie-grammar): New var.
9038 (css-smie--forward-token, css-smie--backward-token)
9039 (css-smie-rules): New functions.
9040 (css-mode): Use them.
9041 (css-navigation-syntax-table): Remove var.
9042 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9043 (css-indent-calculate, css-indent-line): Remove functions.
9044
9045 Misc changes to reduce use of `(lambda...); and other cleanups.
9046 * cus-edit.el: Use lexical-binding.
9047 (customize-push-and-save, customize-apropos)
9048 (custom-buffer-create-internal): Use closures.
9049 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9050 * progmodes/ada-xref.el: Use setq.
9051 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9052 * dframe.el: Use lexical-binding.
9053 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9054 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9055 * descr-text.el: Use lexical-binding.
9056 (describe-text-widget, describe-text-sexp, describe-property-list):
9057 Use closures.
9058 * comint.el (comint-history-isearch-push-state): Use a closure.
9059 * calculator.el: Use lexical-binding.
9060 (calculator-number-to-string): Make it work with lexical-binding.
9061 (calculator-funcall): Same and use cl-letf.
9062
9063 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9064 (lisp--company-doc-string, lisp--company-location): New functions.
9065 (lisp-completion-at-point): Use them to improve Company support.
9066
9067 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9068 params of lambda expressions.
9069 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9070 (ruby-smie--opening-pipe-p): New function.
9071 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9072 symbols and matched |...| for formal params.
9073 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9074 from being treated as hanging. Handle "rescue".
9075
9076 2013-08-29 Glenn Morris <rgm@gnu.org>
9077
9078 * progmodes/cc-engine.el (c-pull-open-brace):
9079 Move definition before use.
9080
9081 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9082
9083 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9084 are immutable. Don't use `unsafe' any more.
9085 (cl--defsubst-expand): Don't substitute at the same time as keeping
9086 a residual unused let-binding. Don't use `unsafe' any more.
9087
9088 2013-08-29 Glenn Morris <rgm@gnu.org>
9089
9090 * calendar/cal-china.el (calendar-chinese-year-cache):
9091 Recenter on 2015.
9092
9093 * nxml/nxml-util.el (nxml-debug-clear-inside):
9094 Use cl-loop rather than loop.
9095
9096 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9097
9098 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9099
9100 2013-08-28 Glenn Morris <rgm@gnu.org>
9101
9102 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9103
9104 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9105
9106 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9107
9108 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9109
9110 * simple.el (repeat-complex-command--called-interactively-skip):
9111 New function.
9112 (repeat-complex-command): Use it (bug#14136).
9113
9114 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9115 (c-define-abbrev-table): Add `doc' argument.
9116 (c-mode-abbrev-table, c++-mode-abbrev-table)
9117 (objc-mode-abbrev-table, java-mode-abbrev-table)
9118 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9119 (awk-mode-abbrev-table): Use it.
9120 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9121 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9122 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9123 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9124 Move initialization into the declaration; and remove any
9125 autoload cookie.
9126
9127 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9128 and dynamic let binding.
9129
9130 * vc/smerge-mode.el: Remove redundant :group args.
9131
9132 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9133 to load-path.
9134
9135 2013-08-28 Juri Linkov <juri@jurta.org>
9136
9137 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9138 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9139 (isearch-other-meta-char): Handle an undefined shifted printing
9140 character by downshifting it. (Bug#15200)
9141
9142 2013-08-28 Juri Linkov <juri@jurta.org>
9143
9144 * isearch.el (isearch-search): Change regexp error message for
9145 non-regexp searches. (Bug#15166)
9146
9147 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9148
9149 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9150 for portability to hosts where /bin/sh has problems.
9151
9152 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9153
9154 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9155
9156 2013-08-27 Juri Linkov <juri@jurta.org>
9157
9158 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9159 in the keyboard macro. (Bug#15126)
9160
9161 2013-08-27 Juri Linkov <juri@jurta.org>
9162
9163 * isearch.el (isearch-quote-char): Comment out converting unibyte
9164 to multibyte, thus syncing with its `quoted-insert' counterpart.
9165 (Bug#15166)
9166
9167 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9168
9169 * window.el (display-buffer-use-some-window): Add missing
9170 argument in call of get-largest-window (Bug#15185).
9171 Reported by Stephen Leake.
9172
9173 2013-08-27 Glenn Morris <rgm@gnu.org>
9174
9175 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9176
9177 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9178
9179 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9180 from a matcher-function unless there's no more matches (bug#15161).
9181
9182 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9183
9184 * minibuffer.el: Revert change from 2013-08-20.
9185
9186 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9187 with text property `tramp-default', if appropriate.
9188 (tramp-check-proper-host): New defun.
9189 (tramp-dissect-file-name): Do not check hostname. Revert change
9190 of 2013-03-18.
9191 (tramp-backtrace): Make VEC-OR-PROC optional.
9192
9193 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9194 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9195 * net/tramp-sh.el (tramp-maybe-open-connection):
9196 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9197 Apply `tramp-check-proper-host'.
9198
9199 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9200
9201 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9202 lambda expression in order to have `describe-variable' display it.
9203
9204 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9205
9206 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9207 BUF can be optional. (Bug#15186)
9208
9209 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9210
9211 * progmodes/flymake.el (flymake-get-real-file-name-function):
9212 Fix broken customization. (Bug#15184)
9213
9214 2013-08-25 Alan Mackenzie <acm@muc.de>
9215
9216 Improve indentation of bracelists defined by macros (without "=").
9217
9218 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9219 expansion begins with "{", regard it as bracelist when it doesn't
9220 contain a ";".
9221
9222 Parse C++ inher-intro when there's a template split over 2 lines.
9223
9224 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9225 rigorously the search for "class" etc. followed by ":".
9226
9227 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9228 random languages a regexp which never matches rather than nil.
9229
9230 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9231
9232 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9233 (c-awk-regexp-one-line-possibly-open-char-list-re)
9234 (c-awk-one-line-possibly-open-regexp-re)
9235 (c-awk-one-line-non-syn-ws*-re): Remove.
9236 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9237 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9238 (c-awk-space*-unclosed-regexp-/-re): New constants.
9239 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9240 aren't regexp delimiters.
9241
9242 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9243 handling for a rare situation in AWK Mode involving unterminated
9244 strings/regexps.
9245
9246 2013-08-23 Glenn Morris <rgm@gnu.org>
9247
9248 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9249
9250 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9251
9252 * files.el (create-file-buffer): If the result would begin with
9253 spaces, prepend a "|" instead of removing them. (Bug#15162)
9254
9255 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9256
9257 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9258 text-properties (bug#15155).
9259
9260 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9261 exist any more.
9262 (calc-keypad-redraw): Remove unused var `pad'.
9263 (calc-keypad-press): Remove unused var `menu'.
9264
9265 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9266
9267 * window.el (display-buffer-pop-up-frame):
9268 Call pop-up-frame-function with BUFFER current so `make-frame' will
9269 use it as the new frame's buffer (Bug#15133).
9270
9271 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9272
9273 * calendar/timeclock.el: Minor cleanups.
9274 (timeclock-ask-before-exiting, timeclock-use-display-time):
9275 Use `symbol'.
9276 (timeclock-modeline-display): Define as alias before the
9277 actual definition.
9278 (timeclock-mode-line-display): Use define-minor-mode.
9279 (timeclock-day-list-template): Make it a function, add an argument.
9280 (timeclock-day-list-required, timeclock-day-list-length)
9281 (timeclock-day-list-debt, timeclock-day-list-span)
9282 (timeclock-day-list-break): Adjust calls accordingly.
9283
9284 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9285
9286 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9287 Use read--expression so that completion works again.
9288
9289 2013-08-21 Sam Steingold <sds@gnu.org>
9290
9291 Add rudimentary inferior shell interaction
9292 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9293 (sh-set-shell): Reset it.
9294 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9295 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9296
9297 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9298
9299 * align.el: Use lexical-binding.
9300 (align-region): Simplify accordingly.
9301
9302 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9303
9304 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9305
9306 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9307 `non-essential' up.
9308
9309 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9310
9311 * net/tramp.el:
9312 * net/tramp-adb.el:
9313 * net/tramp-cmds.el:
9314 * net/tramp-ftp.el:
9315 * net/tramp-gvfs.el:
9316 * net/tramp-gw.el:
9317 * net/tramp-sh.el: Don't wrap external variable declarations by
9318 `eval-when-compile'.
9319
9320 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9321
9322 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9323 now that Emacs supports ImageMagick animations.
9324
9325 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9326
9327 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9328 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9329
9330 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9331
9332 * window.el (mouse-autoselect-window-select): Do autoselect when
9333 mouse pointer is on margin.
9334
9335 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9336
9337 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9338
9339 2013-08-16 Glenn Morris <rgm@gnu.org>
9340
9341 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9342 Handle "Remote Directory" response of some clients. (Bug#15058)
9343
9344 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9345 Tweak warning. (Bug#14926)
9346
9347 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9348 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9349
9350 * image-mode.el (image-mode-map): Add menu items to reverse,
9351 increase, decrease, reset animation speed.
9352 (image--set-speed, image-increase-speed, image-decrease-speed)
9353 (image-reverse-speed, image-reset-speed): New functions.
9354 (image-mode-map): Add bindings for speed commands.
9355
9356 * image.el (image-animate-get-speed, image-animate-set-speed):
9357 New functions.
9358 (image-animate-timeout): Respect image :speed property.
9359
9360 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9361
9362 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9363 previous line (bug#15101).
9364 (debugger-eval-expression, debugger-record-expression):
9365 Use read--expression (bug#15102).
9366
9367 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9368
9369 Remove byte compiler warnings, visible when compiling with
9370 `byte-compile-force-lexical-warnings' set to t.
9371
9372 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9373 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9374 (tramp-handle-unhandled-file-name-directory)
9375 (tramp-handle-file-notify-add-watch, tramp-action-login)
9376 (tramp-action-succeed, tramp-action-permission-denied)
9377 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9378 arguments with "_".
9379
9380 * net/tramp-adb.el (tramp-adb-parse-device-names)
9381 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9382 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9383 (tramp-adb-handle-file-truename): Remove unused arguments.
9384
9385 * net/tramp-cache.el (tramp-flush-directory-property)
9386 (tramp-flush-connection-property, tramp-list-connections)
9387 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9388
9389 * net/tramp-compat.el (tramp-compat-make-temp-file):
9390 Rename FILENAME to F.
9391
9392 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9393 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9394 (tramp-zeroconf-parse-workstation-device-names)
9395 (tramp-zeroconf-parse-webdav-device-names)
9396 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9397
9398 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9399 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9400
9401 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9402 arguments.
9403 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9404 (tramp-sh-handle-insert-file-contents-literally)
9405 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9406 with "_".
9407 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9408 Remove unused variables.
9409
9410 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9411 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9412 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9413
9414 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9415 Make them a defconst.
9416 (tramp-uuencode-region): Remove unused variable.
9417
9418 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9419
9420 * frameset.el (frameset--prop-setter): New function.
9421 (frameset-prop): Add gv-setter declaration.
9422 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9423 parameter was already set in FILTERED. Doc fix.
9424 (frameset--record-minibuffer-relationships): Allow saving a
9425 minibufferless frame without its corresponding minibuffer frame.
9426 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9427 frame, if the frame id matches.
9428 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9429 frames before orphaned ones.
9430 (frameset-restore): Warn about orphaned windows, instead of error out.
9431
9432 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9433
9434 * window.el (window-make-atom): Don't overwrite parameter
9435 already present.
9436 (display-buffer-in-atom-window): Handle special case where we
9437 split an already atomic window.
9438 (window--major-non-side-window, display-buffer-in-side-window)
9439 (window--side-check): Ignore minibuffer window when walking
9440 window tree.
9441 (window-deletable-p): Return 'frame only if no other frame uses
9442 our minibuffer window.
9443 (record-window-buffer): Run buffer-list-update-hook.
9444 (split-window): Make sure window--check-frame won't destroy an
9445 existing atomic window in case the new window gets nested
9446 inside.
9447 (display-buffer-at-bottom): Ignore minibuffer window when
9448 walking window tree. Don't split a side window.
9449 (pop-to-buffer): Don't set-buffer here, the select-window call
9450 should do that.
9451 (mouse-autoselect-window-select): Autoselect only if we are in the
9452 text portion of the window.
9453
9454 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9455
9456 * net/shr.el (shr-parse-image-data): New function to grab both the
9457 data itself and the Content-Type.
9458 (shr-put-image): Use it.
9459
9460 * net/eww.el (eww-display-image): Ditto.
9461
9462 * image.el (image-content-type-suffixes): New variable.
9463
9464 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9465
9466 * progmodes/python.el (python-imenu--build-tree)
9467 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9468
9469 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9470
9471 * simple.el (backward-word): Mention the optional argument.
9472
9473 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9474
9475 * frameset.el (frameset--make): Rename constructor from make-frameset.
9476 (frameset-p, frameset-valid-p): Don't autoload.
9477 (frameset-valid-p): Use normal accessors.
9478
9479 2013-08-13 Glenn Morris <rgm@gnu.org>
9480
9481 * progmodes/compile.el (compile-command): Tweak example in doc.
9482 * obsolete/scribe.el (scribe-mode):
9483 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9484
9485 * mail/feedmail.el (feedmail-confirm-outgoing)
9486 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9487
9488 * cus-start.el (truncate-partial-width-windows): Fix type.
9489
9490 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9491
9492 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9493
9494 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9495
9496 * emacs-lisp/timer.el (timer--time-setter): New function.
9497 (timer--time): Use it as gv-setter.
9498
9499 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9500 setter is not a symbol.
9501
9502 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9503
9504 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9505 if sending fails. This makes debugging easier.
9506
9507 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9508
9509 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9510 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9511 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9512
9513 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9514
9515 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9516
9517 2013-08-12 Glenn Morris <rgm@gnu.org>
9518
9519 * format.el (format-annotate-function):
9520 Handle read-only text properties in the source. (Bug#14887)
9521
9522 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9523
9524 * net/eww.el (eww-display-html): Ignore coding system errors.
9525 One web site uses "utf-8lias" as the coding system.
9526
9527 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9528
9529 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9530
9531 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9532
9533 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9534 (tutorial--detailed-help): Remove unused local variables.
9535 (tutorial--save-tutorial-to): Use ignore-errors.
9536 (help-with-tutorial): Use looking-at-p.
9537
9538 * view.el (view-buffer-other-window, view-buffer-other-frame):
9539 Mark unused arguments.
9540
9541 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9542 (woman-select-symbol-fonts, woman, woman-find-file)
9543 (woman-insert-file-contents, woman-non-underline-faces):
9544 Use string-match-p.
9545 (woman1-unquote): Move declaration.
9546
9547 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9548 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9549 argument. Remove unused local variable.
9550 (xml-parse-elem-type): Use string-match-p.
9551 (xml-substitute-numeric-entities): Use ignore-errors.
9552
9553 * calculator.el (calculator): Mark unused argument.
9554 (calculator-paste, calculator-quit, calculator-integer-p):
9555 Use ignore-errors.
9556 (calculator-string-to-number, calculator-decimal, calculator-exp)
9557 (calculator-op-or-exp): Use string-match-p.
9558
9559 * dired.el (dired-buffer-more-recently-used-p): Declare.
9560 (dired-insert-set-properties, dired-insert-old-subdirs):
9561 Use ignore-errors.
9562
9563 * dired-aux.el (dired-compress): Use ignore-errors.
9564 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9565 (dired-do-async-shell-command, dired-do-shell-command)
9566 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9567 (dired-insert-subdir-validate): Use string-match-p.
9568 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9569 (dired-add-entry): Use string-match-p, looking-at-p.
9570 (dired-insert-subdir-newpos): Remove unused local variable.
9571
9572 * filenotify.el (file-notify-callback): Remove unused local variable.
9573
9574 * filesets.el (filesets-error): Mark unused argument.
9575 (filesets-which-command-p, filesets-filter-dir-names)
9576 (filesets-directory-files, filesets-get-external-viewer)
9577 (filesets-ingroup-get-data): Use string-match-p.
9578
9579 * find-file.el (ff-other-file-name, ff-other-file-name)
9580 (ff-find-the-other-file, ff-cc-hh-converter):
9581 Remove unused local variables.
9582 (ff-get-file-name): Use string-match-p.
9583 (ff-all-dirs-under): Use ignore-errors.
9584
9585 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9586 (follow-select-if-visible): Remove unused local variable.
9587
9588 * forms.el (read-file-filter): Move declaration.
9589 (forms--make-format, forms--make-parser, forms-insert-record):
9590 Quote function with #'.
9591 (forms--update): Use string-match-p. Quote function with #'.
9592
9593 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9594 (help-make-xrefs): Use looking-at-p.
9595 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9596
9597 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9598 (ibuffer-confirm-operation-on): Use string-match-p.
9599
9600 * msb.el (msb-item-handler, msb-dired-item-handler):
9601 Mark unused arguments.
9602
9603 * ses.el (ses-decode-cell-symbol)
9604 (ses-kill-override): Remove unused local variable.
9605 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9606 (ses-load): Use ignore-errors, looking-at-p.
9607 (ses-jump-safe): Use ignore-errors.
9608 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9609
9610 * tabify.el (untabify, tabify): Mark unused arguments.
9611
9612 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9613 Mark unused argument.
9614 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9615 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9616
9617 * emacs-lisp/timer.el (timer--time): Define setter with
9618 gv-define-setter to avoid deprecation warning.
9619
9620 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9621 (*record-cmpl-statistics-p*): Remove (was commented out).
9622 (cmpl-statistics-block): Remove (body was commented out).
9623 All callers changed.
9624 (add-completions-from-buffer, load-completions-from-file):
9625 Remove unused variables.
9626
9627 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9628
9629 * filecache.el (file-cache-delete-file-list):
9630 Print message only when told so.
9631 (file-cache-files-matching): Use #' in mapconcat argument.
9632
9633 * ffap.el (ffap-url-at-point): Fix reference to variable
9634 thing-at-point-default-mail-uri-scheme.
9635
9636 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9637
9638 * subr.el (define-error): New function.
9639 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9640 error-file-not-found and define with define-error.
9641 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9642 and define with define-error.
9643 * userlock.el (file-locked, file-supersession):
9644 * simple.el (mark-inactive):
9645 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9646 * progmodes/ada-mode.el (ada-mode-errors):
9647 * play/life.el (life-extinct):
9648 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9649 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9650 * nxml/rng-util.el (rng-error):
9651 * nxml/rng-uri.el (rng-uri-error):
9652 * nxml/rng-match.el (rng-compile-error):
9653 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9654 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9655 * nxml/nxml-rap.el (nxml-scan-error):
9656 * nxml/nxml-outln.el (nxml-outline-error):
9657 * net/soap-client.el (soap-error):
9658 * net/gnutls.el (gnutls-error):
9659 * net/ange-ftp.el (ftp-error):
9660 * mpc.el (mpc-proc-error):
9661 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9662 (json-number-format, json-string-escape, json-string-format)
9663 (json-key-format, json-object-format):
9664 * jka-compr.el (compression-error):
9665 * international/quail.el (quail-error):
9666 * international/kkc.el (kkc-error):
9667 * emacs-lisp/ert.el (ert-test-failed):
9668 * calc/calc.el (calc-error, inexact-result, math-overflow)
9669 (math-underflow):
9670 * bookmark.el (bookmark-error-no-filename):
9671 * epg.el (epg-error): Define with define-error.
9672
9673 * time.el (display-time-event-handler)
9674 (display-time-next-load-average): Don't call sit-for since it seems
9675 unnecessary (bug#15045).
9676
9677 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9678 Use #' instead of ' to quote functions.
9679 (checkdoc-output-mode): Use setq-local.
9680 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9681 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9682 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9683 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9684 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9685 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9686 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9687 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9688
9689 * ido.el (ido-completion-help): Fix up compiler warning.
9690
9691 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9692
9693 * frameset.el (frameset-p): Add autoload cookie.
9694 (frameset--jump-to-register): New function, based on code moved from
9695 register.el.
9696 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9697
9698 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9699 (frameset-restore, frameset-save, frameset-session-filter-alist):
9700 Remove declarations.
9701 (register-alist): Doc fix.
9702 (frameset-to-register): Move to frameset.el.
9703 (jump-to-register, describe-register-1): Remove frameset-specific code.
9704
9705 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9706
9707 * allout-widgets.el (allout-widgets-pre-command-business)
9708 (allout-widgets-post-command-business)
9709 (allout-widgets-after-change-handler)
9710 (allout-decorate-item-and-context, allout-set-boundary-marker)
9711 (allout-body-modification-handler)
9712 (allout-graphics-modification-handler): Mark ignored arguments.
9713 (allout-widgets-post-command-business)
9714 (allout-widgets-exposure-change-processor)
9715 (allout-widgets-exposure-undo-processor)
9716 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9717 (allout-parse-item-at-point, allout-decorate-item-guides)
9718 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9719 * allout.el (epa-passphrase-callback-function): Declare.
9720 (allout-overlay-insert-in-front-handler)
9721 (allout-overlay-interior-modification-handler)
9722 (allout-isearch-end-handler, allout-chart-siblings)
9723 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9724 (allout-yank-processing, allout-process-exposed)
9725 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9726 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9727 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9728 (lisp-indent-defform): Mark ignored arguments.
9729 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9730 (calculate-lisp-indent): Remove unused variables.
9731 * international/characters.el (indian-2-column, arabic-2-column)
9732 (tibetan): Mark ignored arguments.
9733 (use-cjk-char-width-table): Mark ignored arguments.
9734 Remove unused variables.
9735 * international/fontset.el (build-default-fontset-data)
9736 (x-compose-font-name, create-fontset-from-fontset-spec):
9737 Mark ignored arguments.
9738 (fontset-plain-name): Remove unused variables.
9739 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9740 (keyboard-coding-system): Mark ignored arguments.
9741 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9742 * help.el (resize-temp-buffer-window):
9743 * window.el (display-buffer-in-major-side-window)
9744 (display-buffer-in-side-window, display-buffer-in-previous-window):
9745 Remove unused variables.
9746 * isearch.el (isearch-forward-symbol):
9747 * version.el (emacs-bzr-version-bzr):
9748 * international/mule-cmds.el (current-language-environment):
9749 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9750 (x-handle-display):
9751 * term/pc-win.el (x-list-fonts, x-display-planes)
9752 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9753 (x-server-version, x-display-screens, x-display-mm-height)
9754 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9755 (x-selection-owner-p, x-own-selection-internal)
9756 (x-disown-selection-internal, x-get-selection-internal)
9757 (msdos-initialize-window-system):
9758 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9759 * term/x-win.el (x-handle-no-bitmap-icon):
9760 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9761 (vc-default-find-file-hook, vc-default-extra-menu):
9762 Mark ignored arguments.
9763
9764 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9765
9766 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9767 break-condition in the context of the debugged code (bug#12685).
9768
9769 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9770
9771 * comint.el:
9772 Do not use an overlay to highlight the last prompt. (Bug#14744)
9773 (comint-mode): Make comint-last-prompt buffer local.
9774 (comint-last-prompt): New variable.
9775 (comint-last-prompt-overlay): Remove. Superseded by
9776 comint-last-prompt.
9777 (comint-snapshot-last-prompt, comint-output-filter):
9778 Use comint-last-prompt.
9779
9780 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9781
9782 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9783 (frameset-save): Check validity of the resulting frameset.
9784
9785 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9786
9787 * ido.el (ido-record-command): Add doc string.
9788
9789 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9790
9791 * frameset.el (frameset): Do not disable creation of the default
9792 frameset-p predicate. Doc fix.
9793 (frameset-valid-p): New function, copied from the old predicate-p.
9794 Add additional checks.
9795 (frameset-restore): Check with frameset-valid-p.
9796 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9797 (frameset-name, frameset-description, frameset-properties)
9798 (frameset-states): Add docstring.
9799 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9800 (frameset-filter-alist): Doc fixes.
9801
9802 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9803
9804 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9805
9806 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9807
9808 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9809 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9810 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9811 (byte-compile-normal-call): Remove obsolescence check.
9812
9813 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9814
9815 * frameset.el (frameset-restore): Doc fix.
9816
9817 * register.el (frameset-frame-id, frameset-frame-with-id)
9818 (frameset-p, frameset-restore, frameset-save): Declare.
9819 (register-alist): Document framesets.
9820 (frameset-session-filter-alist): Declare.
9821 (frameset-to-register): New function.
9822 (jump-to-register): Implement jumping to framesets. Doc fix.
9823 (describe-register-1): Describe framesets.
9824
9825 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9826
9827 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
9828
9829 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9830 Use lexical-binding.
9831
9832 * frameset.el (frameset): Use type vector, not list (incompatible
9833 change). Do not declare a new constructor, use the default one.
9834 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9835 `name' and `description', respectively, and add read-only slot
9836 `timestamp'. Doc fixes.
9837 (frameset-copy, frameset-persistent-filter-alist)
9838 (frameset-filter-alist, frameset-switch-to-gui-p)
9839 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9840 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9841 (frameset-filter-iconified, frameset-keep-original-display-p):
9842 Doc fixes.
9843 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9844 Rename from frameset-filter-(save|restore)-param. All callers changed.
9845 Doc fix.
9846 (frameset-p): Adapt to change to vector and be more thorough.
9847 Change arg name to OBJECT. Doc fix.
9848 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9849 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9850 All callers changed.
9851 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9852 All callers changed.
9853 (frameset--record-minibuffer-relationships): Rename from
9854 frameset--process-minibuffer-frames. All callers changed.
9855 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9856 Use new default constructor (again). Doc fix.
9857 (frameset--find-frame-if): Rename from `frameset--find-frame'.
9858 All callers changed.
9859 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9860 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9861 Doc fix.
9862 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9863 PARAMETERS and WINDOW-STATE, respectively.
9864 (frameset-restore): Add new keyword argument PREDICATE.
9865 Reset frameset--target-display to nil. Doc fix.
9866
9867 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9868
9869 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9870 (bat-mode): Use it.
9871 (bat-mode-syntax-table): Mark \n as end-of-comment.
9872 (bat-font-lock-keywords): Remove comment rule.
9873
9874 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9875 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9876
9877 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9878 (byte-compile-callargs-warn): Use `push'.
9879 (byte-compile-arglist-warn): Ignore higher-order "calls".
9880 (byte-compile-file-form-autoload): Use `pcase'.
9881 (byte-compile-function-form): If quoting a symbol, check that it exists.
9882
9883 2013-08-07 Eli Zaretskii <eliz@gnu.org>
9884
9885 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9886 and add a few popular commands found in batch files.
9887 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9888 (dos-mode): Doc fixes.
9889
9890 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9891
9892 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9893 (dos-mode): Use setq-local. Add space after "rem".
9894 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9895 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9896
9897 2013-08-07 Arni Magnusson <arnima@hafro.is>
9898
9899 * progmodes/dos.el: New file.
9900 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9901 dos-mode.
9902
9903 2013-08-06 Glenn Morris <rgm@gnu.org>
9904
9905 * calendar/calendar.el: Add new faces, and day-header-array.
9906 (calendar-weekday-header, calendar-weekend-header)
9907 (calendar-month-header): New faces.
9908 (calendar-day-header-construct): New function.
9909 (calendar-day-header-width): Also :set calendar-day-header-array.
9910 (calendar-american-month-header, calendar-european-month-header)
9911 (calendar-iso-month-header): Use calendar- faces.
9912 (calendar-generate-month):
9913 Use calendar-day-header-array for day headers; apply faces to them.
9914 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9915 (calendar-abbrev-construct): Add optional maxlen argument.
9916 (calendar-day-name-array): Doc fix.
9917 (calendar-day-name-array, calendar-abbrev-length)
9918 (calendar-day-abbrev-array):
9919 Also :set calendar-day-header-array, and maybe redraw.
9920 (calendar-day-header-array): New option. (Bug#15007)
9921 (calendar-font-lock-keywords): Set to nil and make obsolete.
9922 (calendar-day-name): Add option to use header array.
9923
9924 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9925
9926 * net/shr.el (shr-render-td): Remove debugging.
9927 (shr-render-td): Make width computation consistent by defaulting
9928 all zero-width columns to 10 characters. This may not be optimal,
9929 but it's at least consistent.
9930 (shr-make-table-1): Redo last change to fix the real problem in
9931 colspan handling.
9932
9933 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9934
9935 * files.el (cache-long-line-scans):
9936 Make obsolete alias to `cache-long-scans'.
9937
9938 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9939
9940 * frameset.el (frameset, frameset-filter-alist)
9941 (frameset-filter-params, frameset-save, frameset--reuse-frame)
9942 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
9943 (frameset-compute-pos): Rename from frameset--compute-pos,
9944 and add docstring.
9945 (frameset-move-onscreen): Use frameset-compute-pos.
9946 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
9947
9948 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
9949 Fix typos in docstrings.
9950
9951 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9952
9953 * frame.el (get-other-frame): Tiny cleanup.
9954
9955 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
9956
9957 * vc/vc.el (vc-default-ignore-completion-table):
9958 Silence byte-compiler warning.
9959
9960 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
9961 slot, which can indeed be nil.
9962 (frameset-live-filter-alist, frameset-persistent-filter-alist):
9963 Move entry for `left' from persistent to live filter alist.
9964 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
9965 Doc fixes.
9966 (frameset-filter-params): When restoring a frame, copy items added to
9967 `filtered', to avoid unwittingly modifying the original parameters.
9968 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
9969 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
9970
9971 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
9972 to use looking-at-p instead of looking-at. (Bug#15028)
9973
9974 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
9975
9976 Revert introduction of isearch-filter-predicates (bug#14714).
9977 Rely on add-function instead.
9978 * isearch.el (isearch-filter-predicates): Rename it back to
9979 isearch-filter-predicate.
9980 (isearch-message-prefix): Use advice-function-mapc and advice
9981 properties to get the isearch-message-prefix.
9982 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
9983 instead of run-hook-with-args-until-failure.
9984 (isearch-filter-visible): Not obsolete any more.
9985 * loadup.el: Preload nadvice.
9986 * replace.el (perform-replace): Revert to funcall
9987 instead of run-hook-with-args-until-failure.
9988 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
9989 * dired-aux.el (dired-isearch-filenames-mode): Rename from
9990 dired-isearch-filenames-toggle; make it into a proper minor mode.
9991 Use add/remove-function.
9992 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
9993 Call the minor-mode rather than add/remove-hook.
9994 (dired-isearch-filter-filenames):
9995 Remove isearch-message-prefix property.
9996 * info.el (Info--search-loop): New function, extracted from Info-search.
9997 Funcall isearch-filter-predicate instead of
9998 run-hook-with-args-until-failure isearch-filter-predicates.
9999 (Info-search): Use it.
10000 (Info-mode): Use isearch-filter-predicate instead of
10001 isearch-filter-predicates.
10002
10003 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10004
10005 Do not call to `selected-window' where it is assumed by default.
10006 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10007 `window-hscroll', `window-width', `window-height', `window-buffer',
10008 `window-frame', `window-start', `window-point', `next-window'
10009 and `window-display-table'.
10010 * abbrev.el (abbrev--default-expand):
10011 * bs.el (bs--show-with-configuration):
10012 * buff-menu.el (Buffer-menu-mouse-select):
10013 * calc/calc.el (calc):
10014 * calendar/calendar.el (calendar-generate-window):
10015 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10016 (diary-make-entry):
10017 * comint.el (send-invisible, comint-dynamic-complete-filename)
10018 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10019 * completion.el (complete):
10020 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10021 * disp-table.el (describe-current-display-table):
10022 * doc-view.el (doc-view-insert-image):
10023 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10024 * ehelp.el (with-electric-help):
10025 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10026 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10027 * emacs-lisp/helper.el (Helper-help-scroller):
10028 * emulation/cua-base.el (cua--post-command-handler-1):
10029 * eshell/esh-mode.el (eshell-output-filter):
10030 * ffap.el (ffap-gnus-wrapper):
10031 * help-macro.el (make-help-screen):
10032 * hilit-chg.el (highlight-compare-buffers):
10033 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10034 * hl-line.el (global-hl-line-highlight):
10035 * icomplete.el (icomplete-simple-completing-p):
10036 * isearch.el (isearch-done):
10037 * jit-lock.el (jit-lock-stealth-fontify):
10038 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10039 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10040 * mpc.el (mpc-tagbrowser, mpc):
10041 * net/rcirc.el (rcirc-any-buffer):
10042 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10043 * play/landmark.el (landmark-max-width, landmark-max-height):
10044 * play/zone.el (zone):
10045 * progmodes/compile.el (compilation-goto-locus):
10046 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10047 * progmodes/etags.el (find-tag-other-window):
10048 * progmodes/fortran.el (fortran-column-ruler):
10049 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10050 * progmodes/verilog-mode.el (verilog-point-text):
10051 * reposition.el (reposition-window):
10052 * rot13.el (toggle-rot13-mode):
10053 * server.el (server-switch-buffer):
10054 * shell.el (shell-dynamic-complete-command)
10055 (shell-dynamic-complete-environment-variable):
10056 * simple.el (insert-buffer, set-selective-display)
10057 (delete-completion-window):
10058 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10059 (speedbar-recenter):
10060 * startup.el (fancy-splash-head):
10061 * textmodes/ispell.el (ispell-command-loop):
10062 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10063 * tutorial.el (help-with-tutorial):
10064 * vc/add-log.el (add-change-log-entry):
10065 * vc/compare-w.el (compare-windows):
10066 * vc/ediff-help.el (ediff-indent-help-message):
10067 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10068 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10069 (ediff-setup-control-frame):
10070 * vc/emerge.el (emerge-position-region):
10071 * vc/pcvs-util.el (cvs-bury-buffer):
10072 * window.el (walk-windows, mouse-autoselect-window-select):
10073 * winner.el (winner-set-conf, winner-undo): Related users changed.
10074
10075 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10076
10077 * frameset.el (frameset--set-id): Doc fix.
10078 (frameset-frame-id, frameset-frame-id-equal-p)
10079 (frameset-locate-frame-id): New functions.
10080 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10081 (frameset-restore): Use them.
10082
10083 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10084
10085 Do not call to `selected-frame' where it is assumed by default.
10086 Affected functions are `raise-frame', `redraw-frame',
10087 `frame-first-window', `frame-terminal' and `delete-frame'.
10088 * calendar/appt.el (appt-disp-window):
10089 * epg.el (epg-wait-for-completion):
10090 * follow.el (follow-delete-other-windows-and-split)
10091 (follow-avoid-tail-recenter):
10092 * international/mule.el (set-terminal-coding-system):
10093 * mail/rmail.el (rmail-mail-return):
10094 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10095 * progmodes/f90.el (f90-add-imenu-menu):
10096 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10097 * server.el (server-switch-buffer):
10098 * simple.el (delete-completion-window):
10099 * talk.el (talk):
10100 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10101 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10102 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10103 * vc/ediff.el (ediff-documentation): Related users changed.
10104 * frame.el (selected-terminal): Remove the leftover.
10105
10106 2013-08-05 Glenn Morris <rgm@gnu.org>
10107
10108 * calendar/calendar.el (calendar-generate-month):
10109 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10110 (calendar-generate-month, calendar-font-lock-keywords):
10111 Fix for calendar-day-header-width > length of any day name.
10112
10113 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10114
10115 * desktop.el (desktop-clear): Use new name of sort predicate.
10116
10117 * frameset.el (frameset): Add docstring. Move :version property to its
10118 own `version' slot.
10119 (frameset-copy): Rename from copy-frameset.
10120 (frameset-p): Check more thoroughly.
10121 (frameset-prop): Do not check for :version, which is no longer a prop.
10122 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10123 Use new :never value instead of t.
10124 (frameset-filter-alist): Expand and clarify docstring.
10125 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10126 (frameset-filter-minibuffer, frameset-filter-save-param)
10127 (frameset-filter-restore-param, frameset-filter-iconified):
10128 Add pointer to docstring of frameset-filter-alist.
10129 (frameset-filter-params): Rename filter values to be more meaningful:
10130 :never instead of t, and reverse the meanings of :save and :restore.
10131 (frameset--process-minibuffer-frames): Clarify error message.
10132 (frameset-save): Avoid unnecessary and confusing call to framep.
10133 Use new BOA constructor for framesets.
10134 (frameset--reuse-list): Doc fix.
10135 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10136 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10137 (frameset-minibufferless-first-p): Doc fix.
10138 Rename from frameset-sort-frames-for-deletion.
10139 (frameset-restore): Doc fixes. Use new function names.
10140 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10141
10142 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10143
10144 * desktop.el (desktop-restore-forces-onscreen)
10145 (desktop-restore-reuses-frames): Document :keyword constant values.
10146 (desktop-filter-parameters-alist): Remove, now identical to
10147 frameset-filter-alist.
10148 (desktop--filter-tty*): Remove, moved to frameset.el.
10149 (desktop-save-frameset, desktop-restore-frameset):
10150 Do not pass :filters argument.
10151
10152 * frameset.el (frameset-live-filter-alist)
10153 (frameset-persistent-filter-alist): New variables.
10154 (frameset-filter-alist): Use them. Add autoload cookie.
10155 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10156 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10157 `frameset--id' (it's supposed to be internal to frameset.el).
10158 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10159 (frameset--initial-params): New function.
10160 (frameset--get-frame): Use it. Doc fix.
10161 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10162 Accept :all, not 'all.
10163 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10164 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10165 with fbound symbols. Fix frame id matching, and remove matching ids if
10166 the frame being restored is deleted. Obey :delete.
10167
10168 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10169
10170 * subr.el (macrop): New function.
10171 (text-clone--maintaining): New var.
10172 (text-clone--maintain): Rename from text-clone-maintain. Use it
10173 instead of inhibit-modification-hooks.
10174
10175 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10176 a proxy, so as handle autoloads and redefinitions of the target.
10177 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10178
10179 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10180 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10181 (pcase--mutually-exclusive-p): New function.
10182 (pcase--split-consp): Use it.
10183 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10184 mutually exclusive with the current predicate.
10185
10186 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10187 (edebug-macrop): Remove. Use `macrop' instead.
10188 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10189 (ad-macro-p):
10190 * eshell/esh-cmd.el (eshell-macrop):
10191 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10192
10193 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10194
10195 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10196 (advice-mapc): New function, using it.
10197 (advice-function-member-p): New function.
10198 (advice--normalize): Store the cdr in advice--saved-rewrite since
10199 that's the part that will be changed.
10200 (advice--symbol-function): New function.
10201 (advice-remove): Handle removal before the function is defined.
10202 Adjust to new advice--saved-rewrite.
10203 (advice-member-p): Use advice-function-member-p and
10204 advice--symbol-function.
10205
10206 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10207
10208 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10209 (frameset-filter-minibuffer): Doc fix.
10210 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10211 (frameset--set-id, frameset--process-minibuffer-frames)
10212 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10213 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10214
10215 * desktop.el (desktop-clear): Only delete frames when called
10216 interactively and desktop-restore-frames is non-nil. Doc fix.
10217 (desktop-read): Set desktop-saved-frameset to nil.
10218
10219 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10220
10221 * vc/vc.el (vc-ignore): Rewrite.
10222 (vc-default-ignore-completion-table, vc--read-lines)
10223 (vc--add-line, vc--remove-regexp): New functions.
10224
10225 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10226 (vc-svn-ignore-completion-table): New function.
10227
10228 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10229 (vc-hg-ignore-completion-table)
10230 (vc-hg-find-ignore-file): New functions.
10231
10232 * vc/vc-git.el (vc-git-ignore): Rewrite.
10233 (vc-git-ignore-completion-table)
10234 (vc-git-find-ignore-file): New functions.
10235
10236 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10237
10238 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10239 (vc-bzr-ignore-completion-table)
10240 (vc-bzr-find-ignore-file): New functions.
10241
10242 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10243
10244 * frameset.el (frameset-prop): New function and setter.
10245 (frameset-save): Do not modify frame list passed by the caller.
10246
10247 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10248
10249 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10250
10251 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10252
10253 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10254 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10255
10256 * custom.el (custom-initialize-default, custom-initialize-set)
10257 (custom-initialize-reset, custom-initialize-changed): Affect the
10258 toplevel-default-value (bug#6275, bug#14586).
10259 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10260 for bug#6275.
10261
10262 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10263
10264 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10265 Add cl-def* expressions.
10266
10267 * frameset.el (frameset-filter-params): Fix order of arguments.
10268
10269 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10270
10271 Move code related to saving frames to frameset.el.
10272 * desktop.el: Require frameset.
10273 (desktop-restore-frames): Doc fix.
10274 (desktop-restore-reuses-frames): Rename from
10275 desktop-restoring-reuses-frames.
10276 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10277 (desktop-clear): Clear frames too.
10278 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10279 (desktop--filter-tty*, desktop-save, desktop-read):
10280 Use frameset functions.
10281 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10282 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10283 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10284 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10285 (desktop--process-minibuffer-frames, desktop-save-frames)
10286 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10287 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10288 (desktop--sort-states, desktop-restoring-frames-p)
10289 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10290 (desktop-restoring-frameset-p, desktop-restore-frameset)
10291 (desktop--check-dont-save, desktop-save-frameset): New functions.
10292 (desktop--app-id): New constant.
10293 (desktop-first-buffer, desktop-buffer-ok-count)
10294 (desktop-buffer-fail-count): Move before first use.
10295 * frameset.el: New file.
10296
10297 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10298
10299 * files.el: Use lexical-binding.
10300 (dir-locals-read-from-file): Remove unused `err' variable.
10301 (hack-dir-local-variables--warned-coding): New var.
10302 (hack-dir-local-variables): Use it to avoid repeated warnings.
10303 (make-backup-file-name--default-function): New function.
10304 (make-backup-file-name-function): Use it as default.
10305 (buffer-stale--default-function): New function.
10306 (buffer-stale-function): Use it as default.
10307 (revert-buffer-insert-file-contents--default-function): New function.
10308 (revert-buffer-insert-file-contents-function): Use it as default.
10309 (insert-directory): Avoid add-to-list.
10310
10311 * autorevert.el (auto-revert-handler): Simplify.
10312 Use buffer-stale--default-function.
10313
10314 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10315
10316 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10317
10318 * whitespace.el (whitespace-ensure-local-variables): New function.
10319 (whitespace-cleanup-region): Call it.
10320 (whitespace-turn-on): Call it.
10321
10322 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10323
10324 Complete file name handlers.
10325
10326 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10327 (tramp-handle-verify-visited-file-modtime)
10328 (tramp-handle-file-notify-rm-watch): New functions.
10329 (tramp-call-process): Do not bind `default-directory'.
10330
10331 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10332 Order alphabetically.
10333 <access-file, add-name-to-file, dired-call-process>:
10334 <dired-compress-file, file-acl, file-notify-rm-watch>:
10335 <file-ownership-preserved-p, file-selinux-context>:
10336 <make-directory-internal, make-symbolic-link, set-file-acl>:
10337 <set-file-selinux-context, set-visited-file-modtime>:
10338 <verify-visited-file-modtime>: Add handler.
10339 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10340
10341 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10342 <file-notify-add-watch, file-notify-rm-watch>:
10343 <set-file-times, set-visited-file-modtime>:
10344 <verify-visited-file-modtime>: Add handler.
10345 (with-tramp-gvfs-error-message)
10346 (tramp-gvfs-handle-set-visited-file-modtime)
10347 (tramp-gvfs-fuse-file-name): Remove.
10348 (tramp-gvfs-handle-file-notify-add-watch)
10349 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10350 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10351
10352 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10353 Order alphabetically.
10354 <file-notify-rm-watch>: Use default Tramp handler.
10355 <executable-find>: Remove private handler.
10356 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10357 `default-directory'.
10358 (tramp-sh-handle-executable-find)
10359 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10360 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10361 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10362 Do not use `format' in `tramp-message'.
10363
10364 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10365 <file-notify-rm-watch, set-visited-file-modtime>:
10366 <verify-visited-file-modtime>: Add handler.
10367 (tramp-smb-call-winexe): Do not bind `default-directory'.
10368
10369 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10370
10371 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10372
10373 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10374
10375 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10376 use it.
10377 (log-view-diff-changeset): Same.
10378 (log-view-diff-common): Call backend command `previous-revision'
10379 to find out the previous revision, in both cases. Swap the
10380 variables `to' and `fr', so that `fr' usually refers to the
10381 earlier revision (Bug#14989).
10382
10383 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10384
10385 * ibuf-ext.el (ibuffer-filter-by-filename):
10386 Make it work with dired buffers too.
10387
10388 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10389
10390 * emacs-lisp/re-builder.el (reb-color-display-p):
10391 * files.el (save-buffers-kill-terminal):
10392 * net/browse-url.el (browse-url):
10393 * server.el (server-save-buffers-kill-terminal):
10394 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10395 Prefer nil to selected-frame for the first arg of frame-parameter.
10396
10397 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10398
10399 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10400
10401 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10402
10403 * minibuffer.el (completion--twq-all): Try and preserve each
10404 completion's case choice (bug#14907).
10405
10406 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10407
10408 * net/network-stream.el (open-network-stream): Mention the new
10409 :nogreeting parameter.
10410 (network-stream-open-starttls): Use the :nogreeting parameter
10411 (bug#14938).
10412
10413 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10414
10415 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10416 more natural than popping.
10417
10418 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10419 (shr-urlify): Highlight under mouse.
10420
10421 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10422
10423 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10424
10425 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10426
10427 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10428 buffer for output.
10429
10430 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10431 point-min==1. Fix search string. Fix parentheses missing.
10432
10433 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10434 assume point-min==1. Fix search string. Fix parentheses missing.
10435
10436 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10437
10438 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10439 buffer for output.
10440
10441 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10442
10443 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10444 initial frame is minibuffer-less. (Bug#14841)
10445
10446 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10447
10448 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10449 option.
10450
10451 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10452 (tramp-maybe-open-connection): Use it.
10453
10454 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10455
10456 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10457 minimal set of parameters passed when creating a frame, because
10458 the minibuffer status of a frame cannot be changed later.
10459
10460 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10461
10462 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10463 replace-regexp-in-string and inadvertent omissions in previous change.
10464 (todo-filter-items): Ensure only file names are comma-separated in
10465 name of filtered items buffer.
10466
10467 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10468
10469 * desktop.el: Optionally force offscreen frames back onscreen.
10470 (desktop-restoring-reuses-frames): New option.
10471 (desktop--compute-pos, desktop--move-onscreen): New functions.
10472 (desktop--make-frame): Use desktop--move-onscreen.
10473
10474 2013-07-27 Alan Mackenzie <acm@muc.de>
10475
10476 Fontify a Java generic method as a function.
10477 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10478 value to t.
10479
10480 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10481
10482 * calendar/todo-mode.el: Add command to rename todo files.
10483 (todo-rename-file): New command.
10484 (todo-key-bindings-t): Add key binding for it. Change the
10485 bindings of todo-filter-regexp-items(-multifile) to use `x'
10486 instead of `r', since the latter is better suited to the new
10487 renaming command.
10488
10489 2013-07-27 Alan Mackenzie <acm@muc.de>
10490
10491 Make Java try-with-resources statement parse properly.
10492 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10493 (c-block-stmt-1-2-key): New language constants/variables.
10494 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10495 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10496 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10497 with c-block-stmt-1-2-key.
10498
10499 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10500
10501 * desktop.el (desktop--make-frame): Apply most frame parameters after
10502 creating the frame to force (partially or totally) offscreen frames to
10503 be restored as such.
10504
10505 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10506
10507 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10508 (Bug#14948)
10509
10510 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10511
10512 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10513 `base' arg of backtrace-frame.
10514
10515 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10516
10517 * simple.el (list-processes): Doc fix.
10518
10519 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10520
10521 * desktop.el (desktop--select-frame):
10522 Try harder to reuse existing frames.
10523
10524 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10525
10526 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10527 (edebug-eval): Use backtrace-eval.
10528 (edebug--display, edebug--recursive-edit): Don't let-bind the
10529 edebug-outer-* vars that keep track of variables we locally let-bind.
10530 (edebug-outside-excursion): Don't restore outside values of locally
10531 let-bound vars.
10532 (edebug--display): Use user-error.
10533 (cl-lexical-debug, cl-debug-env): Remove.
10534
10535 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10536
10537 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10538 are restored to be sure that they are visible before deleting any
10539 remaining ones.
10540
10541 2013-07-26 Matthias Meulien <orontee@gmail.com>
10542
10543 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10544 vc-print-root-log. (Bug#14948)
10545
10546 2013-07-26 Richard Stallman <rms@gnu.org>
10547
10548 Add aliases for encrypting mail.
10549 * epa.el (epa-mail-aliases): New option.
10550 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10551 Bind inhibit-read-only so read-only text doesn't ruin everything.
10552 (epa-mail-default-recipients): New subroutine broken out.
10553 Handle epa-mail-aliases.
10554
10555 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10556
10557 Add support for lexical variables to the debugger's `e' command.
10558 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10559 vars, except for debugger-outer-match-data.
10560 (debugger-frame-number): Move check for "on a function call" from
10561 callers into it. Add `skip-base' argument.
10562 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10563 (debugger-env-macro): Only reset the state stored in non-variables,
10564 i.e. current-buffer and match-data.
10565 (debugger-eval-expression): Rewrite using backtrace-eval.
10566 * subr.el (internal--called-interactively-p--get-frame): Remove.
10567 (called-interactively-p):
10568 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10569 `base' arg of backtrace-frame instead.
10570
10571 2013-07-26 Glenn Morris <rgm@gnu.org>
10572
10573 * align.el (align-regexp): Doc fix. (Bug#14857)
10574 (align-region): Explicit error if subexpression missing/does not match.
10575
10576 * simple.el (global-visual-line-mode):
10577 Do not duplicate the mode lighter. (Bug#14858)
10578
10579 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10580
10581 * window.el (display-buffer): In display-buffer bind
10582 split-window-keep-point to t, bug#14829.
10583
10584 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10585
10586 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10587 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10588 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10589 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10590 Change accordingly.
10591 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10592 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10593
10594 2013-07-25 Glenn Morris <rgm@gnu.org>
10595
10596 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10597
10598 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10599
10600 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10601 parameter to modify-frame-parameters if the value has not changed;
10602 this is a workaround for bug#14949.
10603 (desktop--make-frame): On cl-delete-if call, check parameter name,
10604 not full parameter.
10605
10606 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10607
10608 * vc/vc.el (vc-ignore): New function.
10609
10610 * vc/vc-svn.el (vc-svn-ignore): New function.
10611
10612 * vc/vc-hg.el (vc-hg-ignore): New function.
10613
10614 * vc/vc-git.el (vc-git-ignore): New function.
10615
10616 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10617 (vc-dir-ignore): New function.
10618
10619 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10620 (cvs-append-to-ignore): Move here from pcvs.el.
10621
10622 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10623
10624 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10625
10626 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10627
10628 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10629 (desktop-restore-frames): Warn when deleting an existing frame failed.
10630
10631 2013-07-24 Glenn Morris <rgm@gnu.org>
10632
10633 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10634
10635 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10636
10637 * filenotify.el (file-notify-supported-p):
10638 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10639 Remove functions.
10640
10641 * autorevert.el (auto-revert-use-notify)
10642 (auto-revert-notify-add-watch):
10643 * net/tramp.el (tramp-file-name-for-operation):
10644 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10645 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10646 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10647 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10648 Remove `file-notify-supported-p' entry.
10649
10650 2013-07-24 Glenn Morris <rgm@gnu.org>
10651
10652 * printing.el: Replace all uses of deleted ps-windows-system,
10653 ps-lp-system, ps-flatten-list with lpr- versions.
10654
10655 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10656
10657 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10658 checked with memq (bug#14935).
10659
10660 * files.el (revert-buffer-function): Use a non-nil default.
10661 (revert-buffer-preserve-modes): Declare var to
10662 provide access to the `preserve-modes' argument.
10663 (revert-buffer): Let-bind it.
10664 (revert-buffer--default): New function, extracted from revert-buffer.
10665
10666 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10667
10668 * lpr.el: Signal print errors more prominently.
10669 (print-region-function): Don't default to nil.
10670 (lpr-print-region): New function, extracted from print-region-1.
10671 Check lpr's return value and signal an error in case of problem.
10672 (print-region-1): Use it.
10673 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10674 versions instead.
10675 (ps-printer-name): Default to nil.
10676 (ps-printer-name-option): Default to lpr-printer-switch.
10677 (ps-print-region-function): Don't default to nil.
10678 (ps-postscript-code-directory): Simplify default.
10679 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10680 (ps-string-list, ps-eval-switch, ps-flatten-list)
10681 (ps-flatten-list-1): Remove.
10682 (ps-multibyte-buffer): Avoid setq.
10683 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10684 (print-region-function, ps-print-region-function): Don't set them here.
10685
10686 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10687
10688 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10689 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10690 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10691 (ido-decorations): Doc fix.
10692
10693 * ansi-color.el: Fix old URL.
10694
10695 2013-07-23 Michael R. Mauger <michael@mauger.com>
10696
10697 * progmodes/sql.el: Version 3.3
10698 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10699 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10700 (sql-interactive-remove-continuation-prompt): Rewrite, use
10701 functions above. Fix continuation prompt and complete output line
10702 handling.
10703 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10704 redirected output buffer.
10705 (sql-mode): Restore deleted code (Bug#13591).
10706
10707 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10708
10709 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10710
10711 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10712
10713 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10714
10715 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10716 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10717 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10718
10719 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10720
10721 * desktop.el (desktop-clear): Simplify; remove useless checks
10722 against invalid buffer names.
10723 (desktop-list*): Use cl-list*.
10724 (desktop-buffer-info, desktop-create-buffer): Simplify.
10725
10726 2013-07-23 Leo Liu <sdl.web@gmail.com>
10727
10728 * bookmark.el (bookmark-make-record): Restore NAME as a default
10729 value. (Bug#14933)
10730
10731 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10732
10733 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10734 extracted from autoload--insert-text.
10735 (autoload--insert-text): Remove.
10736 (autoload--print-cookie-text): New function, extracted from
10737 autoload--insert-cookie-text.
10738 (autoload--insert-cookie-text): Remove.
10739 (autoload-generate-file-autoloads): Adjust calls accordingly.
10740
10741 * winner.el (winner-hook-installed-p): Remove.
10742 (winner-mode): Simplify accordingly.
10743
10744 * subr.el (add-to-list): Fix compiler-macro when `append' is
10745 not constant. Don't use `cl-member' for the base case.
10746
10747 * progmodes/subword.el: Fix boundary case (bug#13758).
10748 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10749 own group.
10750 (subword-backward-regexp): Make it a constant.
10751 (subword-forward-internal): Don't treat a trailing capital as the
10752 beginning of a word.
10753
10754 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10755
10756 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10757 global value of tabulated-list-revert-hook (bug#14930).
10758
10759 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
10760
10761 * desktop.el: Require 'cl-lib.
10762 (desktop-before-saving-frames-functions): New hook.
10763 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10764 for frames being saved. Rename from desktop--save-minibuffer-frames.
10765 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10766 Do not save frames with non-nil `desktop-dont-save' parameter.
10767 Filter out deleted frames.
10768 (desktop--find-frame): Use cl-find-if.
10769 (desktop--select-frame): Use cl-(first|second|third) to access values
10770 of desktop-mini.
10771 (desktop--make-frame): Use cl-delete-if.
10772 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10773 (desktop-restore-frames): Use cl-(first|second|third) to access values
10774 of desktop-mini. Look for visible frame at the end, not while
10775 restoring frames.
10776
10777 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10778 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10779 Use string-match-p, looking-at-p (bug#14927).
10780
10781 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10782
10783 * desktop.el (desktop-saved-frame-states):
10784 Rename from desktop--saved-states; all users changed.
10785 (desktop-save-frames): Rename from desktop--save-frames.
10786 Do not save state to desktop file.
10787 (desktop-save): Save desktop-saved-frame-states to desktop file
10788 and reset to nil.
10789 (desktop-restoring-frames-p): New function.
10790 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10791 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10792 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10793
10794 * desktop.el: Correctly restore iconified frames.
10795 (desktop--filter-iconified-position): New function.
10796 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10797
10798 2013-07-20 Glenn Morris <rgm@gnu.org>
10799
10800 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10801 Let `message' do the formatting.
10802 (def-gdb-preempt-display-buffer): Add explicit format.
10803
10804 * image-dired.el (image-dired-track-original-file):
10805 Use with-current-buffer.
10806 (image-dired-track-thumbnail): Use with-current-buffer.
10807 Avoid changing point of wrong window.
10808
10809 * image-dired.el (image-dired-track-original-file):
10810 Avoid changing point of wrong window. (Bug#14909)
10811
10812 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
10813
10814 * progmodes/gdb-mi.el (gdb-done-or-error):
10815 Guard against "%" in gdb output. (Bug#14127)
10816
10817 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10818
10819 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10820 (Bug#14826)
10821
10822 * international/mule.el (coding-system-iso-2022-flags): Fix last
10823 change.
10824
10825 2013-07-20 Kenichi Handa <handa@gnu.org>
10826
10827 * international/mule.el (coding-system-iso-2022-flags):
10828 Add `8-bit-level-4'. (Bug#8522)
10829
10830 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10831
10832 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10833 (bug#14815).
10834
10835 * net/eww.el (eww-process-text-input): Allow inputting when the
10836 point is at the start of the line, as the properties aren't
10837 front-sticky.
10838
10839 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10840 degenerate widths.
10841
10842 2013-07-19 Richard Stallman <rms@gnu.org>
10843
10844 * epa.el (epa-popup-info-window): Doc fix.
10845
10846 * subr.el (split-string): New arg TRIM.
10847
10848 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
10849
10850 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10851 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10852
10853 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
10854
10855 * filenotify.el (file-notify--library): Rename from
10856 `file-notify-support'. Do not autoload. Adapt all uses.
10857 (file-notify-supported-p): New defun.
10858
10859 * autorevert.el (auto-revert-use-notify):
10860 Use `file-notify-supported-p' instead of `file-notify-support'.
10861 Adapt docstring.
10862 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10863
10864 * net/tramp.el (tramp-file-name-for-operation):
10865 Add `file-notify-supported-p'.
10866
10867 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10868 New defun.
10869 (tramp-sh-file-name-handler-alist): Add it as handler for
10870 `file-notify-supported-p '.
10871
10872 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10873 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10874 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10875 Add `ignore' as handler for `file-notify-*' functions.
10876
10877 2013-07-17 Eli Zaretskii <eliz@gnu.org>
10878
10879 * simple.el (line-move-partial, line-move): Don't start vscroll or
10880 scroll-up if the current line is not taller than the window.
10881 (Bug#14881)
10882
10883 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10884
10885 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10886 highlight question marks in the method names as strings.
10887 (ruby-block-beg-keywords): Inline.
10888 (ruby-font-lock-keyword-beg-re): Extract from
10889 `ruby-font-lock-keywords'.
10890
10891 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10892
10893 * frame.el (blink-cursor-blinks): New defcustom.
10894 (blink-cursor-blinks-done): New defvar.
10895 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10896 (blink-cursor-timer-function): Check if number of blinks has been
10897 done on X and NS.
10898 (blink-cursor-suspend, blink-cursor-check): New defuns.
10899
10900 2013-07-15 Glenn Morris <rgm@gnu.org>
10901
10902 * edmacro.el (edmacro-format-keys): Fix previous change.
10903
10904 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10905
10906 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10907 The hack didn't work outside English locales anyway.
10908
10909 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
10910
10911 * simple.el (define-alternatives): Rename from alternatives-define,
10912 per RMS' suggestion.
10913
10914 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
10915
10916 * desktop.el (desktop-restore-frames): Change default to t.
10917 (desktop-restore-in-current-display): Now offer more options.
10918 (desktop-restoring-reuses-frames): New customization option.
10919 (desktop--saved-states): Doc fix.
10920 (desktop-filter-parameters-alist): New variable, renamed and expanded
10921 from desktop--excluded-frame-parameters.
10922 (desktop--target-display): New variable.
10923 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10924 (desktop--filter-tty*, desktop--filter-*-color)
10925 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10926 (desktop--filter-save-desktop-parm)
10927 (desktop-restore-in-original-display-p): New functions.
10928 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10929 (desktop--save-minibuffer-frames): New function, inspired by a similar
10930 function from Martin Rudalics.
10931 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10932 (desktop--restore-in-this-display-p): Remove.
10933 (desktop--find-frame): Rename from desktop--find-frame-in-display
10934 and add predicate argument.
10935 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
10936 (desktop--reuse-list): New variable.
10937 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
10938 New functions.
10939 (desktop--restore-frames): Add support for "minibuffer-special" frames.
10940
10941 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
10942
10943 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
10944
10945 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
10946
10947 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
10948 Highlight conversion methods on Kernel.
10949
10950 2013-07-13 Alan Mackenzie <acm@muc.de>
10951
10952 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
10953 and comment it out. This out-commenting enables certain C++
10954 declarations to be parsed correctly.
10955
10956 2013-07-13 Eli Zaretskii <eliz@gnu.org>
10957
10958 * international/mule.el (define-coding-system): Doc fix.
10959
10960 * simple.el (default-font-height): Don't call font-info if the
10961 frame's default font didn't change since the frame was created.
10962 (Bug#14838)
10963
10964 2013-07-13 Leo Liu <sdl.web@gmail.com>
10965
10966 * ido.el (ido-read-file-name): Guard against non-symbol value.
10967
10968 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10969
10970 * progmodes/python.el (python-imenu--build-tree): Fix corner case
10971 in nested defuns.
10972
10973 2013-07-13 Leo Liu <sdl.web@gmail.com>
10974
10975 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
10976 ido-set-matches call. (Bug#6852)
10977
10978 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
10979
10980 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
10981 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
10982 Ruby 2.0.
10983 (ruby-font-lock-keywords): Distinguish calls to functions with
10984 module-like names from module references. Highlight character
10985 literals.
10986
10987 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
10988
10989 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
10990 (gdb-send): Handle continued commands. (Bug#14847)
10991
10992 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
10993
10994 * desktop.el (desktop--v2s): Remove unused local variable.
10995 (desktop-save-buffer): Make defvar-local; adjust docstring.
10996 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
10997 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
10998
10999 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11000
11001 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11002
11003 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11004
11005 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11006 (Bug#14842)
11007
11008 2013-07-12 Glenn Morris <rgm@gnu.org>
11009
11010 * doc-view.el: Require cl-lib at runtime too.
11011 (doc-view-remove-if): Remove.
11012 (doc-view-search-next-match, doc-view-search-previous-match):
11013 Use cl-remove-if.
11014
11015 * edmacro.el: Require cl-lib at runtime too.
11016 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11017 (edmacro-mismatch, edmacro-subseq): Remove.
11018
11019 * shadowfile.el: Require cl-lib.
11020 (shadow-remove-if): Remove.
11021 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11022 Use cl-remove-if.
11023
11024 * wid-edit.el: Require cl-lib.
11025 (widget-choose): Use cl-remove-if.
11026 (widget-remove-if): Remove.
11027
11028 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11029 (ebrowse-delete-if-not): Remove.
11030 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11031 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11032 Use cl-delete-if-not.
11033
11034 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11035
11036 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11037 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11038
11039 2013-07-12 Leo Liu <sdl.web@gmail.com>
11040
11041 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11042
11043 2013-07-11 Glenn Morris <rgm@gnu.org>
11044
11045 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11046 (edebug-gensym-index, edebug-gensym):
11047 Remove reimplementation of cl-gensym.
11048 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11049
11050 * thumbs.el: Require cl-lib at run-time too.
11051 (thumbs-gensym-counter, thumbs-gensym):
11052 Remove reimplementation of cl-gensym.
11053 (thumbs-temp-file): Use cl-gensym.
11054
11055 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11056 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11057 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11058 (ert--union, ert--gensym-counter, ert--gensym-counter)
11059 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11060 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11061 (ert-make-test-unbound, ert--expand-should-1)
11062 (ert--expand-should, ert--should-error-handle-error)
11063 (should-error, ert--explain-equal-rec)
11064 (ert--plist-difference-explanation, ert-select-tests)
11065 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11066 Use cl-lib functions rather than reimplementations.
11067
11068 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11069
11070 * net/tramp.el (tramp-methods): Extend docstring.
11071 (tramp-connection-timeout): New defcustom.
11072 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11073 (with-tramp-progress-reporter): Simplify.
11074 (tramp-process-actions): Improve messages.
11075
11076 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11077 * net/tramp-sh.el (tramp-maybe-open-connection):
11078 Use `tramp-connection-timeout'.
11079 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11080 (Bug#14808)
11081
11082 2013-07-11 Leo Liu <sdl.web@gmail.com>
11083
11084 * ido.el (ido-read-file-name): Conform to the requirements of
11085 read-file-name. (Bug#11861)
11086 (ido-read-directory-name): Conform to the requirements of
11087 read-directory-name.
11088
11089 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11090
11091 * subr.el (delay-warning): New function.
11092
11093 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11094
11095 * simple.el (default-line-height): New function.
11096 (line-move-partial, line-move): Use it instead of computing the
11097 line height inline.
11098 (line-move-partial): Always compute ROWH. If the last line is
11099 partially-visible, but its text is completely visible, allow
11100 cursor to enter such a partially-visible line.
11101
11102 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11103
11104 Improve error messages. (Bug#14808)
11105
11106 * net/tramp.el (tramp-current-connection): New defvar, moved from
11107 tramp-sh.el.
11108 (tramp-message-show-progress-reporter-message): Remove, not
11109 needed anymore.
11110 (tramp-error-with-buffer): Show message in minibuffer.
11111 Discard input before waiting. Reset connection timestamp.
11112 (with-tramp-progress-reporter): Improve messages.
11113 (tramp-process-actions): Use progress reporter. Delete process in
11114 case of error. Improve messages.
11115
11116 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11117 Call `tramp-error-with-buffer' with vector and buffer.
11118 (tramp-current-connection): Remove.
11119 (tramp-maybe-open-connection): The car of
11120 `tramp-current-connection' are the first 3 slots of the vector.
11121
11122 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11123
11124 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11125 inside continued strings.
11126
11127 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11128
11129 Timestamp fixes for undo (Bug#14824).
11130 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11131
11132 2013-07-10 Leo Liu <sdl.web@gmail.com>
11133
11134 * files.el (require-final-newline): Allow safe local value.
11135 (Bug#14834)
11136
11137 2013-07-09 Leo Liu <sdl.web@gmail.com>
11138
11139 * ido.el (ido-read-directory-name): Handle fallback.
11140 (ido-read-file-name): Update DIR to ido-current-directory.
11141 (Bug#1516)
11142 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11143
11144 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11145
11146 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11147 "autoload". Remove "warn lower camel case" section, previously
11148 commented out. Highlight negation char. Do not highlight the
11149 target in singleton method definitions.
11150
11151 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11152
11153 * faces.el (tty-setup-hook): Declare the hook.
11154
11155 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11156 and detect when a guard/pred depends on local vars (bug#14773).
11157 (pcase--u1): Adjust caller.
11158
11159 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11160
11161 * simple.el (line-move-partial, line-move): Account for
11162 line-spacing.
11163 (line-move-partial): Avoid setting vscroll when the last
11164 partially-visible line in window is of default height.
11165
11166 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11167
11168 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11169 been used a while.
11170
11171 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11172
11173 * subr.el (read-quoted-char): Remove unused local variable `char'.
11174
11175 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11176
11177 * vc/ediff.el (ediff-version): Version update.
11178 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11179 (ediff-merge-with-ancestor-command, ediff-directories-command)
11180 (ediff-directories3-command, ediff-merge-directories-command)
11181 (ediff-merge-directories-with-ancestor-command): New functions.
11182 All are command-line interfaces to ediff: to facilitate calling
11183 Emacs with the appropriate ediff functions invoked.
11184
11185 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
11186 New function.
11187 (viper-save-kill-buffer): Check if buffer is modified.
11188
11189 * emulation/viper.el (viper-version): Version update.
11190 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11191
11192 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11193
11194 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11195 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
11196 (viper-intercept-ESC-key): Simplify.
11197 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
11198 don't use kbd.
11199 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
11200 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11201 (viper-setup-ESC-to-escape): New functions.
11202 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11203 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11204
11205 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11206
11207 * simple.el (default-font-height, window-screen-lines):
11208 New functions.
11209 (line-move, line-move-partial): Use them instead of
11210 frame-char-height and window-text-height. This makes scrolling
11211 text smoother when the buffer's default face uses a font that is
11212 different from the frame's default font.
11213
11214 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11215
11216 * files.el (write-file): Do not display confirm dialog for NS,
11217 it does its own dialog, which can't be canceled (Bug#14578).
11218
11219 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11220
11221 * simple.el (line-move-partial): Adjust the row returned by
11222 posn-at-point for the current window-vscroll. (Bug#14567)
11223
11224 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11225
11226 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11227 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11228 spaces.
11229
11230 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11231
11232 * window.el (window-state-put-stale-windows): New variable.
11233 (window--state-put-2): Save list of windows without matching buffer.
11234 (window-state-put): Remove "bufferless" windows if possible.
11235
11236 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11237
11238 * simple.el (alternatives-define): Remove leftover :group keyword.
11239 Tweak docstring.
11240
11241 2013-07-06 Leo Liu <sdl.web@gmail.com>
11242
11243 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11244 (ido-enable-virtual-buffers): New variable.
11245 (ido-buffer-internal, ido-toggle-virtual-buffers)
11246 (ido-make-buffer-list): Use it.
11247 (ido-exhibit): Support turning on and off virtual buffers
11248 automatically.
11249
11250 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11251
11252 * simple.el (alternatives-define): New macro.
11253
11254 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11255
11256 * subr.el (read-quoted-char): Use read-key.
11257 (sit-for): Let read-event decode tty input (bug#14782).
11258
11259 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11260
11261 * calendar/todo-mode.el: Add handling of file deletion, both by
11262 mode command and externally. Fix various related bugs.
11263 Clarify Commentary and improve some documentation strings and code.
11264 (todo-delete-file): New command.
11265 (todo-check-file): New function.
11266 (todo-show): Handle external deletion of the file we're trying to
11267 show (bug#14688). Replace called-interactively-p by an optional
11268 prefix argument to avoid problematic interaction with catch form
11269 when byte compiled (bug#14702).
11270 (todo-quit): Handle external deletion of the archive's todo file.
11271 Make sure the buffer that was visiting the archive file is still
11272 live before trying to bury it.
11273 (todo-category-completions): Handle external deletion of any
11274 category completion files.
11275 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11276 of todo files, in case of external deletion.
11277 (todo-add-file): Replace unnecessary setq by let-binding.
11278 (todo-find-archive): Check whether there are any archives.
11279 Replace unnecessary setq by let-binding.
11280 (todo-archive-done-item): Use find-file-noselect to get the
11281 archive buffer whether or not the archive already exists.
11282 Remove superfluous code. Use file size instead of buffer-file-name to
11283 check if the archive is new; if it is, update list of archives.
11284 (todo-default-todo-file): Allow nil to be a valid value for when
11285 there are no todo files.
11286 (todo-reevaluate-default-file-defcustom): Use corrected definition
11287 of todo-default-todo-file.
11288 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11289 (todo-delete-category, todo-show-categories-table)
11290 (todo-category-number): Clarify comment.
11291 (todo-filter-items): Clarify documentation string.
11292 (todo-show-current-file, todo-display-as-todo-file)
11293 (todo-reset-and-enable-done-separator): Tweak documentation string.
11294 (todo-done-separator): Make separator length window-width, since
11295 bug#2749 is now fixed.
11296
11297 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11298
11299 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11300 Support both "gvfs-monitor-dir" and "inotifywait".
11301 (tramp-sh-file-inotifywait-process-filter): Rename from
11302 `tramp-sh-file-notify-process-filter'.
11303 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11304 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11305
11306 2013-07-05 Leo Liu <sdl.web@gmail.com>
11307
11308 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11309
11310 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11311
11312 * frame.el (display-pixel-height, display-pixel-width)
11313 (display-mm-height, display-mm-width): Mention behavior on
11314 multi-monitor setups in docstrings.
11315 (w32-display-monitor-attributes-list): Declare function.
11316 (display-monitor-attributes-list): Use it.
11317
11318 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11319
11320 * filenotify.el: New package.
11321
11322 * autorevert.el (top): Require filenotify.el.
11323 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11324 instead.
11325 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11326 (auto-revert-notify-handler): Use `file-notify-*' functions.
11327
11328 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11329
11330 * net/tramp.el (tramp-file-name-for-operation):
11331 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11332
11333 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11334 for `file-notify-add-watch' and `file-notify-rm-watch'.
11335 (tramp-process-sentinel): Improve trace.
11336 (tramp-sh-handle-file-notify-add-watch)
11337 (tramp-sh-file-notify-process-filter)
11338 (tramp-sh-handle-file-notify-rm-watch)
11339 (tramp-get-remote-inotifywait): New defuns.
11340
11341 2013-07-03 Juri Linkov <juri@jurta.org>
11342
11343 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11344 call of `occur-read-primary-args' to interactive spec.
11345
11346 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11347 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11348
11349 2013-07-03 Matthias Meulien <orontee@gmail.com>
11350
11351 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11352 `Buffer-menu-multi-occur'. Add it to the menu.
11353 (Buffer-menu-mode): Document it in docstring.
11354 (Buffer-menu-multi-occur): New command. (Bug#14673)
11355
11356 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11357
11358 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11359 keywords and built-ins.
11360
11361 2013-07-03 Glenn Morris <rgm@gnu.org>
11362
11363 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11364
11365 Make info-xref checks case-sensitive by default
11366 * info.el (Info-find-node, Info-find-in-tag-table)
11367 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11368 Add option for exact case matching of nodes.
11369 * info-xref.el (info-xref): New custom group.
11370 (info-xref-case-fold): New option.
11371 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11372
11373 2013-07-03 Leo Liu <sdl.web@gmail.com>
11374
11375 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11376
11377 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11378
11379 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11380 middle of block statement initially, lower the depth. Remove
11381 FIXME comment, not longer valid. Remove middle of block statement
11382 detection, no need to do that anymore since we've been using
11383 `ruby-parse-region' here.
11384
11385 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11386
11387 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11388
11389 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11390
11391 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11392
11393 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11394
11395 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11396 (desktop-restore-in-current-display): New customization option.
11397 (desktop--excluded-frame-parameters): Add `font'.
11398 (desktop--save-frames): Rename from desktop--save-windows.
11399 (desktop--restore-in-this-display-p): New function.
11400 (desktop--make-full-frame): Remove unwanted width/height from
11401 full(width|height) frames.
11402 (desktop--restore-frames): Rename from desktop--restore-windows.
11403 Obey desktop-restore-current-display. Do not delete old frames or
11404 select a new frame unless we were able to restore at least one frame.
11405
11406 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11407
11408 * files.el (find-file-noselect): Simplify conditional expression.
11409
11410 * textmodes/remember.el (remember-append-to-file):
11411 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11412
11413 Add `remember-notes' function to store random notes across Emacs
11414 restarts.
11415 * textmodes/remember.el (remember-data-file): Add :set callback to
11416 affect notes buffer (if any).
11417 (remember-notes): New command.
11418 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11419 New defcustoms for the `remember-notes' function.
11420 (remember-notes-save-and-bury-buffer): New command.
11421 (remember-notes-mode-map): New variable.
11422 (remember-mode): New minor mode.
11423 (remember-notes--kill-buffer-query): New function.
11424 * startup.el (initial-buffer-choice): Add notes to custom type.
11425
11426 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11427
11428 * bindings.el (right-char, left-char): Don't call sit-for, this is
11429 no longer needed. Use arithmetic comparison only for numerical
11430 arguments.
11431
11432 * international/mule-cmds.el (select-safe-coding-system):
11433 Handle the case of FROM being a string correctly. (Bug#14755)
11434
11435 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11436
11437 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11438 progression on degenerate tables.
11439 (shr-rescale-image): ImageMagick animated images currently don't work.
11440
11441 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11442
11443 Some fixes and improvements for desktop frame restoration.
11444 It is still experimental and disabled by default.
11445 * desktop.el (desktop--save-windows): Put the selected frame at
11446 the head of the list.
11447 (desktop--make-full-frame): New function.
11448 (desktop--restore-windows): Try to re-select the frame that was
11449 selected upon saving. Do not abort if some frames fail to restore,
11450 just show an error message and continue. Set up maximized frames
11451 so they have default non-maximized dimensions.
11452
11453 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11454
11455 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11456 Don't start heredoc inside a string or comment.
11457
11458 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11459
11460 * bindings.el (visual-order-cursor-movement): New defcustom.
11461 (right-char, left-char): Provide visual-order cursor motion by
11462 calling move-point-visually. Update the doc strings.
11463
11464 2013-06-28 Kenichi Handa <handa@gnu.org>
11465
11466 * international/mule.el (define-coding-system): New coding system
11467 properties :inhibit-null-byte-detection,
11468 :inhibit-iso-escape-detection, and :prefer-utf-8.
11469 (set-buffer-file-coding-system): If :charset-list property of
11470 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11471 appropriate for setting.
11472
11473 * international/mule-cmds.el (select-safe-coding-system):
11474 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11475 multibyte characters, return utf-8 (or one of its siblings).
11476
11477 * international/mule-conf.el (prefer-utf-8): New coding system.
11478 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11479 files.
11480
11481 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11482
11483 * net/shr.el (shr-render-region): New function.
11484
11485 * net/eww.el: Autoload `eww-browse-url'.
11486
11487 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11488
11489 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11490 Adapt to `package-desc-version' being a list.
11491 Use `package--ac-desc-version' to retrieve version from a package
11492 archive element.
11493
11494 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11495
11496 New experimental feature to save&restore window and frame setup.
11497 * desktop.el (desktop-save-windows): New defcustom.
11498 (desktop--saved-states): New var.
11499 (desktop--excluded-frame-parameters): New defconst.
11500 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11501 (desktop--restore-windows, desktop--save-windows): New functions.
11502 (desktop-save): Call `desktop--save-windows'.
11503 (desktop-read): Call `desktop--restore-windows'.
11504
11505 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11506
11507 * net/shr.el (add-face-text-property): Remove compat definition.
11508
11509 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11510
11511 * info.el (Info-try-follow-nearest-node): Move search for footnote
11512 above search for node name to prevent missing a footnote (bug#14717).
11513
11514 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11515
11516 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11517
11518 2013-06-27 Leo Liu <sdl.web@gmail.com>
11519
11520 * net/eww.el (eww-read-bookmarks): Check file size.
11521
11522 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11523
11524 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11525 advice--pending if newdef is nil or an autoload (bug#13820).
11526 (advice-mapc): New function.
11527
11528 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11529
11530 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11531 probably.
11532 (eww-mode-map): Add a menu bar.
11533 (eww-add-bookmark): New command.
11534 (eww-bookmark-mode): New mode and commands.
11535 (eww-add-bookmark): Remove newlines from the title.
11536 (eww-bookmark-browse): Don't bug out if it's the only window.
11537
11538 2013-06-26 Glenn Morris <rgm@gnu.org>
11539
11540 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11541 (hfy-size): Handle ttys. (Bug#14668)
11542
11543 * info-xref.el: Update for Texinfo 5 change in *note format.
11544 (info-xref-node-re, info-xref-note-re): New constants.
11545 (info-xref-check-buffer): Use info-xref-note-re.
11546
11547 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11548
11549 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11550
11551 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11552 nil terminate the loop (bug#14718).
11553
11554 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11555
11556 * net/eww.el: Rework history traversal. When going forward/back,
11557 put these actions into the history, too, so that they can be
11558 replayed.
11559 (eww-render): Move the history reset to the correct buffer.
11560
11561 2013-06-25 Juri Linkov <juri@jurta.org>
11562
11563 * files-x.el (modify-dir-local-variable): Change the header comment
11564 in the file with directory local variables. (Bug#14692)
11565
11566 * files-x.el (read-file-local-variable-value): Add `default'.
11567 (Bug#14710)
11568
11569 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11570
11571 * net/eww.el (eww-make-unique-file-name): Create a unique file
11572 name before saving to entering `y' accidentally asynchronously.
11573
11574 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11575
11576 * net/eww.el (eww-download): New command and keystroke.
11577
11578 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11579
11580 * net/eww.el (eww-copy-page-url): Change name of command.
11581
11582 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11583 be more consistent with Info and dired.
11584
11585 * net/eww.el (eww-mode-map): Ditto.
11586
11587 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11588
11589 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11590 packages from archives.
11591 (package-archive-contents): Change format; include obsolete packages.
11592 (package-desc): Use `dir' to mark builtin packages.
11593 (package--from-builtin): Set the `dir' field to `builtin'.
11594 (generated-autoload-file, version-control): Declare.
11595 (package-compute-transaction): Change first arg and return value to be
11596 lists of package-descs. Adjust to new package-archive-contents format.
11597 (package--add-to-archive-contents): Adjust to new
11598 package-archive-contents format.
11599 (package-download-transaction): Arg is now a list of package-descs.
11600 (package-install): If `pkg' is a package name, pass it as
11601 a requirement, so it is subject to the usual (e.g. disabled) checks.
11602 (describe-package): Accept package-desc as well.
11603 (describe-package-1): Describe a specific package-desc. Add links to
11604 other package-descs for the same package name.
11605 (package-menu-describe-package): Pass the actual package-desc.
11606 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11607 works correctly.
11608 (package-desc-status): New function.
11609 (package-menu--refresh): New function, extracted
11610 from package-menu--generate.
11611 (package-menu--generate): Use it.
11612 (package-delete): Update package-alist.
11613 (package-menu-execute): Don't call package-initialize.
11614
11615 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11616 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11617 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11618 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11619 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11620 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11621
11622 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11623
11624 * window.el (window--state-get-1): Workaround for bug#14527.
11625 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11626
11627 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11628
11629 * net/eww.el (eww-back-url): Implement the history by stashing all
11630 the data into a list.
11631 (eww-forward-url): Allow going forward in the history, too.
11632
11633 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11634
11635 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11636 for values and use read--expression for expressions (bug#14710).
11637 (read-file-local-variable): Avoid setq.
11638 (read-file-local-variable-mode): Use minor-mode-list.
11639
11640 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11641
11642 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11643 for DOI URLs.
11644
11645 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11646
11647 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11648 Update imenu-support when dialect changes.
11649
11650 2013-06-25 Leo Liu <sdl.web@gmail.com>
11651
11652 * ido.el (ido-read-internal): Allow forward slash on windows.
11653
11654 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11655
11656 * net/eww.el (eww): Start of strings is \\`, not ^.
11657
11658 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11659
11660 * net/shr.el (shr-browse-url): Fix interactive spec.
11661
11662 * net/eww.el (eww): Add a trailing slash to domain names.
11663
11664 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11665
11666 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11667
11668 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11669
11670 * net/shr.el (shr-browse-url): Use an external browser if given a
11671 prefix.
11672
11673 * net/eww.el (eww-external-browser): Move to shr.
11674
11675 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11676
11677 * net/eww.el (eww): Work more correctly for file: URLs.
11678 (eww-detect-charset): Allow quoted charsets.
11679 (eww-yank-page-url): New command and keystroke.
11680
11681 2013-06-24 Daiki Ueno <ueno@gnu.org>
11682
11683 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11684 file name of gpg executable.
11685 (epg-context-program): New function.
11686 (epg-context-home-directory): New function.
11687 (epg-context-set-program): New function.
11688 (epg-context-set-home-directory): New function.
11689 (epg--start): Use `epg-context-program' instead of
11690 'epg-gpg-program'.
11691 (epg--list-keys-1): Likewise.
11692
11693 2013-06-24 Leo Liu <sdl.web@gmail.com>
11694
11695 * ido.el (ido-read-internal): Fix bug#14620.
11696
11697 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11698
11699 * faces.el (face-documentation): Simplify.
11700 (read-face-attribute, tty-find-type, x-resolve-font-name):
11701 Use `string-match-p'.
11702 (list-faces-display): Use `string-match-p'. Simplify.
11703 (face-spec-recalc): Check face to avoid face alias loops.
11704 (read-color): Use `string-match-p' and non-capturing parenthesis.
11705
11706 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11707
11708 * net/shr.el (shr-rescale-image): Use the new
11709 :max-width/:max-height functionality.
11710
11711 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11712
11713 * net/eww.el (eww-search-prefix): New variable.
11714 (eww): Use it.
11715 (eww-external-browser): New variable.
11716 (eww-mode-map): New keystroke.
11717 (eww-browse-with-external-browser): New command.
11718
11719 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11720
11721 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11722
11723 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11724 Don't skip aligning the next header field when padding is 0;
11725 otherwise, field width is not respected unless the title is as
11726 wide as the field.
11727
11728 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11729
11730 * emacs-lisp/package.el (package-el-version): Remove.
11731 (package-process-define-package): Fix inf-loop.
11732 (package-install): Allow symbols as arguments again.
11733
11734 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11735
11736 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11737 add some more keyword-like methods.
11738 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11739
11740 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11741
11742 * bs.el (bs-buffer-show-mark): Make defvar-local.
11743 (bs-mode): Use setq-local.
11744
11745 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11746 (emacs-lock--try-unlocking): Make defvar-local.
11747
11748 2013-06-22 Glenn Morris <rgm@gnu.org>
11749
11750 * play/cookie1.el (cookie-apropos): Minor simplification.
11751
11752 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11753
11754 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11755
11756 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11757 `regexp-opt', it breaks the build during dumping.
11758
11759 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11760
11761 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11762 Highlight keyword-like methods on Kernel and Module with
11763 font-lock-builtin-face.
11764 (auto-mode-alist): Consolidate different entries into one regexp
11765 and add more *file-s.
11766
11767 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11768
11769 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11770
11771 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11772 (diary-entry): Use it in the action of this button type instead of
11773 diary-goto-entry.
11774
11775 * calendar/todo-mode.el: New version.
11776 (todo-add-category): Append new category to end of file and give
11777 it the highest number, instead of putting it at the beginning and
11778 giving it 0. Incorporate noninteractive functionality.
11779 (todo-forward-category): Adapt to 1-based category numbering.
11780 Allow skipping over archived categories.
11781 (todo-backward-category): Derive from todo-forward-category.
11782 (todo-backward-item, todo-forward-item): Make noninteractive and
11783 delegate interactive part to new commands. Make sensitive to done items.
11784 (todo-categories): Make value an alist of category names and
11785 vectors of item counts.
11786 (todo-category-beg): Make a defconst.
11787 (todo-category-number): Use 1 instead of 0 as initial value.
11788 (todo-category-select): Make sensitive to overlays, optional item
11789 highlighting and done items.
11790 (todo-delete-item): Make sensitive to overlays and marked and done items.
11791 (todo-edit-item): Make sensitive to overlays and editing of
11792 date/time header optional. Add format checks.
11793 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11794 no-op if point is not on an item. Advertise using todo-edit-quit.
11795 (todo-edit-mode): Make sensitive to new format, font-locking, and
11796 multiple todo files.
11797 (todo-insert-item, todo-insert-item-here): Derive from
11798 todo-basic-insert-item and extend functionality.
11799 (todo-item-end, todo-item-start): Make sensitive to done items.
11800 (todo-item-string): Don't return text properties. Restore point.
11801 (todo-jump-to-category): Make sensitive to multiple todo files and
11802 todo archives. Use extended category completion.
11803 (todo-lower-item, todo-raise-item): Rename to *-priority and
11804 derive from todo-set-item-priority.
11805 (todo-mode): Derive from special-mode. Make sensitive to new
11806 format, font-locking and multiple todo files. Make read-only.
11807 (todo-mode-map): Don't suppress digit keys, so they can supply
11808 prefix arguments. Add many new key bindings.
11809 (todo-prefix): Insert as an overlay instead of file text.
11810 Change semantics from diary date expression to purely visual mark.
11811 (todo-print): Rename to todo-print-buffer. Make buffer display
11812 features printable. Remove option to restrict number of items
11813 printed. Add option to print to file.
11814 (todo-print-function): Rename to todo-print-buffer-function.
11815 (todo-quit): Extend to handle exiting new todo modes.
11816 (todo-remove-item): Make sensitive to overlays.
11817 (todo-save): Extend to buffers of filtered items.
11818 (todo-show): Make sensitive to done items, multiple todo files and
11819 new todo modes. Offer to convert legacy todo file before creating
11820 first new todo file.
11821 (todo-show-priorities): Rename to todo-top-priorities.
11822 Change semantics of value 0.
11823 (todo-top-priorities): Rename to todo-filter-top-priorities,
11824 derive from todo-filter-items and extend functionality.
11825 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11826 and extend functionality to other types of filtered items.
11827 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11828 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11829 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11830 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11831 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11832 (todo-edit-mode-hook, todo-entry-prefix-function)
11833 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11834 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11835 (todo-initials, todo-insert-threshold, todo-item-string-start)
11836 (todo-line-string, todo-menu, todo-mode-hook)
11837 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11838 (todo-print-priorities, todo-remove-separator)
11839 (todo-save-top-priorities-too, todo-string-count-lines)
11840 (todo-string-multiline-p, todo-time-string-format)
11841 (todo-tmp-buffer-name): Remove.
11842 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11843 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11844 (todo-edit-category-diary-inclusion)
11845 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11846 (todo-edit-file, todo-edit-item-date-day)
11847 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11848 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11849 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11850 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11851 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11852 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11853 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11854 (todo-filter-top-priorities-multifile, todo-find-archive)
11855 (todo-find-filtered-items-file, todo-go-to-source-item)
11856 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11857 (todo-jump-to-archive-category, todo-lower-category)
11858 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11859 (todo-move-category, todo-move-item, todo-next-button)
11860 (todo-next-item, todo-padded-string, todo-powerset)
11861 (todo-previous-button, todo-previous-item)
11862 (todo-print-buffer-to-file, todo-raise-category)
11863 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11864 (todo-set-category-number, todo-set-item-priority)
11865 (todo-set-top-priorities-in-category)
11866 (todo-set-top-priorities-in-file, todo-show-categories-table)
11867 (todo-sort-categories-alphabetically-or-numerically)
11868 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11869 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11870 (todo-toggle-item-header, todo-toggle-item-highlighting)
11871 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11872 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11873 (todo-unarchive-items, todo-unmark-category): New commands.
11874 (todo-absolute-file-name, todo-add-to-buffer-list)
11875 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11876 (todo-basic-insert-item, todo-category-completions)
11877 (todo-category-number, todo-category-string-matcher-1)
11878 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11879 (todo-check-format, todo-clear-matches)
11880 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11881 (todo-current-category, todo-date-string-matcher)
11882 (todo-define-insertion-command, todo-diary-expired-matcher)
11883 (todo-diary-goto-entry, todo-diary-item-p)
11884 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11885 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11886 (todo-done-item-section-p, todo-done-separator)
11887 (todo-done-string-matcher, todo-files, todo-filter-items)
11888 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11889 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11890 (todo-insert-category-line, todo-insert-item-from-calendar)
11891 (todo-insert-sort-button, todo-insert-with-overlays)
11892 (todo-insertion-command-name, todo-insertion-key-bindings)
11893 (todo-label-to-key, todo-longest-category-name-length)
11894 (todo-make-categories-list, todo-mode-external-set)
11895 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11896 (todo-modes-set-3, todo-multiple-filter-files)
11897 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11898 (todo-read-category, todo-read-date, todo-read-dayname)
11899 (todo-read-file-name, todo-read-time)
11900 (todo-reevaluate-category-completions-files-defcustom)
11901 (todo-reevaluate-default-file-defcustom)
11902 (todo-reevaluate-filelist-defcustoms)
11903 (todo-reevaluate-filter-files-defcustom)
11904 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11905 (todo-reset-done-separator, todo-reset-done-separator-string)
11906 (todo-reset-done-string, todo-reset-global-current-todo-file)
11907 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11908 (todo-reset-prefix, todo-set-categories)
11909 (todo-set-date-from-calendar, todo-set-show-current-file)
11910 (todo-set-top-priorities, todo-short-file-name)
11911 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11912 (todo-total-item-counts, todo-update-buffer-list)
11913 (todo-update-categories-display, todo-update-categories-sexp)
11914 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11915 New functions.
11916 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11917 New major modes.
11918 (todo-categories, todo-display, todo-edit, todo-faces)
11919 (todo-filtered): New defgroups.
11920 (todo-archived-only, todo-button, todo-category-string, todo-date)
11921 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11922 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11923 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11924 (todo-add-item-if-new-category, todo-always-add-time-string)
11925 (todo-categories-align, todo-categories-archived-label)
11926 (todo-categories-category-label, todo-categories-diary-label)
11927 (todo-categories-done-label, todo-categories-number-separator)
11928 (todo-categories-todo-label, todo-categories-totals-label)
11929 (todo-category-completions-files, todo-completion-ignore-case)
11930 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11931 (todo-done-separator-string, todo-done-string)
11932 (todo-files-function, todo-filter-done-items, todo-filter-files)
11933 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11934 (todo-initial-category, todo-initial-file, todo-item-mark)
11935 (todo-legacy-date-time-regexp, todo-mode-line-function)
11936 (todo-nondiary-marker, todo-number-prefix)
11937 (todo-print-buffer-function, todo-show-current-file)
11938 (todo-show-done-only, todo-show-first, todo-show-with-done)
11939 (todo-skip-archived-categories, todo-top-priorities-overrides)
11940 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
11941 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
11942 New defcustoms.
11943 (todo-category-done, todo-date-pattern, todo-date-string-start)
11944 (todo-diary-items-buffer, todo-done-string-start)
11945 (todo-filtered-items-buffer, todo-item-start)
11946 (todo-month-abbrev-array, todo-month-name-array)
11947 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
11948 (todo-top-priorities-buffer): New defconsts.
11949 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
11950 (todo-categories-with-marks, todo-category-string-face)
11951 (todo-comment-face, todo-comment-string, todo-current-todo-file)
11952 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
11953 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
11954 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
11955 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
11956 (todo-font-lock-keywords, todo-global-current-todo-file)
11957 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
11958 (todo-insertion-commands-args)
11959 (todo-insertion-commands-args-genlist)
11960 (todo-insertion-commands-names, todo-insertion-map)
11961 (todo-key-bindings-t, todo-key-bindings-t+a)
11962 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
11963 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
11964 (todo-nondiary-face, todo-print-buffer, todo-time-face)
11965 (todo-visited): New variables.
11966
11967 2013-06-21 Glenn Morris <rgm@gnu.org>
11968
11969 * play/cookie1.el (cookie-apropos): Add optional display argument.
11970 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
11971 (psychoanalyze-pinhead): Use cookie-doctor.
11972
11973 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
11974
11975 * emacs-lisp/package.el (tar-get-file-descriptor)
11976 (tar--extract): Declare.
11977
11978 2013-06-21 Eduard Wiebe <usenet@pusto.de>
11979
11980 Extend flymake's warning predicate to be a function (bug#14217).
11981 * progmodes/flymake.el (flymake-warning-predicate): New.
11982 (flymake-parse-line): Use it.
11983 (flymake-warning-re): Make obsolete alias to
11984 `flymake-warning-predicate'.
11985
11986 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
11987
11988 * emacs-lisp/package.el (package-alist): Include obsolete packages.
11989 (package-obsolete-list): Remove.
11990 (package-activate): Remove min-version argument. Add `force' argument.
11991 Adjust to new package-alist format.
11992 (package-mark-obsolete): Remove.
11993 (package-unpack): Force reload of the package's autoloads.
11994 (package-installed-p): Check builtins if the installed package is not
11995 recent enough.
11996 (package-initialize): Don't reset package-obsolete-list.
11997 Don't specify which package version to activate.
11998 (package-process-define-package, describe-package-1)
11999 (package-menu--generate): Adjust to new package-alist format.
12000
12001 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12002
12003 * allout-widgets.el (allout-widgets-mode-off)
12004 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12005 (allout-widgets-post-command-business)
12006 (allout-widgets-after-copy-or-kill-function)
12007 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12008 (allout-decorate-item-and-context)
12009 (allout-graphics-modification-handler): Fix typos in docstrings.
12010 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12011
12012 * cmuscheme.el (scheme-start-file): Doc fix.
12013 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12014 (scheme-input-filter): Use `string-match-p'.
12015
12016 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12017
12018 * dired-x.el: Use Dired consistently in docstrings.
12019
12020 * dired.el: Use Dired consistently in docstrings.
12021 (dired-readin, dired-mode): Use `setq-local'.
12022 (dired-switches-alist): Make defvar-local.
12023 (dired-buffers-for-dir): Use `zerop'.
12024 (dired-safe-switches-p, dired-switches-escape-p)
12025 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12026 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12027 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12028 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12029 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12030 (dired-toggle-marks, dired-mark-files-containing-regexp)
12031 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12032 (dired-flag-auto-save-files, dired-flag-backup-files):
12033 Use `looking-at-p'.
12034 (dired-mark-files-regexp, dired-build-subdir-alist):
12035 Use `string-match-p', `looking-at-p'.
12036
12037 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12038 (direct-print-region-helper): Use `string-match-p'.
12039
12040 2013-06-21 Leo Liu <sdl.web@gmail.com>
12041
12042 * comint.el (comint-redirect-results-list-from-process):
12043 Fix infinite loop.
12044
12045 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12046
12047 * net/eww.el (eww-update-header-line-format): Quote % characters.
12048
12049 2013-06-21 Glenn Morris <rgm@gnu.org>
12050
12051 * play/cookie1.el (cookie): New custom group.
12052 (cookie-file): New option.
12053 (cookie-check-file): New function.
12054 (cookie): Make it interactive. Make start and end messages optional.
12055 Interactively, display the result. Default to cookie-file.
12056 (cookie-insert): Default to cookie-file.
12057 (cookie-snarf): Make start and end messages optional.
12058 Default to cookie-file. Use with-temp-buffer.
12059 (cookie-read): Rename from read-cookie.
12060 Make start and end messages optional. Default to cookie-file.
12061 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12062 Do not autoload it.
12063 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12064 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12065
12066 2013-06-21 Leo Liu <sdl.web@gmail.com>
12067
12068 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12069
12070 2013-06-21 Glenn Morris <rgm@gnu.org>
12071
12072 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12073
12074 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12075 Daniel Hackney <dan@haxney.org>
12076
12077 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12078 Consolidate the single-file vs tarball code.
12079 (package-desc-suffix): New function.
12080 (package-desc-full-name): Don't bother inlining it.
12081 (package-load-descriptor): Return the new package-desc.
12082 (package-mark-obsolete): Remove unused arg `package'.
12083 (package-unpack): Make it work for single files as well.
12084 Make it update package-alist.
12085 (package--make-autoloads-and-stuff): Rename from
12086 package--make-autoloads-and-compile. Don't compile any more.
12087 (package--compile): New function.
12088 (package-generate-description-file): New function, extracted from
12089 package-unpack-single.
12090 (package-unpack-single): Remove.
12091 (package--with-work-buffer): Add indentation and debugging info.
12092 (package-download-single): Remove.
12093 (package-install-from-archive): Rename from package-download-tar, make
12094 it take a pkg-desc, and make it work for single files as well.
12095 (package-download-transaction): Simplify.
12096 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12097 external tar program.
12098 (package-install-from-buffer): Remove `pkg-desc' argument.
12099 Use package-tar-file-info for tar-mode buffers.
12100 (package-install-file): Simplify accordingly.
12101 (package-archive-base): Change to take a pkg-desc.
12102 * tar-mode.el (tar--check-descriptor): New function, extracted from
12103 tar-get-descriptor.
12104 (tar-get-descriptor): Use it.
12105 (tar-get-file-descriptor): New function.
12106 (tar--extract): New function, extracted from tar-extract.
12107 (tar--extract): Use it.
12108 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12109 case the summary uses non-ascii. Adjust to new calling convention of
12110 package-tar-file-info.
12111
12112 2013-06-21 Leo Liu <sdl.web@gmail.com>
12113
12114 * comint.el (comint-redirect-results-list-from-process):
12115 Fix random delay. (Bug#14681)
12116
12117 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12118
12119 * profiler.el (profiler-format-number): Use log, not log10.
12120
12121 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12122
12123 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12124
12125 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12126
12127 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12128 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12129 yet available.
12130 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12131 (AUTOGENEL): ... here.
12132 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12133 (cl--defsubst-expand): Use it.
12134
12135 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12136
12137 * subr.el (log10): Move here from C code, and declare as obsolete.
12138 All uses of (log10 X) replaced with (log X 10).
12139
12140 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12141
12142 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12143 Declare with `defvar-local'.
12144 (tabulated-list-use-header-line, tabulated-list-entries)
12145 (tabulated-list-padding, tabulated-list-printer)
12146 (tabulated-list-sort-key): Declare with `defvar-local'.
12147 (tabulated-list-init-header, tabulated-list-print-fake-header):
12148 Use `setq-local'.
12149
12150 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12151
12152 * arc-mode.el (archive-mode): Add `archive-write-file' to
12153 `write-contents-functions' also for remote files. (Bug#14652)
12154
12155 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12156
12157 * cus-edit.el (custom-commands): Fix typos.
12158 (custom-display): Fix tooltip text.
12159 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12160 Fix typos in docstrings.
12161 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12162 (custom-unlispify-menu-entry, custom-magic-value-create)
12163 (custom-add-see-also, custom-group-value-create): Use ?\s.
12164 (custom-guess-type, customize-apropos, editable-field)
12165 (custom-face-value-create): Use `string-match-p'.
12166 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12167
12168 * custom.el (custom-load-symbol): Use `string-match-p'.
12169
12170 * ansi-color.el: Convert to lexical binding.
12171 (ansi-colors): Fix URL.
12172 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12173 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12174 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12175
12176 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12177
12178 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12179
12180 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12181
12182 2013-06-19 Tom Tromey <tromey@redhat.com>
12183
12184 * net/eww.el (eww-top-url): Remove.
12185 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12186 (eww-render): Set new variables. Don't set eww-top-url.
12187 (eww-handle-link): Handle "prev", "home", and "contents".
12188 Downcase the rel text.
12189 (eww-top-url): Choose best top URL.
12190
12191 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12192
12193 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12194 relying in widget.el. Using widget.el leads to too many
12195 user interface inconsistencies.
12196 (eww-self-insert): Implement entering commands in text fields.
12197 (eww-process-text-input): New function to make text input field editing
12198 work.
12199 (eww-submit): Rewrite to use the new-style form methods.
12200 (eww-select-display): Display the correct selected item.
12201 (eww-change-select): Implement changing the select value.
12202 (eww-toggle-checkbox): Implement radio/checkboxes.
12203 (eww-update-field): Fix compilation error.
12204 (eww-tag-textarea): Implement <textarea>.
12205
12206 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12207 we don't shadow mode-specific bindings.
12208
12209 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12210 nothing to push.
12211
12212 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12213
12214 2013-06-19 Glenn Morris <rgm@gnu.org>
12215
12216 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12217
12218 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12219
12220 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12221 not needed.
12222
12223 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12224
12225 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12226
12227 * net/browse-url.el (browse-url-browser-function):
12228 `eww-browse-url' has the right calling signature, `eww' does not.
12229
12230 2013-06-19 Glenn Morris <rgm@gnu.org>
12231
12232 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12233 Only eval autoloaded macros.
12234 (byte-compile-autoload): Only give the macro warning for macros.
12235
12236 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12237 (ps-underlined-faces): Declare.
12238
12239 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12240 (speedbar-add-supported-extension): Declare.
12241
12242 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12243 Don't include a date stamp in the header of the generated file;
12244 it leads to needless differences between output files.
12245
12246 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12247
12248 * net/secrets.el (secrets-struct-secret-content-type):
12249 Replace check of introspection data by a test call of "CreateItem".
12250 Some servers do not offer introspection.
12251
12252 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12253
12254 * electric.el (electric-pair-mode): Improve interaction with
12255 electric-layout-mode.
12256 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12257 (electric-pair-syntax): Use text-mode-syntax-table in comments
12258 and strings.
12259 (electric-pair--insert): New function.
12260 (electric-pair-post-self-insert-function): Use it and
12261 electric--after-char-pos.
12262
12263 2013-06-19 Leo Liu <sdl.web@gmail.com>
12264
12265 * progmodes/octave.el (octave-help): Fix regexp.
12266
12267 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12268
12269 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12270 (shr-table-horizontal-line): Allow nil as a value, and change the
12271 default.
12272 (shr-insert-table-ruler): Respect the nil value.
12273
12274 2013-06-18 Tom Tromey <tromey@barimba>
12275
12276 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12277 New defvars.
12278 (eww-open-file): New defun.
12279 (eww-render): Initialize new variables.
12280 (eww-display-html): Handle "link" and "a".
12281 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12282 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12283 (eww-back-url): Rename from eww-previous-url.
12284 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12285 New defuns.
12286
12287 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12288
12289 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12290 Distinguish ternary operator tokens from slash symbol and slash
12291 char literal.
12292
12293 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12294
12295 Convert symbol prettification into minor mode and global minor mode.
12296
12297 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12298 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12299 (prettify-symbols--keywords): Rename from
12300 `prog-prettify-symbols-alist' and make a local defvar.
12301 (prettify-symbols--compose-symbol): Rename from
12302 `prog--prettify-font-lock-compose-symbol'.
12303 (prettify-symbols--make-keywords): Rename from
12304 `prog-prettify-font-lock-symbols-keywords' and simplify.
12305 (prog-prettify-install): Remove.
12306 (prettify-symbols-mode): New minor mode, based on
12307 `prog-prettify-install'.
12308 (turn-on-prettify-symbols-mode): New function.
12309 (global-prettify-symbols-mode): New globalized minor mode.
12310
12311 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12312 * progmodes/cfengine.el (cfengine3-mode):
12313 * progmodes/perl-mode.el (perl-mode): Don't call
12314 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12315
12316 2013-06-18 Juri Linkov <juri@jurta.org>
12317
12318 * files-x.el (modify-file-local-variable-message): New function.
12319 (modify-file-local-variable)
12320 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12321 and call `modify-file-local-variable-message' when it's non-nil.
12322 (add-file-local-variable, delete-file-local-variable)
12323 (add-file-local-variable-prop-line)
12324 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12325 and use it. (Bug#9820)
12326
12327 2013-06-18 Juri Linkov <juri@jurta.org>
12328
12329 * emulation/vi.el (vi-shell-op):
12330 * emulation/vip.el (vip-execute-com, ex-command):
12331 * emulation/viper-cmd.el (viper-exec-bang):
12332 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12333 the call of `shell-command-on-region'. (Bug#14637)
12334
12335 * simple.el (shell-command-on-region): Doc fix.
12336
12337 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12338
12339 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12340 (bug#14633).
12341
12342 2013-06-18 Glenn Morris <rgm@gnu.org>
12343
12344 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12345
12346 * newcomment.el (comment-search-forward, comment-search-backward):
12347 Doc fix. (Bug#14376)
12348
12349 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12350
12351 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12352 (buffer-face-mode-invoke): Doc fix.
12353
12354 2013-06-18 Matthias Meulien <orontee@gmail.com>
12355
12356 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12357 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12358
12359 2013-06-18 Glenn Morris <rgm@gnu.org>
12360
12361 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12362 Replace obsolete function generic-make-keywords with its expansion.
12363
12364 * progmodes/python.el (ffap-alist): Declare.
12365
12366 * textmodes/reftex.el (bibtex-mode-map): Declare.
12367
12368 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12369
12370 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12371 (package-unpack, package-unpack-single): Return the pkg-dir.
12372 (package-download-transaction): Use it to update package-alist.
12373
12374 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12375
12376 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12377 possible choice.
12378
12379 2013-06-17 Juri Linkov <juri@jurta.org>
12380
12381 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12382
12383 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12384
12385 * emacs-lisp/package.el (package-load-descriptor):
12386 Remove `with-syntax-table' call, `read' doesn't need it.
12387 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12388
12389 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12390
12391 * startup.el (command-line): Expand package name returned by
12392 `package--description-file' (bug#14639).
12393
12394 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12395
12396 * emacs-lisp/package.el (package-load-descriptor): Do not call
12397 `emacs-lisp-mode', just use its syntax table.
12398
12399 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12400
12401 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12402 `font-lock-extra-managed-props' if any prettifying keyword is added.
12403 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12404 (prog-mode): Use `setq-local'.
12405
12406 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12407
12408 * international/characters.el (standard-case-table): Set syntax of ?»
12409 and ?« to punctuation.
12410
12411 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12412
12413 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12414 Save relevant match data before calling `syntax-ppss' (bug#14595).
12415
12416 2013-06-15 Juri Linkov <juri@jurta.org>
12417
12418 * files-x.el (modify-file-local-variable-prop-line): Add local
12419 variables to the end of the existing comment on the first line.
12420 Use `file-auto-mode-skip' to skip interpreter magic line,
12421 and also skip XML declaration.
12422
12423 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12424
12425 * startup.el (package--builtin-versions): New var.
12426 (package-subdirectory-regexp): Remove.
12427 (package--description-file): Hard code its value instead.
12428
12429 * emacs-lisp/package.el: Don't activate packages older than builtin.
12430 (package-obsolete-list): Rename from package-obsolete-alist, and make
12431 it into a simple list of package-desc.
12432 (package-strip-version): Remove.
12433 (package-built-in-p): Use package--builtin-versions.
12434 (package-mark-obsolete): Simplify.
12435 (package-process-define-package): Mark it obsolete if older than the
12436 builtin version.
12437 (package-handle-response): Use line-end-position.
12438 (package-read-archive-contents, package--download-one-archive):
12439 Simplify.
12440 (package--add-to-archive-contents): Skip if older than the builtin or
12441 installed version.
12442 (package-menu-describe-package): Fix last change.
12443 (package-list-unversioned): New var.
12444 (package-menu--generate): Use it.
12445
12446 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12447 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12448 (autoload-builtin-package-versions): New variable.
12449 (autoload-generate-file-autoloads): Use them.
12450 Remove the list of autoloaded functions/macros from the
12451 (autoload...) comments.
12452
12453 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12454
12455 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12456
12457 * simple.el (line-move-partial): Don't jump to the next screen
12458 line as soon as it becomes visible. Instead, continue enlarging
12459 the vscroll until the portion of a tall screen line that's left on
12460 display is about the height of the frame's default font.
12461 (Bug#14567)
12462
12463 2013-06-15 Glenn Morris <rgm@gnu.org>
12464
12465 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12466 compilation-error-regexp-alist void, or local while let-bound.
12467
12468 * progmodes/make-mode.el (makefile-mode-syntax-table):
12469 Treat "=" as punctuation. (Bug#14614)
12470
12471 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12472
12473 * help-fns.el (describe-variable):
12474 Add extra line for permanent-local variables.
12475
12476 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12477
12478 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12479 Add export, import, library. (Bug#9164)
12480 (library): Set indent function.
12481
12482 2013-06-14 Glenn Morris <rgm@gnu.org>
12483
12484 * term/xterm.el (xterm--query):
12485 Stop after first matching handler. (Bug#14615)
12486
12487 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12488
12489 Add support for dired in saveplace.
12490 * dired.el (dired-initial-position-hook): New variable.
12491 (dired-initial-position): Call hook to place cursor position.
12492 * saveplace.el (save-place-to-alist): Add dired position.
12493 (save-place-dired-hook): New function.
12494
12495 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12496
12497 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12498 through a symbol rather than letrec.
12499
12500 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12501 (package-desc): Add `dir' field.
12502 (package-desc-full-name): New function.
12503 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12504 (package-maybe-load-descriptor): Remove.
12505 (package-load-all-descriptors): Just call package-load-descriptor.
12506 (package--disabled-p): New function.
12507 (package-desc-vers, package-desc-doc): Remove aliases.
12508 (package--dir): Remove function.
12509 (package-activate): Check if a package is disabled.
12510 (package-process-define-package): New function, extracted from
12511 define-package.
12512 (define-package): Turn into a place holder.
12513 (package-unpack-single, package-tar-file-info):
12514 Use package--description-file.
12515 (package-compute-transaction): Use package--disabled-p.
12516 (package-download-transaction): Don't call
12517 package-maybe-load-descriptor since they're all loaded anyway.
12518 (package-install): Change argument to be a pkg-desc.
12519 (package-delete): Use a single pkg-desc argument.
12520 (describe-package-1): Use package-desc-dir instead of package--dir.
12521 Use package-desc property instead of package-symbol.
12522 (package-install-button-action): Adjust accordingly.
12523 (package--push): Rewrite.
12524 (package-menu--print-info): Adjust accordingly. Change the ID format
12525 to be a pkg-desc.
12526 (package-menu-describe-package, package-menu-get-status)
12527 (package-menu--find-upgrades, package-menu-mark-upgrades)
12528 (package-menu-execute, package-menu--name-predicate):
12529 Adjust accordingly.
12530 * startup.el (package--description-file): New function.
12531 (command-line): Use it.
12532 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12533 Use package-desc-version.
12534
12535 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12536 (byte-compile-preprocess): Use it.
12537 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12538 can't quite recognize.
12539 (byte-compile-add-to-list): Remove.
12540 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12541 (cconv-closure-convert): Add assertion.
12542
12543 * emacs-lisp/map-ynp.el: Use lexical-binding.
12544 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12545 Factor out some repeated code.
12546
12547 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12548
12549 * subr.el (with-eval-after-load): New macro.
12550 (eval-after-load): Allow form to be a function.
12551 take advantage of lexical-binding.
12552 (do-after-load-evaluation): Use dolist and adjust to new format.
12553 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12554
12555 2013-06-13 Juri Linkov <juri@jurta.org>
12556
12557 * replace.el (perform-replace): Display "symbol " and other search
12558 modes from `isearch-message-prefix' in the *Help* buffer.
12559
12560 * isearch.el (isearch-query-replace): Add " symbol" and other
12561 possible search modes from `isearch-message-prefix' to the prompt.
12562 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12563 when reading a regexp to collect.
12564
12565 2013-06-13 Juri Linkov <juri@jurta.org>
12566
12567 * isearch.el (word-search-regexp): Match whitespace if the search
12568 string begins or ends in whitespace. The LAX arg is applied to
12569 both ends of the search string. Use `regexp-quote' and explicit
12570 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12571 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12572 boundaries are replaced with symbol boundaries, and characters
12573 between symbols match non-word non-symbol syntax. (Bug#14602)
12574
12575 2013-06-13 Juri Linkov <juri@jurta.org>
12576
12577 * isearch.el (isearch-del-char): Don't exceed the length of
12578 `isearch-string' by the prefix arg. (Bug#14563)
12579
12580 2013-06-13 Juri Linkov <juri@jurta.org>
12581
12582 * isearch.el (isearch-yank-word, isearch-yank-line)
12583 (isearch-char-by-name, isearch-quote-char)
12584 (isearch-printing-char, isearch-process-search-char):
12585 Add optional count prefix arg. (Bug#14563)
12586
12587 * international/isearch-x.el
12588 (isearch-process-search-multibyte-characters):
12589 Add optional count prefix arg.
12590
12591 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12592
12593 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12594 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12595 lexical-binding.
12596
12597 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12598
12599 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12600
12601 2013-06-13 Glenn Morris <rgm@gnu.org>
12602
12603 * startup.el (tty-handle-args):
12604 Don't just discard "--" and anything after. (Bug#14608)
12605
12606 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12607
12608 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12609
12610 Implement changes in Secret Service API. Make it backward compatible.
12611 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12612 (secrets-create-item): Use it. Prefix properties with interface.
12613
12614 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12615
12616 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12617 (term-emulate-terminal): Respect term-suppress-hard-newline.
12618
12619 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12620
12621 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12622 Only remove a `thumb-file' overlay. (Bug#14548)
12623
12624 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12625
12626 * mail/reporter.el (reporter-submit-bug-report):
12627 Handle missing package-name. (Bug#14600)
12628
12629 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12630
12631 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12632 (reftex-citation-prompt, reftex-default-bibliography)
12633 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12634 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12635 (reftex-bib-sort-author, reftex-bib-sort-year)
12636 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12637 (reftex-extract-bib-entries-from-thebibliography)
12638 (reftex-get-bibkey-default, reftex-get-bib-names)
12639 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12640 (reftex-format-bib-entry, reftex-parse-bibitem)
12641 (reftex-format-bibitem, reftex-do-citation)
12642 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12643 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12644 (reftex-insert-bib-matches, reftex-format-citation)
12645 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12646 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12647 existing comments into docstrings.
12648
12649 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12650
12651 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12652
12653 2013-06-12 Andreas Schwab <schwab@suse.de>
12654
12655 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12656 for auto-save files.
12657
12658 2013-06-12 Glenn Morris <rgm@gnu.org>
12659
12660 * ido.el (ido-delete-ignored-files): Remove.
12661 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12662 Go back to calling ido-ignore-item-p directly.
12663
12664 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12665
12666 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12667
12668 * ido.el (ido-delete-ignored-files): New function,
12669 split from ido-make-file-list-1.
12670 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12671 (ido-make-file-list-1): Use ido-delete-ignored-files.
12672
12673 2013-06-12 Leo Liu <sdl.web@gmail.com>
12674
12675 * progmodes/octave.el (inferior-octave-startup)
12676 (inferior-octave-completion-table)
12677 (inferior-octave-track-window-width-change)
12678 (octave-eldoc-function-signatures, octave-help)
12679 (octave-find-definition): Use single quoted strings.
12680 (inferior-octave-startup-args): Change default value.
12681 (inferior-octave-startup): Do not hard code "-i" and
12682 "--no-line-editing".
12683 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12684 (inferior-octave-directory-tracker): Use it.
12685 (octave-goto-function-definition): Robustify.
12686 (octave-help): Support highlighting operators in 'See also'.
12687 (octave-find-definition): Find subfunctions only in Octave mode.
12688
12689 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12690
12691 * help-fns.el (help-fns--compiler-macro): If the handler function is
12692 named, then put a link to it.
12693 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12694 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12695 (cl-typep): Use it.
12696 (cl-eval-when): Simplify debug spec.
12697 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12698 compiler-macro function instead of setting `compiler-macro-file'.
12699
12700 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12701
12702 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12703 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12704
12705 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12706 Daniel Hackney <dan@haxney.org>
12707
12708 First part of Daniel Hackney's patch to package.el.
12709 * emacs-lisp/package.el: Use defstruct.
12710 (package-desc): New, main struct.
12711 (package--bi-desc, package--ac-desc): New structs, used to describe the
12712 format in external files.
12713 (package-desc-vers): Replace with package-desc-version accessor.
12714 (package-desc-doc): Replace with package-desc-summary accessor.
12715 (package-activate-1): Remove `package' arg since the pkg-vec now
12716 includes the name.
12717 (define-package): Use package-desc-from-define.
12718 (package-unpack-single): Change file-name arg to be a symbol.
12719 (package--add-to-archive-contents): Use package-desc-create and new
12720 accessor functions to package--ac-desc.
12721 (package-buffer-info, package-tar-file-info): Return a package-desc.
12722 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12723 arg to be a package-desc.
12724 (package-install-file): Adjust accordingly. Use \' to match EOS.
12725 (package--from-builtin): New function.
12726 (describe-package-1, package-menu--generate): Use it.
12727 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12728 (package-generate-autoloads): Idem and return the name of the file.
12729 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12730 Change pkg-info arg to be a package-desc.
12731 Use package-make-ac-desc.
12732 (package-upload-file): Use \' to match EOS.
12733 * finder.el (finder-compile-keywords): Use package-make-builtin.
12734
12735 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12736
12737 * vc/vc.el (vc-deduce-fileset): Change error message.
12738 (vc-read-backend): New function.
12739 (vc-next-action): Use it.
12740
12741 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12742
12743 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12744 (prolog-font-lock-keywords): Use regexp-opt instead.
12745 Don't manually highlight strings.
12746 (prolog-mode-variables): Simplify comment-start-skip.
12747 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12748
12749 * emacs-lisp/generic.el (generic--normalise-comments)
12750 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12751 (generic-mode-set-comments): Use them.
12752 (generic-bracket-support): Use setq-local.
12753 (generic-make-keywords-list): Declare obsolete.
12754
12755 2013-06-11 Glenn Morris <rgm@gnu.org>
12756
12757 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12758 Prettify after setting font-lock-defaults. (Bug#14574)
12759
12760 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
12761
12762 * replace.el (query-replace, occur-read-regexp-defaults-function)
12763 (replace-search):
12764 * subr.el (declare-function, number-sequence, local-set-key)
12765 (substitute-key-definition, locate-user-emacs-file)
12766 (with-silent-modifications, split-string, eval-after-load):
12767 Fix typos, remove unneeded backslashes and reflow some docstrings.
12768
12769 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12770
12771 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12772 default for Elisp files.
12773
12774 2013-06-11 Glenn Morris <rgm@gnu.org>
12775
12776 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12777 although define-derived-mode was doing this anyway. (Bug#14583)
12778
12779 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12780
12781 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12782 Fix make-variable-buffer-local call to refer to the correct variable.
12783
12784 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12785
12786 * eshell/em-term.el (eshell-visual-commands)
12787 (eshell-visual-subcommands, eshell-visual-options):
12788 Add summary line to docstrings. Add cross-references.
12789
12790 2013-06-10 Glenn Morris <rgm@gnu.org>
12791
12792 * epa.el (epa-read-file-name): New function. (Bug#14510)
12793 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12794
12795 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12796
12797 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12798 output redirection to be ignored with visual commands.
12799
12800 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12801
12802 * eshell/em-term.el (eshell-visual-command-p): New function.
12803 (eshell-term-initialize): Move long lambda to separate function
12804 eshell-visual-command-p.
12805 * eshell/em-dirs.el (eshell-dirs-initialize):
12806 * eshell/em-script.el (eshell-script-initialize):
12807 Add missing #' to lambda.
12808
12809 2013-06-08 Leo Liu <sdl.web@gmail.com>
12810
12811 * progmodes/octave.el (octave-add-log-current-defun): New function.
12812 (octave-mode): Set add-log-current-defun-function.
12813 (octave-goto-function-definition): Do not move point if not found.
12814 (octave-find-definition): Enhance to try subfunctions first.
12815
12816 2013-06-08 Glenn Morris <rgm@gnu.org>
12817
12818 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12819 (byte-compile-backward-char, byte-compile-backward-word):
12820 Improve previous change, to handle non-explicit nil.
12821
12822 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12823
12824 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12825 (smie--opener/closer-at-point): New function.
12826 (smie--matching-block-data): Use it. Don't match from right after an
12827 opener or right before a closer. Obey smie-blink-matching-inners.
12828 Don't signal a mismatch for repeated inners like "switch..case..case".
12829
12830 2013-06-07 Leo Liu <sdl.web@gmail.com>
12831
12832 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12833 to t. (Bug#14303)
12834 (octave-function-header-regexp): Fix. (Bug#14570)
12835 (octave-help-mode-finish-hook, octave-help-mode-finish):
12836 Remove. Just use temp-buffer-show-hook.
12837
12838 * newcomment.el (comment-search-backward): Revert last change.
12839 (Bug#14434)
12840
12841 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12842
12843 2013-06-07 Eli Zaretskii <eliz@gnu.org>
12844
12845 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12846 through xargs, to avoid failure due to MS-Windows limitations on
12847 command-line length.
12848
12849 2013-06-06 Glenn Morris <rgm@gnu.org>
12850
12851 * font-lock.el (lisp-font-lock-keywords-2):
12852 Treat user-error like error.
12853
12854 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12855 (byte-compile-backward-char, byte-compile-backward-word):
12856 Handle explicit nil arguments. (Bug#14565)
12857
12858 2013-06-05 Alan Mackenzie <acm@muc.de>
12859
12860 * isearch.el (isearch-allow-prefix): New user option.
12861 (isearch-other-meta-char): Don't exit isearch when a prefix
12862 argument is typed whilst `isearch-allow-prefix' is non-nil.
12863 (Bug#9706)
12864
12865 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12866
12867 * autorevert.el (auto-revert-notify-handler): Use memq.
12868 Hide assertion failure.
12869
12870 * skeleton.el: Use cl-lib.
12871 (skeleton-further-elements): Use defvar-local.
12872 (skeleton-insert): Use cl-progv.
12873
12874 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12875
12876 * progmodes/prog-mode.el (prog-prettify-symbols)
12877 (prog-prettify-install): Update docstrings.
12878
12879 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12880
12881 * simple.el: Move all the prog-mode code to prog-mode.el.
12882 * progmodes/prog-mode.el: New file.
12883 * loadup.el: Add prog-mode.el.
12884
12885 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12886
12887 * simple.el (prog-prettify-symbols): Add version.
12888 (prog-prettify-install): Add convenience function to prettify symbols.
12889
12890 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12891 (perl--augmented-font-lock-keywords-1)
12892 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12893 variables and use it.
12894
12895 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12896 (cfengine3-mode): Remove unneeded variable and use it.
12897
12898 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12899 (lisp--augmented-font-lock-keywords-1)
12900 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12901 Remove unneeded variables and use it.
12902
12903 2013-06-05 João Távora <joaotavora@gmail.com>
12904
12905 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
12906 to point when opening the connection. (Bug#14380)
12907
12908 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12909
12910 * subr.el (load-history-regexp, load-history-filename-element)
12911 (eval-after-load, after-load-functions, do-after-load-evaluation)
12912 (eval-next-after-load, display-delayed-warnings)
12913 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12914 definition of save-match-data.
12915 (overriding-local-map): Remove accidental obsolescence declaration.
12916
12917 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12918
12919 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12920
12921 Generalize symbol prettify support to prog-mode and implement it
12922 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12923 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12924 (prog--prettify-font-lock-compose-symbol)
12925 (prog-prettify-font-lock-symbols-keywords): New variables and
12926 functions to support symbol prettification.
12927 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12928 (lisp--augmented-font-lock-keywords-1)
12929 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12930 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12931 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12932 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12933 Implement prettify of -> => :: strings.
12934 * progmodes/perl-mode.el (perl-prettify-symbols)
12935 (perl--font-lock-compose-symbol)
12936 (perl--font-lock-symbols-keywords): Move to prog-mode.
12937 (perl--prettify-symbols-alist): Prettify -> => :: strings.
12938 (perl-font-lock-keywords-1)
12939 (perl-font-lock-keywords-2): Remove explicit prettify support.
12940 (perl--augmented-font-lock-keywords)
12941 (perl--augmented-font-lock-keywords-1)
12942 (perl--augmented-font-lock-keywords-2, perl-mode):
12943 Implement prettify support.
12944
12945 2013-06-05 Leo Liu <sdl.web@gmail.com>
12946
12947 Re-implement SMIE matching block highlight using
12948 show-paren-data-function. (Bug#14395)
12949 * emacs-lisp/smie.el (smie-matching-block-highlight)
12950 (smie--highlight-matching-block-overlay)
12951 (smie--highlight-matching-block-lastpos)
12952 (smie-highlight-matching-block)
12953 (smie-highlight-matching-block-mode): Remove.
12954 (smie--matching-block-data-cache): New variable.
12955 (smie--matching-block-data): New function.
12956 (smie-setup): Use smie--matching-block-data for
12957 show-paren-data-function.
12958
12959 * progmodes/octave.el (octave-mode-menu): Fix.
12960 (octave-find-definition): Skip garbage lines.
12961
12962 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12963
12964 Fix compilation error with simultaneous dynamic+lexical scoping.
12965 Add warning when a defvar appears after the first let-binding.
12966 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
12967 (byte-compile-close-variables): Initialize it.
12968 (byte-compile--declare-var): New function.
12969 (byte-compile-file-form-defvar)
12970 (byte-compile-file-form-define-abbrev-table)
12971 (byte-compile-file-form-custom-declare-variable): Use it.
12972 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
12973 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
12974 (byte-compile-bind): Handle dynamic bindings that shadow
12975 lexical bindings.
12976 (byte-compile-unbind): Make arg non-optional.
12977 (byte-compile-let): Simplify.
12978 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
12979 (cconv--analyse-function, cconv-analyse-form): Populate it.
12980 Protect byte-compile-bound-variables to limit the scope of defvars.
12981 (cconv-analyse-form): Add missing rule for (defvar <foo>).
12982 Remove unneeded rule for `declare'.
12983
12984 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
12985 so as to avoid depending on cl-adjoin at run-time.
12986 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
12987
12988 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
12989 (macroexp--warn-and-return): Use it.
12990
12991 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12992
12993 * subr.el: Convert to lexical binding.
12994 (overriding-local-map): Make obsolete.
12995 (add-to-list): Doc fix. Add compiler macro.
12996 (read-key): Swap values of local maps.
12997
12998 2013-06-05 Leo Liu <sdl.web@gmail.com>
12999
13000 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13001
13002 2013-06-04 Leo Liu <sdl.web@gmail.com>
13003
13004 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13005 (compilation-auto-jump): Suppress the "Mark set" message to give
13006 way to exit message.
13007
13008 2013-06-04 Alan Mackenzie <acm@muc.de>
13009
13010 Remove faulty optimisation from indentation calculation.
13011 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13012 search limit based on 2000 characters back from indent-point.
13013
13014 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13015
13016 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13017
13018 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13019
13020 * emacs-lisp/lisp.el: Use lexical-binding.
13021 (lisp--local-variables-1, lisp--local-variables): New functions.
13022 (lisp--local-variables-completion-table): New var.
13023 (lisp-completion-at-point): Use it complete let-bound vars.
13024
13025 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13026 eagerly (bug#14422).
13027
13028 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13029
13030 * autorevert.el (auto-revert-notify-enabled)
13031 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13032 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13033 (auto-revert-notify-handler): Handle also gfilenotify.
13034
13035 * subr.el (file-notify-handle-event): New defun. Replacing ...
13036 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13037 Remove.
13038
13039 2013-06-03 Juri Linkov <juri@jurta.org>
13040
13041 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13042 `M-s h .'. (Bug#14427)
13043
13044 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13045 command `hi-lock-face-symbol-at-point'.
13046 (hi-lock-face-symbol-at-point): New command.
13047 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13048 (hi-lock-menu): Add `highlight-symbol-at-point'.
13049 (hi-lock-mode): Doc fix.
13050
13051 * isearch.el (isearch-forward-symbol-at-point): New command.
13052 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13053 (isearch-highlight-regexp): Add a regexp which matches
13054 words/symbols for word/symbol mode.
13055
13056 * subr.el (find-tag-default-bounds): New function with the body
13057 mostly moved from `find-tag-default'.
13058 (find-tag-default): Move most code to `find-tag-default-bounds',
13059 call it and apply `buffer-substring-no-properties' afterwards.
13060
13061 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13062
13063 * eshell/em-term.el (eshell-term-initialize):
13064 Use `cl-intersection' rather than `intersection'.
13065
13066 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13067
13068 * vc/log-view.el: Doc fix.
13069 (log-view-mode-map): Copy keymap from `special-mode-map'.
13070
13071 2013-06-02 Eric Ludlam <zappo@gnu.org>
13072
13073 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13074 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13075 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13076 (eieio-unbound, eieio-default-superclass)
13077 (eieio--define-field-accessors, method-static, method-before)
13078 (method-primary, method-after, method-num-lists)
13079 (method-generic-before, method-generic-primary)
13080 (method-generic-after, method-num-slots)
13081 (eieio-specialized-key-to-generic-key)
13082 (eieio--check-type, class-v, class-p)
13083 (eieio-class-name, define-obsolete-function-alias)
13084 (eieio-class-parents-fast, eieio-class-children-fast)
13085 (same-class-fast-p, class-constructor, generic-p)
13086 (generic-primary-only-p, generic-primary-only-one-p)
13087 (class-option-assoc, class-option, eieio-object-p)
13088 (class-abstract-p, class-method-invocation-order)
13089 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13090 (eieio-class-un-autoload, eieio-defclass)
13091 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13092 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13093 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13094 (eieio-defgeneric-reset-generic-form)
13095 (eieio-defgeneric-form-primary-only)
13096 (eieio-defgeneric-reset-generic-form-primary-only)
13097 (eieio-defgeneric-form-primary-only-one)
13098 (eieio-defgeneric-reset-generic-form-primary-only-one)
13099 (eieio-unbind-method-implementations)
13100 (eieio--defmethod, eieio--typep)
13101 (eieio-perform-slot-validation, eieio-validate-slot-value)
13102 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13103 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13104 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13105 (eieio-slot-name-index, eieio-class-slot-name-index)
13106 (eieio-set-defaults, eieio-initarg-to-attribute)
13107 (eieio-attribute-to-initarg, eieio-c3-candidate)
13108 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13109 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13110 (eieio-class-precedence-list, eieio-generic-call-methodname)
13111 (eieio-generic-call-arglst, eieio-generic-call-key)
13112 (eieio-generic-call-next-method-list)
13113 (eieio-pre-method-execution-functions, eieio-generic-call)
13114 (eieio-generic-call-primary-only, eieiomt-method-list)
13115 (eieiomt-optimizing-obarray, eieiomt-install)
13116 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13117 (eieio-generic-form, eieio-defmethod, make-obsolete)
13118 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13119 (defclass): Remove `eval-and-compile' from macro.
13120 (call-next-method, shared-initialize): Instead of using
13121 `scoped-class' variable, use new eieio--scoped-class, and
13122 eieio--with-scoped-class.
13123 (initialize-instance): Rename local variable 'scoped-class' to
13124 'this-class' to remove ambiguitity from old global.
13125
13126 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13127 eieio.el.
13128 (eieio--scoped-class-stack): New variable.
13129 (eieio--scoped-class): New fcn.
13130 (eieio--with-scoped-class): New scoping macro.
13131 (eieio-defclass): Use pushnew instead of add-to-list.
13132 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13133 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13134 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13135 `scoped-class' variable, use new eieio--scoped-class, and
13136 eieio--with-scoped-class.
13137
13138 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13139
13140 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13141
13142 * eshell/esh-ext.el (eshell-external-command): Pass args to
13143 `eshell-find-interpreter'.
13144 (eshell-find-interpreter): Add new second parameter ARGS.
13145
13146 * eshell/em-script.el (eshell-script-initialize): Add second arg
13147 to the function added as MATCH to `eshell-interpreter-alist'.
13148
13149 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13150 the function added as MATCH to `eshell-interpreter-alist'.
13151
13152 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13153 (eshell-visual-options): New defcustom.
13154 (eshell-escape-control-x): Adapt docstring.
13155 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13156 `eshell-visual-options' in addition to `eshell-visual-commands'.
13157 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13158
13159 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13160
13161 * progmodes/python.el (python-indent-block-enders): Add break,
13162 continue and raise keywords.
13163
13164 2013-06-01 Glenn Morris <rgm@gnu.org>
13165
13166 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13167
13168 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13169 * progmodes/cc-cmds.el (delete-forward-p):
13170 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13171 * progmodes/cc-engine.el (buffer-syntactic-context):
13172 * progmodes/cc-fonts.el (face-property-instance):
13173 * progmodes/cc-mode.el (set-keymap-parents):
13174 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13175 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13176 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13177 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13178 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13179
13180 * progmodes/cc-vars.el (other): Emacs has this widget since
13181 at least 21.1, so don't (re)define it.
13182
13183 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13184 Replace the obsolete alias pcomplete-arg-quote-list.
13185
13186 2013-06-01 Leo Liu <sdl.web@gmail.com>
13187
13188 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13189 punctuation syntax.
13190 (inferior-octave-minimal-columns)
13191 (inferior-octave-last-column-width): New variables.
13192 (inferior-octave-track-window-width-change): New function.
13193 (inferior-octave-mode): Adjust column width so that Octave output,
13194 for example from 'ls', can fit into the window nicely.
13195
13196 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13197
13198 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13199 Highlight expansions inside regexp literals.
13200
13201 2013-05-31 Glenn Morris <rgm@gnu.org>
13202
13203 * obsolete/sym-comp.el (symbol-complete):
13204 Replace obsolete completion-annotate-function.
13205
13206 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13207
13208 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13209
13210 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13211 New function, checks if point is inside a literal that allows
13212 expression expansion.
13213 (ruby-syntax-propertize-expansion): Use it.
13214 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13215 around the body.
13216
13217 2013-05-30 Juri Linkov <juri@jurta.org>
13218
13219 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13220 to "\M-si".
13221 (isearch-invisible): New variable.
13222 (isearch-forward): Doc fix.
13223 (isearch-mode): Set `isearch-invisible'
13224 to the value of `search-invisible'.
13225 (isearch-toggle-case-fold): Doc fix.
13226 (isearch-toggle-invisible): New command.
13227 (isearch-query-replace): Let-bind `search-invisible'
13228 to the value of `isearch-invisible'.
13229 (isearch-search): Use `isearch-invisible' instead of
13230 `search-invisible'. Let-bind `search-invisible'
13231 to the value of `isearch-invisible'. (Bug#11378)
13232
13233 2013-05-30 Juri Linkov <juri@jurta.org>
13234
13235 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13236 call when `query-flag' is nil and `search-invisible' is non-nil.
13237 (Bug#11746)
13238
13239 2013-05-30 Glenn Morris <rgm@gnu.org>
13240
13241 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13242
13243 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13244 (cc-require): Suppress spurious "noruntime" warnings.
13245 (cc-require-when-compile): Use fboundp, for sake of compiler.
13246
13247 * progmodes/cc-mode.el: Move load of cc-vars before that of
13248 cc-langs (which in turn loads cc-vars), to quieten compiler.
13249
13250 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13251
13252 * paren.el: Simplify the code.
13253 (show-paren-mode): Always start the timer.
13254 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13255 (show-paren--overlay, show-paren--overlay-1): Rename from
13256 show-paren-overlay and show-paren-overlay-1, and initialize to an
13257 overlay rather than to nil.
13258 (show-paren-function): Misc cleanup and simplifications.
13259
13260 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13261
13262 * paren.el (show-paren-data-function): New hook.
13263 (show-paren--default): New function, extracted from show-paren-function.
13264 (show-paren-function): Use show-paren-data-function.
13265
13266 2013-05-30 Glenn Morris <rgm@gnu.org>
13267
13268 * ielm.el (ielm-map, ielm-complete-symbol):
13269 Use completion-at-point rather than obsolete functions.
13270 (inferior-emacs-lisp-mode): Doc fix.
13271 Set completion-at-point-functions, rather than
13272 comint-dynamic-complete-functions.
13273
13274 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13275 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13276 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13277
13278 * image.el (image-animated-p): Tweak definition.
13279
13280 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13281 (rlogin-process-connection-type): Tweak default. Add set-after.
13282 (rlogin-host): Doc fix.
13283 (rlogin): Tweak prompt.
13284 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13285
13286 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13287 * progmodes/tcl.el (inferior-tcl-mode-map):
13288 Use completion-at-point rather than obsolete alias.
13289
13290 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13291
13292 * minibuffer.el (read-file-name-completion-ignore-case):
13293 Move before completion--in-region, for eager macro expansion.
13294
13295 2013-05-29 Juri Linkov <juri@jurta.org>
13296
13297 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13298 for total count of matching lines. Add `global-matches' for total
13299 count of matches. Rename `matches' to `lines' for count of
13300 matching lines. Add `matches' for count of matches.
13301 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13302 to `prev-line' for line number of prev match endpt.
13303 Increment `matches' for every match. Print the number of
13304 matching lines in the header.
13305 (occur-context-lines): Rename `lines' to `curr-line'.
13306 Rename `prev-lines' to `prev-line'. (Bug#14017)
13307
13308 2013-05-29 Juri Linkov <juri@jurta.org>
13309
13310 * replace.el (perform-replace): Add `skip-read-only-count',
13311 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13312 Increment them for corresponding conditions and report the number
13313 of skipped occurrences in the final message. (Bug#11746)
13314 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13315 (replace-string, replace-regexp): Doc fix.
13316
13317 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13318
13319 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13320
13321 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13322 prog-mode-map (bug#14504).
13323
13324 2013-05-29 Leo Liu <sdl.web@gmail.com>
13325
13326 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13327 (octave-help): Small simplification.
13328
13329 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13330 off the highlight first.
13331
13332 2013-05-29 Glenn Morris <rgm@gnu.org>
13333
13334 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13335 Handle idlwave-last-system-routine-info-cons-cell being nil.
13336
13337 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13338 (idlwave-write-paths): Simplify via with-temp-buffer.
13339
13340 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13341 * emulation/cua-rect.el: Also load cua-base at run time.
13342
13343 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13344 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13345 (cperl-imenu-on-info): Require imenu.
13346
13347 2013-05-28 Alan Mackenzie <acm@muc.de>
13348
13349 Handle "capitalised keywords" correctly.
13350 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13351
13352 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13353
13354 * eshell/em-unix.el: Add -r option to cp.
13355
13356 2013-05-28 Glenn Morris <rgm@gnu.org>
13357
13358 * vc/vc-arch.el (vc-exec-after): Declare.
13359 (vc-switches): Autoload.
13360 * vc/vc-bzr.el: No need to require vc when compiling.
13361 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13362 (vc-resynch-buffer, vc-dir-refresh): Declare.
13363 (vc-setup-buffer, vc-switches): Autoload.
13364 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13365 (vc-resynch-buffer): Declare.
13366 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13367 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13368 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13369 (grep-read-regexp, grep-read-files, grep-expand-template)
13370 (vc-dir-refresh): Declare.
13371 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13372 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13373 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13374 * vc/vc-mtn.el (vc-exec-after): Declare.
13375 (vc-switches): Autoload.
13376 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13377 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13378 (vc-file-tree-walk): Declare.
13379 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13380 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13381 (vc-tag-precondition, vc-rename-master): Autoload.
13382 * vc/vc-svn.el (vc-exec-after): Declare.
13383 (vc-switches, vc-setup-buffer): Autoload.
13384 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13385 Autoload.
13386 (vc-resynch-buffer): Declare.
13387
13388 * obsolete/fast-lock.el (byte-compile-warnings):
13389 Don't warn about obsolete features in this obsolete file.
13390
13391 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13392 Move definition before use.
13393
13394 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13395 (dun-unix-verbs): Remove dun-zippy.
13396 (dun-zippy): Remove function.
13397
13398 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13399
13400 2013-05-27 Juri Linkov <juri@jurta.org>
13401
13402 * replace.el (replace-search): New function with code moved out
13403 from `perform-replace'.
13404 (replace-highlight, replace-dehighlight): Move function definitions
13405 up closer to `replace-search'. (Bug#11746)
13406
13407 2013-05-27 Juri Linkov <juri@jurta.org>
13408
13409 * replace.el (perform-replace): Ignore invisible matches.
13410 In addition to checking `query-replace-skip-read-only', also
13411 filter out matches by calling `run-hook-with-args-until-failure'
13412 on `isearch-filter-predicates', and also check `search-invisible'
13413 for t or call `isearch-range-invisible'.
13414 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13415
13416 2013-05-27 Juri Linkov <juri@jurta.org>
13417
13418 * isearch.el (isearch-filter-predicates): Rename from
13419 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13420 (isearch-message-prefix): Display text from the property
13421 `isearch-message-prefix' of the currently active filters.
13422 (isearch-search): Don't compare `isearch-filter-predicate' with
13423 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13424 on `isearch-filter-predicates'. Also check `search-invisible' for t
13425 or call `isearch-range-invisible'.
13426 (isearch-filter-visible): Make obsolete.
13427 (isearch-lazy-highlight-search):
13428 Call `run-hook-with-args-until-failure' on
13429 `isearch-filter-predicates' and use `isearch-range-invisible'.
13430
13431 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13432 `isearch-filter-predicates' instead of `funcall'ing
13433 `isearch-filter-predicate'.
13434 (Info-mode): Set `Info-isearch-filter' to
13435 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13436
13437 * dired-aux.el (dired-isearch-filter-predicate-orig):
13438 Remove variable.
13439 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13440 (dired-isearch-filenames-end): Add and remove
13441 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13442 instead of changing the value of `isearch-filter-predicate'.
13443 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13444 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13445 Put property `isearch-message-prefix' to "filename " on
13446 `dired-isearch-filter-filenames'.
13447
13448 * wdired.el (wdired-change-to-wdired-mode):
13449 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13450 locally instead of changing `isearch-filter-predicate'.
13451 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13452
13453 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13454
13455 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13456 return the commit hash (Bug#14459). Also set the
13457 `vc-git-detached' property.
13458 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13459 (vc-git-mode-line-string): Use the same help-echo format whether
13460 in detached mode or not, because we know the actual revision now.
13461 When in detached mode, shorten the revision to 7 chars.
13462
13463 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13464
13465 * emacs-lisp/easy-mmode.el (define-minor-mode):
13466 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13467 mode hook and provide a docstring.
13468
13469 2013-05-27 Alan Mackenzie <acm@muc.de>
13470
13471 Remove spurious syntax-table text properties inserted by C-y.
13472 * progmodes/cc-mode.el (c-after-change): Also clear hard
13473 syntax-table property with value nil.
13474
13475 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13476
13477 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13478 when reading the events; the buffer layout shall not be changed.
13479
13480 2013-05-27 Leo Liu <sdl.web@gmail.com>
13481
13482 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13483 New variable.
13484 (inferior-octave-directory-tracker): Automatically re-sync
13485 default-directory.
13486 (octave-help): Improve handling of 'See also'.
13487
13488 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13489
13490 * doc-view.el: Minor naming convention tweaks.
13491 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13492
13493 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13494 even if there's no `display' property yet (bug#14435).
13495
13496 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13497
13498 * subr.el (unmsys--file-name): Rename from reveal-filename.
13499
13500 * Makefile.in (custom-deps, finder-data, autoloads)
13501 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13502 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13503 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13504
13505 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13506
13507 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13508 error-completion on the first 2 args of condition-case (bug#14446).
13509 Don't burp at EOB.
13510
13511 2013-05-25 Leo Liu <sdl.web@gmail.com>
13512
13513 * comint.el (comint-previous-matching-input): Do not flood the
13514 *Messages* buffer with trivial messages.
13515
13516 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13517
13518 * progmodes/flymake.el (flymake-nop): Don't return a string.
13519 (flymake-set-at): Fix typo.
13520
13521 * simple.el (read--expression): New function, extracted from
13522 eval-expression. Set completion-at-point-functions (bug#14465).
13523 (eval-expression, eval-minibuffer): Use it.
13524
13525 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13526
13527 * progmodes/flymake.el (flymake-save-buffer-in-file)
13528 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13529 (flymake-selected-frame, flymake-log, flymake-ins-after)
13530 (flymake-set-at, flymake-get-buildfile-from-cache)
13531 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13532 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13533 Refine the doc string.
13534 (flymake-get-file-name-mode-and-masks): Reformat.
13535 (flymake-get-real-file-name-function): Fix a minor bug.
13536
13537 2013-05-24 Juri Linkov <juri@jurta.org>
13538
13539 * progmodes/grep.el (grep-mode-font-lock-keywords):
13540 Support =linenumber= format used by git-grep for lines with
13541 function names. (Bug#13549)
13542
13543 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13544
13545 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13546 0 after a semi-colon; it works better for smie-auto-fill.
13547 (octave--indent-new-comment-line): New function.
13548 (octave-indent-new-comment-line): Use it (indirectly).
13549 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13550 modify comment-line-break-function.
13551
13552 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13553 (smie-setup): Use add-function to set it.
13554
13555 2013-05-24 Sam Steingold <sds@gnu.org>
13556
13557 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13558 argument (before the `interactive' argument).
13559
13560 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13561
13562 * image-mode.el (image-mode-winprops): Add winprops to
13563 image-mode-winprops-alist before running
13564 image-mode-new-window-functions.
13565 * doc-view.el (doc-view-new-window-function): Don't delay
13566 doc-view-goto-page via timers (bug#14435).
13567
13568 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13569
13570 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13571 (doc-view-desktop-save-buffer): New function.
13572 (doc-view-restore-desktop-buffer): New function.
13573 (desktop-buffer-mode-handlers):
13574 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13575 handler.
13576 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13577 `desktop-save-buffer' function.
13578
13579 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13580
13581 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13582 (tramp-gvfs-file-name-handler): Raise a user error when
13583 `tramp-gvfs-enabled' is nil.
13584 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13585 Do not raise a user error when loading package. (Bug#14447)
13586
13587 * net/xesam.el: Move to obsolete/.
13588
13589 2013-05-24 Glenn Morris <rgm@gnu.org>
13590
13591 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13592
13593 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13594
13595 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13596 (Info-find-node, Man-getpage-in-background): Declare.
13597
13598 * mail/unrmail.el (unrmail):
13599 Replace obsolete detect-coding-with-priority.
13600
13601 * net/socks.el (socks-split-string): Use this rather than split-string.
13602 (socks-nslookup-host): Update for above change.
13603 (dynamic-choice, s5-dynamic-choice-match)
13604 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13605 Comment out unused code.
13606
13607 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13608 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13609 (gud-tooltip-echo-area): Make obsolete.
13610 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13611
13612 * progmodes/js.el (js--optimize-arglist): Declare.
13613
13614 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13615
13616 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13617 (ediff-window-C): Declare.
13618
13619 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13620 Tweak requires to silence compiler.
13621
13622 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13623 (he-search-string, he-tried-table, he-expand-list)
13624 (he-init-string, he-string-member, he-substitute-string)
13625 (he-reset-string): Declare.
13626
13627 * obsolete/options.el (list-options): Use custom-variable-p,
13628 rather than obsolete alias.
13629
13630 2013-05-23 Sam Steingold <sds@gnu.org>
13631
13632 * simple.el (shell-command-on-region): Pass the `replace' argument
13633 down to `call-process-region' to comply with the doc as reported on
13634 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13635
13636 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13637
13638 * emacs-lisp/smie.el (smie-indent-forward-token)
13639 (smie-indent-backward-token): Handle string tokens (bug#14381).
13640
13641 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13642
13643 * ielm.el (ielm-menu): New menu.
13644 (inferior-emacs-lisp-mode): Set comment-start.
13645
13646 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13647
13648 * textmodes/reftex.el (reftex-ref-style-toggle):
13649 Fix deactivate action.
13650
13651 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13652 Add cleveref macros.
13653
13654 * textmodes/reftex-parse.el
13655 (reftex-locate-bibliography-files): Accept options for
13656 bibliography commands.
13657 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13658 Add addbibresource. Basic Biblatex support.
13659
13660 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13661
13662 * net/tramp-gvfs.el (top):
13663 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13664 when loading package. (Bug#14447)
13665
13666 2013-05-23 Glenn Morris <rgm@gnu.org>
13667
13668 * progmodes/js.el: No need to load comint when compiling.
13669 (ring-insert, comint-send-string, comint-send-input)
13670 (comint-last-input-end, ido-chop): Declare.
13671
13672 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13673 * vc/ediff-mult.el: Adjust requires.
13674 (ediff-directories-internal, ediff-directory-revisions-internal)
13675 (ediff-patch-file-internal): Declare.
13676 * vc/ediff-ptch.el: Adjust requires.
13677 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13678 (ediff-find-file): Autoload.
13679 * vc/ediff-util.el: No need to load ediff when compiling.
13680 (ediff-regions-internal): Declare.
13681 * vc/ediff-wind.el: Adjust requires.
13682 (ediff-compute-toolbar-width): Define when compiling.
13683 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13684 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13685 (dired-get-filename, dired-get-marked-files)
13686 (ediff-last-dir-patch, ediff-patch-default-directory)
13687 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13688 (ediff-patch-buffer-internal): Declare.
13689
13690 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13691 (ispell-process, ispell-buffer-local-words, lm-summary)
13692 (lm-section-start, lm-section-end): Declare.
13693 (checkdoc-ispell-init): Simplify.
13694
13695 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13696 (he-string-member, he-reset-string, he-substitute-string): Declare.
13697
13698 * eshell/em-ls.el: Adjust requires.
13699 (eshell-glob-regexp): Declare.
13700 * eshell/em-tramp.el: Adjust requires.
13701 (eshell-parse-command): Autoload.
13702 * eshell/em-xtra.el: Adjust requires.
13703 (eshell-parse-command): Autoload.
13704 * eshell/esh-ext.el: Adjust requires.
13705 (eshell-parse-command, eshell-close-handles): Autoload.
13706 * eshell/esh-io.el: Adjust requires.
13707 (eshell-output-filter): Autoload.
13708 * eshell/esh-util.el: No need to load tramp when compiling.
13709 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13710 Declare.
13711 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13712 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13713 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13714 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13715 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13716 * eshell/esh-opt.el, eshell/esh-proc.el:
13717 * eshell/esh-var.el: Adjust requires.
13718 * eshell/eshell.el: Do not require esh-util twice.
13719 (eshell-add-input-to-history): Declare.
13720 (eshell-command): Check history module is active before using it.
13721
13722 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13723
13724 2013-05-22 Leo Liu <sdl.web@gmail.com>
13725
13726 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13727
13728 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13729
13730 * autorevert.el (auto-revert-notify-add-watch)
13731 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13732 it indicates changes in file modification time.
13733
13734 2013-05-22 Glenn Morris <rgm@gnu.org>
13735
13736 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13737 Always delete the autoloaded function from the noruntime and
13738 unresolved functions lists.
13739
13740 * allout.el: No need to load epa, epg, overlay when compiling.
13741 (epg-context-set-passphrase-callback, epg-list-keys)
13742 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13743 (epg-key-user-id-list): Declare.
13744
13745 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13746 (viper-set-parsing-style-toggling-macro)
13747 (viper-set-emacs-state-searchstyle-macros):
13748 Use called-interactively-p on Emacs.
13749 (viper-looking-back): Make it an obsolete alias. Update callers.
13750 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13751 Use looking-back rather than viper-looking-back.
13752 (viper-tmp-insert-at-eob, viper-enlarge-region)
13753 (viper-read-string-with-history, viper-register-to-point)
13754 (viper-append-to-register, viper-change-state-to-vi)
13755 (viper-backward-char-carefully, viper-forward-char-carefully)
13756 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13757 (viper-change-state-to-emacs): Declare.
13758 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13759 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13760 * emulation/viper-mous.el: Do not load viper-cmd.
13761 (viper-backward-char-carefully, viper-forward-char-carefully)
13762 (viper-forward-word, viper-adjust-window): Declare.
13763
13764 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13765
13766 * progmodes/idlw-help.el (idlwave-help-fontify):
13767 Use called-interactively-p.
13768
13769 * term/w32console.el (w32-get-console-codepage)
13770 (w32-get-console-output-codepage): Declare.
13771
13772 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13773 Remove unnecessary declarations.
13774 (dframe-message): Doc fix.
13775
13776 * info.el (dframe-select-attached-frame, dframe-current-frame):
13777 Declare.
13778
13779 * speedbar.el (speedbar-message): Make it an obsolete alias.
13780 Update all callers.
13781 (speedbar-with-attached-buffer)
13782 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13783 (speedbar-with-writable): Use backquote.
13784 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13785 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13786 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13787 rather than speedbar- aliases.
13788 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13789 (speedbar-make-specialized-keymap, speedbar-insert-button)
13790 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13791 (speedbar-do-function-pointer): Declare.
13792 (rmail-speedbar-button, rmail-speedbar-find-file)
13793 (rmail-speedbar-move-message):
13794 Use dframe-with-attached-buffer rather than speedbar- alias.
13795 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13796 (dframe-message, speedbar-make-specialized-keymap)
13797 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13798 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13799 (speedbar-insert-button, dframe-select-attached-frame)
13800 (dframe-maybee-jump-to-attached-frame)
13801 (speedbar-change-initial-expansion-list)
13802 (speedbar-previously-used-expansion-list-name): Declare.
13803 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13804 Use dframe-message, dframe-with-attached-buffer rather than
13805 speedbar- aliases.
13806 (gud-sentinel): Silence compiler.
13807 * progmodes/vhdl-mode.el (speedbar-refresh)
13808 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13809 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13810 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13811 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13812 (speedbar-file-lists, speedbar-make-tag-line)
13813 (speedbar-line-directory, speedbar-goto-this-file)
13814 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13815 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13816 (speedbar-make-button, speedbar-reset-scanners)
13817 (speedbar-files-item-info, speedbar-line-text)
13818 (speedbar-find-file-in-frame, speedbar-set-timer)
13819 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13820 (speedbar-with-writable): Do not (re)define it.
13821 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13822 rather than speedbar- alias.
13823
13824 2013-05-21 Leo Liu <sdl.web@gmail.com>
13825
13826 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13827 menu items.
13828 (octave-mode): Tweak fill-nobreak-predicate.
13829 (inferior-octave-startup): Check process to avoid infinite loop.
13830 (inferior-octave): Pop to buffer first to show abornmal process
13831 exit information.
13832
13833 2013-05-21 Glenn Morris <rgm@gnu.org>
13834
13835 * printing.el (pr-menu-bar): Define when compiling.
13836
13837 2013-05-21 Leo Liu <sdl.web@gmail.com>
13838
13839 * progmodes/octave.el (octave-auto-fill): Remove.
13840 (octave-indent-new-comment-line): Improve.
13841 (octave-mode): Use auto fill mode through
13842 comment-line-break-function and fill-nobreak-predicate.
13843 (octave-goto-function-definition): Support DEFUN_DLD.
13844 (octave-beginning-of-defun): Small tweak.
13845 (octave-help): Show parent directory.
13846
13847 2013-05-21 Glenn Morris <rgm@gnu.org>
13848
13849 * files.el (dired-unmark):
13850 * progmodes/gud.el (gdb-input): Update declarations.
13851
13852 * calculator.el (electric, ehelp): No need to load when compiling.
13853 (Electric-command-loop, electric-describe-mode): Declare.
13854
13855 * doc-view.el (doc-view-current-converter-processes): Move before use.
13856
13857 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13858 Move MODE-set-explicitly definition before use.
13859
13860 * international/mule-diag.el (mule-diag):
13861 Don't use obsolete window-system-version.
13862
13863 * mail/feedmail.el (smtpmail): No need to load when compiling.
13864 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13865
13866 * mail/mail-utils.el (rfc822): No need to load when compiling.
13867 (rfc822-addresses): Autoload it.
13868 (mail-strip-quoted-names): Trivial simplification.
13869
13870 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13871 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13872
13873 * net/snmp-mode.el (tempo): Don't duplicate requires.
13874
13875 * progmodes/prolog.el (info): No need to load when compiling.
13876 (comint): Require before shell requires it.
13877 (Info-goto-node): Autoload it.
13878 (Info-follow-nearest-node): Declare.
13879 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13880
13881 * textmodes/artist.el (picture-mode-exit): Declare.
13882
13883 * textmodes/reftex-parse.el (reftex-parse-from-file):
13884 Trivial rewrite so the compiler can parse it better.
13885
13886 2013-05-20 Leo Liu <sdl.web@gmail.com>
13887
13888 * progmodes/octave.el (octave-help-mode-map)
13889 (octave-help-mode-finish-hook): New variables.
13890 (octave-help-mode, octave-help-mode-finish): New functions.
13891 (octave-help): Use octave-help-mode.
13892
13893 2013-05-20 Glenn Morris <rgm@gnu.org>
13894
13895 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13896
13897 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13898
13899 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13900 start at point, so that expansion starting right after opening
13901 slash in a regexp is recognized.
13902 (ruby-syntax-before-regexp-re): New defvar, extracted from
13903 ruby-syntax-propertize-function. Since the value of this regexp
13904 is looked up at runtime now, we should be able to turn
13905 `ruby-syntax-methods-before-regexp' into a defcustom later.
13906 (ruby-syntax-propertize-function): Split regexp matching into two
13907 parts, for opening and closing slashes. That allows us to skip
13908 over string interpolations and support multiline regexps.
13909 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13910 for them, which calls `ruby-syntax-propertize-expansion'.
13911 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13912 call to `ruby-syntax-propertize-function'.
13913 (ruby-syntax-propertize-expansion): Extracted from
13914 `ruby-syntax-propertize-expansions'. Handles one expansion.
13915 (ruby-syntax-propertize-percent-literal): Leave point right after
13916 the percent symbol, so that the expression expansion rule can
13917 propertize the contents.
13918 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13919 heredoc openers.
13920 (ruby-syntax-propertize-expansions): Remove.
13921
13922 2013-05-18 Juri Linkov <juri@jurta.org>
13923
13924 * man.el (Man-default-man-entry): Remove `-' from the end
13925 of the default value. (Bug#14400)
13926
13927 2013-05-18 Glenn Morris <rgm@gnu.org>
13928
13929 * comint.el (comint-password-prompt-regexp):
13930 Allow "password for XXX" where XXX contains colons (eg https://...).
13931
13932 2013-05-18 Leo Liu <sdl.web@gmail.com>
13933
13934 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
13935 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
13936 (octave-source-directories): Don't check process.
13937 (octave-source-directories, octave-find-definition): Doc fix.
13938
13939 2013-05-18 Glenn Morris <rgm@gnu.org>
13940
13941 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
13942 Remove backspace/delete bindings. (Bug#14392)
13943
13944 * cus-dep.el (custom-make-dependencies): Sort the output.
13945 (custom-versions-load-alist): Convert comment to doc.
13946
13947 2013-05-17 Leo Liu <sdl.web@gmail.com>
13948
13949 * newcomment.el (comment-search-backward): Stricter in finding
13950 comment start. (Bug#14303)
13951
13952 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
13953 (octave-comment-start-skip): Properly anchored.
13954
13955 2013-05-17 Leo Liu <sdl.web@gmail.com>
13956
13957 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
13958 Clean up when turned off. (Bug#14395)
13959 (smie--highlight-matching-block-overlay): No longer buffer-local.
13960 (smie-highlight-matching-block): Adjust.
13961
13962 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
13963
13964 Doc string fix for "nanoseconds" (Bug#14406).
13965 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
13966 Fix doc string typo that had "nanoseconds" instead of "microseconds".
13967
13968 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
13969
13970 * calc/calc-units.el (math-extract-units): Preserve powers
13971 of units.
13972
13973 2013-05-17 Leo Liu <sdl.web@gmail.com>
13974
13975 * subr.el (delete-consecutive-dups): New function.
13976 * ido.el (ido-set-matches-1): Use it.
13977 * progmodes/octave.el (inferior-octave-completion-table): Use it.
13978 * ido.el (ido-remove-consecutive-dups): Remove.
13979
13980 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
13981
13982 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13983 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
13984 regexp-opt's `words'.
13985
13986 2013-05-16 Leo Liu <sdl.web@gmail.com>
13987
13988 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
13989 (smie--highlight-matching-block-overlay)
13990 (smie--highlight-matching-block-lastpos)
13991 (smie--highlight-matching-block-timer): New variables.
13992 (smie-highlight-matching-block): New function.
13993 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
13994 (smie-setup): Conditionally enable smie-blink-matching-open.
13995
13996 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
13997
13998 Sync with upstream verilog-mode r840.
13999 * progmodes/verilog-mode.el (verilog-mode-version)
14000 (verilog-mode-release-date): Update.
14001 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14002 (verilog-sig-tieoff): Fix string error on
14003 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14004 (verilog-read-decls): Fix parameters confusing
14005 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14006
14007 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14008
14009 * subr.el (reveal-filename): New function.
14010
14011 * loadup.el: Compute Emacs executable versions on MS-Windows,
14012 where executables have the .exe extension. Add a hard link
14013 emacs-XX.YY.ZZ.exe on MS-Windows.
14014
14015 * Makefile.in (XARGS_LIMIT): New variable.
14016 (custom-deps, finder-data, autoloads)
14017 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14018 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14019 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14020 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14021
14022 2013-05-16 Leo Liu <sdl.web@gmail.com>
14023
14024 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14025 (octave-mode-menu, octave-mode-map): Remove its uses.
14026
14027 2013-05-16 Reto Zimmermann <reto@gnu.org>
14028
14029 Sync with upstream vhdl mode v3.34.2.
14030 * progmodes/vhdl-mode.el: Use `push' throughout.
14031 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14032 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14033 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14034 (vhdl-actual-generic-name): New option to derive actual generic name.
14035 (vhdl-port-paste-signals): Replace formal by actual generics.
14036 (vhdl-beautify): New name for old group vhdl-align. Update users.
14037 (vhdl-beautify-options): New option.
14038 (vhdl-last-input-event): New compat alias. Use throughout.
14039 (vhdl-goto-line): Replace user level function `goto-line'.
14040 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14041 vhdl-fix-statement-buffer.
14042 (vhdl-create-mode-menu): Add some entries.
14043 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14044 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14045 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14046 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14047 to force statements on one line.
14048 (vhdl-remove-trailing-spaces-region):
14049 New, split from vhdl-remove-trailing-spaces.
14050 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14051 Respect vhdl-beautify-options.
14052 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14053 (vhdl-update-sensitivity-list): Not add with index if exists without.
14054 Not include array index with signal. Ignore keywords in comments.
14055 (vhdl-get-visible-signals): Regexp tweaks.
14056 (vhdl-template-component-inst): Handle empty library.
14057 (vhdl-template-type): Add template for 'enum' type.
14058 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14059 Use vhdl-replace-string.
14060 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14061 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14062 (vhdl-speedbar-initialize): Update for above name change.
14063 (vhdl-compose-wire-components): Fix in handling of constants.
14064 (vhdl-error-regexp-emacs-alist): New variable.
14065 (vhdl-error-regexp-add-emacs): New function;
14066 adds support for new compile.el (Emacs 22+)
14067 (vhdl-generate-makefile-1): Change target order for single lib. units.
14068 Allow use of absolute file names.
14069
14070 2013-05-16 Leo Liu <sdl.web@gmail.com>
14071
14072 * simple.el (prog-indent-sexp): Indent enclosing defun.
14073
14074 2013-05-15 Glenn Morris <rgm@gnu.org>
14075
14076 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14077 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14078 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14079 (whitespace-highlight): Move to whitespace group.
14080
14081 * comint.el (comint-source):
14082 * pcmpl-linux.el (pcmpl-linux):
14083 * shell.el (shell-faces):
14084 * eshell/esh-opt.el (eshell-opt):
14085 * international/ccl.el (ccl): Remove empty custom groups.
14086
14087 * completion.el (dynamic-completion-mode):
14088 * jit-lock.el (jit-lock-debug-mode):
14089 * minibuffer.el (completion-in-region-mode):
14090 * type-break.el (type-break-mode-line-message-mode)
14091 (type-break-query-mode):
14092 * emulation/tpu-edt.el (tpu-edt-mode):
14093 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14094 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14095 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14096
14097 * term/xterm.el (xterm): Change parent group to terminals.
14098
14099 * master.el (master): Remove empty custom group.
14100 (master-mode): Remove unused :group argument.
14101 * textmodes/refill.el (refill): Remove empty custom group.
14102 (refill-mode): Remove unused :group argument.
14103
14104 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14105
14106 * cus-dep.el: Provide a feature.
14107 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14108 Don't mistakenly ignore files whose basenames match a basename
14109 from preloaded-file-list (eg cedet/ede/simple.el).
14110 Add a fallback method for getting :group.
14111
14112 2013-05-15 Juri Linkov <juri@jurta.org>
14113
14114 * isearch.el (isearch-char-by-name): Rename from
14115 `isearch-insert-char-by-name'. Doc fix.
14116 (isearch-forward): Mention `isearch-char-by-name' in
14117 the docstring. (Bug#13348)
14118
14119 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14120 `exit-minibuffer' instead of
14121 `isearch-nonincremental-exit-minibuffer'.
14122 (isearch-edit-string): Remove mention of
14123 `isearch-nonincremental-exit-minibuffer' from docstring.
14124 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14125 (isearch-forward-exit-minibuffer)
14126 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14127
14128 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14129
14130 * loadup.el: Just use unversioned DOC.
14131
14132 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14133 literals as extending to EOB.
14134 (nxml-last-fontify-end): Remove unused variable.
14135 (nxml-after-change1): Use with-silent-modifications.
14136 (nxml-extend-after-change-region): Simplify.
14137 (nxml-extend-after-change-region1): Remove function.
14138 (nxml-after-change1): Don't adjust for dependent regions.
14139 (nxml-fontify-matcher): Simplify.
14140 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14141 (xmltok-add-dependent): Remove function.
14142 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14143 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14144 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14145 unclosed <[[, <?, comment, and other literals as extending to EOB.
14146 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14147 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14148 Remove functions.
14149 (rng-do-some-validation-1): Don't mark dependent regions.
14150 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14151 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14152 (nxml-clear-dependent-regions): Remove functions.
14153 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14154 (nxml-ensure-scan-up-to-date):
14155 Don't clear&mark dependent regions.
14156
14157 2013-05-15 Leo Liu <sdl.web@gmail.com>
14158
14159 * progmodes/octave.el (octave-goto-function-definition):
14160 Improve and fix callers.
14161
14162 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14163
14164 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14165 the setter (bug#14387).
14166
14167 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14168 surrounding group (bug#14402).
14169
14170 2013-05-14 Juri Linkov <juri@jurta.org>
14171
14172 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14173 (Bug#14390)
14174
14175 2013-05-14 Glenn Morris <rgm@gnu.org>
14176
14177 * progmodes/f90.el (f90-imenu-generic-expression):
14178 Fix typo in 2013-05-08 change. (Bug#14402)
14179
14180 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14181
14182 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14183 Remove signals for which replies are never received.
14184
14185 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14186
14187 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14188 (gdb-handler-alist, gdb-handler-number): Remove variables.
14189 (gdb-handler-list): New variable.
14190 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14191 (gdb-pending-handler-p, gdb-handle-reply)
14192 (gdb-remove-all-pending-triggers): New functions.
14193 (gdb-discard-unordered-replies): New defcustom.
14194 (gdb-handler): New defstruct.
14195 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14196 instead of gdb-pending-triggers. Update docstring.
14197 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14198 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14199 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14200 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14201 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14202 (gdb-frame-handler): Pending triggers are now automatically managed.
14203 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14204 Remove argument.
14205 (gdb-input): Automatically handles pending triggers. Update docstring.
14206 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14207 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14208 Update comments.
14209 (gdb-done-or-error): Now use gdb-handle-reply.
14210
14211 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14212
14213 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14214 gdb-debug-log.
14215
14216 2013-05-14 Glenn Morris <rgm@gnu.org>
14217
14218 * subr.el (user-emacs-directory-warning): New option.
14219 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14220
14221 2013-05-14 Leo Liu <sdl.web@gmail.com>
14222
14223 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14224 during redisplay.
14225 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14226 (octave-font-lock-texinfo-comment): Fix invalid search bound
14227 error: wrong side of point.
14228
14229 2013-05-14 Glenn Morris <rgm@gnu.org>
14230
14231 * progmodes/flymake.el (flymake-xml-program): New option.
14232 (flymake-xml-init): Use it.
14233
14234 * term/xterm.el: Provide a feature.
14235
14236 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14237
14238 2013-05-13 Glenn Morris <rgm@gnu.org>
14239
14240 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14241 Add compat aliases as a hack workaround. (Bug#14384)
14242
14243 2013-05-13 Leo Liu <sdl.web@gmail.com>
14244
14245 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14246 ###, and %!.
14247 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14248 C-M-q.
14249 (octave-comment-start-skip): Include %!.
14250 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14251
14252 2013-05-12 Leo Liu <sdl.web@gmail.com>
14253
14254 * progmodes/octave.el (inferior-octave-startup): Store the value
14255 of __octave_srcdir__ for octave-source-directories.
14256 (inferior-octave-check-process): New function refactored out of
14257 inferior-octave-send-list-and-digest.
14258 (octave-source-directories)
14259 (octave-find-definition-filename-function): New variables.
14260 (octave-source-directories)
14261 (octave-find-definition-default-filename): New functions.
14262 (octave-find-definition): Improve to find functions implemented in C++.
14263
14264 2013-05-12 Glenn Morris <rgm@gnu.org>
14265
14266 * calendar/diary-lib.el (diary-outlook-format-1):
14267 Don't include dayname in the output. (Bug#14349)
14268
14269 2013-05-11 Glenn Morris <rgm@gnu.org>
14270
14271 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14272
14273 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14274 Treat cc-provide like provide.
14275
14276 2013-05-11 Kevin Ryde <user42@zip.com.au>
14277
14278 * cus-dep.el (custom-make-dependencies):
14279 Use generated-autoload-load-name for the sake of files such
14280 such cedet/semantic/bovine/c.el, where the base file name
14281 is not in load-path. (Bug#5277)
14282
14283 2013-05-11 Glenn Morris <rgm@gnu.org>
14284
14285 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14286 Provide features.
14287
14288 2013-05-11 Leo Liu <sdl.web@gmail.com>
14289
14290 * progmodes/octave.el (octave-indent-comment): Improve.
14291 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14292 (octave-eldoc-function-signatures, octave-eldoc-function):
14293 New functions.
14294 (octave-mode, inferior-octave-mode): Add eldoc support.
14295
14296 2013-05-11 Richard Stallman <rms@gnu.org>
14297
14298 * epa.el (epa-decrypt-file): Take output file name as argument
14299 and read it using `interactive'.
14300
14301 2013-05-11 Leo Liu <sdl.web@gmail.com>
14302
14303 * progmodes/octave.el (octave-beginning-of-line)
14304 (octave-end-of-line): Check before using up-list because it jumps
14305 out of more syntactic contructs since moving to smie.
14306 (octave-indent-comment): New function.
14307 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14308 (octave-begin-keywords, octave-end-keywords)
14309 (octave-reserved-words, octave-smie-bnf-table)
14310 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14311
14312 2013-05-11 Glenn Morris <rgm@gnu.org>
14313
14314 * faces.el (internal-face-x-get-resource):
14315 * frame.el (ns-display-monitor-attributes-list):
14316 * calc/calc-aent.el (math-to-radians-2):
14317 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14318 Fix declarations.
14319
14320 * calc/calc-menu.el: Make it loadable in isolation.
14321
14322 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14323 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14324 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14325 (eudc-bbdb-query-internal): Require 'bbdb.
14326
14327 * lpr.el (lpr-headers-switches):
14328 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14329
14330 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14331
14332 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14333
14334 * term.el (term-set-escape-char): Make it idempotent.
14335
14336 2013-05-10 Leo Liu <sdl.web@gmail.com>
14337
14338 * progmodes/octave.el (inferior-octave-completion-table):
14339 No longer a function and all uses changed. Use cache to speed up
14340 completion due to bug#11906.
14341 (octave-beginning-of-defun): Re-write to be more general.
14342
14343 2013-05-10 Glenn Morris <rgm@gnu.org>
14344
14345 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14346
14347 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14348
14349 * comint.el (comint-redirect-send-command-to-process): Use :around
14350 rather than :override for comint-redirect-filter.
14351 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14352 Call it instead of comint-redirect-original-filter-function (which
14353 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14354
14355 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14356
14357 * frame.el (display-monitor-attributes-list): Add NS case.
14358 (ns-display-monitor-attributes-list): Declare.
14359
14360 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14361
14362 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14363
14364 2013-05-09 Glenn Morris <rgm@gnu.org>
14365
14366 * international/fontset.el (vertical-centering-font-regexp):
14367 Set standard-value.
14368
14369 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14370
14371 * bookmark.el (bookmark-search-delay):
14372 * cus-start.el (vertical-centering-font-regexp):
14373 * ps-mule.el (ps-mule-font-info-database-default):
14374 * ps-print.el (ps-default-fg, ps-default-bg):
14375 * type-break.el (type-break-good-break-interval):
14376 * whitespace.el (whitespace-indentation-regexp)
14377 (whitespace-space-after-tab-regexp):
14378 * emacs-lisp/testcover.el (testcover-1value-functions)
14379 (testcover-noreturn-functions, testcover-progn-functions)
14380 (testcover-prog1-functions):
14381 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14382 * eshell/em-glob.el (eshell-glob-translate-alist):
14383 * play/tetris.el (tetris-tty-colors):
14384 * progmodes/cpp.el (cpp-face-default-list):
14385 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14386 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14387 (idlwave-help-browser-generic-args):
14388 * progmodes/make-mode.el (makefile-special-targets-list):
14389 * progmodes/python.el (python-shell-virtualenv-path):
14390 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14391 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14392 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14393 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14394 * textmodes/reftex-vars.el (reftex-format-label-function):
14395 * textmodes/remember.el (remember-diary-file): Fix custom types.
14396
14397 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14398 Add :version.
14399
14400 2013-05-09 Leo Liu <sdl.web@gmail.com>
14401
14402 * progmodes/octave.el (inferior-octave-completion-at-point):
14403 Restore file completion. (Bug#14300)
14404 (inferior-octave-startup): Fix incorrect highlighting for the
14405 first prompt.
14406
14407 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14408
14409 * progmodes/ruby-mode.el: First cut at SMIE support.
14410 (ruby-use-smie): New var.
14411 (ruby-smie-grammar): New constant.
14412 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14413 (ruby-smie--forward-token, ruby-smie--backward-token)
14414 (ruby-smie-rules): New functions.
14415 (ruby-mode-variables): Setup SMIE if applicable.
14416
14417 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14418
14419 * simple.el (line-move-visual): Signal beginning/end of buffer
14420 only if vertical-motion moved less than it was requested. Avoids
14421 silly incorrect error messages when there are display strings with
14422 multiple newlines at EOL.
14423
14424 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14425
14426 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14427 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14428 (prolog-char-quote-workaround):
14429 * progmodes/cperl-mode.el (cperl-under-as-char):
14430 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14431 Mark as obsolete.
14432 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14433 their declaration.
14434 (vhdl-mode-syntax-table-init): Remove.
14435
14436 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14437 last change.
14438
14439 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14440 syntax for "_".
14441 (ld-script-font-lock-keywords):
14442 Change regexps to use things like \_< and \_>.
14443
14444 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14445 Change all regexps to use things like \_< and \_>.
14446
14447 * progmodes/autoconf.el (autoconf-definition-regexp)
14448 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14449 Handle a _ with symbol syntax.
14450 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14451
14452 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14453 Consolidate declaration.
14454 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14455 the declaration.
14456 (ada-create-syntax-table): Remove.
14457 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14458 already has the right syntax nowadays.
14459 (ada-goto-next-word): Don't change the syntax of "_".
14460
14461 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14462 with-wrapper-hook.
14463
14464 2013-05-08 Sam Steingold <sds@gnu.org>
14465
14466 * thingatpt.el (thing-at-point): Accept optional second argument
14467 NO-PROPERTIES to strip the text properties from the return value.
14468 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14469 to `thing-at-point' instead of stripping the properties ourselves.
14470 Also, when `thing-at-point' fails to find a url, prepend "http://"
14471 to the filename at point on the assumption that the user is
14472 pointing at something like gnu.org/gnu.
14473
14474 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14475
14476 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14477 * faces.el (crm-separator):
14478 Silence byte-compiler.
14479
14480 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14481 (tool-bar-map): Remove unneeded defvars.
14482
14483 2013-05-08 Leo Liu <sdl.web@gmail.com>
14484
14485 Re-work a fix for bug#10994 based on Le Wang's patch.
14486 * ido.el (ido-remove-consecutive-dups): New helper.
14487 (ido-completing-read): Use it.
14488 (ido-chop): Revert fix for bug#10994.
14489
14490 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14491
14492 * cus-edit.el (custom-save-variables):
14493 Pretty-print long values. (Bug#14187)
14494
14495 2013-05-08 Glenn Morris <rgm@gnu.org>
14496
14497 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14498 (m4-mode-syntax-table): Init in the defvar.
14499 (m4-mode-abbrev-table): Let define-derived-mode define it.
14500
14501 2013-05-08 Tom Tromey <tromey@redhat.com>
14502
14503 * progmodes/m4-mode.el (m4-mode-syntax-table):
14504 Do not treat "_" as word constituent. (Bug#14167)
14505
14506 2013-05-07 Glenn Morris <rgm@gnu.org>
14507
14508 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14509 Remove explicit eshell-isearch-cancel-map.
14510
14511 * progmodes/f90.el (f90-smart-end-names): New option.
14512 (f90-smart-end): Doc fix.
14513 (f90-end-block-optional-name): New constant.
14514 (f90-block-match): Respect f90-smart-end-names.
14515
14516 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14517
14518 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14519 about implicit semi-colons (bug#14218).
14520
14521 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14522
14523 * frame.el (display-monitor-attributes-list)
14524 (frame-monitor-attributes): New functions.
14525
14526 2013-05-06 Leo Liu <sdl.web@gmail.com>
14527
14528 * progmodes/octave.el (octave-syntax-propertize-function): Change
14529 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14530 (octave-font-lock-keywords): Use octave-operator-regexp.
14531 (octave-completion-at-point): Rename from
14532 octave-completion-at-point-function.
14533 (inferior-octave-directory-tracker): Robustify.
14534 (octave-text-functions): Remove and fix its uses. No such things
14535 any more.
14536
14537 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14538
14539 * emacs-lisp/trace.el (trace--display-buffer): New function.
14540 (trace-make-advice): Use it.
14541
14542 2013-05-06 Juri Linkov <juri@jurta.org>
14543
14544 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14545 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14546 Doc fix.
14547 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14548 in the help string. (Bug#12985)
14549
14550 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14551
14552 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14553
14554 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14555
14556 * progmodes/perl-mode.el: Add support for here documents.
14557 (perl-syntax-propertize-function): Match here-doc markers.
14558 (perl-syntax-propertize-special-constructs): Find their end.
14559 (perl-imenu-generic-expression): Use [:alnum:].
14560
14561 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14562 (advice--add-function): Refresh the advice if already present
14563 (bug#14317).
14564
14565 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14566
14567 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14568
14569 2013-05-06 Glenn Morris <rgm@gnu.org>
14570
14571 * w32-fns.el (w32-charset-info-alist): Declare.
14572
14573 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14574 of its defcustom properties.
14575 (eshell-cmpl-initialize): No need to load pcomplete.
14576
14577 * generic-x.el: No need to require comint when compiling.
14578
14579 * net/eudc-export.el: Make it loadable without bbdb.
14580 (top-level): Use require rather than load-library.
14581 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14582 (eudc-batch-export-records-to-bbdb)
14583 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14584 Require bbdb.
14585
14586 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14587
14588 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14589 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14590 some tweaks, instead.
14591
14592 2013-05-05 Leo Liu <sdl.web@gmail.com>
14593
14594 * progmodes/octave.el (octave-font-lock-keywords)
14595 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14596 (inferior-octave-send-list-and-digest): Improve error message.
14597 (octave-mode, inferior-octave-mode): Use setq-local.
14598 (octave-help): Set info-lookup-mode.
14599
14600 2013-05-05 Richard Stallman <rms@gnu.org>
14601
14602 * vc/compare-w.el (compare-windows-whitespace):
14603 Treat no-break space as whitespace.
14604
14605 * mail/rmailsum.el (rmail-summary-rmail-update):
14606 Detect empty summary and don't change selected message.
14607 (rmail-summary-goto-msg): Likewise.
14608
14609 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14610 Doc fixes, rename args.
14611
14612 2013-05-05 Alan Mackenzie <acm@muc.de>
14613
14614 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14615
14616 2013-05-05 Juri Linkov <juri@jurta.org>
14617
14618 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14619 to not add the length of the summary segment to the return value.
14620 (Bug#14125)
14621
14622 2013-05-05 Leo Liu <sdl.web@gmail.com>
14623
14624 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14625 (inferior-octave-output-filter): Remove.
14626 (octave-send-region, inferior-octave-startup): Fix callers.
14627 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14628 (octave-binary-file-extensions): New user variable.
14629 (octave-find-definition): Confirm if opening binary files.
14630 (octave-help-file): Use octave-find-definition to get the binary
14631 confirmation.
14632 (octave-help): Adjust for octave-help-file change.
14633
14634 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14635
14636 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14637 Merge the two entries that handle function definitions.
14638 (pascal--syntax-propertize): New const.
14639 (pascal-mode): Use it. Use setq-local.
14640
14641 2013-05-04 Glenn Morris <rgm@gnu.org>
14642
14643 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14644 (diary-from-outlook): Respect diary-from-outlook-function.
14645
14646 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14647
14648 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14649 Move the declaration from C.
14650 (read-minibuffer, eval-minibuffer): Move from C.
14651 (completion-setup-function): Avoid minibuffer-completion-contents.
14652
14653 2013-05-03 Leo Liu <sdl.web@gmail.com>
14654
14655 * progmodes/octave.el (octave-font-lock-keywords): Do not
14656 dehighlight 'end' in comments or strings.
14657 (octave-completing-read, octave-goto-function-definition):
14658 New helpers.
14659 (octave-help-buffer): New user variable.
14660 (octave-help-file, octave-help-function): New button types.
14661 (octave-help): New command and bind it to C-h ;.
14662 (octave-find-definition): New command and bind it to M-.
14663 (user-error): Alias to error if not defined.
14664
14665 2013-05-02 Leo Liu <sdl.web@gmail.com>
14666
14667 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14668 for \. (bug#14332)
14669 (octave-font-lock-keywords): Include [ and {.
14670
14671 2013-05-02 Leo Liu <sdl.web@gmail.com>
14672
14673 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14674 (inferior-octave): Remove calling comint-mode and return the buffer.
14675 (inferior-octave-startup): Cosmetic changes.
14676
14677 2013-05-02 Leo Liu <sdl.web@gmail.com>
14678
14679 * progmodes/octave.el (octave-syntax-propertize-function):
14680 Include the case when ' is at line beginning. (Bug#14336)
14681
14682 2013-05-02 Glenn Morris <rgm@gnu.org>
14683
14684 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14685 * desktop.el (vc-dir-mode): Just autoload it here.
14686
14687 2013-05-02 Alan Mackenzie <acm@muc.de>
14688
14689 Eliminate variable c-standard-font-lock-fontify-region-function.
14690 * progmodes/cc-mode.el
14691 (c-standard-font-lock-fontify-region-function): Remove.
14692 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14693
14694 2013-05-01 Leo Liu <sdl.web@gmail.com>
14695
14696 * progmodes/octave.el: Compatible with older emacs-24 releases.
14697 (inferior-octave-has-built-in-variables): Remove. Built-in
14698 variables were removed from Octave in 2007.
14699 (inferior-octave-startup): Fix uses.
14700 (comint-line-beginning-position): Remove compatibility code for
14701 emacs 21.
14702
14703 2013-05-01 Juri Linkov <juri@jurta.org>
14704
14705 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14706
14707 2013-05-01 Juri Linkov <juri@jurta.org>
14708
14709 * comint.el (comint-previous-matching-input): Don't print message
14710 "History item: %d" when `isearch-mode' is active.
14711 (comint-history-isearch-message): Print message "History item: %d"
14712 when `comint-input-ring-index' is not empty and this function is
14713 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14714
14715 2013-05-01 Leo Liu <sdl.web@gmail.com>
14716
14717 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14718 definitions. Use completion-at-point to insert keywords.
14719 (octave-abbrev-start): Remove.
14720 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14721
14722 2013-04-30 Leo Liu <sdl.web@gmail.com>
14723
14724 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14725 change.
14726
14727 2013-04-30 Alan Mackenzie <acm@muc.de>
14728
14729 Handle arbitrarily long C++ member initialisation lists.
14730 * progmodes/cc-engine.el (c-back-over-member-initializers):
14731 new function.
14732 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14733 (most) member init lists.
14734
14735 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14736
14737 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14738 variable.
14739
14740 2013-04-30 Leo Liu <sdl.web@gmail.com>
14741
14742 * progmodes/octave.el (octave-variables): Remove. No builtin
14743 variables any more. All converted to functions.
14744 (octave-font-lock-keywords, octave-completion-at-point-function):
14745 Fix uses.
14746 (octave-font-lock-texinfo-comment): New user variable.
14747 (octave-texinfo-font-lock-keywords): New variable for texinfo
14748 comment block.
14749 (octave-function-comment-block): New face.
14750 (octave-font-lock-texinfo-comment): New function.
14751 (octave-mode): Font lock texinfo comment block.
14752
14753 2013-04-29 Leo Liu <sdl.web@gmail.com>
14754
14755 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14756 indexing expression.
14757 (octave-continuation-string): Do not use \.
14758 (inferior-octave-complete-impossible): Remove.
14759 (inferior-octave-completion-table)
14760 (inferior-octave-completion-at-point): Remove its uses.
14761 (inferior-octave-startup): completion_matches was introduced to
14762 Octave in 1996 so safe to assume it.
14763 (octave-function-file-comment): Improve to follow how Octave does it.
14764 (octave-update-function-file-comment): Tweak.
14765
14766 2013-04-29 Leo Liu <sdl.web@gmail.com>
14767
14768 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14769 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14770 (octave-function-file-comment): Fix typo.
14771 (octave-sync-function-file-names): Use read-char-choice.
14772
14773 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14774
14775 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14776 to t for the less important warnings.
14777
14778 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14779
14780 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14781
14782 2013-04-27 Glenn Morris <rgm@gnu.org>
14783
14784 * vc/log-view.el (log-view-current-entry):
14785 Treat "---" separator lines as part of the following rev. (Bug#14169)
14786
14787 2013-04-27 Juri Linkov <juri@jurta.org>
14788
14789 * subr.el (read-number): Doc fix about using it by interactive
14790 code letter `n'. (Bug#14254)
14791
14792 2013-04-27 Juri Linkov <juri@jurta.org>
14793
14794 * desktop.el (desktop-auto-save-timeout): New option.
14795 (desktop-file-checksum): New variable.
14796 (desktop-save): Add optional arg `auto-save' and don't auto-save
14797 if nothing changed.
14798 (desktop-auto-save-timer): New variable.
14799 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14800 (after-init-hook): Call `desktop-auto-save-set-timer'.
14801 Suggested by Reuben Thomas <rrt@sc3d.org> in
14802 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14803
14804 2013-04-27 Leo Liu <sdl.web@gmail.com>
14805
14806 * progmodes/octave.el (octave-function-file-p)
14807 (octave-skip-comment-forward, octave-function-file-comment)
14808 (octave-update-function-file-comment): New functions.
14809 (octave-mode-map): Bind C-c ; to
14810 octave-update-function-file-comment.
14811 (octave-mode-menu): Add octave-update-function-file-comment.
14812 (octave-mode, inferior-octave-mode): Fix doc-string.
14813 (octave-insert-defun): Conform to Octave's coding convention.
14814 (Bug#14285)
14815
14816 * files.el (basic-save-buffer): Don't let errors in
14817 before-save-hook prevent saving buffer.
14818
14819 2013-04-20 Roland Winkler <winkler@gnu.org>
14820
14821 * faces.el (read-face-name): Use completing-read if arg multiple
14822 is nil.
14823
14824 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14825
14826 * ls-lisp.el (ls-lisp-insert-directory): If no files are
14827 displayed, move point to after the totals line.
14828 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
14829 for the details.
14830
14831 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14832
14833 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14834 Add current dir to the load-path.
14835 (package-generate-autoloads): Don't rely on
14836 autoload-ensure-default-file.
14837
14838 2013-04-26 Reuben Thomas <rrt@sc3d.org>
14839
14840 * textmodes/remember.el (remember-store-in-files): Document that
14841 the file name format is passed to `format-time-string'.
14842
14843 2013-04-26 Leo Liu <sdl.web@gmail.com>
14844
14845 * progmodes/octave.el (octave-sync-function-file-names): New function.
14846 (octave-mode): Use it in before-save-hook.
14847
14848 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14849
14850 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14851 (bug#14274).
14852
14853 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14854 \n and comment, even if it's not an implicit ; (bug#14218).
14855
14856 2013-04-26 Glenn Morris <rgm@gnu.org>
14857
14858 * subr.el (read-number): Once more use `read' rather than
14859 `string-to-number', to trap non-numeric input. (Bug#14254)
14860
14861 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
14862
14863 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14864 Use `syntax-multiline' text property consistently instead of
14865 `font-lock-multiline'. (Bug#14237)
14866
14867 2013-04-26 Glenn Morris <rgm@gnu.org>
14868
14869 * emacs-lisp/shadow.el (list-load-path-shadows):
14870 No longer necessary to check for duplicate simple.el, since
14871 2012-07-07 change to init_lread to not include installation lisp
14872 directories in load-path when running uninstalled. (Bug#14270)
14873
14874 2013-04-26 Leo Liu <sdl.web@gmail.com>
14875
14876 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14877 (octave-mode, inferior-octave-mode): Use setq-local.
14878 (octave-not-in-string-or-comment-p): Rename to
14879 octave-in-string-or-comment-p.
14880 (octave-in-comment-p, octave-in-string-p)
14881 (octave-in-string-or-comment-p): Replace defsubst with defun.
14882
14883 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14884
14885 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14886
14887 2013-04-25 Bastien Guerry <bzg@gnu.org>
14888
14889 * textmodes/remember.el (remember-data-directory)
14890 (remember-directory-file-name-format): Fix custom types.
14891
14892 2013-04-25 Leo Liu <sdl.web@gmail.com>
14893
14894 * progmodes/octave.el (octave-completion-at-point-function):
14895 Make use of inferior octave process.
14896 (octave-initialize-completions): Remove.
14897 (inferior-octave-completion-table): New function.
14898 (inferior-octave-completion-at-point): Use it.
14899 (octave-completion-alist): Remove.
14900
14901 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14902
14903 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14904 (opascal-mode-syntax-table): New var.
14905 (opascal-literal-kind, opascal-is-literal-end)
14906 (opascal-literal-token-at): Rewrite.
14907 (opascal--literal-start-re, opascal-font-lock-keywords)
14908 (opascal--syntax-propertize): New constants.
14909 (opascal-font-lock-defaults): Adjust.
14910 (opascal-mode): Use them. Set comment-<foo> variables as well.
14911 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14912 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14913 (delphi-other-face, opascal-other-face): Remove face variables.
14914 (opascal-save-state): Remove macro.
14915 (opascal-fontifying-progress-step): Remove constant.
14916 (opascal--ignore-changes): Remove var.
14917 (opascal-set-token-property, opascal-parse-next-literal)
14918 (opascal-is-stable-literal, opascal-complete-literal)
14919 (opascal-is-literal-start, opascal-face-of)
14920 (opascal-parse-region, opascal-parse-region-until-stable)
14921 (opascal-fontify-region, opascal-after-change)
14922 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14923 (opascal-debug-parse-region, opascal-debug-parse-window)
14924 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14925 (opascal-debug-fontify-buffer): Remove.
14926 (opascal-debug-mode-map): Adjust accordingly.
14927
14928 2013-04-25 Leo Liu <sdl.web@gmail.com>
14929
14930 Merge octave-mod.el and octave-inf.el into octave.el with some
14931 cleanups.
14932 * progmodes/octave.el: New file renamed from octave-mod.el.
14933 * progmodes/octave-inf.el: Merged into octave.el.
14934 * progmodes/octave-mod.el: Renamed to octave.el.
14935
14936 2013-04-25 Tassilo Horn <tsdh@gnu.org>
14937
14938 * textmodes/reftex-vars.el
14939 (reftex-label-ignored-macros-and-environments): New defcustom.
14940
14941 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
14942
14943 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14944
14945 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
14946 (smie-indent-keyword): Improve the check to ensure that the next
14947 comment is really on the same line.
14948 (smie-indent-comment): Don't align with a subsequent closer (or eob).
14949
14950 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
14951 semi-colons if the line is not otherwise empty (bug#14218).
14952
14953 2013-04-25 Glenn Morris <rgm@gnu.org>
14954
14955 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
14956
14957 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
14958
14959 * progmodes/opascal.el (opascal-set-token-property): Rename from
14960 opascal-set-text-properties and only set `token' (bug#14134).
14961 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
14962 (opascal-literal-text-properties): Remove.
14963 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
14964 Adjust callers.
14965
14966 2013-04-24 Reuben Thomas <rrt@sc3d.org>
14967
14968 * textmodes/remember.el (remember-handler-functions): Add an
14969 option for a new handler `remember-store-in-files'.
14970 (remember-data-directory, remember-directory-file-name-format):
14971 New options.
14972 (remember-store-in-files): New function to store remember notes
14973 as separate files within a directory.
14974
14975 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
14976
14977 * progmodes/compile.el (compilation-next-error-function):
14978 Pass "formats" to compilation-find-file (bug#11777).
14979
14980 2013-04-24 Glenn Morris <rgm@gnu.org>
14981
14982 * vc/vc-bzr.el (vc-bzr-print-log):
14983 * vc/vc-hg.el (vc-hg-print-log):
14984 * vc/vc-svn.el (vc-svn-print-log):
14985 Fix START-REVISION with LIMIT != 1. (Bug#14168)
14986
14987 * vc/vc-bzr.el (vc-bzr-print-log):
14988 * vc/vc-cvs.el (vc-cvs-print-log):
14989 * vc/vc-git.el (vc-git-print-log):
14990 * vc/vc-hg.el (vc-hg-print-log):
14991 * vc/vc-mtn.el (vc-mtn-print-log):
14992 * vc/vc-rcs.el (vc-rcs-print-log):
14993 * vc/vc-sccs.el (vc-sccs-print-log):
14994 * vc/vc-svn.el (vc-svn-print-log):
14995 * vc/vc.el (vc-print-log-internal): Doc fixes.
14996
14997 2013-04-23 Glenn Morris <rgm@gnu.org>
14998
14999 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15000 Remove venerable code attempting to avoid substitute-command-keys.
15001
15002 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15003
15004 * textmodes/reftex-vars.el (reftex-label-regexps):
15005 Call `reftex-compile-variables' after changes to this variable.
15006
15007 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15008
15009 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15010 Use lexical-binding.
15011 (jit-lock-force-redisplay): Use markers, check buffer's continued
15012 existence and beware narrowed buffers.
15013 (jit-lock-fontify-now): Adjust call accordingly.
15014
15015 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15016
15017 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15018 to avoid misleading the user.
15019
15020 2013-04-22 Leo Liu <sdl.web@gmail.com>
15021
15022 * info-look.el: Prefer latex2e.info. (Bug#14240)
15023
15024 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15025
15026 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15027
15028 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15029 * net/tramp.el (tramp-call-process): ... here.
15030 (tramp-set-completion-function, tramp-parse-putty):
15031 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15032 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15033 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15034 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15035 (tramp-call-local-coding-command): Use `tramp-call-process'
15036 instead of `tramp-compat-call-process'.
15037
15038 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15039 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15040 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15041 (tramp-find-inline-compress): Improve traces.
15042 (tramp-maybe-send-script): Check for Perl binary.
15043 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15044
15045 2013-04-22 Daiki Ueno <ueno@gnu.org>
15046
15047 * epg.el (epg-context-pinentry-mode): New function.
15048 (epg-context-set-pinentry-mode): New function.
15049 (epg--start): Pass --pinentry-mode option to gpg command.
15050
15051 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15052
15053 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15054 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15055 `completion-at-point'. (Bug#13774)
15056
15057 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15058 default key binding for `describe-distribution' has been moved to
15059 `C-h C-o'. (Bug#13970)
15060
15061 2013-04-21 Glenn Morris <rgm@gnu.org>
15062
15063 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15064 Add doc strings.
15065 (vc-print-log): Clarify interactive prompt.
15066
15067 2013-04-20 Glenn Morris <rgm@gnu.org>
15068
15069 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15070 No longer include timestamp etc information.
15071
15072 2013-04-20 Roland Winkler <winkler@gnu.org>
15073
15074 * faces.el (read-face-name): Bug fix, return just one face if arg
15075 multiple is nil. (Bug#14209)
15076
15077 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15078
15079 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15080 (remove-function): Autoload.
15081
15082 * comint.el (comint-redirect-original-filter-function): Remove.
15083 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15084 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15085 (vc-cvs-annotate-command):
15086 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15087 * progmodes/prolog.el (prolog-consult-compile):
15088 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15089 Use add/remove-function instead.
15090 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15091 (gud-tooltip-process-output, gud-tooltip-tips):
15092 Use add/remove-function instead.
15093 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15094 (scheme-interaction-mode, exit-scheme-interaction-mode):
15095 Use add/remove-function instead.
15096
15097 * vc/vc-dispatcher.el: Use lexical-binding.
15098 (vc--process-sentinel): Rename from vc-process-sentinel.
15099 Change last arg to be the code to run. Don't use vc-previous-sentinel
15100 and vc-sentinel-commands any more.
15101 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15102 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15103
15104 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15105
15106 * progmodes/sh-script.el (sh-imenu-generic-expression):
15107 Handle function names with a single character. (Bug#14111)
15108
15109 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15110
15111 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15112 for subroutines defined in an eval (bug#14182).
15113
15114 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15115
15116 * bookmark.el (bookmark-completing-read): Improve handling of empty
15117 string (bug#14176).
15118
15119 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15120
15121 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15122
15123 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15124
15125 New faster Imenu implementation (bug#14058).
15126 * progmodes/python.el:
15127 (python-imenu-prev-index-position):
15128 (python-imenu-format-item-label-function)
15129 (python-imenu-format-parent-item-label-function)
15130 (python-imenu-format-parent-item-jump-label-function):
15131 New vars.
15132 (python-imenu-format-item-label)
15133 (python-imenu-format-parent-item-label)
15134 (python-imenu-format-parent-item-jump-label)
15135 (python-imenu--put-parent, python-imenu--build-tree)
15136 (python-imenu-create-index, python-imenu-create-flat-index)
15137 (python-util-popn): New functions.
15138 (python-mode): Set imenu-create-index-function to
15139 python-imenu-create-index.
15140
15141 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15142
15143 * winner.el (winner-active-region): Use region-active-p, activate-mark
15144 and deactivate-mark (bug#14225).
15145
15146 * simple.el (deactivate-mark): Don't inline it.
15147
15148 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15149
15150 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15151
15152 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15153
15154 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15155 file extensions from the archive-mode entry in order to prefer
15156 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15157
15158 2013-04-18 Leo Liu <sdl.web@gmail.com>
15159
15160 * bindings.el (help-event-list): Add ?\?.
15161
15162 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15163
15164 * subr.el (with-wrapper-hook): Declare obsolete.
15165 * simple.el (filter-buffer-substring-function): New hook.
15166 (filter-buffer-substring): Use it.
15167 (filter-buffer-substring-functions): Mark obsolete.
15168 * minibuffer.el (completion-in-region-function): New hook.
15169 (completion-in-region): Use it.
15170 (completion-in-region-functions): Mark obsolete.
15171 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15172 * abbrev.el (abbrev-expand-function): New hook.
15173 (expand-abbrev): Use it.
15174 (abbrev-expand-functions): Mark obsolete.
15175 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15176 and :filter-return.
15177
15178 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15179
15180 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15181 and do not care about match data.
15182
15183 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15184
15185 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15186 completion tables when completing error conditions and
15187 `declare' arguments.
15188 (lisp-complete-symbol, field-complete): Mark as obsolete.
15189 (check-parens): Unmatched parens are user errors.
15190 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15191
15192 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15193
15194 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15195 command changed buffer (ie. `flyspell-pre-buffer' is not current
15196 buffer), which prevents making decisions based on invalid value of
15197 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15198 cause an error when `flyspell-pre-point' was nil after switching
15199 buffers.
15200 (flyspell-post-command-hook): No longer needs to change buffers when
15201 checking pre-word. While at it remove unnecessary progn.
15202
15203 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15204
15205 * textmodes/ispell.el (ispell-add-per-file-word-list):
15206 Fix `flyspell-correct-word-before-point' error when accepting
15207 words and `coment-padding' is an integer by using
15208 `comment-normalize-vars' (Bug #14214).
15209
15210 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15211
15212 New defun movement commands.
15213 * progmodes/python.el (python-nav--syntactically)
15214 (python-nav--forward-defun, python-nav-backward-defun)
15215 (python-nav-forward-defun): New functions.
15216
15217 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15218
15219 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15220 (python-syntax-context): Use named compiler-macro for backwards
15221 compatibility with Emacs 24.x.
15222
15223 2013-04-17 Leo Liu <sdl.web@gmail.com>
15224
15225 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15226 octave-hide-process-buffer.
15227
15228 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15229
15230 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15231 (bug#14216).
15232
15233 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15234
15235 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15236 Fix adjustment of offset when receiving incomplete responses from GDB
15237 (bug#14129).
15238
15239 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15240
15241 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15242 python-mode-abbrev-table.
15243 (python-skeleton-define): Adjust accordingly.
15244 (python-mode-abbrev-table): New table that inherits from it so that
15245 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15246
15247 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15248 (abbrev-symbol): Use it.
15249 (abbrev--before-point): Use it since we already handle inheritance.
15250
15251 2013-04-16 Leo Liu <sdl.web@gmail.com>
15252
15253 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15254 binding to info-lookup-symbol.
15255
15256 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15257
15258 * minibuffer.el (completion--twq-all):
15259 * term/ns-win.el (ns-initialize-window-system):
15260 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15261
15262 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15263
15264 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15265 global bindings.
15266
15267 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15268
15269 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15270
15271 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15272 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15273 to nil.
15274 (ruby-end-of-defun): Remove the unused arg, change the docstring
15275 to reflect that this function is only used as the value of
15276 `end-of-defun-function'.
15277 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15278 to reflect an earlier change that beginning/end-of-defun functions
15279 jump between methods in a class definition, as well as top-level
15280 functions.
15281
15282 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15283
15284 * minibuffer.el (minibuffer-complete): Don't just scroll
15285 a *Completions* that's been iconified.
15286 (minibuffer-force-complete): Make sure repetitions do cycle when going
15287 through completion-in-region -> minibuffer-complete.
15288
15289 2013-04-15 Alan Mackenzie <acm@muc.de>
15290
15291 Correct the placement of c-cpp-delimiters when there're #s not at
15292 col 0.
15293
15294 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15295 place a submatch around the #.
15296 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15297 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15298 on the #, not BOL.
15299
15300 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15301
15302 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15303 (advice--member-p): New arg `name'.
15304 (advice--add-function, advice-member-p): Use it (bug#14202).
15305
15306 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15307
15308 Reformulate java imenu-generic-expression.
15309 The old expression contained ill formed regexps.
15310
15311 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15312 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15313 (cc-imenu-java-method-arg-regexp): New defconsts.
15314 (cc-imenu-java-build-type-args-regex): New defun.
15315 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15316 handling of spaces in the regexp.
15317
15318 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15319
15320 * textmodes/ispell.el (ispell-command-loop): Remove
15321 flyspell highlight of a word when ispell accepts it (bug #14178).
15322
15323 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15324
15325 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15326 uses code from the previous `ange-ftp-run-real-handler'.
15327 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15328 only in case that function exist. This is needed for proper
15329 unloading of Tramp.
15330
15331 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15332
15333 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15334
15335 * textmodes/reftex.el (reftex-compile-variables): Use it.
15336
15337 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15338
15339 * files.el (normal-mode): Only use default major-mode if no other mode
15340 was specified.
15341
15342 * emacs-lisp/trace.el (trace-values): New function.
15343
15344 * files.el: Allow : in local variables (bug#14089).
15345 (hack-local-variable-regexp): New var.
15346 (hack-local-variables-prop-line, hack-local-variables): Use it.
15347
15348 2013-04-13 Roland Winkler <winkler@gnu.org>
15349
15350 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15351 data before it gets modified by bibtex-beginning-of-entry.
15352
15353 2013-04-13 Roland Winkler <winkler@gnu.org>
15354
15355 * textmodes/bibtex.el (bibtex-url): Doc fix.
15356
15357 2013-04-13 Roland Winkler <winkler@gnu.org>
15358
15359 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15360 does not visit a BibTeX file, exclude it from the list of buffers
15361 returned by bibtex-initialize.
15362
15363 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15364
15365 * window.el (split-window): Remove interactive form, since as a
15366 command this function is a special case of split-window-below.
15367 Correct doc string.
15368
15369 2013-04-12 Roland Winkler <winkler@gnu.org>
15370
15371 * faces.el (read-face-name): Do not override value of arg default.
15372 Allow single faces and strings as default values. Remove those
15373 elements from return value that are not faces.
15374 (describe-face): Simplify.
15375 (face-at-point): New optional args thing and multiple so that this
15376 function can provide the same functionality previously provided by
15377 read-face-name.
15378 (make-face-bold, make-face-unbold, make-face-italic)
15379 (make-face-unitalic, make-face-bold-italic, invert-face)
15380 (modify-face, read-face-and-attribute): Use face-at-point.
15381
15382 * cus-edit.el (customize-face, customize-face-other-window)
15383 * cus-theme.el (custom-theme-add-face)
15384 * face-remap.el (buffer-face-set)
15385 * facemenu.el (facemenu-set-face): Use face-at-point.
15386
15387 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15388
15389 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15390
15391 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15392
15393 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15394 off leading { and trailing } from field values.
15395
15396 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15397
15398 * emacs-lisp/timer.el (timer--check): New function.
15399 (timer--time, timer-set-function, timer-event-handler): Use it.
15400 (timer-set-idle-time): Simplify.
15401 (timer--activate): CSE.
15402 (timer-event-handler): Give more info in error message.
15403 (internal-timer-start-idle): New function, moved from C.
15404
15405 * mpc.el (mpc-proc): Add `restart' argument.
15406 (mpc-proc-cmd): Use it.
15407 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15408 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15409 less often.
15410
15411 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15412
15413 * progmodes/sh-script.el: Implement `sh-mode' own
15414 `add-log-current-defun-function' (bug#14112).
15415 (sh-current-defun-name): New function.
15416 (sh-mode): Use the function.
15417
15418 2013-04-09 Bastien Guerry <bzg@gnu.org>
15419
15420 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15421
15422 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15423
15424 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15425
15426 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15427 timer (bug#14156).
15428
15429 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15430
15431 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15432 declaration.
15433
15434 2013-04-07 Leo Liu <sdl.web@gmail.com>
15435
15436 * pcmpl-x.el: New file.
15437
15438 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15439
15440 Do not set x-display-name until X connection is established.
15441 This is needed to prevent from weird situation described at
15442 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15443 * frame.el (make-frame): Set x-display-name after call to
15444 window system initialization function, not before.
15445 * term/x-win.el (x-initialize-window-system): Add optional
15446 display argument and use it.
15447 * term/w32-win.el (w32-initialize-window-system):
15448 * term/ns-win.el (ns-initialize-window-system):
15449 * term/pc-win.el (msdos-initialize-window-system):
15450 Add compatible optional display argument.
15451
15452 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15453
15454 * files.el (normal-backup-enable-predicate): On MS-Windows and
15455 MS-DOS compare truenames of temporary-file-directory and of the
15456 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15457 don't fail comparison by compare-strings. Also, compare file
15458 names case-insensitively on MS-Windows and MS-DOS.
15459
15460 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15461
15462 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15463 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15464
15465 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15466
15467 * whitespace.el (whitespace-color-on, whitespace-color-off):
15468 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15469
15470 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15471
15472 * ispell.el (ispell-set-spellchecker-params):
15473 Really set `ispell-args' for all equivs.
15474
15475 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15476
15477 * ido.el (ido-completions): Use extra elements of ido-decorations
15478 (bug#14143).
15479 (ido-decorations): Update docstring.
15480
15481 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15482
15483 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15484 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15485 nil during initialization, in order not to miss changes since the
15486 file was opened. (Bug#14140)
15487
15488 2013-04-05 Leo Liu <sdl.web@gmail.com>
15489
15490 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15491
15492 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15493
15494 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15495
15496 2013-04-04 Glenn Morris <rgm@gnu.org>
15497
15498 * electric.el (electric-pair-inhibit-predicate): Add :version.
15499
15500 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15501
15502 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15503 when a package is required several times (bug#14082).
15504
15505 2013-04-04 Roland Winkler <winkler@gnu.org>
15506
15507 * faces.el (read-face-name): Behave as promised by the docstring.
15508 Assume that arg default is a list of faces.
15509 (describe-face): Call read-face-name with list of default faces.
15510
15511 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15512
15513 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15514 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15515 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15516 the header.
15517 (bookmark-exit-hook-internal): Save even if list is empty.
15518
15519 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15520
15521 * emacs-lisp/package.el (package-pinned-packages): New var.
15522 (package--add-to-archive-contents): Obey it (bug#14118).
15523
15524 2013-04-03 Alan Mackenzie <acm@muc.de>
15525
15526 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15527 Also adapt to the new values of element 7 of a parse state.
15528
15529 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15530 parameter `not-in-delimiter'. Handle being inside comment opener.
15531 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15532 character in case we're typing a '*' after a '/'.
15533 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15534 instead by passing the parameter to c-state-pp-to-literal.
15535
15536 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15537 for elt. 7 of a parse state.
15538
15539 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15540
15541 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15542 * international/latin1-disp.el, international/mule-util.el:
15543 * language/cyril-util.el, language/european.el, language/ind-util.el:
15544 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15545 * language/tibetan.el, language/viet-util.el:
15546 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15547
15548 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15549
15550 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15551 (electric-pair-post-self-insert-function): Use it.
15552 (electric-pair-default-inhibit): New function, extracted from
15553 electric-pair-post-self-insert-function.
15554
15555 2013-03-31 Roland Winkler <winkler@gnu.org>
15556
15557 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15558
15559 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15560
15561 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15562
15563 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15564
15565 Un-indent after "pass" and "return" statements (Bug#13888)
15566 * progmodes/python.el (python-indent-block-enders): New var.
15567 (python-indent-calculate-indentation): Use it.
15568
15569 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15570
15571 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15572 defun. Defining it as defalias could introduce too eager
15573 byte-compiler optimization. (Bug#14030)
15574
15575 2013-03-30 Chong Yidong <cyd@gnu.org>
15576
15577 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15578
15579 2013-03-30 Leo Liu <sdl.web@gmail.com>
15580
15581 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15582 (kmacro-execute-from-register): Pass the keyboard macro to
15583 kmacro-call-macro or repeating won't work correctly.
15584
15585 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15586
15587 * progmodes/subword.el: Back to using `forward-symbol'.
15588
15589 * subr.el (forward-whitespace, forward-symbol)
15590 (forward-same-syntax): Move from thingatpt.el.
15591
15592 2013-03-29 Leo Liu <sdl.web@gmail.com>
15593
15594 * kmacro.el (kmacro-to-register): New command.
15595 (kmacro-execute-from-register): New function.
15596 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15597
15598 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15599
15600 * mpc.el: Use defvar-local and setq-local.
15601 (mpc--proc-connect): Connection failures are not bugs.
15602 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15603 (mpc-volume-map): Bind to the up-events.
15604
15605 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15606
15607 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15608 instead of `forward-symbol'.
15609
15610 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15611
15612 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15613 (edebug--recursive-edit): Use it.
15614 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15615 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15616
15617 2013-03-28 Leo Liu <sdl.web@gmail.com>
15618
15619 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15620
15621 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15622
15623 * facemenu.el (list-colors-callback): New defvar.
15624 (list-colors-redisplay): New function.
15625 (list-colors-display): Install list-colors-redisplay as the
15626 revert-buffer-function. (Bug#14063)
15627
15628 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15629
15630 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15631 and suffixes don't overlap (bug#14061).
15632
15633 * case-table.el: Use lexical-binding.
15634 (case-table-get-table): New function.
15635 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15636
15637 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15638
15639 * progmodes/subword.el: Add `superword-mode' to do word motion
15640 over symbol_words (parallels and leverages `subword-mode' which
15641 does word motion inside MixedCaseWords).
15642
15643 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15644
15645 * eshell/em-unix.el: Move su and sudo to...
15646 * eshell/em-tramp.el: ...Eshell tramp module.
15647
15648 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15649
15650 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15651 Change return value to be a sexp. Delay `get-buffer' to after
15652 restoring the desktop (bug#13951).
15653
15654 2013-03-26 Leo Liu <sdl.web@gmail.com>
15655
15656 * register.el: Move semantic tag handling back to
15657 cedet/semantic/senator.el. (Bug#14052)
15658
15659 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15660
15661 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15662 into the prompt either (bug#13963).
15663
15664 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15665
15666 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15667 part of "(error-foo)".
15668
15669 2013-03-24 Juri Linkov <juri@jurta.org>
15670
15671 * replace.el (list-matching-lines-prefix-face): New defcustom.
15672 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15673 `occur-engine' if `face-differs-from-default-p' returns t.
15674 (occur-engine): Add `,' inside backquote construct to evaluate
15675 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15676 Pass `prefix-face' to the functions `occur-context-lines' and
15677 `occur-engine-add-prefix'.
15678 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15679 `prefix-face' and propertize the prefix with `prefix-face'.
15680 (Bug#14017)
15681
15682 2013-03-24 Leo Liu <sdl.web@gmail.com>
15683
15684 * nxml/rng-valid.el (rng-validate-while-idle)
15685 (rng-validate-quick-while-idle): Guard against deleted buffer.
15686 (Bug#13999)
15687
15688 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15689 is the last entry in kill-buffer-hook.
15690
15691 * files.el (kill-buffer-hook): Doc fix.
15692
15693 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15694
15695 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15696 Make it safe-local.
15697
15698 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15699
15700 2013-03-23 Leo Liu <sdl.web@gmail.com>
15701
15702 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15703 Remove.
15704
15705 * nxml/rng-valid.el (rng-validate-mode)
15706 (rng-after-change-function, rng-do-some-validation):
15707 * nxml/rng-maint.el (rng-validate-buffer):
15708 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15709 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15710 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15711 (nxml-extend-after-change-region): Use with-silent-modifications.
15712
15713 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15714 timer-idle-list.
15715
15716 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15717 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15718 timer-idle-list. (Bug#13999)
15719
15720 2013-03-23 Juri Linkov <juri@jurta.org>
15721
15722 * info.el (info-index-match): New face.
15723 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15724 main pattern and add text properties with the new face to matches
15725 in index entries relative to the beginning of the index entry.
15726 (Bug#14015)
15727
15728 2013-03-21 Eric Ludlam <zappo@gnu.org>
15729
15730 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15731 Inhibit read only while inserting objects.
15732
15733 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15734
15735 * progmodes/cfengine.el: Update docs to mention
15736 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15737 symbol motion. Remove "_" from the word syntax.
15738
15739 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15740
15741 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15742 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15743
15744 2013-03-20 Juri Linkov <juri@jurta.org>
15745
15746 * info.el (Info-next-reference-or-link)
15747 (Info-prev-reference-or-link): New functions.
15748 (Info-next-reference, Info-prev-reference): Use them.
15749 (Info-try-follow-nearest-node): Handle footnote navigation.
15750 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15751
15752 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15753
15754 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15755 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15756
15757 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15758
15759 Suppress unnecessary non-ASCII chatter during build process.
15760 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15761 (batch-skkdic-convert): Suppress most of the chatter.
15762 It's not needed so much now that machines are faster,
15763 and its non-ASCII component was confusing; see Dmitry Gutov in
15764 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15765
15766 2013-03-20 Leo Liu <sdl.web@gmail.com>
15767
15768 * ido.el (ido-chop): Fix bug#10994.
15769
15770 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15771
15772 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15773 Remove vars.
15774 (whitespace-color-on, whitespace-color-off):
15775 Use `font-lock-fontify-buffer' (Bug#13817).
15776
15777 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15778
15779 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15780 remapping in mode-line.
15781 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15782
15783 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15784
15785 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15786 value for `whitespace-line' face (Bug#13875).
15787 (whitespace-font-lock-keywords): Change description.
15788 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15789 the constructed keywords instead.
15790 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15791
15792 2013-03-19 Leo Liu <sdl.web@gmail.com>
15793
15794 * progmodes/compile.el (compilation-display-error): New command.
15795 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15796 C-o. (Bug#13992)
15797
15798 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15799
15800 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15801
15802 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15803
15804 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15805
15806 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
15807
15808 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15809
15810 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15811 * net/tramp-gvfs.el (top):
15812 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15813 (tramp-handle-shell-command): Use it.
15814 (tramp-dissect-file-name): Raise an error when hostname is a
15815 method name, and neither method nor user is specified.
15816
15817 * net/trampver.el: Update release number.
15818
15819 2013-03-18 Leo Liu <sdl.web@gmail.com>
15820
15821 Make sure eldoc can be turned off properly.
15822 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15823 eldoc-mode.
15824 (eldoc-display-message-p): Revert last change.
15825 (eldoc-display-message-no-interference-p)
15826 (eldoc-print-current-symbol-info): Tweak.
15827
15828 2013-03-18 Tassilo Horn <tsdh@gnu.org>
15829
15830 * doc-view.el (doc-view-new-window-function): Check the new window
15831 overlay's display property instead the char property of the
15832 buffer's first char. Use `with-selected-window' instead of
15833 `save-window-excursion' with `select-window'.
15834 (doc-view-document->bitmap): Check the current doc-view overlay's
15835 display property instead the char property of the buffer's first char.
15836
15837 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15838
15839 Automate the build of ja-dic.el (Bug#13984).
15840 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15841 from the input, rather than assume that it's been done for us by the
15842 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15843 the current date into a ja-dic.el comment, as that complicates
15844 regression testing.
15845
15846 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15847
15848 * whitespace.el: Fix double evaluation.
15849 (whitespace-space, whitespace-hspace, whitespace-tab)
15850 (whitespace-newline, whitespace-trailing, whitespace-line)
15851 (whitespace-space-before-tab, whitespace-indentation)
15852 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15853 obsolete defvars.
15854 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15855 (whitespace-color-on): Use a single font-lock-add-keywords call.
15856 Fix double-evaluation of face variables.
15857
15858 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
15859
15860 * net/tramp-adb.el (tramp-adb-parse-device-names):
15861 Use `start-process' instead of `call-process'. Otherwise, the
15862 function might be blocked under MS Windows. (Bug#13299)
15863
15864 2013-03-17 Leo Liu <sdl.web@gmail.com>
15865
15866 Extend eldoc to display info in the mode-line. (Bug#13978)
15867 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15868 (eldoc-mode-line-string): New variable.
15869 (eldoc-minibuffer-message): New function.
15870 (eldoc-message-function): New variable.
15871 (eldoc-message): Use it.
15872 (eldoc-display-message-p)
15873 (eldoc-display-message-no-interference-p):
15874 Support eldoc-post-insert-mode.
15875
15876 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15877 (eval-expression): Run it.
15878
15879 2013-03-17 Roland Winkler <winkler@gnu.org>
15880
15881 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15882 strings in the list of return values.
15883
15884 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15885
15886 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15887 radix before checking for HMS forms.
15888
15889 2013-03-16 Leo Liu <sdl.web@gmail.com>
15890
15891 * progmodes/scheme.el: Add indentation and font-locking for λ.
15892 (Bug#13975)
15893
15894 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
15895
15896 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15897 token before point (bug#13942).
15898
15899 2013-03-16 Leo Liu <sdl.web@gmail.com>
15900
15901 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
15902
15903 2013-03-16 Eli Zaretskii <eliz@gnu.org>
15904
15905 * startup.el (command-line-normalize-file-name): Fix handling of
15906 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15907 <xfq.free@gmail.com> in
15908 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15909
15910 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
15911
15912 Sync with Tramp 2.2.7.
15913
15914 * net/trampver.el: Update release number.
15915
15916 2013-03-14 Tassilo Horn <tsdh@gnu.org>
15917
15918 * doc-view.el: Fix bug#13887.
15919 (doc-view-insert-image): Don't modify overlay associated to
15920 non-live windows, and implement horizontal centering of image in
15921 case it's smaller than the window.
15922 (doc-view-new-window-function): Force redisplay of new windows on
15923 doc-view buffers.
15924
15925 2013-03-13 Karl Fogel <kfogel@red-bean.com>
15926
15927 * saveplace.el (save-place-alist-to-file): Don't sort
15928 `save-place-alist', just pretty-print it (bug#13882).
15929
15930 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
15931
15932 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15933 Check whether `default-file-name-coding-system' is bound.
15934 It isn't in XEmacs.
15935
15936 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
15937
15938 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
15939 backquotes for `obsolete' (bug#13929).
15940
15941 * international/mule.el (find-auto-coding): Include file name in
15942 obsolescence warning (bug#13922).
15943
15944 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
15945
15946 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
15947 for CFEngine 3-specific indentation.
15948 (cfengine3-indent-line): Use it. Fix up category regex.
15949 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
15950
15951 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
15952
15953 * type-break.el (type-break-file-name):
15954 * textmodes/remember.el (remember-data-file):
15955 * strokes.el (strokes-file):
15956 * shadowfile.el (shadow-initialize):
15957 * saveplace.el (save-place-file):
15958 * ps-bdf.el (bdf-cache-file):
15959 * progmodes/idlwave.el (idlwave-config-directory):
15960 * net/quickurl.el (quickurl-url-file):
15961 * international/kkc.el (kkc-init-file-name):
15962 * ido.el (ido-save-directory-list-file):
15963 * emulation/viper.el (viper-custom-file-name):
15964 * emulation/vip.el (vip-startup-file):
15965 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
15966 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
15967
15968 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
15969
15970 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
15971 * language/thai-word.el: Switch to UTF-8.
15972
15973 See ChangeLog.16 for earlier changes.
15974
15975 ;; Local Variables:
15976 ;; coding: utf-8
15977 ;; End:
15978
15979 Copyright (C) 2011-2014 Free Software Foundation, Inc.
15980
15981 This file is part of GNU Emacs.
15982
15983 GNU Emacs is free software: you can redistribute it and/or modify
15984 it under the terms of the GNU General Public License as published by
15985 the Free Software Foundation, either version 3 of the License, or
15986 (at your option) any later version.
15987
15988 GNU Emacs is distributed in the hope that it will be useful,
15989 but WITHOUT ANY WARRANTY; without even the implied warranty of
15990 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15991 GNU General Public License for more details.
15992
15993 You should have received a copy of the GNU General Public License
15994 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.