]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
* doc/lispref/commands.texi (Generic Commands): Copyedits.
[gnu-emacs] / lisp / ChangeLog
1 2014-10-04 Glenn Morris <rgm@gnu.org>
2
3 * frame.el (frame-monitor-attributes)
4 (display-monitor-attributes-list): Doc fixes.
5
6 2014-10-03 Dmitry Gutov <dgutov@yandex.ru>
7
8 * vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
9 (vc-svn-ignore): Use it. (Bug#18619)
10
11 2014-10-03 Martin Rudalics <rudalics@gmx.at>
12
13 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
14 In doc-string mention need to set `frame-resize-pixelwise'.
15
16 2014-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
17
18 * vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
19 similarly to Rogers's 2010-06-16 change for the remote case
20 (bug#18605).
21
22 2014-10-01 Glenn Morris <rgm@gnu.org>
23
24 * emacs-lisp/package.el (package-import-keyring):
25 Create gnupg directory private. (Bug#17625#155)
26
27 2014-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
28
29 * progmodes/python.el (python-shell-completion-get-completions):
30 Use python-shell--prompt-calculated-input-regexp from the
31 process buffer (bug#18582).
32 Don't assume that `line' comes from the process buffer.
33
34 2014-09-30 Leonardo Nobrega <leonobr@gmail.com> (tiny change)
35
36 * progmodes/python.el (python-fill-paren): Don't inf-loop at EOB
37 (bug#18462).
38
39 2014-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
40
41 * emacs-lisp/package.el (package-check-signature): Default to nil if
42 GPG is not available.
43 (package-refresh-contents): Don't mess with the keyring if we won't
44 check the signatures anyway.
45
46 2014-09-18 Kan-Ru Chen <kanru@kanru.info>
47
48 * window.el (fit-window-to-buffer): When counting buffer width,
49 count the whole visible buffer. Correctly convert the body-height
50 to pixel size for window-text-pixel-size (Bug#18498).
51
52 2014-09-14 Glenn Morris <rgm@gnu.org>
53
54 * image.el (image-multi-frame-p): Fix thinko - do not force
55 a delay if none was specified. (Bug#18334)
56
57 2014-09-12 Kan-Ru Chen <kanru@kanru.info>
58
59 * window.el (fit-window-to-buffer): Doc fix.
60
61 2014-09-10 Ivan Shmakov <ivan@siamics.net> (tiny change)
62
63 * desktop.el (desktop-create-buffer): Check that buffers are still live
64 before burying them (bug#18373).
65
66 2014-09-09 Glenn Morris <rgm@gnu.org>
67
68 * calendar/diary-lib.el (diary-list-entries):
69 Restore 24.3 display behavior. (Bug#18381)
70
71 2014-09-09 Eli Zaretskii <eliz@gnu.org>
72
73 * mouse.el (mouse-drag-line): On text-mode frames, count the mode
74 line and header line as 1 pixel. This fixes the 1-"pixel" (row)
75 discrepancy between window-pixel-edges and mouse events, and
76 avoids moving mode line up when the mouse click is on the modeline
77 and no drag is attempted.
78
79 2014-09-08 Glenn Morris <rgm@gnu.org>
80
81 * calendar/calendar.el (calendar-basic-setup):
82 Avoid clobbering calendar with diary. (Bug#18381)
83
84 2014-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
85
86 * vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
87
88 2014-09-04 Lars Ljung <lars@matholka.se> (tiny change)
89
90 * isearch.el (isearch-yank-word-or-char): Obey superword-mode
91 as well (bug#18400).
92
93 2014-09-04 Eli Zaretskii <eliz@gnu.org>
94
95 * subr.el (posn-actual-col-row): Doc fix. (Bug#18385)
96
97 2014-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
98
99 * emacs-lisp/package.el (package-generate-description-file):
100 Properly quote the arguments (bug#18332). Change second arg.
101 (package--alist-to-plist-args): Rename from package--alist-to-plist and
102 quote the elements.
103 (package--make-autoloads-and-stuff): Fix the test for pre-existence of
104 the *-pkg.el file. Adjust to new calling convention of
105 package-generate-description-file.
106
107 * progmodes/gud.el (gud-gdb-completion-at-point): Add hack (bug#18282).
108 (gud-gdb-completions): Remove obsolete workaround.
109
110 2014-09-02 Eli Zaretskii <eliz@gnu.org>
111
112 * subr.el (posn-col-row): Revert the change from commit
113 2010-11-13T21:07:58Z!eliz@gnu.org, which
114 was inadvertently merged from emacs-23 release branch in 2010-11-18T03:54:14Z!monnier@iro.umontreal.ca
115 monnier@iro.umontreal.ca-20101118035414-yvlg7k7dk4k4l3q, and
116 introduced an off-by-one error in the reported row when there is a
117 header line. (Bug#18384)
118
119 2014-09-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
120
121 * progmodes/python.el (python-indent-post-self-insert-function):
122 Avoid electric colon at beginning-of-defun. (Bug#18228)
123
124 2014-09-01 Glenn Morris <rgm@gnu.org>
125
126 * tutorial.el (tutorial--display-changes):
127 Fix 2014-07-29 change. (Bug#18382)
128
129 2014-08-29 Ken Brown <kbrown@cornell.edu>
130
131 * startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to
132 the Cygwin-w32 build. (Bug#18347)
133
134 2014-08-28 Glenn Morris <rgm@gnu.org>
135
136 * tar-mode.el (tar--extract, tar-extract):
137 Avoid permanently disabling undo in extracted buffers. (Bug#18344)
138
139 2014-08-27 Michael Albinus <michael.albinus@gmx.de>
140
141 * emacs-lisp/authors.el (authors-aliases): Addition.
142
143 * net/tramp-adb.el: Spell author name correctly.
144
145 2014-08-27 João Távora <joaotavora@gmail.com>
146
147 * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
148 use url-expand-file-name. (Bug#18310)
149
150 2014-08-25 Glenn Morris <rgm@gnu.org>
151
152 * emulation/cua-rect.el (cua--highlight-rectangle):
153 Avoid error at point-min. (Bug#18309)
154
155 2014-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
156
157 * progmodes/python.el (python-shell-prompt-detect): Remove redundant
158 executable-find (bug#18244).
159
160 * simple.el (self-insert-uses-region-functions): Defvar.
161
162 2014-08-13 Leo Liu <sdl.web@gmail.com>
163
164 * speedbar.el (speedbar-generic-list-tag-p): Allow special
165 elements from imenu.
166
167 2014-08-11 Glenn Morris <rgm@gnu.org>
168
169 * subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
170
171 * files.el (basic-save-buffer-2): Revert 2013-01-31 change, which
172 chose coding system for writing before backing up, since it causes
173 a more serious problem than the one it solves. (Closes Bug#18141,
174 reopens Bug#13522.)
175
176 2014-08-10 Martin Rudalics <rudalics@gmx.at>
177
178 * window.el (window-total-size): Make doc-string more
179 self-contained.
180
181 2014-08-09 Martin Rudalics <rudalics@gmx.at>
182
183 * window.el (display-buffer-below-selected): Restore original
184 behavior if buffer is already displayed in the window below the
185 selected one (Bug#18181).
186
187 2014-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
188
189 * mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
190 event (bug#18212).
191
192 2014-08-08 Eli Zaretskii <eliz@gnu.org>
193
194 * info.el (info): Doc fix.
195
196 2014-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
197
198 * info.el (Info-mode-map): Override a global down-mouse-2 binding
199 (bug#18212).
200
201 2014-08-05 Eli Zaretskii <eliz@gnu.org>
202
203 * simple.el (default-line-height): A floating-point value of
204 line-spacing means a fraction of the default frame font's height,
205 not of the font currently used by the 'default' face.
206 Truncate the pixel value, like the display engine does.
207 (window-screen-lines): Use window-inside-pixel-edges for
208 determining the window height in pixels. (Bug#18195)
209
210 2014-07-29 Eli Zaretskii <eliz@gnu.org>
211
212 * tutorial.el (tutorial--display-changes): Accept punctuation
213 characters before the key binding. (Bug#18146)
214
215 2014-07-28 Stephen Berman <stephen.berman@gmx.net>
216
217 * doc-view.el (doc-view-open-text): Don't require that the
218 document is saved in a file (e.g., email attachment).
219
220 2014-07-27 Eli Zaretskii <eliz@gnu.org>
221
222 * window.el (window--pixel-to-total): Use FRAME's root window, not
223 that of the selected frame. (Bug#18112, Bug#16674)
224
225 2014-07-27 Andreas Schwab <schwab@linux-m68k.org>
226
227 * textmodes/tex-mode.el (tex-font-lock-verb): Doc fix.
228 (Bug#18117)
229
230 2014-07-27 Fabián Ezequiel Gallina <fgallina@gnu.org>
231
232 * progmodes/python.el (inferior-python-mode): Doc fix.
233
234 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
235
236 * calendar/todo-mode.el (todo-edit-item--next-key): If next key is
237 not a character, ignore it instead of raising an error.
238
239 2014-07-25 Stephen Berman <stephen.berman@gmx.net>
240
241 * calendar/todo-mode.el: Fix handling of marked items and make
242 minor code improvements.
243 (todo-edit-item): If there are marked items, ensure user can only
244 invoke editing commands that work with marked items.
245 (todo-edit-item--text): When there are marked items, make it a
246 noop if invoked with point not on an item; otherwise, ensure it
247 applies only to item at point.
248 (todo-item-undone): If there are marked not-done items, return
249 point to its original position before signaling user error.
250 (todo--user-error-if-marked-done-item): New function.
251 (todo-edit-item--header, todo-edit-item--diary-inclusion)
252 (todo-item-done): Use it.
253
254 2014-07-25 Glenn Morris <rgm@gnu.org>
255
256 * files.el (toggle-read-only): Re-add basic doc-string.
257 * vc/vc-hooks.el (vc-toggle-read-only): Tweak obsolescence mesage.
258
259 * progmodes/prolog.el (prolog-mode-keybindings-edit):
260 Replace missing `switch-to-prolog' with `run-prolog'.
261 (switch-to-prolog): Define as (obsolete) alias, as in 23.4.
262
263 2014-07-22 Stephen Berman <stephen.berman@gmx.net>
264
265 * calendar/todo-mode.el (todo-set-top-priorities): Fix overwriting
266 of file-wide setting when changing category-wide setting.
267
268 2014-07-21 Glenn Morris <rgm@gnu.org>
269
270 * progmodes/hideif.el (hide-ifdef-mode-submap):
271 Also substitute read-only-mode.
272 * bindings.el (mode-line-toggle-read-only):
273 * bs.el (bs-toggle-readonly):
274 * buff-menu.el (Buffer-menu-toggle-read-only):
275 * dired.el (dired-toggle-read-only):
276 * files.el (view-read-only, find-file-read-only)
277 (find-file-read-only-other-window)
278 (find-file-read-only-other-frame):
279 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
280 Doc fixes re toggle-read-only.
281
282 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
283
284 * progmodes/python.el: Add comment about pipe buffering and
285 solutions for missing/delayed output in inferior Python shells.
286 (Bug#17304)
287
288 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
289
290 * progmodes/python.el (python-mode): Don't set
291 mode-require-final-newline. (Bug#17990)
292
293 2014-07-20 Fabián Ezequiel Gallina <fgallina@gnu.org>
294
295 Make python.el work with IPython automatically. (Bug#15510)
296 * progmodes/python.el:
297 (python-shell-completion-setup-code): New value supporting iPython.
298 (python-shell-completion-string-code): New value supporting iPython.
299 (python-shell-completion-get-completions): Use them.
300 (python-shell-completion-module-string-code): Make obsolete.
301 (python-shell-prompt-input-regexps)
302 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
303 (python-shell-output-filter): Fix comment typo.
304
305 2014-07-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
306
307 Fix Python shell prompts detection for remote hosts.
308 * progmodes/python.el (python-shell-prompt-detect):
309 Replace call-process with process-file and make it more robust.
310
311 2014-07-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
312
313 Autodetect Python shell prompts. (Bug#17370)
314 * progmodes/python.el:
315 (python-shell-interpreter-interactive-arg)
316 (python-shell-prompt-detect-enabled)
317 (python-shell-prompt-detect-failure-warning)
318 (python-shell-prompt-input-regexps)
319 (python-shell-prompt-output-regexps): New vars.
320 (python-shell-prompt-calculated-input-regexp)
321 (python-shell-prompt-calculated-output-regexp): New vars.
322 (python-shell-get-process-name)
323 (python-shell-internal-get-process-name)
324 (python-shell-output-filter)
325 (python-shell-completion-get-completions): Use them.
326 (python-shell-prompt-detect)
327 (python-shell-prompt-validate-regexps): New functions.
328 (python-shell-prompt-set-calculated-regexps): New function.
329 (inferior-python-mode): Use it. Also honor overridden
330 python-shell-interpreter and python-shell-interpreter-args.
331 (python-shell-make-comint): Honor overridden
332 python-shell-interpreter and python-shell-interpreter-args.
333 (python-shell-get-or-create-process): Make it testable by allowing
334 to call run-python non-interactively.
335 (python-util-valid-regexp-p): New function.
336 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
337 (python-shell-prompt-output-regexp)
338 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
339
340 2014-07-16 Glenn Morris <rgm@gnu.org>
341
342 * desktop.el (after-init-hook): Disable startup frame restoration
343 in non-graphical situations. (Bug#17693)
344
345 2014-07-14 Glenn Morris <rgm@gnu.org>
346
347 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
348 if it was "empty", or used for a different set of files. (Bug#17884)
349
350 2014-07-13 Eli Zaretskii <eliz@gnu.org>
351
352 * bindings.el (mode-line-remote): If default-directory is not a
353 string, don't call file-remote-p on it; instead state in the
354 help-echo that it is nil. (Bug#17986)
355
356 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
357
358 Fix bug: C-x v v discarded existing log message (Bug#17884).
359 * vc/vc-dispatcher.el (vc-log-edit):
360 Don't clobber an already-existing log message.
361
362 2014-07-10 Glenn Morris <rgm@gnu.org>
363
364 * vc/log-edit.el (log-edit-changelog-entries):
365 Check for a visited-but-never-saved ChangeLog.
366
367 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
368
369 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
370 a non-existing file (bug#17970).
371
372 * faces.el (face-name): Undo last change.
373 (x-resolve-font-name): Don't call face-name (bug#17956).
374
375 2014-07-09 Fabián Ezequiel Gallina <fgallina@gnu.org>
376
377 Fix dedenters and electric colon handling. (Bug#15163)
378
379 * progmodes/python.el
380 (python-rx-constituents): Add dedenter and block-ender.
381 (python-indent-dedenters, python-indent-block-enders): Delete.
382 (python-indent-context): Return new case for dedenter-statement.
383 (python-indent-calculate-indentation): Handle new case.
384 (python-indent-calculate-levels): Fix levels calculation for
385 dedenter statements.
386 (python-indent-post-self-insert-function): Fix colon handling.
387 (python-info-dedenter-opening-block-message): New function.
388 (python-indent-line): Use it.
389 (python-info-closing-block)
390 (python-info-closing-block-message): Remove.
391 (python-info-dedenter-opening-block-position)
392 (python-info-dedenter-opening-block-positions)
393 (python-info-dedenter-statement-p): New functions.
394
395 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
396
397 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
398 the middle of a line (bug#17896).
399
400 2014-07-08 Juri Linkov <juri@jurta.org>
401
402 * startup.el (command-line): Append displaying the warning about
403 the errors in the init file to the end of `after-init-hook'.
404 (Bug#17927)
405
406 2014-07-08 Juri Linkov <juri@jurta.org>
407
408 * faces.el (face-name): Return input arg `face' as is
409 when it's not a symbol.
410 (x-resolve-font-name): Don't check if the face is a symbol.
411 (Bug#17956)
412
413 2014-07-08 Juri Linkov <juri@jurta.org>
414
415 * facemenu.el (list-colors-print): In help-echo format use %.2f
416 instead of %d because now HSV values are floating-point components
417 between 0.0 and 1.0.
418
419 2014-07-06 Glenn Morris <rgm@gnu.org>
420
421 * emulation/cua-rect.el (cua--activate-rectangle):
422 Avoid setting cua--rectangle to nil. (Bug#17877)
423
424 2014-07-06 Stephen Berman <stephen.berman@gmx.net>
425
426 * calendar/todo-mode.el: Fix wrong-type-argument error when
427 marking multiple consecutive items.
428 (todo-toggle-mark-item): Don't try to mark the empty lines at the
429 end of the todo and done items sections. Note in doc string that
430 items marked by passing a numeric prefix argument can include the
431 last todo and first done items.
432 (todo-mark-category): Don't try to mark the empty line between the
433 todo and done items sections.
434
435 2014-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
436
437 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
438 proper Lisp quoting (bug#17934).
439
440 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
441 require-final-newline since prog-mode already took care of it (bug#17947).
442
443 2014-07-04 Stephen Berman <stephen.berman@gmx.net>
444
445 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
446 refer to the Todo mode Info manual. Update the comment on
447 requiring cl-lib.
448 (todo-find-filtered-items-file): Add todo-prefix overlays.
449 (todo-filter-items): Reorder a let-bound variable to avoid a
450 wrong-type-argument error on canceling the file choice dialog.
451
452 2014-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
453
454 * progmodes/octave.el (inferior-octave-mode):
455 Set comint-input-ring-size to a number (bug#17912).
456
457 2014-07-03 Juri Linkov <juri@jurta.org>
458
459 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
460 and `isearch-mode' associated with nil. (Bug#17849)
461
462 2014-07-02 Juri Linkov <juri@jurta.org>
463
464 * desktop.el (desktop-save): Rename arg `auto-save' to
465 `only-if-changed'. Doc fix. (Bug#17873)
466
467 2014-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
468
469 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
470 Use insert-for-yank (bug#17271).
471
472 2014-07-02 Leo Liu <sdl.web@gmail.com>
473
474 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
475 Support lexical-binding.
476
477 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
478
479 * vc/log-edit.el (log-edit-goto-eoh): New function.
480 (log-edit--match-first-line): Use it (bug#17861).
481
482 2014-07-01 Glenn Morris <rgm@gnu.org>
483
484 * vc/log-edit.el (log-edit-hook): Add missing :version.
485
486 2014-07-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
487
488 * progmodes/python.el (python-indent-post-self-insert-function):
489 Enhancements to electric indentation behavior inside
490 parens. (Bug#17658)
491
492 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
493
494 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
495 buffer-invisibility-spec (bug#17867).
496
497 2014-06-29 Andreas Schwab <schwab@linux-m68k.org>
498
499 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
500 pass "-a".
501
502 2014-06-29 Glenn Morris <rgm@gnu.org>
503
504 * cus-edit.el (help):
505 * finder.el (finder-known-keywords):
506 * help.el (help-for-help-internal):
507 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
508 (ediff-redraw-registry-buffer):
509 * vc/ediff-ptch.el (ediff-patch-file-internal):
510 Doc fixes re "online" help. (Bug#17803)
511
512 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
513 (idlwave-mode): Doc URL update.
514
515 2014-06-27 Stephen Berman <stephen.berman@gmx.net>
516
517 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
518 account for file-wide setting of todo-top-priorities-overrides.
519 Make code a bit cleaner.
520
521 2014-06-27 Leo Liu <sdl.web@gmail.com>
522
523 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
524
525 2014-06-27 Glenn Morris <rgm@gnu.org>
526
527 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
528
529 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
530
531 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
532 category-wide setting of todo-top-priorities-overrides, check for
533 a file-wide setting and fontify accordingly.
534
535 2014-06-26 Glenn Morris <rgm@gnu.org>
536
537 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
538
539 2014-06-26 Daiki Ueno <ueno@gnu.org>
540
541 * emacs-lisp/package.el (package--check-signature):
542 If package-check-signature is allow-unsigned, don't signal error when
543 we can't verify signature because of missing public key
544 (backport for bug#17625).
545
546 2014-06-26 Glenn Morris <rgm@gnu.org>
547
548 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
549 Remove outdated declaration.
550
551 * emacs-lisp/authors.el (authors-valid-file-names)
552 (authors-renamed-files-alist): Additions.
553
554 2014-06-25 Leo Liu <sdl.web@gmail.com>
555
556 * textmodes/picture.el (picture-set-tab-stops):
557 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
558 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
559
560 * progmodes/asm-mode.el (asm-calculate-indentation):
561 Use indent-next-tab-stop.
562
563 * indent.el (indent-accumulate-tab-stops): New function.
564
565 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
566
567 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
568 (package-desc-status): Obey it.
569
570 2014-06-25 Stephen Berman <stephen.berman@gmx.net>
571
572 * calendar/todo-mode.el: Fix two bugs.
573 (todo-insert-item--basic): If user cancels item insertion to
574 another category before setting priority, show original category
575 whether it is in the same or a different file.
576 (todo-set-item-priority): After selecting category, instead of
577 moving point to top, which extends an active region, restore it.
578
579 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
580
581 * help-fns.el (describe-function-1): Check file-name is a string before
582 calling help-fns--autoloaded-p (bug#17564).
583
584 2014-06-24 Juri Linkov <juri@jurta.org>
585
586 * desktop.el (desktop-auto-save-enable)
587 (desktop-auto-save-disable): New functions.
588 (desktop-save-mode, desktop-auto-save-timeout): Use them.
589 (desktop-read): Disable the autosave before loading the desktop,
590 and enable afterwards. (Bug#17351)
591
592 2014-06-24 Stefan Monnier <monnier@iro.umontreal.ca>
593
594 Fix some indentation problem with \; and pipes (bug#17842).
595 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
596 (sh-smie--default-forward-token, sh-smie--default-backward-token):
597 New functions.
598 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
599 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
600 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
601
602 2014-06-24 Eli Zaretskii <eliz@gnu.org>
603
604 * international/fontset.el (script-representative-chars):
605 Add representative characters for scripts added in Unicode 7.0.
606 (otf-script-alist): Synchronize with the latest registry of OTF
607 script tags.
608
609 * international/characters.el (char-script-table): Update for
610 scripts added and codepoint ranges changed in Unicode 7.0.
611
612 2014-06-23 Leo Liu <sdl.web@gmail.com>
613
614 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
615 tab-stop-list to nil. (Bug#16381)
616
617 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
618 (indent-rigidly-left-to-tab-stop)
619 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
620 (move-to-tab-stop): Change callers.
621
622 2014-06-22 Eli Zaretskii <eliz@gnu.org>
623
624 * skeleton.el (skeleton-insert): Yet another fix of the doc string
625 wrt behavior of \n as the first/last element of a skeleton.
626
627 2014-06-22 Michael Albinus <michael.albinus@gmx.de>
628
629 * net/tramp-adb.el (tramp-adb-handle-process-file):
630 * net/tramp-sh.el (tramp-sh-handle-process-file):
631 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
632 the output buffer when DISPLAY is non-nil. (Bug#17815)
633
634 2014-06-21 Glenn Morris <rgm@gnu.org>
635
636 * play/landmark.el (landmark-move-down, landmark-move-up):
637 Fix 2007-10-20 change - preserve horizontal position.
638
639 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
640
641 Fix completion retrieval parsing (bug#17209).
642 * progmodes/python.el (python-mode):
643 (python-util-strip-string): New function.
644 (python-shell-completion-get-completions): Use it.
645
646 2014-06-21 Eli Zaretskii <eliz@gnu.org>
647
648 * skeleton.el (skeleton-insert): Fix last change.
649
650 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
651
652 Enhancements for outline integration (bug#17796).
653 * progmodes/python.el (python-mode): Properly set
654 outline-heading-end-regexp so that comments after colons for
655 defuns are supported.
656
657 2014-06-21 Eli Zaretskii <eliz@gnu.org>
658
659 * skeleton.el (skeleton-insert): Doc fix.
660
661 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
662
663 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
664 (smie-config-guess): Use smie-config-local so the rules are obeyed
665 (bug#17818).
666
667 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
668 since it's already done inside the loop (bug#17819).
669
670 2014-06-20 Martin Rudalics <rudalics@gmx.at>
671
672 * mouse.el (mouse-drag-line): Re-remove code initially removed
673 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
674 (Bug#17819).
675
676 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
677
678 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
679 align with the surrounding parent (bug#17721).
680
681 2014-06-20 Eli Zaretskii <eliz@gnu.org>
682
683 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
684 locally to nil.
685 (texinfo-insert-block, texinfo-insert-@end)
686 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
687 local setting of skeleton-end-newline by adding an explicit \n to
688 the skeletons where appropriate. (Bug#17801)
689
690 2014-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
691
692 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
693 (smie-indent--hanging-p): Use it.
694 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
695
696 2014-06-20 Leo Liu <sdl.web@gmail.com>
697
698 * simple.el (read-quoted-char): Don't let help chars pop up help
699 buffer. (Bug#16617)
700
701 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
702
703 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
704 for | (bug#17621).
705
706 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
707
708 * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
709 (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
710 burping.
711
712 2014-06-18 Eli Zaretskii <eliz@gnu.org>
713
714 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
715 and later. (Bug#17790)
716
717 2014-06-18 Juri Linkov <juri@jurta.org>
718
719 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
720 to `soft'. (Bug#17554)
721
722 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
723
724 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
725 (bug#17737).
726
727 2014-06-16 Dmitry Gutov <dgutov@yandex.ru>
728
729 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
730 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
731
732 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
733
734 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
735 `unread-command-events'.
736
737 2014-06-14 Glenn Morris <rgm@gnu.org>
738
739 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
740 Replace delete-duplicates and mapcan by cl- versions throughout.
741 And cl-macroexpand-all by macroexpand-all.
742 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
743
744 2014-06-14 Eli Zaretskii <eliz@gnu.org>
745
746 * subr.el (posn-col-row): Doc fix. (Bug#17768)
747
748 2014-06-14 Juri Linkov <juri@jurta.org>
749
750 * bindings.el: Put `ascii-character' property on keypad keys
751 mapped to characters. (Bug#17759)
752
753 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
754
755 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
756 bumping forward into a closing paren (bug#17761).
757
758 * term/xterm.el (xterm--version-handler): Work around for OSX
759 Terminal.app (bug#17607).
760
761 2014-06-08 Glenn Morris <rgm@gnu.org>
762
763 * startup.el (initial-buffer-choice): Doc fix.
764 Reset :version (adding an option does not merit a :version bump).
765
766 * bookmark.el (bookmark-load):
767 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
768
769 2014-06-06 Juri Linkov <juri@jurta.org>
770
771 * desktop.el: Activate auto-saving on window configuration changes.
772 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
773 `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
774 (desktop-auto-save-set-timer): Change REPEAT arg of
775 `run-with-idle-timer' from t to nil.
776 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
777
778 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
779
780 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
781 vc-hg-command (bug#17570).
782
783 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
784
785 * international/mule-cmds.el (ucs-names): Add special entry for BEL
786 (bug#17702).
787
788 2014-06-06 Glenn Morris <rgm@gnu.org>
789
790 * startup.el (window-setup-hook): Doc fix.
791
792 2014-06-05 Glenn Morris <rgm@gnu.org>
793
794 * emacs-lisp/package.el (package-check-signature)
795 (package-unsigned-archives): Doc fixes.
796
797 2014-06-03 Martin Rudalics <rudalics@gmx.at>
798
799 * window.el (display-buffer-use-some-window): Don't make window
800 used smaller than it was before (Bug#17671).
801
802 2014-06-03 Eli Zaretskii <eliz@gnu.org>
803
804 * menu-bar.el (menu-bar-open): Fix last change: use the PC
805 'redisplay' instead of '(sit-for 0)'.
806
807 2014-06-03 Michael Albinus <michael.albinus@gmx.de>
808
809 * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
810 regexp. (Bug#17653)
811
812 2014-06-03 Glenn Morris <rgm@gnu.org>
813
814 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
815
816 2014-06-02 Eli Zaretskii <eliz@gnu.org>
817
818 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
819
820 2014-06-01 Eli Zaretskii <eliz@gnu.org>
821
822 * simple.el (keyboard-quit): Force update of mode lines, to remove
823 the "Def" indicator, if we were defining a macro. (Bug#17615)
824
825 2014-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
826
827 * minibuffer.el (minibuffer-force-complete-and-exit):
828 Obey minibuffer-default (bug#17545).
829
830 * progmodes/js.el (js-indent-line): Don't mix columns and chars
831 (bug#17619).
832
833 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
834
835 * subr.el (set-transient-map): Don't wait for some "nested"
836 transient-map to finish if we're only supposed to be active for
837 the next command (bug#17642).
838
839 2014-05-31 Leo Liu <sdl.web@gmail.com>
840
841 * emacs-lisp/gv.el (window-buffer, window-display-table)
842 (window-dedicated-p, window-hscroll, window-point, window-start):
843 Fix gv-expander. (Bug#17630)
844
845 2014-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
846
847 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
848 clicks (bug#17633).
849
850 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
851 for the single comma, since ", " is *very* common in normal French text
852 (bug#17643).
853
854 2014-05-30 Glenn Morris <rgm@gnu.org>
855
856 * emacs-lisp/package.el (package-check-signature)
857 (package-unsigned-archives): Fix :version.
858
859 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
860
861 * subr.el (sit-for): Don't run input-methods (bug#15614).
862
863 2014-05-28 Glenn Morris <rgm@gnu.org>
864
865 * cus-start.el: Fix some :version numbers.
866
867 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
868
869 * simple.el (deactivate-mark): Set mark-active to nil even if
870 deactivation is done via setting transient-mark-mode to nil,
871 since one is buffer-local and the other is global.
872
873 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
874 there can't be more than 2 arguments (bug#17584).
875
876 2014-05-27 Glenn Morris <rgm@gnu.org>
877
878 * simple.el (filter-buffer-substring-functions)
879 (filter-buffer-substring-function, buffer-substring-filters)
880 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
881
882 * minibuffer.el (completion-in-region-functions, completion-in-region)
883 (completion--in-region): Doc fixes.
884
885 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
886 (expand-abbrev, abbrev--default-expand): Doc fixes.
887
888 2014-05-26 Paul Eggert <eggert@cs.ucla.edu>
889
890 Include sources used to create macuvs.h.
891 * international/README: Refer to the Unicode Terms of Use rather
892 than copying it bodily here, as that simplifies maintenance.
893
894 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
895
896 * cus-face.el (custom-face-attributes): Add :distant-foreground.
897
898 2014-05-25 Martin Rudalics <rudalics@gmx.at>
899
900 * window.el (window--dump-frame): Remove interactive
901 specification.
902
903 2014-05-23 Glenn Morris <rgm@gnu.org>
904
905 * hippie-exp.el (he-line-search-regexp):
906 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
907
908 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
909
910 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
911 to avoid errors when trying to create or visit a file foo.todo
912 located outside to todo-directory, and to allow having such files
913 without them being tied to Todo mode (bug#17482).
914 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
915 (todo-archive-done-item, todo-find-filtered-items-file)
916 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
917 (todo-category-completions, todo-read-category): When visiting a
918 Todo file, make sure we're in the right mode and the buffer local
919 variables are set.
920 (todo-make-categories-list, todo-reset-nondiary-marker)
921 (todo-reset-done-string, todo-reset-comment-string):
922 After processing all Todo files, kill the buffers of those files that
923 weren't being visited before the processing.
924 (todo-display-as-todo-file, todo-add-to-buffer-list)
925 (todo-visit-files-commands): Comment out.
926 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
927 (auto-mode-alist): Remove add-to-list calls making Todo file
928 extensions unrestrictedly tied to Todo modes.
929
930 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
931
932 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
933 (advice-function-member-p): Tell it to check both names and functions
934 (bug#17531).
935 (advice--add-function): Adjust call accordingly.
936
937 2014-05-23 Stephen Berman <stephen.berman@gmx.net>
938
939 * calendar/todo-mode.el: Miscellaneous bug fixes.
940 (todo-delete-file): When deleting an archive but not its todo
941 file, make sure to update the todo file's category sexp.
942 (todo-move-category): Keep the moved category's name unless the
943 file moved to already has a category with that name. If the
944 numerically last category of the source file was moved, make the
945 first category current to avoid selecting a nonexisting category.
946 (todo-merge-category): Fix implementation to make merging to a
947 category in another file work as documented. Eliminate now
948 insufficient and unnecessary renaming of archive category, correct
949 document string accordingly, and clarify it. If the numerically
950 last category of the source file was merged, make the first
951 category current to avoid selecting a nonexisting category.
952 (todo-archive-done-item): When there are marked items and point
953 happens to be on an unmarked item, ignore the latter. Don't leave
954 point below last item after archiving marked items.
955 (todo-unarchive-items): Fix logic to ensure unarchiving an item
956 from an archive with only one category deletes the archive only
957 when the category is empty after unarchiving. Make sure the todo
958 file's category sexp is updated.
959 (todo-read-file-name): Allow an existing file name even when it is
960 not required (todo-move-category needs this to work as documented).
961 (todo-add-file): Call todo-validate-name to reject the name of an
962 existing todo file (needed due to fix in todo-read-file-name).
963 (todo-reset-nondiary-marker): Also reset in filtered items files.
964 (todo-reset-done-string, todo-reset-comment-string): Also reset in
965 regexp filtered items files.
966 (todo-reset-highlight-item): Also reset in filtered items files.
967 Fix incorrect variable reference in document string.
968
969 2014-05-22 Glenn Morris <rgm@gnu.org>
970
971 * window.el (window--dump-frame): Avoid error in --without-x builds.
972
973 2014-05-21 Glenn Morris <rgm@gnu.org>
974
975 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
976
977 2014-05-21 Eli Zaretskii <eliz@gnu.org>
978
979 * frame.el (set-frame-font): Doc fix.
980
981 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
982
983 2014-05-21 Dmitry Gutov <dgutov@yandex.ru>
984
985 * emacs-lisp/package.el (package--download-one-archive):
986 Use `write-region' instead of `save-buffer' to avoid running various
987 hooks. (Bug#17155)
988 (describe-package-1): Same. Insert newline at the end of the
989 buffer if appropriate.
990
991 2014-05-20 Juri Linkov <juri@jurta.org>
992
993 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
994 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
995 Add more modifiers: meta, control, shift, hyper, super, alt.
996 (Bug#17439)
997
998 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
999 to allow changing its value with `set-variable'.
1000
1001 2014-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
1002
1003 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1004 #; comments.
1005 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1006 New functions.
1007 (scheme-mode-variables): Set syntax-propertize-function instead of
1008 font-lock-syntactic-face-function.
1009 (scheme-font-lock-syntactic-face-function): Delete.
1010
1011 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1012
1013 2014-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
1014
1015 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1016 (bug#17392).
1017
1018 2014-05-17 Michael Albinus <michael.albinus@gmx.de>
1019
1020 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1021 for a temporary file name.
1022
1023 2014-05-17 Eli Zaretskii <eliz@gnu.org>
1024
1025 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1026
1027 2014-05-16 Michael Albinus <michael.albinus@gmx.de>
1028
1029 * net/dbus.el (dbus-init-bus, dbus-call-method)
1030 (dbus-call-method-asynchronously, dbus-send-signal)
1031 (dbus-method-return-internal, dbus-method-error-internal):
1032 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1033
1034 2014-05-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1035
1036 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1037 methods which do not have a doc string. (Bug#17490)
1038
1039 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1040 Stefan Monnier <monnier@iro.umontreal.ca>
1041
1042 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1043 suffix (bug#15419).
1044
1045 2014-05-14 Glenn Morris <rgm@gnu.org>
1046
1047 * vc/emerge.el (emerge-temp-file-prefix):
1048 Make pointless option obsolete.
1049 (emerge-temp-file-mode): Make non-functional option obsolete.
1050
1051 2014-05-13 Michael Albinus <michael.albinus@gmx.de>
1052
1053 * net/browse-url.el (browse-url):
1054 Use `unhandled-file-name-directory' when setting `default-directory',
1055 in order to circumvent stalled remote connections. (Bug#17425)
1056
1057 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1058
1059 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1060 into autoloading just because of a silly indirection.
1061
1062 2014-05-11 Santiago Payà i Miralta <santiagopim@gmail.com> (tiny change)
1063
1064 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1065
1066 2014-05-11 Glenn Morris <rgm@gnu.org>
1067
1068 * emacs-lisp/find-gc.el: Move to ../admin.
1069
1070 2014-05-10 Glenn Morris <rgm@gnu.org>
1071
1072 * printing.el (pr-version):
1073 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1074
1075 * net/browse-url.el (browse-url-mosaic):
1076 Create /tmp/Mosaic.PID as a private file.
1077
1078 2014-05-10 Stefan Monnier <monnier@iro.umontreal.ca>
1079
1080 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1081 (advice--member-p): If name is given, only compare the name.
1082 (advice--remove-function): Don't stop at the first match.
1083 (advice--normalize-place): New function.
1084 (add-function, remove-function): Use it.
1085 (advice--add-function): Pass the name, if any, to
1086 advice--remove-function.
1087
1088 2014-05-09 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1089
1090 * electric.el (electric-indent-post-self-insert-function): Don't use
1091 `pos' after modifying the buffer (bug#17449).
1092
1093 2014-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1094
1095 * subr.el (function-put): Add function.
1096
1097 2014-05-09 Stephen Berman <stephen.berman@gmx.net>
1098
1099 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1100 Correct argument list to conform to todo-insert-item--basic.
1101
1102 2014-05-09 Glenn Morris <rgm@gnu.org>
1103
1104 * files.el (cd-absolute): Test if directory is accessible
1105 rather than executable. (Bug#17330)
1106
1107 * progmodes/compile.el (recompile):
1108 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1109
1110 2014-05-08 Juri Linkov <juri@jurta.org>
1111
1112 * dired.el (dired-check-switches, dired-switches-recursive-p):
1113 New functions. (Bug#17218)
1114 (dired-switches-escape-p, dired-move-to-end-of-filename):
1115 Use `dired-check-switches'.
1116 (dired-insert-old-subdirs, dired-build-subdir-alist)
1117 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1118
1119 2014-05-08 Glenn Morris <rgm@gnu.org>
1120
1121 * net/browse-url.el (browse-url-mosaic):
1122 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1123 This is CVE-2014-3423.
1124
1125 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1126
1127 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1128 (xterm-mouse--read-event-sequence-1000): Return nil if something
1129 looks fishy.
1130 (xterm-mouse-event): Propagate it.
1131 (xterm-mouse-translate-1): Handle it.
1132
1133 2014-05-07 Stephen Berman <stephen.berman@gmx.net>
1134
1135 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1136 four slots of the parameter list are filled, make sure to pass it
1137 to the argument list of todo-insert-item--basic.
1138
1139 2014-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
1140
1141 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1142 Add optional `seen' argument to detect and break infinite loops.
1143
1144 2014-05-06 Eli Zaretskii <eliz@gnu.org>
1145
1146 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1147 (trace-unsafe, trace-use-tree): Make parentheses style be
1148 according to Emacs style.
1149
1150 2014-05-06 Michael Albinus <michael.albinus@gmx.de>
1151
1152 * net/tramp-sh.el (tramp-remote-process-environment):
1153 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1154 Add :version entry.
1155 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1156 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
1157 extra "PSx=..." commands.
1158 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1159 (Bug#17295)
1160
1161 (tramp-uudecode): Replace the hard-coded temporary file name by a
1162 format specifier.
1163 (tramp-remote-coding-commands): Enhance docstring.
1164 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1165 name. (Bug#17415)
1166 This is CVE-2014-3424.
1167
1168 2014-05-06 Glenn Morris <rgm@gnu.org>
1169
1170 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1171 (find-gc-source-files): Update some names.
1172 (trace-call-tree): Simplify and update.
1173 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1174 This is CVE-2014-3422.
1175
1176 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1177
1178 * minibuffer.el (completion--try-word-completion): Revert fix for
1179 Bug#15980 (bug#17375).
1180
1181 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1182 Always store button numbers in the same way in xterm-mouse-last;
1183 Don't burp is xterm-mouse-last is not set as expected.
1184 Never return negative indices.
1185
1186 2014-05-05 Dmitry Gutov <dgutov@yandex.ru>
1187
1188 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1189 Backtrack one char if the global/char-literal var matcher hits
1190 inside a string. The next char could be the beginning of an
1191 expression expansion.
1192
1193 2014-05-05 Glenn Morris <rgm@gnu.org>
1194
1195 * help-fns.el (describe-function-1): Test for an autoload before a
1196 macro, since `macrop' works on autoloads. (Bug#17410)
1197
1198 2014-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
1199
1200 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1201
1202 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1203 Make sure the new point we return is within the new string (bug#17239).
1204
1205 2014-05-03 Eli Zaretskii <eliz@gnu.org>
1206
1207 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1208
1209 2014-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
1210
1211 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1212 Use nil rather than `default' for the "default" appearance (bug#17388).
1213 * vc/ediff-util.el (ediff-inferior-compare-regions)
1214 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1215 a misleading `default' value when it's really a boolean.
1216 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1217 overlay is not visible.
1218
1219 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1220
1221 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1222 (todo-menu): Uncomment and update.
1223
1224 2014-05-02 Stephen Berman <stephen.berman@gmx.net>
1225
1226 * calendar/todo-mode.el: Reimplement item editing to have the same
1227 basic user interface as item insertion, and make small UI and
1228 larger internal improvements to the latter.
1229 (todo-insert-item): Add reference to the Todo mode user manual to
1230 the documentation string.
1231 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1232 adjust all callers. Change signature to combine diary and
1233 nonmarking arguments. Incorporate functionality of deleted item
1234 copying command and add error checking. Remove detailed
1235 descriptions of the arguments from the documentation string, since
1236 this is treated in the Todo mode user manual.
1237 (todo-copy-item, todo-edit-multiline-item)
1238 (todo-edit-done-item-comment, todo-edit-item-header)
1239 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1240 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1241 (todo-edit-item-date-year, todo-edit-item-date-month)
1242 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1243 Remove.
1244 (todo-edit-item): Reimplement as wrapper command for
1245 todo-edit-item--next-key and make it distinguish done and not done
1246 todo items.
1247 (todo-edit-item--text): New function, replacing old command
1248 todo-edit-item and incorporating deleted commands
1249 todo-edit-multiline-item and todo-edit-done-item-comment.
1250 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1251 Use only numeric value of prefix argument. Remove detailed
1252 descriptions of the arguments from the documentation string, since
1253 this is treated in the Todo mode user manual.
1254 (todo-edit-item--diary-inclusion): New function, replacing old
1255 command todo-edit-item-diary-inclusion and incorporating and fixing
1256 functionality of deleted command todo-edit-item-diary-nonmarking,
1257 making sure to remove todo-nondiary-marker when adding
1258 diary-nonmarking-symbol.
1259 (todo-edit-category-diary-inclusion): Make sure to delete
1260 diary-nonmarking-symbol when adding todo-nondiary-marker.
1261 (todo-edit-category-diary-nonmarking): Fix indentation.
1262 (todo-insert-item--parameters): Group diary and nonmarking
1263 parameters together.
1264 (todo-insert-item--apply-args): Adjust to signature of
1265 todo-insert-item--basic and incorporate copy parameter.
1266 Make small code improvements.
1267 (todo-insert-item--next-param): Improve prompt and adjust it to
1268 new parameter grouping. Remove obsolete code.
1269 (todo-edit-item--param-key-alist)
1270 (todo-edit-item--date-param-key-alist)
1271 (todo-edit-done-item--param-key-alist): New defconsts.
1272 (todo-edit-item--prompt): New variable.
1273 (todo-edit-item--next-key): New function.
1274 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1275 Remove bindings of deleted commands.
1276
1277 2014-05-02 Leo Liu <sdl.web@gmail.com>
1278
1279 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1280
1281 2014-05-01 Glenn Morris <rgm@gnu.org>
1282
1283 * allout-widgets.el (allout-widgets-tally)
1284 (allout-decorate-item-guides):
1285 * menu-bar.el (menu-bar-positive-p):
1286 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1287 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1288 * progmodes/js.el (js--inside-param-list-p)
1289 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1290 * progmodes/prolog.el (region-exists-p):
1291 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1292 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1293 Doc fixes (replace `iff').
1294
1295 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1296
1297 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1298
1299 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1300
1301 * dired.el (dired-initial-position-hook, dired-initial-position):
1302 Doc string fixes.
1303
1304 2014-04-29 Glenn Morris <rgm@gnu.org>
1305
1306 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1307
1308 2014-04-27 Matthias Dahl <matthias.dahl@binary-island.eu>
1309
1310 * faces.el (face-spec-recalc): Apply X resources only after the
1311 defface spec has been applied. Thus, X resources are no longer
1312 overridden by the defface spec which also fixes issues on win32 where
1313 the toolbar coloring was wrong because it is set through X resources
1314 and was (wrongfully) overridden. (Bug#16694)
1315
1316 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1317
1318 * textmodes/rst.el (electric-pair-pairs): Declare.
1319 (rst-mode): Set it (bug#17131).
1320
1321 2014-04-27 Juri Linkov <juri@jurta.org>
1322
1323 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1324 and `print-level' to nil. (Bug#17351)
1325
1326 2014-04-25 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1327
1328 * battery.el (battery-update): Handle the case where battery
1329 status is "N/A" (bug#17319).
1330
1331 2014-04-24 Eli Zaretskii <eliz@gnu.org>
1332
1333 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1334 Use equal-including-properties to compare help-echo strings (bug#17331).
1335
1336 2014-04-24 Leo Liu <sdl.web@gmail.com>
1337
1338 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1339 Fix syntax for @. (Bug#17325)
1340
1341 2014-04-24 Daniel Colascione <dancol@dancol.org>
1342
1343 * emacs-lisp/cl.el (gv): Require gv early to break eager
1344 macro-expansion cycles.
1345
1346 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1347
1348 * simple.el (region-active-p): Check there's a mark (bug#17324).
1349
1350 * simple.el (completion-list-mode-map): Use choose-completion for the
1351 mouse binding as well (bug#17302).
1352 (completion-list-mode, completion-setup-function): Adjust docstring and
1353 echo area message accordingly.
1354 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1355 calling convention of choose-completion.
1356 * comint.el (comint-dynamic-list-completions):
1357 * term.el (term-dynamic-list-completions): Accept choose-completion.
1358
1359 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1360 &, |, +, - and * can't be a division (bug#17317).
1361
1362 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1363
1364 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1365 features on gnome-terminal (bug#16988).
1366
1367 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1368
1369 * dired.el (dired-insert-set-properties): Do not consider
1370 subdirectory headings and empty lines to be information that
1371 `dired-hide-details-mode' should hide. (Bug#17228)
1372
1373 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1374
1375 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1376 Remove test messages.
1377 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1378 and `target' twice.
1379
1380 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1381
1382 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1383 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1384
1385 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1386
1387 2014-04-21 Michael Albinus <michael.albinus@gmx.de>
1388
1389 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1390 Set "IFS=" when using read builtin, in order to preserve spaces in
1391 the file name. Add test messages for hunting a bug on hydra.
1392 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1393
1394 2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1395
1396 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1397 Don't prettify a word within a symbol.
1398
1399 2014-04-20 Michael Albinus <michael.albinus@gmx.de>
1400
1401 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1402 possible.
1403
1404 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1405
1406 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1407 assignments such as "case=hello" (bug#17297).
1408
1409 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1410
1411 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1412 Do not autoload.
1413 (tramp-file-name-handler, tramp-completion-file-name-handler):
1414 Revert patch from 2014-04-10, it isn't necessary anymore.
1415 (tramp-autoload-file-name-handler)
1416 (tramp-register-autoload-file-name-handlers): New defuns.
1417 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1418 (tramp-register-file-name-handlers): Remove also
1419 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1420 Do not autoload its invocation, but eval it after loading of 'tramp.
1421
1422 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1423
1424 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1425
1426 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1427
1428 * nxml/nxml-mode.el (nxml-fontify-matcher): Make sure propertization
1429 was done (bug#17264).
1430 * nxml/xmltok.el (xmltok-scan-after-comment-open): Extend unclosed
1431 comment to EOB.
1432
1433 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1434 here-documents (bug#17262).
1435
1436 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1437
1438 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1439 Provide doc strings, as required by snarf-documentation.
1440
1441 2014-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
1442
1443 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1444 arg of overlays-at. Use `invisible-p'.
1445
1446 * obsolete/lucid.el (extent-at):
1447 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1448 overlays-at.
1449 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
1450
1451 2014-04-14 João Távora <joaotavora@gmail.com>
1452
1453 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
1454 links. (Bug#17217).
1455
1456 2014-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1457
1458 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1459 Use mapc to loop over a vector. (Bug#17257).
1460
1461 2014-04-13 Michael Albinus <michael.albinus@gmx.de>
1462
1463 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
1464 patch, there are new problems with file names containing spaces.
1465 Get rid of backticks. (Bug#17238)
1466
1467 2014-04-13 João Távora <joaotavora@gmail.com>
1468
1469 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
1470 possible bug.
1471
1472 2014-04-13 Eli Zaretskii <eliz@gnu.org>
1473
1474 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
1475 (blink-cursor-mode): Mention customization variables and the
1476 effect of 'blink-cursor-blinks'.
1477
1478 2014-04-12 Barry O'Reilly <gundaetiapo@gmail.com>
1479
1480 * simple.el (undo): Prevent insertion of identity mapping into
1481 undo-equiv-table so as undo-only does not inf loop in the presence
1482 of consecutive nils in undo list.
1483
1484 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
1485
1486 * faces.el (make-face): Deprecate optional argument as it is no
1487 longer needed/used since the conditional X resources handling
1488 has been pushed down to make-face-x-resource-internal itself.
1489 (make-empty-face): Don't pass optional argument to make-face.
1490
1491 2014-04-12 Eli Zaretskii <eliz@gnu.org>
1492
1493 * international/characters.el <standard-case-table>: Add entries
1494 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
1495 Set category of Coptic characters be 'g' (Greek).
1496
1497 2014-04-12 Leo Liu <sdl.web@gmail.com>
1498
1499 * progmodes/octave.el (completion-table-with-cache): Define if not
1500 available.
1501 (octave-goto-function-definition)
1502 (octave-sync-function-file-names)
1503 (octave-find-definition-default-filename): Backquote upattern for
1504 compatibility.
1505
1506 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
1507
1508 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
1509 name twice due to backticks. (Bug#17238)
1510
1511 2014-04-11 Glenn Morris <rgm@gnu.org>
1512
1513 * term/w32-win.el (x-win-suspend-error):
1514 * term/x-win.el (x-win-suspend-error): Sync docs.
1515
1516 2014-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
1517
1518 Ediff's overlay priorities cause more trouble than they solve.
1519 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
1520 (ediff-highest-priority): Remove function (bug#17234).
1521 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
1522 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
1523 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
1524 overlay priorities.
1525
1526 2014-04-10 Feng Li <fengli@gmail.com> (tiny change)
1527
1528 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
1529 entry; use symbol boundaries to avoid mis-matches.
1530
1531 2014-04-10 Michael Albinus <michael.albinus@gmx.de>
1532
1533 * net/tramp.el (tramp-file-name-handler)
1534 (tramp-completion-file-name-handler): Avoid recursive loading.
1535
1536 * net/tramp-sh.el (tramp-make-copy-program-file-name):
1537 Quote result also locally.
1538
1539 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
1540
1541 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
1542 Module methods. (Bug#17216)
1543
1544 2014-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1545
1546 * help.el (describe-bindings): Fix buffer handling (bug#17210).
1547 (describe-bindings-internal): Mark obsolete.
1548
1549 2014-04-07 João Távora <joaotavora@gmail.com>
1550
1551 * elec-pair.el:
1552 (electric-pair--syntax-ppss): When inside comments parse from
1553 comment beginning.
1554 (electric-pair--balance-info): Fix typo in comment.
1555 (electric-pair--in-unterminated-string-p): Delete.
1556 (electric-pair--unbalanced-strings-p): New function.
1557 (electric-pair-string-bound-function): New var.
1558 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
1559 according to `electric-pair--in-unterminated-string-p'
1560
1561 2014-04-07 João Távora <joaotavora@gmail.com>
1562
1563 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
1564 Inhibit quote pairing if point-max is inside an unterminated string.
1565 (electric-pair--looking-at-unterminated-string-p): Delete.
1566 (electric-pair--in-unterminated-string-p): New function.
1567
1568 2014-04-07 Glenn Morris <rgm@gnu.org>
1569
1570 * shell.el (shell-directory-tracker):
1571 Go back to just ignoring failures. (Bug#17159)
1572
1573 2014-04-06 João Távora <joaotavora@gmail.com>
1574
1575 Fix `electric-pair-delete-adjacent-pairs' in modes binding
1576 backspace. (bug#16981)
1577 * elec-pair.el (electric-pair-backward-delete-char): Delete.
1578 (electric-pair-backward-delete-char-untabify): Delete.
1579 (electric-pair-mode-map): Bind backspace to a menu item filtering
1580 a new `electric-pair-delete-pair' command.
1581 (electric-pair-delete-pair): New command.
1582
1583 2014-04-06 João Távora <joaotavora@gmail.com>
1584
1585 * progmodes/python.el (python-electric-pair-string-delimiter):
1586 Fix triple-quoting electricity. (Bug#17192)
1587
1588 2014-04-06 João Távora <joaotavora@gmail.com>
1589
1590 * elec-pair.el (electric-pair-post-self-insert-function):
1591 Don't skip whitespace when `electric-pair-text-pairs' and
1592 `electric-pair-pairs' were used. syntax to
1593 electric-pair--skip-whitespace. (Bug#17183)
1594
1595 2014-04-06 Eli Zaretskii <eliz@gnu.org>
1596
1597 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
1598 "<F>". (Bug#17199)
1599
1600 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
1601
1602 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
1603 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
1604
1605 2014-04-05 Glenn Morris <rgm@gnu.org>
1606
1607 * help.el (view-lossage): Doc tweak.
1608
1609 2014-04-05 Matthias Dahl <matthias.dahl@binary-island.eu>
1610
1611 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
1612 only when inhibit-x-resources is nil, and do that earlier in the
1613 function. Doc fix. (Bug#16694)
1614 (face-spec-choose): Accept additional optional argument, whose
1615 value is returned if no matching attributes are found.
1616 (face-spec-recalc): Use the new optional argument when calling
1617 face-spec-choose. (Bug#16378)
1618 (make-face-x-resource-internal): Do nothing when
1619 inhibit-x-resources is non-nil. Don't touch the default face if
1620 reversed video is given--as was done in previous versions of Emacs.
1621 (face-set-after-frame-default): Don't call
1622 make-face-x-resource-internal here. (Bug#16434)
1623
1624 2014-04-04 Tassilo Horn <tsdh@gnu.org>
1625
1626 * doc-view.el (doc-view-bookmark-jump):
1627 Use `bookmark-after-jump-hook' to jump to the right page after the
1628 buffer is shown in a window. (bug#16090)
1629
1630 2014-04-04 Eli Zaretskii <eliz@gnu.org>
1631
1632 * international/characters.el (mirroring): Fix last change:
1633 instead of loading uni-mirrored.el explicitly, do that implicitly
1634 by creating the 'mirroring' uniprop table. This avoids announcing
1635 the loading of uni-mirrored.el.
1636
1637 2014-04-04 Glenn Morris <rgm@gnu.org>
1638
1639 * files.el (buffer-stale--default-function)
1640 (buffer-stale-function, revert-buffer--default):
1641 * autorevert.el (auto-revert-buffers): Doc tweaks.
1642
1643 2014-04-03 Eli Zaretskii <eliz@gnu.org>
1644
1645 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
1646
1647 2014-04-03 Glenn Morris <rgm@gnu.org>
1648
1649 * files.el (make-backup-file-name-function)
1650 (make-backup-file-name, make-backup-file-name--default-function)
1651 (make-backup-file-name-1, find-backup-file-name)
1652 (revert-buffer-function, revert-buffer-insert-file-contents-function)
1653 (buffer-stale--default-function, buffer-stale-function)
1654 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
1655 (revert-buffer, revert-buffer--default)
1656 (revert-buffer-insert-file-contents--default-function):
1657 Doc fixes related to defaults no longer being nil.
1658 (make-backup-file-name-function): Bump :version.
1659 Restore nil as a valid but deprecated custom type.
1660
1661 2014-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1662
1663 * progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
1664 used as a variable (bug#17174).
1665
1666 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
1667
1668 * progmodes/perl-mode.el (perl-indent-new-calculate):
1669 Handle forward-sexp failure (bug#16985).
1670 (perl-syntax-propertize-function): Add "foreach" and "for" statement
1671 modifiers introducing expressions (bug#17116).
1672
1673 2014-04-02 Glenn Morris <rgm@gnu.org>
1674
1675 * menu-bar.el (menu-bar-file-menu):
1676 * vc/ediff.el (ediff-current-file):
1677 Update for revert-buffer-function no longer being nil by default.
1678
1679 * simple.el (command-execute): Respect nil disabled-command-function.
1680
1681 2014-04-01 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1682
1683 * simple.el (command-execute): Do not execute the command when it
1684 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
1685
1686 2014-03-29 Juri Linkov <juri@jurta.org>
1687
1688 * dired-aux.el (dired-compress-file): Don't use string-match-p
1689 because its match data is used afterwards.
1690
1691 2014-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
1692
1693 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
1694 0 like nil.
1695
1696 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
1697
1698 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1699 Highlight special globals with font-lock-builtin-face. (Bug#17057)
1700
1701 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1702 Don't propertize `?' or `!' as symbol constituent when after
1703 colon. (Bug#17097)
1704
1705 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
1706
1707 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
1708 which is no longer needed and causes trouble in GTK builds (bug#17046).
1709
1710 * emacs-lisp/package-x.el (package--archive-contents-from-url):
1711 Use url-insert-file-contents; package-handle-response no longer exists.
1712
1713 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
1714
1715 * emacs-lisp/package.el: Fix bug#16733 (again).
1716 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
1717 (url-http-target-url): Remove unused declarations.
1718 (package-handle-response): Remove.
1719 (package--with-work-buffer): Use url-insert-file-contents and simplify.
1720 (package--download-one-archive): Use current-buffer instead of
1721 dynamic binding of `buffer'.
1722 (describe-package-1): Do not decode readme-string.
1723
1724 2014-03-25 Barry O'Reilly <gundaetiapo@gmail.com>
1725
1726 * simple.el (primitive-undo): Correction to 2014-03-24 change.
1727
1728 2014-03-25 Michael Albinus <michael.albinus@gmx.de>
1729
1730 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
1731
1732 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
1733 from 2014-03-07, it decreases performance unnecessarily. Let-bind
1734 `remote-file-name-inhibit-cache' to nil in the second pass.
1735 (tramp-find-executable): Do not call "which" on SunOS.
1736 (tramp-send-command-and-check): Fix docstring.
1737 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
1738 check whether source directory has set the sticky bit.
1739
1740 2014-03-24 Barry O'Reilly <gundaetiapo@gmail.com>
1741
1742 * simple.el (primitive-undo): Only process marker adjustments
1743 validated against their corresponding (TEXT . POS). Issue warning
1744 for lone marker adjustments in undo history. (Bug#16818)
1745 (undo-make-selective-list): Add marker adjustments to selective
1746 undo list based on whether their corresponding (TEXT . POS) is in
1747 the region. Remove variable adjusted-markers, which was unused
1748 and only non nil during undo-make-selective-list.
1749 (undo-elt-in-region): Return nil when passed a marker adjustment
1750 and explain in function doc.
1751
1752 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1753
1754 * emacs-lisp/package.el (package--add-to-archive-contents):
1755 Include already installed and built-in packages in
1756 `package-archive-contents'.
1757 (package-install): Don't include already installed packages in the
1758 options during interactive invocation. (Bug#16762)
1759
1760 2014-03-24 Daniel Colascione <dancol@dancol.org>
1761
1762 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
1763 instead of cl-loop search function.
1764
1765 2014-03-24 Juanma Barranquero <lekktu@gmail.com>
1766
1767 * frameset.el (frameset--initial-params): Fix typo in parameter name.
1768
1769 2014-03-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1770
1771 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
1772
1773 2014-03-24 Dmitry Gutov <dgutov@yandex.ru>
1774
1775 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
1776 Match special global variables without curlies, too.
1777 (ruby-font-lock-keywords): Simplify the matcher for special global
1778 variables. Don't require a non-word character after the variable.
1779 (Bug#17057)
1780
1781 2014-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1782
1783 * simple.el (redisplay-highlight-region-function): Increase priority of
1784 overlay to make sure boundaries are visible (bug#15899).
1785
1786 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
1787
1788 * frameset.el (frameset-restore): Compare display strings with equal.
1789
1790 * frame.el (make-frame): Don't quote display name in error message,
1791 it is already a string.
1792
1793 2014-03-23 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1794
1795 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
1796 the password.
1797
1798 2014-03-23 Dmitry Gutov <dgutov@yandex.ru>
1799
1800 * emacs-lisp/package.el (package-show-package-list): If the buffer
1801 is already displayed in another window, switch to that window.
1802
1803 2014-03-21 Daniel Colascione <dancol@dancol.org>
1804
1805 * mail/emacsbug.el (report-emacs-bug): Include memory usage
1806 information in bug reports.
1807
1808 2014-03-23 Daniel Colascione <dancol@dancol.org>
1809
1810 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
1811 list to look for keyword arguments instead of `memq', fixing
1812 (Bug#3647) --- unfortunately, only for freshly-compiled code.
1813 Please make bootstrap.
1814
1815 2014-03-23 Richard Stallman <rms@gnu.org>
1816
1817 * battery.el (battery-linux-sysfs): Search for each field
1818 from the beginning of the buffer.
1819
1820 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
1821
1822 * emacs-lisp/package.el (package-desc): Use the contents of the
1823 quoted form, not its cdr. (Bug#16873)
1824
1825 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
1826
1827 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
1828 benefit of doc.c; change parameter profile to match the X function.
1829
1830 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
1831
1832 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
1833 and `tramp-copy-env'.
1834
1835 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
1836 (tramp-maybe-open-connection): Handle `tramp-login-env'.
1837
1838 2014-03-21 Glenn Morris <rgm@gnu.org>
1839
1840 * electric.el (electric-indent-post-self-insert-function): Add doc.
1841
1842 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
1843
1844 * emacs-lisp/package.el (package-compute-transaction):
1845 Use `version-list-<=' to compare the requirement version against
1846 the version of package already to be installed. Update the error
1847 message. (Bug#16826)
1848
1849 * progmodes/ruby-mode.el (ruby-smie-rules):
1850 Add indentation rule for ` @ '. (Bug#17050)
1851
1852 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
1853
1854 * align.el (align-regexp): Remove superfluous backslash.
1855
1856 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
1857 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
1858 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
1859 Fix docstring typos.
1860 (ffap-next): Use C-u in docstring.
1861 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
1862 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
1863 Remove superfluous backslashes.
1864 (ffap-string-at-point): Reflow docstring.
1865
1866 * server.el (server-host): Reflow docstring.
1867 (server-unload-function): Fix docstring typo.
1868 (server-eval-at): Remove superfluous backslash.
1869
1870 * skeleton.el (skeleton-insert): Remove superfluous backslash.
1871 (skeleton-insert): Doc fix.
1872 (skeleton-insert): Reflow docstring.
1873
1874 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
1875 (tty-color-approximate, tty-color-by-index, tty-color-values)
1876 (tty-color-desc): Remove superfluous backslashes.
1877
1878 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1879
1880 * electric.el (electric-newline-and-maybe-indent): New command.
1881 Bind it globally to C-j.
1882 (electric-indent-mode): Don't mess with the global map any more.
1883 Don't drop the post-self-insert-hook is some buffer is still using it
1884 (bug#16770).
1885
1886 * bindings.el (global-map): Remove C-j binding.
1887
1888 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
1889 the docstring of functions advised before dumping (bug#16993).
1890
1891 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
1892
1893 * ps-print.el (ps-generate-postscript-with-faces):
1894 Explicitly deactivate the mark (bug#16866).
1895 * simple.el (deactivate-mark): Update region highlight.
1896
1897 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
1898
1899 * emacs-lisp/package.el (describe-package-1):
1900 Decode commentary (bug#16733).
1901
1902 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
1903
1904 * custom.el (defcustom): Doc fix: recommend avoiding destructive
1905 modification of the value argument of :set (bug#16755).
1906
1907 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1908
1909 * simple.el (newline-and-indent): Do autofill (bug#17031).
1910
1911 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
1912
1913 * newcomment.el (comment-normalize-vars): Only add escaping check
1914 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
1915 (comment-beginning): Use `narrow-to-region' instead of moving back
1916 one character.
1917 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
1918 (comment-start-skip): Update the docstring.
1919
1920 2014-03-18 Richard Stallman <rms@gnu.org>
1921
1922 * dired.el (dired-display-file): Force use of other window.
1923
1924 2014-03-18 Daniel Colascione <dancol@dancol.org>
1925
1926 * startup.el (tty-handle-args): Remove debug message from 2007.
1927
1928 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
1929
1930 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
1931 (advice--make-interactive-form): Use it to avoid (auto)loading function.
1932 (advice--make-1, advice-add, advice-remove):
1933 Remove braindead :advice-pending hack.
1934
1935 2014-03-17 Glenn Morris <rgm@gnu.org>
1936
1937 * calendar/calendar.el (calendar-generate-month): Apply weekend
1938 face to the right days; fixes 2013-08-06 change. (Bug#17028)
1939
1940 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
1941
1942 * net/tramp.el (tramp-action-out-of-band): Read pending output.
1943 (tramp-call-process): Trace also DESTINATION.
1944
1945 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
1946 Quote file names when they are local. Remove superfluous trace.
1947
1948 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
1949
1950 * newcomment.el (comment-beginning): If `comment-start-skip'
1951 doesn't match, move back one char and try again. (Bug#16971)
1952
1953 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1954 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
1955 Set `comment-start-skip' to a simpler value that doesn't try to
1956 check if the semicolon is escaped (this is handled by
1957 `syntax-ppss' now). (Bug#16971)
1958
1959 * progmodes/scheme.el (scheme-mode-variables): Same.
1960
1961 2014-03-16 Martin Rudalics <rudalics@gmx.at>
1962
1963 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
1964 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
1965 current (Bug#16816, Bug#17007).
1966 (with-current-buffer-window): New macro doing the same as
1967 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
1968 * help.el (help-print-return-message): Warn in doc-string to not
1969 use this in `with-help-window'.
1970 (describe-bindings-internal): Call `describe-buffer-bindings'
1971 from within help buffer. See Juanma's scenario in (Bug#16816).
1972 (with-help-window): Update doc-string.
1973 * dired.el (dired-mark-pop-up):
1974 * files.el (save-buffers-kill-emacs):
1975 * register.el (register-preview): Use `with-current-buffer-window'
1976 instead of `with-temp-buffer-window'.
1977
1978 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
1979
1980 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
1981 Implement inserting into current buffer, documented in their docstrings.
1982 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
1983 (rst-section-tree-point, rst-forward-section, rst-indent)
1984 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
1985 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
1986 (rst-font-lock-handle-adornment-pre-match-form)
1987 (rst-repeat-last-character): Reflow docstrings.
1988 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
1989 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
1990 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
1991 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
1992 Fix docstring typos.
1993 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
1994 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
1995 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
1996
1997 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
1998
1999 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2000 for compatibility with other ports.
2001 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2002 from the -xrm command line argument, but in the Nextstep port its value
2003 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2004
2005 * progmodes/python.el (defconst, python-syntax-count-quotes)
2006 (python-indent-region, python-indent-shift-right)
2007 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2008 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2009 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2010 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2011 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2012 (python-shell-buffer-substring, python-shell-send-buffer)
2013 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2014 (python-completion-complete-at-point, python-fill-docstring-style)
2015 (python-eldoc-function, python-imenu-format-item-label)
2016 (python-imenu-format-parent-item-label)
2017 (python-imenu-format-parent-item-jump-label)
2018 (python-imenu--build-tree, python-imenu-create-index)
2019 (python-imenu-create-flat-index): Fix docstring typos.
2020 (python-indent-context, python-shell-prompt-regexp, run-python):
2021 Remove superfluous backslashes.
2022 (python-indent-line, python-nav-beginning-of-defun)
2023 (python-shell-get-buffer, python-shell-get-process)
2024 (python-info-current-defun, python-info-current-line-comment-p)
2025 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2026 (python-indent-post-self-insert-function, python-shell-send-file)
2027 (python-shell-completion-get-completions)
2028 (python-shell-completion-complete-or-indent)
2029 (python-eldoc--get-doc-at-point): Reflow docstrings.
2030
2031 2014-03-14 Glenn Morris <rgm@gnu.org>
2032
2033 * emacs-lisp/package.el (package-menu-mode-map):
2034 Replace use of obsolete function alias. Tweak menu item text.
2035
2036 * info.el (Info-finder-find-node):
2037 Ignore the `emacs' metapackage. (Bug#10813)
2038
2039 * finder.el (finder-list-matches): Include unversioned packages
2040 in the result of a keyword search.
2041
2042 * finder.el (finder--builtins-descriptions): New constant.
2043 (finder-compile-keywords): Use finder--builtins-descriptions.
2044
2045 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2046
2047 * simple.el (blink-matching-paren): Describe the new value,
2048 `jump', enabling the old behavior.
2049 (blink-matching-open): Use that value. (Bug#17008)
2050
2051 2014-03-14 Glenn Morris <rgm@gnu.org>
2052
2053 * finder.el (finder-no-scan-regexp): Add leim-list.
2054 (finder-compile-keywords):
2055 Don't skip files with same basename. (Bug#14010)
2056 * Makefile.in (setwins_finder): New, excluding leim.
2057 (finder-data): Use setwins_finder.
2058
2059 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
2060 (help-function-arglist, help-make-usage): Move from here...
2061 * help.el (help-split-fundoc, help-add-fundoc-usage)
2062 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
2063 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
2064
2065 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
2066
2067 * net/socks.el (socks, socks-override-functions)
2068 (socks-find-services-entry):
2069 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
2070 (hif-find-ifdef-block):
2071 * progmodes/modula2.el (m2-indent): Fix docstring typos.
2072
2073 * net/tls.el (tls-program): Reflow docstring.
2074
2075 * progmodes/pascal.el (pascal-mode-abbrev-table)
2076 (pascal-imenu-generic-expression, pascal-auto-endcomments)
2077 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
2078 (pascal-outline-mode): Fix docstring typos.
2079 (pascal-mode): Let define-derived-mode document mode hook.
2080 (pascal-uncomment-area): Reflow.
2081 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
2082
2083 * progmodes/opascal.el (opascal-compound-block-indent)
2084 (opascal-case-label-indent): Fix docstring typos.
2085 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
2086
2087 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
2088
2089 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2090 Fontify multiple adjacent negation chars. (Bug#17004)
2091
2092 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
2093
2094 * emacs-lisp/package.el (package--prepare-dependencies):
2095 Accept requirements without explicit version (bug#14941).
2096
2097 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2098
2099 * register.el (register-separator, copy-to-register): Doc fixes.
2100 (register-preview-default): Remove unnecessary call to concat.
2101
2102 * frameset.el (frameset-restore): When checking for a visible frame,
2103 use the action map instead of calling visible-frame-list.
2104
2105 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
2106
2107 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
2108
2109 2014-03-12 Martin Rudalics <rudalics@gmx.at>
2110
2111 * window.el (fit-frame-to-buffer): Get maximum width from
2112 display's width instead of height.
2113
2114 2014-03-12 Glenn Morris <rgm@gnu.org>
2115
2116 * desktop.el (desktop-restore-frames)
2117 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
2118 (desktop-restore-reuses-frames): Doc tweaks.
2119
2120 * electric.el (electric-indent-mode): Doc fix.
2121
2122 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2123
2124 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
2125 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
2126 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
2127 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
2128 (cvs-dired-use-hook): Fix docstring typos.
2129 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
2130 Doc fixes.
2131
2132 * vc/pcvs-defs.el (cvs-auto-remove-handled)
2133 (cvs-auto-remove-directories, cvs-default-ignore-marks)
2134 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
2135 (cvs-execute-single-dir): Fix docstring typos.
2136
2137 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
2138 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
2139
2140 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
2141
2142 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
2143 Fix docstring typos.
2144
2145 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
2146
2147 * frameset.el (frameset--jump-to-register): Add autoload; it could be
2148 called from jump-to-register after unloading the frameset package.
2149
2150 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2151
2152 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
2153 (bug#16975). Deactivate the mark before setting it to nil.
2154 (activate-mark): Do nothing if region is already active.
2155
2156 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2157
2158 * frameset.el (frameset--target-display): Remove definition; declare.
2159 (frameset-save, frameset-restore): Let-bind frameset--target-display.
2160
2161 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
2162
2163 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
2164 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
2165 when the advice is pending.
2166 (advice-remove): Remove this marker when not needed any more.
2167
2168 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
2169
2170 * frameset.el: Separate options for reusing frames and cleaning up.
2171 (frameset--reuse-list): Remove definition; declare.
2172 (frameset--action-map): Declare.
2173 (frameset--find-frame-if): Doc fix.
2174 (frameset--restore-frame): Cache frame action.
2175 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
2176 how to clean up the frame list after restoring. Remove cleaning
2177 options from REUSE-FRAMES. Change all keyword values to symbols.
2178 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
2179
2180 * desktop.el (desktop-restore-forces-onscreen)
2181 (desktop-restore-reuses-frames): Use non-keyword values.
2182 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
2183
2184 2014-03-10 Glenn Morris <rgm@gnu.org>
2185
2186 * files.el (find-file): Doc fix: update info node name.
2187
2188 * emacs-lisp/advice.el (ad-add-advice, defadvice):
2189 Doc fix: remove references to deleted info nodes.
2190
2191 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
2192
2193 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2194 Do not add `nil' to the environment, when there's no remote `locale'.
2195 (tramp-find-inline-encoding): Check, that the remote host has
2196 installed perl, before sending scripts.
2197
2198 2014-03-10 Leo Liu <sdl.web@gmail.com>
2199
2200 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2201 Clear eldoc-last-message. (Bug#16920)
2202
2203 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2204
2205 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
2206 (bug#14430).
2207
2208 2014-03-09 Juri Linkov <juri@jurta.org>
2209
2210 * ansi-color.el (ansi-color-names-vector): Copy default colors
2211 from `xterm-standard-colors' that look well on the default white
2212 background (and also on the black background) to avoid illegible
2213 color combinations like yellow-on-white and white-on-white.
2214 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
2215
2216 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
2217
2218 * frameset.el (frameset-restore): When no frame is visible, do not
2219 generate a list of frames, just make visible the selected one.
2220
2221 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
2222
2223 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
2224 it only contains the repository root. (Bug#16897)
2225
2226 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
2227
2228 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
2229 only when `remote-file-name-inhibit-cache' is nil.
2230 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
2231
2232 2014-03-06 Martin Rudalics <rudalics@gmx.at>
2233
2234 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
2235 Fix doc-strings.
2236 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
2237 fit-frame-to-buffer variable. Fix doc-string.
2238 (fit-window-to-buffer): Set ONLY argument in call of
2239 fit-frame-to-buffer. Fix doc-string.
2240
2241 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
2242
2243 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
2244 (tramp-action-password): Clear password cache if needed.
2245 (tramp-read-passwd): Do not clear password cache.
2246
2247 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
2248 cache unless it is the first password request.
2249
2250 2014-03-06 Glenn Morris <rgm@gnu.org>
2251
2252 * simple.el (newline): Doc tweak.
2253
2254 * emacs-lisp/shadow.el (load-path-shadows-find):
2255 Ignore dir-locals. (Bug#12357)
2256
2257 2014-03-05 Glenn Morris <rgm@gnu.org>
2258
2259 * files.el (interpreter-mode-alist):
2260 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
2261
2262 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2263
2264 * frameset.el (frameset--initial-params): Filter out null entries.
2265
2266 2014-03-05 Martin Rudalics <rudalics@gmx.at>
2267
2268 * window.el (window-min-height, window-min-width):
2269 Rewrite doc-strings.
2270 (window-body-size): Add PIXELWISE argument to make it consistent
2271 with its callees.
2272
2273 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
2274
2275 * finder.el (finder-mode-map, finder-mode-syntax-table):
2276 Revert part of 2014-02-28 change.
2277
2278 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
2279
2280 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
2281 (eww-setup-buffer): Clear next/prev/etc more reliably.
2282 (eww-textarea-map): [tab] doesn't work on tty.
2283 Reported by Mario Lang.
2284
2285 * net/shr.el (shr-map): Ditto.
2286
2287 2014-03-04 Glenn Morris <rgm@gnu.org>
2288
2289 * minibuffer.el (completion-hilit-commonality):
2290 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
2291
2292 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2293
2294 * hilit-chg.el (hilit-chg-unload-function): New function.
2295 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
2296 (hilit-chg-map-changes): Prefer cardinal number to digit.
2297 (hilit-chg-display-changes): Reflow docstring.
2298 (highlight-changes-rotate-faces): Remove superfluous backslash.
2299
2300 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
2301
2302 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
2303 `tramp-send-command-and-check'.
2304
2305 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
2306
2307 * hexl.el (hexl-address-region, hexl-ascii-region)
2308 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
2309 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
2310 (hexl-forward-word, hexl-previous-line, hexl-next-line):
2311 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
2312 (hexl-mode): Doc fix.
2313 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
2314 (hexl-mode-ruler): Fix typos in docstrings.
2315
2316 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
2317 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
2318 Remove superfluous backslashes.
2319 (strokes-last-stroke, strokes-global-map, strokes-mode):
2320 Reflow docstrings.
2321 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
2322 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
2323 (strokes-distance-squared, strokes-global-set-stroke)
2324 (strokes-global-set-stroke-string): Doc fixes.
2325 (strokes-help): Fix typos; reflow docstring.
2326
2327 2014-03-04 Martin Rudalics <rudalics@gmx.at>
2328
2329 * window.el (window-in-direction): Fix doc-string.
2330
2331 2014-03-04 Glenn Morris <rgm@gnu.org>
2332
2333 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
2334 Explicit error if no grammar.
2335 (smie-config-save): Doc fix. Fix quote typo.
2336
2337 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
2338
2339 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
2340 electric-indent-mode-hook if we obey electric-indent-mode.
2341 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
2342 decide whether we obey electric-indent-mode.
2343 (c-change-set-fl-decl-start, c-extend-after-change-region):
2344 Silence warnings.
2345 (c-electric-indent-mode-hook): Assume we do want to obey
2346 electric-indent-mode.
2347
2348 * electric.el (electric-indent-mode-has-been-called): Remove.
2349 (electric-indent-mode): Fix accordingly.
2350
2351 * files.el (hack-local-variables): Mention file name in warning.
2352
2353 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
2354
2355 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
2356
2357 * bindings.el: Add comment describing why C-d binds to `delete-char'.
2358 * simple.el (delete-forward-char): Mark as interactive-only.
2359
2360 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
2361
2362 * icomplete.el (icomplete-completions):
2363 Follow-up to 2014-03-01 change.
2364
2365 * icomplete.el: Miscellaneous doc fixes.
2366 Use Icomplete everywhere instead of icomplete for consistency.
2367 (icomplete-max-delay-chars): Fix typo.
2368 (icomplete-mode): Use \[].
2369 (icomplete-tidy, icomplete-exhibit): Reflow.
2370 (icomplete-minibuffer-setup-hook, icomplete-completions):
2371 Remove superfluous backlashes.
2372
2373 * ido.el: Miscellaneous doc fixes.
2374 Use Ido everywhere instead of ido or `ido' for consistency.
2375 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
2376 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
2377 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
2378 (ido-separator): Extract obsolescence info from docstring and declare
2379 with make-obsolete-variable.
2380 (ido-minibuffer-setup-hook): Simplify example.
2381 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
2382 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
2383 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
2384 (ido-everywhere): Reflow docstring.
2385 (ido-toggle-vc): Doc fix.
2386 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
2387 of long list of keybindings.
2388
2389 2014-03-03 Glenn Morris <rgm@gnu.org>
2390
2391 * frame.el (display-pixel-height, display-pixel-width)
2392 (display-mm-dimensions-alist, display-mm-height)
2393 (display-mm-width): Doc tweaks.
2394
2395 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
2396
2397 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
2398 case of undo in region.
2399
2400 2014-03-02 Martin Rudalics <rudalics@gmx.at>
2401
2402 * window.el (fit-window-to-buffer): Fix argument in window-size
2403 call when window is horizontally combined.
2404
2405 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
2406
2407 * icomplete.el (icomplete-completions): Use string-width.
2408 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
2409
2410 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
2411
2412 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2413 Highlight regexp options. (Bug#16914)
2414
2415 2014-03-01 Martin Rudalics <rudalics@gmx.at>
2416
2417 * window.el (window--max-delta-1): Round down when calculating
2418 how many lines/columns we can get from a window.
2419
2420 2014-03-01 Glenn Morris <rgm@gnu.org>
2421
2422 * isearch.el (search-invisible): Doc fix.
2423
2424 * minibuffer.el (completion-hilit-commonality):
2425 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
2426 * comint.el (comint-dynamic-list-completions): Doc fix.
2427 * comint.el (comint-dynamic-list-completions):
2428 * filecache.el (file-cache-minibuffer-complete):
2429 * tempo.el (tempo-display-completions):
2430 * eshell/em-hist.el (eshell-list-history):
2431 Replace use of obsolete argument of display-completion-list.
2432
2433 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
2434
2435 * icomplete.el (icomplete-completions):
2436 Revert back to using "..." when ?… cannot be displayed.
2437
2438 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2439
2440 * finder.el (finder-unload-function): New function.
2441
2442 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
2443
2444 * dframe.el (dframe-detach):
2445 * find-dired.el (find-dired, find-name-dired):
2446 * finder.el (finder-mode-map, finder-mode-syntax-table)
2447 (finder-headmark, finder-select, finder-mouse-select):
2448 Fix docstring typos.
2449
2450 2014-02-28 Martin Rudalics <rudalics@gmx.at>
2451
2452 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
2453 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
2454 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
2455 Fix doc-string based on a suggestion by Nicolas Richard
2456 <theonewiththeevillook@yahoo.fr>.
2457 * help.el (with-help-window): Fix doc-string.
2458
2459 2014-02-28 Ivan Kanis <ivan@kanis.fr>
2460
2461 * net/shr.el (shr-image-animate): New option.
2462 (shr-put-image): Respect shr-image-animate.
2463
2464 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
2465
2466 * net/tramp-adb.el (tramp-adb-parse-device-names):
2467 Use `accept-process-output'.
2468 (tramp-adb-handle-file-truename): Cache the localname only.
2469 (tramp-adb-handle-make-directory)
2470 (tramp-adb-handle-delete-directory): Flush file properties correctly.
2471 (tramp-adb-handle-set-file-modes): Do not raise an error when file
2472 modes cannot be changed.
2473
2474 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
2475 file properties of symlinks.
2476
2477 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
2478
2479 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
2480 required/optional fields to match development biblatex. (Bug#16781)
2481
2482 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
2483
2484 * saveplace.el (toggle-save-place):
2485 Fix argument handling. (Bug#16673)
2486
2487 2014-02-28 Glenn Morris <rgm@gnu.org>
2488
2489 * minibuffer.el (completions-first-difference)
2490 (completions-common-part, completion-hilit-commonality): Doc fixes.
2491
2492 2014-02-28 Karl Berry <karl@gnu.org>
2493
2494 * info.el (Info-mode-map): Add H for describe-mode,
2495 to synchronize with standalone Info.
2496
2497 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
2498
2499 * progmodes/sql.el (sql-interactive-mode):
2500 Avoid setting global comint-input-ring-separator. (Bug#16814)
2501
2502 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2503
2504 * net/dbus.el (dbus--init-bus): Declare function.
2505 (dbus-path-local, dbus-interface-local): New defconst.
2506 (dbus-init-bus): Use them.
2507 (dbus-return-values-table): Extend doc.
2508 (dbus-handle-bus-disconnect): Extend error message.
2509
2510 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
2511
2512 * subr.el (y-or-n-p): Fix double space issue in message.
2513
2514 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
2515
2516 * net/tramp.el (tramp-call-process): Improve trace message.
2517 (tramp-handle-insert-file-contents): Trace error case.
2518
2519 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2520 <insert-directory>: Use `tramp-handle-insert-directory'.
2521 (tramp-adb-handle-insert-directory): Remove function.
2522 (tramp-adb-send-command-and-check): New defun, replacing
2523 `tramp-adb-command-exit-status'. Change all callees.
2524 (tramp-adb-handle-file-attributes)
2525 (tramp-adb-handle-directory-files-and-attributes): Use it.
2526 (tramp-adb-ls-output-name-less-p):
2527 Use `directory-listing-before-filename-regexp'.
2528 (tramp-adb-handle-delete-directory): Flush also file properties of
2529 the truename of directory.
2530 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
2531 (tramp-adb-handle-file-local-copy): Make the local copy readable.
2532 (tramp-adb-handle-write-region): Implement APPEND.
2533 (tramp-adb-handle-rename-file): Make it more robust. Flush file
2534 properties correctly.
2535 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
2536 variables. Check for connected devices only when needed.
2537
2538 2014-02-27 Glenn Morris <rgm@gnu.org>
2539
2540 * minibuffer.el (completion-table-dynamic)
2541 (completion-table-with-cache): Doc fixes.
2542
2543 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
2544 (completing-read-multiple): Doc fixes.
2545
2546 2014-02-27 Daniel Colascione <dancol@dancol.org>
2547
2548 * minibuffer.el (completion--nth-completion): Fix indentation.
2549
2550 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
2551 explicit tramp path is empty.
2552
2553 2014-02-27 Glenn Morris <rgm@gnu.org>
2554
2555 * emacs-lisp/crm.el (completing-read-multiple):
2556 Empower help-enable-auto-load.
2557
2558 2014-02-26 Glenn Morris <rgm@gnu.org>
2559
2560 * startup.el (command-line): Don't init the tty in daemon mode.
2561
2562 Avoid calling tty-setup-hook twice, eg if a term file
2563 explicitly calls tty-run-terminal-initialization. (Bug#16859)
2564 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
2565 (tty-create-frame-with-faces): Use it.
2566 * startup.el (command-line): Pass run-hook argument
2567 to tty-run-terminal-initialization.
2568
2569 * dired.el (dired-restore-desktop-buffer): Demote errors;
2570 eg in case a glob match fails. (Bug#16884)
2571
2572 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
2573
2574 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
2575 error from `read-from-string'. (Bug#16850)
2576
2577 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
2578 result of `completing-read' in the interactive form. (Bug#16854)
2579
2580 2014-02-25 Glenn Morris <rgm@gnu.org>
2581
2582 * image.el (image-animate, image-animate-timeout):
2583 Stop animating images in dead buffers. (Bug#16878)
2584
2585 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
2586
2587 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
2588 Doc fixes.
2589 * startup.el (term-setup-hook): Doc fix. Make obsolete.
2590 * term/sun.el (sun-raw-prefix-hooks):
2591 Use tty-setup-hook instead of term-setup-hook.
2592 (terminal-init-sun): Construct message from bytecomp plist.
2593 * term/wyse50.el (enable-arrow-keys): Doc fix.
2594
2595 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2596
2597 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
2598 Fix docstring typos.
2599
2600 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
2601
2602 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
2603
2604 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2605
2606 * minibuffer.el (completion--try-word-completion):
2607 Fix error when completing M-x commands (bug#16808).
2608
2609 2014-02-24 Leo Liu <sdl.web@gmail.com>
2610
2611 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
2612
2613 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
2614
2615 * apropos.el (apropos-print): Avoid formatting error when
2616 apropos-do-all and apropos-compact-layout are both t.
2617
2618 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2619
2620 * apropos.el (apropos-property, apropos-all-words-regexp)
2621 (apropos-true-hit, apropos-variable, apropos-print):
2622 Fix docstring typos, and remove obsolete comment.
2623
2624 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
2625
2626 * net/tramp-sh.el (tramp-sh-handle-file-truename):
2627 Preserve trailing "/". (Bug#16851)
2628
2629 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
2630
2631 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
2632 after `=>' (bug#16811).
2633 (ruby-smie-rules): Handle the inconsistent second element of the
2634 list returned by `smie-indent--parent'.
2635 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
2636 method call.
2637
2638 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
2639
2640 * elec-pair.el (electric-pair-text-syntax-table)
2641 (electric-pair-syntax-info, electric-pair--syntax-ppss)
2642 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
2643 (electric-pair--looking-at-unterminated-string-p): Doc fix.
2644 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
2645
2646 2014-02-22 Glenn Morris <rgm@gnu.org>
2647
2648 * imenu.el (imenu--generic-function): Doc fix.
2649
2650 * register.el (frame-configuration-to-register): Make obsolete.
2651
2652 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
2653
2654 * desktop.el (desktop-save-buffer-p): Do not fail when
2655 desktop-files-not-to-save is nil. Return t for true result
2656 as the doc says.
2657
2658 2014-02-22 Daniel Colascione <dancol@dancol.org>
2659
2660 * net/secrets.el (secrets-create-item, secrets-search-items):
2661 Check that attribute values are strings, avoiding the construction
2662 of invalid dbus messages.
2663
2664 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2665
2666 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
2667 defun-declarations-alist.
2668
2669 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
2670
2671 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
2672 (bug#16829).
2673
2674 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2675
2676 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
2677 (whitespace-newline, whitespace-trailing, whitespace-line)
2678 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
2679 (whitespace-space-after-tab): Fix typo in docstrings.
2680
2681 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
2682
2683 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
2684
2685 * electric.el (electric-indent-functions-without-reindent):
2686 Add `yaml-indent-line'.
2687
2688 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2689
2690 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
2691 It has done nothing for years; should be removed after the release.
2692
2693 * simple.el (choose-completion): Fix docstring typo.
2694 (read-quoted-char-radix): Remove unneeded * in docstring.
2695 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
2696 Don't escape parentheses unnecessarily in docstrings.
2697
2698 2014-02-21 Martin Rudalics <rudalics@gmx.at>
2699
2700 Fix handling of window-min-height/-width (Bug#16738).
2701 * window.el (window--dump-window, window--dump-frame):
2702 New functions.
2703 (window--min-size-1): Account for window dividers.
2704 When window-resize-pixelwise is nil, delay rounding till after the
2705 sum of the window components has been calculated.
2706 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
2707 nil make sure at least one text line and two text columns remain
2708 fully visible.
2709 (window-resize): Signal an error when window-resize-apply fails.
2710 (window--resize-child-windows): Fix calculation of by how many
2711 pixels a window can still be shrunk via window-new-normal.
2712 (adjust-window-trailing-edge): Call window--resizable with
2713 correct TRAIL argument.
2714
2715 (with-temp-buffer-window): Don't evaluate BODY within
2716 with-current-buffer (Bug#16816).
2717
2718 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
2719
2720 * net/tramp.el (tramp-check-cached-permissions):
2721 Call `file-attributes' with `suffix' being a symbol but a string.
2722
2723 2014-02-21 Daniel Colascione <dancol@dancol.org>
2724
2725 * net/dbus.el (dbus-init-bus-1): Declare new subr.
2726 (dbus-init-bus): New function: call into dbus-init-bus-1
2727 and installs a handler for the disconnect signal.
2728 (dbus-call-method): Rewrite to look for result in cons.
2729 (dbus-call-method-handler): Store result in cons.
2730 (dbus-check-event): Recognize events with nil sender as valid.
2731 (dbus-handle-bus-disconnect): New function. React to bus
2732 disconnection signal by synthesizing dbus error for each
2733 pending synchronous or asynchronous call.
2734 (dbus-notice-synchronous-call-errors): New function.
2735 (dbus-handle-event): Raise errors directly only when `dbus-debug'
2736 is true, not all the time.
2737
2738 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
2739
2740 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
2741 Remove obsolescence declarations, these variables do not exist anymore.
2742
2743 * savehist.el (savehist-save-minibuffer-history)
2744 (savehist-additional-variables, savehist-file, savehist-mode-hook)
2745 (savehist-save-hook, savehist-coding-system, savehist-loaded)
2746 (savehist-load, savehist-install, savehist-autosave): Fix typos;
2747 mostly, refer to "Savehist mode" when talking about the mode,
2748 and not the function.
2749
2750 * saveplace.el (save-place): Remove redundant info in docstring.
2751 (save-place-forget-unreadable-files, toggle-save-place)
2752 (save-place-forget-unreadable-files, save-place-dired-hook):
2753 Fix typos and remove unneeded backslashes.
2754
2755 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
2756
2757 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
2758 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
2759
2760 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2761 <insert-directory>: Use `tramp-handle-insert-directory'.
2762 (tramp-gvfs-handle-insert-directory): Remove function.
2763
2764 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2765 Call `tramp-handle-insert-directory'.
2766
2767 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
2768
2769 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
2770 before the start of buffer/region (bug#16799).
2771
2772 2014-02-20 Glenn Morris <rgm@gnu.org>
2773
2774 * isearch.el (search-invisible): Doc fix.
2775
2776 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
2777
2778 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
2779 (bug#16657).
2780
2781 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2782
2783 * frameset.el (frameset-restore): Delay removing an old frame's
2784 duplicate id until the new frame has been correctly created.
2785
2786 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
2787
2788 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
2789 (tramp-check-cached-permissions): Call `file-attributes' if the
2790 cache is empty.
2791
2792 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
2793 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2794
2795 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
2796 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
2797 (tramp-gvfs-maybe-open-connection): Set always connection
2798 properties, even if target is mounted already.
2799
2800 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
2801 Set tramp-autoload cookie.
2802 (tramp-get-remote-touch): New defun.
2803 (tramp-sh-handle-set-file-times): Use it.
2804 (tramp-sh-handle-directory-files-and-attributes):
2805 Use `tramp-handle-directory-files-and-attributes' if neither stat
2806 nor perl are available on the remote host.
2807
2808 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
2809 "/". Write long listing only when "l" belongs to the switches.
2810
2811 * net/trampver.el: Update release number.
2812
2813 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
2814
2815 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
2816
2817 2014-02-19 Martin Rudalics <rudalics@gmx.at>
2818
2819 * window.el (window-state-put): Allow WINDOW to refer to an
2820 internal window (Bug#16793).
2821
2822 2014-02-19 Glenn Morris <rgm@gnu.org>
2823
2824 * textmodes/remember.el: Move provide statement to end.
2825 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
2826 (remember-notes): Doc fixes.
2827
2828 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2829
2830 * delsel.el (delete-char): Restore incorrectly erased property
2831 (bug#16795).
2832
2833 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
2834
2835 * frameset.el (frameset--restore-frame): When a frame is being reused
2836 and its root window is not alive, delete all the frame's windows before
2837 restoring the window state. This works around the issue in bug#16793.
2838
2839 2014-02-18 Glenn Morris <rgm@gnu.org>
2840
2841 * textmodes/remember.el (remember-data-directory)
2842 (remember-directory-file-name-format, remember-store-in-files)
2843 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
2844 (remember-notes-save-and-bury-buffer)
2845 (remember-notes--kill-buffer-query): Doc fixes.
2846
2847 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
2848
2849 2014-02-17 Alan Mackenzie <acm@muc.de>
2850
2851 Connect electric-indent-mode up with CC Mode. Bug #15478.
2852 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
2853 to electric-indent-{,local-}-mode.
2854 (c-basic-common-init): Set electric-indent-inhibit.
2855 Initialise c-electric-flag from electric-indent-mode.
2856 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
2857 New hook functions which propagate electric-indent-mode to CC mode.
2858
2859 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
2860 hit, toggle electric-indent-local-mode.
2861
2862 * electric.el (electric-indent-mode-has-been-called):
2863 New variable.
2864
2865 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
2866
2867 * frameset.el (frameset-cfg-id): New function.
2868 (frameset--reuse-frame, frameset-restore): Use it.
2869 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
2870
2871 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
2872
2873 * ido.el (ido-file-internal): Remove unused var `d'.
2874 Use \` for to match BoS. Fit within 80n columns.
2875
2876 2014-02-17 Daniel Colascione <dancol@dancol.org>
2877
2878 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
2879 dbus-call-method check for completion using a busy-wait loop with
2880 gradual backoff.
2881
2882 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
2883
2884 Sync with Tramp 2.2.9.
2885
2886 * net/trampver.el: Update release number.
2887
2888 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
2889
2890 * ido.el (ido-file-internal): Don't add the name of an existing
2891 directory twice. (Bug#16747)
2892
2893 2014-02-16 Glenn Morris <rgm@gnu.org>
2894
2895 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
2896 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
2897
2898 2014-02-15 Michael R. Mauger <michael@mauger.com>
2899
2900 * progmodes/sql.el: Version 3.4
2901 (sql-oracle-options): New default value ("-L").
2902 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
2903 (sql-placeholders-filter): Correct placeholder pattern.
2904 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
2905 (sql-login-delay): New variable.
2906 (sql-product-interactive): Use it.
2907
2908 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
2909
2910 * frameset.el (frameset--jump-to-register): Check that buffer is live
2911 (bug#16749).
2912
2913 2014-02-15 Glenn Morris <rgm@gnu.org>
2914
2915 * info.el (info-initialize): Revert 2014-01-10 change.
2916
2917 2014-02-14 Glenn Morris <rgm@gnu.org>
2918
2919 * replace.el (map-query-replace-regexp)
2920 (read-regexp-defaults-function, read-regexp): Doc fixes.
2921
2922 * dired.el (dired-read-regexp):
2923 * faces.el (list-faces-display):
2924 * misearch.el (multi-isearch-read-matching-buffers)
2925 (multi-isearch-read-matching-files):
2926 * play/cookie1.el (cookie-apropos):
2927 * progmodes/grep.el (grep-read-regexp): Doc fixes.
2928
2929 * textmodes/remember.el (remember): Use frameset-to-register
2930 rather than frame-configuration-to-register.
2931
2932 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
2933
2934 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
2935 incorrect keybinding.
2936
2937 2014-02-13 Daniel Colascione <dancol@dancol.org>
2938
2939 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
2940 when adding overlays so that line numbers from compiler match line
2941 numbers we use.
2942
2943 2014-02-13 Glenn Morris <rgm@gnu.org>
2944
2945 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
2946
2947 * jit-lock.el (jit-lock-mode): Doc fix.
2948
2949 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
2950
2951 * apropos.el (apropos-read-pattern): When the user passes an empty
2952 string, give a more helpful error message than "Wrong type
2953 argument: stringp, nil".
2954
2955 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
2956
2957 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
2958
2959 2014-02-13 Glenn Morris <rgm@gnu.org>
2960
2961 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
2962
2963 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
2964
2965 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
2966 shift-select commands.
2967
2968 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
2969
2970 * progmodes/js.el (js-indent-line): Don't widen.
2971 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
2972
2973 2014-02-12 Glenn Morris <rgm@gnu.org>
2974
2975 * icomplete.el (icomplete): Add info-link to defgroup.
2976 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
2977 (icomplete-minibuffer-map, icomplete-mode)
2978 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
2979
2980 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
2981 (package-menu-filter): Rename from package-menu-filter-interactive.
2982 Doc fix.
2983
2984 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
2985
2986 * frameset.el (frameset--jump-to-register): Select the required
2987 window and buffer before restoring position (bug#16696).
2988
2989 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
2990
2991 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
2992
2993 2014-02-10 Glenn Morris <rgm@gnu.org>
2994
2995 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
2996
2997 2014-02-10 Eli Zaretskii <eliz@gnu.org>
2998
2999 * w32-common-fns.el (x-get-selection): Doc fix.
3000 * select.el (x-get-selection): Doc fix. (Bug#15109)
3001
3002 * face-remap.el (face-remap-add-relative)
3003 (face-remap-remove-relative, face-remap-reset-base)
3004 (face-remap-set-base): Call force-mode-line-update to redisplay
3005 the current buffer due to potential change in faces. (Bug#16709)
3006
3007 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3008
3009 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3010 script more robustly.
3011
3012 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3013
3014 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3015
3016 * simple.el (choose-completion): Doc fix (bug#14160).
3017
3018 * subr.el (event-start): Say what a nil EVENT value means.
3019
3020 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3021 (bug#14197).
3022
3023 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3024
3025 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3026
3027 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3028
3029 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3030 predicate function (bug#15455).
3031
3032 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3033
3034 * ielm.el (inferior-emacs-lisp-mode): Instead of
3035 `comment-use-global-state', set `comment-use-syntax'.
3036
3037 2014-02-10 Glenn Morris <rgm@gnu.org>
3038
3039 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3040
3041 2014-02-09 Alan Mackenzie <acm@muc.de>
3042
3043 Fix c-invalidate-state-cache on narrowed buffers.
3044 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3045 Widen when setting and clearing the CPP delimiter properties.
3046
3047 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
3048
3049 * help.el (describe-bindings): Doc fix (bug#9888).
3050
3051 * files.el (save-buffer): Use ARG as the parameter name for
3052 consistency (bug#10346).
3053 (save-buffer): Clarify the 0 argument (bug#10346).
3054
3055 * cus-edit.el (customize-apropos): Fix error string.
3056 (custom-buffer-create): Doc fix (bug#11122).
3057 (custom-sort-items): Doc fix (bug#11121).
3058
3059 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
3060
3061 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
3062 (icomplete-simple-completing-p): Mention the previous variable.
3063
3064 * font-lock.el (font-lock-value-in-major-mode): Clarify the
3065 meaning of the parameter (bug#12282).
3066
3067 * files.el (find-file-noselect): Clarify prompt when changing
3068 readedness (bug#13261).
3069 (locate-file): Suffixes aren't returned, so don't say that they
3070 are (bug#12674).
3071 (backup-inhibited): Doc clarification (bug#12525).
3072
3073 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
3074 before we actually start to delete things (bug#16331).
3075
3076 * subr.el (event-start): Doc fix (bug#14228).
3077 (event-end): Ditto.
3078
3079 2014-02-09 Glenn Morris <rgm@gnu.org>
3080
3081 * emacs-lisp/warnings.el (lwarn):
3082 Empower help-enable-auto-load. (Bug#15940)
3083
3084 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
3085
3086 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
3087 (Bug#16690)
3088
3089 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
3090
3091 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3092 Insert output at end of buffer. (Bug#16120)
3093
3094 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3095
3096 * simple.el (choose-completion-string-functions): Document new
3097 calling convention (bug#14153).
3098 (execute-extended-command): Clarify doc string (bug#13373).
3099
3100 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
3101
3102 * find-dired.el (find-name-dired): Doc fix (bug#14290).
3103 (find-grep-dired): Doc fix (bug#14288).
3104
3105 2014-02-08 Juri Linkov <juri@jurta.org>
3106
3107 * isearch.el (isearch-quote-char): Check character validity
3108 like in `quoted-insert' (bug#16677).
3109
3110 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3111
3112 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
3113
3114 * isearch.el (isearch-hide-immediately): Doc clarification
3115 (bug#14723).
3116
3117 * simple.el (line-move): Document utility function used many
3118 places in the Emacs sources (bug#14843).
3119
3120 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
3121 (dired-prev-marked-file): Doc fix (bug#14855).
3122 (dired-up-directory): Doc fix (bug#14848).
3123
3124 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
3125
3126 * files.el (file-relative-name): Doc fix (bug#15159).
3127
3128 * fringe.el (fringe-styles): Doc fix (bug#15239).
3129
3130 * isearch.el (isearch-filter-predicate): Documentation typo fix
3131 (bug#15474).
3132
3133 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
3134
3135 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
3136
3137 * replace.el (replace-match-maybe-edit): Doc clarification
3138 (bug#15632).
3139
3140 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
3141
3142 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
3143
3144 2014-02-08 Glenn Morris <rgm@gnu.org>
3145
3146 * help-fns.el (describe-variable):
3147 Check {file,dir}-local-variables-alist, and buffer-file-name,
3148 in the correct buffer.
3149
3150 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
3151
3152 * help-fns.el (describe-variable): Fix the case where
3153 a value is directory-local with no dir-locals file. (Bug#16635)
3154
3155 2014-02-08 Glenn Morris <rgm@gnu.org>
3156
3157 * abbrev.el (edit-abbrevs-mode):
3158 Derive from fundamental-mode. (Bug#16682)
3159
3160 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
3161
3162 * simple.el (quoted-insert): Check character validity (bug#16677).
3163
3164 2014-02-07 Juri Linkov <juri@jurta.org>
3165
3166 * desktop.el (desktop-read): Claim the lock when the owner is not
3167 the current process. (Bug#16157)
3168
3169 2014-02-07 Juri Linkov <juri@jurta.org>
3170
3171 * desktop.el (desktop-buffers-not-to-save): Change default from nil
3172 to "\\` ". (Bug#16651)
3173
3174 2014-02-07 Juri Linkov <juri@jurta.org>
3175
3176 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
3177 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
3178 (desktop-auto-save-cancel-timer): New function with some code from
3179 `desktop-auto-save-set-timer'.
3180 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
3181 Instead of setting `desktop-save-mode' to nil, call
3182 `desktop-save-mode' with arg 0. (Bug#16630)
3183
3184 2014-02-07 Glenn Morris <rgm@gnu.org>
3185
3186 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
3187 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
3188 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
3189
3190 * obsolete/iswitchb.el: Move to obsolete/.
3191 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
3192 since obsolete/ is not scanned for autoloads.
3193 * emacs-lisp/authors.el (authors-valid-file-names):
3194 Add iswitchb.el.
3195
3196 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
3197 Disable now non-functional find-file-hook.
3198
3199 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
3200
3201 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
3202 instead of ";" in order to avoid additional prompts. Let heredoc
3203 scripts read from tty. (Bug#16582)
3204 (tramp-send-command): No special handling of heredocs, it isn't
3205 necessary anymore.
3206
3207 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
3208
3209 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
3210 with a space (bug#16664). Limit the symbols considered to the ones
3211 that are bound or fbound (bug#16646).
3212
3213 2014-02-06 Glenn Morris <rgm@gnu.org>
3214
3215 * epa.el (epa-mail-aliases): Doc fix.
3216
3217 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
3218
3219 * emacs-lisp/lisp.el (lisp-completion-at-point):
3220 Use `completion-table-merge' instead of `completion-table-in-turn'
3221 (bug#16604).
3222
3223 * minibuffer.el (completion-table-merge): New function.
3224
3225 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
3226
3227 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
3228 (tramp-sh-handle-set-file-acl)
3229 (tramp-sh-handle-start-file-process)
3230 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
3231 (tramp-find-executable, tramp-send-command): Use it.
3232
3233 2014-02-05 Glenn Morris <rgm@gnu.org>
3234
3235 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
3236
3237 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
3238
3239 * progmodes/python.el (python-shell-send-string)
3240 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
3241
3242 2014-02-04 Anders Lindgren <andlind@gmail.com>
3243
3244 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
3245 the names (bug#16620).
3246
3247 2014-02-03 Martin Rudalics <rudalics@gmx.at>
3248
3249 * faces.el (window-divider): New default value. Rewrite doc-string.
3250 (window-divider-first-pixel, window-divider-last-pixel): New faces.
3251
3252 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
3253
3254 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
3255 `protected' and `public' can also be called without arguments.
3256
3257 2014-02-03 Glenn Morris <rgm@gnu.org>
3258
3259 * register.el (window-configuration-to-register)
3260 (frame-configuration-to-register): Unadvertise unused argument.
3261 * frameset.el (frameset-to-register): Remove unused argument.
3262
3263 * frameset.el (frameset-to-register):
3264 * kmacro.el (kmacro-to-register):
3265 * register.el (increment-register):
3266 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
3267 (calc-append-to-register, calc-prepend-to-register):
3268 * play/gametree.el (gametree-layout-to-register)
3269 (gametree-apply-register-layout):
3270 * textmodes/picture.el (picture-clear-rectangle-to-register)
3271 (picture-yank-rectangle-from-register):
3272 * vc/emerge.el (emerge-combine-versions-register):
3273 Use register-read-with-preview to read registers.
3274
3275 2014-02-03 João Távora <joaotavora@gmail.com>
3276
3277 * elec-pair.el (electric-pair-backward-delete-char): Don't error
3278 when at beginning of (possibly narrowed) buffer.
3279
3280 2014-02-02 Daniel Colascione <dancol@dancol.org>
3281
3282 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
3283 Also try to display local help from just before point.
3284
3285 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
3286
3287 c-parse-state. Don't "append-lower-brace-pair" in certain
3288 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
3289 recognised as a comment.
3290
3291 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
3292 as well as normal comment starter.
3293 (c-parse-state-get-strategy): Extra return possibility
3294 'back-and-forward.
3295 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
3296 return value list to indicate replacement of a brace-pair cons
3297 with its car.
3298 (c-parse-state-1): With 'back-and-forward, only call
3299 c-append-lower-brace-pair-to state-cache when cons-separated.
3300
3301 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
3302
3303 * term/ns-win.el (ns-suspend-error): New function.
3304 (ns-initialize-window-system): Add ns-suspend-error to
3305 suspend-hook (Bug#16612).
3306
3307 2014-02-02 Daniel Colascione <dancol@dancol.org>
3308
3309 * progmodes/cc-defs.el (c-find-assignment-for-mode):
3310 Make loading cc-mode silent.
3311
3312 2014-02-02 Daniel Colascione <dancol@dancol.org>
3313
3314 * comint.el (comint-prompt-read-only): Change doc to suggest
3315 remap keybinding.
3316
3317 2014-02-02 Glenn Morris <rgm@gnu.org>
3318
3319 * register.el (register-read-with-preview, point-to-register)
3320 (window-configuration-to-register, frame-configuration-to-register)
3321 (jump-to-register, number-to-register, view-register, insert-register)
3322 (copy-to-register, append-to-register, prepend-to-register)
3323 (copy-rectangle-to-register): Doc fixes.
3324
3325 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
3326
3327 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
3328 * emacs-lisp/find-func.el (find-function-C-source): Idem.
3329 * emacs-lisp/nadvice.el (advice--cd*r): New function.
3330 * help-fns.el (describe-function-1): Use it.
3331
3332 2014-02-02 Glenn Morris <rgm@gnu.org>
3333
3334 * register.el (register-preview-default): New function,
3335 split from register-preview.
3336 (register-preview-function): Rename from register-preview-functions,
3337 make it not a hook.
3338 (register-preview): Use register-preview-function.
3339 (register-read-with-preview): Error on non-character event. (Bug#16595)
3340
3341 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
3342
3343 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
3344 `:' before binary operators (bug#16609). Don't check for `:'
3345 before `[' and `(', or their syntax status. A percent literal
3346 can't end with either.
3347 (ruby-font-lock-keywords): For built-ins that require arguments,
3348 check that they're followed by something that looks like argument
3349 (bug#16610).
3350
3351 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
3352
3353 * subr.el (butlast): Document what an omitted N means (bug#13437).
3354 (nbutlast): Ditto.
3355
3356 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
3357
3358 * net/shr.el (shr-generic): Make into a defsubst to make the stack
3359 depth shallower (bug#16587).
3360 (shr-tag-svg): Respect `shr-inhibit-images'.
3361 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
3362
3363 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
3364
3365 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
3366 (ruby-smie-grammar): Make "." right-associative. Make its priority
3367 lower than the ternary and all binary operators.
3368 (ruby-smie-rules): Indent "(" relative to the first non-"."
3369 parent, or the first "." parent at indentation.
3370 Use `ruby-align-chained-calls' for indentation of "." tokens.
3371 (Bug#16593)
3372
3373 2014-01-31 Juri Linkov <juri@jurta.org>
3374
3375 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
3376 from `make-hash-table'.
3377
3378 * textmodes/ispell.el (ispell-init-process): Change message format
3379 to be consistent with other messages.
3380
3381 2014-01-31 Glenn Morris <rgm@gnu.org>
3382
3383 * delsel.el (delete-selection-mode): Doc fix.
3384
3385 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
3386 (trace-function-background): Doc fixes.
3387
3388 * ido.el (ido-use-virtual-buffers): Doc fix.
3389 Reset :version, since the default value has not changed.
3390
3391 * register.el (register-preview-delay, register-read-with-preview):
3392 Doc fixes.
3393
3394 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
3395 do not mess with mail-buffer position (fixes 2009-11-03 change).
3396 * progmodes/cc-mode.el (c-submit-bug-report):
3397 Check auto-fill-mode is bound. (Bug#16592)
3398
3399 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
3400
3401 * startup.el (fancy-splash-image-file): New function,
3402 split from fancy-splash-head.
3403 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
3404 so that we are both using the same image. (Bug#16574)
3405
3406 2014-01-30 Glenn Morris <rgm@gnu.org>
3407
3408 * simple.el (eval-expression): Doc fix.
3409
3410 * hexl.el (hexl-mode-hook):
3411 * ielm.el (ielm-mode-hook):
3412 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
3413 (lisp-interaction-mode-hook):
3414 * progmodes/cfengine.el (cfengine3-documentation-function):
3415 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
3416
3417 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
3418
3419 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
3420 is a symbol (bug#16584).
3421
3422 2014-01-30 Glenn Morris <rgm@gnu.org>
3423
3424 * help.el (help-for-help-internal): Add "P" to text.
3425
3426 2014-01-29 Glenn Morris <rgm@gnu.org>
3427
3428 * simple.el (just-one-space, cycle-spacing): Doc fixes.
3429
3430 2014-01-28 Martin Rudalics <rudalics@gmx.at>
3431
3432 * window.el (fit-frame-to-buffer): Fix calculations for margins and
3433 height constraints.
3434
3435 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
3436
3437 * progmodes/hideif.el: Extend to full CPP expression syntax.
3438 (hif-token-alist): Add missing tokens.
3439 (hif-token-regexp): Add support for float/octal/hex immediates.
3440 (hif-string-literal-regexp): New const.
3441 (hif-tokenize): Recognize strings and float/octal/hex immediates.
3442 (hif-exprlist): New function.
3443 (hif-parse-if-exp): Use it.
3444 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
3445 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
3446 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
3447 (hif-logxor, hif-comma): New functions.
3448
3449 2014-01-28 Glenn Morris <rgm@gnu.org>
3450
3451 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
3452
3453 * indent.el (tab-stop-list): Doc fix. Add :version.
3454
3455 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
3456 (cvs-append-to-ignore): Add compatibility alias.
3457
3458 2014-01-27 Glenn Morris <rgm@gnu.org>
3459
3460 * dired.el (dired-hide-details-mode): Don't autoload it,
3461 since it cannot be used outside Dired buffers anyway.
3462
3463 * emulation/cua-base.el (cua-mode): Doc fix.
3464
3465 * dired.el (dired-hide-details-hide-symlink-targets)
3466 (dired-hide-details-hide-information-lines)
3467 (dired-hide-details-mode): Doc fixes.
3468
3469 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
3470 * strokes.el (strokes-file): Doc fix. Bump :version.
3471 (strokes-help): Doc fix.
3472 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
3473 * emulation/viper.el (viper): Doc fix for custom group.
3474 (top-level): Remove oh-so-no-longer-relevant text about vip.
3475 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
3476
3477 * ido.el (ido-save-directory-list-file):
3478 * saveplace.el (save-place-file):
3479 * calendar/timeclock.el (timeclock-file):
3480 * net/quickurl.el (quickurl-url-file):
3481 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
3482 * progmodes/idlwave.el (idlwave-config-directory):
3483 * textmodes/remember.el (remember-data-file):
3484 Bump :version.
3485
3486 2014-01-26 Glenn Morris <rgm@gnu.org>
3487
3488 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
3489 Doc fix. Make obsolete.
3490 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
3491
3492 * sort.el (delete-duplicate-lines): Doc fix.
3493
3494 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3495
3496 * progmodes/ada-mode.el (ada):
3497 * woman.el (woman): Link to info manual and Commentary section.
3498
3499 * progmodes/flymake.el (flymake):
3500 * nxml/nxml-mode.el (nxml):
3501 * net/eww.el (eww):
3502 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
3503 * htmlfontify.el (htmlfontify):
3504 * ses.el (ses):
3505 * epa.el (epa):
3506 * ido.el (ido): Link to info manual.
3507
3508 2014-01-25 Leo Liu <sdl.web@gmail.com>
3509
3510 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
3511
3512 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
3513
3514 * net/shr.el (shr-tag-img): Prefer the title over the alt text
3515 (bug#16537).
3516
3517 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
3518
3519 * net/eww.el (eww-download-callback):
3520 Fix reference to eww-download-directory.
3521
3522 * emacs-lisp/bytecomp.el (byte-compile-file):
3523 Remove unused local variable `file-name'.
3524
3525 2014-01-24 Glenn Morris <rgm@gnu.org>
3526
3527 * woman.el (woman-default-faces, woman-monochrome-faces):
3528 Fix obsolescence specification.
3529
3530 * subr.el (with-demoted-errors): Doc fix.
3531
3532 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
3533
3534 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
3535 (cl--macroexp-fboundp): New function.
3536 (cl--make-type-test): Use it.
3537
3538 2014-01-23 Glenn Morris <rgm@gnu.org>
3539
3540 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
3541 * simple.el (eval-expression): Doc fixes.
3542
3543 2014-01-22 Glenn Morris <rgm@gnu.org>
3544
3545 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
3546
3547 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3548
3549 * emacs-lisp/package.el: Write files silently.
3550 (package-autoload-ensure-default-file, package--write-file-no-coding)
3551 (package-generate-description-file, package--download-one-archive)
3552 (package-install-from-archive): Tell `write-region' to stay quiet.
3553 (package-menu-mode, package-menu--print-info): Omit the Archive column
3554 if there's only one archive.
3555 (package-all-keywords, package--has-keyword-p): Remove dead code.
3556
3557 2014-01-22 Glenn Morris <rgm@gnu.org>
3558
3559 * version.el (emacs-bzr-version-bzr): Fix typo.
3560
3561 * version.el (emacs-repository-get-version):
3562 Check either .bzr or .git, but not both.
3563 Make the git case actually use the DIR argument, and return nil
3564 rather than the empty string.
3565 Avoid error if .git exists but the git executable is not found.
3566
3567 2014-01-22 Martin Rudalics <rudalics@gmx.at>
3568
3569 Fixes in window size functions around Bug#16430 and Bug#16470.
3570 * window.el (window-total-size, window-size): New argument ROUND.
3571 (window--min-delta-1, window-min-delta, window--max-delta-1):
3572 Be more conservative when calculating the numbers of lines or
3573 columns a window can shrink (Bug#16430).
3574 (fit-window-to-buffer): Simplify code.
3575 * term.el (term-window-width): Call window-body-width again.
3576
3577 2014-01-22 Glenn Morris <rgm@gnu.org>
3578
3579 * image.el (image-format-suffixes): Doc fix.
3580
3581 * international/quail.el (quail-define-package): Doc fix.
3582
3583 * emacs-lisp/authors.el (authors-valid-file-names)
3584 (authors-renamed-files-alist): Additions.
3585
3586 * vc/vc-git.el (vc-git-print-log): Remove --follow;
3587 reverts 2014-01-09 change. (Bug#16422)
3588
3589 * calc/calc-embed.el (thing-at-point-looking-at):
3590 * emacs-lisp/map-ynp.el (x-popup-dialog):
3591 * obsolete/lmenu.el (x-popup-dialog):
3592 * emacs-lisp/package.el (url-recreate-url):
3593 * mail/mailclient.el (clipboard-kill-ring-save):
3594 * subr.el (x-popup-dialog): Update declaration.
3595 * mail/rmail.el (rmail-mime-message-p):
3596 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
3597
3598 2014-01-21 Daniel Colascione <dancol@dancol.org>
3599
3600 * progmodes/sh-script.el (sh--inside-noncommand-expression):
3601 Correctly detect when we're inside an arithmetic expansion form
3602 containing nested parenthesis.
3603 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
3604 to detect cases where we shouldn't expand "<<" to a heredoc
3605 skeleton.
3606
3607 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
3608
3609 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
3610 (eldoc--message-command-p): New function.
3611 (eldoc-display-message-p): Use it.
3612 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
3613 message is not automatically erased for us.
3614 (eldoc-print-current-symbol-info): Erase previous message, if any.
3615
3616 2014-01-21 Tassilo Horn <tsdh@gnu.org>
3617
3618 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
3619 specify it's an interactive function.
3620
3621 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
3622 Fix regex used for scanning for citation keys which failed for
3623 citations with optional arguments.
3624
3625 2014-01-21 Leo Liu <sdl.web@gmail.com>
3626
3627 * simple.el (read--expression): Don't enable eldoc-mode.
3628
3629 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
3630
3631 * simple.el (move-beginning-of-line): Make sure we don't move forward
3632 (bug#16497).
3633
3634 2014-01-20 Juri Linkov <juri@jurta.org>
3635
3636 * saveplace.el (toggle-save-place, save-place-to-alist)
3637 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
3638 'dired-mode) before checking for dired-directory. (Bug#16477)
3639
3640 2014-01-20 Juri Linkov <juri@jurta.org>
3641
3642 * indent.el (indent-line-to): Use backward-to-indentation
3643 instead of back-to-indentation. (Bug#16461)
3644
3645 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
3646
3647 Revert some of the CANNOT_DUMP fix (Bug#16494).
3648 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
3649 but fixing this can wait until after the next release.
3650 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
3651
3652 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
3653
3654 * eshell/esh-mode.el (eshell-password-prompt-regexp):
3655 Use `password-word-equivalents'.
3656 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
3657 to t. (Bug#5664, Bug#13124)
3658
3659 2014-01-19 Alan Mackenzie <acm@muc.de>
3660
3661 Bind open-paren-in-column-0-is-defun-start to nil at some entry
3662 points.
3663 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
3664 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
3665 * progmodes/cc-mode.el (c-before-change, c-after-change)
3666 (c-font-lock-fontify-region): Bind it here.
3667
3668 2014-01-19 Martin Rudalics <rudalics@gmx.at>
3669
3670 * term.el (term-window-width): Call window-text-width instead of
3671 window-width (Bug#16470).
3672
3673 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
3674
3675 * simple.el (password-word-equivalents): Remove duplicates.
3676 Sort, to make this easier next time.
3677 Downcase. Omit ": " after "jelszó".
3678
3679 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
3680
3681 * term/common-win.el (saved-region-selection): Defvar it.
3682 (x-select-text): Set saved-region-selection (Bug#16382).
3683
3684 2014-01-18 Glenn Morris <rgm@gnu.org>
3685
3686 * emacs-lisp/authors.el (authors-aliases)
3687 (authors-renamed-files-alist): Add some entries.
3688
3689 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
3690
3691 * net/tramp.el (tramp-password-prompt-regexp):
3692 Use `password-word-equivalents' if available.
3693 (tramp-action-password, tramp-process-one-action)
3694 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
3695
3696 2014-01-17 Chong Yidong <cyd@gnu.org>
3697
3698 * simple.el (password-word-equivalents): New defcustom.
3699 * comint.el (comint-password-prompt-regexp): Use it. Bump version
3700 to 24.4.
3701 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
3702 to t. (Bug#13124)
3703
3704 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
3705
3706 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
3707 (ruby-align-to-stmt-keywords): Change the default value.
3708 Use `ruby-alignable-keywords' to generate the possible customization
3709 choices.
3710 (ruby-smie-rules): Instead of using a hardcoded list of alignable
3711 keywords, check against the value of `ruby-alignable-keywords'
3712 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
3713
3714 2014-01-17 Glenn Morris <rgm@gnu.org>
3715
3716 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
3717
3718 Make M-x authors return zero *Authors Errors* from current logs.
3719 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
3720 (authors-ignored-files): Add some entries, remove others.
3721 (authors-ambiguous-files, authors-valid-file-names):
3722 Add some entries.
3723 (authors-renamed-files-alist): Add, remove, and adjust entries.
3724 (authors-renamed-files-regexps): Add some entries.
3725 Remove some very broad ones. Make some entries `lax'.
3726 (authors-lax-changelogs): New constant.
3727 (authors-disambiguate-file-name): Treat top-level specially.
3728 (authors-lax-changelog-p): New function.
3729 (authors-canonical-file-name): Check file as written against
3730 authors-valid-file-names. Do not special-case etc/.
3731 Handle `lax' logs and authors-renamed-files-regexps elements.
3732
3733 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
3734
3735 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
3736 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
3737 callers.
3738
3739 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
3740
3741 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
3742 Assume we're already in the proper buffer.
3743 Inspired by Anders Lindgren <andlind@gmail.com>.
3744 (follow-post-command-hook): Call it from the right buffer.
3745 (follow-comint-scroll-to-bottom): Adjust call.
3746 (follow-all-followers): Use get-buffer-window-list.
3747
3748 2014-01-15 Daniel Colascione <dancol@dancol.org>
3749
3750 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
3751 `buffer-file-name' in interactive-form so that we don't leave
3752 pathless file names in `file-name-history'.
3753
3754 2014-01-15 Juri Linkov <juri@jurta.org>
3755
3756 * indent.el (indent-rigidly): Set deactivate-mark to nil
3757 in transient indentation mode. (Bug#16438)
3758
3759 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
3760
3761 * emacs-lisp/package.el (package-desc-keywords): New function
3762 (Bug#16222).
3763 (describe-package-1, package-all-keywords)
3764 (package--has-keyword-p): Use it.
3765
3766 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3767
3768 * simple.el (define-alternatives): When creating the
3769 COMMAND-alternatives variable, assign COMMAND as its definition
3770 name so that `describe-variable' can relocate it.
3771
3772 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
3773
3774 * font-lock.el (font-lock-keywords): Fix typo in docstring
3775 (bug#16307).
3776
3777 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3778
3779 * textmodes/ispell.el (ispell-region): Reset `in-comment' for new
3780 line instead of wrongly reset `add-coment' (bug#13577).
3781
3782 2014-01-14 Daiki Ueno <ueno@gnu.org>
3783
3784 * epa-file.el (epa-file-write-region): Encode the region according
3785 to `buffer-file-format'. Problem reported at:
3786 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
3787
3788 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
3789
3790 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
3791 so it applies in the right buffer (bug#16410).
3792
3793 2014-01-13 Daniel Colascione <dancol@dancol.org>
3794
3795 * textmodes/rst.el (rst-define-key): Provide deprecated
3796 keybindings through named functions instead of anonymous ones so
3797 that "??" doesn't appear in describe-mode output.
3798
3799 2014-01-13 Bastien Guerry <bzg@gnu.org>
3800
3801 * simple.el (define-alternatives): Call the selected command
3802 interactively. When setting `COMMAND--implementation' for the
3803 first time, tell the user how to chose another implementation.
3804 Enhance the docstring.
3805
3806 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3807
3808 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
3809 (log-edit--match-first-line): New function.
3810 (log-edit-font-lock-keywords): Use it.
3811 (log-edit-mode): Make jit-lock-defer-multiline work.
3812
3813 2014-01-13 Bastien Guerry <bzg@gnu.org>
3814
3815 * rect.el (rectangle-mark-mode): When the region is not active,
3816 display a message saying that the mark as been set and that
3817 rectangle mode is in use.
3818 (rectangle--highlight-for-redisplay): Only put an overlay with a
3819 visible vertical bar when (display-graphic-p) is non-nil.
3820 This partially fixes Bug#16403.
3821
3822 2014-01-13 Juri Linkov <juri@jurta.org>
3823
3824 * info.el (Info-find-file): Go to DIR before displaying the error
3825 about a nonexistent file if no previous Info file is visited.
3826 Use `user-error' instead of `error' for "Info file %s does not exist".
3827 (Info-find-node-2): In case of a nonexistent node in unwind forms
3828 go to the Top node if there is no previous node to revert to.
3829 (Bug#16405)
3830
3831 2014-01-13 Martin Rudalics <rudalics@gmx.at>
3832
3833 fit-frame/window-to-buffer code fixes including one for Bug#14096.
3834 * window.el (fit-frame-to-buffer): Fix doc-string.
3835 Respect window-min-height/-width. Fit pixelwise when
3836 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
3837 when avoiding that frame goes partially off-screen.
3838 (fit-window-to-buffer): Respect window-min-height/-width
3839 (Bug#14096).
3840
3841 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
3842
3843 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
3844 after an empty line.
3845
3846 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
3847
3848 * net/shr.el (shr-render-region): Autoload.
3849
3850 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
3851
3852 * net/eww.el (eww-download-directory): Rename from
3853 `eww-download-path' (Bug#16419).
3854
3855 2014-01-12 Leo Liu <sdl.web@gmail.com>
3856
3857 * dired-x.el (dired-mode-map): Fix last change.
3858
3859 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
3860
3861 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
3862
3863 Spelling fixes.
3864 * emacs-lisp/generic.el (generic--normalize-comments):
3865 Rename from generic--normalise-comments. All uses changed.
3866 * play/bubbles.el (bubbles--neighborhood-score)
3867 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
3868 (bubbles--neighborhood-available)
3869 (bubbles--update-neighborhood-score):
3870 Rename from names with 'neighbourhood'. All uses changed.
3871
3872 2014-01-12 Leo Liu <sdl.web@gmail.com>
3873
3874 Re-implement the feature of showing eldoc info after editing.
3875 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
3876 (eldoc-edit-message-commands): New function.
3877 (eldoc-print-after-edit): New variable.
3878 (eldoc-pre-command-refresh-echo-area): Emit message only by
3879 eldoc-message-commands.
3880 (eldoc-mode): Restrict eldoc-message-commands to editing commands
3881 if eldoc-print-after-edit is set. (Bug#16346)
3882 * simple.el (read--expression): Enable eldoc-mode.
3883 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
3884
3885 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
3886 Eric S. Raymond <esr@thyrsus.com>
3887
3888 * version.el (emacs-repository-get-version): Enhance so the
3889 function works correctly in either a Bazaar or Git repo.
3890
3891 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
3892
3893 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
3894 Goes with removal of the joke manpages from /etc.
3895
3896 2014-01-10 Kenichi Handa <handa@gnu.org>
3897
3898 * mail/rmail.el (rmail-get-coding-system):
3899 Check rmail-get-coding-function before "funcall"ing it.
3900
3901 2014-01-10 Glenn Morris <rgm@gnu.org>
3902
3903 * emacs-lisp/authors.el (authors-fixed-entries):
3904 Update for files that no longer exist.
3905
3906 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
3907
3908 * version.el (emacs-bzr-get-version): Restore compatibilty with
3909 24.3 (Tested).
3910
3911 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
3912
3913 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
3914 and Podfile.
3915
3916 2014-01-10 Eli Zaretskii <eliz@gnu.org>
3917
3918 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
3919
3920 2014-01-10 Chong Yidong <cyd@gnu.org>
3921
3922 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
3923
3924 2014-01-10 Anders Lindgren <andlind@gmail.com>
3925
3926 * follow.el (follow-cache-command-list): Include right-char and
3927 left-char.
3928
3929 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
3930
3931 Spelling fixes.
3932 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
3933 * woman.el (woman-mark-horizontal-position):
3934 Rename from woman-mark-horizonal-position. Use changed.
3935
3936 2014-01-10 Glenn Morris <rgm@gnu.org>
3937
3938 * info.el (info-initialize): If running uninstalled, ensure our
3939 own info files are always found first, even if INFOPATH is set.
3940
3941 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
3942
3943 2014-01-09 David Engster <deng@randomsample.de>
3944
3945 * emacs-lisp/eieio-custom.el:
3946 * emacs-lisp/eieio-opt.el: Set generated autoload file to
3947 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
3948 * emacs-lisp/eieio.el: Regenerate autoloads.
3949
3950 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
3951
3952 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
3953 following renames. (Bug#8756)
3954
3955 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
3956
3957 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
3958 (bug#16382).
3959 (activate-mark): Add `no-tmm' argument.
3960 (set-mark, push-mark-command): Use it instead of running
3961 activate-mark-hook by hand.
3962
3963 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
3964
3965 In preparation for the move to git, sanitize out some
3966 Bazaar-specific names.
3967
3968 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
3969
3970 * version.el (emacs-bzr-version): Name changed to
3971 emacs-repository-version. Obsolete-variable alias made.
3972 * loadup.el: Follow through on this name change.
3973 * mail/emacsbug.el (report-emacs-bug): Factor out any
3974 assumption about the version control system in use.
3975
3976 2014-01-08 David Engster <deng@randomsample.de>
3977
3978 * help-fns.el (help-fns-describe-function-functions):
3979 New variable to call functions for augmenting help buffers.
3980 (describe-function-1): Remove explicit calls to
3981 `help-fns--compiler-macro', `help-fns--parent-mode' and
3982 `help-fns--obsolete'. Put them in above new variable instead, and
3983 call them through `run-hook-with-args'.
3984 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
3985 `eieio-describe-class'. Not meant for interactive use anymore,
3986 but to augment existing help buffers. Remove optional second
3987 argument. Create proper button for file location.
3988 Rewrite function to use `insert' instead of `princ' and `prin1' where
3989 possible.
3990 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
3991 (eieio-method-def, eieio-class-def): Move further up.
3992 (describe-method, describe-generic, eieio-describe-method):
3993 Remove aliases.
3994 (eieio-help-constructor, eieio-help-generic): Rename from
3995 `eieio-describe-constructor' and `eieio-describe-generic', resp.
3996 Rewrite to use `insert' in the current buffer and use proper help
3997 buttons.
3998 (eieio-help-find-method-definition)
3999 (eieio-help-find-class-definition): Also accept symbols as
4000 arguments.
4001 (eieio-help-mode-augmentation-maybee): Remove.
4002 (eieio-describe-class-sb): Use `describe-function'.
4003 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4004 Add `eieio-help-generic' and `eieio-help-constructor'.
4005
4006 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4007
4008 Spelling fixes.
4009 * language/china-util.el (hz-ascii-designation):
4010 Rename from hz-ascii-designnation.
4011 (hz-ascii-designation): Rename from hz-ascii-designnation.
4012 All uses changed.
4013
4014 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4015
4016 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4017 package-alist.
4018
4019 2014-01-08 Bastien Guerry <bzg@gnu.org>
4020
4021 * emacs-lisp/package.el (package-delete):
4022 Correctly delete the package from package-alist.
4023
4024 2014-01-08 Daiki Ueno <ueno@gnu.org>
4025
4026 * emacs-lisp/package.el (url-recreate-url): Declare.
4027 (url-http-target-url): Declare.
4028 (package-handle-response): Include requested URL in the error message.
4029 (package--check-signature): Don't re-signal errors from
4030 package--with-work-buffer. Suggested by Stefan Monnier.
4031
4032 2014-01-07 Bastien Guerry <bzg@gnu.org>
4033
4034 * minibuffer.el (completion--try-word-completion): When both a
4035 hyphen and a space are possible candidates for the character
4036 following a word, display both candidates. (Bug#15980)
4037
4038 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4039
4040 * window.el (balance-windows-2): While rounding don't give a
4041 window more than the remainder. Bug#16351, bug#16383.
4042
4043 2014-01-07 Glenn Morris <rgm@gnu.org>
4044
4045 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4046 (menu-bar-help-menu): Use view-external-packages instead.
4047
4048 2014-01-07 Bastien Guerry <bzg@gnu.org>
4049
4050 * emacs-lisp/package.el (package-delete): Also delete the package
4051 name from `package-alist', not its description only.
4052
4053 2014-01-07 Glenn Morris <rgm@gnu.org>
4054
4055 * help.el (view-external-packages):
4056 * menu-bar.el (menu-bar-help-extra-packages):
4057 Visit efaq.info rather than etc/MORE.STUFF.
4058
4059 2014-01-07 Juri Linkov <juri@jurta.org>
4060
4061 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
4062 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
4063
4064 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
4065 that shadows RET. (Bug#16342)
4066
4067 2014-01-07 Chong Yidong <cyd@gnu.org>
4068
4069 * isearch.el (isearch-yank-char, isearch-yank-word)
4070 (isearch-yank-line): Doc fix.
4071
4072 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4073
4074 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
4075 * emacs-lisp/elint.el (elint-find-builtins):
4076 * emacs-lisp/eldoc.el (eldoc-symbol-function):
4077 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
4078 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
4079 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4080 * apropos.el (apropos-safe-documentation):
4081 * subr.el (symbol-file): Remove redundant fboundp.
4082 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
4083
4084 2014-01-06 Bastien Guerry <bzg@gnu.org>
4085
4086 * hl-line.el (global-hl-line-overlay): Make a local variable.
4087 (global-hl-line-overlays): New variable to store all overlays.
4088 (global-hl-line-mode): Don't delete overlays from the current
4089 buffer when `global-hl-line-sticky-flag' is non-nil.
4090 (global-hl-line-highlight): Add new overlays to
4091 `global-hl-line-overlays'.
4092 (global-hl-line-unhighlight-all): New function to delete all
4093 overlays when turning off `global-hl-line-mode'.
4094 This fixes Bug#16183.
4095
4096 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
4097
4098 * subr.el (set-transient-map): Fix nested case and docstring.
4099
4100 2014-01-06 Tassilo Horn <tsdh@gnu.org>
4101
4102 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
4103 `Texinfo' entry.
4104
4105 2014-01-06 Daniel Colascione <dancol@dancol.org>
4106
4107 Fix defun navigation in vc log view.
4108
4109 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
4110 like `beginning-of-defun'.
4111 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
4112 log-view-end-of-defun to log-view-end-of-defun-1. Replace
4113 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
4114 (log-view-extract-comment): Call `log-view-current-entry' directly
4115 instead of relying on broken `log-view-beginning-of-defun' behavior.
4116
4117 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
4118
4119 Spelling fixes.
4120 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
4121 * emacs-lisp/debug.el (cancel-debug-on-entry):
4122 * epg.el (epg-error-to-string):
4123 * files.el (recover-file):
4124 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
4125 * mail/emacsbug.el (report-emacs-bug-hook):
4126 * mail/sendmail.el (mail-recover):
4127 * ses.el (ses-yank-resize):
4128 * term/ns-win.el (ns-print-buffer):
4129 Spelling fixes in diagnostics, mostly for "canceled" with one L.
4130 * epg.el (epg-key-capability-alist): Rename from misspelled version.
4131 All uses changed.
4132 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
4133
4134 2014-01-06 Leo Liu <sdl.web@gmail.com>
4135
4136 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
4137 to avoid shadowing global key. (Bug#16354)
4138
4139 2014-01-06 Daniel Colascione <dancol@dancol.org>
4140
4141 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
4142 rst-mode.
4143
4144 2014-01-05 Martin Rudalics <rudalics@gmx.at>
4145
4146 * window.el (balance-windows): Add mising t to fix Bug#16351.
4147
4148 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
4149
4150 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
4151 (bug#16285).
4152 (shr-insert): If we have a word that's longer than `shr-width',
4153 break after it anyway. Otherwise we'll do no breaking once we get
4154 such a long word.
4155
4156 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4157
4158 * net/eww.el (eww): Support single/double quote for search.
4159 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
4160 (eww-history-quit): Delete and use quit-window.
4161 (eww-history-kill): Delete, because it doesn't work well and
4162 not necessary.
4163 (eww-history-mode-map): Delete some keys and add easy-menu.
4164
4165 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
4166
4167 Fix misspelling of 'chinese' in rx (Bug#16237).
4168 * emacs-lisp/rx.el (rx-categories): Correct spelling of
4169 chinese-two-byte.
4170
4171 Change subword regexps back to vars (Bug#16296).
4172 * progmodes/subword.el (subword-forward-regexp)
4173 (subword-backward-regexp): Change these back to variables.
4174
4175 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4176
4177 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
4178 syntax-begin-function (bug#16247).
4179
4180 2014-01-03 Chong Yidong <cyd@gnu.org>
4181
4182 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
4183 (advice--docstring): Delete variable.
4184 (advice--make-1): Leave the docstring empty.
4185 (advice-add): Use function-documentation for advised docstring.
4186
4187 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
4188 Ignore function-documentation property when getting documentation.
4189 (ad-activate-advised-definition): Use function-documentation
4190 generate the docstring.
4191 (ad-make-advised-definition): Don't call
4192 ad-make-advised-definition-docstring.
4193 (ad-make-advised-definition-docstring, ad-advised-definition-p):
4194 Delete functions.
4195
4196 * progmodes/sql.el (sql-help): Use function-documentation instead
4197 of dynamic-docstring-function property. No need to autoload now.
4198 (sql--help-docstring): New variable.
4199 (sql--make-help-docstring): Use it.
4200
4201 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
4202
4203 * ielm.el (ielm-tab): Retarget.
4204 (ielm-map): Use ielm-tab for tab.
4205 (ielm-complete-filename): Use comint-filename-completion.
4206 (ielm-complete-symbol): Remove.
4207 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
4208 remove ielm-tab from completion-at-point-functions (bug#16224).
4209
4210 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
4211 Beware signals raised by predicates (bug#16201).
4212
4213 2014-01-02 Richard Stallman <rms@gnu.org>
4214
4215 * dired-aux.el (dired-do-print): Handle printer-name.
4216
4217 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
4218 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
4219 (rmail-epa-decrypt): Turn off mime processing.
4220
4221 * mail/rmail.el (rmail-make-in-reply-to-field):
4222 Add parens in message-id.
4223
4224 * mail/rmail.el (rmail-get-coding-function): Variable.
4225 (rmail-get-coding-system): Use it.
4226
4227 2013-12-31 Eli Zaretskii <eliz@gnu.org>
4228
4229 * international/mule-conf.el: Unify the charset indian-is13194.
4230 (indian-is13194): Specify unify-map.
4231
4232 2013-12-31 Leo Liu <sdl.web@gmail.com>
4233
4234 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
4235
4236 2013-12-30 Daniel Colascione <dancol@dancol.org>
4237
4238 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
4239 of printing a useless when we resume from sleep.
4240
4241 * progmodes/sh-script.el
4242 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
4243 in indentation code. (Bug#16233)
4244
4245 2013-12-28 João Távora <joaotavora@gmail.com>
4246
4247 * elec-pair.el (electric-pair-post-self-insert-function):
4248 Don't open extra newlines at beginning of buffer. (Bug#16272)
4249
4250 2013-12-28 Eli Zaretskii <eliz@gnu.org>
4251
4252 * frame.el (window-system-for-display): Don't allow to create a
4253 GUI frame from a -nw session on MS-Windows. (Bug#14739)
4254
4255 2013-12-28 Glenn Morris <rgm@gnu.org>
4256
4257 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
4258 Update callers.
4259
4260 * apropos.el (apropos-match-face):
4261 * calculator.el (calculator-displayer):
4262 * dabbrev.el (dabbrev-search-these-buffers-only):
4263 * face-remap.el (buffer-face-mode-face):
4264 * simple.el (yank-handled-properties):
4265 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
4266 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
4267 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
4268 (hashcash-double-spend-database):
4269 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
4270 (ruby-deep-indent-paren-style):
4271 * textmodes/flyspell.el (flyspell-auto-correct-binding):
4272 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
4273 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
4274 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
4275 Specify custom types.
4276
4277 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
4278 * bookmark.el (bookmark-bmenu-use-header-line):
4279 * doc-view.el (doc-view-scale-internally):
4280 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
4281 * register.el (register-preview-delay):
4282 * net/shr.el (shr-bullet):
4283 * progmodes/cfengine.el (cfengine-cf-promises)
4284 (cfengine-parameters-indent):
4285 * progmodes/octave.el (inferior-octave-error-regexp-alist):
4286 * textmodes/reftex-vars.el (reftex-label-regexps):
4287 * vc/log-edit.el (log-edit-setup-add-author): Add version.
4288
4289 * net/tls.el (tls-certtool-program): Fix default value.
4290
4291 * desktop.el (desktop-restore-in-current-display):
4292 * newcomment.el (comment-empty-lines):
4293 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
4294 (idlwave-pad-keyword):
4295 * progmodes/tcl.el (tcl-tab-always-indent):
4296 * textmodes/reftex-vars.el (reftex-index-default-tag):
4297 * elec-pair.el (electric-pair-skip-whitespace):
4298 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
4299
4300 * emacs-lisp/authors.el (authors-ignored-files)
4301 (authors-valid-file-names, authors-renamed-files-alist): Additions.
4302
4303 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
4304
4305 * shell.el (shell-dynamic-complete-command): Doc fix.
4306 (shell--command-completion-data): Shell completion now matches
4307 executable filenames from the current buffer's directory, on
4308 systems in which this behavior is the default (windows-nt, ms-dos).
4309
4310 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4311
4312 * net/shr.el (shr-insert): Don't infloop if the width is zero.
4313
4314 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
4315
4316 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
4317 (bug#16251).
4318
4319 * electric.el: Move all electric-pair-* to elec-pair.el.
4320 * elec-pair.el: New file, split from electric.el.
4321
4322 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
4323
4324 * net/shr.el (shr-find-fill-point): Don't try to fill if the
4325 indentation level is larger than the width, because that will
4326 infloop.
4327 (shr-insert): Fill repeatedly long texts, so that Japanese is
4328 formatted correctly (bug#16263).
4329 (shr-find-fill-point): Off by one error in comparison with the
4330 indentation.
4331
4332 2013-12-26 João Távora <joaotavora@gmail.com>
4333
4334 * electric.el (electric-pair-mode): More flexible engine for skip-
4335 and inhibit predicates, new options for pairing-related functionality.
4336 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
4337 if that keeps or improves their balance in buffers.
4338 (electric-pair-delete-adjacent-pairs): Delete the pair when
4339 backspacing over adjacent matched delimiters.
4340 (electric-pair-open-extra-newline): Open extra newline when
4341 inserting newlines between adjacent matched delimiters.
4342 (electric--sort-post-self-insertion-hook):
4343 Sort post-self-insert-hook according to priority values when
4344 minor-modes are activated.
4345 * simple.el (newline-and-indent): Call newline with interactive
4346 set to t.
4347 (blink-paren-post-self-insert-function): Set priority to 100.
4348 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
4349 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
4350 comments. Locally set electric-pair-skip-whitespace to 'chomp and
4351 electric-pair-open-newline-between-pairs to nil.
4352
4353 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
4354
4355 * progmodes/python.el: Use lexical-binding.
4356 (python-nav-beginning-of-defun): Stop searching ASAP.
4357
4358 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
4359
4360 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
4361 Fix interactive spec. Doc fix. (Bug#15754)
4362
4363 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
4364
4365 * emacs-lisp/byte-run.el (eval-when-compile):
4366 * progmodes/cc-defs.el (cc-eval-when-compile):
4367 Fix edebug spec (bug#16184).
4368
4369 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4370
4371 * net/shr.el (shr-visit-file): Remove debugging function.
4372 (shr-insert): Don't infloop if we can't find a good place to break
4373 the line (bug#16256).
4374
4375 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
4376
4377 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
4378 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
4379 python-nav-lisp-forward-sexp-safe.
4380 (python-nav--forward-sexp): New argument SAFE allows switching
4381 forward sexp movement behavior for parens.
4382 (python-nav-forward-sexp): Throw errors on unterminated parens
4383 (Bug#16191).
4384 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
4385 (python-nav-backward-sexp-safe): New functions.
4386 (python-shell-buffer-substring):
4387 Use `python-nav-forward-sexp-safe'.
4388
4389 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
4390
4391 * net/shr.el (shr-find-fill-point): Don't break lines before a
4392 quotation mark.
4393 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
4394 (shr-find-fill-point): Remove the special checks for the quotation
4395 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
4396
4397 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4398
4399 * net/eww.el (eww-form-textarea): Use a different face for
4400 textareas than text input since they have different keymaps
4401 (bug#16142).
4402
4403 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
4404
4405 * progmodes/python.el (python-nav-beginning-of-statement):
4406 Speed up (Bug#15295).
4407
4408 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4409
4410 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
4411 the window configuration.
4412
4413 2013-12-24 Eli Zaretskii <eliz@gnu.org>
4414
4415 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
4416 we run on MS-Windows or MS-DOS.
4417
4418 2013-12-24 Martin Rudalics <rudalics@gmx.at>
4419
4420 * window.el (balance-windows-area): Call window-size instead of
4421 window-height and window-width. Bug#16241.
4422
4423 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
4424
4425 * net/eww.el (eww-bookmark-quit): Remove.
4426 (eww-bookmark-browse): Restore the window configuration when you
4427 choose a bookmark (bug#16144).
4428
4429 2013-12-24 Daniel Colascione <dancol@dancol.org>
4430
4431 * icomplete.el: Remove redundant :group arguments to `defcustom'
4432 throughout.
4433 (icomplete-show-matches-on-no-input): New customizable variable.
4434 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
4435 we have something to show.
4436 (icomplete-exhibit): Compute completions even if we have no user input.
4437
4438 2013-12-23 Daniel Colascione <dancol@dancol.org>
4439
4440 * icomplete.el: Move `provide' to end of file.
4441
4442 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
4443
4444 * net/gnutls.el (gnutls-verify-error): Add version tag.
4445
4446 2013-12-23 Chong Yidong <cyd@gnu.org>
4447
4448 * subr.el (set-transient-map): Rename from
4449 set-temporary-overlay-map. Doc fix.
4450
4451 * face-remap.el (text-scale-adjust):
4452 * indent.el (indent-rigidly):
4453 * kmacro.el (kmacro-call-macro):
4454 * minibuffer.el (minibuffer-force-complete):
4455 * repeat.el (repeat):
4456 * simple.el (universal-argument--mode):
4457 * calendar/todo-mode.el (todo-insert-item--next-param):
4458 * progmodes/f90.el (f90-abbrev-start): Callers changed.
4459
4460 * indent.el (indent-rigidly): Use substitute-command-keys.
4461
4462 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4463
4464 * net/eww.el (eww-tag-select): Add text-property to jump to next
4465 select field.
4466 (eww): Add non-supported ftp error.
4467
4468 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4469
4470 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
4471 comments. Handle electric indent after typing `?' and `!'.
4472
4473 2013-12-22 Chong Yidong <cyd@gnu.org>
4474
4475 * faces.el (face-spec-recalc): If the theme specs are not
4476 applicable to a frame, fall back on the defface spec.
4477 This prevents themes from obliterating faces on low-color terminals.
4478
4479 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4480
4481 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
4482 after `{'. We need it after block openers, and it doesn't seem
4483 to hurt after hash openers.
4484
4485 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4486
4487 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
4488 extracted from `ruby-smie-rules'.
4489 (ruby--electric-indent-chars): New variable.
4490 (ruby--electric-indent-p): New function.
4491 (ruby-mode): Use `electric-indent-functions' instead of
4492 `electric-indent-chars'.
4493
4494 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
4495
4496 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
4497 docstring.
4498 (ruby-smie-rules): Indent plus one level after `=>'.
4499
4500 2013-12-21 Richard Stallman <rms@gnu.org>
4501
4502 * simple.el (newline): Doc fix.
4503
4504 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
4505
4506 * net/eww.el (eww-list-histories, eww-list-histories)
4507 (eww-history-browse, eww-history-quit, eww-history-kill)
4508 (eww-history-mode-map, eww-history-mode): New command and
4509 functions to list browser histories.
4510 (eww-form-text): Support text form with disabled
4511 and readonly attributes.
4512 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
4513
4514 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4515
4516 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
4517 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
4518 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
4519 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
4520 Use `user-error'.
4521 (eww-bookmark-mode-map): Add menu.
4522 (eww-render, eww-mode): Use `setq-local'.
4523 (eww-tool-bar-map): New variable.
4524 (eww-mode): Set `tool-bar-map'.
4525 (eww-view-source): Check for `html-mode' with `fboundp'.
4526
4527 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4528
4529 * net/shr.el (shr--extract-best-source): Don't bug out on audio
4530 elements with text inside. Also remove debugging.
4531
4532 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
4533
4534 * cus-start.el (all): Add ns-use-srgb-colorspace.
4535
4536 2013-12-21 Chong Yidong <cyd@gnu.org>
4537
4538 * custom.el (custom-theme-recalc-face): Do nothing if the face is
4539 undefined. Thus, theme settings for undefined faces do not take
4540 effect until the faces are defined with defface, the same as with
4541 theme variables.
4542
4543 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
4544 (face-spec-reset-face): Don't assign extra properties in temacs.
4545 (face-spec-recalc): Apply X resources too.
4546
4547 2013-12-21 Chong Yidong <cyd@gnu.org>
4548
4549 * faces.el (face-spec-set):
4550 * cus-face.el (custom-theme-set-faces, custom-set-faces):
4551 * custom.el (defface): Doc fixes (Bug#16203).
4552
4553 * indent.el (indent-rigidly-map): Add docstring, and move commands
4554 into named functions.
4555 (indent-rigidly-left, indent-rigidly-right)
4556 (indent-rigidly-left-to-tab-stop)
4557 (indent-rigidly-right-to-tab-stop): New functions. Decide on
4558 indentation direction based on bidi direction, and accumulate
4559 sequential commands in a single undo boundary.
4560 (indent-rigidly--pop-undo): New utility function.
4561
4562 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
4563
4564 * faces.el (read-face-name): Require crm.el when using crm-separator.
4565
4566 2013-12-20 Daniel Colascione <dancol@dancol.org>
4567
4568 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
4569 so that we don't reflow comments into the shebang line.
4570
4571 2013-12-20 Juri Linkov <juri@jurta.org>
4572
4573 * saveplace.el (save-place-to-alist): Add `dired-filename' as
4574 a position when `dired-directory' is non-nil. Check integer
4575 positions with `integerp'.
4576 (toggle-save-place, save-places-to-alist): Add check for
4577 `dired-directory'.
4578 (save-place-find-file-hook): Check integer positions with
4579 `integerp'.
4580 (save-place-dired-hook): Use `dired-goto-file' when
4581 `dired-filename' is found in the assoc list. Check integer
4582 positions with `integerp'.
4583 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
4584
4585 * dired.el (dired-initial-position-hook): Rename back from
4586 `dired-initial-point-hook'.
4587 (dired-initial-position): Rename `dired-initial-point-hook' to
4588 `dired-initial-position-hook'.
4589 (dired-file-name-at-point): Doc fix. (Bug#15329)
4590
4591 2013-12-20 Juri Linkov <juri@jurta.org>
4592
4593 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
4594 (read-regexp-suggestions): New function.
4595 (read-regexp): Use `read-regexp-defaults-function' to get default values.
4596 Use `read-regexp-suggestions'. Add non-empty default to history
4597 for empty input.
4598 (occur-read-regexp-defaults-function): Remove function.
4599 (occur-read-primary-args): Use `regexp-history-last' instead of
4600 `occur-read-regexp-defaults-function'.
4601
4602 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
4603 (hi-lock-line-face-buffer, hi-lock-face-buffer)
4604 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
4605 `hi-lock-read-regexp-defaults-function'. Doc fix.
4606 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
4607 with `find-tag-default-as-symbol-regexp'. Doc fix.
4608 (hi-lock-read-regexp-defaults): Remove function.
4609 (hi-lock-regexp-okay): Add check for null.
4610
4611 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
4612 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
4613
4614 * subr.el (find-tag-default-as-symbol-regexp): New function.
4615 (find-tag-default-as-regexp): Move symbol regexp formatting to
4616 `find-tag-default-as-symbol-regexp'.
4617
4618 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
4619
4620 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
4621 (Bug#14179)
4622
4623 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4624
4625 * calendar/todo-mode.el: New implementation of item insertion
4626 commands and key bindings.
4627 (todo-key-prompt): New face.
4628 (todo-insert-item): New command.
4629 (todo-insert-item--parameters): New defconst, replacing defvar
4630 todo-insertion-commands-args-genlist.
4631 (todo-insert-item--param-key-alist): New defconst, replacing
4632 defvar todo-insertion-commands-arg-key-list.
4633 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
4634 (todo-insert-item--argsleft, todo-insert-item--apply-args)
4635 (todo-insert-item--next-param): New functions.
4636 (todo-insert-item--args, todo-insert-item--argleft)
4637 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
4638 New variables.
4639 (todo-key-bindings-t): Change binding of "i" from
4640 todo-insertion-map to todo-insert-item.
4641 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
4642 (todo-insertion-command-name, todo-insertion-commands-names)
4643 (todo-define-insertion-command, todo-insertion-commands)
4644 (todo-insertion-key-bindings, todo-insertion-map): Remove.
4645
4646 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
4647
4648 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
4649 (todo-toggle-item-highlighting): Use eval-and-compile instead of
4650 eval-when-compile.
4651 (todo-move-category): Allow choosing a non-existing todo file to
4652 move the category to, and create that file.
4653 (todo-default-priority): New user option.
4654 (todo-set-item-priority): Use it.
4655 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
4656 (desktop-restore-file-buffer): Declare.
4657 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
4658 (todo-modes-set-2): Locally set desktop-save-buffer to
4659 todo-desktop-save-buffer.
4660 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
4661 (auto-mode-alist): Add autoload cookie.
4662
4663 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
4664
4665 * emacs-lisp/subr-x.el: Renamed from helpers.el.
4666 helpers.el was a poor choice of name.
4667 (string-remove-prefix): New function.
4668 (string-remove-suffix): New function.
4669
4670 2013-12-20 Martin Rudalics <rudalics@gmx.at>
4671
4672 Fix assignment for new window total sizes.
4673 * window.el (window--pixel-to-size): Remove function.
4674 (window--pixel-to-total-1, window--pixel-to-total):
4675 Fix calculation of new total sizes.
4676
4677 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
4678
4679 * comint.el (comint-output-filter): Fix rear-nonsticky property
4680 placement (Bug#16010).
4681
4682 2013-12-20 Chong Yidong <cyd@gnu.org>
4683
4684 * faces.el (read-color): Minor fix for completion function.
4685
4686 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
4687
4688 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
4689 New option. (Bug#16182)
4690 (ruby-smie--indent-to-stmt-p): Use it.
4691 (ruby-smie-rules): Revert the logic in the handling of `when'.
4692 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
4693 (ruby-deep-arglist, ruby-deep-indent-paren)
4694 (ruby-deep-indent-paren-style): Update docstrings to note that the
4695 vars don't have any effect with SMIE.
4696
4697 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
4698
4699 * calc/calc.el (calc-enter, calc-pop): Use the variable
4700 `calc-context-sensitive-enter'.
4701
4702 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
4703
4704 * net/shr.el (shr-insert): Protect against infloops in degenerate
4705 tables.
4706
4707 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4708
4709 * progmodes/octave.el (octave): Add link to manual and octave
4710 homepage.
4711 (octave-mode-menu): Link to octave-mode manual.
4712
4713 2013-12-20 Leo Liu <sdl.web@gmail.com>
4714
4715 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
4716 insertion using skeleton-end-newline. (Bug#16138)
4717
4718 2013-12-20 Juri Linkov <juri@jurta.org>
4719
4720 * replace.el (occur-engine): Use `add-face-text-property'
4721 to add the face property to matches and titles. (Bug#14645)
4722
4723 * hi-lock.el (hi-green): Use lighter color "light green" closer to
4724 the palette of other hi-lock colors.
4725 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
4726
4727 2013-12-19 Juri Linkov <juri@jurta.org>
4728
4729 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
4730 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
4731 (minibuffer-history-symbol): Move variable declaration closer to
4732 its usage.
4733
4734 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
4735 (Bug#14785)
4736
4737 2013-12-19 Juri Linkov <juri@jurta.org>
4738
4739 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
4740 New function.
4741 (log-edit-hook): Add it to :options. (Bug#16170)
4742
4743 2013-12-19 Juri Linkov <juri@jurta.org>
4744
4745 * simple.el (eval-expression-print-format): Don't check for
4746 command names and the last command. Always display additional
4747 formats of the integer result in the echo area, and insert them
4748 to the current buffer only with a zero prefix arg.
4749 Display character when char-displayable-p is non-nil.
4750 (eval-expression): With a zero prefix arg, set `print-length' and
4751 `print-level' to nil, and insert the integer values from
4752 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
4753
4754 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
4755 `eval-last-sexp-arg-internal'. Doc fix.
4756 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
4757 `eval-last-sexp-print-value'. Doc fix.
4758 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
4759 Set `print-length' and `print-level' to nil when arg is zero.
4760 (eval-last-sexp): Doc fix.
4761 (eval-defun-2): Print the integer values from
4762 `eval-expression-print-format' at the end.
4763
4764 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
4765 values from `eval-expression-print-format' at the end.
4766
4767 * ielm.el (ielm-eval-input): Print the integer
4768 values from `eval-expression-print-format' at the end.
4769
4770 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
4771
4772 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
4773 2013-12-11T19:01:44Z!tzz@lifelogs.com.
4774
4775 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
4776
4777 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
4778 (hl-line-highlight, global-hl-line-highlight): Use it.
4779 (hl-line-overlay): Use defvar-local.
4780
4781 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
4782
4783 * term/ns-win.el: Require dnd.
4784 (global-map): Remove drag items.
4785 (ns-insert-text, ns-set-foreground-at-mouse)
4786 (ns-set-background-at-mouse):
4787 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
4788 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
4789 New functions.
4790
4791 2013-12-19 Glenn Morris <rgm@gnu.org>
4792
4793 * emacs-lisp/ert.el (ert-select-tests):
4794 Fix string/symbol mixup. (Bug#16121)
4795
4796 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4797
4798 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
4799 keywords to their parent.
4800
4801 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
4802
4803 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
4804 first arg to be a string (fixed dead code), or an operator symbol.
4805 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
4806 operator symbols.
4807 (ruby-smie-rules): Remove parent token check in the `.' clause, it
4808 did nothing. Don't respond to `(:after ".")', it will be called
4809 with :before anyway. Remove the ` @ ' rule, it didn't seem to
4810 change anything. Only return indentation for binary operators
4811 when they are hanging. De-dent opening paren when its parent is
4812 `.', otherwise it looks bad when the dot is not at bol or eol
4813 (bug#16182).
4814
4815 2013-12-19 Juri Linkov <juri@jurta.org>
4816
4817 * replace.el (query-replace-read-args): Split a non-negative arg
4818 and a negative arg into separate elements.
4819 (query-replace, query-replace-regexp, replace-string)
4820 (replace-regexp): Add arg `backward'. Doc fix.
4821 (replace-match-maybe-edit): When new arg `backward' is non-nil,
4822 move point to the beginning of the match.
4823 (replace-search, replace-highlight): Use new arg `backward'
4824 to set the value of `isearch-forward'.
4825 (perform-replace): Add arg `backward' and use it to perform
4826 replacement backward. (Bug#14979)
4827
4828 * isearch.el (isearch-query-replace): Use a negative prefix arg
4829 to call `perform-replace' with a non-nil arg `backward'.
4830
4831 2013-12-18 Juri Linkov <juri@jurta.org>
4832
4833 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
4834 to the default list. Move `log-edit-show-files' to the end.
4835 Add more available functions to options.
4836 (log-edit): Move default specific settings to
4837 `log-edit-insert-message-template'. Don't move point.
4838 (log-edit-insert-message-template): New function.
4839 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
4840 (Bug#16170)
4841
4842 2013-12-18 Juri Linkov <juri@jurta.org>
4843
4844 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
4845 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
4846
4847 2013-12-18 Leo Liu <sdl.web@gmail.com>
4848
4849 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
4850 (Bug#16186)
4851
4852 2013-12-18 Eli Zaretskii <eliz@gnu.org>
4853
4854 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
4855 formats for displaying file sizes when the -s switch is given.
4856 Instead, compute a separate format for displaying the size in
4857 blocks, which is displayed in addition to the "regular" size.
4858 When -h is given in addition to -s, produce size in blocks in
4859 human-readable form as well. (Bug#16179)
4860
4861 2013-12-18 Tassilo Horn <tsdh@gnu.org>
4862
4863 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
4864 Reference tables with ~\ref{...} instead of only \ref{...}.
4865
4866 2013-12-18 Chong Yidong <cyd@gnu.org>
4867
4868 * cus-edit.el (custom-magic-alist): Fix "themed" description
4869 (Bug#14348).
4870
4871 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
4872 is non-nil, do not create a new entry in the symbol's theme-value
4873 or theme-face property; update theme-settings only (Bug#14664).
4874 (custom-available-themes): Doc fix.
4875
4876 * cus-theme.el (custom-new-theme-mode-map): Add bindings
4877 (Bug#15674).
4878
4879 * replace.el (occur-engine): Avoid infloop (Bug#7593).
4880
4881 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
4882
4883 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
4884 (Bug#13914).
4885
4886 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
4887
4888 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
4889
4890 2013-12-18 Glenn Morris <rgm@gnu.org>
4891
4892 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
4893 * cus-start.el (load-prefer-newer): New option.
4894
4895 2013-12-18 Le Wang <l26wang@gmail.com>
4896
4897 * comint.el (comint-previous-matching-input-from-input):
4898 Retain point (Bug#13404).
4899
4900 2013-12-18 Chong Yidong <cyd@gnu.org>
4901
4902 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
4903
4904 2013-12-18 Glenn Morris <rgm@gnu.org>
4905
4906 * mail/emacsbug.el (report-emacs-bug):
4907 Only mention enable-multibyte-characters if non-standard.
4908
4909 2013-12-17 Juri Linkov <juri@jurta.org>
4910
4911 * arc-mode.el (archive-extract-by-file): Check if directory exists
4912 before deletion to not show irrelevant errors if it doesn't exist.
4913
4914 2013-12-17 Juri Linkov <juri@jurta.org>
4915
4916 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
4917 (Bug#14751)
4918
4919 * net/eww.el (browse-web): Add alias to `eww'.
4920 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
4921 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
4922
4923 * net/browse-url.el (browse-url-browser-function): Move `eww'
4924 closer to similar functions.
4925
4926 * startup.el (fancy-startup-screen, fancy-about-screen):
4927 Set browse-url-browser-function to eww-browse-url locally.
4928 (Bug#14751)
4929
4930 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4931
4932 * window.el (window--pixel-to-total): Remove unused `mini' var.
4933 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
4934 (split-window): Remove unused `new' var.
4935 (window--display-buffer): Remove unused `frame' and `delta' vars.
4936 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
4937 and display-width'.
4938
4939 2013-12-17 Martin Rudalics <rudalics@gmx.at>
4940
4941 * dired.el (dired-mark-pop-up):
4942 * register.el (register-preview): Don't bind
4943 split-height-threshold here since it's now done in
4944 display-buffer-below-selected.
4945
4946 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
4947
4948 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
4949 xterm-rgb-convert-to-16bit.
4950 (rxvt-register-default-colors): Standardize with
4951 xterm-register-default-colors (Bug#14078).
4952
4953 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
4954
4955 * simple.el (kill-region): Pass mark first, then point, so that
4956 kill-append works right (Bug#12819).
4957 (copy-region-as-kill, kill-ring-save): Likewise.
4958
4959 2013-12-17 Leo Liu <sdl.web@gmail.com>
4960
4961 * net/rcirc.el (rcirc-add-face):
4962 * eshell/em-prompt.el (eshell-emit-prompt):
4963 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
4964 (Bug#16167)
4965
4966 2013-12-17 Chong Yidong <cyd@gnu.org>
4967
4968 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
4969 Suggested by Xue Fuqiao.
4970
4971 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4972
4973 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
4974
4975 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
4976
4977 * net/shr.el (shr-insert-document): Remove unused var
4978 `shr-preliminary-table-render'.
4979 (shr-rescale-image): Remove unused arg `force'.
4980 (shr-put-image): Update calls accordingly.
4981 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
4982
4983 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
4984
4985 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
4986 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
4987 :close-all, to see which indentation method to use (Bug#16116).
4988 (smie-rules-function): Document the method :close-all.
4989
4990 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
4991
4992 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
4993
4994 * net/eww.el (eww-display-html): If we can't find the anchor we're
4995 looking for, then go to point-min.
4996
4997 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
4998
4999 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5000 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5001 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5002 Expand dir too, in case it's relative.
5003
5004 2013-12-16 Juri Linkov <juri@jurta.org>
5005
5006 * desktop.el (desktop-auto-save-timeout): Change default to
5007 `auto-save-timeout'. Doc fix.
5008 (desktop-save): Skip the timestamp in desktop-saved-frameset
5009 when checking for auto-save changes.
5010 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5011 `desktop-auto-save' is called repeatedly by the idle timer.
5012 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5013 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5014 (Bug#15331)
5015
5016 2013-12-16 Juri Linkov <juri@jurta.org>
5017
5018 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5019 (Bug#16035)
5020 (isearch-pre-command-hook): Check `this-command' for symbolp.
5021
5022 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5023
5024 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5025
5026 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5027
5028 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5029 (cfengine3--current-function): Bring in the current-function
5030 functionality from `cfengine3--current-word'.
5031 (cfengine3-completion-function): Bring in the
5032 bounds-of-current-word functionality from
5033 `cfengine3--current-word'.
5034
5035 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5036
5037 * window.el (display-buffer-below-selected):
5038 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5039
5040 2013-12-16 Leo Liu <sdl.web@gmail.com>
5041
5042 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5043 Remove NOMSG arg and all uses changed.
5044
5045 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5046
5047 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
5048 (cua--deactivate-rectangle): Don't deactivate the mark.
5049 (cua-set-rectangle-mark): Don't set mark-active since
5050 cua--activate-rectangle already does it for us.
5051 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
5052 non-rectangular region.
5053
5054 * emulation/cua-base.el (cua-repeat-replace-region):
5055 Use with-current-buffer.
5056
5057 * net/gnutls.el: Use cl-lib.
5058 (gnutls-negotiate): `mapcan' -> cl-mapcan.
5059
5060 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5061
5062 * emacs-lisp/package.el (package-built-in-p): Support both
5063 built-in and the package.el converted package descriptions.
5064 (package-show-package-list): Allow keywords.
5065 (package-keyword-button-action): Use it instead of
5066 `finder-list-matches'.
5067 (package-menu-filter-interactive): Interactive filtering (by
5068 keyword) function.
5069 (package-menu--generate): Support keywords and change keymappings
5070 and headers when they are given.
5071 (package--has-keyword-p): Helper function.
5072 (package-menu--refresh): Use it.
5073 (package--mapc): Helper function.
5074 (package-all-keywords): Use it.
5075 (package-menu-mode-map): Set up menu items and keybindings to
5076 provide a filtering UI.
5077
5078 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
5079
5080 * net/gnutls.el (gnutls-verify-error): New defcustom to control
5081 the behavior when a certificate fails validation. Defaults to
5082 old behavior: never abort, just warn.
5083 (gnutls-negotiate): Use it.
5084
5085 2013-12-14 Martin Rudalics <rudalics@gmx.at>
5086
5087 * window.el (display-buffer-below-selected): Never split window
5088 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
5089
5090 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
5091
5092 * emacs-lisp/package.el (package--prepare-dependencies): New function.
5093 (package-buffer-info): Use it (bug#15108).
5094
5095 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
5096
5097 * icomplete.el (icomplete-completions): Make sure the prefix is already
5098 displayed elsewhere before hiding it (bug#16219).
5099
5100 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
5101
5102 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
5103 open-paren tokens when preceded by a open-paren, too.
5104 (ruby-smie-rules): Handle virtual indentation after open-paren
5105 tokens specially. If there is code between it and eol, return the
5106 column where is starts (Bug#16118).
5107
5108 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5109
5110 * progmodes/cfengine.el: Fix `add-hook' doc.
5111 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
5112 (cfengine3--current-word): Fix parameters.
5113 (cfengine3-make-syntax-cache): Simplify further.
5114 (cfengine3-completion-function, cfengine3--current-function):
5115 Use `assq' for symbols.
5116 (cfengine3--current-function): Fix `cfengine3--current-word' call.
5117
5118 2013-12-13 Glenn Morris <rgm@gnu.org>
5119
5120 * loadup.el (load-path): Warn if site-load or site-init changes it.
5121 No more need to reset it when bootstrapping.
5122
5123 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
5124
5125 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
5126 locations for cf-promises.
5127 (cfengine-mode-syntax-functions-regex): New caching variable.
5128 (cfengine3-fallback-syntax): Fallback syntax for cases where
5129 cf-promises doesn't run.
5130 (cfengine3--current-word): Reimplement using
5131 `cfengine-mode-syntax-functions-regex'.
5132 (cfengine3-completion-function, cfengine3--current-function):
5133 Use `cfengine3-make-syntax-cache' directly.
5134 (cfengine3-clear-syntax-cache): New function.
5135 (cfengine3-make-syntax-cache): Simplify and create
5136 `cfengine-mode-syntax-functions-regex' on demand.
5137 (cfengine3-format-function-docstring): Don't call
5138 `cfengine3-make-syntax-cache' explicitly.
5139
5140 2013-12-13 Martin Rudalics <rudalics@gmx.at>
5141
5142 Fix windmove-find-other-window broken after pixelwise resizing
5143 (Bug#16017).
5144 * windmove.el (windmove-other-window-loc): Revert change from
5145 2013-12-04.
5146 (windmove-find-other-window): Call window-in-direction.
5147 * window.el (window-in-direction): New arguments SIGN, WRAP and
5148 MINI to emulate original windmove-find-other-window behavior.
5149
5150 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
5151
5152 * simple.el (blink-matching--overlay): New variable.
5153 (blink-matching-open): Instead of moving point, highlight the
5154 matching paren with an overlay
5155 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
5156
5157 * faces.el (paren-showing-faces, show-paren-match)
5158 (show-paren-mismatch): Move from paren.el.
5159
5160 2013-12-13 Leo Liu <sdl.web@gmail.com>
5161
5162 * indent.el (indent-region): Disable progress reporter in
5163 minibuffer. (Bug#16108)
5164
5165 * bindings.el (visual-order-cursor-movement): Fix version.
5166
5167 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
5168
5169 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
5170 Also match after beginning of line.
5171 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
5172 files. Thanks to Russell Sim. (Bug#15378)
5173
5174 2013-12-13 Juri Linkov <juri@jurta.org>
5175
5176 * simple.el <Keypad support>: Remove key bindings duplicated
5177 with bindings.el. (Bug#14397)
5178
5179 2013-12-13 Juri Linkov <juri@jurta.org>
5180
5181 * comint.el (comint-mode-map): Replace `delete-char' with
5182 `delete-forward-char'. (Bug#16109)
5183
5184 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5185
5186 * progmodes/python.el (python-indent-calculate-indentation):
5187 Fix de-denters cornercase. (Bug#15731)
5188
5189 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
5190
5191 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
5192 (advice--make): Pay attention to `depth'.
5193 (advice--make-1): Don't autoload commands eagerly.
5194 * emacs-lisp/elp.el (elp-instrument-function):
5195 * emacs-lisp/trace.el (trace-function-internal):
5196 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
5197
5198 * iswitchb.el (iswitchb-mode): Don't belittle ido.
5199
5200 2013-12-12 Eli Zaretskii <eliz@gnu.org>
5201
5202 * term/w32-win.el (w32-handle-dropped-file):
5203 * startup.el (normal-top-level):
5204 * net/browse-url.el (browse-url-file-url):
5205 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
5206 decode file names using 'utf-8' rather than
5207 file-name-coding-system.
5208
5209 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
5210
5211 * progmodes/python.el (python-indent-context)
5212 (python-indent-calculate-indentation): Fix auto-identation
5213 behavior for comment blocks. (Bug#15916)
5214
5215 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
5216
5217 * progmodes/python.el (python-indent-calculate-indentation):
5218 When determining indentation, don't treat "return", "pass", etc., as
5219 operators when they are just string constituents. (Bug#15812)
5220
5221 2013-12-12 Juri Linkov <juri@jurta.org>
5222
5223 * uniquify.el (uniquify-buffer-name-style): Change default to
5224 `post-forward-angle-brackets'.
5225
5226 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
5227 `uniquify'. Change default to `post-forward-angle-brackets'.
5228
5229 2013-12-11 Glenn Morris <rgm@gnu.org>
5230
5231 * emacs-lisp/package.el (finder-list-matches):
5232 Autoload rather than falsely declaring.
5233
5234 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
5235
5236 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
5237 (eww-mode-map): Use them.
5238
5239 2013-12-11 Martin Rudalics <rudalics@gmx.at>
5240
5241 * window.el (display-buffer-in-side-window): Fix doc-string
5242 (Bug#16115).
5243
5244 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
5245
5246 * vc/vc-git.el: Silence byte-compiler warnings.
5247 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
5248 (log-edit-set-header): Declare.
5249
5250 2013-12-11 Eli Zaretskii <eliz@gnu.org>
5251
5252 * Makefile.in (custom-deps, finder-data): Run output file names
5253 through unmsys--file-name. (Bug#16099)
5254
5255 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
5256
5257 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
5258 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
5259
5260 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
5261 instead of deleting the selection "by hand" (bug#16098).
5262 Rely on insert-for-yank to yank rectangles.
5263 (cua-highlight-region-shift-only): Mark obsolete.
5264 (cua-mode): Don't enable/disable transient-mark-mode,
5265 shift-select-mode (cua-mode works both with and without them), and
5266 pc-selection-mode (obsolete).
5267 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
5268 (cua--deactivate-rectangle): Deactivate it.
5269
5270 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
5271 (delete-selection-helper): Make sure yank starts at the top of the
5272 deleted region.
5273 (minibuffer-keyboard-quit): Use region-active-p.
5274
5275 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
5276
5277 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
5278 to `delete' (bug#16109).
5279
5280 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5281
5282 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
5283 info manual and show keybindings and set `:group' keyword.
5284
5285 2013-12-11 Juri Linkov <juri@jurta.org>
5286
5287 * delsel.el (delete-active-region): Let-bind `this-command'
5288 to prevent `kill-region' from changing its original value.
5289 (delete-selection-helper): Handle `overwrite-mode' for the type
5290 `kill' exactly the same way as for the type `t'.
5291 (insert-char, quoted-insert, reindent-then-newline-and-indent):
5292 Support more commands. (Bug#13312)
5293
5294 2013-12-11 Juri Linkov <juri@jurta.org>
5295
5296 * bindings.el: Map kp keys to non-kp keys systematically
5297 with basic modifiers control, meta and shift. (Bug#14397)
5298
5299 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5300
5301 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
5302 "Close browser" menu items. Fix wrong function of "List
5303 bookmarks".
5304
5305 2013-12-11 Juri Linkov <juri@jurta.org>
5306
5307 * misearch.el (multi-isearch-buffers): Set the value of
5308 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5309 arg of isearch-forward to t.
5310 (multi-isearch-buffers-regexp): Set the value of
5311 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
5312 arg of isearch-forward-regexp to t.
5313 (multi-isearch-files): Set the value of
5314 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5315 arg of isearch-forward to t.
5316 (multi-isearch-files-regexp): Set the value of
5317 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
5318 arg of isearch-forward-regexp to t. (Bug#16035)
5319
5320 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
5321 arg of isearch-forward to t.
5322 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
5323 arg of isearch-forward-regexp to t.
5324 (dired-isearch-filter-filenames): Remove unnecessary check for
5325 `dired-isearch-filenames'.
5326
5327 * comint.el (comint-history-isearch-backward):
5328 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
5329 (comint-history-isearch-backward-regexp):
5330 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
5331
5332 2013-12-10 Eli Zaretskii <eliz@gnu.org>
5333
5334 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
5335 unmsys--file-name. (Bug#16099)
5336
5337 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
5338
5339 * emacs-lisp/package.el (package-keyword-button-action):
5340 Remove finder.el require dependency.
5341
5342 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
5343
5344 * emacs-lisp/package.el: Require finder.el.
5345 (describe-package-1): Add keyword buttons.
5346 (package-make-button): New convenience function.
5347 (package-keyword-button-action): Keyword button action using
5348 `finder-list-matches'.
5349
5350 2013-12-09 Eli Zaretskii <eliz@gnu.org>
5351
5352 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
5353 last commit.
5354
5355 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
5356
5357 * autorevert.el (auto-revert-notify-add-watch): Do not handle
5358 symlinked files.
5359
5360 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5361
5362 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5363 after the end of a percent literal.
5364
5365 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
5366
5367 * progmodes/ruby-mode.el (ruby-forward-string): Document.
5368 Handle caret-delimited strings (Bug#16079).
5369
5370 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
5371
5372 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
5373 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
5374 `ruby-parse-partial' (Bug#16078).
5375
5376 2013-12-09 Leo Liu <sdl.web@gmail.com>
5377
5378 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
5379
5380 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
5381
5382 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
5383 (js-switch-indent-offset): New option.
5384 (js--proper-indentation): Use it. And handle the case when
5385 "default" is actually a key in an object literal.
5386 (js--same-line): New function.
5387 (js--multi-line-declaration-indentation): Use it.
5388 (js--indent-in-array-comp, js--array-comp-indentation):
5389 New functions.
5390 (js--proper-indentation): Use them, to handle array comprehension
5391 continuations.
5392
5393 2013-12-08 Leo Liu <sdl.web@gmail.com>
5394
5395 * progmodes/flymake.el (flymake-highlight-line): Re-write.
5396 (flymake-make-overlay): Remove arg MOUSE-FACE.
5397 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
5398
5399 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5400
5401 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
5402 New function.
5403 (redisplay-highlight-region-function): Use it.
5404
5405 * emulation/cua-base.el (cua--explicit-region-start)
5406 (cua--last-region-shifted): Remove.
5407 (cua--deactivate): Use deactivate-mark.
5408 (cua--pre-command-handler-1): Don't handle shift-selection.
5409 (cua--post-command-handler-1): Don't change transient-mark-mode.
5410 (cua--select-keymaps): Use region-active-p rather than
5411 cua--explicit-region-start or cua--last-region-shifted.
5412 (cua-mode): Enable shift-select-mode.
5413
5414 2013-12-08 Leo Liu <sdl.web@gmail.com>
5415
5416 * progmodes/flymake.el (flymake-popup-current-error-menu):
5417 Rename from flymake-display-err-menu-for-current-line. Reimplement.
5418 (flymake-posn-at-point-as-event, flymake-popup-menu)
5419 (flymake-make-emacs-menu): Remove. (Bug#16077)
5420
5421 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
5422
5423 * rect.el (rectangle-mark-mode): Activate mark even if
5424 transient-mark-mode is off (bug#16066).
5425 (rectangle--highlight-for-redisplay): Fix boundary condition when point
5426 is > mark and at bolp.
5427
5428 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
5429 (region-extract-function): Use it.
5430 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
5431 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
5432 Delete functions.
5433 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
5434 kill-ring-save, kill-region, delete-char, delete-forward-char.
5435 Ignore self-insert-iso.
5436
5437 * emulation/cua-gmrk.el (cua--init-global-mark):
5438 Ignore `self-insert-iso'.
5439
5440 * emulation/cua-base.el (cua--prefix-copy-handler)
5441 (cua--prefix-cut-handler): Rely on region-extract-function rather than
5442 checking cua--rectangle.
5443 (cua-delete-region): Use region-extract-function.
5444 (cua-replace-region): Delete function.
5445 (cua-copy-region, cua-cut-region): Obey region-extract-function.
5446 (cua--pre-command-handler-1): Don't do the delete-selection thing.
5447 (cua--self-insert-char-p): Ignore `self-insert-iso'.
5448 (cua--init-keymaps): Don't remap delete-selection commands.
5449 (cua-mode): Use delete-selection-mode instead of rolling our own
5450 (bug#16085).
5451
5452 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
5453 Obey region-extract-function.
5454
5455 Make registers and delete-selection-mode work on rectangles.
5456 * register.el (describe-register-1): Don't modify the register's value.
5457 (copy-to-register): Obey region-extract-function.
5458 * delsel.el (delete-active-region): Obey region-extract-function.
5459
5460 2013-12-08 Leo Liu <sdl.web@gmail.com>
5461
5462 * progmodes/flymake.el (flymake, flymake-error-bitmap)
5463 (flymake-warning-bitmap, flymake-fringe-indicator-position)
5464 (flymake-compilation-prevents-syntax-check)
5465 (flymake-start-syntax-check-on-newline)
5466 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
5467 (flymake-start-syntax-check-on-find-file, flymake-log-level)
5468 (flymake-xml-program, flymake-master-file-dirs)
5469 (flymake-master-file-count-limit)
5470 (flymake-allowed-file-name-masks): Relocate.
5471 (flymake-makehash, flymake-float-time)
5472 (flymake-replace-regexp-in-string, flymake-split-string)
5473 (flymake-get-temp-dir): Remove.
5474 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
5475 (flymake-current-row, flymake-selected-frame)
5476 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
5477 related functions. (Bug#16077)
5478
5479 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
5480
5481 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
5482
5483 2013-12-07 Tassilo Horn <tsdh@gnu.org>
5484
5485 * help-fns.el (describe-function-1): Use new advice-* functions
5486 rather than old ad-* functions. Fix function type description and
5487 source links for advised functions and subrs.
5488
5489 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
5490
5491 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
5492
5493 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
5494
5495 * progmodes/compile.el (compilation-start):
5496 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
5497
5498 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
5499 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
5500
5501 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5502
5503 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5504 Touch up the last change.
5505
5506 2013-12-06 Leo Liu <sdl.web@gmail.com>
5507
5508 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
5509 (inferior-octave-startup): Always use "octave> " for prompt.
5510 (octave-goto-function-definition)
5511 (octave-sync-function-file-names)
5512 (octave-find-definition-default-filename): Remove redundant backquotes.
5513
5514 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5515
5516 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
5517 syntax for `?'.
5518 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
5519 where appropriate already.
5520 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
5521 end of method names (Bug#15874).
5522
5523 2013-12-06 Juri Linkov <juri@jurta.org>
5524
5525 * isearch.el (isearch--saved-overriding-local-map):
5526 New internal variable.
5527 (isearch-mode): Set it to the initial value of
5528 `overriding-terminal-local-map'.
5529 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
5530 with `isearch--saved-overriding-local-map'. (Bug#16035)
5531
5532 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
5533
5534 * progmodes/octave.el (inferior-octave-completion-table):
5535 Turn back into function, use `completion-table-with-cache'
5536 (Bug#11906). Update all references.
5537
5538 * minibuffer.el (completion-table-with-cache): New function.
5539
5540 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
5541
5542 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
5543
5544 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
5545
5546 * net/eww.el (eww-current-source): New variable to store page
5547 source.
5548 (eww-display-html, eww-mode, eww-save-history)
5549 (eww-restore-history): Use it.
5550 (eww-view-source): New command to view page source.
5551 Opportunistically uses `html-mode' to highlight the buffer.
5552 (eww-mode-map): Install it.
5553
5554 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
5555
5556 * net/dbus.el (dbus-unregister-service)
5557 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
5558 Fix docstring.
5559 (dbus-unregister-service): Skip :serial entries in
5560 `dbus-registered-objects-table'.
5561 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
5562
5563 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
5564
5565 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
5566 around keywords with extra `split-string' argument.
5567
5568 2013-12-04 Martin Rudalics <rudalics@gmx.at>
5569
5570 * windmove.el (windmove-other-window-loc): Handle navigation
5571 between windows (excluding the minibuffer window - Bug#16017).
5572
5573 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
5574
5575 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
5576 in D-Bus type syntax.
5577 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
5578 preserve unibyte strings. (Bug#16048)
5579
5580 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
5581
5582 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
5583 Call force-mode-line-update is the proper buffer (bug#16042).
5584
5585 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
5586
5587 * vc/log-edit.el (log-edit-add-new-comment): Rename to
5588 `log-edit-remember-comment', make argument optional. Adjust all
5589 callers.
5590 (log-edit-mode): Add `log-edit-remember-comment' to
5591 `kill-buffer-hook' locally.
5592 (log-edit-kill-buffer): Don't remember comment explicitly since
5593 the buffer is killed anyway.
5594
5595 2013-12-04 Juri Linkov <juri@jurta.org>
5596
5597 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
5598 add-hook and remove-hook for multi-buffer search. (Bug#16035)
5599
5600 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
5601
5602 * notifications.el (notifications-close-notification): Call the
5603 D-Bus method with ID being a `:uint32'. (Bug#16030)
5604
5605 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
5606
5607 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
5608
5609 2013-12-03 Juri Linkov <juri@jurta.org>
5610
5611 * progmodes/compile.el (compilation-start): Rename window alist
5612 entry `no-display-ok' to `allow-no-window'.
5613
5614 * simple.el (shell-command): Add window alist entry
5615 `allow-no-window' to `display-buffer'.
5616 (async-shell-command): Doc fix.
5617
5618 * window.el (display-buffer-no-window): New action function.
5619 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
5620
5621 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5622
5623 * vc/log-edit.el (log-edit-set-header): Extract from
5624 `log-edit-toggle-header'.
5625 (log-edit-extract-headers): Separate the summary, when extracted
5626 from header, from the rest of the message with an empty line.
5627
5628 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
5629 line, if present, to the Summary header.
5630
5631 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
5632
5633 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
5634 in current-buffer (bug#16029).
5635
5636 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
5637
5638 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
5639 (debugger-mode-map): Bind it.
5640 (debugger--backtrace-base): New function.
5641 (debugger-eval-expression): Use it.
5642 (debugger-frame-number): Skip local vars when present.
5643 (debugger--locals-visible-p, debugger--insert-locals)
5644 (debugger--show-locals, debugger--hide-locals): New functions.
5645
5646 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
5647
5648 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
5649 "LC_ALL".
5650 (tramp-get-remote-locale): New defun.
5651 (tramp-open-connection-setup-interactive-shell): Use it.
5652
5653 2013-12-02 Leo Liu <sdl.web@gmail.com>
5654
5655 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
5656
5657 * progmodes/sh-script.el (sh-shell-process):
5658 * progmodes/octave.el (inferior-octave-process-live-p):
5659 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
5660 (gdb-inferior-io-sentinel):
5661 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
5662
5663 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5664
5665 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
5666 `save-selected-window' to `log-edit-hide-buf'. This makes
5667 `log-edit-show-files' idempotent.
5668 (log-edit-show-files): Mark the new window as dedicated.
5669
5670 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
5671
5672 * vc/log-edit.el (log-edit-mode-map): Add binding for
5673 `log-edit-kill-biffer'.
5674 (log-edit-hide-buf): Add a FIXME comment.
5675 (log-edit-add-new-comment): New function, extracted from
5676 `log-edit-done'.
5677 (log-edit-done, log-edit-add-to-changelog): Use it.
5678 (log-edit-kill-buffer): New command.
5679
5680 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5681
5682 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
5683 instead of killing the buffer.
5684
5685 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5686
5687 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
5688
5689 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5690
5691 * net/eww.el (eww-form-checkbox-selected-symbol)
5692 (eww-form-checkbox-symbol): New customizable variable.
5693 (eww-form-checkbox, eww-toggle-checkbox):
5694 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
5695
5696 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
5697 (shr--get-media-pref, shr--extract-best-source): New function.
5698 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
5699 no :src tag was specified.
5700
5701 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
5702 (eww-render): Handle `eww-use-external-browser-for-content-type'.
5703 Use \\` to match beginning of string instead of ^.
5704 (eww-browse-with-external-browser): Provide optional URL parameter.
5705 (eww-render): Set `eww-current-title' back to "".
5706
5707 * net/shr.el (shr-tag-video): Display content for video if no
5708 poster is available.
5709 (shr-tag-audio): Add support for <audio> tag.
5710
5711 * net/eww.el (eww-text-input-types): New const.
5712 (eww-process-text-input): Treat input types in
5713 `eww-text-input-types' as text.
5714
5715 * net/shr.el (shr-tag-table): Fix comment typo.
5716
5717 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5718
5719 * net/eww.el (eww-follow-link): New command to avoid reloading
5720 pages when we follow #target links (bug#15243).
5721 (eww-quit): Special mode buffers shouldn't query before exiting.
5722
5723 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5724
5725 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
5726 forms.
5727
5728 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
5729
5730 * net/eww.el (eww-restore-history): Update the window title after
5731 moving in the history.
5732 (eww-current-dom): New variable used to save the current DOM.
5733
5734 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
5735
5736 * vc/log-edit.el (log-edit-mode-map): Add binding for
5737 `log-edit-beginning-of-line'.
5738 (log-edit-setup-add-author): New user option.
5739 (log-edit-beginning-of-line): New command.
5740 (log-edit): Move major mode call above the contents setup so that
5741 the local variable values are already applied.
5742 (log-edit): Only insert "Author: " when
5743 `log-edit-setup-add-author' is non-nil.
5744 (log-edit): When SETUP is non-nil, position point after ": "
5745 instead of point-min.
5746
5747 2013-12-01 Glenn Morris <rgm@gnu.org>
5748
5749 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
5750
5751 2013-11-30 Eli Zaretskii <eliz@gnu.org>
5752
5753 * startup.el (fancy-splash-frame): On MS-Windows, trigger
5754 redisplay to make sure the initial frame gets a chance to become
5755 visible. (Bug#16014)
5756
5757 2013-11-30 Martin Rudalics <rudalics@gmx.at>
5758
5759 Support resizing frames and windows pixelwise.
5760 * cus-start.el (frame-resize-pixelwise)
5761 (window-resize-pixelwise): New entries.
5762 * emacs-lisp/debug.el (debug): Use window-total-height instead
5763 of window-total-size.
5764 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
5765 * help.el (describe-bindings-internal): Use help-buffer as
5766 argument for with-help-window.
5767 (temp-buffer-max-width): New option.
5768 (resize-temp-buffer-window, help-window-setup)
5769 (with-help-window): Rewrite.
5770 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
5771 dragging dividers.
5772 * window.el (frame-char-size, window-min-pixel-height)
5773 (window-safe-min-pixel-height, window-safe-min-pixel-width)
5774 (window-min-pixel-width, window-safe-min-pixel-size)
5775 (window-combination-p, window-safe-min-size)
5776 (window-resizable-p, window--size-to-pixel)
5777 (window--pixel-to-size, window--resize-apply-p): New functions.
5778 (window-safe-min-height): Fix doc-string.
5779 (window-size, window-min-size, window--min-size-1)
5780 (window-sizable, window-sizable-p, window--min-delta-1)
5781 (window-min-delta, window--max-delta-1, window-max-delta)
5782 (window--resizable, window--resizable-p, window-resizable)
5783 (window-full-height-p, window-full-width-p, window-at-side-p)
5784 (window--in-direction-2, window-in-direction)
5785 (window--resize-reset-1, window--resize-mini-window)
5786 (window-resize, window-resize-no-error)
5787 (window--resize-child-windows-normal)
5788 (window--resize-child-windows, window--resize-siblings)
5789 (window--resize-this-window, window--resize-root-window)
5790 (window--resize-root-window-vertically)
5791 (adjust-window-trailing-edge, enlarge-window, shrink-window)
5792 (maximize-window, minimize-window, delete-window)
5793 (quit-restore-window, window-split-min-size, split-window)
5794 (balance-windows-2, balance-windows)
5795 (balance-windows-area-adjust, balance-windows-area)
5796 (window--state-get-1, window-state-get, window--state-put-1)
5797 (window--state-put-2, window-state-put)
5798 (display-buffer-record-window, window--display-buffer):
5799 Make functions handle pixelwise sizing of windows.
5800 (display-buffer--action-function-custom-type)
5801 (display-buffer-fallback-action):
5802 Add display-buffer-in-previous-window.
5803 (display-buffer-use-some-window): Resize window to height it had
5804 before.
5805 (fit-window-to-buffer-horizontally): New option.
5806 (fit-frame-to-buffer): Describe new values.
5807 (fit-frame-to-buffer-bottom-margin): Replace with
5808 fit-frame-to-buffer-margins.
5809 (window--sanitize-margin): New function.
5810 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
5811 using window-text-pixel-size.
5812
5813 2013-11-30 Glenn Morris <rgm@gnu.org>
5814
5815 * emacs-lisp/bytecomp.el (byte-compile-form):
5816 Make the `interactive-only' warning like the `obsolete' one.
5817 * comint.el (comint-run):
5818 * files.el (insert-file-literally, insert-file):
5819 * replace.el (replace-string, replace-regexp):
5820 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
5821 (goto-line, insert-buffer, next-line, previous-line):
5822 Tweak `interactive-only' spec.
5823
5824 Stop keeping (most) generated cedet grammar files in the repository.
5825 * Makefile.in (semantic): New.
5826 (compile-main): Depend on semantic.
5827
5828 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5829
5830 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
5831 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
5832
5833 * uniquify.el (uniquify-buffer-name-style): Change default.
5834
5835 * loadup.el: Preload "uniquify".
5836
5837 * time.el (display-time-update): Update all mode lines (bug#15999).
5838
5839 * electric.el (electric-indent-mode): Enable by default.
5840 * loadup.el: Preload "electric".
5841
5842 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
5843
5844 * emacs-lisp/helpers.el (string-empty-p): New function.
5845 (string-blank-p): New function.
5846
5847 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
5848
5849 * imenu.el (imenu--index-alist): Add missing dot to the docstring
5850 (Bug#14029).
5851
5852 2013-11-29 Andreas Politz <politza@fh-trier.de>
5853 * imenu.el (imenu--subalist-p): Don't error on non-conses and
5854 allow non-lambda lists as functions.
5855 (imenu--in-alist): Don't recurse into non-subalists.
5856 (imenu): Don't pass function itself as an argument (Bug#14029).
5857
5858 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
5859
5860 * progmodes/python.el (python-mode-map): Remove binding for ":".
5861 (python-indent-electric-colon): Remove command.
5862 (python-indent-post-self-insert-function): Integrate the previous code
5863 of python-indent-electric-colon. Make it conditional on
5864 electric-indent-mode.
5865 (python-mode): Add ?: to electric-indent-chars.
5866 Move python-indent-post-self-insert-function to the end of
5867 post-self-insert-hook.
5868
5869 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5870
5871 * doc-view.el (doc-view-goto-page): Update mode-line.
5872
5873 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
5874
5875 2013-11-27 Glenn Morris <rgm@gnu.org>
5876
5877 * international/charprop.el, international/uni-bidi.el:
5878 * international/uni-category.el, international/uni-combining.el:
5879 * international/uni-comment.el, international/uni-decimal.el:
5880 * international/uni-decomposition.el, international/uni-digit.el:
5881 * international/uni-lowercase.el, international/uni-mirrored.el:
5882 * international/uni-name.el, international/uni-numeric.el:
5883 * international/uni-old-name.el, international/uni-titlecase.el:
5884 * international/uni-uppercase.el:
5885 Remove generated files from VCS repository.
5886
5887 2013-11-27 Eli Zaretskii <eliz@gnu.org>
5888
5889 * filenotify.el (file-notify-add-watch): Don't special-case
5890 w32notify when computing the directory to watch.
5891
5892 2013-11-27 Glenn Morris <rgm@gnu.org>
5893
5894 Make bootstrap without generated uni-*.el files possible again.
5895 * loadup.el: Update command-line-args checking for unidata-gen.
5896 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
5897 * composite.el, international/characters.el:
5898 Handle unicode tables being undefined.
5899
5900 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
5901 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
5902 (compile-main): Depend on leim rule.
5903 (leim): New rule.
5904 * loadup.el: Move leim-list.el to leim/ subdirectory.
5905 * startup.el (normal-top-level): No more leim directory.
5906 * international/ja-dic-cnv.el (skkdic-convert):
5907 Disable version-control and autoloads in output files.
5908 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
5909 Disable version-control and autoloads in output files.
5910 * leim/quail: Move here from ../leim.
5911 * leim/quail/hangul.el (hangul-input-method-activate):
5912 Add autoload cookie.
5913 (generated-autoload-load-name): Set file-local value.
5914 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
5915 (generated-autoload-load-name): Set file-local value.
5916
5917 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
5918
5919 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
5920 (eww-add-bookmark): Ask confirmation when add to bookmarks.
5921 (eww-quit): Ask confirmation before quitting eww.
5922
5923 2013-11-26 Eli Zaretskii <eliz@gnu.org>
5924
5925 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
5926 reading output from Diff on MS-Windows and MS-DOS.
5927
5928 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
5929
5930 * emacs-lisp/helpers.el (string-reverse): New function.
5931
5932 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
5933
5934 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
5935 names on MS Windows, like "/[::1]:".
5936
5937 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
5938 SWITCHES.
5939
5940 2013-11-26 Glenn Morris <rgm@gnu.org>
5941
5942 * progmodes/python.el (python-indent-guess-indent-offset):
5943 Avoid corner-case error. (Bug#15975)
5944
5945 Preload leim-list.el. (Bug#4789)
5946 * loadup.el: Load leim-list.el when found.
5947 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
5948
5949 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
5950
5951 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
5952
5953 * emacs-lisp/helpers.el (string-join): New function.
5954
5955 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
5956
5957 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5958 Mark as obsolete and replace it with a symbol property.
5959 (byte-compile-form): Use new 'interactive-only property.
5960 * comint.el, files.el, replace.el, simple.el:
5961 Apply new 'interactive-only properly.
5962
5963 2013-11-25 Martin Rudalics <rudalics@gmx.at>
5964
5965 * window.el (display-buffer-at-bottom): Make sure that
5966 split-window-sensibly creates the new window on bottom
5967 (Bug#15961).
5968
5969 2013-11-23 David Kastrup <dak@gnu.org>
5970
5971 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
5972 on the conflict markers when available.
5973 (smerge--get-marker): New function.
5974 (smerge-end-re, smerge-base-re): Add subgroup.
5975
5976 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5977
5978 * frame.el (handle-focus-in, handle-focus-out): Add missing
5979 interactive spec.
5980
5981 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
5982
5983 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
5984 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
5985
5986 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5987
5988 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
5989 (gomoku--last-pos): New var.
5990 (gomoku--intangible-chars): New const.
5991 (gomoku--intangible): New function.
5992 (gomoku-mode): Use it. Derive from special-mode.
5993 (gomoku-move-up): Adjust line count.
5994 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
5995 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
5996 Simplify accordingly.
5997
5998 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
5999 Remove blink-cursor code.
6000 (blink-cursor-timer-function, blink-cursor-suspend):
6001 Don't special-case GUIs.
6002 (blink-cursor-mode): Use focus-in/out-hook.
6003
6004 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6005
6006 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6007 work when annotation is invisible (Bug#13886).
6008
6009 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6010
6011 * json.el (json-alist-p): Only return non-nil if the alist has
6012 simple keys (Bug#13518).
6013
6014 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6015
6016 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6017 when control-statement is the first statement in a buffer (Bug#15956).
6018
6019 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6020
6021 * imenu.el (imenu-generic-skip-comments-and-strings):
6022 New option (Bug#15560).
6023 (imenu--generic-function): Use it.
6024
6025 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6026
6027 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6028 (Bug#13898)
6029
6030 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6031
6032 * emacs-lisp/helpers.el: Add some string helpers.
6033 (string-trim-left): Removes leading whitespace.
6034 (string-trim-right): Removes trailing whitespace.
6035 (string-trim): Removes leading and trailing whitespace.
6036
6037 * subr.el (string-suffix-p): New function.
6038
6039 2013-11-23 Glenn Morris <rgm@gnu.org>
6040
6041 * progmodes/python.el (python-shell-send-file):
6042 Add option to delete file when done. (Bug#15647)
6043 (python-shell-send-string, python-shell-send-region): Use it.
6044
6045 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6046
6047 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
6048 to set buffer-read-only to t, never to nil. (Bug#15938)
6049
6050 * textmodes/tex-mode.el (latex-noindent-environments):
6051 Add safe-local-variable property. (Bug#15936)
6052
6053 2013-11-23 Glenn Morris <rgm@gnu.org>
6054
6055 * textmodes/enriched.el (enriched-mode): Doc fix.
6056 * emacs-lisp/authors.el (authors-renamed-files-alist):
6057 Add enriched.doc -> enriched.txt.
6058
6059 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
6060
6061 2013-11-22 Leo Liu <sdl.web@gmail.com>
6062
6063 * progmodes/octave.el (inferior-octave-startup): Spit out error
6064 message.
6065
6066 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
6067
6068 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6069 Improve docstring.
6070 Add :version.
6071 (ruby-encoding-magic-comment-style): Add :version.
6072
6073 2013-11-22 Leo Liu <sdl.web@gmail.com>
6074
6075 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
6076 (Bug#15076)
6077 (octave-help-mode): Adapt to change to help-mode-finish to use
6078 derived-mode-p on 2013-09-17.
6079 (inferior-octave-prompt): Also match octave-gui.
6080 (octave-kill-process): Don't ask twice. (Bug#10564)
6081
6082 2013-11-22 Leo Liu <sdl.web@gmail.com>
6083
6084 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
6085 (inferior-octave-startup, inferior-octave-check-process)
6086 (inferior-octave-track-window-width-change)
6087 (octave-completion-at-point, octave-eldoc-function): Use it.
6088 (octave-kill-process): Provide confirmation. (Bug#10564)
6089
6090 2013-11-21 Leo Liu <sdl.web@gmail.com>
6091
6092 * progmodes/octave.el (octave-mode, inferior-octave-mode):
6093 Fix obsolete variable comment-use-global-state.
6094
6095 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6096
6097 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
6098 Add `octave-source-file'.
6099 (octave-source-file): New function. (Bug#15935)
6100
6101 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
6102
6103 * net/eww.el (eww-local-regex): New variable.
6104 (eww): Use it to detect localhost and similar.
6105
6106 2013-11-21 Leo Liu <sdl.web@gmail.com>
6107
6108 Add completion for command `ag'.
6109 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
6110 (pcomplete/ag): New function.
6111 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
6112
6113 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
6114
6115 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
6116 (bug#14646).
6117 (make-obsolete): Remove interactive spec.
6118
6119 2013-11-21 Glenn Morris <rgm@gnu.org>
6120
6121 * startup.el (command-line-1): Use path-separator with -L.
6122
6123 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
6124
6125 * emacs-lisp/package.el (describe-package-1): Add package archive
6126 to shown fields.
6127
6128 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
6129
6130 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
6131 Change default to "# encoding: %s" to differentiate it from the
6132 default Ruby encoding comment template.
6133
6134 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
6135
6136 * ses.el (ses-mode): Doc fix. (Bug#14748)
6137
6138 2013-11-20 Leo Liu <sdl.web@gmail.com>
6139
6140 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
6141
6142 2013-11-19 Dan Nicolaescu <dann@gnu.org>
6143
6144 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
6145 when rebase or bisect are in progress.
6146
6147 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
6148
6149 * filenotify.el (file-notify-add-watch): Doc fix.
6150
6151 2013-11-19 Leo Liu <sdl.web@gmail.com>
6152
6153 * obsolete/rcompile.el: Mark obsolete.
6154
6155 * progmodes/compile.el (compilation-start)
6156 (compilation-goto-locus, compilation-find-file):
6157 Pass no-display-ok and handle nil value from display-buffer.
6158 (Bug#13594)
6159
6160 * window.el (display-buffer-alist, display-buffer): Document the
6161 new parameter no-display-ok. Return either a window or nil
6162 but never a non-window value.
6163
6164 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
6165
6166 * electric.el (electric-indent-mode-map): Remove.
6167 (electric-indent-mode): Change the global-map instead (bug#15915).
6168
6169 * textmodes/text-mode.el (paragraph-indent-minor-mode):
6170 Use add-function.
6171
6172 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
6173
6174 * emacs-lisp/nadvice.el (remove-function): Align with
6175 add-function's behavior.
6176
6177 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
6178 (gdb--string-regexp): New constant.
6179 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
6180 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
6181 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
6182 submatch 1.
6183 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
6184 Adjust use accordingly.
6185 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
6186
6187 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
6188
6189 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
6190 interpolation curlies (Bug#15914).
6191
6192 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
6193
6194 * calc/calc.el (calc-context-sensitive-enter): New variable.
6195 (calc-enter): Use `calc-context-sensitive-enter'.
6196
6197 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
6198
6199 * progmodes/cfengine.el: Version bump.
6200 (cfengine-cf-promises): New defcustom to locate cf-promises.
6201 (cfengine3-vartypes): Add new "data" type.
6202 (cfengine3--current-word): New function to get current name-like
6203 word or its bounds.
6204 (cfengine3--current-function): New function to look up a CFEngine
6205 function's definition.
6206 (cfengine3-format-function-docstring): New function.
6207 (cfengine3-make-syntax-cache): New function.
6208 (cfengine3-documentation-function): New function: ElDoc glue.
6209 (cfengine3-completion-function): New function: completion glue.
6210 (cfengine3-mode): Set `compile-command',
6211 `eldoc-documentation-function', and add to
6212 `completion-at-point-functions'.
6213
6214 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
6215
6216 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6217 `tramp-current-connection'.
6218
6219 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
6220
6221 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
6222 nil/self/true/false with "end of symbol".
6223
6224 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
6225
6226 * subr.el (version-regexp-alist): Fix a typo.
6227
6228 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
6229
6230 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
6231 "en_US.utf8" and "LC_CTYPE" to "".
6232 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
6233 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
6234
6235 2013-11-15 Leo Liu <sdl.web@gmail.com>
6236
6237 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
6238
6239 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6240
6241 * progmodes/gud.el (ctl-x-map):
6242 Remove C-x SPC binding. (Bug#12342)
6243 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
6244
6245 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
6246
6247 * subr.el (version-regexp-alist):
6248 Recognize hg, svn and darcs versions as snapshot versions.
6249
6250 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
6251 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
6252 (ruby--encoding-comment-required-p): Extract from
6253 `ruby-mode-set-encoding'.
6254 (ruby-mode-set-encoding): Add the ability to always insert an
6255 utf-8 encoding comment. Fix and simplify coding comment update
6256 logic.
6257
6258 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
6259
6260 * net/tramp-gvfs.el (top): Run init code only when
6261 `tramp-gvfs-enabled' is not nil.
6262 (tramp-gvfs-enabled): Check also :system bus.
6263
6264 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6265
6266 Sync with upstream verilog-mode revision 78e66ba.
6267 * progmodes/verilog-mode.el (verilog-end-of-defun)
6268 (verilog-type-completion, verilog-get-list): Remove unused funcs.
6269 (verilog-get-end-of-defun): Remove unused argument.
6270 (verilog-comment-depth): Remove unused local `e'.
6271 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
6272 Don't pass arg to verilog-get-end-of-defun.
6273
6274 2013-11-14 Glenn Morris <rgm@gnu.org>
6275
6276 * obsolete/assoc.el (aget): Prefix dynamic variable.
6277
6278 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
6279
6280 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
6281
6282 * widget.el, hfy-cmap.el: Remove bogus package version number.
6283
6284 2013-11-13 Glenn Morris <rgm@gnu.org>
6285
6286 * replace.el (replace-eval-replacement):
6287 Try to give more helpful error message. (Bug#15836)
6288
6289 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6290 (archive-7z-update): Avoid custom type mismatches.
6291
6292 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
6293
6294 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
6295
6296 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
6297 address can be empty.
6298
6299 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
6300 Accept nil SWITCHES.
6301 (tramp-gvfs-handle-write-region): Implement APPEND.
6302
6303 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
6304
6305 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
6306 binary "|" operator and closing block args delimiter.
6307 Remove FIXME comment referring to Ruby 1.8-only syntax.
6308 (ruby-smie--implicit-semi-p): Not after "|" operator.
6309 (ruby-smie--closing-pipe-p): New function.
6310 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
6311 (ruby-smie-rules): Indent after "|".
6312
6313 2013-11-12 Glenn Morris <rgm@gnu.org>
6314
6315 * ps-print.el (ps-face-attribute-list):
6316 Handle anonymous faces. (Bug#15827)
6317
6318 2013-11-12 Martin Rudalics <rudalics@gmx.at>
6319
6320 * window.el (display-buffer-other-frame): Fix doc-string.
6321 (Bug#15868)
6322
6323 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6324
6325 * subr.el (force-mode-line-update): Delete, move to buffer.c.
6326
6327 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
6328
6329 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
6330 (tramp-sh-handle-file-local-copy): Don't write a message when
6331 saving temporary files.
6332
6333 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
6334 both directories are remote.
6335 (tramp-smb-handle-directory-files): Do not return double entries.
6336 Do not expand full file names.
6337 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
6338 (tramp-smb-handle-write-region): Implement APPEND.
6339 (tramp-smb-get-stat-capability): Fix a stupid bug.
6340
6341 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6342
6343 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
6344
6345 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6346
6347 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
6348 throwing error over malformed let/let* (bug#15814).
6349
6350 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
6351
6352 * iswitchb.el (iswitchb-mode): Mark obsolete.
6353
6354 2013-11-11 Glenn Morris <rgm@gnu.org>
6355
6356 * international/uni-bidi.el, international/uni-category.el:
6357 * international/uni-name.el, international/uni-numeric.el:
6358 Regenerate for Unicode 6.3.0.
6359
6360 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
6361
6362 * net/tramp.el (tramp-methods):
6363 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
6364 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
6365
6366 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
6367
6368 * progmodes/sh-script.el (sh-font-lock-keywords-var):
6369 Force highlighting text after Summary keyword in doc face for rpm.
6370
6371 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
6372
6373 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
6374 available and the word has no wildcards, append one to the grep pattern.
6375 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
6376 (ispell-complete-word): Call `ispell-lookup-words' with the value
6377 independent of `ispell-look-p'.
6378
6379 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6380
6381 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
6382 Not after "||".
6383 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
6384 their parent.
6385
6386 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6387
6388 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
6389 (ruby-font-lock-keywords): Use backquote.
6390
6391 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6392
6393 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6394 (ruby-smie--backward-token): Only consider full-string matches.
6395
6396 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
6397
6398 * faces.el (describe-face): Add distant-foreground.
6399
6400 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
6401
6402 * progmodes/ruby-mode.el: Improve encoding comment handling.
6403 (ruby-encoding-magic-comment-style): New option.
6404 (ruby-custom-encoding-magic-comment-template): New option.
6405 (ruby--insert-coding-comment, ruby--detect-encoding):
6406 New functions extracted from `ruby-mode-set-encoding'.
6407 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
6408 to control the style of the auto-inserted encoding comment.
6409
6410 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6411
6412 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
6413 Use `smie-backward-sexp' with token argument.
6414
6415 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
6416
6417 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6418 Remove instrumentation code.
6419
6420 2013-11-08 Glenn Morris <rgm@gnu.org>
6421
6422 * progmodes/autoconf.el (autoconf-mode):
6423 Tweak comment-start-skip. (Bug#15822)
6424
6425 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
6426
6427 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
6428 at bobp (bug#15826).
6429 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
6430
6431 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
6432
6433 * man.el (Man-start-calling): New macro, extracted from
6434 Man-getpage-in-background.
6435 (Man-getpage-in-background): Use it.
6436 (Man-update-manpage): New command.
6437 (Man-mode-map): Bind it.
6438
6439 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
6440
6441 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
6442 of "and", "or", "&&" and "||".
6443 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
6444 argument. Prohibit opening curly brace because it could only be a
6445 block opener in that position.
6446 (ruby-smie--forward-token, ruby-smie--backward-token):
6447 Separate "|" from "&" or "*" going after it. That can happen in block
6448 arguments.
6449 (ruby-smie--indent-to-stmt): New function, seeks the end of
6450 previous statement or beginning of buffer.
6451 (ruby-smie-rules): Use it.
6452 (ruby-smie-rules): Check if there's a ":" before a curly block
6453 opener candidate; if there is, it's a hash.
6454
6455 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
6456
6457 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
6458 (cl--block-wrapper): Fix last accidental change.
6459
6460 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
6461
6462 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
6463 Instrument, in order to hunt failure on hydra.
6464
6465 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6466
6467 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
6468 malformed bindings form (bug#15814).
6469
6470 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
6471
6472 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
6473 "." compared to " @ ". This incidentally fixes some indentation
6474 examples with "do".
6475 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
6476 (ruby-smie-grammar): New tokens: "and" and "or".
6477 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
6478 Exclude "and" and "or". Remove "do" in order to work around token
6479 priorities.
6480 (ruby-smie-rules): Add all infix tokens. Handle the case of
6481 beginning-of-buffer.
6482
6483 2013-11-06 Glenn Morris <rgm@gnu.org>
6484
6485 * Makefile.in (setwins_almost, setwins_for_subdirs):
6486 Avoid accidental matches.
6487
6488 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6489
6490 * menu-bar.el (popup-menu): Use key-binding.
6491
6492 2013-11-06 Eli Zaretskii <eliz@gnu.org>
6493
6494 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
6495 menus, support also the menus produced by minor modes.
6496 (Bug#15817)
6497
6498 2013-11-06 Leo Liu <sdl.web@gmail.com>
6499
6500 * thingatpt.el (thing-at-point-looking-at): Add optional arg
6501 DISTANCE to bound the search. All uses changed. (Bug#15808)
6502
6503 2013-11-06 Glenn Morris <rgm@gnu.org>
6504
6505 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
6506 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
6507 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
6508
6509 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
6510
6511 * electric.el (electric-indent-just-newline): New command.
6512 (electric-indent-mode-map): New keymap.
6513 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
6514 Re-add :group which weren't redundant.
6515
6516 * electric.el (electric-indent-local-mode): New minor mode.
6517 (electric-indent-functions-without-reindent): New var.
6518 (electric-indent-post-self-insert-function): Use it.
6519 * emacs-lisp/gv.el (buffer-local-value): Add setter.
6520
6521 2013-11-05 Eli Zaretskii <eliz@gnu.org>
6522
6523 * international/quail.el (quail-help): Be more explicit about the
6524 meaning of the labels shown on the keys. (Bug#15800)
6525
6526 * startup.el (normal-top-level): Load the subdirs.el files before
6527 setting the locale environment. (Bug#15805)
6528
6529 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6530
6531 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
6532 via arguments so as to get the right ones (bug#15418).
6533
6534 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
6535
6536 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
6537
6538 Fix problems found while writing a test suite.
6539
6540 * net/tramp-compat.el (tramp-compat-load): New defun.
6541 * net/tramp.el (tramp-handle-load): Use it.
6542
6543 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
6544 "(numberp ok-if-already-exists)" correctly.
6545
6546 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
6547
6548 * international/characters.el (glyphless-char-display-control):
6549 Add usage note.
6550
6551 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
6552
6553 * progmodes/python.el (python-mode):
6554 * progmodes/scheme.el (scheme-mode):
6555 * progmodes/prolog.el (prolog-mode):
6556 * progmodes/ruby-mode.el (ruby-mode):
6557 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
6558 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
6559
6560 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6561
6562 * rect.el (rectangle--highlight-for-redisplay):
6563 * emacs-lisp/smie.el (smie--next-indent-change):
6564 Use buffer-chars-modified-tick.
6565
6566 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
6567
6568 * electric.el (electric-indent-post-self-insert-function):
6569 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
6570
6571 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
6572
6573 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
6574
6575 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6576
6577 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
6578 (bug#15786).
6579
6580 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6581
6582 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
6583
6584 * progmodes/python.el: Fix up last change.
6585 (python-shell--save-temp-file): New function.
6586 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
6587 `string' comes from the current buffer.
6588 (python-shell-send-string-no-output): Remove `msg' arg.
6589 (python--use-fake-loc): New var.
6590 (python-shell-buffer-substring): Obey it. Try to compensate for the
6591 extra coding line added by python-shell--save-temp-file.
6592 (python-shell-send-region): Use python-shell--save-temp-file and
6593 python-shell-send-file directly. Add `nomain' argument.
6594 (python-shell-send-buffer): Use python-shell-send-region.
6595 (python-electric-pair-string-delimiter): New function.
6596 (python-mode): Use it.
6597
6598 2013-11-04 Eli Zaretskii <eliz@gnu.org>
6599
6600 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
6601 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
6602 environment and decoding all of the default-directory's to here
6603 from command-line.
6604 (command-line): Decode also argv[0].
6605
6606 * loadup.el: Error out if default-directory is a multibyte string
6607 when we are dumping.
6608
6609 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
6610
6611 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
6612
6613 * emacs-lisp/package.el (package-menu-mode)
6614 (package-menu--print-info, package-menu--archive-predicate):
6615 Add Archive column to package list.
6616
6617 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
6618
6619 Fix problems found while writing a test suite.
6620
6621 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
6622 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
6623 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
6624 to nil when running original file name handler. Otherwise,
6625 there are problems with constructs like "$$FOO".
6626
6627 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
6628 for `localname'.
6629
6630 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
6631
6632 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
6633
6634 * subr.el (version<, version<=, version=):
6635 Update docstrings with information for snapshot versions.
6636
6637 * helpers.el: New library for misc helper functions.
6638 (hash-table-keys): New function returning a list of hash keys.
6639 (hash-table-values): New function returning a list of hash values.
6640
6641 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
6642
6643 * progmodes/ruby-mode.el (ruby-smie--forward-token)
6644 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
6645
6646 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
6647
6648 * textmodes/fill.el (fill-single-char-nobreak-p): New function
6649 checking whether point is after a 1-letter word.
6650
6651 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6652
6653 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
6654 Don't infloop when expanding region over `multiline' syntax-type that
6655 begins a line (bug#15778).
6656
6657 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6658
6659 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
6660 Make it into a proper minor mode.
6661 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
6662 (rectangle-mark-mode-map): New keymap.
6663 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
6664
6665 2013-11-04 Glenn Morris <rgm@gnu.org>
6666
6667 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
6668
6669 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6670
6671 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
6672 (ruby-smie-rules): Use smie-rule-parent instead.
6673
6674 * emacs-lisp/smie.el (smie-rule-parent): Always call
6675 smie-indent-virtual rather than only for hanging tokens.
6676 (smie--next-indent-change): New helper command.
6677
6678 2013-11-03 Glenn Morris <rgm@gnu.org>
6679
6680 * Makefile.in (abs_srcdir): Remove.
6681 (emacs): Unset EMACSLOADPATH.
6682
6683 2013-11-02 Glenn Morris <rgm@gnu.org>
6684
6685 * Makefile.in (EMACS): Use a relative filename.
6686 (abs_top_builddir): Remove.
6687 (custom-deps, finder-data, autoloads): Use --chdir.
6688
6689 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
6690
6691 Use relative filenames in TAGS files.
6692 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6693 (lisptagsfiles4, TAGS): Use relative file names.
6694 (TAGS-LISP): Remove.
6695 (maintainer-clean): No more TAGS-LISP file.
6696
6697 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
6698 (lisptagsfiles4): Use absolute filenames again.
6699 (TAGS, TAGS-LISP): Not everything needs to run in one line.
6700 Remove all *loaddefs files, not just the first. Remove esh-groups.
6701 (maintainer-clean): Delete TAGS, TAGS-LISP.
6702
6703 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6704
6705 * emacs-lisp/package.el (package-version-join):
6706 Recognize snapshot versions.
6707
6708 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6709
6710 * subr.el (version-regexp-alist): Add support for snapshot versions.
6711
6712 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6713
6714 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
6715 New function, replacement for `smie-rule-parent' for when we want to
6716 skip over our direct parent if it's an assignment token..
6717 (ruby-smie-rules): Use it.
6718
6719 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
6720
6721 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
6722 unconditionally. Remove now unnecessary forward declarations.
6723 Remove XEmacs-specific setup.
6724 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
6725 (ruby-font-lock-syntactic-keywords)
6726 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
6727 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
6728 (ruby-here-doc-end-syntax): Remove.
6729 (ruby-mode): Don't check whether `syntax-propertize-rules' is
6730 defined as function.
6731
6732 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
6733
6734 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
6735
6736 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6737
6738 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
6739 table and abbrev table, `define-derived-mode' does that for us
6740 anyway.
6741
6742 2013-11-01 Glenn Morris <rgm@gnu.org>
6743
6744 * Makefile.in: Remove manual mh-e dependencies (writing .elc
6745 files is atomic for some time, so no parallel compilation issues).
6746
6747 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
6748
6749 * faces.el (face-x-resources): Add :distant-foreground.
6750 (region): Use :distant-foreground for gtk and ns.
6751
6752 2013-11-01 Tassilo Horn <tsdh@gnu.org>
6753
6754 Allow multiple bibliographies when BibLaTeX is used rather than
6755 BibTeX.
6756 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
6757 (reftex-locate-bibliography-files): Us it.
6758
6759 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
6760
6761 * image.el (image-type-header-regexps): Fix the 'pbm' part to
6762 allow comments in pbm files.
6763
6764 * term/w32-win.el (dynamic-library-alist): Support newer versions
6765 of libjpeg starting with v7: look only for the DLL from the
6766 version against which Emacs was built.
6767 Support versions of libpng beyond 1.4.x.
6768 Support libtiff v4.x.
6769
6770 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
6771
6772 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
6773 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
6774 Add property :safe.
6775 (ruby-deep-arglist): Add property :type.
6776
6777 2013-10-31 Glenn Morris <rgm@gnu.org>
6778
6779 * Makefile.in (custom-deps, finder-data): No need to setq the target
6780 variables, we are in the right directory and the defaults work fine.
6781
6782 2013-10-30 Glenn Morris <rgm@gnu.org>
6783
6784 * Makefile.in (autoloads): Do not use abs_lisp.
6785
6786 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
6787 `newline' does not respect `standard-output', so use `princ'.
6788
6789 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
6790
6791 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
6792 * buff-menu.el (Buffer-menu--unmark): New function.
6793 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
6794
6795 2013-10-30 Glenn Morris <rgm@gnu.org>
6796
6797 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
6798
6799 * emacs-lisp/package.el (lm-homepage): Declare.
6800
6801 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
6802 Fix doc typos.
6803
6804 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
6805
6806 * Makefile.in (finder-data, autoloads, update-subdirs)
6807 (compile-main, compile-clean, compile-always, bootstrap-clean):
6808 Check return value of cd.
6809 (compile-calc): Remove.
6810
6811 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6812
6813 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
6814
6815 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
6816 (byte-compile-and-folded): New function.
6817 (=, <, >, <=, >=): Use it.
6818
6819 * dos-w32.el (minibuffer-history-case-insensitive-variables)
6820 (path-separator, null-device, buffer-file-coding-system)
6821 (lpr-headers-switches): Check system-type before modifying them.
6822 (find-buffer-file-type-coding-system): Mark obsolete.
6823 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
6824 find-file-not-found-set-buffer-file-coding-system.
6825 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
6826 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
6827 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
6828 (w32-direct-print-region-helper, w32-direct-print-region-function)
6829 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
6830 * startup.el (normal-top-level-add-subdirs-to-load-path):
6831 * ps-print.el (ps-print-region-function):
6832 * lpr.el (print-region-function): Use new name.
6833
6834 * subr.el (custom-declare-variable-early): Remove function.
6835 (custom-declare-variable-list): Remove var.
6836 (error, user-error): Remove `while' loop.
6837 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
6838 (user-emacs-directory-warning, locate-user-emacs-file):
6839 Move to files.el.
6840 * simple.el (read-quoted-char-radix, read-quoted-char):
6841 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
6842 Move from subr.el.
6843 * custom.el (custom-declare-variable-list): Don't process
6844 custom-declare-variable-list.
6845
6846 * progmodes/python.el (python-shell-get-buffer): New function.
6847 (python-shell-get-process): Use it.
6848 (python-shell-send-string): Always use utf-8 and add a cookie to tell
6849 Python which encoding was used. Don't split-string since we only care
6850 about the first line. Return the temp-file, if applicable.
6851 (python-shell-send-region): Tell compile.el how to turn locations in
6852 the temp-file into locations in the source buffer.
6853
6854 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
6855
6856 * subr.el (undefined): Add missing behavior from the C code for
6857 unbound keys.
6858
6859 * rect.el: Use lexical-binding. Add new rectangular region support.
6860 (rectangle-mark): New command.
6861 (rectangle--region): New var.
6862 (deactivate-mark-hook): Reset rectangle--region.
6863 (rectangle--extract-region, rectangle--insert-for-yank)
6864 (rectangle--highlight-for-redisplay)
6865 (rectangle--unhighlight-for-redisplay): New functions.
6866 (region-extract-function, redisplay-unhighlight-region-function)
6867 (redisplay-highlight-region-function): Use them to handle
6868 rectangular region.
6869 * simple.el (region-extract-function): New var.
6870 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
6871 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
6872 (kill-region): Replace obsolete `yank-handler' arg with `region'.
6873 (copy-region-as-kill, kill-ring-save): Add `region' argument.
6874 (redisplay-unhighlight-region-function)
6875 (redisplay-highlight-region-function): New vars.
6876 (redisplay--update-region-highlight): New function.
6877 (pre-redisplay-function): Use it.
6878 (exchange-point-and-mark): Don't deactivate the mark before
6879 reactivate-it anyway.
6880 * comint.el (comint-kill-region): Remove yank-handler argument.
6881 * delsel.el (delete-backward-char, backward-delete-char-untabify)
6882 (delete-char): Remove property, since it's now part of their
6883 default behavior.
6884 (self-insert-iso): Remove property since this command doesn't exist.
6885
6886 * emacs-lisp/package.el (package--download-one-archive)
6887 (describe-package-1): Don't query the user about final newline.
6888
6889 2013-10-29 Daniel Colascione <dancol@dancol.org>
6890
6891 * net/tramp.el (tramp-methods): Document new functionality.
6892 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
6893 tramp-hostname-checker if method provides one instead of scanning
6894 argument list for "%h" to decide hostname acceptability.
6895
6896 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
6897
6898 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
6899 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6900 Handle COPY-CONTENTS. (Bug#15737)
6901
6902 2013-10-28 Daiki Ueno <ueno@gnu.org>
6903
6904 * epa-file.el
6905 (epa-file-cache-passphrase-for-symmetric-encryption):
6906 Document that this option has no effect with GnuPG 2.0 (bug#15552).
6907
6908 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
6909
6910 * image.el (defimage, image-load-path): Doc fixes.
6911
6912 2013-10-27 Alan Mackenzie <acm@muc.de>
6913
6914 Indent statements in macros following "##" correctly.
6915 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
6916 Modify the "#" arm of a cond form to handle "#" and "##" operators.
6917
6918 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6919
6920 * linum.el (linum-update-window): Fix boundary test (bug#13446).
6921
6922 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
6923
6924 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
6925 after `=' is probably a new expression.
6926
6927 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6928
6929 * man.el (man-imenu-title): New option.
6930 (Man-mode-map): Add menu. (Bug#15722)
6931 (Man-mode): Add imenu to menu.
6932
6933 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
6934
6935 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
6936 specific in what the first arg can be: a non-keyword word,
6937 string/regexp/percent literal opener, opening paren, or unary
6938 operator followed directly by word.
6939
6940 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6941
6942 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
6943 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
6944 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
6945 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
6946 Remove vars, they do not apply any more.
6947 (prolog-mode-abbrev-table): Remove redundant declaration.
6948 (prolog-upper-case-string, prolog-lower-case-string): Remove.
6949 (prolog-use-smie): Remove.
6950 (prolog-smie-rules): Add indentation rule for the if-then-else layout
6951 supported by prolog-electric-if-then-else-flag.
6952 (prolog-mode-variables, prolog-menu): Use setq-local.
6953 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
6954 Remove binding to `Backspace' since this key doesn't exist anyway.
6955 Remove bindings for electric self-inserting keys.
6956 (prog-mode): Assume it's defined.
6957 (prolog-post-self-insert): New function.
6958 (prolog-mode): Use it.
6959 (prolog-indent-line, prolog-indent-level)
6960 (prolog-find-indent-of-matching-paren)
6961 (prolog-indentation-level-of-line, prolog-goto-comment-column)
6962 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
6963 (prolog-goto-next-paren, prolog-in-string-or-comment)
6964 (prolog-tokenize, prolog-inside-mline-comment)
6965 (prolog-find-start-of-mline-comment): Remove functions.
6966 (prolog-find-unmatched-paren, prolog-clause-end)
6967 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
6968 (prolog-electric--if-then-else): Rename from
6969 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
6970 (prolog-tokenize-searchkey): Remove const.
6971 (prolog-clause-info): Use forward-sexp.
6972 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
6973 (prolog-electric-if-then-else): Remove commands.
6974 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
6975 for use in post-self-insert-hook.
6976 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
6977 for use in post-self-insert-hook.
6978 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
6979 for use in post-self-insert-hook.
6980 (prolog-electric--underscore): Rename from prolog-electric--underscore;
6981 adapt it for use in post-self-insert-hook.
6982
6983 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
6984
6985 * emacs-lisp/ert.el (ert-run-tests-interactively):
6986 Use `completing-read'. (Bug#9756)
6987
6988 2013-10-25 Eli Zaretskii <eliz@gnu.org>
6989
6990 * simple.el (line-move): Call line-move-1 instead of
6991 line-move-visual when the current window hscroll is zero, but
6992 temporary-goal-column indicates we will need to hscroll as result
6993 of the movement. (Bug#15712)
6994
6995 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
6996
6997 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
6998 capitalization. Use :visible instead of :active.
6999 Fix `ruby-indent-exp' reference. Add menu items for the generic
7000 commands that are used with SMIE.
7001 (ruby-do-end-to-brace): Insert space after `{'.
7002
7003 2013-10-25 John Anthony <john@jo.hnanthony.com>
7004
7005 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7006
7007 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7008
7009 2013-10-25 Glenn Morris <rgm@gnu.org>
7010
7011 * vc/vc.el (vc-print-log): Don't use a working revision unless
7012 one was explicitly specified. (Bug#15322)
7013
7014 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7015
7016 * subr.el (add-to-list): Preserve return value in compiler-macro
7017 (bug#15692).
7018
7019 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7020
7021 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7022 result. Ask user to retry using '-all' flag. (Bug#15701)
7023
7024 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7025
7026 * emacs-lisp/smie.el: New smie-config system.
7027 (smie-config): New defcustom.
7028 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7029 (smie-config-guess, smie-config-save): New commands.
7030 (smie-config--mode-local, smie-config--buffer-local)
7031 (smie-config--trace, smie-config--modefuns): New vars.
7032 (smie-config--advice, smie-config--mode-hook)
7033 (smie-config--setter, smie-config-local, smie-config--get-trace)
7034 (smie-config--guess-value, smie-config--guess): New functions.
7035 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7036 text properties. Treat "string fence" syntax like string syntax.
7037
7038 * progmodes/sh-script.el (sh-use-smie): Change default.
7039 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7040 (sh-var-value): Simplify by CSE.
7041 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7042 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7043 is used.
7044 (sh-guess-basic-offset): Use cl-incf.
7045 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7046
7047 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
7048
7049 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
7050 (bug#15699).
7051
7052 2013-10-24 Glenn Morris <rgm@gnu.org>
7053
7054 * Makefile.in (abs_top_srcdir): Remove.
7055 (update-subdirs): Use relative path to update-subdirs.
7056
7057 2013-10-24 Eli Zaretskii <eliz@gnu.org>
7058
7059 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
7060 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
7061 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
7062 Call unmsys--file-name before expand-file-name, not after it.
7063
7064 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
7065
7066 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
7067 (ert-test-skipped): New error.
7068 (ert-skip, ert-stats-skipped): New defuns.
7069 (ert--skip-unless): New macro.
7070 (ert-test-skipped): New struct.
7071 (ert--run-test-debugger, ert-test-result-type-p)
7072 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
7073 (ert--stats-set-test-and-result, ert-char-for-test-result)
7074 (ert-string-for-test-result, ert-run-tests-batch)
7075 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
7076 Handle skipped tests. (Bug#9803)
7077
7078 2013-10-24 Glenn Morris <rgm@gnu.org>
7079
7080 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
7081
7082 * Makefile.in (abs_top_srcdir): New, set by configure.
7083 (update-subdirs): Correct build-aux location.
7084
7085 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
7086
7087 * vc/vc.el (vc-print-root-log): Always set `default-directory'
7088 value, whether we could auto-deduce `backend', or not.
7089
7090 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
7091 with parameters" example. Simplify the "is it block or is it
7092 hash" check, but also make it more thorough.
7093
7094 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
7095
7096 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
7097
7098 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7099
7100 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
7101 { if it is hanging.
7102
7103 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
7104 :before ";".
7105
7106 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
7107
7108 * progmodes/compile.el (compilation-directory-matcher)
7109 (compilation-page-delimiter):
7110 Support GNU Make-4.0 directory quoting. (Bug#15678)
7111
7112 2013-10-23 Leo Liu <sdl.web@gmail.com>
7113
7114 * ido.el (ido-tidy): Handle read-only text.
7115
7116 2013-10-23 Glenn Morris <rgm@gnu.org>
7117
7118 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
7119 (emacs, compile, compile-always):
7120 Quote entities that might contain whitespace.
7121 (custom-deps, finder-data, autoloads): Use abs_lisp.
7122 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7123 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7124 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
7125
7126 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
7127
7128 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
7129 Use `following-char'.
7130
7131 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7132
7133 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
7134 * progmodes/ruby-mode.el (ruby-smie-rules):
7135 Remove corresponding workaround. Fix indentation rule of ";" so it
7136 also applies when ";" is the parent.
7137
7138 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
7139
7140 * frame.el (display-screens, display-pixel-height)
7141 (display-pixel-width, display-mm-width, display-backing-store)
7142 (display-save-under, display-planes, display-color-cells)
7143 (display-visual-class, display-monitor-attributes-list):
7144 Mention the optional ‘display’ argument in doc strings.
7145
7146 2013-10-22 Michael Gauland <mikelygee@amuri.net>
7147
7148 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
7149 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
7150
7151 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7152
7153 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
7154 TODO. Add "." after " @ ".
7155 (ruby-smie--at-dot-call): New function. Checks if point at method
7156 call with explicit target.
7157 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
7158 to the method name tokens when it precedes them.
7159 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
7160 (ruby-smie-rules): Add rule for indentation before and after "."
7161 token.
7162
7163 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7164
7165 * textmodes/remember.el (remember-diary-extract-entries):
7166 Avoid add-to-list.
7167
7168 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
7169 an instruction.
7170
7171 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
7172
7173 * progmodes/ruby-mode.el (ruby-smie-grammar):
7174 Add (almost) all infix operators.
7175 (ruby-smie--implicit-semi-p): Add new operator chars.
7176
7177 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
7178 `smie-down-list'.
7179 (ruby-smie--args-separator-p): Check that there's no newline
7180 between method call and its arguments.
7181
7182 2013-10-20 Alan Mackenzie <acm@muc.de>
7183
7184 Allow comma separated lists after Java "implements".
7185
7186 * progmodes/cc-engine.el (c-backward-over-enum-header):
7187 Parse commas.
7188 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
7189 from a "disallowed" list in enum fontification.
7190
7191 2013-10-20 Johan Bockgård <bojohan@gnu.org>
7192
7193 * startup.el (default-frame-background-mode): Remove unused defvar.
7194
7195 * progmodes/verilog-mode.el (verilog-mode): Don't set
7196 comment-indent-function globally.
7197
7198 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
7199
7200 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
7201 Move Info menu item creation to ns-win.el.
7202
7203 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
7204 in menu bar.
7205
7206 * menu-bar.el: Move GNUstep specific menus...
7207
7208 * term/ns-win.el (ns-initialize-window-system): ... to here.
7209
7210 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7211
7212 * simple.el (newline): Only run post-self-insert-hook when
7213 called interactively.
7214
7215 2013-10-19 Johan Bockgård <bojohan@gnu.org>
7216
7217 * icomplete.el (icomplete-with-completion-tables): Add :version.
7218
7219 2013-10-19 Alan Mackenzie <acm@muc.de>
7220
7221 Fix fontification bugs with constructors and const.
7222
7223 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
7224 CASE 2) Remove the check for the absence of a suffix construct
7225 after a function declaration with only types (no identifiers) in
7226 the parentheses. Also, accept a function declaration with just a
7227 type inside the parentheses, if this type can be positively
7228 recognised as such, or if a prefix keyword like "explicit" nails
7229 down the construct as a declaration.
7230
7231 2013-10-19 Eli Zaretskii <eliz@gnu.org>
7232
7233 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
7234 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
7235 the problem whereby selecting a menu item that leads to a
7236 minibuffer prompt moves the cursor out of the minibuffer window,
7237 making it hard to type at the prompt. Suggested by Stefan Monnier
7238 <monnier@iro.umontreal.ca>.
7239
7240 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
7241
7242 * menu-bar.el: Don't make Services menu.
7243
7244 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7245
7246 * ffap.el: Handle "/usr/include/c++/<version>" directories.
7247 (ffap-alist): Use ffap-c++-mode for c++-mode.
7248 (ffap-c++-path): New variable.
7249 (ffap-c++-mode): New function.
7250
7251 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
7252
7253 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
7254
7255 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
7256
7257 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
7258 introduced on 2013-09-08, which results in an infinite loop
7259 requesting a password.
7260
7261 2013-10-18 Glenn Morris <rgm@gnu.org>
7262
7263 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
7264
7265 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
7266
7267 Sync with upstream verilog-mode revision 1a6ecec7.
7268 * progmodes/verilog-mode.el (verilog-mode-version): Update.
7269 (verilog-mode-release-date): Remove.
7270 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
7271 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
7272 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
7273 (verilog-auto-tieoff-ignore-regexp)
7274 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
7275 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
7276 (verilog-signals-with, verilog-dir-cache-preserving)
7277 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
7278 Doc fixes.
7279 (verilog-case-fold): New option, to control case folding in
7280 regexp searches, bug597.
7281 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
7282 (verilog-string-match-fold, verilog-in-paren-count)
7283 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
7284 (verilog-at-close-struct-p): New functions.
7285 (verilog-beg-block-re-ordered, verilog-extended-case-re)
7286 (verilog-forward-sexp, verilog-set-auto-endcomments)
7287 (verilog-leap-to-case-head): Handle "unique0" case.
7288 (verilog-in-constraint-re): New constant.
7289 (verilog-keywords, verilog-type-font-keywords):
7290 Add some SystemVerilog 1800-2012 keywords.
7291 (verilog-label-be): Remove unimplemented argument, bug669.
7292 (verilog-batch-execute-func): When batch expanding clear
7293 create-lockfiles to prevent spurious user locks when a file ends
7294 up not changing.
7295 (verilog-calculate-indent, verilog-calc-1)
7296 (verilog-at-close-constraint-p, verilog-at-constraint-p)
7297 (verilog-do-indent): Fix indentation of nested constraints
7298 and structures.
7299 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
7300 (verilog-auto-inst-param): Use verilog-string-match-fold.
7301 (verilog-read-inst-module-matcher):
7302 Fix AUTOINST on gate primitives with #1.
7303 (verilog-read-decls): Fix double-declaring user-defined typed signals.
7304 Reads all user-defined typed variables.
7305 (verilog-read-defines): Fix reading definitions inside comments, bug647.
7306 (verilog-signals-matching-regexp)
7307 (verilog-signals-not-matching-regexp, verilog-auto):
7308 Respect verilog-case-fold.
7309 (verilog-diff-report): Fix line count.
7310 (verilog-auto-assign-modport): Remove unused local `modi'.
7311 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
7312 better handle multidimensional arrays.
7313 Fix packed array ports misadding bit index in AUTOINST, bug637.
7314 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
7315 to not double-declare existing outputs and inputs, respectively.
7316 (verilog-template-map): Bind U to verilog-sk-uvm-component.
7317 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
7318 (verilog-sk-uvm-component): New skeleton.
7319 (verilog-submit-bug-report): Add verilog-case-fold,
7320 remove verilog-mode-release-date.
7321
7322 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
7323
7324 * subr.el (sit-for): Call (input-pending-p t) so as to behave
7325 as before.
7326
7327 2013-10-18 Reuben Thomas <rrt@sc3d.org>
7328
7329 * textmodes/remember.el (remember): Set buffer-offer-save in
7330 remember buffers (bug#13566).
7331
7332 2013-10-18 Daniel Colascione <dancol@dancol.org>
7333
7334 When evaluating forms in ielm, direct standard output to ielm
7335 buffer. Add new ielm-return-for-effect command. Remove trailing
7336 whitespace throughout.
7337
7338 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
7339 (ielm-return-for-effect): New command.
7340 (ielm-send-input): Accept optional `for-effect' parameter.
7341 (ielm-eval-input): Accept optional `for-effect' parameter.
7342 Bind `standard-output' to stream we create using
7343 `ielm-standard-output-impl'. Suppress printing result when
7344 `for-effect'.
7345 (ielm-standard-output-impl): New function.
7346 (inferior-emacs-lisp-mode): Explain new features in documentation.
7347
7348 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
7349
7350 Code cleanup.
7351
7352 * net/tramp.el (tramp-debug-message): Do not check for connection
7353 buffer.
7354 (tramp-message): Use "vector" connection property.
7355
7356 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
7357 (tramp-equal-remote, tramp-eshell-directory-change)
7358 * net/tramp-adb.el (tramp-adb-handle-copy-file)
7359 (tramp-adb-handle-rename-file)
7360 * net/tramp-cmds.el (tramp-list-remote-buffers)
7361 (tramp-cleanup-connection, tramp-cleanup-this-connection)
7362 * net/tramp-compat.el (tramp-compat-process-running-p)
7363 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
7364 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
7365 (tramp-gvfs-handle-rename-file)
7366 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7367 (tramp-set-file-uid-gid)
7368 * net/tramp-smb.el (tramp-smb-handle-copy-file)
7369 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
7370 of `file-remote-p'.
7371
7372 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
7373 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7374 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
7375 (tramp-gw-open-network-stream): Suppress unrelated traces.
7376
7377 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
7378 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7379 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7380 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
7381 connection property.
7382
7383 * net/tramp-cache.el (top): Suppress traces when reading
7384 persistency file.
7385
7386 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7387 Refactor common code. Improve debug message.
7388 (tramp-maybe-open-connection)
7389 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
7390 connection buffer too early.
7391
7392 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
7393 from `tramp-smb-actions-with-acl'.
7394 (tramp-smb-actions-set-acl): New defconst.
7395 (tramp-smb-handle-copy-directory)
7396 (tramp-smb-action-get-acl): New defun, renamed from
7397 `tramp-smb-action-with-acl'.
7398 (tramp-smb-action-set-acl): New defun.
7399 (tramp-smb-handle-set-file-acl): Rewrite.
7400
7401 2013-10-17 Glenn Morris <rgm@gnu.org>
7402
7403 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
7404
7405 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7406
7407 * skeleton.el (skeleton-newline): Remove.
7408 (skeleton-internal-1): Use (insert "\n") instead.
7409
7410 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
7411 let-bindings.
7412
7413 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
7414 forward-sexp-function while we redo its job (bug#15613).
7415
7416 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
7417
7418 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
7419 represented by lists.
7420
7421 2013-10-16 Glenn Morris <rgm@gnu.org>
7422
7423 * tmm.el (tmm--history): New dynamic variable.
7424 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
7425
7426 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
7427
7428 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
7429 (tramp-smb-errors): Add error messages.
7430 (tramp-smb-actions-with-acl): New defconst.
7431 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
7432 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
7433 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
7434 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
7435 (tramp-smb-get-stat-capability): Fix tests.
7436
7437 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
7438
7439 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
7440 (bug#15580).
7441
7442 2013-10-16 Glenn Morris <rgm@gnu.org>
7443
7444 * ansi-color.el (ansi-color-drop-regexp):
7445 Add 1J, 1K, 2K. (Bug#15617)
7446
7447 * files.el (hack-local-variables--warned-lexical): New.
7448 (hack-local-variables):
7449 Warn about misplaced lexical-binding. (Bug#15616)
7450
7451 * net/eww.el (eww-render): Always set eww-current-url,
7452 and update header line. (Bug#15622)
7453 (eww-display-html): ... Rather than just doing it here.
7454
7455 2013-10-15 Eli Zaretskii <eliz@gnu.org>
7456
7457 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
7458 menu navigations commands.
7459
7460 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
7461
7462 * progmodes/subword.el (subword-capitalize): Be careful when
7463 the search for [[:alpha:]] fails (bug#15580).
7464
7465 2013-10-14 Eli Zaretskii <eliz@gnu.org>
7466
7467 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
7468 to commands that scroll the menu.
7469
7470 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
7471
7472 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
7473 Handle methods ending with `?' and `!'.
7474
7475 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
7476
7477 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
7478 `japanese-cp932' to `cp932' to fix the problem where saving a
7479 source file written in Shift_JIS twice would end up having
7480 `coding: japanese-cp932' which Ruby could not recognize.
7481 (ruby-mode-set-encoding): Add support for encodings mapped to nil
7482 in `ruby-encoding-map'.
7483 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
7484 doesn't need to be explicitly declared in magic comment.
7485 (ruby-encoding-map): Add type declaration for better customize UI.
7486
7487 2013-10-13 Glenn Morris <rgm@gnu.org>
7488
7489 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
7490 Occur buffers are read-only. http://bugs.debian.org/720775
7491
7492 * emacs-lisp/authors.el (authors-fixed-entries):
7493 Comment out old alpha stuff.
7494
7495 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
7496
7497 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
7498 to `after-save-hook' instead of `before-save-hook'.
7499 (ruby-mode-set-encoding): Use the value of coding system used to
7500 write the file. Call `basic-save-buffer-1' after modifying the
7501 buffer.
7502
7503 2013-10-13 Alan Mackenzie <acm@muc.de>
7504
7505 Fix indentation/fontification of Java enum with
7506 "implements"/generic.
7507
7508 * progmodes/cc-engine.el (c-backward-over-enum-header):
7509 Extracted from the three other places and enhanced to handle generics.
7510 (c-inside-bracelist-p): Uses new function above.
7511 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
7512 function above.
7513 (c-font-lock-enum-tail): Uses new function above.
7514
7515 2013-10-13 Kenichi Handa <handa@gnu.org>
7516
7517 * international/mule-cmds.el (select-safe-coding-system): Remove a
7518 superfluous condition in chekcing whether a coding system is safe
7519 or not.
7520
7521 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
7522
7523 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
7524
7525 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
7526
7527 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
7528
7529 2013-10-13 Glenn Morris <rgm@gnu.org>
7530
7531 * menu-bar.el (menu-bar-update-buffers):
7532 Unify Buffers menu prompt string. (Bug#15576)
7533
7534 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
7535
7536 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
7537 Add some entries.
7538 (authors-fixed-entries): Use accented form of name.
7539
7540 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
7541
7542 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
7543 method calls (bug#15594).
7544 (ruby-smie--args-separator-p): New function.
7545 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
7546 recognize paren-free method calls.
7547
7548 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
7549 internals of universal-argument.
7550
7551 2013-10-11 Eli Zaretskii <eliz@gnu.org>
7552
7553 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
7554 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
7555 dropped menu on second mouse click on the menu bar.
7556
7557 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
7558
7559 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
7560 (explicit-shell-file-name): Declare.
7561 (sh--vars-before-point, sh--cmd-completion-table): New functions.
7562 (sh-completion-at-point-function): New function.
7563 (sh-mode): Use it.
7564 (sh-smie--keyword-p): Remove unused argument.
7565 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
7566 vars.
7567 (sh-set-shell): Always setup SMIE, even if we use the
7568 old indentation code.
7569
7570 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
7571
7572 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
7573 cases of ? and =.
7574 (ruby-smie-rules): Simplify the "do" rule. The cases when the
7575 predicate would return nil are almost non-existent.
7576 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
7577
7578 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
7579 cache also after commands that modify the buffer but don't move
7580 point.
7581
7582 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7583
7584 * env.el (substitute-env-in-file-name): New function.
7585 (substitute-env-vars): Extend the meaning of the optional arg.
7586
7587 2013-10-10 Eli Zaretskii <eliz@gnu.org>
7588
7589 * term/w32-win.el (dynamic-library-alist): Define separate lists
7590 of GIF DLLs for versions before and after 5.0.0 of giflib.
7591 (Bug#15531)
7592
7593 2013-10-10 João Távora <joaotavora@gmail.com>
7594
7595 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
7596 not locked, use last revision and current source as
7597 defaults. (Bug#15569)
7598
7599 2013-10-10 Masatake YAMATO <yamato@redhat.com>
7600
7601 * menu-bar.el (menu-bar-open): Don't use popup-menu if
7602 menu-bar is hidden.
7603
7604 2013-10-10 Martin Rudalics <rudalics@gmx.at>
7605
7606 * window.el (pop-to-buffer-same-window): Fix doc-string.
7607 (Bug#15492)
7608
7609 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
7610
7611 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
7612
7613 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
7614
7615 * calendar/icalendar.el (icalendar-import-file):
7616 Fix interactive spec. (Bug#15482)
7617
7618 2013-10-10 Glenn Morris <rgm@gnu.org>
7619
7620 * desktop.el (desktop-save): Default to saving in .emacs.d,
7621 since PWD is no longer in desktop-path by default. (Bug#15319)
7622
7623 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
7624 now that text mode has a menu with the same entry.
7625 (menu-bar-text-mode-auto-fill): Remove now unused func.
7626 * textmodes/text-mode.el (text-mode-map):
7627 Use auto-fill help text from menu-bar.el.
7628
7629 2013-10-10 John Anthony <john@jo.hnanthony.com>
7630
7631 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
7632
7633 2013-10-09 Juri Linkov <juri@jurta.org>
7634
7635 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
7636 instead of this-command-keys. Add universal-argument-more and
7637 universal-argument-minus to the list of prefix commands. (Bug#15568)
7638
7639 2013-10-09 Glenn Morris <rgm@gnu.org>
7640
7641 * vc/vc-svn.el (vc-svn-create-repo):
7642 Expand paths in file://... url. (Bug#15446)
7643
7644 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
7645 Add some entries.
7646 (authors): Remove unused local variables.
7647
7648 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
7649
7650 * profiler.el: Create a more coherent calltree from partial backtraces.
7651 (profiler-format): Hide the tail with `invisible' so that C-s can still
7652 find the hidden elements.
7653 (profiler-calltree-depth): Don't recurse so enthusiastically.
7654 (profiler-function-equal): New hash-table-test.
7655 (profiler-calltree-build-unified): New function.
7656 (profiler-calltree-build): Use it.
7657 (profiler-report-make-name-part): Indent the calltree less.
7658 (profiler-report-mode): Add visibility specs for profiler-format.
7659 (profiler-report-expand-entry, profiler-report-toggle-entry):
7660 Expand the whole subtree when provided with a prefix arg.
7661
7662 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
7663
7664 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
7665 iuwu-mod token.
7666 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
7667 hanging iuwu-mod token.
7668 (ruby-smie--forward-token): Do not include a dot after a token in
7669 that token.
7670 (ruby-smie--backward-token): Likewise.
7671
7672 2013-10-08 Juri Linkov <juri@jurta.org>
7673
7674 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
7675 to isearch-other-control-char.
7676 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
7677 and isearch-post-command-hook to post-command-hook.
7678 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
7679 and isearch-post-command-hook from post-command-hook.
7680 (isearch-unread-key-sequence)
7681 (isearch-reread-key-sequence-naturally)
7682 (isearch-lookup-scroll-key, isearch-other-control-char)
7683 (isearch-other-meta-char): Remove functions.
7684 (isearch-pre-command-hook, isearch-post-command-hook):
7685 New functions based on isearch-other-meta-char rewritten
7686 relying on the new behavior of overriding-terminal-local-map
7687 that does not replace the local keymaps any more. (Bug#15200)
7688
7689 2013-10-08 Eli Zaretskii <eliz@gnu.org>
7690
7691 Support menus on text-mode terminals.
7692 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
7693 functionality.
7694
7695 * tooltip.el (tooltip-mode): Don't error out on TTYs.
7696
7697 * menu-bar.el (popup-menu, popup-menu-normalize-position):
7698 Move here from mouse.el.
7699 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
7700 and arrow keys.
7701 (tty-menu-navigation-map): New map for TTY menu navigation.
7702
7703 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
7704
7705 * frame.el (display-mouse-p): Report text-mode mouse as available
7706 on w32.
7707 (display-popup-menus-p): Report availability if mouse is
7708 available; don't condition on window-system.
7709
7710 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
7711 (tty-menu-selected-face): New faces.
7712
7713 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7714
7715 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
7716 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
7717 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
7718 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
7719 New constants.
7720 (lisp-mode-variables): New `elisp' argument.
7721 (emacs-lisp-mode): Use it.
7722 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
7723 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
7724
7725 * indent.el: Use lexical-binding.
7726 (indent-region): Add progress reporter.
7727 (tab-stop-list): Make it implicitly extend to infinity by repeating the
7728 last step.
7729 (indent--next-tab-stop): New function to implement this behavior.
7730 (tab-to-tab-stop, move-to-tab-stop): Use it.
7731
7732 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
7733
7734 * indent.el (indent-rigidly--current-indentation): New function.
7735 (indent-rigidly-map): New var.
7736 (indent-rigidly): Use it to provide interactive mode (bug#8196).
7737
7738 2013-10-08 Bastien Guerry <bzg@gnu.org>
7739
7740 * register.el (insert-register): Fix 2013-10-07 change.
7741
7742 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
7743
7744 * progmodes/perl-mode.el: Use lexical-binding.
7745 Remove redundant :group args.
7746 (perl-nochange): Change default to be closer to other major modes's
7747 standard behavior.
7748 (perl-indent-line): Don't consider text on current line as a
7749 valid beginning of function from which to indent.
7750
7751 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
7752 with more than one argument (bug#15538).
7753
7754 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
7755
7756 * vc/pcvs.el: Use lexical-binding.
7757 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
7758 environment of `eval'.
7759 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
7760 than a list of expressions. Adjust callers.
7761 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
7762
7763 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
7764
7765 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
7766 case of the dot in a chained method call being on the following line.
7767
7768 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7769
7770 * electric.el (electric-indent-inhibit): New var.
7771 (electric-indent-post-self-insert-function): Use it.
7772 * progmodes/python.el (python-mode): Set it.
7773
7774 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
7775 open braces.
7776
7777 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
7778
7779 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
7780 (css-mode): Use electric-indent-chars.
7781
7782 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
7783 (font-lock-beg, font-lock-end): Move before first use.
7784 (nxml-mode): Use syntax-propertize-function.
7785 (nxml-after-change, nxml-after-change1): Adjust accordingly.
7786 (nxml-extend-after-change-region): Remove.
7787 * nxml/xmltok.el: Use lexical-binding.
7788 (xmltok-save): Use `declare'.
7789 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
7790 * nxml/nxml-util.el: Use lexical-binding.
7791 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
7792 Use `declare'.
7793 * nxml/nxml-ns.el: Use lexical-binding.
7794 (nxml-ns-save): Use `declare'.
7795 (nxml-ns-prefixes-for): Avoid add-to-list.
7796 * nxml/rng-match.el: Use lexical-binding.
7797 (rng--ipattern): Use cl-defstruct.
7798 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
7799 (rng-cons-group-after, rng-subst-group-after)
7800 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
7801 Use closures instead of `(lambda...).
7802
7803 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
7804
7805 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
7806 of BEG and END.
7807
7808 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7809 Use `tramp-handle-insert-file-contents'.
7810 (tramp-gvfs-handle-insert-file-contents): Remove function.
7811
7812 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
7813 Use `save-restriction' in order to keep markers.
7814
7815 * net/trampver.el: Update release number.
7816
7817 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7818
7819 * progmodes/compile.el (compilation-parse-errors):
7820 Use compilation--put-prop.
7821 (compilation--ensure-parse): Check compilation-multiline.
7822
7823 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
7824
7825 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
7826 lexical-binding.
7827
7828 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
7829
7830 * progmodes/ruby-mode.el: Fix recently added tests.
7831 (ruby-smie-grammar): Add - and +.
7832 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
7833 (ruby-smie--backward-id): New functions.
7834 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
7835 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
7836 any more.
7837
7838 2013-10-07 Leo Liu <sdl.web@gmail.com>
7839
7840 * register.el (register-preview-delay)
7841 (register-preview-functions): New variables.
7842 (register-read-with-preview, register-preview)
7843 (register-describe-oneline): New functions.
7844 (point-to-register, window-configuration-to-register)
7845 (frame-configuration-to-register, jump-to-register)
7846 (number-to-register, view-register, insert-register)
7847 (copy-to-register, append-to-register, prepend-to-register)
7848 (copy-rectangle-to-register): Use register-read-with-preview to
7849 read register. (Bug#15525)
7850
7851 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
7852
7853 * net/network-stream.el (network-stream-open-starttls): Don't add
7854 --insecure if it's already present, because that gnutls-cli
7855 rejects getting that parameter twice.
7856
7857 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
7858
7859 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
7860 keyword, too.
7861
7862 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
7863
7864 * newcomment.el (comment-use-global-state): Change default value
7865 to t, mark obsolete (Bug#15251).
7866 (comment-beginning): In addition to `comment-to-syntax', check the
7867 value of `comment-use-global-state'.
7868
7869 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7870
7871 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
7872 (ruby-comment-column): Follow the global default, by default.
7873 (ruby-smie-grammar): Add assignment syntax.
7874 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
7875 open-paren, a comma, or a \.
7876 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
7877 and line continuations.
7878 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
7879 followed by implicit semi-colons. Add rule for string concatenation
7880 and for indentation at BOB.
7881 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
7882
7883 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
7884 calling next-sexp, since next-token may have skipped chars which
7885 next-sexp doesn't know should be skipped!
7886
7887 2013-10-05 Leo Liu <sdl.web@gmail.com>
7888
7889 * progmodes/octave.el (octave-send-region):
7890 Call compilation-forget-errors.
7891
7892 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7893
7894 * vc/vc-svn.el (vc-svn-find-admin-dir):
7895 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
7896 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
7897 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
7898 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
7899
7900 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7901
7902 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
7903
7904 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
7905
7906 * subr.el (read-passwd): Hide chars even when called within a context
7907 where after-change-functions is disabled (bug#15501).
7908 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
7909 until we removed ourself from overriding-terminal-local-map.
7910
7911 2013-10-04 Leo Liu <sdl.web@gmail.com>
7912
7913 * progmodes/octave.el (inferior-octave-mode):
7914 Call compilation-forget-errors.
7915
7916 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
7917
7918 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
7919
7920 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
7921
7922 * net/secrets.el (secrets-create-collection): Add optional
7923 argument ALIAS. Use proper Label keyword. Append ALIAS as
7924 dbus-call-method argument. (Bug#15516)
7925
7926 2013-10-04 Leo Liu <sdl.web@gmail.com>
7927
7928 * progmodes/octave.el (inferior-octave-error-regexp-alist)
7929 (inferior-octave-compilation-font-lock-keywords): New variables.
7930 (compilation-error-regexp-alist)
7931 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
7932 (inferior-octave-mode): Use compilation-shell-minor-mode.
7933
7934 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
7935
7936 * minibuffer.el (completion--replace): Be careful that `end' might be
7937 a marker.
7938
7939 2013-10-03 Daiki Ueno <ueno@gnu.org>
7940
7941 Add support for package signature checking.
7942 * emacs-lisp/package.el (url-http-file-exists-p)
7943 (epg-make-context, epg-context-set-home-directory)
7944 (epg-verify-string, epg-context-result-for)
7945 (epg-signature-status, epg-signature-to-string)
7946 (epg-check-configuration, epg-configuration)
7947 (epg-import-keys-from-file): Declare.
7948 (package-check-signature): New user option.
7949 (package-unsigned-archives): New user option.
7950 (package-desc): Add `signed' field.
7951 (package-load-descriptor): Set `signed' field if .signed file exists.
7952 (package--archive-file-exists-p): New function.
7953 (package--check-signature): New function.
7954 (package-install-from-archive): Check package signature.
7955 (package--download-one-archive): Check archive signature.
7956 (package-delete): Remove .signed file.
7957 (package-import-keyring): New command.
7958 (package-refresh-contents): Import default keyring.
7959 (package-desc-status): Add "unsigned" status.
7960 (describe-package-1, package-menu--print-info)
7961 (package-menu-mark-delete, package-menu--find-upgrades)
7962 (package-menu--status-predicate): Support "unsigned" status.
7963
7964 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7965
7966 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
7967 the new compilation scheme using the new byte-codes.
7968
7969 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
7970 (byte-pophandler): New byte codes.
7971 (byte-goto-ops): Adjust accordingly.
7972 (byte-compile--use-old-handlers): New var.
7973 (byte-compile-catch): Use new byte codes depending on
7974 byte-compile--use-old-handlers.
7975 (byte-compile-condition-case--old): Rename from
7976 byte-compile-condition-case.
7977 (byte-compile-condition-case--new): New function.
7978 (byte-compile-condition-case): New function that dispatches depending
7979 on byte-compile--use-old-handlers.
7980 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
7981 when we can.
7982
7983 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
7984 Optimize under `condition-case' and `catch' if
7985 byte-compile--use-old-handlers is nil.
7986 (disassemble-offset): Handle new bytecodes.
7987
7988 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
7989
7990 * subr.el (error): Use `declare'.
7991 (decode-char, encode-char): Use advertised-calling-convention instead
7992 of the docstring to discourage use of the `restriction' arg.
7993
7994 2013-10-03 Daiki Ueno <ueno@gnu.org>
7995
7996 * epg.el (epg-verify-file): Add a comment saying that it does not
7997 notify verification error as a return value nor a signal.
7998 (epg-verify-string): Ditto.
7999
8000 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8001
8002 * progmodes/compile.el (compilation-start): Try globbing the arg to
8003 `cd' (bug#15417).
8004
8005 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8006
8007 Sync with Tramp 2.2.8.
8008
8009 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8010 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8011 * net/trampver.el: Update release number.
8012
8013 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8014
8015 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8016 and default-process-coding-system for darwin only.
8017
8018 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8019
8020 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8021
8022 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8023
8024 * vc/vc-git.el (vc-git-grep): Disable pager.
8025
8026 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8027
8028 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8029 Use :url instead of :homepage, as per
8030 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8031
8032 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8033 non-nil, use `syntax-ppss' (Bug#15251).
8034
8035 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8036
8037 * progmodes/octave.el (inferior-octave-startup-file):
8038 Prefer ~/.emacs.d/init_octave.m.
8039
8040 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8041
8042 * emacs-lisp/package.el (package-desc-from-define):
8043 Accept additional arguments as plist, convert them to an alist and store
8044 them in the `extras' slot.
8045 (package-generate-description-file): Convert extras alist back to
8046 plist and append to the `define-package' form arguments.
8047 (package--alist-to-plist): New function.
8048 (package--ac-desc): Add `extras' slot.
8049 (package--add-to-archive-contents): Check if the archive-contents
8050 vector is long enough, and if it is, pass its `extras' slot value
8051 to `package-desc-create'.
8052 (package-buffer-info): Call `lm-homepage', pass the returned value
8053 to `package-desc-from-define'.
8054 (describe-package-1): Render the homepage button (Bug#13291).
8055
8056 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8057 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
8058
8059 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
8060
8061 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8062 and default-process-coding-system to utf-8-unix (Bug#15402).
8063
8064 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
8065
8066 * subr.el (looking-back): Do not recommend using looking-back.
8067
8068 2013-09-28 Alan Mackenzie <acm@muc.de>
8069
8070 Fix indentation/fontification of Java enum with "implements".
8071
8072 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
8073 regexp which matches "implements", etc., in Java.
8074 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
8075 specifier clauses coming after "enum".
8076 * progmodes/cc-fonts.el (c-font-lock-declarations)
8077 (c-font-lock-enum-tail): Check for extra specifier clauses coming
8078 after "enum".
8079
8080 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
8081
8082 * faces.el (region): Change ns_selection_color to
8083 ns_selection_fg_color, add ns_selection_bg_color.
8084
8085 2013-09-28 Leo Liu <sdl.web@gmail.com>
8086
8087 * progmodes/octave.el (inferior-octave-completion-table)
8088 (inferior-octave-completion-at-point): Minor tweaks.
8089
8090 * textmodes/ispell.el (ispell-lookup-words): Rename from
8091 lookup-words. (Bug#15460)
8092 (lookup-words): Obsolete.
8093 (ispell-complete-word, ispell-command-loop): All uses changed.
8094
8095 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8096
8097 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
8098 (octave-mode-menu): Add octave-send-buffer.
8099 (octave-send-buffer): New function.
8100
8101 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8102
8103 * progmodes/octave.el (octave-mode-map): Add key binding for
8104 octave-lookfor.
8105 (octave-mode-menu): Add octave-lookfor.
8106 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
8107 octave-lookfor.
8108 (octave-lookfor): New function.
8109
8110 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
8111
8112 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
8113 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
8114 its convention.
8115 (cl--loop-set-iterator-function): New function.
8116 (cl-loop): Adjust accordingly, so as not to use cl-subst.
8117 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
8118 Bind `it' with `let' instead of substituting it with `cl-subst'.
8119 (cl--unused-var-p): New function.
8120 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
8121 Eliminate some unused variable warnings (bug#15326).
8122
8123 2013-09-27 Tassilo Horn <tsdh@gnu.org>
8124
8125 * doc-view.el (doc-view-scale-reset): Rename from
8126 `doc-view-reset-zoom-level'.
8127 (doc-view-scale-adjust): New command.
8128 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
8129 `doc-view-scale-adjust'.
8130
8131 2013-09-26 Tassilo Horn <tsdh@gnu.org>
8132
8133 * doc-view.el (doc-view-reset-zoom-level): New command.
8134 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
8135 zoom commands (bug#15466).
8136
8137 2013-09-26 Kenichi Handa <handa@gnu.org>
8138
8139 * international/quail.el (quail-help): Make it not a command.
8140
8141 2013-09-26 Leo Liu <sdl.web@gmail.com>
8142
8143 * minibuffer.el (completion-all-sorted-completions): Make args
8144 optional as they are.
8145
8146 2013-09-25 Daniel Colascione <dancol@dancol.org>
8147
8148 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
8149 specs are and that they're not evaluated.
8150
8151 2013-09-24 Sam Steingold <sds@gnu.org>
8152
8153 * midnight.el (clean-buffer-list-kill-regexps)
8154 (clean-buffer-list-kill-buffer-names): Update for the new Man
8155 buffer naming which includes the object name.
8156
8157 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
8158
8159 * eshell/esh-cmd.el (eshell--sep-terms): New var.
8160 (eshell-parse-command, eshell-parse-pipeline): Use it since
8161 eshell-separate-commands requires a dynamic scoped var.
8162 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
8163
8164 2013-09-23 Leo Liu <sdl.web@gmail.com>
8165
8166 * autoinsert.el (auto-insert-alist): Make the value of
8167 lexical-binding match its file setting.
8168
8169 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
8170
8171 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
8172
8173 * autoarg.el (autoarg-kp-digit-argument):
8174 * electric.el (Electric-command-loop):
8175 * kmacro.el (kmacro-step-edit-insert):
8176 Do not set universal-argument-num-events.
8177
8178 2013-09-22 Leo Liu <sdl.web@gmail.com>
8179
8180 * files.el (interpreter-mode-alist): Add octave.
8181
8182 2013-09-21 Alan Mackenzie <acm@muc.de>
8183
8184 C++: fontify identifier in declaration following "public:" correctly.
8185 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
8186 to match "public", etc.
8187 (c-decl-prefix-re): Add ":" into the C++ value.
8188 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
8189 bit. Add a check for a ":" preceded by "public", etc.
8190
8191 2013-09-21 Eli Zaretskii <eliz@gnu.org>
8192
8193 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
8194 recognized by GDB 7.5 and later.
8195
8196 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
8197
8198 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
8199
8200 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
8201
8202 * subr.el (internal--call-interactively): New const.
8203 (called-interactively-p): Use it (bug#3984).
8204
8205 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
8206
8207 * vc/pcvs.el (cvs-mode-ignore):
8208 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
8209 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
8210
8211 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
8212
8213 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
8214 (eshell-ls-orig-insert-directory): Remove.
8215 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
8216 (eshell-ls-use-in-dired): Use advice-add/remove.
8217 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
8218 Add `orig-fun' arg for use in :around advice.
8219 Make it check (redundantly) eshell-ls-use-in-dired.
8220
8221 2013-09-19 Glenn Morris <rgm@gnu.org>
8222
8223 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
8224
8225 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
8226
8227 * emacs-lisp/eieio.el (class-parent): Undo previous change.
8228
8229 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
8230
8231 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
8232 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
8233 (tramp-get-remote-python): New defuns.
8234 (tramp-get-remote-uid-with-perl)
8235 (tramp-get-remote-gid-with-perl): New defuns. Perl code
8236 contributed by yary <not.com@gmail.com> (tiny change).
8237 (tramp-get-remote-uid-with-python)
8238 (tramp-get-remote-gid-with-python): New defuns. Python code
8239 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
8240 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
8241
8242 2013-09-19 Glenn Morris <rgm@gnu.org>
8243
8244 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
8245
8246 * eshell/em-unix.el (eshell-remove-entries):
8247 Rename argument to avoid name-clash with global `top-level'.
8248
8249 * eshell/esh-proc.el (eshell-kill-process-function):
8250 Remove eshell-reset-after-proc from eshell-kill-hook if present.
8251 (eshell-reset-after-proc): Remove unused arg `proc'.
8252
8253 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
8254 (directory-files-and-attributes): Mark unused arg.
8255
8256 * eshell/em-unix.el (eshell-remove-entries):
8257 Remove unused arg `path'. Update callers.
8258
8259 * eshell/em-hist.el (eshell-hist-parse-arguments):
8260 Remove unused arg `silent'. Update callers.
8261
8262 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
8263 Fix (f)boundp mix-up.
8264
8265 * eshell/em-smart.el (eshell-smart-scroll-window)
8266 (eshell-disable-after-change):
8267 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
8268
8269 2013-09-18 Alan Mackenzie <acm@muc.de>
8270
8271 Fix fontification of type when followed by "const".
8272 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
8273 "known" types from fontification.
8274
8275 2013-09-18 Glenn Morris <rgm@gnu.org>
8276
8277 * emacs-lisp/chart.el (x-display-color-cells): Declare.
8278 (chart-face-list): Drop Emacsen without display-color-p.
8279
8280 * net/eww.el (libxml-parse-html-region): Declare.
8281 (eww-display-html): Explicit error if no libxml2 support.
8282
8283 * doc-view.el (doc-view-mode): Silence --without-x compilation.
8284
8285 * image.el (image-type-from-buffer, image-multi-frame-p):
8286 Remove --without-x warning/error.
8287
8288 * mouse.el (mouse-yank-primary):
8289 * term.el (term-mouse-paste):
8290 Reorder to silence --without-x compilation.
8291
8292 * mpc.el (doc-view-mode): Silence --without-x compilation.
8293
8294 * mail/rmailmm.el (rmail-mime-set-bulk-data):
8295 Silence --without-x compilation.
8296
8297 * progmodes/gud.el (gud-find-file, gud-mode):
8298 Silence --without-x compilation.
8299 (tooltip-mode): Declare.
8300
8301 * wdired.el (dired-backup-overwrite): Remove declaration.
8302 (wdired-mode-map): Add doc string.
8303
8304 * custom.el (x-get-resource): Declare.
8305
8306 * eshell/em-glob.el (ange-cache):
8307 * eshell/em-unix.el (ange-cache): Declare.
8308
8309 * faces.el (x-display-list, x-open-connection, x-get-resource):
8310 Declare.
8311
8312 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
8313 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
8314 Declare.
8315
8316 * frame.el (x-display-grayscale-p, x-display-name): Declare.
8317
8318 * net/gnutls.el (gnutls-log-level): Declare.
8319
8320 * net/shr.el (image-size, image-animate): Declare.
8321
8322 * simple.el (font-info): Declare.
8323
8324 * subr.el (x-popup-dialog): Declare.
8325
8326 * term/common-win.el (x-select-enable-primary)
8327 (x-last-selected-text-primary, x-last-selected-text-clipboard):
8328 Declare.
8329
8330 * term/ns-win.el (x-handle-args): Declare.
8331
8332 * term/x-win.el (x-select-enable-clipboard): Declare.
8333
8334 * term/w32-win.el (create-default-fontset): Declare.
8335
8336 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
8337 Declare.
8338
8339 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
8340 (fit-frame-to-buffer): Explicit error if --without-x.
8341 (mouse-autoselect-window-select): Silence compiler.
8342
8343 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
8344
8345 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
8346 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
8347 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
8348 * eshell/esh-util.el (eshell-sublist):
8349 Remove unused local variables.
8350
8351 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
8352
8353 * textmodes/two-column.el: Make 2C-split work for --without-x.
8354 (scroll-bar-columns): Autoload.
8355 (top-level): Require fringe when compiling.
8356
8357 2013-09-18 Leo Liu <sdl.web@gmail.com>
8358
8359 * subr.el (add-hook): Robustify to handle closure as well.
8360
8361 2013-09-17 Glenn Morris <rgm@gnu.org>
8362
8363 * simple.el (messages-buffer-mode-map): Unbind "g".
8364
8365 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8366
8367 * help-mode.el (help-mode-finish): Use derived-mode-p.
8368 Remove obsolete highlighting.
8369
8370 * play/life.el (life-mode): Use define-derived-mode. Derive from
8371 special-mode.
8372 (life): Let-bind inhibit-read-only.
8373 (life-setup): Avoid `setq'. Use `life-mode'.
8374
8375 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
8376 which should not be needed any more.
8377 (package-menu-refresh, package-menu-describe-package): Use user-error.
8378
8379 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
8380 (eshell-post-rewrite-command-hook): Make obsolete.
8381 (eshell-parse-command): Simplify.
8382 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
8383 (eshell--cmd): Declare.
8384 (eshell-parse-pipeline): Remove unused var `final-p'.
8385 Pass a dynvar to eshell-post-rewrite-command-hook.
8386 Implement the new eshell-post-rewrite-command-function.
8387 (eshell-invoke-directly): Remove unused arg `input'.
8388 * eshell/esh-io.el (eshell-io-initialize):
8389 Use eshell-post-rewrite-command-function (bug#15399).
8390 (eshell--apply-redirections): Rename from eshell-apply-redirections;
8391 adjust to new calling convention.
8392 (eshell-create-handles): Rename args to avoid clashing with dynvar
8393 `standard-output'.
8394
8395 2013-09-17 Glenn Morris <rgm@gnu.org>
8396
8397 * simple.el (messages-buffer-mode): New major mode.
8398 (messages-buffer): New function.
8399 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
8400 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
8401 (ert-run-test): Use `messages-buffer' function.
8402 (ert--force-message-log-buffer-truncation): Ignore read-only.
8403 * help.el (view-echo-area-messages): Use `messages-buffer' function.
8404 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
8405
8406 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
8407
8408 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
8409
8410 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
8411
8412 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
8413
8414 * icomplete.el (icomplete-in-buffer): New var.
8415 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
8416 vars and replace them with functions.
8417 (icomplete-minibuffer-setup): Adjust accordingly.
8418 (icomplete--completion-table, icomplete--completion-predicate)
8419 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
8420 New functions.
8421 (icomplete-forward-completions, icomplete-backward-completions)
8422 (icomplete-simple-completing-p, icomplete-exhibit)
8423 (icomplete-completions): Use them.
8424 (icomplete--in-region-buffer): New var.
8425 (icomplete--in-region-setup): New function.
8426 (icomplete-mode): Use it.
8427
8428 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
8429 (bug#15379).
8430 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
8431 return args and options.
8432 (eshell-eval-using-options): Use the new return value of
8433 eshell--do-opts to set the options's vars in their scope.
8434 (eshell--set-option): Rename from eshell-set-option.
8435 Add arg `opt-vals'.
8436 (eshell--process-option): Rename from eshell-process-option.
8437 Add arg `opt-vals'.
8438 (eshell--process-args): Use an `opt-vals' alist to store the options's
8439 values during their processing and return them additionally to the
8440 remaining args.
8441
8442 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
8443
8444 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
8445 continuation character an operator, as far as indentation is
8446 concerned (Bug#15369).
8447
8448 2013-09-15 Martin Rudalics <rudalics@gmx.at>
8449
8450 * window.el (window--state-put-2): Don't process buffer state
8451 when buffer doesn't exist any more (Bug#15382).
8452
8453 2013-09-15 Glenn Morris <rgm@gnu.org>
8454
8455 * eshell/em-unix.el (eshell/rm):
8456 Make -f ignore missing files. (Bug#15373)
8457
8458 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
8459 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
8460 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
8461
8462 2013-09-14 Glenn Morris <rgm@gnu.org>
8463
8464 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
8465
8466 2013-09-13 Glenn Morris <rgm@gnu.org>
8467
8468 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
8469 (dired-guess-default): Make `file' available in the env. (Bug#15363)
8470
8471 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
8472
8473 * frame.el (x-focus-frame): Mark as declared in frame.c.
8474
8475 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
8476
8477 * ls-lisp.el: Use advice-add.
8478 (original-insert-directory): Remove.
8479 (ls-lisp--insert-directory): Rename from insert-directory; add
8480 `orig-fun' argument.
8481 (insert-directory): Advise.
8482
8483 2013-09-13 Eli Zaretskii <eliz@gnu.org>
8484
8485 * term.el (term-emulate-terminal): Decode the command string
8486 before passing it to term-command-hook. (Bug#15337)
8487
8488 2013-09-13 Glenn Morris <rgm@gnu.org>
8489
8490 * eshell/esh-util.el (ange-cache): Move declaration earlier.
8491
8492 * eshell/esh-ext.el (eshell-search-path): Declare.
8493
8494 * eshell/em-prompt.el (eshell/pwd): Autoload it.
8495 Otherwise an error occurs if eshell-dirs module not loaded.
8496
8497 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
8498
8499 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
8500
8501 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
8502 `tramp-check-proper-host'. Check for a valid method name.
8503
8504 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8505 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8506 * net/tramp-sh.el (tramp-maybe-open-connection):
8507 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
8508
8509 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
8510 also for hash values.
8511
8512 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8513
8514 * term/ns-win.el (parameters): Don't declare as dynamic.
8515 (before-make-frame-hook): Don't add ineffective function.
8516
8517 * eshell/*.el: Use lexical-binding (bug#15231).
8518
8519 2013-09-12 Kenichi Handa <handa@gnu.org>
8520
8521 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
8522
8523 2013-09-12 Glenn Morris <rgm@gnu.org>
8524
8525 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
8526 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
8527
8528 * subr.el (do-after-load-evaluation): Also give compiler warnings
8529 when obsolete files are used (except by obsolete files).
8530
8531 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
8532 in the status output, assume `filename' is the first. (Bug#15322)
8533
8534 * vc/vc.el (vc-deduce-fileset): Doc fix.
8535
8536 * calc/calc-help.el (Info-goto-node):
8537 * progmodes/cperl-mode.el (Info-find-node):
8538 * vc/ediff.el (Info-goto-node): Update declarations.
8539
8540 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
8541
8542 * vc/vc-bzr.el (vc-compilation-mode): Declare.
8543 (vc-bzr-pull): Require vc-dispatcher.
8544 * vc/vc-git.el (vc-compilation-mode): Declare.
8545 (vc-git-pull): Require vc-dispatcher.
8546
8547 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
8548
8549 * progmodes/octave.el (help-button-action): Declare.
8550
8551 * shell.el (shell-directory-tracker): Output error as a message
8552 rather than just returning it as a string.
8553 (shell-process-pushd): Remove useless use of message.
8554
8555 * dframe.el (dframe-timer-fn):
8556 * files.el (dir-locals-read-from-file):
8557 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
8558 (mpc-format):
8559 * reveal.el (reveal-post-command):
8560 * saveplace.el (load-save-place-alist-from-file):
8561 * shell.el (shell-resync-dirs):
8562 * w32-common-fns.el (x-get-selection-value):
8563 * emacs-lisp/copyright.el (copyright-find-copyright):
8564 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
8565 * emulation/tpu-edt.el (tpu-copy-keyfile):
8566 * play/bubbles.el (bubbles--mark-neighbourhood):
8567 * progmodes/executable.el
8568 (executable-make-buffer-file-executable-if-script-p):
8569 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
8570
8571 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
8572
8573 Cleanup Eshell to rely less on dynamic scoping.
8574 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
8575 last-value, and ext-command here. Bind `args' closer to `body'.
8576 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
8577 (eshell--args): Declare new dynamic var.
8578 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
8579 last-value, and ext-command. Pass `args' to `body'.
8580 (eshell-process-args): Bind eshell--args.
8581 (eshell-set-option): Use eshell--args.
8582 * eshell/eshell.el (eshell): Use derived-mode-p.
8583 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
8584 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
8585 (eshell-glob-function): Declare.
8586 * eshell/esh-util.el: Require cl-lib.
8587 (eshell-read-hosts-file): Avoid add-to-list.
8588 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
8589 `err'.
8590 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
8591 Declare.
8592 (eshell/diff): Remove unused var `err'.
8593 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
8594 `killflag'.
8595 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
8596 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
8597 first use.
8598 * eshell/em-glob.el (eshell-glob-matches, message-shown):
8599 Move declaration before first use.
8600 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
8601 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
8602 rely on cl-return.
8603
8604 2013-09-12 Glenn Morris <rgm@gnu.org>
8605
8606 * term/ns-win.el (global-map): Remove binding for ispell-next,
8607 deleted 1999-05-29. (Bug#15357)
8608
8609 2013-09-11 Glenn Morris <rgm@gnu.org>
8610
8611 * echistory.el (electric-command-history): Remove call to deleted func.
8612
8613 * play/landmark.el (landmark-mode): Fix typos.
8614
8615 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
8616 Check cvs-sort-ignore-file is bound.
8617
8618 * savehist.el: No need for cl when compiling on Emacs.
8619
8620 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8621
8622 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
8623 (bug#15338).
8624 (eshell-self-insert-command, eshell-send-invisible):
8625 Remove unused argument.
8626 (eshell-handle-control-codes): Remove unused var `orig'.
8627 Avoid delete-backward-char.
8628
8629 * files.el (set-auto-mode): Simplify a bit further.
8630
8631 2013-09-11 Glenn Morris <rgm@gnu.org>
8632
8633 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
8634 (set-auto-mode): Don't regexp-quote elements.
8635 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
8636 * progmodes/cc-mode.el (interpreter-mode-alist):
8637 * progmodes/ruby-mode.el (interpreter-mode-alist):
8638 Revert previous change.
8639
8640 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
8641
8642 * play/snake.el (snake-mode):
8643 * play/mpuz.el (mpuz-mode):
8644 * play/landmark.el (lm-mode):
8645 * play/blackbox.el (blackbox-mode):
8646 * play/5x5.el (5x5-mode):
8647 * obsolete/options.el (Edit-options-mode):
8648 * net/quickurl.el (quickurl-list-mode):
8649 * net/newst-treeview.el (newsticker-treeview-mode):
8650 * mail/rmailsum.el (rmail-summary-mode):
8651 * mail/mspools.el (mspools-mode):
8652 * locate.el (locate-mode):
8653 * ibuffer.el (ibuffer-mode):
8654 * emulation/ws-mode.el (wordstar-mode):
8655 * emacs-lisp/debug.el (debugger-mode):
8656 * array.el (array-mode):
8657 * net/eudc.el (eudc-mode): Use define-derived-mode.
8658 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
8659 Move initialization into declaration.
8660 (mairix-searches-mode): Use define-derived-mode.
8661 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
8662 (eudc-edit-hotlist): Use dolist.
8663 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
8664 (Man-mode): Use define-derived-mode.
8665 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
8666 (Info-edit-mode): Use define-derived-mode.
8667 (Info-cease-edit): Use Info-mode.
8668 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
8669 into declaration.
8670 (eshell-mode): Use define-derived-mode.
8671 * chistory.el (command-history-mode-map): Rename from
8672 command-history-map.
8673 (command-history-mode): Use define-derived-mode.
8674 (Command-history-setup): Remove function.
8675 * calc/calc.el (calc-trail-mode-map): New var.
8676 (calc-trail-mode): Use define-derived-mode.
8677 (calc-trail-buffer): Set calc-main-buffer manually.
8678 * bookmark.el (bookmark-insert-annotation): New function.
8679 (bookmark-edit-annotation): Use it.
8680 (bookmark-edit-annotation-mode): Make it a proper major mode.
8681 (bookmark-send-edited-annotation): Use derived-mode-p.
8682 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
8683 closer to its ideal place. Use \' to match EOS.
8684
8685 * profiler.el (profiler-calltree-find): Use function-equal.
8686
8687 2013-09-10 Glenn Morris <rgm@gnu.org>
8688
8689 * files.el (interpreter-mode-alist): Convert to regexps.
8690 (set-auto-mode): Adapt for this. (Bug#15306)
8691 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
8692 Comment out unused variable.
8693 * progmodes/cc-mode.el (interpreter-mode-alist):
8694 * progmodes/python.el (interpreter-mode-alist):
8695 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
8696 * progmodes/sh-script.el (sh-set-shell):
8697 No longer use interpreter-mode-alist to get list of shells.
8698
8699 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
8700
8701 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
8702
8703 * simple.el: Use set-temporary-overlay-map for universal-argument.
8704 (universal-argument-map): Don't use default-bindings (bug#15317).
8705 Bind switch-frame explicitly. Replace universal-argument-minus with
8706 a conditional binding.
8707 (universal-argument-num-events, saved-overriding-map): Remove.
8708 (restore-overriding-map): Remove.
8709 (universal-argument--mode): Rename from save&set-overriding-map,
8710 and rewrite.
8711 (universal-argument, universal-argument-more, negative-argument)
8712 (digit-argument): Adjust accordingly.
8713 (universal-argument-minus): Remove.
8714 (universal-argument-other-key): Remove.
8715
8716 * subr.el (with-demoted-errors): Add `format' argument.
8717
8718 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
8719
8720 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
8721 `tramp-cleanup-connection'.
8722
8723 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
8724 parameters KEEP-DEBUG and KEEP-PASSWORD.
8725
8726 * net/tramp.el (tramp-file-name-handler):
8727 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
8728 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
8729 (tramp-maybe-open-connection):
8730 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
8731 Use `tramp-cleanup-connection'.
8732
8733 * net/tramp-sh.el (tramp-maybe-open-connection):
8734 Catch 'uname-changed inside the progress reporter.
8735
8736 2013-09-10 Glenn Morris <rgm@gnu.org>
8737
8738 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
8739
8740 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
8741 returns "alternate access method" in mode (eg "-rw-r--r--.").
8742
8743 2013-09-08 Glenn Morris <rgm@gnu.org>
8744
8745 * saveplace.el (load-save-place-alist-from-file):
8746 Demote errors. (Bug#15305)
8747
8748 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
8749
8750 Improve compatibility with older Emacsen, and XEmacs.
8751
8752 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
8753 only if it is bound. It isn't for XEmacs.
8754 (with-tramp-progress-reporter): Do not let-bind `result'.
8755 This yields to scoping errors in XEmacs.
8756 (tramp-handle-make-auto-save-file-name): New function, moved from
8757 tramp-sh.el.
8758
8759 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
8760 for `make-auto-save-file-name'.
8761 (tramp-adb--gnu-switches-to-ash):
8762 Use `tramp-compat-replace-regexp-in-string'.
8763
8764 * net/tramp-cache.el (tramp-cache-print): Call
8765 `substring-no-properties' only if it is bound. It isn't for XEmacs.
8766
8767 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
8768 bound. It isn't for XEmacs.
8769
8770 * net/tramp-compat.el (tramp-compat-copy-file):
8771 Catch `wrong-number-of-arguments' error.
8772 (tramp-compat-replace-regexp-in-string): New defun.
8773
8774 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
8775 for `make-auto-save-file-name'.
8776 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
8777 `copy-file'.
8778 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
8779 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
8780 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
8781
8782 * net/tramp-gw.el (tramp-gw-open-network-stream):
8783 Use `tramp-compat-replace-regexp-in-string'.
8784
8785 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8786 Call `tramp-handle-make-auto-save-file-name'.
8787 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
8788 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8789 (tramp-sh-file-inotifywait-process-filter):
8790 Use `tramp-compat-replace-regexp-in-string'.
8791 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
8792
8793 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
8794 for `make-auto-save-file-name'.
8795 (tramp-smb-handle-copy-directory):
8796 Call `tramp-compat-replace-regexp-in-string'.
8797 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
8798 (tramp-smb-handle-copy-file): Improve error message.
8799 (tramp-smb-handle-rename-file): Rename directly only in case
8800 `newname' does not exist yet. This is a restriction of smbclient.
8801 (tramp-smb-maybe-open-connection): Rerun the function only when
8802 `auth-sources' is non-nil.
8803
8804 2013-09-08 Kenichi Handa <handa@gnu.org>
8805
8806 * international/characters.el: Set category "^" (Combining) for
8807 more characters.
8808
8809 2013-09-07 Alan Mackenzie <acm@muc.de>
8810
8811 Correctly fontify Java class constructors.
8812 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
8813 in Java Mode.
8814 (c-recognize-typeless-decls): Set the Java value to t.
8815 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
8816 While handling a "(", add a check for, effectively, Java, and handle a
8817 "typeless" declaration there.
8818
8819 2013-09-07 Roland Winkler <winkler@gnu.org>
8820
8821 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
8822 field subtitle for entry type book.
8823
8824 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8825
8826 * minibuffer.el: Make minibuffer-complete call completion-in-region
8827 rather than other way around.
8828 (completion--some, completion-pcm--find-all-completions):
8829 Don't delay signals when debugging.
8830 (minibuffer-completion-contents): Beware fields within the
8831 minibuffer contents.
8832 (completion-all-sorted-completions): Use defvar-local.
8833 (completion--do-completion, completion--cache-all-sorted-completions)
8834 (completion-all-sorted-completions, minibuffer-force-complete):
8835 Add args `beg' and `end'.
8836 (completion--in-region-1): New fun, extracted from minibuffer-complete.
8837 (minibuffer-complete): Use completion-in-region.
8838 (completion-complete-and-exit): New fun, extracted from
8839 minibuffer-complete-and-exit.
8840 (minibuffer-complete-and-exit): Use it.
8841 (completion--complete-and-exit): Rename from
8842 minibuffer--complete-and-exit.
8843 (completion-in-region--single-word): New function, extracted from
8844 minibuffer-complete-word.
8845 (minibuffer-complete-word): Use it.
8846 (display-completion-list): Make `common-substring' argument obsolete.
8847 (completion--in-region): Call completion--in-region-1 instead of
8848 minibuffer-complete.
8849 (completion-help-at-point): Pass boundaries to
8850 minibuffer-completion-help as args rather than via an overlay.
8851 (completion-pcm--string->pattern): Use `any-delim'.
8852 (completion-pcm--optimize-pattern): New function.
8853 (completion-pcm--pattern->regex): Handle `any-delim'.
8854 * icomplete.el (icomplete-forward-completions)
8855 (icomplete-backward-completions, icomplete-completions):
8856 Adjust calls to completion-all-sorted-completions and
8857 completion--cache-all-sorted-completions.
8858 (icomplete-with-completion-tables): Default to t.
8859 * emacs-lisp/crm.el (crm--current-element): Rename from
8860 crm--select-current-element. Don't put an overlay but return the
8861 boundaries instead.
8862 (crm--completion-command): Take two new args to bind to the boundaries.
8863 (crm-completion-help): Adjust accordingly.
8864 (crm-complete): Use completion-in-region.
8865 (crm-complete-word): Use completion-in-region--single-word.
8866 (crm-complete-and-exit): Use completion-complete-and-exit.
8867
8868 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8869
8870 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
8871 than dynamically.
8872
8873 2013-09-06 Juri Linkov <juri@jurta.org>
8874
8875 * info.el (Info-display-images-node): When image file doesn't exist
8876 display text version of the image if it's provided in the Info file.
8877 Otherwise, display the location of missing image from SRC attribute.
8878 Add help-echo text property from ALT attribute. (Bug#15279)
8879
8880 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
8881
8882 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
8883 (edit-abbrevs-mode): Use define-derived-mode.
8884
8885 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
8886 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
8887 that it's defined.
8888 (epa-key-list-mode, epa-key-mode, epa-info-mode):
8889 Use define-derived-mode.
8890
8891 * epg.el (epg-start-encrypt): Minor CSE simplification.
8892
8893 2013-09-06 William Xu <william.xwl@gmail.com>
8894
8895 * arc-mode.el: Add support for 7za (bug#15264).
8896 (archive-7z-program): New var.
8897 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
8898 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
8899 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
8900
8901 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
8902
8903 Remove URL syntax.
8904
8905 * net/tramp.el (tramp-syntax, tramp-prefix-format)
8906 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
8907 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
8908 (tramp-postfix-host-format, tramp-file-name-regexp)
8909 (tramp-completion-file-name-regexp)
8910 (tramp-completion-dissect-file-name)
8911 (tramp-handle-substitute-in-file-name): Remove 'url case.
8912 (tramp-file-name-regexp-url)
8913 (tramp-completion-file-name-regexp-url): Remove constants.
8914
8915 2013-09-06 Glenn Morris <rgm@gnu.org>
8916
8917 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
8918
8919 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
8920
8921 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
8922 keywords" below "here-doc beginnings" (Bug#15270).
8923
8924 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8925
8926 * subr.el (pop): Use `car-safe'.
8927 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
8928 to detect unused `pop' return value.
8929
8930 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
8931 var `block-regexp'.
8932 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
8933 (python-fill-string): Remove unused var `marker'.
8934 (python-skeleton-add-menu-items): Remove unused var `items'.
8935
8936 * international/mule-cmds.el: Require CL.
8937 (find-coding-systems-for-charsets): Avoid add-to-list.
8938 (sanitize-coding-system-list): New function, extracted from
8939 select-safe-coding-system-interactively.
8940 (select-safe-coding-system-interactively): Use it.
8941 (read-input-method-name): Accept symbols for `default'.
8942
8943 * emacs-lisp/advice.el (defadvice): Add indent rule.
8944
8945 2013-09-05 Daniel Hackney <dan@haxney.org>
8946
8947 * dired-x.el:
8948 * net/ange-ftp.el:
8949 * net/browse-url.el:
8950 * net/dbus.el:
8951 * net/eudc.el:
8952 * net/eudcb-ldap.el:
8953 * net/eww.el:
8954 * net/imap.el:
8955 * printing.el:
8956 * vc/ediff-diff.el:
8957 * vc/ediff-init.el:
8958 * vc/ediff-merg.el:
8959 * vc/ediff-mult.el:
8960 * vc/ediff-util.el:
8961 * vc/ediff-wind.el:
8962 * vc/ediff.el:
8963 * vc/emerge.el:
8964 * vc/pcvs.el:
8965 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
8966 byte compiler. Remove some unused let-bound variables.
8967
8968 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8969
8970 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
8971 a "ref-cell", since it gets better optimized (bug#14883).
8972
8973 2013-09-05 Glenn Morris <rgm@gnu.org>
8974
8975 * progmodes/cc-awk.el (c-forward-sws): Declare.
8976
8977 2013-09-04 Glenn Morris <rgm@gnu.org>
8978
8979 * generic-x.el [rul-generic-mode]: Require cc-mode.
8980 (c++-mode-syntax-table): Declare.
8981 (rul-generic-mode-syntax-table): Init in the defvar.
8982
8983 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8984
8985 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
8986 (vc-do-command, vc-set-async-update):
8987 * vc/vc-mtn.el (vc-mtn-dir-status):
8988 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
8989 (vc-hg-pull, vc-hg-merge-branch):
8990 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
8991 (vc-git-merge-branch):
8992 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
8993 (vc-cvs-dir-status-files):
8994 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
8995 (vc-bzr-dir-status-files):
8996 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
8997 * vc/vc-annotate.el: Use lexical-binding.
8998 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
8999 (vc-sentinel-movepoint): Declare.
9000 (vc-annotate): Don't use `goto-line'.
9001 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9002 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9003 (vc-sentinel-movepoint): Declare.
9004 * vc/vc-svn.el: Use lexical-binding.
9005 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9006 * vc/vc-sccs.el:
9007 * vc/vc-rcs.el: Use lexical-binding.
9008
9009 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9010 `deleted'. Don't drop errors silently.
9011
9012 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9013
9014 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9015
9016 * vc/vc.el (vc-ignore): Rewrite.
9017 (vc-default-ignore): New function.
9018 (vc-default-ignore-completion-table): Use find-ignore-file.
9019
9020 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9021 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9022 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9023 Remove. Most code moved to vc.el.
9024
9025 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9026
9027 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9028 * net/tramp-smb.el (tramp-smb-get-file-entries):
9029 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9030 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9031
9032 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9033 Update call to it.
9034 (eww-change-select): Remove unused var `properties'.
9035 (eww-make-unique-file-name): Remove unused var `base'.
9036
9037 * finder.el (finder-compile-keywords): Don't mess with windows.
9038
9039 * calculator.el (calculator-funcall): Fix typo in last change.
9040
9041 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9042
9043 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9044 <pkg>-autoloads.el file stop us.
9045
9046 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9047 warnings, and factor out common code.
9048
9049 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
9050
9051 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
9052 two-character operators and whether the character preceding them
9053 changes their meaning (Bug#15208).
9054
9055 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9056
9057 Format code sent to Python shell for robustness.
9058 * progmodes/python.el (python-shell-buffer-substring):
9059 New function.
9060 (python-shell-send-region, python-shell-send-buffer): Use it.
9061
9062 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
9063
9064 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
9065 * net/tramp.el (tramp-user-error): ... here.
9066 (tramp-find-method, tramp-check-proper-host)
9067 (tramp-dissect-file-name, tramp-debug-message)
9068 (tramp-handle-shell-command):
9069 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9070 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
9071
9072 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
9073
9074 2013-09-02 Martin Rudalics <rudalics@gmx.at>
9075
9076 * avoid.el (mouse-avoidance-point-position)
9077 (mouse-avoidance-too-close-p): Handle case where posn-at-point
9078 returns nil.
9079
9080 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
9081
9082 * progmodes/python.el (python-shell-completion-get-completions):
9083 Drop use of deleted `comint-last-prompt-overlay'.
9084 (python-nav-if-name-main): New command.
9085
9086 2013-09-01 Glenn Morris <rgm@gnu.org>
9087
9088 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9089 Avoid leading space in $wins. Otherwise the sed command used by
9090 eg compile-main ends up containing "/*.el". (Bug#15170)
9091
9092 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
9093
9094 2013-08-30 Glenn Morris <rgm@gnu.org>
9095
9096 * emacs-lisp/bytecomp.el (byte-recompile-directory):
9097 Fix is-this-a-directory logic. (Bug#15220)
9098
9099 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9100
9101 * textmodes/css-mode.el: Use SMIE.
9102 (css-smie-grammar): New var.
9103 (css-smie--forward-token, css-smie--backward-token)
9104 (css-smie-rules): New functions.
9105 (css-mode): Use them.
9106 (css-navigation-syntax-table): Remove var.
9107 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
9108 (css-indent-calculate, css-indent-line): Remove functions.
9109
9110 Misc changes to reduce use of `(lambda...); and other cleanups.
9111 * cus-edit.el: Use lexical-binding.
9112 (customize-push-and-save, customize-apropos)
9113 (custom-buffer-create-internal): Use closures.
9114 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
9115 * progmodes/ada-xref.el: Use setq.
9116 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
9117 * dframe.el: Use lexical-binding.
9118 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
9119 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
9120 * descr-text.el: Use lexical-binding.
9121 (describe-text-widget, describe-text-sexp, describe-property-list):
9122 Use closures.
9123 * comint.el (comint-history-isearch-push-state): Use a closure.
9124 * calculator.el: Use lexical-binding.
9125 (calculator-number-to-string): Make it work with lexical-binding.
9126 (calculator-funcall): Same and use cl-letf.
9127
9128 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
9129 (lisp--company-doc-string, lisp--company-location): New functions.
9130 (lisp-completion-at-point): Use them to improve Company support.
9131
9132 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
9133 params of lambda expressions.
9134 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
9135 (ruby-smie--opening-pipe-p): New function.
9136 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
9137 symbols and matched |...| for formal params.
9138 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
9139 from being treated as hanging. Handle "rescue".
9140
9141 2013-08-29 Glenn Morris <rgm@gnu.org>
9142
9143 * progmodes/cc-engine.el (c-pull-open-brace):
9144 Move definition before use.
9145
9146 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
9147
9148 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
9149 are immutable. Don't use `unsafe' any more.
9150 (cl--defsubst-expand): Don't substitute at the same time as keeping
9151 a residual unused let-binding. Don't use `unsafe' any more.
9152
9153 2013-08-29 Glenn Morris <rgm@gnu.org>
9154
9155 * calendar/cal-china.el (calendar-chinese-year-cache):
9156 Recenter on 2015.
9157
9158 * nxml/nxml-util.el (nxml-debug-clear-inside):
9159 Use cl-loop rather than loop.
9160
9161 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
9162
9163 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
9164
9165 2013-08-28 Glenn Morris <rgm@gnu.org>
9166
9167 * progmodes/antlr-mode.el: No need to require cc-mode twice.
9168
9169 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
9170
9171 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
9172
9173 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9174
9175 * simple.el (repeat-complex-command--called-interactively-skip):
9176 New function.
9177 (repeat-complex-command): Use it (bug#14136).
9178
9179 * progmodes/cc-mode.el: Minor cleanup of var declarations.
9180 (c-define-abbrev-table): Add `doc' argument.
9181 (c-mode-abbrev-table, c++-mode-abbrev-table)
9182 (objc-mode-abbrev-table, java-mode-abbrev-table)
9183 (idl-mode-abbrev-table, pike-mode-abbrev-table)
9184 (awk-mode-abbrev-table): Use it.
9185 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
9186 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
9187 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
9188 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
9189 Move initialization into the declaration; and remove any
9190 autoload cookie.
9191
9192 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
9193 and dynamic let binding.
9194
9195 * vc/smerge-mode.el: Remove redundant :group args.
9196
9197 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
9198 to load-path.
9199
9200 2013-08-28 Juri Linkov <juri@jurta.org>
9201
9202 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
9203 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
9204 (isearch-other-meta-char): Handle an undefined shifted printing
9205 character by downshifting it. (Bug#15200)
9206
9207 2013-08-28 Juri Linkov <juri@jurta.org>
9208
9209 * isearch.el (isearch-search): Change regexp error message for
9210 non-regexp searches. (Bug#15166)
9211
9212 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
9213
9214 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
9215 for portability to hosts where /bin/sh has problems.
9216
9217 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
9218
9219 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
9220
9221 2013-08-27 Juri Linkov <juri@jurta.org>
9222
9223 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
9224 in the keyboard macro. (Bug#15126)
9225
9226 2013-08-27 Juri Linkov <juri@jurta.org>
9227
9228 * isearch.el (isearch-quote-char): Comment out converting unibyte
9229 to multibyte, thus syncing with its `quoted-insert' counterpart.
9230 (Bug#15166)
9231
9232 2013-08-27 Martin Rudalics <rudalics@gmx.at>
9233
9234 * window.el (display-buffer-use-some-window): Add missing
9235 argument in call of get-largest-window (Bug#15185).
9236 Reported by Stephen Leake.
9237
9238 2013-08-27 Glenn Morris <rgm@gnu.org>
9239
9240 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
9241
9242 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
9243
9244 * progmodes/python.el (python-font-lock-keywords): Don't return nil
9245 from a matcher-function unless there's no more matches (bug#15161).
9246
9247 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9248
9249 * minibuffer.el: Revert change from 2013-08-20.
9250
9251 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
9252 with text property `tramp-default', if appropriate.
9253 (tramp-check-proper-host): New defun.
9254 (tramp-dissect-file-name): Do not check hostname. Revert change
9255 of 2013-03-18.
9256 (tramp-backtrace): Make VEC-OR-PROC optional.
9257
9258 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9259 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9260 * net/tramp-sh.el (tramp-maybe-open-connection):
9261 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9262 Apply `tramp-check-proper-host'.
9263
9264 2013-08-26 Tassilo Horn <tsdh@gnu.org>
9265
9266 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
9267 lambda expression in order to have `describe-variable' display it.
9268
9269 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
9270
9271 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
9272 BUF can be optional. (Bug#15186)
9273
9274 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
9275
9276 * progmodes/flymake.el (flymake-get-real-file-name-function):
9277 Fix broken customization. (Bug#15184)
9278
9279 2013-08-25 Alan Mackenzie <acm@muc.de>
9280
9281 Improve indentation of bracelists defined by macros (without "=").
9282
9283 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
9284 expansion begins with "{", regard it as bracelist when it doesn't
9285 contain a ";".
9286
9287 Parse C++ inher-intro when there's a template split over 2 lines.
9288
9289 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
9290 rigorously the search for "class" etc. followed by ":".
9291
9292 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
9293 random languages a regexp which never matches rather than nil.
9294
9295 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
9296
9297 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
9298 (c-awk-regexp-one-line-possibly-open-char-list-re)
9299 (c-awk-one-line-possibly-open-regexp-re)
9300 (c-awk-one-line-non-syn-ws*-re): Remove.
9301 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
9302 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
9303 (c-awk-space*-unclosed-regexp-/-re): New constants.
9304 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
9305 aren't regexp delimiters.
9306
9307 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
9308 handling for a rare situation in AWK Mode involving unterminated
9309 strings/regexps.
9310
9311 2013-08-23 Glenn Morris <rgm@gnu.org>
9312
9313 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
9314
9315 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
9316
9317 * files.el (create-file-buffer): If the result would begin with
9318 spaces, prepend a "|" instead of removing them. (Bug#15162)
9319
9320 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
9321
9322 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
9323 text-properties (bug#15155).
9324
9325 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
9326 exist any more.
9327 (calc-keypad-redraw): Remove unused var `pad'.
9328 (calc-keypad-press): Remove unused var `menu'.
9329
9330 2013-08-23 Martin Rudalics <rudalics@gmx.at>
9331
9332 * window.el (display-buffer-pop-up-frame):
9333 Call pop-up-frame-function with BUFFER current so `make-frame' will
9334 use it as the new frame's buffer (Bug#15133).
9335
9336 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
9337
9338 * calendar/timeclock.el: Minor cleanups.
9339 (timeclock-ask-before-exiting, timeclock-use-display-time):
9340 Use `symbol'.
9341 (timeclock-modeline-display): Define as alias before the
9342 actual definition.
9343 (timeclock-mode-line-display): Use define-minor-mode.
9344 (timeclock-day-list-template): Make it a function, add an argument.
9345 (timeclock-day-list-required, timeclock-day-list-length)
9346 (timeclock-day-list-debt, timeclock-day-list-span)
9347 (timeclock-day-list-break): Adjust calls accordingly.
9348
9349 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
9350
9351 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
9352 Use read--expression so that completion works again.
9353
9354 2013-08-21 Sam Steingold <sds@gnu.org>
9355
9356 Add rudimentary inferior shell interaction
9357 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
9358 (sh-set-shell): Reset it.
9359 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
9360 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
9361
9362 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
9363
9364 * align.el: Use lexical-binding.
9365 (align-region): Simplify accordingly.
9366
9367 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
9368
9369 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
9370
9371 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
9372 `non-essential' up.
9373
9374 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
9375
9376 * net/tramp.el:
9377 * net/tramp-adb.el:
9378 * net/tramp-cmds.el:
9379 * net/tramp-ftp.el:
9380 * net/tramp-gvfs.el:
9381 * net/tramp-gw.el:
9382 * net/tramp-sh.el: Don't wrap external variable declarations by
9383 `eval-when-compile'.
9384
9385 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
9386
9387 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
9388 now that Emacs supports ImageMagick animations.
9389
9390 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
9391
9392 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
9393 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
9394
9395 2013-08-16 Martin Rudalics <rudalics@gmx.at>
9396
9397 * window.el (mouse-autoselect-window-select): Do autoselect when
9398 mouse pointer is on margin.
9399
9400 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
9401
9402 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
9403
9404 2013-08-16 Glenn Morris <rgm@gnu.org>
9405
9406 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
9407 Handle "Remote Directory" response of some clients. (Bug#15058)
9408
9409 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
9410 Tweak warning. (Bug#14926)
9411
9412 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
9413 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
9414
9415 * image-mode.el (image-mode-map): Add menu items to reverse,
9416 increase, decrease, reset animation speed.
9417 (image--set-speed, image-increase-speed, image-decrease-speed)
9418 (image-reverse-speed, image-reset-speed): New functions.
9419 (image-mode-map): Add bindings for speed commands.
9420
9421 * image.el (image-animate-get-speed, image-animate-set-speed):
9422 New functions.
9423 (image-animate-timeout): Respect image :speed property.
9424
9425 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
9426
9427 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
9428 previous line (bug#15101).
9429 (debugger-eval-expression, debugger-record-expression):
9430 Use read--expression (bug#15102).
9431
9432 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
9433
9434 Remove byte compiler warnings, visible when compiling with
9435 `byte-compile-force-lexical-warnings' set to t.
9436
9437 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
9438 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
9439 (tramp-handle-unhandled-file-name-directory)
9440 (tramp-handle-file-notify-add-watch, tramp-action-login)
9441 (tramp-action-succeed, tramp-action-permission-denied)
9442 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
9443 arguments with "_".
9444
9445 * net/tramp-adb.el (tramp-adb-parse-device-names)
9446 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
9447 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
9448 (tramp-adb-handle-file-truename): Remove unused arguments.
9449
9450 * net/tramp-cache.el (tramp-flush-directory-property)
9451 (tramp-flush-connection-property, tramp-list-connections)
9452 (tramp-parse-connection-properties): Prefix unused arguments with "_".
9453
9454 * net/tramp-compat.el (tramp-compat-make-temp-file):
9455 Rename FILENAME to F.
9456
9457 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
9458 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
9459 (tramp-zeroconf-parse-workstation-device-names)
9460 (tramp-zeroconf-parse-webdav-device-names)
9461 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
9462
9463 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
9464 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
9465
9466 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
9467 arguments.
9468 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
9469 (tramp-sh-handle-insert-file-contents-literally)
9470 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
9471 with "_".
9472 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
9473 Remove unused variables.
9474
9475 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
9476 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
9477 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
9478
9479 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
9480 Make them a defconst.
9481 (tramp-uuencode-region): Remove unused variable.
9482
9483 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
9484
9485 * frameset.el (frameset--prop-setter): New function.
9486 (frameset-prop): Add gv-setter declaration.
9487 (frameset-filter-minibuffer): Deal with the case that the minibuffer
9488 parameter was already set in FILTERED. Doc fix.
9489 (frameset--record-minibuffer-relationships): Allow saving a
9490 minibufferless frame without its corresponding minibuffer frame.
9491 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
9492 frame, if the frame id matches.
9493 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
9494 frames before orphaned ones.
9495 (frameset-restore): Warn about orphaned windows, instead of error out.
9496
9497 2013-08-14 Martin Rudalics <rudalics@gmx.at>
9498
9499 * window.el (window-make-atom): Don't overwrite parameter
9500 already present.
9501 (display-buffer-in-atom-window): Handle special case where we
9502 split an already atomic window.
9503 (window--major-non-side-window, display-buffer-in-side-window)
9504 (window--side-check): Ignore minibuffer window when walking
9505 window tree.
9506 (window-deletable-p): Return 'frame only if no other frame uses
9507 our minibuffer window.
9508 (record-window-buffer): Run buffer-list-update-hook.
9509 (split-window): Make sure window--check-frame won't destroy an
9510 existing atomic window in case the new window gets nested
9511 inside.
9512 (display-buffer-at-bottom): Ignore minibuffer window when
9513 walking window tree. Don't split a side window.
9514 (pop-to-buffer): Don't set-buffer here, the select-window call
9515 should do that.
9516 (mouse-autoselect-window-select): Autoselect only if we are in the
9517 text portion of the window.
9518
9519 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
9520
9521 * net/shr.el (shr-parse-image-data): New function to grab both the
9522 data itself and the Content-Type.
9523 (shr-put-image): Use it.
9524
9525 * net/eww.el (eww-display-image): Ditto.
9526
9527 * image.el (image-content-type-suffixes): New variable.
9528
9529 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
9530
9531 * progmodes/python.el (python-imenu--build-tree)
9532 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
9533
9534 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
9535
9536 * simple.el (backward-word): Mention the optional argument.
9537
9538 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9539
9540 * frameset.el (frameset--make): Rename constructor from make-frameset.
9541 (frameset-p, frameset-valid-p): Don't autoload.
9542 (frameset-valid-p): Use normal accessors.
9543
9544 2013-08-13 Glenn Morris <rgm@gnu.org>
9545
9546 * progmodes/compile.el (compile-command): Tweak example in doc.
9547 * obsolete/scribe.el (scribe-mode):
9548 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
9549
9550 * mail/feedmail.el (feedmail-confirm-outgoing)
9551 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
9552
9553 * cus-start.el (truncate-partial-width-windows): Fix type.
9554
9555 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
9556
9557 * net/shr.el (shr-table-horizontal-line): Fix custom type.
9558
9559 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
9560
9561 * emacs-lisp/timer.el (timer--time-setter): New function.
9562 (timer--time): Use it as gv-setter.
9563
9564 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
9565 setter is not a symbol.
9566
9567 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
9568
9569 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
9570 if sending fails. This makes debugging easier.
9571
9572 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
9573
9574 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
9575 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
9576 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
9577
9578 2013-08-12 Eli Zaretskii <eliz@gnu.org>
9579
9580 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
9581
9582 2013-08-12 Glenn Morris <rgm@gnu.org>
9583
9584 * format.el (format-annotate-function):
9585 Handle read-only text properties in the source. (Bug#14887)
9586
9587 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
9588
9589 * net/eww.el (eww-display-html): Ignore coding system errors.
9590 One web site uses "utf-8lias" as the coding system.
9591
9592 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
9593
9594 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
9595
9596 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
9597
9598 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
9599 (tutorial--detailed-help): Remove unused local variables.
9600 (tutorial--save-tutorial-to): Use ignore-errors.
9601 (help-with-tutorial): Use looking-at-p.
9602
9603 * view.el (view-buffer-other-window, view-buffer-other-frame):
9604 Mark unused arguments.
9605
9606 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
9607 (woman-select-symbol-fonts, woman, woman-find-file)
9608 (woman-insert-file-contents, woman-non-underline-faces):
9609 Use string-match-p.
9610 (woman1-unquote): Move declaration.
9611
9612 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
9613 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
9614 argument. Remove unused local variable.
9615 (xml-parse-elem-type): Use string-match-p.
9616 (xml-substitute-numeric-entities): Use ignore-errors.
9617
9618 * calculator.el (calculator): Mark unused argument.
9619 (calculator-paste, calculator-quit, calculator-integer-p):
9620 Use ignore-errors.
9621 (calculator-string-to-number, calculator-decimal, calculator-exp)
9622 (calculator-op-or-exp): Use string-match-p.
9623
9624 * dired.el (dired-buffer-more-recently-used-p): Declare.
9625 (dired-insert-set-properties, dired-insert-old-subdirs):
9626 Use ignore-errors.
9627
9628 * dired-aux.el (dired-compress): Use ignore-errors.
9629 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
9630 (dired-do-async-shell-command, dired-do-shell-command)
9631 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
9632 (dired-insert-subdir-validate): Use string-match-p.
9633 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
9634 (dired-add-entry): Use string-match-p, looking-at-p.
9635 (dired-insert-subdir-newpos): Remove unused local variable.
9636
9637 * filenotify.el (file-notify-callback): Remove unused local variable.
9638
9639 * filesets.el (filesets-error): Mark unused argument.
9640 (filesets-which-command-p, filesets-filter-dir-names)
9641 (filesets-directory-files, filesets-get-external-viewer)
9642 (filesets-ingroup-get-data): Use string-match-p.
9643
9644 * find-file.el (ff-other-file-name, ff-other-file-name)
9645 (ff-find-the-other-file, ff-cc-hh-converter):
9646 Remove unused local variables.
9647 (ff-get-file-name): Use string-match-p.
9648 (ff-all-dirs-under): Use ignore-errors.
9649
9650 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
9651 (follow-select-if-visible): Remove unused local variable.
9652
9653 * forms.el (read-file-filter): Move declaration.
9654 (forms--make-format, forms--make-parser, forms-insert-record):
9655 Quote function with #'.
9656 (forms--update): Use string-match-p. Quote function with #'.
9657
9658 * help-mode.el (help-dir-local-var-def): Mark unused argument.
9659 (help-make-xrefs): Use looking-at-p.
9660 (help-xref-on-pp): Use looking-at-p, ignore-errors.
9661
9662 * ibuffer.el (ibuffer-ext-visible-p): Declare.
9663 (ibuffer-confirm-operation-on): Use string-match-p.
9664
9665 * msb.el (msb-item-handler, msb-dired-item-handler):
9666 Mark unused arguments.
9667
9668 * ses.el (ses-decode-cell-symbol)
9669 (ses-kill-override): Remove unused local variable.
9670 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
9671 (ses-load): Use ignore-errors, looking-at-p.
9672 (ses-jump-safe): Use ignore-errors.
9673 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
9674
9675 * tabify.el (untabify, tabify): Mark unused arguments.
9676
9677 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
9678 Mark unused argument.
9679 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
9680 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
9681
9682 * emacs-lisp/timer.el (timer--time): Define setter with
9683 gv-define-setter to avoid deprecation warning.
9684
9685 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
9686 (*record-cmpl-statistics-p*): Remove (was commented out).
9687 (cmpl-statistics-block): Remove (body was commented out).
9688 All callers changed.
9689 (add-completions-from-buffer, load-completions-from-file):
9690 Remove unused variables.
9691
9692 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9693
9694 * filecache.el (file-cache-delete-file-list):
9695 Print message only when told so.
9696 (file-cache-files-matching): Use #' in mapconcat argument.
9697
9698 * ffap.el (ffap-url-at-point): Fix reference to variable
9699 thing-at-point-default-mail-uri-scheme.
9700
9701 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
9702
9703 * subr.el (define-error): New function.
9704 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
9705 error-file-not-found and define with define-error.
9706 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
9707 and define with define-error.
9708 * userlock.el (file-locked, file-supersession):
9709 * simple.el (mark-inactive):
9710 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
9711 * progmodes/ada-mode.el (ada-mode-errors):
9712 * play/life.el (life-extinct):
9713 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
9714 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
9715 * nxml/rng-util.el (rng-error):
9716 * nxml/rng-uri.el (rng-uri-error):
9717 * nxml/rng-match.el (rng-compile-error):
9718 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
9719 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
9720 * nxml/nxml-rap.el (nxml-scan-error):
9721 * nxml/nxml-outln.el (nxml-outline-error):
9722 * net/soap-client.el (soap-error):
9723 * net/gnutls.el (gnutls-error):
9724 * net/ange-ftp.el (ftp-error):
9725 * mpc.el (mpc-proc-error):
9726 * json.el (json-error, json-readtable-error, json-unknown-keyword)
9727 (json-number-format, json-string-escape, json-string-format)
9728 (json-key-format, json-object-format):
9729 * jka-compr.el (compression-error):
9730 * international/quail.el (quail-error):
9731 * international/kkc.el (kkc-error):
9732 * emacs-lisp/ert.el (ert-test-failed):
9733 * calc/calc.el (calc-error, inexact-result, math-overflow)
9734 (math-underflow):
9735 * bookmark.el (bookmark-error-no-filename):
9736 * epg.el (epg-error): Define with define-error.
9737
9738 * time.el (display-time-event-handler)
9739 (display-time-next-load-average): Don't call sit-for since it seems
9740 unnecessary (bug#15045).
9741
9742 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
9743 Use #' instead of ' to quote functions.
9744 (checkdoc-output-mode): Use setq-local.
9745 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
9746 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
9747 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
9748 (checkdoc-ispell, checkdoc-ispell-current-buffer)
9749 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
9750 (checkdoc-ispell-message-text, checkdoc-ispell-start)
9751 (checkdoc-ispell-continue, checkdoc-ispell-comments)
9752 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
9753
9754 * ido.el (ido-completion-help): Fix up compiler warning.
9755
9756 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
9757
9758 * frameset.el (frameset-p): Add autoload cookie.
9759 (frameset--jump-to-register): New function, based on code moved from
9760 register.el.
9761 (frameset-to-register): Move from register.el. Adapt to `registerv'.
9762
9763 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
9764 (frameset-restore, frameset-save, frameset-session-filter-alist):
9765 Remove declarations.
9766 (register-alist): Doc fix.
9767 (frameset-to-register): Move to frameset.el.
9768 (jump-to-register, describe-register-1): Remove frameset-specific code.
9769
9770 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9771
9772 * allout-widgets.el (allout-widgets-pre-command-business)
9773 (allout-widgets-post-command-business)
9774 (allout-widgets-after-change-handler)
9775 (allout-decorate-item-and-context, allout-set-boundary-marker)
9776 (allout-body-modification-handler)
9777 (allout-graphics-modification-handler): Mark ignored arguments.
9778 (allout-widgets-post-command-business)
9779 (allout-widgets-exposure-change-processor)
9780 (allout-widgets-exposure-undo-processor)
9781 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
9782 (allout-parse-item-at-point, allout-decorate-item-guides)
9783 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
9784 * allout.el (epa-passphrase-callback-function): Declare.
9785 (allout-overlay-insert-in-front-handler)
9786 (allout-overlay-interior-modification-handler)
9787 (allout-isearch-end-handler, allout-chart-siblings)
9788 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
9789 (allout-yank-processing, allout-process-exposed)
9790 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
9791 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
9792 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
9793 (lisp-indent-defform): Mark ignored arguments.
9794 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
9795 (calculate-lisp-indent): Remove unused variables.
9796 * international/characters.el (indian-2-column, arabic-2-column)
9797 (tibetan): Mark ignored arguments.
9798 (use-cjk-char-width-table): Mark ignored arguments.
9799 Remove unused variables.
9800 * international/fontset.el (build-default-fontset-data)
9801 (x-compose-font-name, create-fontset-from-fontset-spec):
9802 Mark ignored arguments.
9803 (fontset-plain-name): Remove unused variables.
9804 * international/mule.el (charset-id, charset-bytes, generic-char-p)
9805 (keyboard-coding-system): Mark ignored arguments.
9806 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
9807 * help.el (resize-temp-buffer-window):
9808 * window.el (display-buffer-in-major-side-window)
9809 (display-buffer-in-side-window, display-buffer-in-previous-window):
9810 Remove unused variables.
9811 * isearch.el (isearch-forward-symbol):
9812 * version.el (emacs-bzr-version-bzr):
9813 * international/mule-cmds.el (current-language-environment):
9814 * term/common-win.el (x-handle-iconic, x-handle-geometry)
9815 (x-handle-display):
9816 * term/pc-win.el (x-list-fonts, x-display-planes)
9817 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
9818 (x-server-version, x-display-screens, x-display-mm-height)
9819 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
9820 (x-selection-owner-p, x-own-selection-internal)
9821 (x-disown-selection-internal, x-get-selection-internal)
9822 (msdos-initialize-window-system):
9823 * term/tty-colors.el (tty-color-alist, tty-color-clear):
9824 * term/x-win.el (x-handle-no-bitmap-icon):
9825 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
9826 (vc-default-find-file-hook, vc-default-extra-menu):
9827 Mark ignored arguments.
9828
9829 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9830
9831 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
9832 break-condition in the context of the debugged code (bug#12685).
9833
9834 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
9835
9836 * comint.el:
9837 Do not use an overlay to highlight the last prompt. (Bug#14744)
9838 (comint-mode): Make comint-last-prompt buffer local.
9839 (comint-last-prompt): New variable.
9840 (comint-last-prompt-overlay): Remove. Superseded by
9841 comint-last-prompt.
9842 (comint-snapshot-last-prompt, comint-output-filter):
9843 Use comint-last-prompt.
9844
9845 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9846
9847 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
9848 (frameset-save): Check validity of the resulting frameset.
9849
9850 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
9851
9852 * ido.el (ido-record-command): Add doc string.
9853
9854 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9855
9856 * frameset.el (frameset): Do not disable creation of the default
9857 frameset-p predicate. Doc fix.
9858 (frameset-valid-p): New function, copied from the old predicate-p.
9859 Add additional checks.
9860 (frameset-restore): Check with frameset-valid-p.
9861 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
9862 (frameset-name, frameset-description, frameset-properties)
9863 (frameset-states): Add docstring.
9864 (frameset-session-filter-alist, frameset-persistent-filter-alist)
9865 (frameset-filter-alist): Doc fixes.
9866
9867 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9868
9869 * frameset.el (frameset-p, frameset-prop): Doc fixes.
9870
9871 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
9872
9873 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
9874 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
9875 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
9876 (byte-compile-normal-call): Remove obsolescence check.
9877
9878 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
9879
9880 * frameset.el (frameset-restore): Doc fix.
9881
9882 * register.el (frameset-frame-id, frameset-frame-with-id)
9883 (frameset-p, frameset-restore, frameset-save): Declare.
9884 (register-alist): Document framesets.
9885 (frameset-session-filter-alist): Declare.
9886 (frameset-to-register): New function.
9887 (jump-to-register): Implement jumping to framesets. Doc fix.
9888 (describe-register-1): Describe framesets.
9889
9890 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
9891
9892 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
9893
9894 * desktop.el (desktop-save-frameset): Use new frameset-save args.
9895 Use lexical-binding.
9896
9897 * frameset.el (frameset): Use type vector, not list (incompatible
9898 change). Do not declare a new constructor, use the default one.
9899 Upgrade suggested properties `app', `name' and `desc' to slots `app',
9900 `name' and `description', respectively, and add read-only slot
9901 `timestamp'. Doc fixes.
9902 (frameset-copy, frameset-persistent-filter-alist)
9903 (frameset-filter-alist, frameset-switch-to-gui-p)
9904 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
9905 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
9906 (frameset-filter-iconified, frameset-keep-original-display-p):
9907 Doc fixes.
9908 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
9909 Rename from frameset-filter-(save|restore)-param. All callers changed.
9910 Doc fix.
9911 (frameset-p): Adapt to change to vector and be more thorough.
9912 Change arg name to OBJECT. Doc fix.
9913 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
9914 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
9915 All callers changed.
9916 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
9917 All callers changed.
9918 (frameset--record-minibuffer-relationships): Rename from
9919 frameset--process-minibuffer-frames. All callers changed.
9920 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
9921 Use new default constructor (again). Doc fix.
9922 (frameset--find-frame-if): Rename from `frameset--find-frame'.
9923 All callers changed.
9924 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
9925 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
9926 Doc fix.
9927 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
9928 PARAMETERS and WINDOW-STATE, respectively.
9929 (frameset-restore): Add new keyword argument PREDICATE.
9930 Reset frameset--target-display to nil. Doc fix.
9931
9932 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9933
9934 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
9935 (bat-mode): Use it.
9936 (bat-mode-syntax-table): Mark \n as end-of-comment.
9937 (bat-font-lock-keywords): Remove comment rule.
9938
9939 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
9940 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
9941
9942 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
9943 (byte-compile-callargs-warn): Use `push'.
9944 (byte-compile-arglist-warn): Ignore higher-order "calls".
9945 (byte-compile-file-form-autoload): Use `pcase'.
9946 (byte-compile-function-form): If quoting a symbol, check that it exists.
9947
9948 2013-08-07 Eli Zaretskii <eliz@gnu.org>
9949
9950 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
9951 and add a few popular commands found in batch files.
9952 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
9953 (dos-mode): Doc fixes.
9954
9955 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
9956
9957 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
9958 (dos-mode): Use setq-local. Add space after "rem".
9959 (dos-mode-syntax-table): Don't use "w" for symbol chars.
9960 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
9961
9962 2013-08-07 Arni Magnusson <arnima@hafro.is>
9963
9964 * progmodes/dos.el: New file.
9965 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
9966 dos-mode.
9967
9968 2013-08-06 Glenn Morris <rgm@gnu.org>
9969
9970 * calendar/calendar.el: Add new faces, and day-header-array.
9971 (calendar-weekday-header, calendar-weekend-header)
9972 (calendar-month-header): New faces.
9973 (calendar-day-header-construct): New function.
9974 (calendar-day-header-width): Also :set calendar-day-header-array.
9975 (calendar-american-month-header, calendar-european-month-header)
9976 (calendar-iso-month-header): Use calendar- faces.
9977 (calendar-generate-month):
9978 Use calendar-day-header-array for day headers; apply faces to them.
9979 (calendar-mode): Check calendar-font-lock-keywords non-nil.
9980 (calendar-abbrev-construct): Add optional maxlen argument.
9981 (calendar-day-name-array): Doc fix.
9982 (calendar-day-name-array, calendar-abbrev-length)
9983 (calendar-day-abbrev-array):
9984 Also :set calendar-day-header-array, and maybe redraw.
9985 (calendar-day-header-array): New option. (Bug#15007)
9986 (calendar-font-lock-keywords): Set to nil and make obsolete.
9987 (calendar-day-name): Add option to use header array.
9988
9989 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9990
9991 * net/shr.el (shr-render-td): Remove debugging.
9992 (shr-render-td): Make width computation consistent by defaulting
9993 all zero-width columns to 10 characters. This may not be optimal,
9994 but it's at least consistent.
9995 (shr-make-table-1): Redo last change to fix the real problem in
9996 colspan handling.
9997
9998 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
9999
10000 * files.el (cache-long-line-scans):
10001 Make obsolete alias to `cache-long-scans'.
10002
10003 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10004
10005 * frameset.el (frameset, frameset-filter-alist)
10006 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10007 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10008 (frameset-compute-pos): Rename from frameset--compute-pos,
10009 and add docstring.
10010 (frameset-move-onscreen): Use frameset-compute-pos.
10011 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10012
10013 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10014 Fix typos in docstrings.
10015
10016 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10017
10018 * frame.el (get-other-frame): Tiny cleanup.
10019
10020 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10021
10022 * vc/vc.el (vc-default-ignore-completion-table):
10023 Silence byte-compiler warning.
10024
10025 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10026 slot, which can indeed be nil.
10027 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10028 Move entry for `left' from persistent to live filter alist.
10029 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10030 Doc fixes.
10031 (frameset-filter-params): When restoring a frame, copy items added to
10032 `filtered', to avoid unwittingly modifying the original parameters.
10033 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10034 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10035
10036 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10037 to use looking-at-p instead of looking-at. (Bug#15028)
10038
10039 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10040
10041 Revert introduction of isearch-filter-predicates (bug#14714).
10042 Rely on add-function instead.
10043 * isearch.el (isearch-filter-predicates): Rename it back to
10044 isearch-filter-predicate.
10045 (isearch-message-prefix): Use advice-function-mapc and advice
10046 properties to get the isearch-message-prefix.
10047 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
10048 instead of run-hook-with-args-until-failure.
10049 (isearch-filter-visible): Not obsolete any more.
10050 * loadup.el: Preload nadvice.
10051 * replace.el (perform-replace): Revert to funcall
10052 instead of run-hook-with-args-until-failure.
10053 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
10054 * dired-aux.el (dired-isearch-filenames-mode): Rename from
10055 dired-isearch-filenames-toggle; make it into a proper minor mode.
10056 Use add/remove-function.
10057 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
10058 Call the minor-mode rather than add/remove-hook.
10059 (dired-isearch-filter-filenames):
10060 Remove isearch-message-prefix property.
10061 * info.el (Info--search-loop): New function, extracted from Info-search.
10062 Funcall isearch-filter-predicate instead of
10063 run-hook-with-args-until-failure isearch-filter-predicates.
10064 (Info-search): Use it.
10065 (Info-mode): Use isearch-filter-predicate instead of
10066 isearch-filter-predicates.
10067
10068 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10069
10070 Do not call to `selected-window' where it is assumed by default.
10071 Affected functions are `window-minibuffer-p', `window-dedicated-p',
10072 `window-hscroll', `window-width', `window-height', `window-buffer',
10073 `window-frame', `window-start', `window-point', `next-window'
10074 and `window-display-table'.
10075 * abbrev.el (abbrev--default-expand):
10076 * bs.el (bs--show-with-configuration):
10077 * buff-menu.el (Buffer-menu-mouse-select):
10078 * calc/calc.el (calc):
10079 * calendar/calendar.el (calendar-generate-window):
10080 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
10081 (diary-make-entry):
10082 * comint.el (send-invisible, comint-dynamic-complete-filename)
10083 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
10084 * completion.el (complete):
10085 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
10086 * disp-table.el (describe-current-display-table):
10087 * doc-view.el (doc-view-insert-image):
10088 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
10089 * ehelp.el (with-electric-help):
10090 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
10091 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
10092 * emacs-lisp/helper.el (Helper-help-scroller):
10093 * emulation/cua-base.el (cua--post-command-handler-1):
10094 * eshell/esh-mode.el (eshell-output-filter):
10095 * ffap.el (ffap-gnus-wrapper):
10096 * help-macro.el (make-help-screen):
10097 * hilit-chg.el (highlight-compare-buffers):
10098 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
10099 * hl-line.el (global-hl-line-highlight):
10100 * icomplete.el (icomplete-simple-completing-p):
10101 * isearch.el (isearch-done):
10102 * jit-lock.el (jit-lock-stealth-fontify):
10103 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
10104 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
10105 * mpc.el (mpc-tagbrowser, mpc):
10106 * net/rcirc.el (rcirc-any-buffer):
10107 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
10108 * play/landmark.el (landmark-max-width, landmark-max-height):
10109 * play/zone.el (zone):
10110 * progmodes/compile.el (compilation-goto-locus):
10111 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
10112 * progmodes/etags.el (find-tag-other-window):
10113 * progmodes/fortran.el (fortran-column-ruler):
10114 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
10115 * progmodes/verilog-mode.el (verilog-point-text):
10116 * reposition.el (reposition-window):
10117 * rot13.el (toggle-rot13-mode):
10118 * server.el (server-switch-buffer):
10119 * shell.el (shell-dynamic-complete-command)
10120 (shell-dynamic-complete-environment-variable):
10121 * simple.el (insert-buffer, set-selective-display)
10122 (delete-completion-window):
10123 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
10124 (speedbar-recenter):
10125 * startup.el (fancy-splash-head):
10126 * textmodes/ispell.el (ispell-command-loop):
10127 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
10128 * tutorial.el (help-with-tutorial):
10129 * vc/add-log.el (add-change-log-entry):
10130 * vc/compare-w.el (compare-windows):
10131 * vc/ediff-help.el (ediff-indent-help-message):
10132 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
10133 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
10134 (ediff-setup-control-frame):
10135 * vc/emerge.el (emerge-position-region):
10136 * vc/pcvs-util.el (cvs-bury-buffer):
10137 * window.el (walk-windows, mouse-autoselect-window-select):
10138 * winner.el (winner-set-conf, winner-undo): Related users changed.
10139
10140 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10141
10142 * frameset.el (frameset--set-id): Doc fix.
10143 (frameset-frame-id, frameset-frame-id-equal-p)
10144 (frameset-locate-frame-id): New functions.
10145 (frameset--process-minibuffer-frames, frameset--reuse-frame)
10146 (frameset-restore): Use them.
10147
10148 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
10149
10150 Do not call to `selected-frame' where it is assumed by default.
10151 Affected functions are `raise-frame', `redraw-frame',
10152 `frame-first-window', `frame-terminal' and `delete-frame'.
10153 * calendar/appt.el (appt-disp-window):
10154 * epg.el (epg-wait-for-completion):
10155 * follow.el (follow-delete-other-windows-and-split)
10156 (follow-avoid-tail-recenter):
10157 * international/mule.el (set-terminal-coding-system):
10158 * mail/rmail.el (rmail-mail-return):
10159 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
10160 * progmodes/f90.el (f90-add-imenu-menu):
10161 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
10162 * server.el (server-switch-buffer):
10163 * simple.el (delete-completion-window):
10164 * talk.el (talk):
10165 * term/xterm.el (terminal-init-xterm-modify-other-keys)
10166 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
10167 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
10168 * vc/ediff.el (ediff-documentation): Related users changed.
10169 * frame.el (selected-terminal): Remove the leftover.
10170
10171 2013-08-05 Glenn Morris <rgm@gnu.org>
10172
10173 * calendar/calendar.el (calendar-generate-month):
10174 Fix for calendar-column-width != 1 + calendar-day-digit-width.
10175 (calendar-generate-month, calendar-font-lock-keywords):
10176 Fix for calendar-day-header-width > length of any day name.
10177
10178 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
10179
10180 * desktop.el (desktop-clear): Use new name of sort predicate.
10181
10182 * frameset.el (frameset): Add docstring. Move :version property to its
10183 own `version' slot.
10184 (frameset-copy): Rename from copy-frameset.
10185 (frameset-p): Check more thoroughly.
10186 (frameset-prop): Do not check for :version, which is no longer a prop.
10187 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10188 Use new :never value instead of t.
10189 (frameset-filter-alist): Expand and clarify docstring.
10190 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
10191 (frameset-filter-minibuffer, frameset-filter-save-param)
10192 (frameset-filter-restore-param, frameset-filter-iconified):
10193 Add pointer to docstring of frameset-filter-alist.
10194 (frameset-filter-params): Rename filter values to be more meaningful:
10195 :never instead of t, and reverse the meanings of :save and :restore.
10196 (frameset--process-minibuffer-frames): Clarify error message.
10197 (frameset-save): Avoid unnecessary and confusing call to framep.
10198 Use new BOA constructor for framesets.
10199 (frameset--reuse-list): Doc fix.
10200 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
10201 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
10202 (frameset-minibufferless-first-p): Doc fix.
10203 Rename from frameset-sort-frames-for-deletion.
10204 (frameset-restore): Doc fixes. Use new function names.
10205 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10206
10207 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10208
10209 * desktop.el (desktop-restore-forces-onscreen)
10210 (desktop-restore-reuses-frames): Document :keyword constant values.
10211 (desktop-filter-parameters-alist): Remove, now identical to
10212 frameset-filter-alist.
10213 (desktop--filter-tty*): Remove, moved to frameset.el.
10214 (desktop-save-frameset, desktop-restore-frameset):
10215 Do not pass :filters argument.
10216
10217 * frameset.el (frameset-live-filter-alist)
10218 (frameset-persistent-filter-alist): New variables.
10219 (frameset-filter-alist): Use them. Add autoload cookie.
10220 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
10221 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
10222 `frameset--id' (it's supposed to be internal to frameset.el).
10223 (frameset--process-minibuffer-frames): Ditto. Doc fix.
10224 (frameset--initial-params): New function.
10225 (frameset--get-frame): Use it. Doc fix.
10226 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
10227 Accept :all, not 'all.
10228 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
10229 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
10230 with fbound symbols. Fix frame id matching, and remove matching ids if
10231 the frame being restored is deleted. Obey :delete.
10232
10233 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10234
10235 * subr.el (macrop): New function.
10236 (text-clone--maintaining): New var.
10237 (text-clone--maintain): Rename from text-clone-maintain. Use it
10238 instead of inhibit-modification-hooks.
10239
10240 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
10241 a proxy, so as handle autoloads and redefinitions of the target.
10242 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
10243
10244 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
10245 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
10246 (pcase--mutually-exclusive-p): New function.
10247 (pcase--split-consp): Use it.
10248 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
10249 mutually exclusive with the current predicate.
10250
10251 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
10252 (edebug-macrop): Remove. Use `macrop' instead.
10253 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
10254 (ad-macro-p):
10255 * eshell/esh-cmd.el (eshell-macrop):
10256 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
10257
10258 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
10259
10260 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
10261 (advice-mapc): New function, using it.
10262 (advice-function-member-p): New function.
10263 (advice--normalize): Store the cdr in advice--saved-rewrite since
10264 that's the part that will be changed.
10265 (advice--symbol-function): New function.
10266 (advice-remove): Handle removal before the function is defined.
10267 Adjust to new advice--saved-rewrite.
10268 (advice-member-p): Use advice-function-member-p and
10269 advice--symbol-function.
10270
10271 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
10272
10273 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
10274 (frameset-filter-minibuffer): Doc fix.
10275 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
10276 (frameset--set-id, frameset--process-minibuffer-frames)
10277 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
10278 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
10279
10280 * desktop.el (desktop-clear): Only delete frames when called
10281 interactively and desktop-restore-frames is non-nil. Doc fix.
10282 (desktop-read): Set desktop-saved-frameset to nil.
10283
10284 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
10285
10286 * vc/vc.el (vc-ignore): Rewrite.
10287 (vc-default-ignore-completion-table, vc--read-lines)
10288 (vc--add-line, vc--remove-regexp): New functions.
10289
10290 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
10291 (vc-svn-ignore-completion-table): New function.
10292
10293 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
10294 (vc-hg-ignore-completion-table)
10295 (vc-hg-find-ignore-file): New functions.
10296
10297 * vc/vc-git.el (vc-git-ignore): Rewrite.
10298 (vc-git-ignore-completion-table)
10299 (vc-git-find-ignore-file): New functions.
10300
10301 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
10302
10303 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
10304 (vc-bzr-ignore-completion-table)
10305 (vc-bzr-find-ignore-file): New functions.
10306
10307 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
10308
10309 * frameset.el (frameset-prop): New function and setter.
10310 (frameset-save): Do not modify frame list passed by the caller.
10311
10312 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
10313
10314 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
10315
10316 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
10317
10318 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
10319 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
10320
10321 * custom.el (custom-initialize-default, custom-initialize-set)
10322 (custom-initialize-reset, custom-initialize-changed): Affect the
10323 toplevel-default-value (bug#6275, bug#14586).
10324 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
10325 for bug#6275.
10326
10327 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10328
10329 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
10330 Add cl-def* expressions.
10331
10332 * frameset.el (frameset-filter-params): Fix order of arguments.
10333
10334 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
10335
10336 Move code related to saving frames to frameset.el.
10337 * desktop.el: Require frameset.
10338 (desktop-restore-frames): Doc fix.
10339 (desktop-restore-reuses-frames): Rename from
10340 desktop-restoring-reuses-frames.
10341 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
10342 (desktop-clear): Clear frames too.
10343 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
10344 (desktop--filter-tty*, desktop-save, desktop-read):
10345 Use frameset functions.
10346 (desktop-before-saving-frames-functions, desktop--filter-*-color)
10347 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10348 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
10349 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
10350 (desktop--process-minibuffer-frames, desktop-save-frames)
10351 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
10352 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
10353 (desktop--sort-states, desktop-restoring-frames-p)
10354 (desktop-restore-frames): Remove. Most code moved to frameset.el.
10355 (desktop-restoring-frameset-p, desktop-restore-frameset)
10356 (desktop--check-dont-save, desktop-save-frameset): New functions.
10357 (desktop--app-id): New constant.
10358 (desktop-first-buffer, desktop-buffer-ok-count)
10359 (desktop-buffer-fail-count): Move before first use.
10360 * frameset.el: New file.
10361
10362 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
10363
10364 * files.el: Use lexical-binding.
10365 (dir-locals-read-from-file): Remove unused `err' variable.
10366 (hack-dir-local-variables--warned-coding): New var.
10367 (hack-dir-local-variables): Use it to avoid repeated warnings.
10368 (make-backup-file-name--default-function): New function.
10369 (make-backup-file-name-function): Use it as default.
10370 (buffer-stale--default-function): New function.
10371 (buffer-stale-function): Use it as default.
10372 (revert-buffer-insert-file-contents--default-function): New function.
10373 (revert-buffer-insert-file-contents-function): Use it as default.
10374 (insert-directory): Avoid add-to-list.
10375
10376 * autorevert.el (auto-revert-handler): Simplify.
10377 Use buffer-stale--default-function.
10378
10379 2013-08-01 Tassilo Horn <tsdh@gnu.org>
10380
10381 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
10382
10383 * whitespace.el (whitespace-ensure-local-variables): New function.
10384 (whitespace-cleanup-region): Call it.
10385 (whitespace-turn-on): Call it.
10386
10387 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
10388
10389 Complete file name handlers.
10390
10391 * net/tramp.el (tramp-handle-set-visited-file-modtime)
10392 (tramp-handle-verify-visited-file-modtime)
10393 (tramp-handle-file-notify-rm-watch): New functions.
10394 (tramp-call-process): Do not bind `default-directory'.
10395
10396 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10397 Order alphabetically.
10398 <access-file, add-name-to-file, dired-call-process>:
10399 <dired-compress-file, file-acl, file-notify-rm-watch>:
10400 <file-ownership-preserved-p, file-selinux-context>:
10401 <make-directory-internal, make-symbolic-link, set-file-acl>:
10402 <set-file-selinux-context, set-visited-file-modtime>:
10403 <verify-visited-file-modtime>: Add handler.
10404 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
10405
10406 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
10407 <file-notify-add-watch, file-notify-rm-watch>:
10408 <set-file-times, set-visited-file-modtime>:
10409 <verify-visited-file-modtime>: Add handler.
10410 (with-tramp-gvfs-error-message)
10411 (tramp-gvfs-handle-set-visited-file-modtime)
10412 (tramp-gvfs-fuse-file-name): Remove.
10413 (tramp-gvfs-handle-file-notify-add-watch)
10414 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
10415 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
10416
10417 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10418 Order alphabetically.
10419 <file-notify-rm-watch>: Use default Tramp handler.
10420 <executable-find>: Remove private handler.
10421 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
10422 `default-directory'.
10423 (tramp-sh-handle-executable-find)
10424 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
10425 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10426 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
10427 Do not use `format' in `tramp-message'.
10428
10429 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
10430 <file-notify-rm-watch, set-visited-file-modtime>:
10431 <verify-visited-file-modtime>: Add handler.
10432 (tramp-smb-call-winexe): Do not bind `default-directory'.
10433
10434 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
10435
10436 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
10437
10438 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
10439
10440 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
10441 use it.
10442 (log-view-diff-changeset): Same.
10443 (log-view-diff-common): Call backend command `previous-revision'
10444 to find out the previous revision, in both cases. Swap the
10445 variables `to' and `fr', so that `fr' usually refers to the
10446 earlier revision (Bug#14989).
10447
10448 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
10449
10450 * ibuf-ext.el (ibuffer-filter-by-filename):
10451 Make it work with dired buffers too.
10452
10453 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
10454
10455 * emacs-lisp/re-builder.el (reb-color-display-p):
10456 * files.el (save-buffers-kill-terminal):
10457 * net/browse-url.el (browse-url):
10458 * server.el (server-save-buffers-kill-terminal):
10459 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
10460 Prefer nil to selected-frame for the first arg of frame-parameter.
10461
10462 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
10463
10464 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
10465
10466 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
10467
10468 * minibuffer.el (completion--twq-all): Try and preserve each
10469 completion's case choice (bug#14907).
10470
10471 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
10472
10473 * net/network-stream.el (open-network-stream): Mention the new
10474 :nogreeting parameter.
10475 (network-stream-open-starttls): Use the :nogreeting parameter
10476 (bug#14938).
10477
10478 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
10479
10480 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
10481 more natural than popping.
10482
10483 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
10484 (shr-urlify): Highlight under mouse.
10485
10486 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10487
10488 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
10489
10490 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
10491
10492 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
10493 buffer for output.
10494
10495 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
10496 point-min==1. Fix search string. Fix parentheses missing.
10497
10498 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
10499 assume point-min==1. Fix search string. Fix parentheses missing.
10500
10501 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
10502
10503 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
10504 buffer for output.
10505
10506 2013-07-29 Eli Zaretskii <eliz@gnu.org>
10507
10508 * frame.el (frame-notice-user-settings): Avoid inflooping when the
10509 initial frame is minibuffer-less. (Bug#14841)
10510
10511 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
10512
10513 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
10514 option.
10515
10516 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10517 (tramp-maybe-open-connection): Use it.
10518
10519 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10520
10521 * desktop.el (desktop--make-frame): Include `minibuffer' in the
10522 minimal set of parameters passed when creating a frame, because
10523 the minibuffer status of a frame cannot be changed later.
10524
10525 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
10526
10527 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
10528 replace-regexp-in-string and inadvertent omissions in previous change.
10529 (todo-filter-items): Ensure only file names are comma-separated in
10530 name of filtered items buffer.
10531
10532 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
10533
10534 * desktop.el: Optionally force offscreen frames back onscreen.
10535 (desktop-restoring-reuses-frames): New option.
10536 (desktop--compute-pos, desktop--move-onscreen): New functions.
10537 (desktop--make-frame): Use desktop--move-onscreen.
10538
10539 2013-07-27 Alan Mackenzie <acm@muc.de>
10540
10541 Fontify a Java generic method as a function.
10542 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
10543 value to t.
10544
10545 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
10546
10547 * calendar/todo-mode.el: Add command to rename todo files.
10548 (todo-rename-file): New command.
10549 (todo-key-bindings-t): Add key binding for it. Change the
10550 bindings of todo-filter-regexp-items(-multifile) to use `x'
10551 instead of `r', since the latter is better suited to the new
10552 renaming command.
10553
10554 2013-07-27 Alan Mackenzie <acm@muc.de>
10555
10556 Make Java try-with-resources statement parse properly.
10557 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
10558 (c-block-stmt-1-2-key): New language constants/variables.
10559 * progmodes/cc-engine.el (c-beginning-of-statement-1)
10560 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
10561 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
10562 with c-block-stmt-1-2-key.
10563
10564 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
10565
10566 * desktop.el (desktop--make-frame): Apply most frame parameters after
10567 creating the frame to force (partially or totally) offscreen frames to
10568 be restored as such.
10569
10570 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
10571
10572 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
10573 (Bug#14948)
10574
10575 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10576
10577 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
10578 `base' arg of backtrace-frame.
10579
10580 2013-07-26 Eli Zaretskii <eliz@gnu.org>
10581
10582 * simple.el (list-processes): Doc fix.
10583
10584 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10585
10586 * desktop.el (desktop--select-frame):
10587 Try harder to reuse existing frames.
10588
10589 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10590
10591 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
10592 (edebug-eval): Use backtrace-eval.
10593 (edebug--display, edebug--recursive-edit): Don't let-bind the
10594 edebug-outer-* vars that keep track of variables we locally let-bind.
10595 (edebug-outside-excursion): Don't restore outside values of locally
10596 let-bound vars.
10597 (edebug--display): Use user-error.
10598 (cl-lexical-debug, cl-debug-env): Remove.
10599
10600 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
10601
10602 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
10603 are restored to be sure that they are visible before deleting any
10604 remaining ones.
10605
10606 2013-07-26 Matthias Meulien <orontee@gmail.com>
10607
10608 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
10609 vc-print-root-log. (Bug#14948)
10610
10611 2013-07-26 Richard Stallman <rms@gnu.org>
10612
10613 Add aliases for encrypting mail.
10614 * epa.el (epa-mail-aliases): New option.
10615 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
10616 Bind inhibit-read-only so read-only text doesn't ruin everything.
10617 (epa-mail-default-recipients): New subroutine broken out.
10618 Handle epa-mail-aliases.
10619
10620 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
10621
10622 Add support for lexical variables to the debugger's `e' command.
10623 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
10624 vars, except for debugger-outer-match-data.
10625 (debugger-frame-number): Move check for "on a function call" from
10626 callers into it. Add `skip-base' argument.
10627 (debugger-frame, debugger-frame-clear): Simplify accordingly.
10628 (debugger-env-macro): Only reset the state stored in non-variables,
10629 i.e. current-buffer and match-data.
10630 (debugger-eval-expression): Rewrite using backtrace-eval.
10631 * subr.el (internal--called-interactively-p--get-frame): Remove.
10632 (called-interactively-p):
10633 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
10634 `base' arg of backtrace-frame instead.
10635
10636 2013-07-26 Glenn Morris <rgm@gnu.org>
10637
10638 * align.el (align-regexp): Doc fix. (Bug#14857)
10639 (align-region): Explicit error if subexpression missing/does not match.
10640
10641 * simple.el (global-visual-line-mode):
10642 Do not duplicate the mode lighter. (Bug#14858)
10643
10644 2013-07-25 Martin Rudalics <rudalics@gmx.at>
10645
10646 * window.el (display-buffer): In display-buffer bind
10647 split-window-keep-point to t, bug#14829.
10648
10649 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10650
10651 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
10652 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
10653 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
10654 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10655 Change accordingly.
10656 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
10657 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
10658
10659 2013-07-25 Glenn Morris <rgm@gnu.org>
10660
10661 * dired-x.el (dired-mark-extension): Convert comment to doc string.
10662
10663 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
10664
10665 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
10666 parameter to modify-frame-parameters if the value has not changed;
10667 this is a workaround for bug#14949.
10668 (desktop--make-frame): On cl-delete-if call, check parameter name,
10669 not full parameter.
10670
10671 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
10672
10673 * vc/vc.el (vc-ignore): New function.
10674
10675 * vc/vc-svn.el (vc-svn-ignore): New function.
10676
10677 * vc/vc-hg.el (vc-hg-ignore): New function.
10678
10679 * vc/vc-git.el (vc-git-ignore): New function.
10680
10681 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
10682 (vc-dir-ignore): New function.
10683
10684 * vc/vc-cvs.el (vc-cvs-ignore): New function.
10685 (cvs-append-to-ignore): Move here from pcvs.el.
10686
10687 * vc/vc-bzr.el (vc-bzr-ignore): New function.
10688
10689 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
10690
10691 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
10692
10693 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
10694 (desktop-restore-frames): Warn when deleting an existing frame failed.
10695
10696 2013-07-24 Glenn Morris <rgm@gnu.org>
10697
10698 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
10699
10700 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
10701
10702 * filenotify.el (file-notify-supported-p):
10703 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10704 Remove functions.
10705
10706 * autorevert.el (auto-revert-use-notify)
10707 (auto-revert-notify-add-watch):
10708 * net/tramp.el (tramp-file-name-for-operation):
10709 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10710 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10711 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10712 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10713 Remove `file-notify-supported-p' entry.
10714
10715 2013-07-24 Glenn Morris <rgm@gnu.org>
10716
10717 * printing.el: Replace all uses of deleted ps-windows-system,
10718 ps-lp-system, ps-flatten-list with lpr- versions.
10719
10720 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10721
10722 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
10723 checked with memq (bug#14935).
10724
10725 * files.el (revert-buffer-function): Use a non-nil default.
10726 (revert-buffer-preserve-modes): Declare var to
10727 provide access to the `preserve-modes' argument.
10728 (revert-buffer): Let-bind it.
10729 (revert-buffer--default): New function, extracted from revert-buffer.
10730
10731 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
10732
10733 * lpr.el: Signal print errors more prominently.
10734 (print-region-function): Don't default to nil.
10735 (lpr-print-region): New function, extracted from print-region-1.
10736 Check lpr's return value and signal an error in case of problem.
10737 (print-region-1): Use it.
10738 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
10739 versions instead.
10740 (ps-printer-name): Default to nil.
10741 (ps-printer-name-option): Default to lpr-printer-switch.
10742 (ps-print-region-function): Don't default to nil.
10743 (ps-postscript-code-directory): Simplify default.
10744 (ps-do-despool): Use lpr-print-region to properly check the outcome.
10745 (ps-string-list, ps-eval-switch, ps-flatten-list)
10746 (ps-flatten-list-1): Remove.
10747 (ps-multibyte-buffer): Avoid setq.
10748 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
10749 (print-region-function, ps-print-region-function): Don't set them here.
10750
10751 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
10752
10753 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
10754 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
10755 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
10756 (ido-decorations): Doc fix.
10757
10758 * ansi-color.el: Fix old URL.
10759
10760 2013-07-23 Michael R. Mauger <michael@mauger.com>
10761
10762 * progmodes/sql.el: Version 3.3
10763 (sql-product-alist): Improve oracle :prompt-cont-regexp.
10764 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
10765 (sql-interactive-remove-continuation-prompt): Rewrite, use
10766 functions above. Fix continuation prompt and complete output line
10767 handling.
10768 (sql-redirect-one, sql-execute): Use `read-only-mode' on
10769 redirected output buffer.
10770 (sql-mode): Restore deleted code (Bug#13591).
10771
10772 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10773
10774 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
10775
10776 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
10777
10778 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
10779
10780 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10781 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10782 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
10783
10784 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
10785
10786 * desktop.el (desktop-clear): Simplify; remove useless checks
10787 against invalid buffer names.
10788 (desktop-list*): Use cl-list*.
10789 (desktop-buffer-info, desktop-create-buffer): Simplify.
10790
10791 2013-07-23 Leo Liu <sdl.web@gmail.com>
10792
10793 * bookmark.el (bookmark-make-record): Restore NAME as a default
10794 value. (Bug#14933)
10795
10796 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
10797
10798 * emacs-lisp/autoload.el (autoload--setup-output): New function,
10799 extracted from autoload--insert-text.
10800 (autoload--insert-text): Remove.
10801 (autoload--print-cookie-text): New function, extracted from
10802 autoload--insert-cookie-text.
10803 (autoload--insert-cookie-text): Remove.
10804 (autoload-generate-file-autoloads): Adjust calls accordingly.
10805
10806 * winner.el (winner-hook-installed-p): Remove.
10807 (winner-mode): Simplify accordingly.
10808
10809 * subr.el (add-to-list): Fix compiler-macro when `append' is
10810 not constant. Don't use `cl-member' for the base case.
10811
10812 * progmodes/subword.el: Fix boundary case (bug#13758).
10813 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
10814 own group.
10815 (subword-backward-regexp): Make it a constant.
10816 (subword-forward-internal): Don't treat a trailing capital as the
10817 beginning of a word.
10818
10819 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
10820
10821 * emacs-lisp/package.el (package-menu-mode): Don't modify the
10822 global value of tabulated-list-revert-hook (bug#14930).
10823
10824 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
10825
10826 * desktop.el: Require 'cl-lib.
10827 (desktop-before-saving-frames-functions): New hook.
10828 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
10829 for frames being saved. Rename from desktop--save-minibuffer-frames.
10830 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
10831 Do not save frames with non-nil `desktop-dont-save' parameter.
10832 Filter out deleted frames.
10833 (desktop--find-frame): Use cl-find-if.
10834 (desktop--select-frame): Use cl-(first|second|third) to access values
10835 of desktop-mini.
10836 (desktop--make-frame): Use cl-delete-if.
10837 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
10838 (desktop-restore-frames): Use cl-(first|second|third) to access values
10839 of desktop-mini. Look for visible frame at the end, not while
10840 restoring frames.
10841
10842 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
10843 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
10844 Use string-match-p, looking-at-p (bug#14927).
10845
10846 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
10847
10848 * desktop.el (desktop-saved-frame-states):
10849 Rename from desktop--saved-states; all users changed.
10850 (desktop-save-frames): Rename from desktop--save-frames.
10851 Do not save state to desktop file.
10852 (desktop-save): Save desktop-saved-frame-states to desktop file
10853 and reset to nil.
10854 (desktop-restoring-frames-p): New function.
10855 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
10856 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
10857 buffer-lists when restoring frames. Suggested by Martin Rudalics.
10858
10859 * desktop.el: Correctly restore iconified frames.
10860 (desktop--filter-iconified-position): New function.
10861 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
10862
10863 2013-07-20 Glenn Morris <rgm@gnu.org>
10864
10865 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
10866 Let `message' do the formatting.
10867 (def-gdb-preempt-display-buffer): Add explicit format.
10868
10869 * image-dired.el (image-dired-track-original-file):
10870 Use with-current-buffer.
10871 (image-dired-track-thumbnail): Use with-current-buffer.
10872 Avoid changing point of wrong window.
10873
10874 * image-dired.el (image-dired-track-original-file):
10875 Avoid changing point of wrong window. (Bug#14909)
10876
10877 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
10878
10879 * progmodes/gdb-mi.el (gdb-done-or-error):
10880 Guard against "%" in gdb output. (Bug#14127)
10881
10882 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
10883
10884 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
10885 (Bug#14826)
10886
10887 * international/mule.el (coding-system-iso-2022-flags): Fix last
10888 change.
10889
10890 2013-07-20 Kenichi Handa <handa@gnu.org>
10891
10892 * international/mule.el (coding-system-iso-2022-flags):
10893 Add `8-bit-level-4'. (Bug#8522)
10894
10895 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10896
10897 * net/shr.el (shr-mouse-browse-url): New command and keystroke
10898 (bug#14815).
10899
10900 * net/eww.el (eww-process-text-input): Allow inputting when the
10901 point is at the start of the line, as the properties aren't
10902 front-sticky.
10903
10904 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
10905 degenerate widths.
10906
10907 2013-07-19 Richard Stallman <rms@gnu.org>
10908
10909 * epa.el (epa-popup-info-window): Doc fix.
10910
10911 * subr.el (split-string): New arg TRIM.
10912
10913 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
10914
10915 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
10916 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
10917
10918 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
10919
10920 * filenotify.el (file-notify--library): Rename from
10921 `file-notify-support'. Do not autoload. Adapt all uses.
10922 (file-notify-supported-p): New defun.
10923
10924 * autorevert.el (auto-revert-use-notify):
10925 Use `file-notify-supported-p' instead of `file-notify-support'.
10926 Adapt docstring.
10927 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
10928
10929 * net/tramp.el (tramp-file-name-for-operation):
10930 Add `file-notify-supported-p'.
10931
10932 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
10933 New defun.
10934 (tramp-sh-file-name-handler-alist): Add it as handler for
10935 `file-notify-supported-p '.
10936
10937 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
10938 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10939 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10940 Add `ignore' as handler for `file-notify-*' functions.
10941
10942 2013-07-17 Eli Zaretskii <eliz@gnu.org>
10943
10944 * simple.el (line-move-partial, line-move): Don't start vscroll or
10945 scroll-up if the current line is not taller than the window.
10946 (Bug#14881)
10947
10948 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
10949
10950 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
10951 highlight question marks in the method names as strings.
10952 (ruby-block-beg-keywords): Inline.
10953 (ruby-font-lock-keyword-beg-re): Extract from
10954 `ruby-font-lock-keywords'.
10955
10956 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
10957
10958 * frame.el (blink-cursor-blinks): New defcustom.
10959 (blink-cursor-blinks-done): New defvar.
10960 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
10961 (blink-cursor-timer-function): Check if number of blinks has been
10962 done on X and NS.
10963 (blink-cursor-suspend, blink-cursor-check): New defuns.
10964
10965 2013-07-15 Glenn Morris <rgm@gnu.org>
10966
10967 * edmacro.el (edmacro-format-keys): Fix previous change.
10968
10969 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
10970
10971 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
10972 The hack didn't work outside English locales anyway.
10973
10974 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
10975
10976 * simple.el (define-alternatives): Rename from alternatives-define,
10977 per RMS' suggestion.
10978
10979 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
10980
10981 * desktop.el (desktop-restore-frames): Change default to t.
10982 (desktop-restore-in-current-display): Now offer more options.
10983 (desktop-restoring-reuses-frames): New customization option.
10984 (desktop--saved-states): Doc fix.
10985 (desktop-filter-parameters-alist): New variable, renamed and expanded
10986 from desktop--excluded-frame-parameters.
10987 (desktop--target-display): New variable.
10988 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
10989 (desktop--filter-tty*, desktop--filter-*-color)
10990 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
10991 (desktop--filter-save-desktop-parm)
10992 (desktop-restore-in-original-display-p): New functions.
10993 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
10994 (desktop--save-minibuffer-frames): New function, inspired by a similar
10995 function from Martin Rudalics.
10996 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
10997 (desktop--restore-in-this-display-p): Remove.
10998 (desktop--find-frame): Rename from desktop--find-frame-in-display
10999 and add predicate argument.
11000 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11001 (desktop--reuse-list): New variable.
11002 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11003 New functions.
11004 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11005
11006 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11007
11008 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11009
11010 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11011
11012 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11013 Highlight conversion methods on Kernel.
11014
11015 2013-07-13 Alan Mackenzie <acm@muc.de>
11016
11017 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11018 and comment it out. This out-commenting enables certain C++
11019 declarations to be parsed correctly.
11020
11021 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11022
11023 * international/mule.el (define-coding-system): Doc fix.
11024
11025 * simple.el (default-font-height): Don't call font-info if the
11026 frame's default font didn't change since the frame was created.
11027 (Bug#14838)
11028
11029 2013-07-13 Leo Liu <sdl.web@gmail.com>
11030
11031 * ido.el (ido-read-file-name): Guard against non-symbol value.
11032
11033 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11034
11035 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11036 in nested defuns.
11037
11038 2013-07-13 Leo Liu <sdl.web@gmail.com>
11039
11040 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11041 ido-set-matches call. (Bug#6852)
11042
11043 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11044
11045 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11046 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11047 Ruby 2.0.
11048 (ruby-font-lock-keywords): Distinguish calls to functions with
11049 module-like names from module references. Highlight character
11050 literals.
11051
11052 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
11053
11054 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
11055 (gdb-send): Handle continued commands. (Bug#14847)
11056
11057 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11058
11059 * desktop.el (desktop--v2s): Remove unused local variable.
11060 (desktop-save-buffer): Make defvar-local; adjust docstring.
11061 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
11062 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
11063
11064 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
11065
11066 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
11067
11068 2013-07-12 Eli Zaretskii <eliz@gnu.org>
11069
11070 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
11071 (Bug#14842)
11072
11073 2013-07-12 Glenn Morris <rgm@gnu.org>
11074
11075 * doc-view.el: Require cl-lib at runtime too.
11076 (doc-view-remove-if): Remove.
11077 (doc-view-search-next-match, doc-view-search-previous-match):
11078 Use cl-remove-if.
11079
11080 * edmacro.el: Require cl-lib at runtime too.
11081 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
11082 (edmacro-mismatch, edmacro-subseq): Remove.
11083
11084 * shadowfile.el: Require cl-lib.
11085 (shadow-remove-if): Remove.
11086 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
11087 Use cl-remove-if.
11088
11089 * wid-edit.el: Require cl-lib.
11090 (widget-choose): Use cl-remove-if.
11091 (widget-remove-if): Remove.
11092
11093 * progmodes/ebrowse.el: Require cl-lib at runtime too.
11094 (ebrowse-delete-if-not): Remove.
11095 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
11096 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
11097 Use cl-delete-if-not.
11098
11099 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
11100
11101 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
11102 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
11103
11104 2013-07-12 Leo Liu <sdl.web@gmail.com>
11105
11106 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
11107
11108 2013-07-11 Glenn Morris <rgm@gnu.org>
11109
11110 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
11111 (edebug-gensym-index, edebug-gensym):
11112 Remove reimplementation of cl-gensym.
11113 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
11114
11115 * thumbs.el: Require cl-lib at run-time too.
11116 (thumbs-gensym-counter, thumbs-gensym):
11117 Remove reimplementation of cl-gensym.
11118 (thumbs-temp-file): Use cl-gensym.
11119
11120 * emacs-lisp/ert.el: Require cl-lib at runtime too.
11121 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
11122 (ert--intersection, ert--set-difference, ert--set-difference-eq)
11123 (ert--union, ert--gensym-counter, ert--gensym-counter)
11124 (ert--coerce-to-vector, ert--remove*, ert--string-position)
11125 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
11126 (ert-make-test-unbound, ert--expand-should-1)
11127 (ert--expand-should, ert--should-error-handle-error)
11128 (should-error, ert--explain-equal-rec)
11129 (ert--plist-difference-explanation, ert-select-tests)
11130 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
11131 Use cl-lib functions rather than reimplementations.
11132
11133 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
11134
11135 * net/tramp.el (tramp-methods): Extend docstring.
11136 (tramp-connection-timeout): New defcustom.
11137 (tramp-error-with-buffer): Reset timestamp only when appropriate.
11138 (with-tramp-progress-reporter): Simplify.
11139 (tramp-process-actions): Improve messages.
11140
11141 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
11142 * net/tramp-sh.el (tramp-maybe-open-connection):
11143 Use `tramp-connection-timeout'.
11144 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
11145 (Bug#14808)
11146
11147 2013-07-11 Leo Liu <sdl.web@gmail.com>
11148
11149 * ido.el (ido-read-file-name): Conform to the requirements of
11150 read-file-name. (Bug#11861)
11151 (ido-read-directory-name): Conform to the requirements of
11152 read-directory-name.
11153
11154 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
11155
11156 * subr.el (delay-warning): New function.
11157
11158 2013-07-10 Eli Zaretskii <eliz@gnu.org>
11159
11160 * simple.el (default-line-height): New function.
11161 (line-move-partial, line-move): Use it instead of computing the
11162 line height inline.
11163 (line-move-partial): Always compute ROWH. If the last line is
11164 partially-visible, but its text is completely visible, allow
11165 cursor to enter such a partially-visible line.
11166
11167 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
11168
11169 Improve error messages. (Bug#14808)
11170
11171 * net/tramp.el (tramp-current-connection): New defvar, moved from
11172 tramp-sh.el.
11173 (tramp-message-show-progress-reporter-message): Remove, not
11174 needed anymore.
11175 (tramp-error-with-buffer): Show message in minibuffer.
11176 Discard input before waiting. Reset connection timestamp.
11177 (with-tramp-progress-reporter): Improve messages.
11178 (tramp-process-actions): Use progress reporter. Delete process in
11179 case of error. Improve messages.
11180
11181 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
11182 Call `tramp-error-with-buffer' with vector and buffer.
11183 (tramp-current-connection): Remove.
11184 (tramp-maybe-open-connection): The car of
11185 `tramp-current-connection' are the first 3 slots of the vector.
11186
11187 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
11188
11189 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
11190 inside continued strings.
11191
11192 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
11193
11194 Timestamp fixes for undo (Bug#14824).
11195 * files.el (clear-visited-file-modtime): Move here from fileio.c.
11196
11197 2013-07-10 Leo Liu <sdl.web@gmail.com>
11198
11199 * files.el (require-final-newline): Allow safe local value.
11200 (Bug#14834)
11201
11202 2013-07-09 Leo Liu <sdl.web@gmail.com>
11203
11204 * ido.el (ido-read-directory-name): Handle fallback.
11205 (ido-read-file-name): Update DIR to ido-current-directory.
11206 (Bug#1516)
11207 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
11208
11209 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
11210
11211 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
11212 "autoload". Remove "warn lower camel case" section, previously
11213 commented out. Highlight negation char. Do not highlight the
11214 target in singleton method definitions.
11215
11216 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
11217
11218 * faces.el (tty-setup-hook): Declare the hook.
11219
11220 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
11221 and detect when a guard/pred depends on local vars (bug#14773).
11222 (pcase--u1): Adjust caller.
11223
11224 2013-07-08 Eli Zaretskii <eliz@gnu.org>
11225
11226 * simple.el (line-move-partial, line-move): Account for
11227 line-spacing.
11228 (line-move-partial): Avoid setting vscroll when the last
11229 partially-visible line in window is of default height.
11230
11231 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
11232
11233 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
11234 been used a while.
11235
11236 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
11237
11238 * subr.el (read-quoted-char): Remove unused local variable `char'.
11239
11240 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
11241
11242 * vc/ediff.el (ediff-version): Version update.
11243 (ediff-files-command, ediff3-files-command, ediff-merge-command)
11244 (ediff-merge-with-ancestor-command, ediff-directories-command)
11245 (ediff-directories3-command, ediff-merge-directories-command)
11246 (ediff-merge-directories-with-ancestor-command): New functions.
11247 All are command-line interfaces to ediff: to facilitate calling
11248 Emacs with the appropriate ediff functions invoked.
11249
11250 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
11251 New function.
11252 (viper-save-kill-buffer): Check if buffer is modified.
11253
11254 * emulation/viper.el (viper-version): Version update.
11255 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
11256
11257 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
11258
11259 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
11260 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
11261 (viper-intercept-ESC-key): Simplify.
11262 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
11263 don't use kbd.
11264 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
11265 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
11266 (viper-setup-ESC-to-escape): New functions.
11267 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
11268 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
11269
11270 2013-07-07 Eli Zaretskii <eliz@gnu.org>
11271
11272 * simple.el (default-font-height, window-screen-lines):
11273 New functions.
11274 (line-move, line-move-partial): Use them instead of
11275 frame-char-height and window-text-height. This makes scrolling
11276 text smoother when the buffer's default face uses a font that is
11277 different from the frame's default font.
11278
11279 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
11280
11281 * files.el (write-file): Do not display confirm dialog for NS,
11282 it does its own dialog, which can't be canceled (Bug#14578).
11283
11284 2013-07-06 Eli Zaretskii <eliz@gnu.org>
11285
11286 * simple.el (line-move-partial): Adjust the row returned by
11287 posn-at-point for the current window-vscroll. (Bug#14567)
11288
11289 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
11290
11291 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
11292 (tramp-sh-file-inotifywait-process-filter): Handle file names with
11293 spaces.
11294
11295 2013-07-06 Martin Rudalics <rudalics@gmx.at>
11296
11297 * window.el (window-state-put-stale-windows): New variable.
11298 (window--state-put-2): Save list of windows without matching buffer.
11299 (window-state-put): Remove "bufferless" windows if possible.
11300
11301 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11302
11303 * simple.el (alternatives-define): Remove leftover :group keyword.
11304 Tweak docstring.
11305
11306 2013-07-06 Leo Liu <sdl.web@gmail.com>
11307
11308 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
11309 (ido-enable-virtual-buffers): New variable.
11310 (ido-buffer-internal, ido-toggle-virtual-buffers)
11311 (ido-make-buffer-list): Use it.
11312 (ido-exhibit): Support turning on and off virtual buffers
11313 automatically.
11314
11315 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
11316
11317 * simple.el (alternatives-define): New macro.
11318
11319 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
11320
11321 * subr.el (read-quoted-char): Use read-key.
11322 (sit-for): Let read-event decode tty input (bug#14782).
11323
11324 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
11325
11326 * calendar/todo-mode.el: Add handling of file deletion, both by
11327 mode command and externally. Fix various related bugs.
11328 Clarify Commentary and improve some documentation strings and code.
11329 (todo-delete-file): New command.
11330 (todo-check-file): New function.
11331 (todo-show): Handle external deletion of the file we're trying to
11332 show (bug#14688). Replace called-interactively-p by an optional
11333 prefix argument to avoid problematic interaction with catch form
11334 when byte compiled (bug#14702).
11335 (todo-quit): Handle external deletion of the archive's todo file.
11336 Make sure the buffer that was visiting the archive file is still
11337 live before trying to bury it.
11338 (todo-category-completions): Handle external deletion of any
11339 category completion files.
11340 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
11341 of todo files, in case of external deletion.
11342 (todo-add-file): Replace unnecessary setq by let-binding.
11343 (todo-find-archive): Check whether there are any archives.
11344 Replace unnecessary setq by let-binding.
11345 (todo-archive-done-item): Use find-file-noselect to get the
11346 archive buffer whether or not the archive already exists.
11347 Remove superfluous code. Use file size instead of buffer-file-name to
11348 check if the archive is new; if it is, update list of archives.
11349 (todo-default-todo-file): Allow nil to be a valid value for when
11350 there are no todo files.
11351 (todo-reevaluate-default-file-defcustom): Use corrected definition
11352 of todo-default-todo-file.
11353 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
11354 (todo-delete-category, todo-show-categories-table)
11355 (todo-category-number): Clarify comment.
11356 (todo-filter-items): Clarify documentation string.
11357 (todo-show-current-file, todo-display-as-todo-file)
11358 (todo-reset-and-enable-done-separator): Tweak documentation string.
11359 (todo-done-separator): Make separator length window-width, since
11360 bug#2749 is now fixed.
11361
11362 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
11363
11364 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
11365 Support both "gvfs-monitor-dir" and "inotifywait".
11366 (tramp-sh-file-inotifywait-process-filter): Rename from
11367 `tramp-sh-file-notify-process-filter'.
11368 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11369 (tramp-get-remote-gvfs-monitor-dir): New defuns.
11370
11371 2013-07-05 Leo Liu <sdl.web@gmail.com>
11372
11373 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
11374
11375 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11376
11377 * frame.el (display-pixel-height, display-pixel-width)
11378 (display-mm-height, display-mm-width): Mention behavior on
11379 multi-monitor setups in docstrings.
11380 (w32-display-monitor-attributes-list): Declare function.
11381 (display-monitor-attributes-list): Use it.
11382
11383 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
11384
11385 * filenotify.el: New package.
11386
11387 * autorevert.el (top): Require filenotify.el.
11388 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
11389 instead.
11390 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
11391 (auto-revert-notify-handler): Use `file-notify-*' functions.
11392
11393 * subr.el (file-notify-handle-event): Move function to filenotify.el.
11394
11395 * net/tramp.el (tramp-file-name-for-operation):
11396 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
11397
11398 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
11399 for `file-notify-add-watch' and `file-notify-rm-watch'.
11400 (tramp-process-sentinel): Improve trace.
11401 (tramp-sh-handle-file-notify-add-watch)
11402 (tramp-sh-file-notify-process-filter)
11403 (tramp-sh-handle-file-notify-rm-watch)
11404 (tramp-get-remote-inotifywait): New defuns.
11405
11406 2013-07-03 Juri Linkov <juri@jurta.org>
11407
11408 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
11409 call of `occur-read-primary-args' to interactive spec.
11410
11411 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
11412 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
11413
11414 2013-07-03 Matthias Meulien <orontee@gmail.com>
11415
11416 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
11417 `Buffer-menu-multi-occur'. Add it to the menu.
11418 (Buffer-menu-mode): Document it in docstring.
11419 (Buffer-menu-multi-occur): New command. (Bug#14673)
11420
11421 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11422
11423 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
11424 keywords and built-ins.
11425
11426 2013-07-03 Glenn Morris <rgm@gnu.org>
11427
11428 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
11429
11430 Make info-xref checks case-sensitive by default
11431 * info.el (Info-find-node, Info-find-in-tag-table)
11432 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
11433 Add option for exact case matching of nodes.
11434 * info-xref.el (info-xref): New custom group.
11435 (info-xref-case-fold): New option.
11436 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
11437
11438 2013-07-03 Leo Liu <sdl.web@gmail.com>
11439
11440 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
11441
11442 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
11443
11444 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
11445 middle of block statement initially, lower the depth. Remove
11446 FIXME comment, not longer valid. Remove middle of block statement
11447 detection, no need to do that anymore since we've been using
11448 `ruby-parse-region' here.
11449
11450 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
11451
11452 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
11453
11454 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
11455
11456 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
11457
11458 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
11459
11460 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
11461 (desktop-restore-in-current-display): New customization option.
11462 (desktop--excluded-frame-parameters): Add `font'.
11463 (desktop--save-frames): Rename from desktop--save-windows.
11464 (desktop--restore-in-this-display-p): New function.
11465 (desktop--make-full-frame): Remove unwanted width/height from
11466 full(width|height) frames.
11467 (desktop--restore-frames): Rename from desktop--restore-windows.
11468 Obey desktop-restore-current-display. Do not delete old frames or
11469 select a new frame unless we were able to restore at least one frame.
11470
11471 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
11472
11473 * files.el (find-file-noselect): Simplify conditional expression.
11474
11475 * textmodes/remember.el (remember-append-to-file):
11476 Don't mix `find-buffer-visiting' and `get-file-buffer'.
11477
11478 Add `remember-notes' function to store random notes across Emacs
11479 restarts.
11480 * textmodes/remember.el (remember-data-file): Add :set callback to
11481 affect notes buffer (if any).
11482 (remember-notes): New command.
11483 (remember-notes-buffer-name, bury-remember-notes-on-kill):
11484 New defcustoms for the `remember-notes' function.
11485 (remember-notes-save-and-bury-buffer): New command.
11486 (remember-notes-mode-map): New variable.
11487 (remember-mode): New minor mode.
11488 (remember-notes--kill-buffer-query): New function.
11489 * startup.el (initial-buffer-choice): Add notes to custom type.
11490
11491 2013-06-30 Eli Zaretskii <eliz@gnu.org>
11492
11493 * bindings.el (right-char, left-char): Don't call sit-for, this is
11494 no longer needed. Use arithmetic comparison only for numerical
11495 arguments.
11496
11497 * international/mule-cmds.el (select-safe-coding-system):
11498 Handle the case of FROM being a string correctly. (Bug#14755)
11499
11500 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11501
11502 * net/shr.el (shr-make-table-1): Add a sanity check that allows
11503 progression on degenerate tables.
11504 (shr-rescale-image): ImageMagick animated images currently don't work.
11505
11506 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
11507
11508 Some fixes and improvements for desktop frame restoration.
11509 It is still experimental and disabled by default.
11510 * desktop.el (desktop--save-windows): Put the selected frame at
11511 the head of the list.
11512 (desktop--make-full-frame): New function.
11513 (desktop--restore-windows): Try to re-select the frame that was
11514 selected upon saving. Do not abort if some frames fail to restore,
11515 just show an error message and continue. Set up maximized frames
11516 so they have default non-maximized dimensions.
11517
11518 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
11519
11520 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
11521 Don't start heredoc inside a string or comment.
11522
11523 2013-06-29 Eli Zaretskii <eliz@gnu.org>
11524
11525 * bindings.el (visual-order-cursor-movement): New defcustom.
11526 (right-char, left-char): Provide visual-order cursor motion by
11527 calling move-point-visually. Update the doc strings.
11528
11529 2013-06-28 Kenichi Handa <handa@gnu.org>
11530
11531 * international/mule.el (define-coding-system): New coding system
11532 properties :inhibit-null-byte-detection,
11533 :inhibit-iso-escape-detection, and :prefer-utf-8.
11534 (set-buffer-file-coding-system): If :charset-list property of
11535 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
11536 appropriate for setting.
11537
11538 * international/mule-cmds.el (select-safe-coding-system):
11539 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
11540 multibyte characters, return utf-8 (or one of its siblings).
11541
11542 * international/mule-conf.el (prefer-utf-8): New coding system.
11543 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
11544 files.
11545
11546 2013-06-28 Ivan Kanis <ivan@kanis.fr>
11547
11548 * net/shr.el (shr-render-region): New function.
11549
11550 * net/eww.el: Autoload `eww-browse-url'.
11551
11552 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
11553
11554 * emacs-lisp/package-x.el (package-upload-buffer-internal):
11555 Adapt to `package-desc-version' being a list.
11556 Use `package--ac-desc-version' to retrieve version from a package
11557 archive element.
11558
11559 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
11560
11561 New experimental feature to save&restore window and frame setup.
11562 * desktop.el (desktop-save-windows): New defcustom.
11563 (desktop--saved-states): New var.
11564 (desktop--excluded-frame-parameters): New defconst.
11565 (desktop--filter-frame-parms, desktop--find-frame-in-display)
11566 (desktop--restore-windows, desktop--save-windows): New functions.
11567 (desktop-save): Call `desktop--save-windows'.
11568 (desktop-read): Call `desktop--restore-windows'.
11569
11570 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
11571
11572 * net/shr.el (add-face-text-property): Remove compat definition.
11573
11574 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11575
11576 * info.el (Info-try-follow-nearest-node): Move search for footnote
11577 above search for node name to prevent missing a footnote (bug#14717).
11578
11579 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
11580
11581 * obsolete/otodo-mode.el: Add obsolescence info to file header.
11582
11583 2013-06-27 Leo Liu <sdl.web@gmail.com>
11584
11585 * net/eww.el (eww-read-bookmarks): Check file size.
11586
11587 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11588
11589 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
11590 advice--pending if newdef is nil or an autoload (bug#13820).
11591 (advice-mapc): New function.
11592
11593 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
11594
11595 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
11596 probably.
11597 (eww-mode-map): Add a menu bar.
11598 (eww-add-bookmark): New command.
11599 (eww-bookmark-mode): New mode and commands.
11600 (eww-add-bookmark): Remove newlines from the title.
11601 (eww-bookmark-browse): Don't bug out if it's the only window.
11602
11603 2013-06-26 Glenn Morris <rgm@gnu.org>
11604
11605 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
11606 (hfy-size): Handle ttys. (Bug#14668)
11607
11608 * info-xref.el: Update for Texinfo 5 change in *note format.
11609 (info-xref-node-re, info-xref-note-re): New constants.
11610 (info-xref-check-buffer): Use info-xref-note-re.
11611
11612 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
11613
11614 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
11615
11616 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
11617 nil terminate the loop (bug#14718).
11618
11619 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11620
11621 * net/eww.el: Rework history traversal. When going forward/back,
11622 put these actions into the history, too, so that they can be
11623 replayed.
11624 (eww-render): Move the history reset to the correct buffer.
11625
11626 2013-06-25 Juri Linkov <juri@jurta.org>
11627
11628 * files-x.el (modify-dir-local-variable): Change the header comment
11629 in the file with directory local variables. (Bug#14692)
11630
11631 * files-x.el (read-file-local-variable-value): Add `default'.
11632 (Bug#14710)
11633
11634 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11635
11636 * net/eww.el (eww-make-unique-file-name): Create a unique file
11637 name before saving to entering `y' accidentally asynchronously.
11638
11639 2013-06-25 Ivan Kanis <ivan@kanis.fr>
11640
11641 * net/eww.el (eww-download): New command and keystroke.
11642
11643 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11644
11645 * net/eww.el (eww-copy-page-url): Change name of command.
11646
11647 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
11648 be more consistent with Info and dired.
11649
11650 * net/eww.el (eww-mode-map): Ditto.
11651
11652 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11653
11654 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
11655 packages from archives.
11656 (package-archive-contents): Change format; include obsolete packages.
11657 (package-desc): Use `dir' to mark builtin packages.
11658 (package--from-builtin): Set the `dir' field to `builtin'.
11659 (generated-autoload-file, version-control): Declare.
11660 (package-compute-transaction): Change first arg and return value to be
11661 lists of package-descs. Adjust to new package-archive-contents format.
11662 (package--add-to-archive-contents): Adjust to new
11663 package-archive-contents format.
11664 (package-download-transaction): Arg is now a list of package-descs.
11665 (package-install): If `pkg' is a package name, pass it as
11666 a requirement, so it is subject to the usual (e.g. disabled) checks.
11667 (describe-package): Accept package-desc as well.
11668 (describe-package-1): Describe a specific package-desc. Add links to
11669 other package-descs for the same package name.
11670 (package-menu-describe-package): Pass the actual package-desc.
11671 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
11672 works correctly.
11673 (package-desc-status): New function.
11674 (package-menu--refresh): New function, extracted
11675 from package-menu--generate.
11676 (package-menu--generate): Use it.
11677 (package-delete): Update package-alist.
11678 (package-menu-execute): Don't call package-initialize.
11679
11680 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
11681 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
11682 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
11683 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
11684 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
11685 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
11686
11687 2013-06-25 Martin Rudalics <rudalics@gmx.at>
11688
11689 * window.el (window--state-get-1): Workaround for bug#14527.
11690 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
11691
11692 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
11693
11694 * net/eww.el (eww-back-url): Implement the history by stashing all
11695 the data into a list.
11696 (eww-forward-url): Allow going forward in the history, too.
11697
11698 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
11699
11700 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
11701 for values and use read--expression for expressions (bug#14710).
11702 (read-file-local-variable): Avoid setq.
11703 (read-file-local-variable-mode): Use minor-mode-list.
11704
11705 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11706
11707 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
11708 for DOI URLs.
11709
11710 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11711
11712 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
11713 Update imenu-support when dialect changes.
11714
11715 2013-06-25 Leo Liu <sdl.web@gmail.com>
11716
11717 * ido.el (ido-read-internal): Allow forward slash on windows.
11718
11719 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11720
11721 * net/eww.el (eww): Start of strings is \\`, not ^.
11722
11723 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11724
11725 * net/shr.el (shr-browse-url): Fix interactive spec.
11726
11727 * net/eww.el (eww): Add a trailing slash to domain names.
11728
11729 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
11730
11731 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
11732
11733 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
11734
11735 * net/shr.el (shr-browse-url): Use an external browser if given a
11736 prefix.
11737
11738 * net/eww.el (eww-external-browser): Move to shr.
11739
11740 2013-06-24 Ivan Kanis <ivan@kanis.fr>
11741
11742 * net/eww.el (eww): Work more correctly for file: URLs.
11743 (eww-detect-charset): Allow quoted charsets.
11744 (eww-yank-page-url): New command and keystroke.
11745
11746 2013-06-24 Daiki Ueno <ueno@gnu.org>
11747
11748 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
11749 file name of gpg executable.
11750 (epg-context-program): New function.
11751 (epg-context-home-directory): New function.
11752 (epg-context-set-program): New function.
11753 (epg-context-set-home-directory): New function.
11754 (epg--start): Use `epg-context-program' instead of
11755 'epg-gpg-program'.
11756 (epg--list-keys-1): Likewise.
11757
11758 2013-06-24 Leo Liu <sdl.web@gmail.com>
11759
11760 * ido.el (ido-read-internal): Fix bug#14620.
11761
11762 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11763
11764 * faces.el (face-documentation): Simplify.
11765 (read-face-attribute, tty-find-type, x-resolve-font-name):
11766 Use `string-match-p'.
11767 (list-faces-display): Use `string-match-p'. Simplify.
11768 (face-spec-recalc): Check face to avoid face alias loops.
11769 (read-color): Use `string-match-p' and non-capturing parenthesis.
11770
11771 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
11772
11773 * net/shr.el (shr-rescale-image): Use the new
11774 :max-width/:max-height functionality.
11775
11776 2013-06-23 Ivan Kanis <ivan@kanis.fr>
11777
11778 * net/eww.el (eww-search-prefix): New variable.
11779 (eww): Use it.
11780 (eww-external-browser): New variable.
11781 (eww-mode-map): New keystroke.
11782 (eww-browse-with-external-browser): New command.
11783
11784 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
11785
11786 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
11787
11788 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
11789 Don't skip aligning the next header field when padding is 0;
11790 otherwise, field width is not respected unless the title is as
11791 wide as the field.
11792
11793 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
11794
11795 * emacs-lisp/package.el (package-el-version): Remove.
11796 (package-process-define-package): Fix inf-loop.
11797 (package-install): Allow symbols as arguments again.
11798
11799 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11800
11801 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
11802 add some more keyword-like methods.
11803 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
11804
11805 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
11806
11807 * bs.el (bs-buffer-show-mark): Make defvar-local.
11808 (bs-mode): Use setq-local.
11809
11810 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
11811 (emacs-lock--try-unlocking): Make defvar-local.
11812
11813 2013-06-22 Glenn Morris <rgm@gnu.org>
11814
11815 * play/cookie1.el (cookie-apropos): Minor simplification.
11816
11817 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
11818
11819 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
11820
11821 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
11822 `regexp-opt', it breaks the build during dumping.
11823
11824 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
11825
11826 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11827 Highlight keyword-like methods on Kernel and Module with
11828 font-lock-builtin-face.
11829 (auto-mode-alist): Consolidate different entries into one regexp
11830 and add more *file-s.
11831
11832 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
11833
11834 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
11835
11836 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
11837 (diary-entry): Use it in the action of this button type instead of
11838 diary-goto-entry.
11839
11840 * calendar/todo-mode.el: New version.
11841 (todo-add-category): Append new category to end of file and give
11842 it the highest number, instead of putting it at the beginning and
11843 giving it 0. Incorporate noninteractive functionality.
11844 (todo-forward-category): Adapt to 1-based category numbering.
11845 Allow skipping over archived categories.
11846 (todo-backward-category): Derive from todo-forward-category.
11847 (todo-backward-item, todo-forward-item): Make noninteractive and
11848 delegate interactive part to new commands. Make sensitive to done items.
11849 (todo-categories): Make value an alist of category names and
11850 vectors of item counts.
11851 (todo-category-beg): Make a defconst.
11852 (todo-category-number): Use 1 instead of 0 as initial value.
11853 (todo-category-select): Make sensitive to overlays, optional item
11854 highlighting and done items.
11855 (todo-delete-item): Make sensitive to overlays and marked and done items.
11856 (todo-edit-item): Make sensitive to overlays and editing of
11857 date/time header optional. Add format checks.
11858 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
11859 no-op if point is not on an item. Advertise using todo-edit-quit.
11860 (todo-edit-mode): Make sensitive to new format, font-locking, and
11861 multiple todo files.
11862 (todo-insert-item, todo-insert-item-here): Derive from
11863 todo-basic-insert-item and extend functionality.
11864 (todo-item-end, todo-item-start): Make sensitive to done items.
11865 (todo-item-string): Don't return text properties. Restore point.
11866 (todo-jump-to-category): Make sensitive to multiple todo files and
11867 todo archives. Use extended category completion.
11868 (todo-lower-item, todo-raise-item): Rename to *-priority and
11869 derive from todo-set-item-priority.
11870 (todo-mode): Derive from special-mode. Make sensitive to new
11871 format, font-locking and multiple todo files. Make read-only.
11872 (todo-mode-map): Don't suppress digit keys, so they can supply
11873 prefix arguments. Add many new key bindings.
11874 (todo-prefix): Insert as an overlay instead of file text.
11875 Change semantics from diary date expression to purely visual mark.
11876 (todo-print): Rename to todo-print-buffer. Make buffer display
11877 features printable. Remove option to restrict number of items
11878 printed. Add option to print to file.
11879 (todo-print-function): Rename to todo-print-buffer-function.
11880 (todo-quit): Extend to handle exiting new todo modes.
11881 (todo-remove-item): Make sensitive to overlays.
11882 (todo-save): Extend to buffers of filtered items.
11883 (todo-show): Make sensitive to done items, multiple todo files and
11884 new todo modes. Offer to convert legacy todo file before creating
11885 first new todo file.
11886 (todo-show-priorities): Rename to todo-top-priorities.
11887 Change semantics of value 0.
11888 (todo-top-priorities): Rename to todo-filter-top-priorities,
11889 derive from todo-filter-items and extend functionality.
11890 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
11891 and extend functionality to other types of filtered items.
11892 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
11893 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
11894 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
11895 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
11896 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
11897 (todo-edit-mode-hook, todo-entry-prefix-function)
11898 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
11899 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
11900 (todo-initials, todo-insert-threshold, todo-item-string-start)
11901 (todo-line-string, todo-menu, todo-mode-hook)
11902 (todo-more-important-p, todo-previous-answer, todo-previous-line)
11903 (todo-print-priorities, todo-remove-separator)
11904 (todo-save-top-priorities-too, todo-string-count-lines)
11905 (todo-string-multiline-p, todo-time-string-format)
11906 (todo-tmp-buffer-name): Remove.
11907 (todo-add-file, todo-archive-done-item, todo-choose-archive)
11908 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
11909 (todo-edit-category-diary-inclusion)
11910 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
11911 (todo-edit-file, todo-edit-item-date-day)
11912 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
11913 (todo-edit-item-date-month, todo-edit-item-date-to-today)
11914 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
11915 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
11916 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
11917 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
11918 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
11919 (todo-filter-top-priorities-multifile, todo-find-archive)
11920 (todo-find-filtered-items-file, todo-go-to-source-item)
11921 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
11922 (todo-jump-to-archive-category, todo-lower-category)
11923 (todo-mark-category, todo-marked-item-p, todo-merge-category)
11924 (todo-move-category, todo-move-item, todo-next-button)
11925 (todo-next-item, todo-padded-string, todo-powerset)
11926 (todo-previous-button, todo-previous-item)
11927 (todo-print-buffer-to-file, todo-raise-category)
11928 (todo-rename-category, todo-repair-categories-sexp, todo-search)
11929 (todo-set-category-number, todo-set-item-priority)
11930 (todo-set-top-priorities-in-category)
11931 (todo-set-top-priorities-in-file, todo-show-categories-table)
11932 (todo-sort-categories-alphabetically-or-numerically)
11933 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
11934 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
11935 (todo-toggle-item-header, todo-toggle-item-highlighting)
11936 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
11937 (todo-toggle-view-done-items, todo-toggle-view-done-only)
11938 (todo-unarchive-items, todo-unmark-category): New commands.
11939 (todo-absolute-file-name, todo-add-to-buffer-list)
11940 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
11941 (todo-basic-insert-item, todo-category-completions)
11942 (todo-category-number, todo-category-string-matcher-1)
11943 (todo-category-string-matcher-2, todo-check-filtered-items-file)
11944 (todo-check-format, todo-clear-matches)
11945 (todo-comment-string-matcher, todo-convert-legacy-date-time)
11946 (todo-current-category, todo-date-string-matcher)
11947 (todo-define-insertion-command, todo-diary-expired-matcher)
11948 (todo-diary-goto-entry, todo-diary-item-p)
11949 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
11950 (todo-display-categories, todo-display-sorted, todo-done-item-p)
11951 (todo-done-item-section-p, todo-done-separator)
11952 (todo-done-string-matcher, todo-files, todo-filter-items)
11953 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
11954 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
11955 (todo-insert-category-line, todo-insert-item-from-calendar)
11956 (todo-insert-sort-button, todo-insert-with-overlays)
11957 (todo-insertion-command-name, todo-insertion-key-bindings)
11958 (todo-label-to-key, todo-longest-category-name-length)
11959 (todo-make-categories-list, todo-mode-external-set)
11960 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
11961 (todo-modes-set-3, todo-multiple-filter-files)
11962 (todo-nondiary-marker-matcher, todo-prefix-overlays)
11963 (todo-read-category, todo-read-date, todo-read-dayname)
11964 (todo-read-file-name, todo-read-time)
11965 (todo-reevaluate-category-completions-files-defcustom)
11966 (todo-reevaluate-default-file-defcustom)
11967 (todo-reevaluate-filelist-defcustoms)
11968 (todo-reevaluate-filter-files-defcustom)
11969 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
11970 (todo-reset-done-separator, todo-reset-done-separator-string)
11971 (todo-reset-done-string, todo-reset-global-current-todo-file)
11972 (todo-reset-highlight-item, todo-reset-nondiary-marker)
11973 (todo-reset-prefix, todo-set-categories)
11974 (todo-set-date-from-calendar, todo-set-show-current-file)
11975 (todo-set-top-priorities, todo-short-file-name)
11976 (todo-show-current-file, todo-sort, todo-time-string-matcher)
11977 (todo-total-item-counts, todo-update-buffer-list)
11978 (todo-update-categories-display, todo-update-categories-sexp)
11979 (todo-update-count, todo-validate-name, todo-y-or-n-p):
11980 New functions.
11981 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
11982 New major modes.
11983 (todo-categories, todo-display, todo-edit, todo-faces)
11984 (todo-filtered): New defgroups.
11985 (todo-archived-only, todo-button, todo-category-string, todo-date)
11986 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
11987 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
11988 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
11989 (todo-add-item-if-new-category, todo-always-add-time-string)
11990 (todo-categories-align, todo-categories-archived-label)
11991 (todo-categories-category-label, todo-categories-diary-label)
11992 (todo-categories-done-label, todo-categories-number-separator)
11993 (todo-categories-todo-label, todo-categories-totals-label)
11994 (todo-category-completions-files, todo-completion-ignore-case)
11995 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
11996 (todo-done-separator-string, todo-done-string)
11997 (todo-files-function, todo-filter-done-items, todo-filter-files)
11998 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
11999 (todo-initial-category, todo-initial-file, todo-item-mark)
12000 (todo-legacy-date-time-regexp, todo-mode-line-function)
12001 (todo-nondiary-marker, todo-number-prefix)
12002 (todo-print-buffer-function, todo-show-current-file)
12003 (todo-show-done-only, todo-show-first, todo-show-with-done)
12004 (todo-skip-archived-categories, todo-top-priorities-overrides)
12005 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12006 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12007 New defcustoms.
12008 (todo-category-done, todo-date-pattern, todo-date-string-start)
12009 (todo-diary-items-buffer, todo-done-string-start)
12010 (todo-filtered-items-buffer, todo-item-start)
12011 (todo-month-abbrev-array, todo-month-name-array)
12012 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12013 (todo-top-priorities-buffer): New defconsts.
12014 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12015 (todo-categories-with-marks, todo-category-string-face)
12016 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12017 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12018 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12019 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12020 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12021 (todo-font-lock-keywords, todo-global-current-todo-file)
12022 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12023 (todo-insertion-commands-args)
12024 (todo-insertion-commands-args-genlist)
12025 (todo-insertion-commands-names, todo-insertion-map)
12026 (todo-key-bindings-t, todo-key-bindings-t+a)
12027 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12028 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12029 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12030 (todo-visited): New variables.
12031
12032 2013-06-21 Glenn Morris <rgm@gnu.org>
12033
12034 * play/cookie1.el (cookie-apropos): Add optional display argument.
12035 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12036 (psychoanalyze-pinhead): Use cookie-doctor.
12037
12038 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12039
12040 * emacs-lisp/package.el (tar-get-file-descriptor)
12041 (tar--extract): Declare.
12042
12043 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12044
12045 Extend flymake's warning predicate to be a function (bug#14217).
12046 * progmodes/flymake.el (flymake-warning-predicate): New.
12047 (flymake-parse-line): Use it.
12048 (flymake-warning-re): Make obsolete alias to
12049 `flymake-warning-predicate'.
12050
12051 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12052
12053 * emacs-lisp/package.el (package-alist): Include obsolete packages.
12054 (package-obsolete-list): Remove.
12055 (package-activate): Remove min-version argument. Add `force' argument.
12056 Adjust to new package-alist format.
12057 (package-mark-obsolete): Remove.
12058 (package-unpack): Force reload of the package's autoloads.
12059 (package-installed-p): Check builtins if the installed package is not
12060 recent enough.
12061 (package-initialize): Don't reset package-obsolete-list.
12062 Don't specify which package version to activate.
12063 (package-process-define-package, describe-package-1)
12064 (package-menu--generate): Adjust to new package-alist format.
12065
12066 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12067
12068 * allout-widgets.el (allout-widgets-mode-off)
12069 (allout-widgets-mode-on, allout-widgets-pre-command-business)
12070 (allout-widgets-post-command-business)
12071 (allout-widgets-after-copy-or-kill-function)
12072 (allout-widgets-after-undo-function, allout-test-range-overlaps)
12073 (allout-decorate-item-and-context)
12074 (allout-graphics-modification-handler): Fix typos in docstrings.
12075 (allout-get-or-create-parent-widget): Use `looking-at-p'.
12076
12077 * cmuscheme.el (scheme-start-file): Doc fix.
12078 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
12079 (scheme-input-filter): Use `string-match-p'.
12080
12081 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
12082
12083 * dired-x.el: Use Dired consistently in docstrings.
12084
12085 * dired.el: Use Dired consistently in docstrings.
12086 (dired-readin, dired-mode): Use `setq-local'.
12087 (dired-switches-alist): Make defvar-local.
12088 (dired-buffers-for-dir): Use `zerop'.
12089 (dired-safe-switches-p, dired-switches-escape-p)
12090 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
12091 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
12092 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
12093 (dired-goto-next-nontrivial-file): Use `string-match-p'.
12094 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
12095 (dired-toggle-marks, dired-mark-files-containing-regexp)
12096 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
12097 (dired-flag-auto-save-files, dired-flag-backup-files):
12098 Use `looking-at-p'.
12099 (dired-mark-files-regexp, dired-build-subdir-alist):
12100 Use `string-match-p', `looking-at-p'.
12101
12102 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
12103 (direct-print-region-helper): Use `string-match-p'.
12104
12105 2013-06-21 Leo Liu <sdl.web@gmail.com>
12106
12107 * comint.el (comint-redirect-results-list-from-process):
12108 Fix infinite loop.
12109
12110 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
12111
12112 * net/eww.el (eww-update-header-line-format): Quote % characters.
12113
12114 2013-06-21 Glenn Morris <rgm@gnu.org>
12115
12116 * play/cookie1.el (cookie): New custom group.
12117 (cookie-file): New option.
12118 (cookie-check-file): New function.
12119 (cookie): Make it interactive. Make start and end messages optional.
12120 Interactively, display the result. Default to cookie-file.
12121 (cookie-insert): Default to cookie-file.
12122 (cookie-snarf): Make start and end messages optional.
12123 Default to cookie-file. Use with-temp-buffer.
12124 (cookie-read): Rename from read-cookie.
12125 Make start and end messages optional. Default to cookie-file.
12126 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
12127 Do not autoload it.
12128 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
12129 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
12130
12131 2013-06-21 Leo Liu <sdl.web@gmail.com>
12132
12133 * progmodes/octave.el (octave-mode): Backward compatibility fix.
12134
12135 2013-06-21 Glenn Morris <rgm@gnu.org>
12136
12137 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
12138
12139 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
12140 Daniel Hackney <dan@haxney.org>
12141
12142 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
12143 Consolidate the single-file vs tarball code.
12144 (package-desc-suffix): New function.
12145 (package-desc-full-name): Don't bother inlining it.
12146 (package-load-descriptor): Return the new package-desc.
12147 (package-mark-obsolete): Remove unused arg `package'.
12148 (package-unpack): Make it work for single files as well.
12149 Make it update package-alist.
12150 (package--make-autoloads-and-stuff): Rename from
12151 package--make-autoloads-and-compile. Don't compile any more.
12152 (package--compile): New function.
12153 (package-generate-description-file): New function, extracted from
12154 package-unpack-single.
12155 (package-unpack-single): Remove.
12156 (package--with-work-buffer): Add indentation and debugging info.
12157 (package-download-single): Remove.
12158 (package-install-from-archive): Rename from package-download-tar, make
12159 it take a pkg-desc, and make it work for single files as well.
12160 (package-download-transaction): Simplify.
12161 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
12162 external tar program.
12163 (package-install-from-buffer): Remove `pkg-desc' argument.
12164 Use package-tar-file-info for tar-mode buffers.
12165 (package-install-file): Simplify accordingly.
12166 (package-archive-base): Change to take a pkg-desc.
12167 * tar-mode.el (tar--check-descriptor): New function, extracted from
12168 tar-get-descriptor.
12169 (tar-get-descriptor): Use it.
12170 (tar-get-file-descriptor): New function.
12171 (tar--extract): New function, extracted from tar-extract.
12172 (tar--extract): Use it.
12173 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
12174 case the summary uses non-ascii. Adjust to new calling convention of
12175 package-tar-file-info.
12176
12177 2013-06-21 Leo Liu <sdl.web@gmail.com>
12178
12179 * comint.el (comint-redirect-results-list-from-process):
12180 Fix random delay. (Bug#14681)
12181
12182 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12183
12184 * profiler.el (profiler-format-number): Use log, not log10.
12185
12186 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12187
12188 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
12189
12190 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
12191
12192 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
12193 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
12194 yet available.
12195 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
12196 (AUTOGENEL): ... here.
12197 * emacs-lisp/cl-macs.el (cl--sublis): New function.
12198 (cl--defsubst-expand): Use it.
12199
12200 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
12201
12202 * subr.el (log10): Move here from C code, and declare as obsolete.
12203 All uses of (log10 X) replaced with (log X 10).
12204
12205 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12206
12207 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
12208 Declare with `defvar-local'.
12209 (tabulated-list-use-header-line, tabulated-list-entries)
12210 (tabulated-list-padding, tabulated-list-printer)
12211 (tabulated-list-sort-key): Declare with `defvar-local'.
12212 (tabulated-list-init-header, tabulated-list-print-fake-header):
12213 Use `setq-local'.
12214
12215 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
12216
12217 * arc-mode.el (archive-mode): Add `archive-write-file' to
12218 `write-contents-functions' also for remote files. (Bug#14652)
12219
12220 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
12221
12222 * cus-edit.el (custom-commands): Fix typos.
12223 (custom-display): Fix tooltip text.
12224 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
12225 Fix typos in docstrings.
12226 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
12227 (custom-unlispify-menu-entry, custom-magic-value-create)
12228 (custom-add-see-also, custom-group-value-create): Use ?\s.
12229 (custom-guess-type, customize-apropos, editable-field)
12230 (custom-face-value-create): Use `string-match-p'.
12231 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
12232
12233 * custom.el (custom-load-symbol): Use `string-match-p'.
12234
12235 * ansi-color.el: Convert to lexical binding.
12236 (ansi-colors): Fix URL.
12237 (ansi-color-context, ansi-color-context-region): Use defvar-local.
12238 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
12239 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
12240
12241 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12242
12243 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
12244
12245 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
12246
12247 2013-06-19 Tom Tromey <tromey@redhat.com>
12248
12249 * net/eww.el (eww-top-url): Remove.
12250 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
12251 (eww-render): Set new variables. Don't set eww-top-url.
12252 (eww-handle-link): Handle "prev", "home", and "contents".
12253 Downcase the rel text.
12254 (eww-top-url): Choose best top URL.
12255
12256 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12257
12258 * net/eww.el: Rewrite to implement form elements "by hand" instead of
12259 relying in widget.el. Using widget.el leads to too many
12260 user interface inconsistencies.
12261 (eww-self-insert): Implement entering commands in text fields.
12262 (eww-process-text-input): New function to make text input field editing
12263 work.
12264 (eww-submit): Rewrite to use the new-style form methods.
12265 (eww-select-display): Display the correct selected item.
12266 (eww-change-select): Implement changing the select value.
12267 (eww-toggle-checkbox): Implement radio/checkboxes.
12268 (eww-update-field): Fix compilation error.
12269 (eww-tag-textarea): Implement <textarea>.
12270
12271 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
12272 we don't shadow mode-specific bindings.
12273
12274 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
12275 nothing to push.
12276
12277 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
12278
12279 2013-06-19 Glenn Morris <rgm@gnu.org>
12280
12281 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
12282
12283 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12284
12285 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
12286 not needed.
12287
12288 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
12289
12290 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12291
12292 * net/browse-url.el (browse-url-browser-function):
12293 `eww-browse-url' has the right calling signature, `eww' does not.
12294
12295 2013-06-19 Glenn Morris <rgm@gnu.org>
12296
12297 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
12298 Only eval autoloaded macros.
12299 (byte-compile-autoload): Only give the macro warning for macros.
12300
12301 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
12302 (ps-underlined-faces): Declare.
12303
12304 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
12305 (speedbar-add-supported-extension): Declare.
12306
12307 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
12308 Don't include a date stamp in the header of the generated file;
12309 it leads to needless differences between output files.
12310
12311 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
12312
12313 * net/secrets.el (secrets-struct-secret-content-type):
12314 Replace check of introspection data by a test call of "CreateItem".
12315 Some servers do not offer introspection.
12316
12317 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
12318
12319 * electric.el (electric-pair-mode): Improve interaction with
12320 electric-layout-mode.
12321 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
12322 (electric-pair-syntax): Use text-mode-syntax-table in comments
12323 and strings.
12324 (electric-pair--insert): New function.
12325 (electric-pair-post-self-insert-function): Use it and
12326 electric--after-char-pos.
12327
12328 2013-06-19 Leo Liu <sdl.web@gmail.com>
12329
12330 * progmodes/octave.el (octave-help): Fix regexp.
12331
12332 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
12333
12334 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
12335 (shr-table-horizontal-line): Allow nil as a value, and change the
12336 default.
12337 (shr-insert-table-ruler): Respect the nil value.
12338
12339 2013-06-18 Tom Tromey <tromey@barimba>
12340
12341 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12342 New defvars.
12343 (eww-open-file): New defun.
12344 (eww-render): Initialize new variables.
12345 (eww-display-html): Handle "link" and "a".
12346 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
12347 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
12348 (eww-back-url): Rename from eww-previous-url.
12349 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
12350 New defuns.
12351
12352 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
12353
12354 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
12355 Distinguish ternary operator tokens from slash symbol and slash
12356 char literal.
12357
12358 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12359
12360 Convert symbol prettification into minor mode and global minor mode.
12361
12362 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
12363 `prog-prettify-symbols', and make a local defvar instead of defcustom.
12364 (prettify-symbols--keywords): Rename from
12365 `prog-prettify-symbols-alist' and make a local defvar.
12366 (prettify-symbols--compose-symbol): Rename from
12367 `prog--prettify-font-lock-compose-symbol'.
12368 (prettify-symbols--make-keywords): Rename from
12369 `prog-prettify-font-lock-symbols-keywords' and simplify.
12370 (prog-prettify-install): Remove.
12371 (prettify-symbols-mode): New minor mode, based on
12372 `prog-prettify-install'.
12373 (turn-on-prettify-symbols-mode): New function.
12374 (global-prettify-symbols-mode): New globalized minor mode.
12375
12376 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12377 * progmodes/cfengine.el (cfengine3-mode):
12378 * progmodes/perl-mode.el (perl-mode): Don't call
12379 `prog-prettify-install'; set `prettify-symbols-alist' instead.
12380
12381 2013-06-18 Juri Linkov <juri@jurta.org>
12382
12383 * files-x.el (modify-file-local-variable-message): New function.
12384 (modify-file-local-variable)
12385 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
12386 and call `modify-file-local-variable-message' when it's non-nil.
12387 (add-file-local-variable, delete-file-local-variable)
12388 (add-file-local-variable-prop-line)
12389 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
12390 and use it. (Bug#9820)
12391
12392 2013-06-18 Juri Linkov <juri@jurta.org>
12393
12394 * emulation/vi.el (vi-shell-op):
12395 * emulation/vip.el (vip-execute-com, ex-command):
12396 * emulation/viper-cmd.el (viper-exec-bang):
12397 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
12398 the call of `shell-command-on-region'. (Bug#14637)
12399
12400 * simple.el (shell-command-on-region): Doc fix.
12401
12402 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12403
12404 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
12405 (bug#14633).
12406
12407 2013-06-18 Glenn Morris <rgm@gnu.org>
12408
12409 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
12410
12411 * newcomment.el (comment-search-forward, comment-search-backward):
12412 Doc fix. (Bug#14376)
12413
12414 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
12415
12416 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
12417 (buffer-face-mode-invoke): Doc fix.
12418
12419 2013-06-18 Matthias Meulien <orontee@gmail.com>
12420
12421 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
12422 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
12423
12424 2013-06-18 Glenn Morris <rgm@gnu.org>
12425
12426 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
12427 Replace obsolete function generic-make-keywords with its expansion.
12428
12429 * progmodes/python.el (ffap-alist): Declare.
12430
12431 * textmodes/reftex.el (bibtex-mode-map): Declare.
12432
12433 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
12434
12435 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
12436 (package-unpack, package-unpack-single): Return the pkg-dir.
12437 (package-download-transaction): Use it to update package-alist.
12438
12439 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
12440
12441 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
12442 possible choice.
12443
12444 2013-06-17 Juri Linkov <juri@jurta.org>
12445
12446 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
12447
12448 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12449
12450 * emacs-lisp/package.el (package-load-descriptor):
12451 Remove `with-syntax-table' call, `read' doesn't need it.
12452 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
12453
12454 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12455
12456 * startup.el (command-line): Expand package name returned by
12457 `package--description-file' (bug#14639).
12458
12459 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
12460
12461 * emacs-lisp/package.el (package-load-descriptor): Do not call
12462 `emacs-lisp-mode', just use its syntax table.
12463
12464 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
12465
12466 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
12467 `font-lock-extra-managed-props' if any prettifying keyword is added.
12468 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
12469 (prog-mode): Use `setq-local'.
12470
12471 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
12472
12473 * international/characters.el (standard-case-table): Set syntax of ?»
12474 and ?« to punctuation.
12475
12476 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
12477
12478 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
12479 Save relevant match data before calling `syntax-ppss' (bug#14595).
12480
12481 2013-06-15 Juri Linkov <juri@jurta.org>
12482
12483 * files-x.el (modify-file-local-variable-prop-line): Add local
12484 variables to the end of the existing comment on the first line.
12485 Use `file-auto-mode-skip' to skip interpreter magic line,
12486 and also skip XML declaration.
12487
12488 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
12489
12490 * startup.el (package--builtin-versions): New var.
12491 (package-subdirectory-regexp): Remove.
12492 (package--description-file): Hard code its value instead.
12493
12494 * emacs-lisp/package.el: Don't activate packages older than builtin.
12495 (package-obsolete-list): Rename from package-obsolete-alist, and make
12496 it into a simple list of package-desc.
12497 (package-strip-version): Remove.
12498 (package-built-in-p): Use package--builtin-versions.
12499 (package-mark-obsolete): Simplify.
12500 (package-process-define-package): Mark it obsolete if older than the
12501 builtin version.
12502 (package-handle-response): Use line-end-position.
12503 (package-read-archive-contents, package--download-one-archive):
12504 Simplify.
12505 (package--add-to-archive-contents): Skip if older than the builtin or
12506 installed version.
12507 (package-menu-describe-package): Fix last change.
12508 (package-list-unversioned): New var.
12509 (package-menu--generate): Use it.
12510
12511 * emacs-lisp/autoload.el: Manage package--builtin-versions.
12512 (autoload--insert-text, autoload--insert-cookie-text): New functions.
12513 (autoload-builtin-package-versions): New variable.
12514 (autoload-generate-file-autoloads): Use them.
12515 Remove the list of autoloaded functions/macros from the
12516 (autoload...) comments.
12517
12518 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
12519
12520 2013-06-15 Eli Zaretskii <eliz@gnu.org>
12521
12522 * simple.el (line-move-partial): Don't jump to the next screen
12523 line as soon as it becomes visible. Instead, continue enlarging
12524 the vscroll until the portion of a tall screen line that's left on
12525 display is about the height of the frame's default font.
12526 (Bug#14567)
12527
12528 2013-06-15 Glenn Morris <rgm@gnu.org>
12529
12530 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
12531 compilation-error-regexp-alist void, or local while let-bound.
12532
12533 * progmodes/make-mode.el (makefile-mode-syntax-table):
12534 Treat "=" as punctuation. (Bug#14614)
12535
12536 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
12537
12538 * help-fns.el (describe-variable):
12539 Add extra line for permanent-local variables.
12540
12541 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
12542
12543 * progmodes/scheme.el (scheme-font-lock-keywords-2):
12544 Add export, import, library. (Bug#9164)
12545 (library): Set indent function.
12546
12547 2013-06-14 Glenn Morris <rgm@gnu.org>
12548
12549 * term/xterm.el (xterm--query):
12550 Stop after first matching handler. (Bug#14615)
12551
12552 2013-06-14 Ivan Kanis <ivan@kanis.fr>
12553
12554 Add support for dired in saveplace.
12555 * dired.el (dired-initial-position-hook): New variable.
12556 (dired-initial-position): Call hook to place cursor position.
12557 * saveplace.el (save-place-to-alist): Add dired position.
12558 (save-place-dired-hook): New function.
12559
12560 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
12561
12562 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
12563 through a symbol rather than letrec.
12564
12565 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
12566 (package-desc): Add `dir' field.
12567 (package-desc-full-name): New function.
12568 (package-load-descriptor): Combine the two arguments. Don't use `load'.
12569 (package-maybe-load-descriptor): Remove.
12570 (package-load-all-descriptors): Just call package-load-descriptor.
12571 (package--disabled-p): New function.
12572 (package-desc-vers, package-desc-doc): Remove aliases.
12573 (package--dir): Remove function.
12574 (package-activate): Check if a package is disabled.
12575 (package-process-define-package): New function, extracted from
12576 define-package.
12577 (define-package): Turn into a place holder.
12578 (package-unpack-single, package-tar-file-info):
12579 Use package--description-file.
12580 (package-compute-transaction): Use package--disabled-p.
12581 (package-download-transaction): Don't call
12582 package-maybe-load-descriptor since they're all loaded anyway.
12583 (package-install): Change argument to be a pkg-desc.
12584 (package-delete): Use a single pkg-desc argument.
12585 (describe-package-1): Use package-desc-dir instead of package--dir.
12586 Use package-desc property instead of package-symbol.
12587 (package-install-button-action): Adjust accordingly.
12588 (package--push): Rewrite.
12589 (package-menu--print-info): Adjust accordingly. Change the ID format
12590 to be a pkg-desc.
12591 (package-menu-describe-package, package-menu-get-status)
12592 (package-menu--find-upgrades, package-menu-mark-upgrades)
12593 (package-menu-execute, package-menu--name-predicate):
12594 Adjust accordingly.
12595 * startup.el (package--description-file): New function.
12596 (command-line): Use it.
12597 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12598 Use package-desc-version.
12599
12600 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
12601 (byte-compile-preprocess): Use it.
12602 (byte-compile-file-form-defalias): Try a bit harder to use macros we
12603 can't quite recognize.
12604 (byte-compile-add-to-list): Remove.
12605 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
12606 (cconv-closure-convert): Add assertion.
12607
12608 * emacs-lisp/map-ynp.el: Use lexical-binding.
12609 (map-y-or-n-p): Remove unused vars `tail' and `object'.
12610 Factor out some repeated code.
12611
12612 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12613
12614 * subr.el (with-eval-after-load): New macro.
12615 (eval-after-load): Allow form to be a function.
12616 take advantage of lexical-binding.
12617 (do-after-load-evaluation): Use dolist and adjust to new format.
12618 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
12619
12620 2013-06-13 Juri Linkov <juri@jurta.org>
12621
12622 * replace.el (perform-replace): Display "symbol " and other search
12623 modes from `isearch-message-prefix' in the *Help* buffer.
12624
12625 * isearch.el (isearch-query-replace): Add " symbol" and other
12626 possible search modes from `isearch-message-prefix' to the prompt.
12627 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
12628 when reading a regexp to collect.
12629
12630 2013-06-13 Juri Linkov <juri@jurta.org>
12631
12632 * isearch.el (word-search-regexp): Match whitespace if the search
12633 string begins or ends in whitespace. The LAX arg is applied to
12634 both ends of the search string. Use `regexp-quote' and explicit
12635 \< and \> instead of \b. Use \` and \' instead of ^ and $.
12636 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
12637 boundaries are replaced with symbol boundaries, and characters
12638 between symbols match non-word non-symbol syntax. (Bug#14602)
12639
12640 2013-06-13 Juri Linkov <juri@jurta.org>
12641
12642 * isearch.el (isearch-del-char): Don't exceed the length of
12643 `isearch-string' by the prefix arg. (Bug#14563)
12644
12645 2013-06-13 Juri Linkov <juri@jurta.org>
12646
12647 * isearch.el (isearch-yank-word, isearch-yank-line)
12648 (isearch-char-by-name, isearch-quote-char)
12649 (isearch-printing-char, isearch-process-search-char):
12650 Add optional count prefix arg. (Bug#14563)
12651
12652 * international/isearch-x.el
12653 (isearch-process-search-multibyte-characters):
12654 Add optional count prefix arg.
12655
12656 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
12657
12658 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
12659 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
12660 lexical-binding.
12661
12662 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
12663
12664 * subr.el (set-temporary-overlay-map): Add on-exit argument.
12665
12666 2013-06-13 Glenn Morris <rgm@gnu.org>
12667
12668 * startup.el (tty-handle-args):
12669 Don't just discard "--" and anything after. (Bug#14608)
12670
12671 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
12672
12673 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
12674
12675 Implement changes in Secret Service API. Make it backward compatible.
12676 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
12677 (secrets-create-item): Use it. Prefix properties with interface.
12678
12679 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
12680
12681 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
12682 (term-emulate-terminal): Respect term-suppress-hard-newline.
12683
12684 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
12685
12686 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
12687 Only remove a `thumb-file' overlay. (Bug#14548)
12688
12689 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
12690
12691 * mail/reporter.el (reporter-submit-bug-report):
12692 Handle missing package-name. (Bug#14600)
12693
12694 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12695
12696 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
12697 (reftex-citation-prompt, reftex-default-bibliography)
12698 (reftex-bib-or-thebib, reftex-get-bibfile-list)
12699 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
12700 (reftex-bib-sort-author, reftex-bib-sort-year)
12701 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
12702 (reftex-extract-bib-entries-from-thebibliography)
12703 (reftex-get-bibkey-default, reftex-get-bib-names)
12704 (reftex-parse-bibtex-entry, reftex-get-bib-field)
12705 (reftex-format-bib-entry, reftex-parse-bibitem)
12706 (reftex-format-bibitem, reftex-do-citation)
12707 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
12708 (reftex-restrict-bib-matches, reftex-extract-bib-file)
12709 (reftex-insert-bib-matches, reftex-format-citation)
12710 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
12711 (reftex-create-bibtex-file): Add docstrings, mostly by converting
12712 existing comments into docstrings.
12713
12714 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12715
12716 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
12717
12718 2013-06-12 Andreas Schwab <schwab@suse.de>
12719
12720 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
12721 for auto-save files.
12722
12723 2013-06-12 Glenn Morris <rgm@gnu.org>
12724
12725 * ido.el (ido-delete-ignored-files): Remove.
12726 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
12727 Go back to calling ido-ignore-item-p directly.
12728
12729 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
12730
12731 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
12732
12733 * ido.el (ido-delete-ignored-files): New function,
12734 split from ido-make-file-list-1.
12735 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
12736 (ido-make-file-list-1): Use ido-delete-ignored-files.
12737
12738 2013-06-12 Leo Liu <sdl.web@gmail.com>
12739
12740 * progmodes/octave.el (inferior-octave-startup)
12741 (inferior-octave-completion-table)
12742 (inferior-octave-track-window-width-change)
12743 (octave-eldoc-function-signatures, octave-help)
12744 (octave-find-definition): Use single quoted strings.
12745 (inferior-octave-startup-args): Change default value.
12746 (inferior-octave-startup): Do not hard code "-i" and
12747 "--no-line-editing".
12748 (inferior-octave-resync-dirs): Add optional arg NOERROR.
12749 (inferior-octave-directory-tracker): Use it.
12750 (octave-goto-function-definition): Robustify.
12751 (octave-help): Support highlighting operators in 'See also'.
12752 (octave-find-definition): Find subfunctions only in Octave mode.
12753
12754 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12755
12756 * help-fns.el (help-fns--compiler-macro): If the handler function is
12757 named, then put a link to it.
12758 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
12759 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
12760 (cl-typep): Use it.
12761 (cl-eval-when): Simplify debug spec.
12762 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
12763 compiler-macro function instead of setting `compiler-macro-file'.
12764
12765 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
12766
12767 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
12768 * vc/vc-hooks.el (vc-stay-local): Doc fix.
12769
12770 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
12771 Daniel Hackney <dan@haxney.org>
12772
12773 First part of Daniel Hackney's patch to package.el.
12774 * emacs-lisp/package.el: Use defstruct.
12775 (package-desc): New, main struct.
12776 (package--bi-desc, package--ac-desc): New structs, used to describe the
12777 format in external files.
12778 (package-desc-vers): Replace with package-desc-version accessor.
12779 (package-desc-doc): Replace with package-desc-summary accessor.
12780 (package-activate-1): Remove `package' arg since the pkg-vec now
12781 includes the name.
12782 (define-package): Use package-desc-from-define.
12783 (package-unpack-single): Change file-name arg to be a symbol.
12784 (package--add-to-archive-contents): Use package-desc-create and new
12785 accessor functions to package--ac-desc.
12786 (package-buffer-info, package-tar-file-info): Return a package-desc.
12787 (package-install-from-buffer): Remove `type' argument. Change pkg-info
12788 arg to be a package-desc.
12789 (package-install-file): Adjust accordingly. Use \' to match EOS.
12790 (package--from-builtin): New function.
12791 (describe-package-1, package-menu--generate): Use it.
12792 (package--make-autoloads-and-compile): Change name arg to be a symbol.
12793 (package-generate-autoloads): Idem and return the name of the file.
12794 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12795 Change pkg-info arg to be a package-desc.
12796 Use package-make-ac-desc.
12797 (package-upload-file): Use \' to match EOS.
12798 * finder.el (finder-compile-keywords): Use package-make-builtin.
12799
12800 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12801
12802 * vc/vc.el (vc-deduce-fileset): Change error message.
12803 (vc-read-backend): New function.
12804 (vc-next-action): Use it.
12805
12806 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
12807
12808 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
12809 (prolog-font-lock-keywords): Use regexp-opt instead.
12810 Don't manually highlight strings.
12811 (prolog-mode-variables): Simplify comment-start-skip.
12812 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
12813
12814 * emacs-lisp/generic.el (generic--normalise-comments)
12815 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
12816 (generic-mode-set-comments): Use them.
12817 (generic-bracket-support): Use setq-local.
12818 (generic-make-keywords-list): Declare obsolete.
12819
12820 2013-06-11 Glenn Morris <rgm@gnu.org>
12821
12822 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
12823 Prettify after setting font-lock-defaults. (Bug#14574)
12824
12825 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
12826
12827 * replace.el (query-replace, occur-read-regexp-defaults-function)
12828 (replace-search):
12829 * subr.el (declare-function, number-sequence, local-set-key)
12830 (substitute-key-definition, locate-user-emacs-file)
12831 (with-silent-modifications, split-string, eval-after-load):
12832 Fix typos, remove unneeded backslashes and reflow some docstrings.
12833
12834 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
12835
12836 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
12837 default for Elisp files.
12838
12839 2013-06-11 Glenn Morris <rgm@gnu.org>
12840
12841 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
12842 although define-derived-mode was doing this anyway. (Bug#14583)
12843
12844 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
12845
12846 * allout.el (allout-encryption-plaintext-sanitization-regexps):
12847 Fix make-variable-buffer-local call to refer to the correct variable.
12848
12849 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
12850
12851 * eshell/em-term.el (eshell-visual-commands)
12852 (eshell-visual-subcommands, eshell-visual-options):
12853 Add summary line to docstrings. Add cross-references.
12854
12855 2013-06-10 Glenn Morris <rgm@gnu.org>
12856
12857 * epa.el (epa-read-file-name): New function. (Bug#14510)
12858 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
12859
12860 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12861
12862 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
12863 output redirection to be ignored with visual commands.
12864
12865 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
12866
12867 * eshell/em-term.el (eshell-visual-command-p): New function.
12868 (eshell-term-initialize): Move long lambda to separate function
12869 eshell-visual-command-p.
12870 * eshell/em-dirs.el (eshell-dirs-initialize):
12871 * eshell/em-script.el (eshell-script-initialize):
12872 Add missing #' to lambda.
12873
12874 2013-06-08 Leo Liu <sdl.web@gmail.com>
12875
12876 * progmodes/octave.el (octave-add-log-current-defun): New function.
12877 (octave-mode): Set add-log-current-defun-function.
12878 (octave-goto-function-definition): Do not move point if not found.
12879 (octave-find-definition): Enhance to try subfunctions first.
12880
12881 2013-06-08 Glenn Morris <rgm@gnu.org>
12882
12883 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12884 (byte-compile-backward-char, byte-compile-backward-word):
12885 Improve previous change, to handle non-explicit nil.
12886
12887 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
12888
12889 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
12890 (smie--opener/closer-at-point): New function.
12891 (smie--matching-block-data): Use it. Don't match from right after an
12892 opener or right before a closer. Obey smie-blink-matching-inners.
12893 Don't signal a mismatch for repeated inners like "switch..case..case".
12894
12895 2013-06-07 Leo Liu <sdl.web@gmail.com>
12896
12897 * progmodes/octave.el (octave-mode): Set comment-use-global-state
12898 to t. (Bug#14303)
12899 (octave-function-header-regexp): Fix. (Bug#14570)
12900 (octave-help-mode-finish-hook, octave-help-mode-finish):
12901 Remove. Just use temp-buffer-show-hook.
12902
12903 * newcomment.el (comment-search-backward): Revert last change.
12904 (Bug#14434)
12905
12906 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
12907
12908 2013-06-07 Eli Zaretskii <eliz@gnu.org>
12909
12910 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
12911 through xargs, to avoid failure due to MS-Windows limitations on
12912 command-line length.
12913
12914 2013-06-06 Glenn Morris <rgm@gnu.org>
12915
12916 * font-lock.el (lisp-font-lock-keywords-2):
12917 Treat user-error like error.
12918
12919 * emacs-lisp/bytecomp.el (byte-compile-char-before)
12920 (byte-compile-backward-char, byte-compile-backward-word):
12921 Handle explicit nil arguments. (Bug#14565)
12922
12923 2013-06-05 Alan Mackenzie <acm@muc.de>
12924
12925 * isearch.el (isearch-allow-prefix): New user option.
12926 (isearch-other-meta-char): Don't exit isearch when a prefix
12927 argument is typed whilst `isearch-allow-prefix' is non-nil.
12928 (Bug#9706)
12929
12930 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12931
12932 * autorevert.el (auto-revert-notify-handler): Use memq.
12933 Hide assertion failure.
12934
12935 * skeleton.el: Use cl-lib.
12936 (skeleton-further-elements): Use defvar-local.
12937 (skeleton-insert): Use cl-progv.
12938
12939 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12940
12941 * progmodes/prog-mode.el (prog-prettify-symbols)
12942 (prog-prettify-install): Update docstrings.
12943
12944 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12945
12946 * simple.el: Move all the prog-mode code to prog-mode.el.
12947 * progmodes/prog-mode.el: New file.
12948 * loadup.el: Add prog-mode.el.
12949
12950 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12951
12952 * simple.el (prog-prettify-symbols): Add version.
12953 (prog-prettify-install): Add convenience function to prettify symbols.
12954
12955 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
12956 (perl--augmented-font-lock-keywords-1)
12957 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
12958 variables and use it.
12959
12960 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12961 (cfengine3-mode): Remove unneeded variable and use it.
12962
12963 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12964 (lisp--augmented-font-lock-keywords-1)
12965 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
12966 Remove unneeded variables and use it.
12967
12968 2013-06-05 João Távora <joaotavora@gmail.com>
12969
12970 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
12971 to point when opening the connection. (Bug#14380)
12972
12973 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
12974
12975 * subr.el (load-history-regexp, load-history-filename-element)
12976 (eval-after-load, after-load-functions, do-after-load-evaluation)
12977 (eval-next-after-load, display-delayed-warnings)
12978 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
12979 definition of save-match-data.
12980 (overriding-local-map): Remove accidental obsolescence declaration.
12981
12982 * emacs-lisp/edebug.el (edebug-result): Move before first use.
12983
12984 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
12985
12986 Generalize symbol prettify support to prog-mode and implement it
12987 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
12988 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
12989 (prog--prettify-font-lock-compose-symbol)
12990 (prog-prettify-font-lock-symbols-keywords): New variables and
12991 functions to support symbol prettification.
12992 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
12993 (lisp--augmented-font-lock-keywords-1)
12994 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
12995 (lisp--prettify-symbols-alist): Implement prettify of lambda.
12996 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
12997 (cfengine3--prettify-symbols-alist, cfengine3-mode):
12998 Implement prettify of -> => :: strings.
12999 * progmodes/perl-mode.el (perl-prettify-symbols)
13000 (perl--font-lock-compose-symbol)
13001 (perl--font-lock-symbols-keywords): Move to prog-mode.
13002 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13003 (perl-font-lock-keywords-1)
13004 (perl-font-lock-keywords-2): Remove explicit prettify support.
13005 (perl--augmented-font-lock-keywords)
13006 (perl--augmented-font-lock-keywords-1)
13007 (perl--augmented-font-lock-keywords-2, perl-mode):
13008 Implement prettify support.
13009
13010 2013-06-05 Leo Liu <sdl.web@gmail.com>
13011
13012 Re-implement SMIE matching block highlight using
13013 show-paren-data-function. (Bug#14395)
13014 * emacs-lisp/smie.el (smie-matching-block-highlight)
13015 (smie--highlight-matching-block-overlay)
13016 (smie--highlight-matching-block-lastpos)
13017 (smie-highlight-matching-block)
13018 (smie-highlight-matching-block-mode): Remove.
13019 (smie--matching-block-data-cache): New variable.
13020 (smie--matching-block-data): New function.
13021 (smie-setup): Use smie--matching-block-data for
13022 show-paren-data-function.
13023
13024 * progmodes/octave.el (octave-mode-menu): Fix.
13025 (octave-find-definition): Skip garbage lines.
13026
13027 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13028
13029 Fix compilation error with simultaneous dynamic+lexical scoping.
13030 Add warning when a defvar appears after the first let-binding.
13031 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13032 (byte-compile-close-variables): Initialize it.
13033 (byte-compile--declare-var): New function.
13034 (byte-compile-file-form-defvar)
13035 (byte-compile-file-form-define-abbrev-table)
13036 (byte-compile-file-form-custom-declare-variable): Use it.
13037 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13038 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13039 (byte-compile-bind): Handle dynamic bindings that shadow
13040 lexical bindings.
13041 (byte-compile-unbind): Make arg non-optional.
13042 (byte-compile-let): Simplify.
13043 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13044 (cconv--analyse-function, cconv-analyse-form): Populate it.
13045 Protect byte-compile-bound-variables to limit the scope of defvars.
13046 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13047 Remove unneeded rule for `declare'.
13048
13049 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
13050 so as to avoid depending on cl-adjoin at run-time.
13051 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
13052
13053 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
13054 (macroexp--warn-and-return): Use it.
13055
13056 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13057
13058 * subr.el: Convert to lexical binding.
13059 (overriding-local-map): Make obsolete.
13060 (add-to-list): Doc fix. Add compiler macro.
13061 (read-key): Swap values of local maps.
13062
13063 2013-06-05 Leo Liu <sdl.web@gmail.com>
13064
13065 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
13066
13067 2013-06-04 Leo Liu <sdl.web@gmail.com>
13068
13069 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
13070 (compilation-auto-jump): Suppress the "Mark set" message to give
13071 way to exit message.
13072
13073 2013-06-04 Alan Mackenzie <acm@muc.de>
13074
13075 Remove faulty optimisation from indentation calculation.
13076 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
13077 search limit based on 2000 characters back from indent-point.
13078
13079 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13080
13081 * eshell/em-term.el (cl-lib): Require `cl-lib'.
13082
13083 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
13084
13085 * emacs-lisp/lisp.el: Use lexical-binding.
13086 (lisp--local-variables-1, lisp--local-variables): New functions.
13087 (lisp--local-variables-completion-table): New var.
13088 (lisp-completion-at-point): Use it complete let-bound vars.
13089
13090 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
13091 eagerly (bug#14422).
13092
13093 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
13094
13095 * autorevert.el (auto-revert-notify-enabled)
13096 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
13097 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
13098 (auto-revert-notify-handler): Handle also gfilenotify.
13099
13100 * subr.el (file-notify-handle-event): New defun. Replacing ...
13101 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
13102 Remove.
13103
13104 2013-06-03 Juri Linkov <juri@jurta.org>
13105
13106 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
13107 `M-s h .'. (Bug#14427)
13108
13109 * hi-lock.el (highlight-symbol-at-point): New alias for the new
13110 command `hi-lock-face-symbol-at-point'.
13111 (hi-lock-face-symbol-at-point): New command.
13112 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
13113 (hi-lock-menu): Add `highlight-symbol-at-point'.
13114 (hi-lock-mode): Doc fix.
13115
13116 * isearch.el (isearch-forward-symbol-at-point): New command.
13117 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
13118 (isearch-highlight-regexp): Add a regexp which matches
13119 words/symbols for word/symbol mode.
13120
13121 * subr.el (find-tag-default-bounds): New function with the body
13122 mostly moved from `find-tag-default'.
13123 (find-tag-default): Move most code to `find-tag-default-bounds',
13124 call it and apply `buffer-substring-no-properties' afterwards.
13125
13126 2013-06-03 Tassilo Horn <tsdh@gnu.org>
13127
13128 * eshell/em-term.el (eshell-term-initialize):
13129 Use `cl-intersection' rather than `intersection'.
13130
13131 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
13132
13133 * vc/log-view.el: Doc fix.
13134 (log-view-mode-map): Copy keymap from `special-mode-map'.
13135
13136 2013-06-02 Eric Ludlam <zappo@gnu.org>
13137
13138 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
13139 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
13140 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
13141 (eieio-unbound, eieio-default-superclass)
13142 (eieio--define-field-accessors, method-static, method-before)
13143 (method-primary, method-after, method-num-lists)
13144 (method-generic-before, method-generic-primary)
13145 (method-generic-after, method-num-slots)
13146 (eieio-specialized-key-to-generic-key)
13147 (eieio--check-type, class-v, class-p)
13148 (eieio-class-name, define-obsolete-function-alias)
13149 (eieio-class-parents-fast, eieio-class-children-fast)
13150 (same-class-fast-p, class-constructor, generic-p)
13151 (generic-primary-only-p, generic-primary-only-one-p)
13152 (class-option-assoc, class-option, eieio-object-p)
13153 (class-abstract-p, class-method-invocation-order)
13154 (eieio-defclass-autoload-map, eieio-defclass-autoload)
13155 (eieio-class-un-autoload, eieio-defclass)
13156 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
13157 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
13158 (eieio--defgeneric-init-form, eieio-defgeneric-form)
13159 (eieio-defgeneric-reset-generic-form)
13160 (eieio-defgeneric-form-primary-only)
13161 (eieio-defgeneric-reset-generic-form-primary-only)
13162 (eieio-defgeneric-form-primary-only-one)
13163 (eieio-defgeneric-reset-generic-form-primary-only-one)
13164 (eieio-unbind-method-implementations)
13165 (eieio--defmethod, eieio--typep)
13166 (eieio-perform-slot-validation, eieio-validate-slot-value)
13167 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
13168 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
13169 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
13170 (eieio-slot-name-index, eieio-class-slot-name-index)
13171 (eieio-set-defaults, eieio-initarg-to-attribute)
13172 (eieio-attribute-to-initarg, eieio-c3-candidate)
13173 (eieio-c3-merge-lists, eieio-class-precedence-c3)
13174 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
13175 (eieio-class-precedence-list, eieio-generic-call-methodname)
13176 (eieio-generic-call-arglst, eieio-generic-call-key)
13177 (eieio-generic-call-next-method-list)
13178 (eieio-pre-method-execution-functions, eieio-generic-call)
13179 (eieio-generic-call-primary-only, eieiomt-method-list)
13180 (eieiomt-optimizing-obarray, eieiomt-install)
13181 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
13182 (eieio-generic-form, eieio-defmethod, make-obsolete)
13183 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
13184 (defclass): Remove `eval-and-compile' from macro.
13185 (call-next-method, shared-initialize): Instead of using
13186 `scoped-class' variable, use new eieio--scoped-class, and
13187 eieio--with-scoped-class.
13188 (initialize-instance): Rename local variable 'scoped-class' to
13189 'this-class' to remove ambiguitity from old global.
13190
13191 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
13192 eieio.el.
13193 (eieio--scoped-class-stack): New variable.
13194 (eieio--scoped-class): New fcn.
13195 (eieio--with-scoped-class): New scoping macro.
13196 (eieio-defclass): Use pushnew instead of add-to-list.
13197 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
13198 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
13199 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
13200 `scoped-class' variable, use new eieio--scoped-class, and
13201 eieio--with-scoped-class.
13202
13203 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
13204
13205 2013-06-02 Tassilo Horn <tsdh@gnu.org>
13206
13207 * eshell/esh-ext.el (eshell-external-command): Pass args to
13208 `eshell-find-interpreter'.
13209 (eshell-find-interpreter): Add new second parameter ARGS.
13210
13211 * eshell/em-script.el (eshell-script-initialize): Add second arg
13212 to the function added as MATCH to `eshell-interpreter-alist'.
13213
13214 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
13215 the function added as MATCH to `eshell-interpreter-alist'.
13216
13217 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
13218 (eshell-visual-options): New defcustom.
13219 (eshell-escape-control-x): Adapt docstring.
13220 (eshell-term-initialize): Test `eshell-visual-subcommands' and
13221 `eshell-visual-options' in addition to `eshell-visual-commands'.
13222 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
13223
13224 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
13225
13226 * progmodes/python.el (python-indent-block-enders): Add break,
13227 continue and raise keywords.
13228
13229 2013-06-01 Glenn Morris <rgm@gnu.org>
13230
13231 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
13232
13233 Plain (f)boundp silences compilation warnings since Emacs 22.1.
13234 * progmodes/cc-cmds.el (delete-forward-p):
13235 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
13236 * progmodes/cc-engine.el (buffer-syntactic-context):
13237 * progmodes/cc-fonts.el (face-property-instance):
13238 * progmodes/cc-mode.el (set-keymap-parents):
13239 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
13240 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
13241 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
13242 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
13243 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
13244
13245 * progmodes/cc-vars.el (other): Emacs has this widget since
13246 at least 21.1, so don't (re)define it.
13247
13248 * eshell/em-cmpl.el (eshell-cmpl-initialize):
13249 Replace the obsolete alias pcomplete-arg-quote-list.
13250
13251 2013-06-01 Leo Liu <sdl.web@gmail.com>
13252
13253 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
13254 punctuation syntax.
13255 (inferior-octave-minimal-columns)
13256 (inferior-octave-last-column-width): New variables.
13257 (inferior-octave-track-window-width-change): New function.
13258 (inferior-octave-mode): Adjust column width so that Octave output,
13259 for example from 'ls', can fit into the window nicely.
13260
13261 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13262
13263 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13264 Highlight expansions inside regexp literals.
13265
13266 2013-05-31 Glenn Morris <rgm@gnu.org>
13267
13268 * obsolete/sym-comp.el (symbol-complete):
13269 Replace obsolete completion-annotate-function.
13270
13271 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
13272
13273 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
13274
13275 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
13276 New function, checks if point is inside a literal that allows
13277 expression expansion.
13278 (ruby-syntax-propertize-expansion): Use it.
13279 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
13280 around the body.
13281
13282 2013-05-30 Juri Linkov <juri@jurta.org>
13283
13284 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
13285 to "\M-si".
13286 (isearch-invisible): New variable.
13287 (isearch-forward): Doc fix.
13288 (isearch-mode): Set `isearch-invisible'
13289 to the value of `search-invisible'.
13290 (isearch-toggle-case-fold): Doc fix.
13291 (isearch-toggle-invisible): New command.
13292 (isearch-query-replace): Let-bind `search-invisible'
13293 to the value of `isearch-invisible'.
13294 (isearch-search): Use `isearch-invisible' instead of
13295 `search-invisible'. Let-bind `search-invisible'
13296 to the value of `isearch-invisible'. (Bug#11378)
13297
13298 2013-05-30 Juri Linkov <juri@jurta.org>
13299
13300 * replace.el (perform-replace): Avoid `isearch-range-invisible'
13301 call when `query-flag' is nil and `search-invisible' is non-nil.
13302 (Bug#11746)
13303
13304 2013-05-30 Glenn Morris <rgm@gnu.org>
13305
13306 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
13307
13308 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
13309 (cc-require): Suppress spurious "noruntime" warnings.
13310 (cc-require-when-compile): Use fboundp, for sake of compiler.
13311
13312 * progmodes/cc-mode.el: Move load of cc-vars before that of
13313 cc-langs (which in turn loads cc-vars), to quieten compiler.
13314
13315 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13316
13317 * paren.el: Simplify the code.
13318 (show-paren-mode): Always start the timer.
13319 (show-paren--idle-timer): Rename from show-paren-idle-timer.
13320 (show-paren--overlay, show-paren--overlay-1): Rename from
13321 show-paren-overlay and show-paren-overlay-1, and initialize to an
13322 overlay rather than to nil.
13323 (show-paren-function): Misc cleanup and simplifications.
13324
13325 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
13326
13327 * paren.el (show-paren-data-function): New hook.
13328 (show-paren--default): New function, extracted from show-paren-function.
13329 (show-paren-function): Use show-paren-data-function.
13330
13331 2013-05-30 Glenn Morris <rgm@gnu.org>
13332
13333 * ielm.el (ielm-map, ielm-complete-symbol):
13334 Use completion-at-point rather than obsolete functions.
13335 (inferior-emacs-lisp-mode): Doc fix.
13336 Set completion-at-point-functions, rather than
13337 comint-dynamic-complete-functions.
13338
13339 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
13340 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
13341 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
13342
13343 * image.el (image-animated-p): Tweak definition.
13344
13345 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
13346 (rlogin-process-connection-type): Tweak default. Add set-after.
13347 (rlogin-host): Doc fix.
13348 (rlogin): Tweak prompt.
13349 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
13350
13351 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
13352 * progmodes/tcl.el (inferior-tcl-mode-map):
13353 Use completion-at-point rather than obsolete alias.
13354
13355 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
13356
13357 * minibuffer.el (read-file-name-completion-ignore-case):
13358 Move before completion--in-region, for eager macro expansion.
13359
13360 2013-05-29 Juri Linkov <juri@jurta.org>
13361
13362 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
13363 for total count of matching lines. Add `global-matches' for total
13364 count of matches. Rename `matches' to `lines' for count of
13365 matching lines. Add `matches' for count of matches.
13366 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
13367 to `prev-line' for line number of prev match endpt.
13368 Increment `matches' for every match. Print the number of
13369 matching lines in the header.
13370 (occur-context-lines): Rename `lines' to `curr-line'.
13371 Rename `prev-lines' to `prev-line'. (Bug#14017)
13372
13373 2013-05-29 Juri Linkov <juri@jurta.org>
13374
13375 * replace.el (perform-replace): Add `skip-read-only-count',
13376 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
13377 Increment them for corresponding conditions and report the number
13378 of skipped occurrences in the final message. (Bug#11746)
13379 (query-replace, query-replace-regexp, query-replace-regexp-eval)
13380 (replace-string, replace-regexp): Doc fix.
13381
13382 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
13383
13384 * emacs-lisp/trace.el (trace--read-args): Provide a default.
13385
13386 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
13387 prog-mode-map (bug#14504).
13388
13389 2013-05-29 Leo Liu <sdl.web@gmail.com>
13390
13391 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
13392 (octave-help): Small simplification.
13393
13394 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
13395 off the highlight first.
13396
13397 2013-05-29 Glenn Morris <rgm@gnu.org>
13398
13399 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
13400 Handle idlwave-last-system-routine-info-cons-cell being nil.
13401
13402 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13403 (idlwave-write-paths): Simplify via with-temp-buffer.
13404
13405 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
13406 * emulation/cua-rect.el: Also load cua-base at run time.
13407
13408 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
13409 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
13410 (cperl-imenu-on-info): Require imenu.
13411
13412 2013-05-28 Alan Mackenzie <acm@muc.de>
13413
13414 Handle "capitalised keywords" correctly.
13415 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
13416
13417 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
13418
13419 * eshell/em-unix.el: Add -r option to cp.
13420
13421 2013-05-28 Glenn Morris <rgm@gnu.org>
13422
13423 * vc/vc-arch.el (vc-exec-after): Declare.
13424 (vc-switches): Autoload.
13425 * vc/vc-bzr.el: No need to require vc when compiling.
13426 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
13427 (vc-resynch-buffer, vc-dir-refresh): Declare.
13428 (vc-setup-buffer, vc-switches): Autoload.
13429 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
13430 (vc-resynch-buffer): Declare.
13431 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
13432 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
13433 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
13434 (grep-read-regexp, grep-read-files, grep-expand-template)
13435 (vc-dir-refresh): Declare.
13436 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
13437 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
13438 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
13439 * vc/vc-mtn.el (vc-exec-after): Declare.
13440 (vc-switches): Autoload.
13441 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
13442 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
13443 (vc-file-tree-walk): Declare.
13444 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
13445 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
13446 (vc-tag-precondition, vc-rename-master): Autoload.
13447 * vc/vc-svn.el (vc-exec-after): Declare.
13448 (vc-switches, vc-setup-buffer): Autoload.
13449 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
13450 Autoload.
13451 (vc-resynch-buffer): Declare.
13452
13453 * obsolete/fast-lock.el (byte-compile-warnings):
13454 Don't warn about obsolete features in this obsolete file.
13455
13456 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
13457 Move definition before use.
13458
13459 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
13460 (dun-unix-verbs): Remove dun-zippy.
13461 (dun-zippy): Remove function.
13462
13463 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
13464
13465 2013-05-27 Juri Linkov <juri@jurta.org>
13466
13467 * replace.el (replace-search): New function with code moved out
13468 from `perform-replace'.
13469 (replace-highlight, replace-dehighlight): Move function definitions
13470 up closer to `replace-search'. (Bug#11746)
13471
13472 2013-05-27 Juri Linkov <juri@jurta.org>
13473
13474 * replace.el (perform-replace): Ignore invisible matches.
13475 In addition to checking `query-replace-skip-read-only', also
13476 filter out matches by calling `run-hook-with-args-until-failure'
13477 on `isearch-filter-predicates', and also check `search-invisible'
13478 for t or call `isearch-range-invisible'.
13479 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
13480
13481 2013-05-27 Juri Linkov <juri@jurta.org>
13482
13483 * isearch.el (isearch-filter-predicates): Rename from
13484 `isearch-filter-predicate'. Doc fix. (Bug#11378)
13485 (isearch-message-prefix): Display text from the property
13486 `isearch-message-prefix' of the currently active filters.
13487 (isearch-search): Don't compare `isearch-filter-predicate' with
13488 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
13489 on `isearch-filter-predicates'. Also check `search-invisible' for t
13490 or call `isearch-range-invisible'.
13491 (isearch-filter-visible): Make obsolete.
13492 (isearch-lazy-highlight-search):
13493 Call `run-hook-with-args-until-failure' on
13494 `isearch-filter-predicates' and use `isearch-range-invisible'.
13495
13496 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
13497 `isearch-filter-predicates' instead of `funcall'ing
13498 `isearch-filter-predicate'.
13499 (Info-mode): Set `Info-isearch-filter' to
13500 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
13501
13502 * dired-aux.el (dired-isearch-filter-predicate-orig):
13503 Remove variable.
13504 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
13505 (dired-isearch-filenames-end): Add and remove
13506 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
13507 instead of changing the value of `isearch-filter-predicate'.
13508 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
13509 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
13510 Put property `isearch-message-prefix' to "filename " on
13511 `dired-isearch-filter-filenames'.
13512
13513 * wdired.el (wdired-change-to-wdired-mode):
13514 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
13515 locally instead of changing `isearch-filter-predicate'.
13516 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
13517
13518 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
13519
13520 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
13521 return the commit hash (Bug#14459). Also set the
13522 `vc-git-detached' property.
13523 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
13524 (vc-git-mode-line-string): Use the same help-echo format whether
13525 in detached mode or not, because we know the actual revision now.
13526 When in detached mode, shorten the revision to 7 chars.
13527
13528 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13529
13530 * emacs-lisp/easy-mmode.el (define-minor-mode):
13531 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
13532 mode hook and provide a docstring.
13533
13534 2013-05-27 Alan Mackenzie <acm@muc.de>
13535
13536 Remove spurious syntax-table text properties inserted by C-y.
13537 * progmodes/cc-mode.el (c-after-change): Also clear hard
13538 syntax-table property with value nil.
13539
13540 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
13541
13542 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
13543 when reading the events; the buffer layout shall not be changed.
13544
13545 2013-05-27 Leo Liu <sdl.web@gmail.com>
13546
13547 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
13548 New variable.
13549 (inferior-octave-directory-tracker): Automatically re-sync
13550 default-directory.
13551 (octave-help): Improve handling of 'See also'.
13552
13553 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
13554
13555 * doc-view.el: Minor naming convention tweaks.
13556 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
13557
13558 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
13559 even if there's no `display' property yet (bug#14435).
13560
13561 2013-05-25 Eli Zaretskii <eliz@gnu.org>
13562
13563 * subr.el (unmsys--file-name): Rename from reveal-filename.
13564
13565 * Makefile.in (custom-deps, finder-data, autoloads)
13566 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
13567 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
13568 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
13569
13570 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13571
13572 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
13573 error-completion on the first 2 args of condition-case (bug#14446).
13574 Don't burp at EOB.
13575
13576 2013-05-25 Leo Liu <sdl.web@gmail.com>
13577
13578 * comint.el (comint-previous-matching-input): Do not flood the
13579 *Messages* buffer with trivial messages.
13580
13581 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
13582
13583 * progmodes/flymake.el (flymake-nop): Don't return a string.
13584 (flymake-set-at): Fix typo.
13585
13586 * simple.el (read--expression): New function, extracted from
13587 eval-expression. Set completion-at-point-functions (bug#14465).
13588 (eval-expression, eval-minibuffer): Use it.
13589
13590 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
13591
13592 * progmodes/flymake.el (flymake-save-buffer-in-file)
13593 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
13594 (flymake-selected-frame, flymake-log, flymake-ins-after)
13595 (flymake-set-at, flymake-get-buildfile-from-cache)
13596 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
13597 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
13598 Refine the doc string.
13599 (flymake-get-file-name-mode-and-masks): Reformat.
13600 (flymake-get-real-file-name-function): Fix a minor bug.
13601
13602 2013-05-24 Juri Linkov <juri@jurta.org>
13603
13604 * progmodes/grep.el (grep-mode-font-lock-keywords):
13605 Support =linenumber= format used by git-grep for lines with
13606 function names. (Bug#13549)
13607
13608 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13609
13610 * progmodes/octave.el (octave-smie-rules): Return nil rather than
13611 0 after a semi-colon; it works better for smie-auto-fill.
13612 (octave--indent-new-comment-line): New function.
13613 (octave-indent-new-comment-line): Use it (indirectly).
13614 (octave-mode): Don't disable smie-auto-fill. Use add-function to
13615 modify comment-line-break-function.
13616
13617 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
13618 (smie-setup): Use add-function to set it.
13619
13620 2013-05-24 Sam Steingold <sds@gnu.org>
13621
13622 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
13623 argument (before the `interactive' argument).
13624
13625 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
13626
13627 * image-mode.el (image-mode-winprops): Add winprops to
13628 image-mode-winprops-alist before running
13629 image-mode-new-window-functions.
13630 * doc-view.el (doc-view-new-window-function): Don't delay
13631 doc-view-goto-page via timers (bug#14435).
13632
13633 2013-05-24 Tassilo Horn <tsdh@gnu.org>
13634
13635 * doc-view.el: Integrate with desktop.el. (Bug#14435)
13636 (doc-view-desktop-save-buffer): New function.
13637 (doc-view-restore-desktop-buffer): New function.
13638 (desktop-buffer-mode-handlers):
13639 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
13640 handler.
13641 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
13642 `desktop-save-buffer' function.
13643
13644 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
13645
13646 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
13647 (tramp-gvfs-file-name-handler): Raise a user error when
13648 `tramp-gvfs-enabled' is nil.
13649 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
13650 Do not raise a user error when loading package. (Bug#14447)
13651
13652 * net/xesam.el: Move to obsolete/.
13653
13654 2013-05-24 Glenn Morris <rgm@gnu.org>
13655
13656 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
13657
13658 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
13659
13660 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
13661 (Info-find-node, Man-getpage-in-background): Declare.
13662
13663 * mail/unrmail.el (unrmail):
13664 Replace obsolete detect-coding-with-priority.
13665
13666 * net/socks.el (socks-split-string): Use this rather than split-string.
13667 (socks-nslookup-host): Update for above change.
13668 (dynamic-choice, s5-dynamic-choice-match)
13669 (s5-dynamic-choice-match-inline, s5-widget-value-create):
13670 Comment out unused code.
13671
13672 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
13673 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
13674 (gud-tooltip-echo-area): Make obsolete.
13675 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
13676
13677 * progmodes/js.el (js--optimize-arglist): Declare.
13678
13679 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
13680
13681 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
13682 (ediff-window-C): Declare.
13683
13684 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
13685 Tweak requires to silence compiler.
13686
13687 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
13688 (he-search-string, he-tried-table, he-expand-list)
13689 (he-init-string, he-string-member, he-substitute-string)
13690 (he-reset-string): Declare.
13691
13692 * obsolete/options.el (list-options): Use custom-variable-p,
13693 rather than obsolete alias.
13694
13695 2013-05-23 Sam Steingold <sds@gnu.org>
13696
13697 * simple.el (shell-command-on-region): Pass the `replace' argument
13698 down to `call-process-region' to comply with the doc as reported on
13699 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
13700
13701 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
13702
13703 * emacs-lisp/smie.el (smie-indent-forward-token)
13704 (smie-indent-backward-token): Handle string tokens (bug#14381).
13705
13706 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13707
13708 * ielm.el (ielm-menu): New menu.
13709 (inferior-emacs-lisp-mode): Set comment-start.
13710
13711 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13712
13713 * textmodes/reftex.el (reftex-ref-style-toggle):
13714 Fix deactivate action.
13715
13716 * textmodes/reftex-vars.el (reftex-ref-style-alist):
13717 Add cleveref macros.
13718
13719 * textmodes/reftex-parse.el
13720 (reftex-locate-bibliography-files): Accept options for
13721 bibliography commands.
13722 * textmodes/reftex-vars.el (reftex-bibliography-commands):
13723 Add addbibresource. Basic Biblatex support.
13724
13725 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
13726
13727 * net/tramp-gvfs.el (top):
13728 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
13729 when loading package. (Bug#14447)
13730
13731 2013-05-23 Glenn Morris <rgm@gnu.org>
13732
13733 * progmodes/js.el: No need to load comint when compiling.
13734 (ring-insert, comint-send-string, comint-send-input)
13735 (comint-last-input-end, ido-chop): Declare.
13736
13737 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
13738 * vc/ediff-mult.el: Adjust requires.
13739 (ediff-directories-internal, ediff-directory-revisions-internal)
13740 (ediff-patch-file-internal): Declare.
13741 * vc/ediff-ptch.el: Adjust requires.
13742 (ediff-use-last-dir, ediff-buffers-internal): Declare.
13743 (ediff-find-file): Autoload.
13744 * vc/ediff-util.el: No need to load ediff when compiling.
13745 (ediff-regions-internal): Declare.
13746 * vc/ediff-wind.el: Adjust requires.
13747 (ediff-compute-toolbar-width): Define when compiling.
13748 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
13749 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
13750 (dired-get-filename, dired-get-marked-files)
13751 (ediff-last-dir-patch, ediff-patch-default-directory)
13752 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
13753 (ediff-patch-buffer-internal): Declare.
13754
13755 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
13756 (ispell-process, ispell-buffer-local-words, lm-summary)
13757 (lm-section-start, lm-section-end): Declare.
13758 (checkdoc-ispell-init): Simplify.
13759
13760 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
13761 (he-string-member, he-reset-string, he-substitute-string): Declare.
13762
13763 * eshell/em-ls.el: Adjust requires.
13764 (eshell-glob-regexp): Declare.
13765 * eshell/em-tramp.el: Adjust requires.
13766 (eshell-parse-command): Autoload.
13767 * eshell/em-xtra.el: Adjust requires.
13768 (eshell-parse-command): Autoload.
13769 * eshell/esh-ext.el: Adjust requires.
13770 (eshell-parse-command, eshell-close-handles): Autoload.
13771 * eshell/esh-io.el: Adjust requires.
13772 (eshell-output-filter): Autoload.
13773 * eshell/esh-util.el: No need to load tramp when compiling.
13774 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
13775 Declare.
13776 (eshell-parse-ange-ls): Require ange-ftp and tramp.
13777 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
13778 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
13779 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
13780 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
13781 * eshell/esh-opt.el, eshell/esh-proc.el:
13782 * eshell/esh-var.el: Adjust requires.
13783 * eshell/eshell.el: Do not require esh-util twice.
13784 (eshell-add-input-to-history): Declare.
13785 (eshell-command): Check history module is active before using it.
13786
13787 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
13788
13789 2013-05-22 Leo Liu <sdl.web@gmail.com>
13790
13791 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
13792
13793 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
13794
13795 * autorevert.el (auto-revert-notify-add-watch)
13796 (auto-revert-notify-handler): Add `attrib' for the inotify case,
13797 it indicates changes in file modification time.
13798
13799 2013-05-22 Glenn Morris <rgm@gnu.org>
13800
13801 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13802 Always delete the autoloaded function from the noruntime and
13803 unresolved functions lists.
13804
13805 * allout.el: No need to load epa, epg, overlay when compiling.
13806 (epg-context-set-passphrase-callback, epg-list-keys)
13807 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
13808 (epg-key-user-id-list): Declare.
13809
13810 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
13811 (viper-set-parsing-style-toggling-macro)
13812 (viper-set-emacs-state-searchstyle-macros):
13813 Use called-interactively-p on Emacs.
13814 (viper-looking-back): Make it an obsolete alias. Update callers.
13815 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
13816 Use looking-back rather than viper-looking-back.
13817 (viper-tmp-insert-at-eob, viper-enlarge-region)
13818 (viper-read-string-with-history, viper-register-to-point)
13819 (viper-append-to-register, viper-change-state-to-vi)
13820 (viper-backward-char-carefully, viper-forward-char-carefully)
13821 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
13822 (viper-change-state-to-emacs): Declare.
13823 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
13824 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
13825 * emulation/viper-mous.el: Do not load viper-cmd.
13826 (viper-backward-char-carefully, viper-forward-char-carefully)
13827 (viper-forward-word, viper-adjust-window): Declare.
13828
13829 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
13830
13831 * progmodes/idlw-help.el (idlwave-help-fontify):
13832 Use called-interactively-p.
13833
13834 * term/w32console.el (w32-get-console-codepage)
13835 (w32-get-console-output-codepage): Declare.
13836
13837 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
13838 Remove unnecessary declarations.
13839 (dframe-message): Doc fix.
13840
13841 * info.el (dframe-select-attached-frame, dframe-current-frame):
13842 Declare.
13843
13844 * speedbar.el (speedbar-message): Make it an obsolete alias.
13845 Update all callers.
13846 (speedbar-with-attached-buffer)
13847 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
13848 (speedbar-with-writable): Use backquote.
13849 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
13850 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
13851 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
13852 rather than speedbar- aliases.
13853 * mail/rmail.el: Load dframe rather than speedbar when compiling.
13854 (speedbar-make-specialized-keymap, speedbar-insert-button)
13855 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
13856 (speedbar-do-function-pointer): Declare.
13857 (rmail-speedbar-button, rmail-speedbar-find-file)
13858 (rmail-speedbar-move-message):
13859 Use dframe-with-attached-buffer rather than speedbar- alias.
13860 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
13861 (dframe-message, speedbar-make-specialized-keymap)
13862 (speedbar-add-expansion-list, speedbar-mode-functions-list)
13863 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
13864 (speedbar-insert-button, dframe-select-attached-frame)
13865 (dframe-maybee-jump-to-attached-frame)
13866 (speedbar-change-initial-expansion-list)
13867 (speedbar-previously-used-expansion-list-name): Declare.
13868 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
13869 Use dframe-message, dframe-with-attached-buffer rather than
13870 speedbar- aliases.
13871 (gud-sentinel): Silence compiler.
13872 * progmodes/vhdl-mode.el (speedbar-refresh)
13873 (speedbar-do-function-pointer, speedbar-add-supported-extension)
13874 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
13875 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
13876 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
13877 (speedbar-file-lists, speedbar-make-tag-line)
13878 (speedbar-line-directory, speedbar-goto-this-file)
13879 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
13880 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
13881 (speedbar-make-button, speedbar-reset-scanners)
13882 (speedbar-files-item-info, speedbar-line-text)
13883 (speedbar-find-file-in-frame, speedbar-set-timer)
13884 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
13885 (speedbar-with-writable): Do not (re)define it.
13886 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
13887 rather than speedbar- alias.
13888
13889 2013-05-21 Leo Liu <sdl.web@gmail.com>
13890
13891 * progmodes/octave.el (octave-mode-menu): Update and re-organize
13892 menu items.
13893 (octave-mode): Tweak fill-nobreak-predicate.
13894 (inferior-octave-startup): Check process to avoid infinite loop.
13895 (inferior-octave): Pop to buffer first to show abornmal process
13896 exit information.
13897
13898 2013-05-21 Glenn Morris <rgm@gnu.org>
13899
13900 * printing.el (pr-menu-bar): Define when compiling.
13901
13902 2013-05-21 Leo Liu <sdl.web@gmail.com>
13903
13904 * progmodes/octave.el (octave-auto-fill): Remove.
13905 (octave-indent-new-comment-line): Improve.
13906 (octave-mode): Use auto fill mode through
13907 comment-line-break-function and fill-nobreak-predicate.
13908 (octave-goto-function-definition): Support DEFUN_DLD.
13909 (octave-beginning-of-defun): Small tweak.
13910 (octave-help): Show parent directory.
13911
13912 2013-05-21 Glenn Morris <rgm@gnu.org>
13913
13914 * files.el (dired-unmark):
13915 * progmodes/gud.el (gdb-input): Update declarations.
13916
13917 * calculator.el (electric, ehelp): No need to load when compiling.
13918 (Electric-command-loop, electric-describe-mode): Declare.
13919
13920 * doc-view.el (doc-view-current-converter-processes): Move before use.
13921
13922 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13923 Move MODE-set-explicitly definition before use.
13924
13925 * international/mule-diag.el (mule-diag):
13926 Don't use obsolete window-system-version.
13927
13928 * mail/feedmail.el (smtpmail): No need to load when compiling.
13929 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
13930
13931 * mail/mail-utils.el (rfc822): No need to load when compiling.
13932 (rfc822-addresses): Autoload it.
13933 (mail-strip-quoted-names): Trivial simplification.
13934
13935 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
13936 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
13937
13938 * net/snmp-mode.el (tempo): Don't duplicate requires.
13939
13940 * progmodes/prolog.el (info): No need to load when compiling.
13941 (comint): Require before shell requires it.
13942 (Info-goto-node): Autoload it.
13943 (Info-follow-nearest-node): Declare.
13944 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
13945
13946 * textmodes/artist.el (picture-mode-exit): Declare.
13947
13948 * textmodes/reftex-parse.el (reftex-parse-from-file):
13949 Trivial rewrite so the compiler can parse it better.
13950
13951 2013-05-20 Leo Liu <sdl.web@gmail.com>
13952
13953 * progmodes/octave.el (octave-help-mode-map)
13954 (octave-help-mode-finish-hook): New variables.
13955 (octave-help-mode, octave-help-mode-finish): New functions.
13956 (octave-help): Use octave-help-mode.
13957
13958 2013-05-20 Glenn Morris <rgm@gnu.org>
13959
13960 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
13961
13962 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
13963
13964 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
13965 start at point, so that expansion starting right after opening
13966 slash in a regexp is recognized.
13967 (ruby-syntax-before-regexp-re): New defvar, extracted from
13968 ruby-syntax-propertize-function. Since the value of this regexp
13969 is looked up at runtime now, we should be able to turn
13970 `ruby-syntax-methods-before-regexp' into a defcustom later.
13971 (ruby-syntax-propertize-function): Split regexp matching into two
13972 parts, for opening and closing slashes. That allows us to skip
13973 over string interpolations and support multiline regexps.
13974 Don't call `ruby-syntax-propertize-expansions', instead use another rule
13975 for them, which calls `ruby-syntax-propertize-expansion'.
13976 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
13977 call to `ruby-syntax-propertize-function'.
13978 (ruby-syntax-propertize-expansion): Extracted from
13979 `ruby-syntax-propertize-expansions'. Handles one expansion.
13980 (ruby-syntax-propertize-percent-literal): Leave point right after
13981 the percent symbol, so that the expression expansion rule can
13982 propertize the contents.
13983 (ruby-syntax-propertize-heredoc): Leave point at bol following the
13984 heredoc openers.
13985 (ruby-syntax-propertize-expansions): Remove.
13986
13987 2013-05-18 Juri Linkov <juri@jurta.org>
13988
13989 * man.el (Man-default-man-entry): Remove `-' from the end
13990 of the default value. (Bug#14400)
13991
13992 2013-05-18 Glenn Morris <rgm@gnu.org>
13993
13994 * comint.el (comint-password-prompt-regexp):
13995 Allow "password for XXX" where XXX contains colons (eg https://...).
13996
13997 2013-05-18 Leo Liu <sdl.web@gmail.com>
13998
13999 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14000 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14001 (octave-source-directories): Don't check process.
14002 (octave-source-directories, octave-find-definition): Doc fix.
14003
14004 2013-05-18 Glenn Morris <rgm@gnu.org>
14005
14006 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14007 Remove backspace/delete bindings. (Bug#14392)
14008
14009 * cus-dep.el (custom-make-dependencies): Sort the output.
14010 (custom-versions-load-alist): Convert comment to doc.
14011
14012 2013-05-17 Leo Liu <sdl.web@gmail.com>
14013
14014 * newcomment.el (comment-search-backward): Stricter in finding
14015 comment start. (Bug#14303)
14016
14017 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14018 (octave-comment-start-skip): Properly anchored.
14019
14020 2013-05-17 Leo Liu <sdl.web@gmail.com>
14021
14022 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14023 Clean up when turned off. (Bug#14395)
14024 (smie--highlight-matching-block-overlay): No longer buffer-local.
14025 (smie-highlight-matching-block): Adjust.
14026
14027 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14028
14029 Doc string fix for "nanoseconds" (Bug#14406).
14030 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14031 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14032
14033 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14034
14035 * calc/calc-units.el (math-extract-units): Preserve powers
14036 of units.
14037
14038 2013-05-17 Leo Liu <sdl.web@gmail.com>
14039
14040 * subr.el (delete-consecutive-dups): New function.
14041 * ido.el (ido-set-matches-1): Use it.
14042 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14043 * ido.el (ido-remove-consecutive-dups): Remove.
14044
14045 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14046
14047 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14048 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14049 regexp-opt's `words'.
14050
14051 2013-05-16 Leo Liu <sdl.web@gmail.com>
14052
14053 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
14054 (smie--highlight-matching-block-overlay)
14055 (smie--highlight-matching-block-lastpos)
14056 (smie--highlight-matching-block-timer): New variables.
14057 (smie-highlight-matching-block): New function.
14058 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
14059 (smie-setup): Conditionally enable smie-blink-matching-open.
14060
14061 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
14062
14063 Sync with upstream verilog-mode r840.
14064 * progmodes/verilog-mode.el (verilog-mode-version)
14065 (verilog-mode-release-date): Update.
14066 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
14067 (verilog-sig-tieoff): Fix string error on
14068 AUTORESET with colon define, bug594. Reported by Andrew Hou.
14069 (verilog-read-decls): Fix parameters confusing
14070 AUTOINST interfaces, bug565. Reported by Leith Johnson.
14071
14072 2013-05-16 Eli Zaretskii <eliz@gnu.org>
14073
14074 * subr.el (reveal-filename): New function.
14075
14076 * loadup.el: Compute Emacs executable versions on MS-Windows,
14077 where executables have the .exe extension. Add a hard link
14078 emacs-XX.YY.ZZ.exe on MS-Windows.
14079
14080 * Makefile.in (XARGS_LIMIT): New variable.
14081 (custom-deps, finder-data, autoloads)
14082 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14083 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14084 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
14085 (compile-main): Limit xargs according to $(XARGS_LIMIT).
14086
14087 2013-05-16 Leo Liu <sdl.web@gmail.com>
14088
14089 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
14090 (octave-mode-menu, octave-mode-map): Remove its uses.
14091
14092 2013-05-16 Reto Zimmermann <reto@gnu.org>
14093
14094 Sync with upstream vhdl mode v3.34.2.
14095 * progmodes/vhdl-mode.el: Use `push' throughout.
14096 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
14097 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
14098 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
14099 (vhdl-actual-generic-name): New option to derive actual generic name.
14100 (vhdl-port-paste-signals): Replace formal by actual generics.
14101 (vhdl-beautify): New name for old group vhdl-align. Update users.
14102 (vhdl-beautify-options): New option.
14103 (vhdl-last-input-event): New compat alias. Use throughout.
14104 (vhdl-goto-line): Replace user level function `goto-line'.
14105 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
14106 vhdl-fix-statement-buffer.
14107 (vhdl-create-mode-menu): Add some entries.
14108 (vhdl-align-region-groups): Respect vhdl-beautify-options.
14109 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
14110 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
14111 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
14112 to force statements on one line.
14113 (vhdl-remove-trailing-spaces-region):
14114 New, split from vhdl-remove-trailing-spaces.
14115 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
14116 Respect vhdl-beautify-options.
14117 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
14118 (vhdl-update-sensitivity-list): Not add with index if exists without.
14119 Not include array index with signal. Ignore keywords in comments.
14120 (vhdl-get-visible-signals): Regexp tweaks.
14121 (vhdl-template-component-inst): Handle empty library.
14122 (vhdl-template-type): Add template for 'enum' type.
14123 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
14124 Use vhdl-replace-string.
14125 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
14126 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
14127 (vhdl-speedbar-initialize): Update for above name change.
14128 (vhdl-compose-wire-components): Fix in handling of constants.
14129 (vhdl-error-regexp-emacs-alist): New variable.
14130 (vhdl-error-regexp-add-emacs): New function;
14131 adds support for new compile.el (Emacs 22+)
14132 (vhdl-generate-makefile-1): Change target order for single lib. units.
14133 Allow use of absolute file names.
14134
14135 2013-05-16 Leo Liu <sdl.web@gmail.com>
14136
14137 * simple.el (prog-indent-sexp): Indent enclosing defun.
14138
14139 2013-05-15 Glenn Morris <rgm@gnu.org>
14140
14141 * cus-start.el (show-trailing-whitespace): Move to editing basics.
14142 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
14143 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
14144 (whitespace-highlight): Move to whitespace group.
14145
14146 * comint.el (comint-source):
14147 * pcmpl-linux.el (pcmpl-linux):
14148 * shell.el (shell-faces):
14149 * eshell/esh-opt.el (eshell-opt):
14150 * international/ccl.el (ccl): Remove empty custom groups.
14151
14152 * completion.el (dynamic-completion-mode):
14153 * jit-lock.el (jit-lock-debug-mode):
14154 * minibuffer.el (completion-in-region-mode):
14155 * type-break.el (type-break-mode-line-message-mode)
14156 (type-break-query-mode):
14157 * emulation/tpu-edt.el (tpu-edt-mode):
14158 * progmodes/subword.el (global-subword-mode, global-superword-mode):
14159 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14160 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
14161
14162 * term/xterm.el (xterm): Change parent group to terminals.
14163
14164 * master.el (master): Remove empty custom group.
14165 (master-mode): Remove unused :group argument.
14166 * textmodes/refill.el (refill): Remove empty custom group.
14167 (refill-mode): Remove unused :group argument.
14168
14169 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
14170
14171 * cus-dep.el: Provide a feature.
14172 (custom-make-dependencies): Ignore dotfiles (dir-locals).
14173 Don't mistakenly ignore files whose basenames match a basename
14174 from preloaded-file-list (eg cedet/ede/simple.el).
14175 Add a fallback method for getting :group.
14176
14177 2013-05-15 Juri Linkov <juri@jurta.org>
14178
14179 * isearch.el (isearch-char-by-name): Rename from
14180 `isearch-insert-char-by-name'. Doc fix.
14181 (isearch-forward): Mention `isearch-char-by-name' in
14182 the docstring. (Bug#13348)
14183
14184 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
14185 `exit-minibuffer' instead of
14186 `isearch-nonincremental-exit-minibuffer'.
14187 (isearch-edit-string): Remove mention of
14188 `isearch-nonincremental-exit-minibuffer' from docstring.
14189 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
14190 (isearch-forward-exit-minibuffer)
14191 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
14192
14193 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14194
14195 * loadup.el: Just use unversioned DOC.
14196
14197 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
14198 literals as extending to EOB.
14199 (nxml-last-fontify-end): Remove unused variable.
14200 (nxml-after-change1): Use with-silent-modifications.
14201 (nxml-extend-after-change-region): Simplify.
14202 (nxml-extend-after-change-region1): Remove function.
14203 (nxml-after-change1): Don't adjust for dependent regions.
14204 (nxml-fontify-matcher): Simplify.
14205 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
14206 (xmltok-add-dependent): Remove function.
14207 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
14208 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
14209 (xmltok-scan-prolog-after-processing-instruction-open): Treat
14210 unclosed <[[, <?, comment, and other literals as extending to EOB.
14211 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
14212 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
14213 Remove functions.
14214 (rng-do-some-validation-1): Don't mark dependent regions.
14215 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
14216 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
14217 (nxml-clear-dependent-regions): Remove functions.
14218 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
14219 (nxml-ensure-scan-up-to-date):
14220 Don't clear&mark dependent regions.
14221
14222 2013-05-15 Leo Liu <sdl.web@gmail.com>
14223
14224 * progmodes/octave.el (octave-goto-function-definition):
14225 Improve and fix callers.
14226
14227 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
14228
14229 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
14230 the setter (bug#14387).
14231
14232 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
14233 surrounding group (bug#14402).
14234
14235 2013-05-14 Juri Linkov <juri@jurta.org>
14236
14237 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
14238 (Bug#14390)
14239
14240 2013-05-14 Glenn Morris <rgm@gnu.org>
14241
14242 * progmodes/f90.el (f90-imenu-generic-expression):
14243 Fix typo in 2013-05-08 change. (Bug#14402)
14244
14245 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14246
14247 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
14248 Remove signals for which replies are never received.
14249
14250 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14251
14252 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
14253 (gdb-handler-alist, gdb-handler-number): Remove variables.
14254 (gdb-handler-list): New variable.
14255 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
14256 (gdb-pending-handler-p, gdb-handle-reply)
14257 (gdb-remove-all-pending-triggers): New functions.
14258 (gdb-discard-unordered-replies): New defcustom.
14259 (gdb-handler): New defstruct.
14260 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
14261 instead of gdb-pending-triggers. Update docstring.
14262 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
14263 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
14264 (gdb-var-update-handler, def-gdb-auto-update-trigger)
14265 (def-gdb-auto-update-handler, gdb-get-changed-registers)
14266 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
14267 (gdb-frame-handler): Pending triggers are now automatically managed.
14268 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
14269 Remove argument.
14270 (gdb-input): Automatically handles pending triggers. Update docstring.
14271 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
14272 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
14273 Update comments.
14274 (gdb-done-or-error): Now use gdb-handle-reply.
14275
14276 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
14277
14278 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
14279 gdb-debug-log.
14280
14281 2013-05-14 Glenn Morris <rgm@gnu.org>
14282
14283 * subr.el (user-emacs-directory-warning): New option.
14284 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
14285
14286 2013-05-14 Leo Liu <sdl.web@gmail.com>
14287
14288 * progmodes/octave.el (octave-font-lock-keywords): Fix error
14289 during redisplay.
14290 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
14291 (octave-font-lock-texinfo-comment): Fix invalid search bound
14292 error: wrong side of point.
14293
14294 2013-05-14 Glenn Morris <rgm@gnu.org>
14295
14296 * progmodes/flymake.el (flymake-xml-program): New option.
14297 (flymake-xml-init): Use it.
14298
14299 * term/xterm.el: Provide a feature.
14300
14301 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
14302
14303 2013-05-13 Glenn Morris <rgm@gnu.org>
14304
14305 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
14306 Add compat aliases as a hack workaround. (Bug#14384)
14307
14308 2013-05-13 Leo Liu <sdl.web@gmail.com>
14309
14310 * progmodes/octave.el (octave-indent-comment): Fix indentation for
14311 ###, and %!.
14312 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
14313 C-M-q.
14314 (octave-comment-start-skip): Include %!.
14315 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
14316
14317 2013-05-12 Leo Liu <sdl.web@gmail.com>
14318
14319 * progmodes/octave.el (inferior-octave-startup): Store the value
14320 of __octave_srcdir__ for octave-source-directories.
14321 (inferior-octave-check-process): New function refactored out of
14322 inferior-octave-send-list-and-digest.
14323 (octave-source-directories)
14324 (octave-find-definition-filename-function): New variables.
14325 (octave-source-directories)
14326 (octave-find-definition-default-filename): New functions.
14327 (octave-find-definition): Improve to find functions implemented in C++.
14328
14329 2013-05-12 Glenn Morris <rgm@gnu.org>
14330
14331 * calendar/diary-lib.el (diary-outlook-format-1):
14332 Don't include dayname in the output. (Bug#14349)
14333
14334 2013-05-11 Glenn Morris <rgm@gnu.org>
14335
14336 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
14337
14338 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
14339 Treat cc-provide like provide.
14340
14341 2013-05-11 Kevin Ryde <user42@zip.com.au>
14342
14343 * cus-dep.el (custom-make-dependencies):
14344 Use generated-autoload-load-name for the sake of files such
14345 such cedet/semantic/bovine/c.el, where the base file name
14346 is not in load-path. (Bug#5277)
14347
14348 2013-05-11 Glenn Morris <rgm@gnu.org>
14349
14350 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
14351 Provide features.
14352
14353 2013-05-11 Leo Liu <sdl.web@gmail.com>
14354
14355 * progmodes/octave.el (octave-indent-comment): Improve.
14356 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
14357 (octave-eldoc-function-signatures, octave-eldoc-function):
14358 New functions.
14359 (octave-mode, inferior-octave-mode): Add eldoc support.
14360
14361 2013-05-11 Richard Stallman <rms@gnu.org>
14362
14363 * epa.el (epa-decrypt-file): Take output file name as argument
14364 and read it using `interactive'.
14365
14366 2013-05-11 Leo Liu <sdl.web@gmail.com>
14367
14368 * progmodes/octave.el (octave-beginning-of-line)
14369 (octave-end-of-line): Check before using up-list because it jumps
14370 out of more syntactic contructs since moving to smie.
14371 (octave-indent-comment): New function.
14372 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
14373 (octave-begin-keywords, octave-end-keywords)
14374 (octave-reserved-words, octave-smie-bnf-table)
14375 (octave-smie-rules): Add new keywords from Octave 3.6.4.
14376
14377 2013-05-11 Glenn Morris <rgm@gnu.org>
14378
14379 * faces.el (internal-face-x-get-resource):
14380 * frame.el (ns-display-monitor-attributes-list):
14381 * calc/calc-aent.el (math-to-radians-2):
14382 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
14383 Fix declarations.
14384
14385 * calc/calc-menu.el: Make it loadable in isolation.
14386
14387 * net/eudcb-bbdb.el: Make it loadable without bbdb.
14388 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
14389 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
14390 (eudc-bbdb-query-internal): Require 'bbdb.
14391
14392 * lpr.el (lpr-headers-switches):
14393 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
14394
14395 * progmodes/sql.el (sql-login-params): Fix and improve :type.
14396
14397 * emulation/edt-mapper.el: In batch mode, error rather than hang.
14398
14399 * term.el (term-set-escape-char): Make it idempotent.
14400
14401 2013-05-10 Leo Liu <sdl.web@gmail.com>
14402
14403 * progmodes/octave.el (inferior-octave-completion-table):
14404 No longer a function and all uses changed. Use cache to speed up
14405 completion due to bug#11906.
14406 (octave-beginning-of-defun): Re-write to be more general.
14407
14408 2013-05-10 Glenn Morris <rgm@gnu.org>
14409
14410 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
14411
14412 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
14413
14414 * comint.el (comint-redirect-send-command-to-process): Use :around
14415 rather than :override for comint-redirect-filter.
14416 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
14417 Call it instead of comint-redirect-original-filter-function (which
14418 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
14419
14420 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
14421
14422 * frame.el (display-monitor-attributes-list): Add NS case.
14423 (ns-display-monitor-attributes-list): Declare.
14424
14425 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
14426
14427 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
14428
14429 2013-05-09 Glenn Morris <rgm@gnu.org>
14430
14431 * international/fontset.el (vertical-centering-font-regexp):
14432 Set standard-value.
14433
14434 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
14435
14436 * bookmark.el (bookmark-search-delay):
14437 * cus-start.el (vertical-centering-font-regexp):
14438 * ps-mule.el (ps-mule-font-info-database-default):
14439 * ps-print.el (ps-default-fg, ps-default-bg):
14440 * type-break.el (type-break-good-break-interval):
14441 * whitespace.el (whitespace-indentation-regexp)
14442 (whitespace-space-after-tab-regexp):
14443 * emacs-lisp/testcover.el (testcover-1value-functions)
14444 (testcover-noreturn-functions, testcover-progn-functions)
14445 (testcover-prog1-functions):
14446 * emulation/viper-init.el (viper-emacs-state-cursor-color):
14447 * eshell/em-glob.el (eshell-glob-translate-alist):
14448 * play/tetris.el (tetris-tty-colors):
14449 * progmodes/cpp.el (cpp-face-default-list):
14450 * progmodes/flymake.el (flymake-allowed-file-name-masks):
14451 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
14452 (idlwave-help-browser-generic-args):
14453 * progmodes/make-mode.el (makefile-special-targets-list):
14454 * progmodes/python.el (python-shell-virtualenv-path):
14455 * progmodes/verilog-mode.el (verilog-active-low-regexp)
14456 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
14457 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
14458 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
14459 * textmodes/reftex-vars.el (reftex-format-label-function):
14460 * textmodes/remember.el (remember-diary-file): Fix custom types.
14461
14462 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
14463 Add :version.
14464
14465 2013-05-09 Leo Liu <sdl.web@gmail.com>
14466
14467 * progmodes/octave.el (inferior-octave-completion-at-point):
14468 Restore file completion. (Bug#14300)
14469 (inferior-octave-startup): Fix incorrect highlighting for the
14470 first prompt.
14471
14472 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14473
14474 * progmodes/ruby-mode.el: First cut at SMIE support.
14475 (ruby-use-smie): New var.
14476 (ruby-smie-grammar): New constant.
14477 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
14478 (ruby-smie--forward-token, ruby-smie--backward-token)
14479 (ruby-smie-rules): New functions.
14480 (ruby-mode-variables): Setup SMIE if applicable.
14481
14482 2013-05-08 Eli Zaretskii <eliz@gnu.org>
14483
14484 * simple.el (line-move-visual): Signal beginning/end of buffer
14485 only if vertical-motion moved less than it was requested. Avoids
14486 silly incorrect error messages when there are display strings with
14487 multiple newlines at EOL.
14488
14489 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
14490
14491 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
14492 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
14493 (prolog-char-quote-workaround):
14494 * progmodes/cperl-mode.el (cperl-under-as-char):
14495 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
14496 Mark as obsolete.
14497 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
14498 their declaration.
14499 (vhdl-mode-syntax-table-init): Remove.
14500
14501 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
14502 last change.
14503
14504 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
14505 syntax for "_".
14506 (ld-script-font-lock-keywords):
14507 Change regexps to use things like \_< and \_>.
14508
14509 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
14510 Change all regexps to use things like \_< and \_>.
14511
14512 * progmodes/autoconf.el (autoconf-definition-regexp)
14513 (autoconf-font-lock-keywords, autoconf-current-defun-function):
14514 Handle a _ with symbol syntax.
14515 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
14516
14517 * progmodes/ada-mode.el (ada-mode-abbrev-table):
14518 Consolidate declaration.
14519 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
14520 the declaration.
14521 (ada-create-syntax-table): Remove.
14522 (ada-capitalize-word): Don't mess with the syntax of "_" since it
14523 already has the right syntax nowadays.
14524 (ada-goto-next-word): Don't change the syntax of "_".
14525
14526 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
14527 with-wrapper-hook.
14528
14529 2013-05-08 Sam Steingold <sds@gnu.org>
14530
14531 * thingatpt.el (thing-at-point): Accept optional second argument
14532 NO-PROPERTIES to strip the text properties from the return value.
14533 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
14534 to `thing-at-point' instead of stripping the properties ourselves.
14535 Also, when `thing-at-point' fails to find a url, prepend "http://"
14536 to the filename at point on the assumption that the user is
14537 pointing at something like gnu.org/gnu.
14538
14539 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
14540
14541 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
14542 * faces.el (crm-separator):
14543 Silence byte-compiler.
14544
14545 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
14546 (tool-bar-map): Remove unneeded defvars.
14547
14548 2013-05-08 Leo Liu <sdl.web@gmail.com>
14549
14550 Re-work a fix for bug#10994 based on Le Wang's patch.
14551 * ido.el (ido-remove-consecutive-dups): New helper.
14552 (ido-completing-read): Use it.
14553 (ido-chop): Revert fix for bug#10994.
14554
14555 2013-05-08 Adam Spiers <emacs@adamspiers.org>
14556
14557 * cus-edit.el (custom-save-variables):
14558 Pretty-print long values. (Bug#14187)
14559
14560 2013-05-08 Glenn Morris <rgm@gnu.org>
14561
14562 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
14563 (m4-mode-syntax-table): Init in the defvar.
14564 (m4-mode-abbrev-table): Let define-derived-mode define it.
14565
14566 2013-05-08 Tom Tromey <tromey@redhat.com>
14567
14568 * progmodes/m4-mode.el (m4-mode-syntax-table):
14569 Do not treat "_" as word constituent. (Bug#14167)
14570
14571 2013-05-07 Glenn Morris <rgm@gnu.org>
14572
14573 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
14574 Remove explicit eshell-isearch-cancel-map.
14575
14576 * progmodes/f90.el (f90-smart-end-names): New option.
14577 (f90-smart-end): Doc fix.
14578 (f90-end-block-optional-name): New constant.
14579 (f90-block-match): Respect f90-smart-end-names.
14580
14581 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
14582
14583 * progmodes/octave.el (octave-smie-forward-token): Be more careful
14584 about implicit semi-colons (bug#14218).
14585
14586 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
14587
14588 * frame.el (display-monitor-attributes-list)
14589 (frame-monitor-attributes): New functions.
14590
14591 2013-05-06 Leo Liu <sdl.web@gmail.com>
14592
14593 * progmodes/octave.el (octave-syntax-propertize-function): Change
14594 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
14595 (octave-font-lock-keywords): Use octave-operator-regexp.
14596 (octave-completion-at-point): Rename from
14597 octave-completion-at-point-function.
14598 (inferior-octave-directory-tracker): Robustify.
14599 (octave-text-functions): Remove and fix its uses. No such things
14600 any more.
14601
14602 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14603
14604 * emacs-lisp/trace.el (trace--display-buffer): New function.
14605 (trace-make-advice): Use it.
14606
14607 2013-05-06 Juri Linkov <juri@jurta.org>
14608
14609 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
14610 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
14611 Doc fix.
14612 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
14613 in the help string. (Bug#12985)
14614
14615 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
14616
14617 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
14618
14619 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14620
14621 * progmodes/perl-mode.el: Add support for here documents.
14622 (perl-syntax-propertize-function): Match here-doc markers.
14623 (perl-syntax-propertize-special-constructs): Find their end.
14624 (perl-imenu-generic-expression): Use [:alnum:].
14625
14626 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
14627 (advice--add-function): Refresh the advice if already present
14628 (bug#14317).
14629
14630 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
14631
14632 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
14633
14634 2013-05-06 Glenn Morris <rgm@gnu.org>
14635
14636 * w32-fns.el (w32-charset-info-alist): Declare.
14637
14638 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
14639 of its defcustom properties.
14640 (eshell-cmpl-initialize): No need to load pcomplete.
14641
14642 * generic-x.el: No need to require comint when compiling.
14643
14644 * net/eudc-export.el: Make it loadable without bbdb.
14645 (top-level): Use require rather than load-library.
14646 (eudc-create-bbdb-record, eudc-bbdbify-phone)
14647 (eudc-batch-export-records-to-bbdb)
14648 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
14649 Require bbdb.
14650
14651 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
14652
14653 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
14654 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
14655 some tweaks, instead.
14656
14657 2013-05-05 Leo Liu <sdl.web@gmail.com>
14658
14659 * progmodes/octave.el (octave-font-lock-keywords)
14660 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
14661 (inferior-octave-send-list-and-digest): Improve error message.
14662 (octave-mode, inferior-octave-mode): Use setq-local.
14663 (octave-help): Set info-lookup-mode.
14664
14665 2013-05-05 Richard Stallman <rms@gnu.org>
14666
14667 * vc/compare-w.el (compare-windows-whitespace):
14668 Treat no-break space as whitespace.
14669
14670 * mail/rmailsum.el (rmail-summary-rmail-update):
14671 Detect empty summary and don't change selected message.
14672 (rmail-summary-goto-msg): Likewise.
14673
14674 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
14675 Doc fixes, rename args.
14676
14677 2013-05-05 Alan Mackenzie <acm@muc.de>
14678
14679 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
14680
14681 2013-05-05 Juri Linkov <juri@jurta.org>
14682
14683 * info.el (Info-read-subfile): Use (point-min) instead of (point)
14684 to not add the length of the summary segment to the return value.
14685 (Bug#14125)
14686
14687 2013-05-05 Leo Liu <sdl.web@gmail.com>
14688
14689 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
14690 (inferior-octave-output-filter): Remove.
14691 (octave-send-region, inferior-octave-startup): Fix callers.
14692 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
14693 (octave-binary-file-extensions): New user variable.
14694 (octave-find-definition): Confirm if opening binary files.
14695 (octave-help-file): Use octave-find-definition to get the binary
14696 confirmation.
14697 (octave-help): Adjust for octave-help-file change.
14698
14699 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
14700
14701 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
14702 Merge the two entries that handle function definitions.
14703 (pascal--syntax-propertize): New const.
14704 (pascal-mode): Use it. Use setq-local.
14705
14706 2013-05-04 Glenn Morris <rgm@gnu.org>
14707
14708 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
14709 (diary-from-outlook): Respect diary-from-outlook-function.
14710
14711 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
14712
14713 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
14714 Move the declaration from C.
14715 (read-minibuffer, eval-minibuffer): Move from C.
14716 (completion-setup-function): Avoid minibuffer-completion-contents.
14717
14718 2013-05-03 Leo Liu <sdl.web@gmail.com>
14719
14720 * progmodes/octave.el (octave-font-lock-keywords): Do not
14721 dehighlight 'end' in comments or strings.
14722 (octave-completing-read, octave-goto-function-definition):
14723 New helpers.
14724 (octave-help-buffer): New user variable.
14725 (octave-help-file, octave-help-function): New button types.
14726 (octave-help): New command and bind it to C-h ;.
14727 (octave-find-definition): New command and bind it to M-.
14728 (user-error): Alias to error if not defined.
14729
14730 2013-05-02 Leo Liu <sdl.web@gmail.com>
14731
14732 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
14733 for \. (bug#14332)
14734 (octave-font-lock-keywords): Include [ and {.
14735
14736 2013-05-02 Leo Liu <sdl.web@gmail.com>
14737
14738 * progmodes/octave.el (inferior-octave-startup-file): Change default.
14739 (inferior-octave): Remove calling comint-mode and return the buffer.
14740 (inferior-octave-startup): Cosmetic changes.
14741
14742 2013-05-02 Leo Liu <sdl.web@gmail.com>
14743
14744 * progmodes/octave.el (octave-syntax-propertize-function):
14745 Include the case when ' is at line beginning. (Bug#14336)
14746
14747 2013-05-02 Glenn Morris <rgm@gnu.org>
14748
14749 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
14750 * desktop.el (vc-dir-mode): Just autoload it here.
14751
14752 2013-05-02 Alan Mackenzie <acm@muc.de>
14753
14754 Eliminate variable c-standard-font-lock-fontify-region-function.
14755 * progmodes/cc-mode.el
14756 (c-standard-font-lock-fontify-region-function): Remove.
14757 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
14758
14759 2013-05-01 Leo Liu <sdl.web@gmail.com>
14760
14761 * progmodes/octave.el: Compatible with older emacs-24 releases.
14762 (inferior-octave-has-built-in-variables): Remove. Built-in
14763 variables were removed from Octave in 2007.
14764 (inferior-octave-startup): Fix uses.
14765 (comint-line-beginning-position): Remove compatibility code for
14766 emacs 21.
14767
14768 2013-05-01 Juri Linkov <juri@jurta.org>
14769
14770 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
14771
14772 2013-05-01 Juri Linkov <juri@jurta.org>
14773
14774 * comint.el (comint-previous-matching-input): Don't print message
14775 "History item: %d" when `isearch-mode' is active.
14776 (comint-history-isearch-message): Print message "History item: %d"
14777 when `comint-input-ring-index' is not empty and this function is
14778 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
14779
14780 2013-05-01 Leo Liu <sdl.web@gmail.com>
14781
14782 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
14783 definitions. Use completion-at-point to insert keywords.
14784 (octave-abbrev-start): Remove.
14785 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
14786
14787 2013-04-30 Leo Liu <sdl.web@gmail.com>
14788
14789 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
14790 change.
14791
14792 2013-04-30 Alan Mackenzie <acm@muc.de>
14793
14794 Handle arbitrarily long C++ member initialisation lists.
14795 * progmodes/cc-engine.el (c-back-over-member-initializers):
14796 new function.
14797 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
14798 (most) member init lists.
14799
14800 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14801
14802 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
14803 variable.
14804
14805 2013-04-30 Leo Liu <sdl.web@gmail.com>
14806
14807 * progmodes/octave.el (octave-variables): Remove. No builtin
14808 variables any more. All converted to functions.
14809 (octave-font-lock-keywords, octave-completion-at-point-function):
14810 Fix uses.
14811 (octave-font-lock-texinfo-comment): New user variable.
14812 (octave-texinfo-font-lock-keywords): New variable for texinfo
14813 comment block.
14814 (octave-function-comment-block): New face.
14815 (octave-font-lock-texinfo-comment): New function.
14816 (octave-mode): Font lock texinfo comment block.
14817
14818 2013-04-29 Leo Liu <sdl.web@gmail.com>
14819
14820 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
14821 indexing expression.
14822 (octave-continuation-string): Do not use \.
14823 (inferior-octave-complete-impossible): Remove.
14824 (inferior-octave-completion-table)
14825 (inferior-octave-completion-at-point): Remove its uses.
14826 (inferior-octave-startup): completion_matches was introduced to
14827 Octave in 1996 so safe to assume it.
14828 (octave-function-file-comment): Improve to follow how Octave does it.
14829 (octave-update-function-file-comment): Tweak.
14830
14831 2013-04-29 Leo Liu <sdl.web@gmail.com>
14832
14833 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
14834 (inferior-octave-startup): Remove inferior-octave-startup-hook.
14835 (octave-function-file-comment): Fix typo.
14836 (octave-sync-function-file-names): Use read-char-choice.
14837
14838 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
14839
14840 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
14841 to t for the less important warnings.
14842
14843 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
14844
14845 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
14846
14847 2013-04-27 Glenn Morris <rgm@gnu.org>
14848
14849 * vc/log-view.el (log-view-current-entry):
14850 Treat "---" separator lines as part of the following rev. (Bug#14169)
14851
14852 2013-04-27 Juri Linkov <juri@jurta.org>
14853
14854 * subr.el (read-number): Doc fix about using it by interactive
14855 code letter `n'. (Bug#14254)
14856
14857 2013-04-27 Juri Linkov <juri@jurta.org>
14858
14859 * desktop.el (desktop-auto-save-timeout): New option.
14860 (desktop-file-checksum): New variable.
14861 (desktop-save): Add optional arg `auto-save' and don't auto-save
14862 if nothing changed.
14863 (desktop-auto-save-timer): New variable.
14864 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
14865 (after-init-hook): Call `desktop-auto-save-set-timer'.
14866 Suggested by Reuben Thomas <rrt@sc3d.org> in
14867 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
14868
14869 2013-04-27 Leo Liu <sdl.web@gmail.com>
14870
14871 * progmodes/octave.el (octave-function-file-p)
14872 (octave-skip-comment-forward, octave-function-file-comment)
14873 (octave-update-function-file-comment): New functions.
14874 (octave-mode-map): Bind C-c ; to
14875 octave-update-function-file-comment.
14876 (octave-mode-menu): Add octave-update-function-file-comment.
14877 (octave-mode, inferior-octave-mode): Fix doc-string.
14878 (octave-insert-defun): Conform to Octave's coding convention.
14879 (Bug#14285)
14880
14881 * files.el (basic-save-buffer): Don't let errors in
14882 before-save-hook prevent saving buffer.
14883
14884 2013-04-20 Roland Winkler <winkler@gnu.org>
14885
14886 * faces.el (read-face-name): Use completing-read if arg multiple
14887 is nil.
14888
14889 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
14890
14891 * ls-lisp.el (ls-lisp-insert-directory): If no files are
14892 displayed, move point to after the totals line.
14893 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
14894 for the details.
14895
14896 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
14897
14898 * emacs-lisp/package.el (package-autoload-ensure-default-file):
14899 Add current dir to the load-path.
14900 (package-generate-autoloads): Don't rely on
14901 autoload-ensure-default-file.
14902
14903 2013-04-26 Reuben Thomas <rrt@sc3d.org>
14904
14905 * textmodes/remember.el (remember-store-in-files): Document that
14906 the file name format is passed to `format-time-string'.
14907
14908 2013-04-26 Leo Liu <sdl.web@gmail.com>
14909
14910 * progmodes/octave.el (octave-sync-function-file-names): New function.
14911 (octave-mode): Use it in before-save-hook.
14912
14913 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
14914
14915 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
14916 (bug#14274).
14917
14918 * progmodes/octave.el (octave-smie-forward-token): Properly skip
14919 \n and comment, even if it's not an implicit ; (bug#14218).
14920
14921 2013-04-26 Glenn Morris <rgm@gnu.org>
14922
14923 * subr.el (read-number): Once more use `read' rather than
14924 `string-to-number', to trap non-numeric input. (Bug#14254)
14925
14926 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
14927
14928 * emacs-lisp/syntax.el (syntax-propertize-multiline):
14929 Use `syntax-multiline' text property consistently instead of
14930 `font-lock-multiline'. (Bug#14237)
14931
14932 2013-04-26 Glenn Morris <rgm@gnu.org>
14933
14934 * emacs-lisp/shadow.el (list-load-path-shadows):
14935 No longer necessary to check for duplicate simple.el, since
14936 2012-07-07 change to init_lread to not include installation lisp
14937 directories in load-path when running uninstalled. (Bug#14270)
14938
14939 2013-04-26 Leo Liu <sdl.web@gmail.com>
14940
14941 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
14942 (octave-mode, inferior-octave-mode): Use setq-local.
14943 (octave-not-in-string-or-comment-p): Rename to
14944 octave-in-string-or-comment-p.
14945 (octave-in-comment-p, octave-in-string-p)
14946 (octave-in-string-or-comment-p): Replace defsubst with defun.
14947
14948 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
14949
14950 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
14951
14952 2013-04-25 Bastien Guerry <bzg@gnu.org>
14953
14954 * textmodes/remember.el (remember-data-directory)
14955 (remember-directory-file-name-format): Fix custom types.
14956
14957 2013-04-25 Leo Liu <sdl.web@gmail.com>
14958
14959 * progmodes/octave.el (octave-completion-at-point-function):
14960 Make use of inferior octave process.
14961 (octave-initialize-completions): Remove.
14962 (inferior-octave-completion-table): New function.
14963 (inferior-octave-completion-at-point): Use it.
14964 (octave-completion-alist): Remove.
14965
14966 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
14967
14968 * progmodes/opascal.el: Use font-lock and syntax-propertize.
14969 (opascal-mode-syntax-table): New var.
14970 (opascal-literal-kind, opascal-is-literal-end)
14971 (opascal-literal-token-at): Rewrite.
14972 (opascal--literal-start-re, opascal-font-lock-keywords)
14973 (opascal--syntax-propertize): New constants.
14974 (opascal-font-lock-defaults): Adjust.
14975 (opascal-mode): Use them. Set comment-<foo> variables as well.
14976 (delphi-comment-face, opascal-comment-face, delphi-string-face)
14977 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
14978 (delphi-other-face, opascal-other-face): Remove face variables.
14979 (opascal-save-state): Remove macro.
14980 (opascal-fontifying-progress-step): Remove constant.
14981 (opascal--ignore-changes): Remove var.
14982 (opascal-set-token-property, opascal-parse-next-literal)
14983 (opascal-is-stable-literal, opascal-complete-literal)
14984 (opascal-is-literal-start, opascal-face-of)
14985 (opascal-parse-region, opascal-parse-region-until-stable)
14986 (opascal-fontify-region, opascal-after-change)
14987 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
14988 (opascal-debug-parse-region, opascal-debug-parse-window)
14989 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
14990 (opascal-debug-fontify-buffer): Remove.
14991 (opascal-debug-mode-map): Adjust accordingly.
14992
14993 2013-04-25 Leo Liu <sdl.web@gmail.com>
14994
14995 Merge octave-mod.el and octave-inf.el into octave.el with some
14996 cleanups.
14997 * progmodes/octave.el: New file renamed from octave-mod.el.
14998 * progmodes/octave-inf.el: Merged into octave.el.
14999 * progmodes/octave-mod.el: Renamed to octave.el.
15000
15001 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15002
15003 * textmodes/reftex-vars.el
15004 (reftex-label-ignored-macros-and-environments): New defcustom.
15005
15006 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15007
15008 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15009
15010 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15011 (smie-indent-keyword): Improve the check to ensure that the next
15012 comment is really on the same line.
15013 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15014
15015 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15016 semi-colons if the line is not otherwise empty (bug#14218).
15017
15018 2013-04-25 Glenn Morris <rgm@gnu.org>
15019
15020 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15021
15022 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15023
15024 * progmodes/opascal.el (opascal-set-token-property): Rename from
15025 opascal-set-text-properties and only set `token' (bug#14134).
15026 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15027 (opascal-literal-text-properties): Remove.
15028 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15029 Adjust callers.
15030
15031 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15032
15033 * textmodes/remember.el (remember-handler-functions): Add an
15034 option for a new handler `remember-store-in-files'.
15035 (remember-data-directory, remember-directory-file-name-format):
15036 New options.
15037 (remember-store-in-files): New function to store remember notes
15038 as separate files within a directory.
15039
15040 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15041
15042 * progmodes/compile.el (compilation-next-error-function):
15043 Pass "formats" to compilation-find-file (bug#11777).
15044
15045 2013-04-24 Glenn Morris <rgm@gnu.org>
15046
15047 * vc/vc-bzr.el (vc-bzr-print-log):
15048 * vc/vc-hg.el (vc-hg-print-log):
15049 * vc/vc-svn.el (vc-svn-print-log):
15050 Fix START-REVISION with LIMIT != 1. (Bug#14168)
15051
15052 * vc/vc-bzr.el (vc-bzr-print-log):
15053 * vc/vc-cvs.el (vc-cvs-print-log):
15054 * vc/vc-git.el (vc-git-print-log):
15055 * vc/vc-hg.el (vc-hg-print-log):
15056 * vc/vc-mtn.el (vc-mtn-print-log):
15057 * vc/vc-rcs.el (vc-rcs-print-log):
15058 * vc/vc-sccs.el (vc-sccs-print-log):
15059 * vc/vc-svn.el (vc-svn-print-log):
15060 * vc/vc.el (vc-print-log-internal): Doc fixes.
15061
15062 2013-04-23 Glenn Morris <rgm@gnu.org>
15063
15064 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
15065 Remove venerable code attempting to avoid substitute-command-keys.
15066
15067 2013-04-23 Tassilo Horn <tsdh@gnu.org>
15068
15069 * textmodes/reftex-vars.el (reftex-label-regexps):
15070 Call `reftex-compile-variables' after changes to this variable.
15071
15072 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
15073
15074 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
15075 Use lexical-binding.
15076 (jit-lock-force-redisplay): Use markers, check buffer's continued
15077 existence and beware narrowed buffers.
15078 (jit-lock-fontify-now): Adjust call accordingly.
15079
15080 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15081
15082 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
15083 to avoid misleading the user.
15084
15085 2013-04-22 Leo Liu <sdl.web@gmail.com>
15086
15087 * info-look.el: Prefer latex2e.info. (Bug#14240)
15088
15089 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
15090
15091 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
15092
15093 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
15094 * net/tramp.el (tramp-call-process): ... here.
15095 (tramp-set-completion-function, tramp-parse-putty):
15096 * net/tramp-adb.el (tramp-adb-execute-adb-command):
15097 * net/tramp-gvfs.el (tramp-gvfs-send-command):
15098 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
15099 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
15100 (tramp-call-local-coding-command): Use `tramp-call-process'
15101 instead of `tramp-compat-call-process'.
15102
15103 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
15104 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
15105 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
15106 (tramp-find-inline-compress): Improve traces.
15107 (tramp-maybe-send-script): Check for Perl binary.
15108 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
15109
15110 2013-04-22 Daiki Ueno <ueno@gnu.org>
15111
15112 * epg.el (epg-context-pinentry-mode): New function.
15113 (epg-context-set-pinentry-mode): New function.
15114 (epg--start): Pass --pinentry-mode option to gpg command.
15115
15116 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
15117
15118 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
15119 `comint-dynamic-complete' is obsolete since 24.1, replaced by
15120 `completion-at-point'. (Bug#13774)
15121
15122 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
15123 default key binding for `describe-distribution' has been moved to
15124 `C-h C-o'. (Bug#13970)
15125
15126 2013-04-21 Glenn Morris <rgm@gnu.org>
15127
15128 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
15129 Add doc strings.
15130 (vc-print-log): Clarify interactive prompt.
15131
15132 2013-04-20 Glenn Morris <rgm@gnu.org>
15133
15134 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15135 No longer include timestamp etc information.
15136
15137 2013-04-20 Roland Winkler <winkler@gnu.org>
15138
15139 * faces.el (read-face-name): Bug fix, return just one face if arg
15140 multiple is nil. (Bug#14209)
15141
15142 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15143
15144 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
15145 (remove-function): Autoload.
15146
15147 * comint.el (comint-redirect-original-filter-function): Remove.
15148 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
15149 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
15150 (vc-cvs-annotate-command):
15151 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
15152 * progmodes/prolog.el (prolog-consult-compile):
15153 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
15154 Use add/remove-function instead.
15155 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
15156 (gud-tooltip-process-output, gud-tooltip-tips):
15157 Use add/remove-function instead.
15158 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
15159 (scheme-interaction-mode, exit-scheme-interaction-mode):
15160 Use add/remove-function instead.
15161
15162 * vc/vc-dispatcher.el: Use lexical-binding.
15163 (vc--process-sentinel): Rename from vc-process-sentinel.
15164 Change last arg to be the code to run. Don't use vc-previous-sentinel
15165 and vc-sentinel-commands any more.
15166 (vc-exec-after): Allow code to be a function. Use add/remove-function.
15167 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
15168
15169 2013-04-19 Masatake YAMATO <yamato@redhat.com>
15170
15171 * progmodes/sh-script.el (sh-imenu-generic-expression):
15172 Handle function names with a single character. (Bug#14111)
15173
15174 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
15175
15176 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
15177 for subroutines defined in an eval (bug#14182).
15178
15179 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15180
15181 * bookmark.el (bookmark-completing-read): Improve handling of empty
15182 string (bug#14176).
15183
15184 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15185
15186 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
15187
15188 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
15189
15190 New faster Imenu implementation (bug#14058).
15191 * progmodes/python.el:
15192 (python-imenu-prev-index-position):
15193 (python-imenu-format-item-label-function)
15194 (python-imenu-format-parent-item-label-function)
15195 (python-imenu-format-parent-item-jump-label-function):
15196 New vars.
15197 (python-imenu-format-item-label)
15198 (python-imenu-format-parent-item-label)
15199 (python-imenu-format-parent-item-jump-label)
15200 (python-imenu--put-parent, python-imenu--build-tree)
15201 (python-imenu-create-index, python-imenu-create-flat-index)
15202 (python-util-popn): New functions.
15203 (python-mode): Set imenu-create-index-function to
15204 python-imenu-create-index.
15205
15206 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15207
15208 * winner.el (winner-active-region): Use region-active-p, activate-mark
15209 and deactivate-mark (bug#14225).
15210
15211 * simple.el (deactivate-mark): Don't inline it.
15212
15213 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
15214
15215 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
15216
15217 2013-04-18 Tassilo Horn <tsdh@gnu.org>
15218
15219 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
15220 file extensions from the archive-mode entry in order to prefer
15221 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
15222
15223 2013-04-18 Leo Liu <sdl.web@gmail.com>
15224
15225 * bindings.el (help-event-list): Add ?\?.
15226
15227 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
15228
15229 * subr.el (with-wrapper-hook): Declare obsolete.
15230 * simple.el (filter-buffer-substring-function): New hook.
15231 (filter-buffer-substring): Use it.
15232 (filter-buffer-substring-functions): Mark obsolete.
15233 * minibuffer.el (completion-in-region-function): New hook.
15234 (completion-in-region): Use it.
15235 (completion-in-region-functions): Mark obsolete.
15236 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
15237 * abbrev.el (abbrev-expand-function): New hook.
15238 (expand-abbrev): Use it.
15239 (abbrev-expand-functions): Mark obsolete.
15240 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
15241 and :filter-return.
15242
15243 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15244
15245 * progmodes/python.el (python-nav--syntactically): Fix cornercases
15246 and do not care about match data.
15247
15248 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15249
15250 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
15251 completion tables when completing error conditions and
15252 `declare' arguments.
15253 (lisp-complete-symbol, field-complete): Mark as obsolete.
15254 (check-parens): Unmatched parens are user errors.
15255 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
15256
15257 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
15258
15259 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
15260 command changed buffer (ie. `flyspell-pre-buffer' is not current
15261 buffer), which prevents making decisions based on invalid value of
15262 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
15263 cause an error when `flyspell-pre-point' was nil after switching
15264 buffers.
15265 (flyspell-post-command-hook): No longer needs to change buffers when
15266 checking pre-word. While at it remove unnecessary progn.
15267
15268 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
15269
15270 * textmodes/ispell.el (ispell-add-per-file-word-list):
15271 Fix `flyspell-correct-word-before-point' error when accepting
15272 words and `coment-padding' is an integer by using
15273 `comment-normalize-vars' (Bug #14214).
15274
15275 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15276
15277 New defun movement commands.
15278 * progmodes/python.el (python-nav--syntactically)
15279 (python-nav--forward-defun, python-nav-backward-defun)
15280 (python-nav-forward-defun): New functions.
15281
15282 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
15283
15284 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
15285 (python-syntax-context): Use named compiler-macro for backwards
15286 compatibility with Emacs 24.x.
15287
15288 2013-04-17 Leo Liu <sdl.web@gmail.com>
15289
15290 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
15291 octave-hide-process-buffer.
15292
15293 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
15294
15295 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
15296 (bug#14216).
15297
15298 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
15299
15300 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
15301 Fix adjustment of offset when receiving incomplete responses from GDB
15302 (bug#14129).
15303
15304 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15305
15306 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
15307 python-mode-abbrev-table.
15308 (python-skeleton-define): Adjust accordingly.
15309 (python-mode-abbrev-table): New table that inherits from it so that
15310 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
15311
15312 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
15313 (abbrev-symbol): Use it.
15314 (abbrev--before-point): Use it since we already handle inheritance.
15315
15316 2013-04-16 Leo Liu <sdl.web@gmail.com>
15317
15318 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
15319 binding to info-lookup-symbol.
15320
15321 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
15322
15323 * minibuffer.el (completion--twq-all):
15324 * term/ns-win.el (ns-initialize-window-system):
15325 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
15326
15327 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
15328
15329 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
15330 global bindings.
15331
15332 * doc-view.el (doc-view-start-process): Handle url-handler directories.
15333
15334 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
15335
15336 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
15337 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
15338 to nil.
15339 (ruby-end-of-defun): Remove the unused arg, change the docstring
15340 to reflect that this function is only used as the value of
15341 `end-of-defun-function'.
15342 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
15343 to reflect an earlier change that beginning/end-of-defun functions
15344 jump between methods in a class definition, as well as top-level
15345 functions.
15346
15347 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15348
15349 * minibuffer.el (minibuffer-complete): Don't just scroll
15350 a *Completions* that's been iconified.
15351 (minibuffer-force-complete): Make sure repetitions do cycle when going
15352 through completion-in-region -> minibuffer-complete.
15353
15354 2013-04-15 Alan Mackenzie <acm@muc.de>
15355
15356 Correct the placement of c-cpp-delimiters when there're #s not at
15357 col 0.
15358
15359 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
15360 place a submatch around the #.
15361 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
15362 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
15363 on the #, not BOL.
15364
15365 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
15366
15367 * emacs-lisp/nadvice.el: Properly test names when adding advice.
15368 (advice--member-p): New arg `name'.
15369 (advice--add-function, advice-member-p): Use it (bug#14202).
15370
15371 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
15372
15373 Reformulate java imenu-generic-expression.
15374 The old expression contained ill formed regexps.
15375
15376 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
15377 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
15378 (cc-imenu-java-method-arg-regexp): New defconsts.
15379 (cc-imenu-java-build-type-args-regex): New defun.
15380 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
15381 handling of spaces in the regexp.
15382
15383 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15384
15385 * textmodes/ispell.el (ispell-command-loop): Remove
15386 flyspell highlight of a word when ispell accepts it (bug #14178).
15387
15388 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
15389
15390 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
15391 uses code from the previous `ange-ftp-run-real-handler'.
15392 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
15393 only in case that function exist. This is needed for proper
15394 unloading of Tramp.
15395
15396 2013-04-15 Tassilo Horn <tsdh@gnu.org>
15397
15398 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
15399
15400 * textmodes/reftex.el (reftex-compile-variables): Use it.
15401
15402 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
15403
15404 * files.el (normal-mode): Only use default major-mode if no other mode
15405 was specified.
15406
15407 * emacs-lisp/trace.el (trace-values): New function.
15408
15409 * files.el: Allow : in local variables (bug#14089).
15410 (hack-local-variable-regexp): New var.
15411 (hack-local-variables-prop-line, hack-local-variables): Use it.
15412
15413 2013-04-13 Roland Winkler <winkler@gnu.org>
15414
15415 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
15416 data before it gets modified by bibtex-beginning-of-entry.
15417
15418 2013-04-13 Roland Winkler <winkler@gnu.org>
15419
15420 * textmodes/bibtex.el (bibtex-url): Doc fix.
15421
15422 2013-04-13 Roland Winkler <winkler@gnu.org>
15423
15424 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
15425 does not visit a BibTeX file, exclude it from the list of buffers
15426 returned by bibtex-initialize.
15427
15428 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
15429
15430 * window.el (split-window): Remove interactive form, since as a
15431 command this function is a special case of split-window-below.
15432 Correct doc string.
15433
15434 2013-04-12 Roland Winkler <winkler@gnu.org>
15435
15436 * faces.el (read-face-name): Do not override value of arg default.
15437 Allow single faces and strings as default values. Remove those
15438 elements from return value that are not faces.
15439 (describe-face): Simplify.
15440 (face-at-point): New optional args thing and multiple so that this
15441 function can provide the same functionality previously provided by
15442 read-face-name.
15443 (make-face-bold, make-face-unbold, make-face-italic)
15444 (make-face-unitalic, make-face-bold-italic, invert-face)
15445 (modify-face, read-face-and-attribute): Use face-at-point.
15446
15447 * cus-edit.el (customize-face, customize-face-other-window)
15448 * cus-theme.el (custom-theme-add-face)
15449 * face-remap.el (buffer-face-set)
15450 * facemenu.el (facemenu-set-face): Use face-at-point.
15451
15452 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
15453
15454 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
15455
15456 2013-04-10 Tassilo Horn <tsdh@gnu.org>
15457
15458 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
15459 off leading { and trailing } from field values.
15460
15461 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
15462
15463 * emacs-lisp/timer.el (timer--check): New function.
15464 (timer--time, timer-set-function, timer-event-handler): Use it.
15465 (timer-set-idle-time): Simplify.
15466 (timer--activate): CSE.
15467 (timer-event-handler): Give more info in error message.
15468 (internal-timer-start-idle): New function, moved from C.
15469
15470 * mpc.el (mpc-proc): Add `restart' argument.
15471 (mpc-proc-cmd): Use it.
15472 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
15473 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
15474 less often.
15475
15476 2013-04-10 Masatake YAMATO <yamato@redhat.com>
15477
15478 * progmodes/sh-script.el: Implement `sh-mode' own
15479 `add-log-current-defun-function' (bug#14112).
15480 (sh-current-defun-name): New function.
15481 (sh-mode): Use the function.
15482
15483 2013-04-09 Bastien Guerry <bzg@gnu.org>
15484
15485 * simple.el (choose-completion-string): Fix docstring (bug#14163).
15486
15487 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
15488
15489 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
15490
15491 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
15492 timer (bug#14156).
15493
15494 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
15495
15496 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
15497 declaration.
15498
15499 2013-04-07 Leo Liu <sdl.web@gmail.com>
15500
15501 * pcmpl-x.el: New file.
15502
15503 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
15504
15505 Do not set x-display-name until X connection is established.
15506 This is needed to prevent from weird situation described at
15507 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
15508 * frame.el (make-frame): Set x-display-name after call to
15509 window system initialization function, not before.
15510 * term/x-win.el (x-initialize-window-system): Add optional
15511 display argument and use it.
15512 * term/w32-win.el (w32-initialize-window-system):
15513 * term/ns-win.el (ns-initialize-window-system):
15514 * term/pc-win.el (msdos-initialize-window-system):
15515 Add compatible optional display argument.
15516
15517 2013-04-06 Eli Zaretskii <eliz@gnu.org>
15518
15519 * files.el (normal-backup-enable-predicate): On MS-Windows and
15520 MS-DOS compare truenames of temporary-file-directory and of the
15521 file, so that 8+3 aliases (usually found in $TEMP on Windows)
15522 don't fail comparison by compare-strings. Also, compare file
15523 names case-insensitively on MS-Windows and MS-DOS.
15524
15525 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15526
15527 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
15528 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
15529
15530 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
15531
15532 * whitespace.el (whitespace-color-on, whitespace-color-off):
15533 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
15534
15535 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
15536
15537 * ispell.el (ispell-set-spellchecker-params):
15538 Really set `ispell-args' for all equivs.
15539
15540 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
15541
15542 * ido.el (ido-completions): Use extra elements of ido-decorations
15543 (bug#14143).
15544 (ido-decorations): Update docstring.
15545
15546 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
15547
15548 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
15549 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
15550 nil during initialization, in order not to miss changes since the
15551 file was opened. (Bug#14140)
15552
15553 2013-04-05 Leo Liu <sdl.web@gmail.com>
15554
15555 * kmacro.el (kmacro-call-macro): Fix bug#14135.
15556
15557 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
15558
15559 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
15560
15561 2013-04-04 Glenn Morris <rgm@gnu.org>
15562
15563 * electric.el (electric-pair-inhibit-predicate): Add :version.
15564
15565 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
15566
15567 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
15568 when a package is required several times (bug#14082).
15569
15570 2013-04-04 Roland Winkler <winkler@gnu.org>
15571
15572 * faces.el (read-face-name): Behave as promised by the docstring.
15573 Assume that arg default is a list of faces.
15574 (describe-face): Call read-face-name with list of default faces.
15575
15576 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15577
15578 * bookmark.el: Fix deletion of bookmarks (bug#13972).
15579 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
15580 (bookmark-bmenu-execute-deletions): Only skip first line if it's
15581 the header.
15582 (bookmark-exit-hook-internal): Save even if list is empty.
15583
15584 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
15585
15586 * emacs-lisp/package.el (package-pinned-packages): New var.
15587 (package--add-to-archive-contents): Obey it (bug#14118).
15588
15589 2013-04-03 Alan Mackenzie <acm@muc.de>
15590
15591 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
15592 Also adapt to the new values of element 7 of a parse state.
15593
15594 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
15595 parameter `not-in-delimiter'. Handle being inside comment opener.
15596 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
15597 character in case we're typing a '*' after a '/'.
15598 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
15599 instead by passing the parameter to c-state-pp-to-literal.
15600
15601 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
15602 for elt. 7 of a parse state.
15603
15604 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
15605
15606 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
15607 * international/latin1-disp.el, international/mule-util.el:
15608 * language/cyril-util.el, language/european.el, language/ind-util.el:
15609 * language/lao-util.el, language/thai.el, language/tibet-util.el:
15610 * language/tibetan.el, language/viet-util.el:
15611 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
15612
15613 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
15614
15615 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
15616 (electric-pair-post-self-insert-function): Use it.
15617 (electric-pair-default-inhibit): New function, extracted from
15618 electric-pair-post-self-insert-function.
15619
15620 2013-03-31 Roland Winkler <winkler@gnu.org>
15621
15622 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
15623
15624 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
15625
15626 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
15627
15628 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
15629
15630 Un-indent after "pass" and "return" statements (Bug#13888)
15631 * progmodes/python.el (python-indent-block-enders): New var.
15632 (python-indent-calculate-indentation): Use it.
15633
15634 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
15635
15636 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
15637 defun. Defining it as defalias could introduce too eager
15638 byte-compiler optimization. (Bug#14030)
15639
15640 2013-03-30 Chong Yidong <cyd@gnu.org>
15641
15642 * iswitchb.el (iswitchb-read-buffer): Fix typo.
15643
15644 2013-03-30 Leo Liu <sdl.web@gmail.com>
15645
15646 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
15647 (kmacro-execute-from-register): Pass the keyboard macro to
15648 kmacro-call-macro or repeating won't work correctly.
15649
15650 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
15651
15652 * progmodes/subword.el: Back to using `forward-symbol'.
15653
15654 * subr.el (forward-whitespace, forward-symbol)
15655 (forward-same-syntax): Move from thingatpt.el.
15656
15657 2013-03-29 Leo Liu <sdl.web@gmail.com>
15658
15659 * kmacro.el (kmacro-to-register): New command.
15660 (kmacro-execute-from-register): New function.
15661 (kmacro-keymap): Bind to 'x'. (Bug#14071)
15662
15663 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
15664
15665 * mpc.el: Use defvar-local and setq-local.
15666 (mpc--proc-connect): Connection failures are not bugs.
15667 (mpc-mode-map): `follow-link' only applies to the buffer's content.
15668 (mpc-volume-map): Bind to the up-events.
15669
15670 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
15671
15672 * progmodes/subword.el (superword-mode): Use `forward-sexp'
15673 instead of `forward-symbol'.
15674
15675 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
15676
15677 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
15678 (edebug--recursive-edit): Use it.
15679 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
15680 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
15681
15682 2013-03-28 Leo Liu <sdl.web@gmail.com>
15683
15684 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
15685
15686 2013-03-27 Eli Zaretskii <eliz@gnu.org>
15687
15688 * facemenu.el (list-colors-callback): New defvar.
15689 (list-colors-redisplay): New function.
15690 (list-colors-display): Install list-colors-redisplay as the
15691 revert-buffer-function. (Bug#14063)
15692
15693 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
15694
15695 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
15696 and suffixes don't overlap (bug#14061).
15697
15698 * case-table.el: Use lexical-binding.
15699 (case-table-get-table): New function.
15700 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
15701
15702 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
15703
15704 * progmodes/subword.el: Add `superword-mode' to do word motion
15705 over symbol_words (parallels and leverages `subword-mode' which
15706 does word motion inside MixedCaseWords).
15707
15708 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
15709
15710 * eshell/em-unix.el: Move su and sudo to...
15711 * eshell/em-tramp.el: ...Eshell tramp module.
15712
15713 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15714
15715 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
15716 Change return value to be a sexp. Delay `get-buffer' to after
15717 restoring the desktop (bug#13951).
15718
15719 2013-03-26 Leo Liu <sdl.web@gmail.com>
15720
15721 * register.el: Move semantic tag handling back to
15722 cedet/semantic/senator.el. (Bug#14052)
15723
15724 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
15725
15726 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
15727 into the prompt either (bug#13963).
15728
15729 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
15730
15731 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
15732 part of "(error-foo)".
15733
15734 2013-03-24 Juri Linkov <juri@jurta.org>
15735
15736 * replace.el (list-matching-lines-prefix-face): New defcustom.
15737 (occur-1): Pass `list-matching-lines-prefix-face' to the function
15738 `occur-engine' if `face-differs-from-default-p' returns t.
15739 (occur-engine): Add `,' inside backquote construct to evaluate
15740 `prefix-face'. Propertize the prefix with the `prefix-face' face.
15741 Pass `prefix-face' to the functions `occur-context-lines' and
15742 `occur-engine-add-prefix'.
15743 (occur-engine-add-prefix, occur-context-lines): Add optional arg
15744 `prefix-face' and propertize the prefix with `prefix-face'.
15745 (Bug#14017)
15746
15747 2013-03-24 Leo Liu <sdl.web@gmail.com>
15748
15749 * nxml/rng-valid.el (rng-validate-while-idle)
15750 (rng-validate-quick-while-idle): Guard against deleted buffer.
15751 (Bug#13999)
15752
15753 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
15754 is the last entry in kill-buffer-hook.
15755
15756 * files.el (kill-buffer-hook): Doc fix.
15757
15758 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
15759
15760 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
15761 Make it safe-local.
15762
15763 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
15764
15765 2013-03-23 Leo Liu <sdl.web@gmail.com>
15766
15767 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
15768 Remove.
15769
15770 * nxml/rng-valid.el (rng-validate-mode)
15771 (rng-after-change-function, rng-do-some-validation):
15772 * nxml/rng-maint.el (rng-validate-buffer):
15773 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
15774 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
15775 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
15776 (nxml-extend-after-change-region): Use with-silent-modifications.
15777
15778 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
15779 timer-idle-list.
15780
15781 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
15782 (rng-next-error-1, rng-previous-error-1): Do not let-bind
15783 timer-idle-list. (Bug#13999)
15784
15785 2013-03-23 Juri Linkov <juri@jurta.org>
15786
15787 * info.el (info-index-match): New face.
15788 (Info-index, Info-apropos-matches): Add a nested subgroup to the
15789 main pattern and add text properties with the new face to matches
15790 in index entries relative to the beginning of the index entry.
15791 (Bug#14015)
15792
15793 2013-03-21 Eric Ludlam <zappo@gnu.org>
15794
15795 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
15796 Inhibit read only while inserting objects.
15797
15798 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
15799
15800 * progmodes/cfengine.el: Update docs to mention
15801 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
15802 symbol motion. Remove "_" from the word syntax.
15803
15804 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
15805
15806 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
15807 syntax for both `cfengine2-mode' and `cfengine3-mode'.
15808
15809 2013-03-20 Juri Linkov <juri@jurta.org>
15810
15811 * info.el (Info-next-reference-or-link)
15812 (Info-prev-reference-or-link): New functions.
15813 (Info-next-reference, Info-prev-reference): Use them.
15814 (Info-try-follow-nearest-node): Handle footnote navigation.
15815 (Info-fontify-node): Fontify footnotes. (Bug#13989)
15816
15817 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
15818
15819 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
15820 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
15821
15822 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
15823
15824 Suppress unnecessary non-ASCII chatter during build process.
15825 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
15826 (batch-skkdic-convert): Suppress most of the chatter.
15827 It's not needed so much now that machines are faster,
15828 and its non-ASCII component was confusing; see Dmitry Gutov in
15829 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
15830
15831 2013-03-20 Leo Liu <sdl.web@gmail.com>
15832
15833 * ido.el (ido-chop): Fix bug#10994.
15834
15835 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15836
15837 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
15838 Remove vars.
15839 (whitespace-color-on, whitespace-color-off):
15840 Use `font-lock-fontify-buffer' (Bug#13817).
15841
15842 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
15843
15844 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
15845 remapping in mode-line.
15846 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
15847
15848 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
15849
15850 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
15851 value for `whitespace-line' face (Bug#13875).
15852 (whitespace-font-lock-keywords): Change description.
15853 (whitespace-color-on): Don't save `font-lock-keywords' value, save
15854 the constructed keywords instead.
15855 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
15856
15857 2013-03-19 Leo Liu <sdl.web@gmail.com>
15858
15859 * progmodes/compile.el (compilation-display-error): New command.
15860 (compilation-mode-map, compilation-minor-mode-map): Bind it to
15861 C-o. (Bug#13992)
15862
15863 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15864
15865 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
15866
15867 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
15868
15869 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
15870
15871 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
15872
15873 * net/tramp-compat.el (tramp-compat-user-error): New defun.
15874
15875 * net/tramp-adb.el (tramp-adb-handle-shell-command):
15876 * net/tramp-gvfs.el (top):
15877 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
15878 (tramp-handle-shell-command): Use it.
15879 (tramp-dissect-file-name): Raise an error when hostname is a
15880 method name, and neither method nor user is specified.
15881
15882 * net/trampver.el: Update release number.
15883
15884 2013-03-18 Leo Liu <sdl.web@gmail.com>
15885
15886 Make sure eldoc can be turned off properly.
15887 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
15888 eldoc-mode.
15889 (eldoc-display-message-p): Revert last change.
15890 (eldoc-display-message-no-interference-p)
15891 (eldoc-print-current-symbol-info): Tweak.
15892
15893 2013-03-18 Tassilo Horn <tsdh@gnu.org>
15894
15895 * doc-view.el (doc-view-new-window-function): Check the new window
15896 overlay's display property instead the char property of the
15897 buffer's first char. Use `with-selected-window' instead of
15898 `save-window-excursion' with `select-window'.
15899 (doc-view-document->bitmap): Check the current doc-view overlay's
15900 display property instead the char property of the buffer's first char.
15901
15902 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
15903
15904 Automate the build of ja-dic.el (Bug#13984).
15905 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
15906 from the input, rather than assume that it's been done for us by the
15907 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
15908 the current date into a ja-dic.el comment, as that complicates
15909 regression testing.
15910
15911 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
15912
15913 * whitespace.el: Fix double evaluation.
15914 (whitespace-space, whitespace-hspace, whitespace-tab)
15915 (whitespace-newline, whitespace-trailing, whitespace-line)
15916 (whitespace-space-before-tab, whitespace-indentation)
15917 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
15918 obsolete defvars.
15919 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
15920 (whitespace-color-on): Use a single font-lock-add-keywords call.
15921 Fix double-evaluation of face variables.
15922
15923 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
15924
15925 * net/tramp-adb.el (tramp-adb-parse-device-names):
15926 Use `start-process' instead of `call-process'. Otherwise, the
15927 function might be blocked under MS Windows. (Bug#13299)
15928
15929 2013-03-17 Leo Liu <sdl.web@gmail.com>
15930
15931 Extend eldoc to display info in the mode-line. (Bug#13978)
15932 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
15933 (eldoc-mode-line-string): New variable.
15934 (eldoc-minibuffer-message): New function.
15935 (eldoc-message-function): New variable.
15936 (eldoc-message): Use it.
15937 (eldoc-display-message-p)
15938 (eldoc-display-message-no-interference-p):
15939 Support eldoc-post-insert-mode.
15940
15941 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
15942 (eval-expression): Run it.
15943
15944 2013-03-17 Roland Winkler <winkler@gnu.org>
15945
15946 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
15947 strings in the list of return values.
15948
15949 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
15950
15951 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
15952 radix before checking for HMS forms.
15953
15954 2013-03-16 Leo Liu <sdl.web@gmail.com>
15955
15956 * progmodes/scheme.el: Add indentation and font-locking for λ.
15957 (Bug#13975)
15958
15959 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
15960
15961 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
15962 token before point (bug#13942).
15963
15964 2013-03-16 Leo Liu <sdl.web@gmail.com>
15965
15966 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
15967
15968 2013-03-16 Eli Zaretskii <eliz@gnu.org>
15969
15970 * startup.el (command-line-normalize-file-name): Fix handling of
15971 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
15972 <xfq.free@gmail.com> in
15973 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
15974
15975 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
15976
15977 Sync with Tramp 2.2.7.
15978
15979 * net/trampver.el: Update release number.
15980
15981 2013-03-14 Tassilo Horn <tsdh@gnu.org>
15982
15983 * doc-view.el: Fix bug#13887.
15984 (doc-view-insert-image): Don't modify overlay associated to
15985 non-live windows, and implement horizontal centering of image in
15986 case it's smaller than the window.
15987 (doc-view-new-window-function): Force redisplay of new windows on
15988 doc-view buffers.
15989
15990 2013-03-13 Karl Fogel <kfogel@red-bean.com>
15991
15992 * saveplace.el (save-place-alist-to-file): Don't sort
15993 `save-place-alist', just pretty-print it (bug#13882).
15994
15995 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
15996
15997 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
15998 Check whether `default-file-name-coding-system' is bound.
15999 It isn't in XEmacs.
16000
16001 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16002
16003 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16004 backquotes for `obsolete' (bug#13929).
16005
16006 * international/mule.el (find-auto-coding): Include file name in
16007 obsolescence warning (bug#13922).
16008
16009 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16010
16011 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16012 for CFEngine 3-specific indentation.
16013 (cfengine3-indent-line): Use it. Fix up category regex.
16014 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16015
16016 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16017
16018 * type-break.el (type-break-file-name):
16019 * textmodes/remember.el (remember-data-file):
16020 * strokes.el (strokes-file):
16021 * shadowfile.el (shadow-initialize):
16022 * saveplace.el (save-place-file):
16023 * ps-bdf.el (bdf-cache-file):
16024 * progmodes/idlwave.el (idlwave-config-directory):
16025 * net/quickurl.el (quickurl-url-file):
16026 * international/kkc.el (kkc-init-file-name):
16027 * ido.el (ido-save-directory-list-file):
16028 * emulation/viper.el (viper-custom-file-name):
16029 * emulation/vip.el (vip-startup-file):
16030 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16031 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16032
16033 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16034
16035 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16036 * language/thai-word.el: Switch to UTF-8.
16037
16038 See ChangeLog.16 for earlier changes.
16039
16040 ;; Local Variables:
16041 ;; coding: utf-8
16042 ;; End:
16043
16044 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16045
16046 This file is part of GNU Emacs.
16047
16048 GNU Emacs is free software: you can redistribute it and/or modify
16049 it under the terms of the GNU General Public License as published by
16050 the Free Software Foundation, either version 3 of the License, or
16051 (at your option) any later version.
16052
16053 GNU Emacs is distributed in the hope that it will be useful,
16054 but WITHOUT ANY WARRANTY; without even the implied warranty of
16055 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16056 GNU General Public License for more details.
16057
16058 You should have received a copy of the GNU General Public License
16059 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.