]> code.delx.au - gnu-emacs/blob - lisp/ChangeLog
Merge from emacs-24; up to 2014-06-25T10:17:41Z!rgm@gnu.org
[gnu-emacs] / lisp / ChangeLog
1 2014-07-21 Glenn Morris <rgm@gnu.org>
2
3 * progmodes/hideif.el (hide-ifdef-mode-submap):
4 Also substitute read-only-mode.
5 * bindings.el (mode-line-toggle-read-only):
6 * bs.el (bs-toggle-readonly):
7 * buff-menu.el (Buffer-menu-toggle-read-only):
8 * dired.el (dired-toggle-read-only):
9 * files.el (view-read-only, find-file-read-only)
10 (find-file-read-only-other-window)
11 (find-file-read-only-other-frame):
12 * progmodes/hideif.el (hide-ifdef-toggle-outside-read-only):
13 Doc fixes re toggle-read-only.
14
15 2014-07-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
16
17 * progmodes/python.el: Add comment about pipe buffering and
18 solutions for missing/delayed output in inferior Python shells.
19 (Bug#17304)
20
21 * progmodes/python.el (python-mode): Don't set
22 mode-require-final-newline. (Bug#17990)
23
24 Make python.el work with IPython automatically. (Bug#15510)
25 * progmodes/python.el:
26 (python-shell-completion-setup-code): New value supporting iPython.
27 (python-shell-completion-string-code): New value supporting iPython.
28 (python-shell-completion-get-completions): Use them.
29 (python-shell-completion-module-string-code): Make obsolete.
30 (python-shell-prompt-input-regexps)
31 (python-shell-prompt-output-regexps): Add safeguard for ipdb.
32 (python-shell-output-filter): Fix comment typo.
33
34 Fix Python shell prompts detection for remote hosts.
35 * progmodes/python.el (python-shell-prompt-detect): Replace
36 call-process with process-file and make it more robust.
37
38 Autodetect Python shell prompts. (Bug#17370)
39 * progmodes/python.el:
40 (python-shell-interpreter-interactive-arg)
41 (python-shell-prompt-detect-enabled)
42 (python-shell-prompt-detect-failure-warning)
43 (python-shell-prompt-input-regexps)
44 (python-shell-prompt-output-regexps): New vars.
45 (python-shell-prompt-calculated-input-regexp)
46 (python-shell-prompt-calculated-output-regexp): New vars.
47 (python-shell-get-process-name)
48 (python-shell-internal-get-process-name)
49 (python-shell-output-filter)
50 (python-shell-completion-get-completions): Use them.
51 (python-shell-prompt-detect)
52 (python-shell-prompt-validate-regexps): New functions.
53 (python-shell-prompt-set-calculated-regexps): New function.
54 (inferior-python-mode): Use it. Also honor overriden
55 python-shell-interpreter and python-shell-interpreter-args.
56 (python-shell-make-comint): Honor overriden
57 python-shell-interpreter and python-shell-interpreter-args.
58 (python-shell-get-or-create-process): Make it testable by allowing
59 to call run-python non-interactively.
60 (python-util-valid-regexp-p): New function.
61 (python-shell-prompt-regexp, python-shell-prompt-block-regexp)
62 (python-shell-prompt-output-regexp)
63 (python-shell-prompt-pdb-regexp): Use it as defcustom :safe.
64
65 2014-07-21 Stefan Monnier <monnier@iro.umontreal.ca>
66
67 * emacs-lisp/smie.el (smie-config--guess-1): Split from
68 smie-config--guess.
69 (smie-config--guess): Use it.
70
71 * emacs-lisp/edebug.el: Use nadvice.
72 (edebug-original-read): Remove.
73 (edebug--read): Rename from edebug-read and add `orig' arg.
74 (edebug-uninstall-read-eval-functions)
75 (edebug-install-read-eval-functions): Use nadvice.
76 (edebug-read-sexp, edebug-read-storing-offsets, edebug-read-symbol)
77 (edebug-read-and-maybe-wrap-form1, edebug-instrument-callee)
78 (edebug-read-string, edebug-read-function): Use just `read'.
79 (edebug-original-debug-on-entry): Remove.
80 (edebug--debug-on-entry): Rename from edebug-debug-on-entry and add
81 `orig' arg.
82 (debug-on-entry): Override with nadvice.
83
84 * mouse.el (tear-off-window): Rename from mouse-tear-off-window since
85 it also makes sense to bind it to a non-mouse event.
86
87 * vc/vc-bzr.el (vc-bzr-shelve): Make it operate on fileset.
88
89 2014-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
90
91 * xt-mouse.el (xterm-mouse-event): Don't assume last-click is non-nil
92 (bug#18015).
93
94 * rect.el (rectangle--string-preview): Don't assume there
95 a non-nil default (bug#17984).
96
97 2014-07-16 Glenn Morris <rgm@gnu.org>
98
99 * desktop.el (after-init-hook): Disable startup frame restoration
100 in non-graphical situations. (Bug#17693)
101
102 * vc/vc-dispatcher.el (vc-log-edit): Do set up the log buffer
103 if it was "empty", or used for a different set of files. (Bug#17884)
104
105 2014-07-16 Eli Zaretskii <eliz@gnu.org>
106
107 * bindings.el (mode-line-remote): If default-directory is not a
108 string, don't call file-remote-p on it; instead state in the
109 help-echo that it is nil. (Bug#17986)
110
111 2014-07-14 Daniel Colascione <dancol@dancol.org>
112
113 * progmodes/cc-langs.el: Change comments from `cl-macroexpand-all'
114 to `macroexpand-all'
115
116 * progmodes/cc-defs.el (c-lang-defconst-eval-immediately):
117 Use `macroexpand-all' instead of `cl-macroexpand-all'.
118
119 2014-07-12 Paul Eggert <eggert@cs.ucla.edu>
120
121 Fix bug: C-x v v discarded existing log message (Bug#17884).
122 * vc/vc-dispatcher.el (vc-log-edit):
123 Don't clobber an already-existing log message.
124
125 2014-07-12 Glenn Morris <rgm@gnu.org>
126
127 * vc/log-edit.el (log-edit-changelog-entries):
128 Check for a visited-but-never-saved ChangeLog.
129
130 2014-07-12 Stefan Monnier <monnier@iro.umontreal.ca>
131
132 * vc/log-edit.el (log-edit-changelog-entries): Don't both visiting
133 a non-existing file (bug#17970).
134
135 * faces.el (face-name): Undo last change.
136 (x-resolve-font-name): Don't call face-name (bug#17956).
137
138 2014-07-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
139
140 Fix dedenters and electric colon handling. (Bug#15163)
141 * progmodes/python.el
142 (python-rx-constituents): Add dedenter and block-ender.
143 (python-indent-dedenters, python-indent-block-enders): Delete.
144 (python-indent-context): Return new case for dedenter-statement.
145 (python-indent-calculate-indentation): Handle new case.
146 (python-indent-calculate-levels): Fix levels calculation for
147 dedenter statements.
148 (python-indent-post-self-insert-function): Fix colon handling.
149 (python-info-dedenter-opening-block-message): New function.
150 (python-indent-line): Use it.
151 (python-info-closing-block)
152 (python-info-closing-block-message): Remove.
153 (python-info-dedenter-opening-block-position)
154 (python-info-dedenter-opening-block-positions)
155 (python-info-dedenter-statement-p): New functions.
156
157 2014-07-11 Dmitry Antipov <dmantipov@yandex.ru>
158
159 * files.el (out-of-memory-warning-percentage): New defcustom.
160 (warn-maybe-out-of-memory): Use it.
161
162 2014-07-11 Michael Albinus <michael.albinus@gmx.de>
163
164 * subr.el (read-passwd): Use `read-hide-char' if non-nil. Bind it
165 when calling `read-string'. (Bug#17839)
166
167 2014-07-10 Eli Zaretskii <eliz@gnu.org>
168
169 * files.el (warn-maybe-out-of-memory): Fix the wording of the
170 warning.
171
172 2014-07-10 Dmitry Antipov <dmantipov@yandex.ru>
173
174 * files.el (warn-maybe-out-of-memory): New function.
175 (find-file-noselect): Use it.
176
177 2014-07-09 Sam Steingold <sds@gnu.org>
178
179 * progmodes/cperl-mode.el (cperl-block-p): Treat the perl keyword
180 `constant' like `bless', `return' &c
181
182 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
183
184 * rect.el (apply-on-rectangle): Check forward-line really moved to the
185 next line.
186
187 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
188
189 * progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in
190 the middle of a line (bug#17896).
191
192 2014-07-09 Juri Linkov <juri@jurta.org>
193
194 * startup.el (command-line): Append displaying the warning about
195 the errors in the init file to the end of `after-init-hook'.
196 (Bug#17927)
197
198 * faces.el (face-name): Return input arg `face' as-is
199 when it's not a symbol.
200 (x-resolve-font-name): Don't check if the face is a symbol.
201 (Bug#17956)
202
203 * facemenu.el (list-colors-print): In help-echo format use %.2f
204 instead of %d because now HSV values are floating-point components
205 between 0.0 and 1.0.
206
207 2014-07-09 Glenn Morris <rgm@gnu.org>
208
209 * emulation/cua-rect.el (cua--activate-rectangle):
210 Avoid setting cua--rectangle to nil. (Bug#17877)
211
212 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
213
214 * calendar/todo-mode.el: Fix wrong-type-argument error when
215 marking multiple consecutive items.
216 (todo-toggle-mark-item): Don't try to mark the empty lines at the
217 end of the todo and done items sections. Note in doc string that
218 items marked by passing a numeric prefix argument can include the
219 last todo and first done items.
220 (todo-mark-category): Don't try to mark the empty line between the
221 todo and done items sections.
222
223 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
224
225 * emacs-lisp/edebug.el (edebug-eval-defun): Print result using
226 proper Lisp quoting (bug#17934).
227
228 * progmodes/ruby-mode.el (ruby-mode-variables): Don't meddle with
229 require-final-newline since prog-mode already took care of it (bug#17947).
230
231 2014-07-09 Stephen Berman <stephen.berman@gmx.net>
232
233 * calendar/todo-mode.el: Fix two bugs. Shorten Commentary and
234 refer to the Todo mode Info manual. Update the comment on
235 requiring cl-lib.
236 (todo-find-filtered-items-file): Add todo-prefix overlays.
237 (todo-filter-items): Reorder a let-bound variable to avoid a
238 wrong-type-argument error on canceling the file choice dialog.
239
240 2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
241
242 * progmodes/octave.el (inferior-octave-mode):
243 Set comint-input-ring-size to a number (bug#17912).
244
245 2014-07-09 Juri Linkov <juri@jurta.org>
246
247 * desktop.el (desktop-minor-mode-table): Add `defining-kbd-macro'
248 and `isearch-mode' associated with nil. (Bug#17849)
249
250 2014-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
251
252 * linum.el (linum--face-height): New function (bug#17813).
253 (linum-update-window): Use it to adjust margin to linum's width.
254
255 * leim/quail/sisheng.el (sisheng-list): Don't bother with-case-table.
256 * eshell/em-smart.el (eshell-smart-scroll-window): Use
257 with-selected-window.
258
259 * xt-mouse.el (xterm-mouse-translate-1): Intern drag event (bug#17894).
260 Remove also pointless window&mark manipulation.
261
262 * progmodes/perl-mode.el: Use syntax-ppss; fix one indentation case.
263 (perl-indent-line): Use syntax-ppss to detect we're in a doc-section.
264 (perl-continuation-line-p): Don't skip over anything else than labels.
265 Return the previous char.
266 (perl-calculate-indent): Use syntax-ppss instead of parse-start
267 and update callers accordingly. For continuation lines, check the
268 the case of array hashes.
269 (perl-backward-to-noncomment): Make it non-interactive.
270 (perl-backward-to-start-of-continued-exp): Rewrite.
271
272 2014-07-08 Sam Steingold <sds@gnu.org>
273
274 * progmodes/inf-lisp.el (lisp-eval-paragraph, lisp-eval-form-and-next):
275 New user commands.
276
277 2014-07-08 Juri Linkov <juri@jurta.org>
278
279 * vc/vc-annotate.el (vc-annotate-background-mode): New defcustom.
280 (vc-annotate-color-map): Use less saturated colors (20%) for
281 background-mode.
282 (vc-annotate-very-old-color): Add default value for background-mode.
283 (vc-annotate-background): Set default value to nil since now text on
284 the default backgrounds should be legible in light and dark modes.
285 (vc-annotate-lines): Use `vc-annotate-background-mode'. Doc fix.
286 (Bug#17808)
287
288 2014-07-08 Juri Linkov <juri@jurta.org>
289
290 * simple.el (transpose-chars): Don't move point into read-only area.
291 (Bug#17829)
292
293 2014-07-08 Juri Linkov <juri@jurta.org>
294
295 * window.el (with-displayed-buffer-window): New macro.
296 (with-temp-buffer-window, with-current-buffer-window):
297 Use `macroexp-let2' to evaluate and bind variables
298 in the same order as macro arguments.
299 (display-buffer--action-function-custom-type):
300 Add `display-buffer-below-selected' and `display-buffer-at-bottom'.
301
302 * minibuffer.el (minibuffer-completion-help): Replace
303 `with-output-to-temp-buffer' with `with-displayed-buffer-window'
304 with actions that display *Completions* at-bottom when called
305 from the minibuffer, or below-selected in a normal buffer.
306 Associate `window-height' with `fit-window-to-buffer'.
307 Let-bind `pop-up-windows' to nil.
308
309 * dired.el (dired-mark-pop-up): Use `with-displayed-buffer-window'
310 instead of `with-current-buffer-window'. (Bug#17809)
311
312 2014-07-07 Luke Lee <luke.yx.lee@gmail.com>
313
314 * progmodes/hideif.el (hide-ifdef-env): Change to global.
315 (hide-ifdef-env-backup): New variable.
316 (hide-ifdef-expand-reinclusion-protection, hide-ifdef-header-regexp):
317 New customizable variables.
318 (hif-clear-all-ifdef-defined): New defun.
319 (hif-merge-ifdef-region, hide-ifdef-region-internal, hide-ifdef-region)
320 (hif-show-ifdef-region): Merge hidden regions to prevent continuous "...".
321 (hif-tokenize): Fix for MS-DOS/Win EOL style.
322 (hif-endif-to-ifdef, hif-make-range, hif-find-range, hif-possibly-hide):
323 Fix bug to hide the correct #elif region(s).
324 (hif-range-elif): New defun.
325 (hif-recurse-level): New var.
326 (hif-evaluate-region, hif-evaluate-macro): New defun.
327 (hide-ifdef-guts): Prevent reinclusion protected C/C++ headers from
328 fully hidden.
329 (hide-ifdef-define, hide-ifdefs, hide-ifdef-block, show-ifdef-block):
330 Better interaction.
331
332 2014-07-04 Michael Albinus <michael.albinus@gmx.de>
333
334 * net/dbus.el (dbus-peer-handler): New defun.
335 (dbus-register-service): Register it. (Bug#17858)
336 (dbus-managed-objects-handler): Fix docstring.
337
338 2014-07-04 Phil Sainty <psainty@orcon.net.nz> (tiny change)
339
340 * emacs-lisp/lisp.el (narrow-to-defun-include-comments): New var.
341 (narrow-to-defun): New arg include-comments, defaulting to it
342 (bug#16328).
343
344 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
345
346 * rect.el (rectangle--highlight-for-redisplay): Don't pass `orig' with
347 different calling convention to rectangle--unhighlight-for-redisplay.
348
349 2014-07-03 Michael Albinus <michael.albinus@gmx.de>
350
351 * net/tramp.el (tramp-call-process): Handle error strings.
352
353 * net/tramp-adb.el (tramp-adb-sh-fix-ls-output): Use `bolp'.
354
355 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime)
356 (tramp-sh-handle-verify-visited-file-modtime): Use `point-at-eol'.
357
358 * net/trampver.el: Update release number.
359
360 2014-07-03 Juri Linkov <juri@jurta.org>
361
362 * desktop.el (desktop-save): Rename arg `auto-save' to
363 `only-if-changed'. Doc fix. (Bug#17873)
364
365 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
366
367 * mouse.el (mouse-yank-primary, mouse-yank-secondary):
368 Use insert-for-yank (bug#17271).
369
370 2014-07-03 Leo Liu <sdl.web@gmail.com>
371
372 * emacs-lisp/pp.el (pp-eval-expression, pp-eval-last-sexp):
373 Support lexical-binding.
374
375 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
376
377 * vc/log-edit.el (log-edit-goto-eoh): New function.
378 (log-edit--match-first-line): Use it (bug#17861).
379
380 2014-07-03 Glenn Morris <rgm@gnu.org>
381
382 * vc/log-edit.el (log-edit-hook): Add missing :version.
383
384 2014-07-03 Fabián Ezequiel Gallina <fgallina@gnu.org>
385
386 * progmodes/python.el (python-indent-post-self-insert-function):
387 Enhancements to electric indentation behavior inside
388 parens. (Bug#17658)
389
390 2014-07-03 Stefan Monnier <monnier@iro.umontreal.ca>
391
392 * ps-def.el (ps-generate-postscript-with-faces1): Don't mess with
393 buffer-invisibility-spec (bug#17867).
394
395 2014-07-03 Andreas Schwab <schwab@linux-m68k.org>
396
397 * vc/vc-git.el (vc-git-checkin): When operating on the whole tree
398 pass "-a".
399
400 2014-07-03 Glenn Morris <rgm@gnu.org>
401
402 * cus-edit.el (help):
403 * finder.el (finder-known-keywords):
404 * help.el (help-for-help-internal):
405 * vc/ediff-mult.el (ediff-meta-buffer-verbose-message)
406 (ediff-redraw-registry-buffer):
407 * vc/ediff-ptch.el (ediff-patch-file-internal):
408 Doc fixes re "online" help. (Bug#17803)
409
410 * progmodes/idlwave.el (idlwave): Update url-link for custom group.
411 (idlwave-mode): Doc URL update.
412
413 2014-07-01 Juri Linkov <juri@jurta.org>
414
415 * man.el: Display man pages immediately and use process-filter
416 to format them asynchronously.
417 (Man-width): Doc fix.
418 (man): Doc fix.
419 (Man-start-calling): Use `with-selected-window' to get
420 `frame-width' and `window-width'.
421 (Man-getpage-in-background): Call `Man-notify-when-ready'
422 immediately after creating a new buffer. Call `Man-mode' and set
423 `mode-line-process' in the created buffer. Set process-filter to
424 `Man-bgproc-filter' in start-process branch. In call-process branch
425 call either `Man-fontify-manpage' or `Man-cleanup-manpage'.
426 Use `Man-start-calling' inside `with-current-buffer'.
427 (Man-fontify-manpage): Don't print messages. Fix boundary condition.
428 (Man-cleanup-manpage): Don't print messages.
429 (Man-bgproc-filter): New function.
430 (Man-bgproc-sentinel): Add `save-excursion' to keep point when
431 user moved it during asynchronous formatting. Move calls of
432 `Man-fontify-manpage' and `Man-cleanup-manpage' to
433 `Man-bgproc-filter'. Move the call of `Man-mode' to
434 `Man-getpage-in-background'. Use `quit-restore-window'
435 instead of `kill-buffer'. Use `message' instead of `error'
436 because errors are caught by process sentinel.
437 (Man-mode): Move calls of `Man-build-page-list',
438 `Man-strip-page-headers', `Man-unindent', `Man-goto-page' to
439 `Man-bgproc-sentinel'. Doc fix. (Bug#2588, bug#5054, bug#9084, bug#17831)
440
441 * man.el (Man-bgproc-sentinel): Use `Man-page-from-arguments'
442 for the message about the man page cleaned up.
443
444 2014-07-01 Mario Lang <mlang@delysid.org>
445
446 * net/gnutls.el (gnutls-negotiate): Prevent destructive modification of
447 cosutomization option `gnutls-verify-error'.
448
449 2014-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
450
451 * simple.el (deactivate-mark, set-mark-command, handle-shift-selection):
452 Don't keep transient-mark-mode buffer-local when not needed (bug#6316).
453
454 * xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal)
455 (turn-off-xterm-mouse-tracking-on-terminal): Don't burp if the terminal
456 is suspended (bug#17857).
457
458 2014-07-01 Michael Albinus <michael.albinus@gmx.de>
459
460 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
461 Prefer utf-8 coding. (Bug#17859)
462
463 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
464
465 * emacs-lisp/subr-x.el (string-reverse): Define as obsolete alias
466 for `reverse'.
467
468 2014-06-30 Glenn Morris <rgm@gnu.org>
469
470 * emacs-lisp/autoload.el (autoload-ensure-writable): New variable.
471 (autoload-ensure-default-file): Maybe make existing output writable.
472 * Makefile.in (AUTOGEN_VCS): Remove.
473 (autoloads): Use autoload-ensure-writable rather than AUTOGEN_VCS.
474
475 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
476
477 * emacs-lisp/subr-x.el (string-reverse): Use `reverse'.
478
479 2014-06-30 Fabián Ezequiel Gallina <fgallina@gnu.org>
480
481 New if-let, when-let, thread-first and thread-last macros.
482
483 * emacs-lisp/subr-x.el
484 (internal--listify, internal--check-binding)
485 (internal--build-binding-value-form, internal--build-binding)
486 (internal--build-bindings): New functions.
487 (internal--thread-argument, thread-first, thread-last)
488 (if-let, when-let): New macros.
489
490 2014-06-30 Grégoire Jadi <daimrod@gmail.com>
491
492 * net/rcirc.el (rcirc-buffer-process): Restore previous
493 behaviour. (Bug#17772)
494
495 2014-06-29 Alan Mackenzie <acm@muc.de>
496
497 Don't call c-parse-state when c++-template-syntax-table is active.
498 * progmodes/cc-engine.el (c-guess-continued-construct CASE G)
499 (c-guess-basic-syntax CASE 5D.3): Rearrange so that
500 c-syntactic-skip-backwards isn't called with the pertinent syntax table.
501
502 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
503
504 * calendar/todo-mode.el (todo-set-top-priorities): Fix logic to
505 account for file-wide setting of todo-top-priorities-overrides.
506 Make code a bit cleaner.
507
508 2014-06-28 Glenn Morris <rgm@gnu.org>
509
510 * net/eww.el (eww-mode) <eww-current-title>: Make local. (Bug#17860)
511
512 2014-06-28 Stephen Berman <stephen.berman@gmx.net>
513
514 * calendar/todo-mode.el (todo-prefix-overlays): If there is no
515 category-wide setting of todo-top-priorities-overrides, check for
516 a file-wide setting and fontify accordingly.
517
518 2014-06-28 Glenn Morris <rgm@gnu.org>
519
520 * subr.el (read-passwd): Warn about batch mode. (Bug#17839)
521
522 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
523
524 * progmodes/hideif.el: Use lexical-binding. Fix up cl-lib usage.
525
526 2014-06-28 K. Handa <handa@gnu.org>
527
528 Fix Bug#17739.
529
530 * composite.el: Setup composition-function-table for dotted circle.
531 (compose-gstring-for-dotted-circle): New function.
532
533 * international/characters.el: Add category "^" to all
534 non-spacing characters.
535
536 2014-06-28 Glenn Morris <rgm@gnu.org>
537
538 * Makefile.in (doit): Remove force rule.
539 (custom-deps, finder-data, autoloads, update-subdirs)
540 (compile-one-process): PHONY targets do not need force rules.
541
542 * Makefile.in (compile-main, compile, compile-always):
543 No need to explicitly pass variables to ourself in recursive calls.
544
545 2014-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
546
547 * files.el (minibuffer-with-setup-hook): Evaluate the first arg eagerly.
548
549 2014-06-26 Glenn Morris <rgm@gnu.org>
550
551 * Makefile.in (update-authors): Update for moved authors.el.
552
553 2014-06-26 Leo Liu <sdl.web@gmail.com>
554
555 * skeleton.el (skeleton-end-hook): Default to nil and move the
556 work to skeleton-insert. (Bug#17850)
557
558 2014-06-26 Dmitry Antipov <dmantipov@yandex.ru>
559
560 * calc/calc-alg.el (math-beforep):
561 * progmodes/cc-guess.el (c-guess-view-reorder-offsets-alist-in-style):
562 Simplify because string-lessp can accept symbols as args.
563
564 2014-06-26 Daiki Ueno <ueno@gnu.org>
565
566 * emacs-lisp/package.el (package--check-signature):
567 If package-check-signature is allow-unsigned, don't signal error when
568 we can't verify signature because of missing public key
569 (bug#17625).
570
571 2014-06-26 Glenn Morris <rgm@gnu.org>
572
573 * emacs-lisp/cl-macs.el (help-add-fundoc-usage):
574 Remove outdated declaration.
575
576 * emacs-lisp/authors.el (authors-valid-file-names)
577 (authors-renamed-files-alist): Additions.
578
579 2014-06-26 Leo Liu <sdl.web@gmail.com>
580
581 * textmodes/picture.el (picture-set-tab-stops):
582 * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
583 (ruler-mode-ruler): Fix to work with nil tab-stop-list.
584
585 * progmodes/asm-mode.el (asm-calculate-indentation):
586 Use indent-next-tab-stop.
587
588 * indent.el (indent-accumulate-tab-stops): New function.
589
590 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
591
592 * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
593 (package-desc-status): Obey it.
594
595 2014-06-26 Stephen Berman <stephen.berman@gmx.net>
596
597 * calendar/todo-mode.el: Fix two bugs.
598 (todo-insert-item--basic): If user cancels item insertion to
599 another category before setting priority, show original category
600 whether it is in the same or a different file.
601 (todo-set-item-priority): After selecting category, instead of
602 moving point to top, which extends an active region, restore it.
603
604 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
605
606 * help-fns.el (describe-function-1): Check file-name is a string before
607 calling help-fns--autoloaded-p (bug#17564).
608
609 2014-06-26 Juri Linkov <juri@jurta.org>
610
611 * desktop.el (desktop-auto-save-enable)
612 (desktop-auto-save-disable): New functions.
613 (desktop-save-mode, desktop-auto-save-timeout): Use them.
614 (desktop-read): Disable the autosave before loading the desktop,
615 and enable afterwards. (Bug#17351)
616
617 2014-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
618
619 Fix some indentation problem with \; and pipes (bug#17842).
620 * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
621 (sh-smie--default-forward-token, sh-smie--default-backward-token):
622 New functions.
623 (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
624 (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
625 (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
626
627 2014-06-26 Glenn Morris <rgm@gnu.org>
628
629 * emacs-lisp/find-func.el (find-function-C-source-directory):
630 Use file-accessible-directory-p.
631
632 * ps-samp.el: Make it slightly less awful.
633 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
634 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
635 Only set local values.
636 (ps-article-subject, ps-article-author): Use standard functions
637 like mail-fetch-field.
638 (ps-info-file, ps-info-node): Use match-string.
639 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
640 (ps-samp-ps-setup): ... new function.
641
642 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
643 Optimize away code unneeded on any modern Emacs.
644
645 * emacs-lisp/authors.el: Move to ../admin.
646
647 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
648
649 2014-06-26 Luke Lee <luke.yx.lee@gmail.com>
650
651 * progmodes/hideif.el (hif-string-to-number): Fix return value bug.
652 (hif-simple-token-only, hif-tokenize): Comment in detail mainly for
653 performance enhancements.
654 (hif-parse-if-exp): Rename to `hif-parse-exp'. Enhance for macro
655 expansion.
656 (hif-factor, hif-string-concatenation, intern-safe): Support string
657 concatenation and argumented macro expansion.
658 (hif-if-valid-identifier-p, hif-define-operator, hif-flatten)
659 (hif-expand-token-list, hif-get-argument-list, hif-define-macro)
660 (hif-delimit, hif-macro-supply-arguments, hif-invoke, hif-canonicalize)
661 (hif-canonicalize-tokens, hif-place-macro-invocation)
662 (hif-parse-macro-arglist): Mostly new functions for supporting
663 argumented macro expansion.
664 (hif-string-concatenation, hif-stringify, hif-token-concat)
665 (hif-token-stringification, hif-token-concatenation):
666 Stringification and concatenation.
667 (hif-find-next-relevant): Fix comments.
668 (hif-ifdef-to-endif, hif-looking-at-elif, hif-hide-line): Bug fix for
669 some cases involving #elif.
670 (hif-find-define, hif-add-new-defines): New functions for automatically
671 scanning of defined symbols.
672 (hide-ifdef-guts): Fix for defined symbol auto scanning.
673 (hide-ifdef-undef): Fix behavior to match CPP.
674
675 2014-06-25 Glenn Morris <rgm@gnu.org>
676
677 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
678 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
679 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
680 files. They are not relevant to the original issue (bug#1004),
681 and cause unnecessary recompilation (bug#2151).
682
683 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
684
685 * play/landmark.el: Use lexical-binding and avoid `intangible'.
686 (landmark--last-pos): New var.
687 (landmark--intangible-chars): New const.
688 (landmark--intangible): New function.
689 (landmark-mode, landmark-move): Use it.
690 (landmark-mode): Remove properties.
691 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
692 (landmark-cross-qtuple):
693 Don't worry about `intangible' any more.
694 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
695 (landmark-init-display): Don't set `intangible' and `point-entered'.
696 (square): Remove. Inline it instead.
697 (landmark--distance): Rename from `distance'.
698 (landmark-calc-distance-of-robot-from): Rename from
699 calc-distance-of-robot-from.
700 (landmark-calc-smell-internal): Rename from calc-smell-internal.
701
702 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
703
704 * files.el (dir-locals-find-file, file-relative-name):
705 * info.el (Info-complete-menu-item):
706 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
707 to compare-strings to avoid out-of-range errors.
708 * subr.el (string-prefix-p): Adjust to match strict range
709 checking in compare-strings.
710
711 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
712
713 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
714 for comment lines non-greedy and stopping at newlines to fix stack
715 overflows with large files.
716
717 2014-06-24 Eli Barzilay <eli@barzilay.org>
718
719 * calculator.el (calculator-last-input): Drop 'ascii-character property
720 lookup.
721
722 2014-06-24 Leo Liu <sdl.web@gmail.com>
723
724 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
725 tab-stop-list to nil. (Bug#16381)
726
727 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
728 (indent-rigidly-left-to-tab-stop)
729 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
730 (move-to-tab-stop): Change callers.
731
732 2014-06-24 Eli Zaretskii <eliz@gnu.org>
733
734 * skeleton.el (skeleton-insert): Yet another fix of the doc string
735 wrt behavior of \n as the first/last element of a skeleton.
736
737 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
738
739 * net/tramp-adb.el (tramp-adb-handle-process-file):
740 * net/tramp-sh.el (tramp-sh-handle-process-file):
741 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
742 the output buffer when DISPLAY is non-nil. (Bug#17815)
743
744 2014-06-24 Glenn Morris <rgm@gnu.org>
745
746 * play/landmark.el (landmark-move-down, landmark-move-up):
747 Fix 2007-10-20 change - preserve horizontal position.
748
749 2014-06-23 Sam Steingold <sds@gnu.org>
750
751 * simple.el (kill-append): Remove undo boundary depending on ...
752 (kill-append-merge-undo): New user option.
753
754 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
755
756 * simple.el (handle-shift-selection, exchange-point-and-mark)
757 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
758 (transient-mark-mode): Use&set the global value.
759 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
760 * emulation/edt.el (edt-emulation-off): Save&restore the global
761 transient-mark-mode setting.
762 * obsolete/pc-select.el (pc-selection-mode): Use the
763 transient-mark-mode function.
764
765 2014-06-23 Eli Zaretskii <eliz@gnu.org>
766
767 * international/fontset.el (script-representative-chars):
768 Add representative characters for scripts added in Unicode 7.0.
769 (otf-script-alist): Synchronize with the latest registry of OTF
770 script tags.
771
772 * international/characters.el (char-script-table): Update for
773 scripts added and codepoint ranges changed in Unicode 7.0.
774
775 2014-06-23 Eli Barzilay <eli@barzilay.org>
776
777 * calculator.el (calculator-standard-displayer): Fix bug in use of
778 `calculator-groupize-number'.
779 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
780 `eval' code, so it works in v24.3.1 too.
781 (calculator-last-input): Comment to clarify purpose.
782
783 2014-06-22 Mario Lang <mlang@delysid.org>
784
785 * textmodes/rst.el (rst-comment-region): From from -> from.
786
787 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
788
789 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
790
791 * electric.el (electric-layout-post-self-insert-function):
792 * emacs-lisp/ert.el (ert--insert-infos):
793 * obsolete/vi.el (vi-set-mark):
794 * term.el (term-handle-scroll):
795 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
796 * wid-edit.el (widget-editable-list-value-create):
797 Prefer point-marker to copy-marker of point.
798
799 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
800
801 Fix completion retrieval parsing (bug#17209).
802 * progmodes/python.el (python-mode):
803 (python-util-strip-string): New function.
804 (python-shell-completion-get-completions): Use it.
805
806 2014-06-21 Eli Zaretskii <eliz@gnu.org>
807
808 * skeleton.el (skeleton-insert): Fix last change.
809
810 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
811
812 Enhancements for outline integration (bug#17796).
813 * progmodes/python.el (python-mode): Properly set
814 outline-heading-end-regexp so that comments after colons for
815 defuns are supported.
816
817 2014-06-21 Eli Zaretskii <eliz@gnu.org>
818
819 * skeleton.el (skeleton-insert): Doc fix.
820
821 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
822
823 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
824 (smie-config-guess): Use smie-config-local so the rules are obeyed
825 (bug#17818).
826
827 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
828 since it's already done inside the loop (bug#17819).
829
830 2014-06-21 Martin Rudalics <rudalics@gmx.at>
831
832 * mouse.el (mouse-drag-line): Re-remove code initially removed
833 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
834 (Bug#17819).
835
836 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
837
838 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
839 align with the surrounding parent (bug#17721).
840
841 2014-06-21 Eli Zaretskii <eliz@gnu.org>
842
843 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
844 locally to nil.
845 (texinfo-insert-block, texinfo-insert-@end)
846 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
847 local setting of skeleton-end-newline by adding an explicit \n to
848 the skeletons where appropriate. (Bug#17801)
849
850 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
851
852 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
853 (smie-indent--hanging-p): Use it.
854 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
855
856 2014-06-21 Leo Liu <sdl.web@gmail.com>
857
858 * simple.el (read-quoted-char): Don't let help chars pop up help
859 buffer. (Bug#16617)
860
861 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
862
863 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
864 for | (bug#17621).
865
866 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
867 Drop unknown events instead of burping.
868
869 2014-06-21 Eli Zaretskii <eliz@gnu.org>
870
871 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
872 and later. (Bug#17790)
873
874 2014-06-21 Juri Linkov <juri@jurta.org>
875
876 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
877 to `soft'. (Bug#17554)
878
879 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
880
881 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
882 (bug#17737).
883
884 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
885
886 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
887 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
888
889 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
890
891 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
892 `unread-command-events'.
893
894 2014-06-19 William Xu <william.xwl@gmail.com>
895
896 * progmodes/hideif.el (hif-string-to-number): Don't return float for
897 hex integer constants (bug#17807).
898
899 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
900
901 * international/mule-util.el (truncate-string-ellipsis): New var.
902 (truncate-string-to-width): Use it.
903
904 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
905
906 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
907 (lisp-string-in-doc-position-p): New function, extracted from
908 lisp-font-lock-syntactic-face-function.
909 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
910
911 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
912
913 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
914
915 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
916
917 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
918 (bubbles--game-over): Don't add `intangible' properties since they
919 didn't work anyway.
920
921 2014-06-18 Juri Linkov <juri@jurta.org>
922
923 * vc/ediff-init.el (ediff-current-diff-Ancestor)
924 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
925 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
926 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
927 Add `min-colors 88' version with removed black/white foregrounds.
928 (Bug#10181)
929
930 2014-06-18 Juri Linkov <juri@jurta.org>
931
932 * vc/diff-mode.el (diff-changed): Empty face definition to use
933 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
934 (diff-context): Use darker color on light background and
935 lighter color on dark background.
936
937 2014-06-18 Juri Linkov <juri@jurta.org>
938
939 * vc/diff-mode.el (diff-refine-changed): Rename from
940 `diff-refine-change' for consistency with `diff-changed'.
941 (diff-refine-change): Add obsolete face alias. (Bug#10181)
942
943 * vc/smerge-mode.el (smerge-refined-changed): Rename from
944 `smerge-refined-change'.
945 (smerge-refined-change): Add obsolete face alias.
946
947 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
948
949 * rect.el (rectangle-preview): New custom.
950 (rectangle): New group.
951 (rectangle--pos-cols): Add `window' argument.
952 (rectangle--string-preview-state, rectangle--string-preview-window):
953 New vars.
954 (rectangle--string-flush-preview, rectangle--string-erase-preview)
955 (rectangle--space-to, rectangle--string-preview): New functions.
956 (string-rectangle): Use them.
957 (rectangle--inhibit-region-highlight): New var.
958 (rectangle--highlight-for-redisplay): Obey it. Make sure
959 `apply-on-region' uses the point-crutches of the right window.
960 Use :align-to rather than multiple spaces.
961
962 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
963
964 * ruler-mode.el (ruler-mode-window-col)
965 (ruler-mode-mouse-set-left-margin)
966 (ruler-mode-mouse-set-right-margin): Fix calculation of column
967 from mouse position (Bug#17768).
968
969 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
970
971 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
972 without varname or rhs causes crash.
973 (dun-ftp): Fix bug where blank ftp password is allowed, making it
974 impossible to win endgame.
975 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
976 rlogin is anymore.
977 (dun-help): Bump version number; update contact info.
978
979 2014-06-15 Eli Barzilay <eli@barzilay.org>
980
981 * calculator.el (calculator-prompt, calculator-remove-zeros)
982 (calculator-mode-hook, calculator-operators, calculator-stack)
983 (calculator-mode): Tweak docstring.
984 (calculator-user-operators): Tweak docstring, fix a bug in the last
985 example.
986 (calculator-displayer): `std' case has an optional boolean.
987 (calculator-displayers): Use the new boolean to group in decimal mode.
988 (calculator-mode-map, calculator, calculator-message)
989 (calculator-op-arity, calculator-add-operators)
990 (calculator-string-to-number, calculator-displayer-prev)
991 (calculator-displayer-next, calculator-remove-zeros)
992 (calculator-eng-display, calculator-number-to-string)
993 (calculator-update-display, calculator-last-input)
994 (calculator-clear-fragile, calculator-digit, calculator-decimal)
995 (calculator-exp, calculator-saved-move, calculator-clear)
996 (calculator-copy, calculator-put-value, calculator-help)
997 (calculator-expt, calculator-truncate): Minor code improvements.
998 (calculator-need-3-lines): New function pulling out code from
999 `calculator'.
1000 (calculator-get-display): Rename from `calculator-get-prompt', and
1001 improved.
1002 (calculator-push-curnum): Rename from `calculator-curnum-value', and
1003 extended for all uses of it. All callers changed.
1004 (calculator-groupize-number): New utility for splitting a number into
1005 groups.
1006 (calculator-standard-displayer): Improve code, new optional argument to
1007 use comma-split groups, make second argument optional too to use with
1008 'left/'right inputs. All callers changed.
1009 (calculator-reduce-stack-once): New utility, doing the meat of what
1010 `calculator-reduce-stack' used to do, much improved (mostly using
1011 `pcase' for conciseness and clarity).
1012 (calculator-reduce-stack): Now doing just the reduction loop using
1013 `calculator-reduce-stack-once'.
1014 (calculator-funcall): Improve code, make it work in v24.3.1 too.
1015 (calculator-last-input): Improve code, remove some old cruft.
1016 (calculator-quit): Kill `calculator-buffer' in electric mode too.
1017 (calculator-integer-p): Remove.
1018 (calculator-fact): Improve code, make it work on non-integer values
1019 too (using truncated numbers).
1020
1021 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
1022
1023 Sync with Tramp 2.2.10.
1024
1025 * net/tramp.el (tramp-methods): Tweak docstring.
1026 (tramp-handle-file-accessible-directory-p): Check for
1027 `file-readable-p' instead of `file-executable-p'.
1028 (tramp-check-cached-permissions):
1029 Use `tramp-compat-file-attributes'.
1030 (tramp-call-process): Add new argument VEC. Adapt callees in all
1031 tramp*.el files.
1032
1033 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
1034 (tramp-adb-maybe-open-connection): Don't set
1035 `tramp-current-*' variables.
1036
1037 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
1038 file properties of temporary buffers.
1039
1040 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
1041
1042 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
1043 (tramp-gvfs-handle-delete-file): Flush file
1044 properties, not directory properties.
1045 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
1046 reading "unix::mode".
1047 (tramp-gvfs-handle-file-name-all-completions):
1048 Use "-h" option for "gvfs-ls".
1049 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
1050 (tramp-gvfs-send-command): Simplify traces.
1051
1052 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
1053 (vc-git-program, vc-hg-program): Declare.
1054 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
1055 (tramp-methods) <nc>: Add new method.
1056 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
1057 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
1058 `tramp-login-args'.
1059 (tramp-default-user-alist): Add "nc".
1060 (top): Remove completion function for "sftp". Add completion
1061 functions for "nc" and "psftp".
1062 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
1063 Implement support for "nc" method.
1064 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
1065 (tramp-remote-coding-commands, tramp-call-local-coding-command):
1066 Tweak docstring.
1067 (tramp-sh-handle-write-region): Tweak error message.
1068 (tramp-sh-handle-vc-registered): Remove backends when the remote
1069 binary does not exist.
1070 (tramp-find-inline-encoding): Do not raise an error.
1071 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
1072 the "nc" case. Quote result also locally.
1073
1074 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
1075 (tramp-smb-handle-set-file-acl): Use `start-process'.
1076 (tramp-smb-handle-insert-directory): Use progress reporter.
1077 (tramp-smb-handle-rename-file): Flush also file properties of
1078 FILENAME.
1079
1080 * net/trampver.el: Update release number.
1081
1082 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1083
1084 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
1085 add-to-list.
1086 (ses-localvars): Remove ses--local-printer-list, unused.
1087 (ses--metaprogramming): New macro. Use it to defvar variables.
1088 (ses-set-localvars): Simplify.
1089 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
1090 property-list into an alist.
1091 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
1092 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
1093 Remove; use defstruct accessors/setters instead.
1094 (ses-cell-formula-aset, ses-cell-printer-aset)
1095 (ses-cell-references-aset): Remove, use setf instead.
1096 (ses--alist-get): New function.
1097 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
1098 Use an alist instead of a plist and don't do move-to-front since the
1099 list is always short.
1100 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
1101 (ses-cell-property-set-fun, ses-cell-property-set)
1102 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
1103 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
1104 (ses--letref): New macro.
1105 (ses-cell-property-pop): Rewrite.
1106 (ses--cell): Rename from ses-cell and make it into a function.
1107 Make `formula' fallback on `value' if nil.
1108 (ses--local-printer): Rename from ses-local-printer and make it into
1109 a function.
1110 (ses-set-cell): Turn it into a macro so finding the accessor from the
1111 field name is done at compile time.
1112 (ses-repair-cell-reference-all): Test presence of `sym' rather than
1113 `ref' before adding `sym' to :ses-repair-reference.
1114 (ses-calculate-cell): Use ses--letref rather than
1115 ses-cell-property-get-handle.
1116 (ses-write-cells): Use a single prin1-to-string.
1117 (ses-setter-with-undo): New function.
1118 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
1119 (ses-unset-with-undo): Remove.
1120 (ses-load): Prefer apply' over `eval'.
1121 (ses-read-printer, ses-set-column-width): Use standard "(default
1122 foo)" format.
1123
1124 2014-06-15 Glenn Morris <rgm@gnu.org>
1125
1126 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
1127
1128 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
1129 Replace delete-duplicates and mapcan by cl- versions throughout.
1130 And cl-macroexpand-all by macroexpand-all.
1131 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
1132
1133 2014-06-15 Eli Zaretskii <eliz@gnu.org>
1134
1135 * subr.el (posn-col-row): Doc fix. (Bug#17768)
1136
1137 2014-06-15 Juri Linkov <juri@jurta.org>
1138
1139 * bindings.el: Put `ascii-character' property on keypad keys
1140 mapped to characters. (Bug#17759)
1141
1142 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
1143
1144 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
1145 bumping forward into a closing paren (bug#17761).
1146
1147 * term/xterm.el (xterm--version-handler): Work around for OSX
1148 Terminal.app (bug#17607).
1149
1150 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
1151
1152 * play/dunnet.el (dun-describe-room, dun-mode):
1153 If a lamp is in the room, you won't be eaten by a grue.
1154
1155 2014-06-13 Glenn Morris <rgm@gnu.org>
1156
1157 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
1158 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
1159 (compile-always): GNU make automatically passes
1160 command-line arguments to sub-makes.
1161
1162 * calendar/calendar.el (calendar-generate-window):
1163 Remove pointless call to font-lock-fontify-buffer.
1164
1165 2014-06-13 Matthias Meulien <orontee@gmail.com>
1166
1167 * simple.el (completion-list-mode-map): Navigate with tab and backtab
1168 (bug#17767).
1169
1170 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
1171
1172 * simple.el (set-mark-command): Simplify a bit.
1173
1174 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1175
1176 * help.el (help--key-binding-keymap): New function.
1177 (help--binding-locus): New function.
1178 (describe-key): Mention the keymap in which the binding was
1179 found. (bug#13948)
1180
1181 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1182
1183 * hippie-exp.el (he--all-buffers): New function.
1184 (try-expand-line-all-buffers, try-expand-list-all-buffers)
1185 (try-expand-dabbrev-all-buffers): Use it.
1186
1187 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
1188
1189 * hippie-exp.el (try-expand-line-all-buffers)
1190 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
1191 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
1192 original buffer, in case they're buffer-local.
1193
1194 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
1195
1196 * ses.el (ses-initial-global-parameters-re): New defconst, a
1197 specific regexp is needed now that ses.el can handle both
1198 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
1199 local printers.
1200 (ses-localvars): Add local variables needed for local printer handling.
1201 (ses-set-localvars): Handle hashmap initialisation.
1202 (ses-paramlines-plist): Add param-line for number of local printers.
1203 (ses-paramfmt-plist): New defconst, needed for code factorization
1204 between functions `ses-set-parameter' and
1205 `ses-file-format-extend-paramter-list'
1206 (ses-make-local-printer-info): New defsubst.
1207 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
1208 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
1209 (ses-cell-printer-aset): New defmacro.
1210 (ses-local-printer-compile): New defun.
1211 (ses-local-printer): New defmacro.
1212 (ses-printer-validate, ses-call-printer): Add support for local
1213 printer functions.
1214 (ses-file-format-extend-paramter-list): New defun.
1215 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
1216 factorization.
1217 (ses-load): Add support for local printer functions.
1218 (ses-read-printer): Update docstring and add support for local printer
1219 functions.
1220 (ses-refresh-local-printer, ses-define-local-printer): New defun.
1221 (ses-safe-printer): Add support for local printer functions.
1222
1223 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
1224
1225 * ffap.el (ffap-lax-url): New var (bug#17723).
1226 (ffap-url-at-point): Use it.
1227 (ffap-file-at-point): Avoid returning just "/".
1228
1229 2014-06-12 Matthias Meulien <orontee@gmail.com>
1230
1231 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
1232 (python-mode-map): Bind it.
1233
1234 * progmodes/python.el (class skeleton): Don't erase last char of class
1235 name (bug#17683).
1236
1237 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
1238
1239 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
1240
1241 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
1242
1243 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
1244 (bug#17745).
1245
1246 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
1247
1248 * international/mule-cmds.el: Use lexical-binding.
1249 (ucs-names): Simplify.
1250
1251 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
1252
1253 * progmodes/python.el (run-python): Use read-shell-command.
1254
1255 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
1256
1257 * rect.el: Make it possible to move bounds past EOL or into TABs.
1258 (operate-on-rectangle): Use apply-on-rectangle.
1259 (rectangle--mark-crutches): New var.
1260 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
1261 (rectangle--crutches, rectangle--reset-crutches): New functions.
1262 (apply-on-rectangle): Obey crutches. Avoid setq.
1263 Fix missing final iteration if end is at EOB&BOL.
1264 (rectangle-mark-mode-map): Add remap bindings for
1265 exchange-point-and-mark and char/line movements.
1266 (rectangle--*-char): New function.
1267 (rectangle-exchange-point-and-mark, rectangle-right-char)
1268 (rectangle-left-char, rectangle-forward-char)
1269 (rectangle-backward-char, rectangle-next-line)
1270 (rectangle-previous-line): New commands.
1271 (rectangle--place-cursor): New function.
1272 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
1273
1274 2014-06-08 Glenn Morris <rgm@gnu.org>
1275
1276 * startup.el (initial-buffer-choice): Doc fix.
1277 Reset :version (adding an option does not merit a :version bump).
1278
1279 * bookmark.el (bookmark-load):
1280 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
1281
1282 2014-06-08 Juri Linkov <juri@jurta.org>
1283
1284 * desktop.el: Activate auto-saving on window configuration changes.
1285 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
1286 `desktop-auto-save-set-timer' to/from
1287 `window-configuration-change-hook'.
1288 (desktop-auto-save-set-timer): Change REPEAT arg of
1289 `run-with-idle-timer' from t to nil.
1290 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
1291
1292 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
1293
1294 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
1295 vc-hg-command (bug#17570).
1296
1297 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
1298
1299 * international/mule-cmds.el (ucs-names): Add special entry for BEL
1300 (bug#17702).
1301
1302 2014-06-08 Glenn Morris <rgm@gnu.org>
1303
1304 * startup.el (window-setup-hook): Doc fix.
1305
1306 * emacs-lisp/package.el (package-check-signature)
1307 (package-unsigned-archives): Doc fixes.
1308
1309 2014-06-08 Martin Rudalics <rudalics@gmx.at>
1310
1311 * window.el (display-buffer-use-some-window): Don't make window
1312 used smaller than it was before (Bug#17671).
1313
1314 2014-06-08 Eli Zaretskii <eliz@gnu.org>
1315
1316 * menu-bar.el (menu-bar-open): Fix last change: use the PC
1317 'redisplay' instead of '(sit-for 0)'.
1318
1319 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
1320
1321 * net/tramp.el (tramp-ssh-controlmaster-options):
1322 Improve search regexp. (Bug#17653)
1323
1324 2014-06-08 Glenn Morris <rgm@gnu.org>
1325
1326 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
1327
1328 2014-06-08 Eli Zaretskii <eliz@gnu.org>
1329
1330 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
1331
1332 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
1333
1334 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
1335 (bug#17586).
1336
1337 * vc/vc-hg.el (vc-hg-log-graph): New var.
1338 (vc-hg-print-log): Use it.
1339 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
1340 graph output (bug#17515).
1341
1342 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
1343
1344 * mouse.el (mouse-posn-property): Ignore buffer position info when the
1345 even happened elsewhere.
1346
1347 2014-06-06 Mario Lang <mlang@delysid.org>
1348
1349 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
1350 `recenter' if `current-buffer' is equal to `window-buffer'.
1351
1352 2014-06-05 Leo Liu <sdl.web@gmail.com>
1353
1354 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
1355
1356 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
1357
1358 * textmodes/tildify.el (tildify-foreach-region-outside-env):
1359 New function which calls a callback on portions of the buffer that are
1360 outside of ignored environments.
1361 (tildify-build-regexp): Remove function since it is now
1362 incorporated in `tildify-foreach-region-outside-env' where it is
1363 optimised and simplified by the use of `mapconcat'.
1364 (tildify-tildify): Return number of substitutions made so that…
1365 (tildify-count): …can be removed.
1366 (tildify-find-env): Accept a new PAIRS argument which was
1367 previously looked up in `tildify-ignored-environments-alist' each
1368 time the function was called. With this change, the lookup is
1369 performed only once in `tildify-foreach-region-outside-env'.
1370 (tildify-region): Greatly simplify the function since now most of
1371 the work is done by `tildify-foreach-region-outside-env'.
1372 (tildify-mode-alist): Simplify slightly by avoiding if and setq
1373 and instead using or.
1374
1375 * textmodes/tildify.el (tildify-ignored-environments-alist):
1376 Optimise environments regexes
1377
1378 Each time beginning of an environment to ignore is found,
1379 `tildify-find-env' needs to identify regexp for the ending
1380 of the environment. This is done by trying all the opening
1381 regexes on matched text in a loop, so to speed that up, this
1382 loop should have fewer things to match, which can be done by
1383 using alternatives in the opening regexes.
1384
1385 Coincidentally, this should make matching of the opening
1386 regexp faster as well thanks to the use of `regexp-opt' and
1387 having common prefix pulled from many regexes.
1388
1389 * textmodes/tildify.el (tildify-string-alist)
1390 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
1391 of supported modes since `xml-mode' is no longer a thing but just
1392 an alias to the former. Also include comments and insides of tags
1393 in `tildify-ignored-environments-alist' for XML modes. Finally,
1394 since XML does not define “&nbsp;”[1], use a numeric reference for
1395 a no-break space (namely “&#160;”)
1396
1397 [1] XML specification defines only a handful of predefined entities.
1398 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
1399 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
1400 >, &, ' and " respectively). This is in contrast to HTML and even
1401 XHTML which defined a whole bunch of entities including “&nbsp;”.
1402
1403 * textmodes/tildify.el (tildify-pattern-alist)
1404 (tildify-string-alist, tildify-ignored-environments-alist):
1405 Improve defcustom's types by adding more tags explaining what each
1406 value means and replace “sexp” used in
1407 `tildify-ignored-environments-alist' with a full type declaration.
1408
1409 * textmodes/tildify.el (tildify-find-env): Fix matched group
1410 indexes in end-regex building
1411
1412 When looking for a start of an ignore-environment, the regex is built
1413 by concatenating regexes of all the environments configured in
1414 `tildify-ignored-environments-alist'. So for example, the following
1415 list could be used to match TeX's \verb and \verb* commands:
1416
1417 (("\\\\verb\\(.\\)" . (1))
1418 ("\\\\verb\\*\\(.\\)" . (1)))
1419
1420 This would result in the following regex being used to find the start
1421 of any of the variants of the \verb command:
1422
1423 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
1424
1425 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
1426 won't match anything, and thus (match-string 1) will be nil, which
1427 will cause building of the end-matching regex to fail.
1428
1429 Fix this by using capture groups from the time when the opening
1430 regexes are matched individually.
1431
1432 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
1433 in `tildify-find-env'
1434
1435 The `tildify-ignored-environments-alist' allows the end-regex to
1436 be provided not as a static string but mix of strings and indexes
1437 of groups matched the begin-regex. For example, the “\verb!…!”
1438 TeX-command (where “!” is an arbitrary character) is handled
1439 using:
1440
1441 ("\\\\verb\\*?\\(.\\)" . (1))
1442
1443 In the same way, the following should be supported as well:
1444
1445 ("open-\\(.\\)" . ("end-" 1))
1446
1447 However the tildify-find-env function fails at
1448
1449 (concat result
1450 (if (stringp (setq aux (car expression)))
1451 expression ; BUG: expression is a list
1452 (regexp-quote (match-string aux))))
1453
1454 where the string part is handled incorrectly.
1455
1456 The most trivial fix would be to replace `expression' in the
1457 true-part of the if-statement with `aux', but instead, this commit
1458 optimises `tildify-find-env' by changing it to use `mapconcat'
1459 rather than open-coded while-loop.
1460
1461 2014-06-05 Mario Lang <mlang@delysid.org>
1462
1463 * woman.el (woman-mapcan): Remove.
1464 (woman-parse-colon-path): Use cl-mapcan instead.
1465
1466 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1467
1468 * register.el: Add link to Emacs manual in Commentary.
1469
1470 2014-06-02 Sam Steingold <sds@gnu.org>
1471
1472 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
1473 (popup-menu): ...here.
1474 (menu-bar-open): Use it to avoid an error when `lookup-key'
1475 returns a number.
1476
1477 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
1478
1479 * net/tramp.el (tramp-call-process): Add traces.
1480 (tramp-handle-unhandled-file-name-directory): Return "/".
1481
1482 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
1483
1484 Sync with upstream verilog-mode revision 3cd8144.
1485 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
1486 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
1487 (verilog-type-font-keywords): Add nor.
1488 (verilog-batch-execute-func): Force reading of Local Variables.
1489 Fix printing "no changes to be saved" with verilog-batch.
1490 (verilog-auto-arg-ports): Doc fix.
1491 Add verilog-auto-arg-format to support newlines in AUTOARG.
1492 (verilog-auto-arg): Doc fix.
1493
1494 2014-06-02 Glenn Morris <rgm@gnu.org>
1495
1496 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
1497 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
1498 * emulation/ws-mode.el: Move to obsolete/.
1499 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
1500
1501 2014-06-02 Eli Zaretskii <eliz@gnu.org>
1502
1503 * simple.el (keyboard-quit): Force update of mode lines, to remove
1504 the "Def" indicator, if we were defining a macro. (Bug#17615)
1505
1506 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1507
1508 * minibuffer.el (minibuffer-force-complete-and-exit):
1509 Obey minibuffer-default (bug#17545).
1510
1511 * progmodes/js.el (js-indent-line): Don't mix columns and chars
1512 (bug#17619).
1513
1514 * subr.el (set-transient-map): Don't wait for some "nested"
1515 transient-map to finish if we're only supposed to be active for
1516 the next command (bug#17642).
1517
1518 2014-06-02 Leo Liu <sdl.web@gmail.com>
1519
1520 * emacs-lisp/gv.el (window-buffer, window-display-table)
1521 (window-dedicated-p, window-hscroll, window-point, window-start):
1522 Fix gv-expander. (Bug#17630)
1523
1524 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1525
1526 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
1527 clicks (bug#17633).
1528
1529 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
1530 for the single comma, since ", " is *very* common in normal French text
1531 (bug#17643).
1532
1533 2014-06-02 Glenn Morris <rgm@gnu.org>
1534
1535 * emacs-lisp/package.el (package-check-signature)
1536 (package-unsigned-archives): Fix :version.
1537
1538 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1539
1540 * subr.el (sit-for): Don't run input-methods (bug#15614).
1541
1542 2014-06-02 Glenn Morris <rgm@gnu.org>
1543
1544 * cus-start.el: Fix some :version numbers.
1545
1546 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
1547
1548 * simple.el (deactivate-mark): Set mark-active to nil even if
1549 deactivation is done via setting transient-mark-mode to nil,
1550 since one is buffer-local and the other is global.
1551
1552 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
1553 there can't be more than 2 arguments (bug#17584).
1554
1555 2014-06-02 Glenn Morris <rgm@gnu.org>
1556
1557 * simple.el (filter-buffer-substring-functions)
1558 (filter-buffer-substring-function, buffer-substring-filters)
1559 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
1560
1561 * minibuffer.el (completion-in-region-functions, completion-in-region)
1562 (completion--in-region): Doc fixes.
1563
1564 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
1565 (expand-abbrev, abbrev--default-expand): Doc fixes.
1566
1567 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
1568
1569 Include sources used to create macuvs.h.
1570 * international/README: Refer to the Unicode Terms of Use rather
1571 than copying it bodily here, as that simplifies maintenance.
1572
1573 2014-06-01 Glenn Morris <rgm@gnu.org>
1574
1575 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
1576
1577 2014-05-31 Glenn Morris <rgm@gnu.org>
1578
1579 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
1580
1581 2014-05-30 Glenn Morris <rgm@gnu.org>
1582
1583 * loadup.el: Treat `command-line-args' more flexibly.
1584
1585 2014-05-30 Alan Mackenzie <acm@muc.de>
1586
1587 Guard (looking-at "\\s!") from XEmacs.
1588 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
1589
1590 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
1591
1592 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
1593 The argument COUNT is now optional, to be more backward-compatible.
1594 Doc fix. (Bug#17560)
1595
1596 2014-05-29 Reuben Thomas <rrt@sc3d.org>
1597
1598 * whitespace.el (whitespace-report-region):
1599 Simplify documentation.
1600 (whitespace-report-region): Allow report-if-bogus to take the
1601 value `never', for non-interactive use.
1602 (whitespace-report): Refer to whitespace-report-region's
1603 documentation.
1604
1605 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
1606
1607 * whitespace.el: Use font-lock-flush. Minimize refontifications.
1608 Side benefit: it works without jit-lock.
1609 (whitespace-point--used): New buffer-local var.
1610 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
1611 (whitespace-color-off): Use font-lock-flush.
1612 (whitespace-point--used, whitespace-point--flush-used): New functions.
1613 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
1614 (whitespace-empty-at-eob-regexp): Use them.
1615 (whitespace-post-command-hook): Rewrite.
1616
1617 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
1618 (font-lock-fontify-buffer): Mark interactive-only.
1619 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
1620 Make buffer-local.
1621 (font-lock-specified-p): Remove redundant boundp check.
1622 (font-lock-flush-function, font-lock-ensure-function): New vars.
1623 (font-lock-turn-on-thing-lock): Set them.
1624 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
1625 (font-lock-after-change-function): Make `old-len' optional.
1626 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
1627 Call font-lock-flush, just in case.
1628 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
1629 recent Emacsen.
1630 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
1631 (vera-mode-map, vera-mode-menu): Remove bindings to it.
1632 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
1633 and with-syntax-table.
1634 * textmodes/conf-mode.el (conf-quote-normal):
1635 * progmodes/sh-script.el (sh-set-shell):
1636 * progmodes/prog-mode.el (prettify-symbols-mode):
1637 * progmodes/f90.el (f90-font-lock-n):
1638 * progmodes/cwarn.el (cwarn-mode):
1639 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
1640 * progmodes/compile.el (compilation-setup, compilation--unsetup):
1641 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
1642 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
1643 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
1644 font-lock-fontify-buffer-function and
1645 font-lock-unfontify-buffer-function.
1646 (rmail-unfontify-buffer-function, rmail-fontify-message):
1647 Use with-silent-modifications.
1648 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
1649 and font-lock-ensure.
1650 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
1651
1652 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
1653
1654 * emacs-lisp/package.el (package-generate-autoloads):
1655 Inhibit backup files.
1656
1657 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1658
1659 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
1660 (bug#17608).
1661
1662 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
1663
1664 * textmodes/tildify.el (tildify-buffer, tildify-region):
1665 Add dont-ask option.
1666
1667 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1668
1669 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
1670 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
1671
1672 * subr.el (internal--funcall-interactively): New.
1673 (internal--call-interactively): Remove.
1674 (called-interactively-p): Detect funcall-interactively instead of
1675 call-interactively.
1676 * simple.el (repeat-complex-command): Use funcall-interactively.
1677 (repeat-complex-command--called-interactively-skip): Remove.
1678
1679 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1680
1681 * register.el (register-read-with-preview): Don't burp on
1682 frame switches (e.g. due to the frame we just popped).
1683
1684 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
1685 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
1686
1687 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
1688
1689 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1690
1691 2014-05-26 Martin Rudalics <rudalics@gmx.at>
1692
1693 * window.el (window--dump-frame): Remove interactive specification.
1694
1695 2014-05-26 Glenn Morris <rgm@gnu.org>
1696
1697 * hippie-exp.el (he-line-search-regexp):
1698 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1699
1700 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
1701
1702 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1703 to avoid errors when trying to create or visit a file foo.todo
1704 located outside to todo-directory, and to allow having such files
1705 without them being tied to Todo mode (bug#17482).
1706 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1707 (todo-archive-done-item, todo-find-filtered-items-file)
1708 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1709 (todo-category-completions, todo-read-category): When visiting a
1710 Todo file, make sure we're in the right mode and the buffer local
1711 variables are set.
1712 (todo-make-categories-list, todo-reset-nondiary-marker)
1713 (todo-reset-done-string, todo-reset-comment-string):
1714 After processing all Todo files, kill the buffers of those files that
1715 weren't being visited before the processing.
1716 (todo-display-as-todo-file, todo-add-to-buffer-list)
1717 (todo-visit-files-commands): Comment out.
1718 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1719 (auto-mode-alist): Remove add-to-list calls making Todo file
1720 extensions unrestrictedly tied to Todo modes.
1721
1722 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1723
1724 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1725 (advice-function-member-p): Tell it to check both names and functions
1726 (bug#17531).
1727 (advice--add-function): Adjust call accordingly.
1728
1729 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
1730
1731 * calendar/todo-mode.el: Miscellaneous bug fixes.
1732 (todo-delete-file): When deleting an archive but not its todo
1733 file, make sure to update the todo file's category sexp.
1734 (todo-move-category): Keep the moved category's name unless the
1735 file moved to already has a category with that name. If the
1736 numerically last category of the source file was moved, make the
1737 first category current to avoid selecting a nonexisting category.
1738 (todo-merge-category): Fix implementation to make merging to a
1739 category in another file work as documented. Eliminate now
1740 insufficient and unnecessary renaming of archive category, correct
1741 document string accordingly, and clarify it. If the numerically
1742 last category of the source file was merged, make the first
1743 category current to avoid selecting a nonexisting category.
1744 (todo-archive-done-item): When there are marked items and point
1745 happens to be on an unmarked item, ignore the latter. Don't leave
1746 point below last item after archiving marked items.
1747 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1748 from an archive with only one category deletes the archive only
1749 when the category is empty after unarchiving. Make sure the todo
1750 file's category sexp is updated.
1751 (todo-read-file-name): Allow an existing file name even when it is
1752 not required (todo-move-category needs this to work as documented).
1753 (todo-add-file): Call todo-validate-name to reject the name of an
1754 existing todo file (needed due to fix in todo-read-file-name).
1755 (todo-reset-nondiary-marker): Also reset in filtered items files.
1756 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1757 regexp filtered items files.
1758 (todo-reset-highlight-item): Also reset in filtered items files.
1759 Fix incorrect variable reference in document string.
1760
1761 2014-05-26 Glenn Morris <rgm@gnu.org>
1762
1763 * window.el (window--dump-frame): Avoid error in --without-x builds.
1764
1765 2014-05-26 Glenn Morris <rgm@gnu.org>
1766
1767 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1768
1769 2014-05-26 Eli Zaretskii <eliz@gnu.org>
1770
1771 * frame.el (set-frame-font): Doc fix.
1772
1773 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1774
1775 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
1776
1777 * emacs-lisp/package.el (package--download-one-archive):
1778 Use `write-region' instead of `save-buffer' to avoid running various
1779 hooks. (Bug#17155)
1780 (describe-package-1): Same. Insert newline at the end of the
1781 buffer if appropriate.
1782
1783 2014-05-26 Juri Linkov <juri@jurta.org>
1784
1785 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1786 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1787 Add more modifiers: meta, control, shift, hyper, super, alt.
1788 (Bug#17439)
1789
1790 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1791 to allow changing its value with `set-variable'.
1792
1793 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1794
1795 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1796 #; comments.
1797 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1798 New functions.
1799 (scheme-mode-variables): Set syntax-propertize-function instead of
1800 font-lock-syntactic-face-function.
1801 (scheme-font-lock-syntactic-face-function): Delete.
1802
1803 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1804
1805 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1806 (bug#17392).
1807
1808 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
1809
1810 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1811 for a temporary file name.
1812
1813 2014-05-26 Eli Zaretskii <eliz@gnu.org>
1814
1815 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1816
1817 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
1818
1819 * net/dbus.el (dbus-init-bus, dbus-call-method)
1820 (dbus-call-method-asynchronously, dbus-send-signal)
1821 (dbus-method-return-internal, dbus-method-error-internal):
1822 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1823
1824 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1825
1826 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1827 methods which do not have a doc string. (Bug#17490)
1828
1829 2014-05-25 Tassilo Horn <tsdh@gnu.org>
1830
1831 * textmodes/reftex-ref.el (reftex-format-special): Make it work
1832 also for AMS Math's \eqref macro.
1833
1834 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1835
1836 Arrange to never byte-compile the generated -pkg.el file.
1837
1838 * emacs-lisp/package.el (package-generate-description-file):
1839 Output first-line comment to set buffer-local var `no-byte-compile'.
1840 Suggested by Dmitry Gutov:
1841 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
1842
1843 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1844
1845 Fix bug: Properly quote args to generated -pkg.el `define-package'.
1846
1847 * emacs-lisp/package.el (package-generate-description-file):
1848 Inline `package--alist-to-plist'; rewrite to selectively
1849 quote alist values that are not self-quoting.
1850 (package--alist-to-plist): Delete func.
1851
1852 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1853
1854 * term/xterm.el (xterm-function-map): Add mapping for shifted
1855 keypad keys.
1856
1857 2014-05-24 Daniel Colascione <dancol@dancol.org>
1858
1859 * progmodes/subword.el (subword-find-word-boundary): Move point to
1860 correct spot before search. (Bug#17580)
1861
1862 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
1863 breaking the build.
1864
1865 2014-05-24 Leo Liu <sdl.web@gmail.com>
1866
1867 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1868
1869 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1870
1871 * minibuffer.el (completion--sreverse): Remove.
1872 (completion--common-suffix): Use `reverse' instead.
1873 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
1874
1875 2014-05-22 Glenn Morris <rgm@gnu.org>
1876
1877 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
1878
1879 2014-05-21 Daniel Colascione <dancol@dancol.org>
1880
1881 * files.el (interpreter-mode-alist): Add mksh.
1882
1883 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
1884 derivative.
1885 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
1886 mksh. Improve custom spec; allow regular expressions.
1887 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
1888 (sh-after-hack-local-variables): New function.
1889 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
1890 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
1891 the normalization.
1892 (sh-canonicalize-shell): Rewrite to support regexes.
1893
1894 2014-05-21 Leo Liu <sdl.web@gmail.com>
1895
1896 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
1897
1898 2014-05-19 Leo Liu <sdl.web@gmail.com>
1899
1900 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
1901
1902 2014-05-18 Glenn Morris <rgm@gnu.org>
1903
1904 * loadup.el:
1905 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
1906
1907 2014-05-14 Sam Steingold <sds@gnu.org>
1908
1909 * progmodes/python.el (python-shell-get-or-create-process):
1910 Do not bind `current-prefix-arg' so that C-c C-z does not talk
1911 back unless requested.
1912
1913 2014-05-14 Glenn Morris <rgm@gnu.org>
1914
1915 * subr.el (with-file-modes): New macro.
1916 * printing.el (pr-save-file-modes): Make obsolete.
1917 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
1918 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
1919 Add with-file-modes.
1920 * doc-view.el (doc-view-make-safe-dir):
1921 * epg.el (epg--start):
1922 * files.el (locate-user-emacs-file, make-temp-file)
1923 (backup-buffer-copy, move-file-to-trash):
1924 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
1925 * eshell/esh-util.el (eshell-with-private-file-modes)
1926 (eshell-make-private-directory):
1927 * net/browse-url.el (browse-url-mosaic):
1928 * obsolete/mailpost.el (post-mail-send-it):
1929 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
1930 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
1931 Use with-file-modes.
1932
1933 * vc/emerge.el (emerge-make-temp-file): Simplify.
1934
1935 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1936 Stefan Monnier <monnier@iro.umontreal.ca>
1937
1938 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1939 suffix (bug#15419).
1940
1941 2014-05-14 Glenn Morris <rgm@gnu.org>
1942
1943 * vc/emerge.el (emerge-temp-file-prefix):
1944 Make pointless option obsolete.
1945 (emerge-temp-file-mode): Make non-functional option obsolete.
1946
1947 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
1948
1949 * net/browse-url.el (browse-url):
1950 Use `unhandled-file-name-directory' when setting `default-directory',
1951 in order to circumvent stalled remote connections. (Bug#17425)
1952
1953 2014-05-14 Glenn Morris <rgm@gnu.org>
1954
1955 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
1956 Optimize on Emacs, which has the relevant functions for ages.
1957
1958 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1959
1960 * simple.el (undo-make-selective-list): Obey undo-no-redo.
1961
1962 2014-05-12 Sam Steingold <sds@gnu.org>
1963
1964 * calendar/time-date.el (seconds-to-string): New function to
1965 pretty print time delay in seconds.
1966
1967 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1968
1969 * mpc.el (mpc-format): Trim Date to the year.
1970 (mpc-songs-hashcons): Shorten the Date field.
1971
1972 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1973 into autoloading just because of a silly indirection.
1974
1975 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1976
1977 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1978
1979 2014-05-12 Glenn Morris <rgm@gnu.org>
1980
1981 * emacs-lisp/find-gc.el: Move to ../admin.
1982
1983 * printing.el (pr-version):
1984 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1985
1986 * net/browse-url.el (browse-url-mosaic):
1987 Create /tmp/Mosaic.PID as a private file.
1988
1989 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1990
1991 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1992 (advice--member-p): If name is given, only compare the name.
1993 (advice--remove-function): Don't stop at the first match.
1994 (advice--normalize-place): New function.
1995 (add-function, remove-function): Use it.
1996 (advice--add-function): Pass the name, if any, to
1997 advice--remove-function.
1998
1999 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
2000
2001 * electric.el (electric-indent-post-self-insert-function): Don't use
2002 `pos' after modifying the buffer (bug#17449).
2003
2004 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
2005
2006 * calendar/todo-mode.el (todo-insert-item-from-calendar):
2007 Correct argument list to conform to todo-insert-item--basic.
2008
2009 2014-05-12 Glenn Morris <rgm@gnu.org>
2010
2011 * files.el (cd-absolute): Test if directory is accessible
2012 rather than executable. (Bug#17330)
2013
2014 * progmodes/compile.el (recompile):
2015 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
2016
2017 * net/browse-url.el (browse-url-mosaic):
2018 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
2019 This is CVE-2014-3423.
2020
2021 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
2022
2023 * mouse.el: Use the normal toplevel loop while dragging.
2024 (mouse-set-point): Handle multi-clicks.
2025 (mouse-set-region): Handle multi-clicks for drags.
2026 (mouse-drag-region): Update call accordingly.
2027 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
2028 Use the normal event loop instead of a local while/read-event loop.
2029 (global-map): Remove redundant bindings for double/triple-mouse-1.
2030 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
2031 Generate synthetic down events when the protocol only sends up events.
2032 (xterm-mouse-last): Remove.
2033 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
2034 terminal parameter instead.
2035 (xterm-mouse--set-click-count): New function.
2036 (xterm-mouse-event): Detect/generate double/triple clicks.
2037 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
2038
2039 * info.el (Info-quoted): New face.
2040 (Info-mode-font-lock-keywords): New var.
2041 (Info-mode): Use it.
2042
2043 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
2044 are a hindrance for C-x C-e.
2045
2046 2014-05-11 Leo Liu <sdl.web@gmail.com>
2047
2048 * net/rcirc.el (rcirc-sentinel): Fix last change.
2049
2050 2014-05-08 Sam Steingold <sds@gnu.org>
2051
2052 * net/rcirc.el (rcirc-reconnect-delay): New user option.
2053 (rcirc-sentinel): Auto-reconnect to the server if
2054 `rcirc-reconnect-delay' is non-0 (but not more often than its
2055 value in case the host is off-line).
2056
2057 2014-05-09 Eli Zaretskii <eliz@gnu.org>
2058
2059 * progmodes/grep.el (lgrep): Fix a typo in last commit.
2060
2061 2014-05-09 Glenn Morris <rgm@gnu.org>
2062
2063 * files.el (file-expand-wildcards):
2064 * man.el (Man-support-local-filenames):
2065 * printing.el (pr-i-directory, pr-interface-directory):
2066 * progmodes/grep.el (lgrep, rgrep):
2067 * textmodes/ispell.el (ispell-call-process)
2068 (ispell-call-process-region, ispell-start-process)
2069 (ispell-init-process): Use file-accessible-directory-p.
2070
2071 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2072
2073 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
2074 (xterm-mouse--read-event-sequence-1000): Return nil if something
2075 looks fishy.
2076 (xterm-mouse-event): Propagate it.
2077 (xterm-mouse-translate-1): Handle it.
2078
2079 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
2080
2081 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
2082 four slots of the parameter list are filled, make sure to pass it
2083 to the argument list of todo-insert-item--basic.
2084
2085 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2086
2087 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
2088 Add optional `seen' argument to detect and break infinite loops.
2089
2090 2014-05-08 Eli Zaretskii <eliz@gnu.org>
2091
2092 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
2093 (trace-unsafe, trace-use-tree): Make parentheses style be
2094 according to Emacs style.
2095
2096 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
2097
2098 * net/tramp-sh.el (tramp-remote-process-environment):
2099 Remove HISTFILE and HISTSIZE; it's too late to set them here.
2100 Add :version entry.
2101 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
2102 Add "HISTFILE=/dev/null" to the shell's env arguments. Do not send
2103 extra "PSx=..." commands.
2104 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
2105 (Bug#17295)
2106
2107 (tramp-uudecode): Replace the hard-coded temporary file name by a
2108 format specifier.
2109 (tramp-remote-coding-commands): Enhance docstring.
2110 (tramp-find-inline-encoding): Replace "%t" by a temporary file
2111 name. (Bug#17415)
2112 This is CVE-2014-3424.
2113
2114 2014-05-08 Glenn Morris <rgm@gnu.org>
2115
2116 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
2117 (find-gc-source-files): Update some names.
2118 (trace-call-tree): Simplify and update.
2119 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
2120 This is CVE-2014-3422.
2121
2122 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2123
2124 * minibuffer.el (completion--try-word-completion): Revert fix for
2125 Bug#15980 (bug#17375).
2126
2127 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
2128 Always store button numbers in the same way in xterm-mouse-last;
2129 Don't burp is xterm-mouse-last is not set as expected.
2130 Never return negative indices.
2131
2132 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
2133
2134 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2135 Backtrack one char if the global/char-literal var matcher hits
2136 inside a string. The next char could be the beginning of an
2137 expression expansion.
2138
2139 2014-05-08 Glenn Morris <rgm@gnu.org>
2140
2141 * help-fns.el (describe-function-1): Test for an autoload before a
2142 macro, since `macrop' works on autoloads. (Bug#17410)
2143
2144 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
2145
2146 * electric.el (electric-indent-functions-without-reindent): Add yaml.
2147
2148 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
2149 Make sure the new point we return is within the new string (bug#17239).
2150
2151 2014-05-05 Daniel Colascione <dancol@dancol.org>
2152
2153 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2154 Port `gnu' pattern to rx.
2155
2156 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
2157
2158 Remove unneeded prompt when closing a buffer with active
2159 emacsclient ("Buffer ... still has clients"), #16548.
2160 * server.el (server-start): Remove the only call to:
2161 (server-kill-buffer-query-function): Remove.
2162
2163 2014-05-04 Leo Liu <sdl.web@gmail.com>
2164
2165 * calendar/diary-lib.el (calendar-chinese-month-name-array):
2166 Defvar to pacify compiler.
2167
2168 2014-05-04 Eli Zaretskii <eliz@gnu.org>
2169
2170 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
2171
2172 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2173
2174 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2175 Use nil rather than `default' for the "default" appearance (bug#17388).
2176 * vc/ediff-util.el (ediff-inferior-compare-regions)
2177 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
2178 a misleading `default' value when it's really a boolean.
2179 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
2180 overlay is not visible.
2181
2182 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
2183
2184 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
2185 (todo-menu): Uncomment and update.
2186
2187 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
2188
2189 * calendar/todo-mode.el: Reimplement item editing to have the same
2190 basic user interface as item insertion, and make small UI and
2191 larger internal improvements to the latter.
2192 (todo-insert-item): Add reference to the Todo mode user manual to
2193 the documentation string.
2194 (todo-insert-item--basic): Rename from todo-basic-insert-item and
2195 adjust all callers. Change signature to combine diary and
2196 nonmarking arguments. Incorporate functionality of deleted item
2197 copying command and add error checking. Remove detailed
2198 descriptions of the arguments from the documentation string, since
2199 this is treated in the Todo mode user manual.
2200 (todo-copy-item, todo-edit-multiline-item)
2201 (todo-edit-done-item-comment, todo-edit-item-header)
2202 (todo-edit-item-time, todo-edit-item-date-from-calendar)
2203 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
2204 (todo-edit-item-date-year, todo-edit-item-date-month)
2205 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
2206 Remove.
2207 (todo-edit-item): Reimplement as wrapper command for
2208 todo-edit-item--next-key and make it distinguish done and not done
2209 todo items.
2210 (todo-edit-item--text): New function, replacing old command
2211 todo-edit-item and incorporating deleted commands
2212 todo-edit-multiline-item and todo-edit-done-item-comment.
2213 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
2214 Use only numeric value of prefix argument. Remove detailed
2215 descriptions of the arguments from the documentation string, since
2216 this is treated in the Todo mode user manual.
2217 (todo-edit-item--diary-inclusion): New function, replacing old
2218 command todo-edit-item-diary-inclusion and incorporating and fixing
2219 functionality of deleted command todo-edit-item-diary-nonmarking,
2220 making sure to remove todo-nondiary-marker when adding
2221 diary-nonmarking-symbol.
2222 (todo-edit-category-diary-inclusion): Make sure to delete
2223 diary-nonmarking-symbol when adding todo-nondiary-marker.
2224 (todo-edit-category-diary-nonmarking): Fix indentation.
2225 (todo-insert-item--parameters): Group diary and nonmarking
2226 parameters together.
2227 (todo-insert-item--apply-args): Adjust to signature of
2228 todo-insert-item--basic and incorporate copy parameter.
2229 Make small code improvements.
2230 (todo-insert-item--next-param): Improve prompt and adjust it to
2231 new parameter grouping. Remove obsolete code.
2232 (todo-edit-item--param-key-alist)
2233 (todo-edit-item--date-param-key-alist)
2234 (todo-edit-done-item--param-key-alist): New defconsts.
2235 (todo-edit-item--prompt): New variable.
2236 (todo-edit-item--next-key): New function.
2237 (todo-key-bindings-t): Bind "e" to todo-edit-item.
2238 Remove bindings of deleted commands.
2239
2240 2014-05-04 Leo Liu <sdl.web@gmail.com>
2241
2242 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
2243
2244 2014-05-04 Glenn Morris <rgm@gnu.org>
2245
2246 * allout-widgets.el (allout-widgets-tally)
2247 (allout-decorate-item-guides):
2248 * menu-bar.el (menu-bar-positive-p):
2249 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
2250 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
2251 * progmodes/js.el (js--inside-param-list-p)
2252 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
2253 * progmodes/prolog.el (region-exists-p):
2254 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
2255 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
2256 Doc fixes (replace `iff').
2257
2258 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
2259
2260 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
2261
2262 2014-05-04 Leo Liu <sdl.web@gmail.com>
2263
2264 Support Chinese diary entries in calendar and diary. (Bug#17393)
2265 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
2266 (calendar-chinese-from-absolute-for-diary)
2267 (calendar-chinese-to-absolute-for-diary)
2268 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
2269 (diary-chinese-list-entries): New functions to list and mark
2270 Chinese diary entries in the calendar window.
2271 (diary-chinese-anniversary)
2272 (diary-chinese-insert-anniversary-entry)
2273 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
2274 (diary-chinese-insert-yearly-entry): New commands to insert
2275 Chinese diary entries.
2276
2277 * calendar/diary-lib.el (diary-font-lock-keywords):
2278 Support font-locking Chinese dates.
2279
2280 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
2281 inserting Chinese diary entries.
2282
2283 * calendar/calendar.el (diary-chinese-entry-symbol):
2284 New customizable variable.
2285 (calendar-mode-map): Add bindings for inserting Chinese diary
2286 entries.
2287
2288 2014-05-03 Juri Linkov <juri@jurta.org>
2289
2290 * dired.el (dired-check-switches, dired-switches-recursive-p):
2291 New functions. (Bug#17218)
2292 (dired-switches-escape-p, dired-move-to-end-of-filename):
2293 Use `dired-check-switches'.
2294 (dired-insert-old-subdirs, dired-build-subdir-alist)
2295 (dired-sort-R-check): Use `dired-switches-recursive-p'.
2296
2297 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
2298
2299 * simple.el (undo-make-selective-list): New algorithm fixes
2300 incorrectness of position adjustments when undoing in region.
2301 (Bug#17235)
2302 (undo-elt-crosses-region): Make obsolete.
2303 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
2304 New functions to adjust positions using undo-deltas.
2305
2306 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
2307
2308 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
2309 the last consecutive closing paren (bug#17345).
2310
2311 2014-04-30 Reuben Thomas <rrt@sc3d.org>
2312
2313 * dired.el (dired-mode): make terminology for eXpunge command
2314 consistent. (Bug#17276)
2315
2316 2014-04-30 Eli Zaretskii <eliz@gnu.org>
2317
2318 * dired.el (dired-initial-position-hook, dired-initial-position):
2319 Doc string fixes.
2320
2321 2014-04-30 Glenn Morris <rgm@gnu.org>
2322
2323 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
2324
2325 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
2326
2327 * faces.el (face-spec-recalc): Apply X resources only after the
2328 defface spec has been applied. Thus, X resources are no longer
2329 overriden by the defface spec which also fixes issues on win32 where
2330 the toolbar coloring was wrong because it is set through X resources
2331 and was (wrongfully) overriden. (Bug#16694)
2332
2333 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
2334
2335 * textmodes/rst.el (electric-pair-pairs): Declare.
2336 (rst-mode): Set it (bug#17131).
2337
2338 2014-04-30 Juri Linkov <juri@jurta.org>
2339
2340 * desktop.el (desktop-value-to-string): Let-bind `print-length'
2341 and `print-level' to nil. (Bug#17351)
2342
2343 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2344
2345 * battery.el (battery-update): Handle the case where battery
2346 status is "N/A" (bug#17319).
2347
2348 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
2349
2350 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
2351 to syntax-propertize.
2352 (ps-mode-auto-indent): Mark as obsolete.
2353 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
2354 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
2355 word regexp operators.
2356 (ps-mode-map): Move initialization into declaration. Remove binding
2357 for TAB, RET, >, ], and }.
2358 (ps-mode-syntax-table): Move initialization into declaration.
2359 Don't give word syntax to non-word chars.
2360 (ps-run-mode-map): Move initialization into declaration.
2361 (ps-mode-menu-main): Remove auto-indent entry.
2362 (ps-mode-smie-rules): New function.
2363 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
2364 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
2365 (ps-mode--string-syntax-table): New const.
2366 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
2367 New functions.
2368 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
2369 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
2370
2371 2014-04-27 Daniel Colascione <dancol@dancol.org>
2372
2373 * term/xterm.el (xterm-paste): Use large finite timeout when
2374 reading event to avoid putting keys in this-command-keys.
2375
2376 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2377
2378 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
2379 (perl-syntax-propertize-function): Use it. Extend handling of
2380 here-docs to the unquoted case.
2381
2382 2014-04-25 Eli Zaretskii <eliz@gnu.org>
2383
2384 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
2385 Use equal-including-properties to compare help-echo strings (bug#17331).
2386
2387 2014-04-25 Leo Liu <sdl.web@gmail.com>
2388
2389 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
2390 Fix syntax for @. (Bug#17325)
2391
2392 2014-04-25 Daniel Colascione <dancol@dancol.org>
2393
2394 * emacs-lisp/cl.el (gv): Require gv early to break eager
2395 macro-expansion cycles.
2396
2397 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
2398
2399 * simple.el (region-active-p): Check there's a mark (bug#17324).
2400
2401 * simple.el (completion-list-mode-map): Use choose-completion for the
2402 mouse binding as well (bug#17302).
2403 (completion-list-mode, completion-setup-function): Adjust docstring and
2404 echo area message accordingly.
2405 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
2406 calling convention of choose-completion.
2407 * comint.el (comint-dynamic-list-completions):
2408 * term.el (term-dynamic-list-completions): Accept choose-completion.
2409
2410 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
2411 &, |, +, - and * can't be a division (bug#17317).
2412
2413 * term/xterm.el (xterm--version-handler): Don't use modern xterm
2414 features on gnome-terminal (bug#16988).
2415
2416 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
2417
2418 Improve Scheme font-locking for (define ((foo ...) ...) ...).
2419
2420 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
2421 the declared object, ignore zero or more parens, not zero or one.
2422
2423 2014-04-24 Leo Liu <sdl.web@gmail.com>
2424
2425 * progmodes/xscheme.el (xscheme-expressions-ring)
2426 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
2427 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
2428 (xscheme-allow-output-p, xscheme-prompt)
2429 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
2430
2431 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
2432 Comment out unused functions.
2433
2434 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
2435
2436 * info.el: Use lexical-binding and cl-lib.
2437 Use defvar-local and setq-local instead of make-local-variable.
2438 (Info-apropos-matches): Avoid add-to-list.
2439 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
2440
2441 2014-04-24 Daniel Colascione <dancol@dancol.org>
2442
2443 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
2444
2445 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2446
2447 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
2448
2449 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
2450
2451 * dired.el (dired-insert-set-properties): Do not consider
2452 subdirectory headings and empty lines to be information that
2453 `dired-hide-details-mode' should hide. (Bug#17228)
2454
2455 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
2456
2457 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2458 Remove test messages.
2459 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
2460 and `target' twice.
2461
2462 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2463
2464 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
2465 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
2466
2467 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
2468
2469 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
2470
2471 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
2472 Set "IFS=" when using read builtin, in order to preserve spaces in
2473 the file name. Add test messages for hunting a bug on hydra.
2474 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
2475
2476 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2477
2478 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
2479 Don't prettify a word within a symbol.
2480
2481 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
2482
2483 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
2484 possible.
2485
2486 2014-04-22 Daniel Colascione <dancol@dancol.org>
2487
2488 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
2489 use defun to define `function-put'.
2490
2491 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2492
2493 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
2494 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
2495 (lisp-mode-variables): Set font-lock-extra-managed-props.
2496
2497 * emacs-lisp/byte-run.el (function-put): New function.
2498 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
2499 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
2500 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
2501 Use them.
2502
2503 2014-04-22 Daniel Colascione <dancol@dancol.org>
2504
2505 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
2506 Add `full-p' parameter; when nil, call `macroexpand' instead of
2507 `macroexpand-all'.
2508
2509 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2510 Improve docstrings.
2511
2512 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
2513 Use lambda function values, not quoted lambdas.
2514 (byte-compile-recurse-toplevel): Remove extraneous &optional.
2515
2516 * emacs-lisp/cl-macs.el
2517 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
2518 (cl-struct-slot-value): Conditionally use aref or nth so that the
2519 compiler produces optimal code.
2520
2521 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
2522
2523 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
2524 (inline): Don't inline cl--set-elt.
2525 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
2526 Define as inlinable instead.
2527 (cl-struct-set-slot-value): Remove.
2528
2529 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
2530 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
2531 Use setf instead.
2532
2533 2014-04-21 Daniel Colascione <dancol@dancol.org>
2534
2535 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
2536 last two parameters after all.
2537 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
2538 (cl--compiler-macro-assoc,cl-struct-slot-value)
2539 (cl-struct-set-slot-value): Stop using them.
2540
2541 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
2542
2543 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
2544 entry in image-mode-winprops-alist.
2545
2546 2014-04-21 Daniel Colascione <dancol@dancol.org>
2547
2548 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
2549 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
2550 (byte-compile-toplevel-file-form): Use it.
2551
2552 * emacs-lisp/cl-macs.el:
2553 (cl--loop-let): Properly destructure `while' clauses.
2554
2555 2014-04-20 Daniel Colascione <dancol@dancol.org>
2556
2557 * vc/vc.el (vc-root-dir): New public autoloaded function for
2558 generically finding the current VC root.
2559 * vc/vc-hooks.el (vc-not-supported): New error.
2560 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
2561
2562 2014-04-20 Daniel Colascione <dancol@dancol.org>
2563
2564 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
2565 argument.
2566 (cl--const-expr-val): cl--const-expr-val should macroexpand its
2567 argument in case we're inside a symbol-macrolet.
2568 (cl--do-arglist, cl--compiler-macro-typep)
2569 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
2570 environment to `cl--const-expr-val'.
2571 (cl-struct-sequence-type,cl-struct-slot-info)
2572 (cl-struct-slot-offset, cl-struct-slot-value)
2573 (cl-struct-set-slot-value): New functions.
2574
2575 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
2576
2577 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
2578 assignments such as "case=hello" (bug#17297).
2579
2580 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
2581
2582 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
2583 Do not autoload.
2584 (tramp-file-name-handler, tramp-completion-file-name-handler):
2585 Revert patch from 2014-04-10, it isn't necessary anymore.
2586 (tramp-autoload-file-name-handler)
2587 (tramp-register-autoload-file-name-handlers): New defuns.
2588 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
2589 (tramp-register-file-name-handlers): Remove also
2590 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
2591 Do not autoload its invocation, but eval it after loading of 'tramp.
2592
2593 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
2594
2595 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
2596
2597 2014-04-17 Daniel Colascione <dancol@dancol.org>
2598
2599 Add support for bracketed paste mode; add infrastructure for
2600 managing terminal mode enabling and disabling automatically.
2601
2602 * xt-mouse.el:
2603 (xterm-mouse-mode): Simplify.
2604 (xterm-mouse-tracking-enable-sequence)
2605 (xterm-mouse-tracking-disable-sequence): New constants.
2606 (turn-on-xterm-mouse-tracking-on-terminal)
2607 (turn-off-xterm-mouse-tracking-on-terminal):
2608 Use tty-mode-set-strings and tty-mode-reset-strings terminal
2609 parameters instead of random hooks.
2610 (turn-on-xterm-mouse-tracking)
2611 (turn-off-xterm-mouse-tracking): Delete.
2612
2613 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
2614 (xterm-paste-ending-sequence): New constant.
2615 (xterm-paste): New command used for bracketed paste support.
2616
2617 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
2618 (terminal-init-xterm-bracketed-paste-mode): New function.
2619 (terminal-init-xterm): Call it.
2620 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
2621 and tty-mode-reset-strings instead of random hooks.
2622 (xterm-turn-on-modify-other-keys)
2623 (xterm-turn-off-modify-other-keys)
2624 (xterm-remove-modify-other-keys): Delete obsolete functions.
2625
2626 * term/screen.el: Rewrite to just use the xterm code.
2627 Add copyright notice. Mention tmux.
2628
2629 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
2630
2631 * image-mode.el (image-mode-window-put): Also update the property of
2632 the "default window".
2633 * doc-view.el (doc-view-new-window-function): If no window
2634 exists, move to the last known page.
2635
2636 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2637
2638 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
2639 here-documents (bug#17262).
2640
2641 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2642
2643 * term/pc-win.el (x-list-fonts, x-get-selection-value):
2644 Provide doc strings, as required by snarf-documentation.
2645
2646 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
2647
2648 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
2649 arg of overlays-at. Use `invisible-p'.
2650
2651 * obsolete/lucid.el (extent-at):
2652 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
2653 overlays-at.
2654 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2655
2656 2014-04-16 João Távora <joaotavora@gmail.com>
2657
2658 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2659 links. (Bug#17217).
2660
2661 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2662
2663 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2664 Use mapc to loop over a vector. (Bug#17257).
2665
2666 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
2667
2668 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2669 patch, there are new problems with file names containing spaces.
2670 Get rid of backticks. (Bug#17238)
2671
2672 2014-04-16 João Távora <joaotavora@gmail.com>
2673
2674 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2675 possible bug.
2676
2677 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2678
2679 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2680 (blink-cursor-mode): Mention customization variables and the
2681 effect of 'blink-cursor-blinks'.
2682
2683 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
2684
2685 * simple.el (undo): Prevent insertion of identity mapping into
2686 undo-equiv-table so as undo-only does not inf loop in the presence
2687 of consecutive nils in undo list.
2688
2689 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
2690
2691 * faces.el (make-face): Deprecate optional argument as it is no
2692 longer needed/used since the conditional X resources handling
2693 has been pushed down to make-face-x-resource-internal itself.
2694 (make-empty-face): Don't pass optional argument to make-face.
2695
2696 2014-04-16 Karl Fogel <kfogel@red-bean.com>
2697
2698 * savehist.el (savehist-save): Remove workaround for a read-passwd
2699 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
2700 noticing that the shim was still present.
2701
2702 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2703
2704 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
2705
2706 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
2707
2708 * faces.el (face-set-after-frame-default): Remove unused local variable.
2709
2710 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2711
2712 * progmodes/grep.el: Use lexical-binding.
2713 (grep-expand-template): Pass explicit lexical env to `eval'.
2714 (zrgrep): Let-bind grep-find-template explicitly.
2715
2716 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
2717 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
2718
2719 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2720
2721 * international/characters.el <standard-case-table>: Add entries
2722 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2723 Set category of Coptic characters be 'g' (Greek).
2724
2725 2014-04-12 Leo Liu <sdl.web@gmail.com>
2726
2727 * progmodes/octave.el (completion-table-with-cache):
2728 Define if not available.
2729 (octave-goto-function-definition, octave-sync-function-file-names)
2730 (octave-find-definition-default-filename):
2731 Backquote upattern for compatibility.
2732
2733 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
2734
2735 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2736 name twice due to backticks. (Bug#17238)
2737
2738 2014-04-12 Glenn Morris <rgm@gnu.org>
2739
2740 * term/w32-win.el (x-win-suspend-error):
2741 * term/x-win.el (x-win-suspend-error): Sync docs.
2742
2743 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2744
2745 * faces.el (make-face): Remove deprecated optional argument.
2746 The conditional application of X resources is handled directly by
2747 make-face-x-resource-internal since Emacs 24.4.
2748 (make-empty-face): Don't pass optional argument to make-face.
2749
2750 2014-04-11 Glenn Morris <rgm@gnu.org>
2751
2752 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
2753
2754 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2755
2756 Ediff's overlay priorities cause more trouble than they solve.
2757 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2758 (ediff-highest-priority): Remove function (bug#17234).
2759 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2760 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2761 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2762 overlay priorities.
2763
2764 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
2765
2766 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2767 entry; use symbol boundaries to avoid mis-matches.
2768
2769 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2770
2771 * net/tramp.el (tramp-file-name-handler)
2772 (tramp-completion-file-name-handler): Avoid recursive loading.
2773
2774 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2775 Quote result also locally.
2776
2777 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2778
2779 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
2780 Remove left-over code.
2781
2782 * newcomment.el (comment-indent-new-line): Sink code where it's used.
2783 Reuse the previous comment's indentation unconditionally if it's on its
2784 own line.
2785
2786 2014-04-09 Daniel Colascione <dancol@dancol.org>
2787
2788 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
2789 `no-syntax-crossing' arguments. Forward to `up-list'.
2790 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
2791 Implement logic for escaping from strings. Use narrowing to deal
2792 with corner cases.
2793
2794 2014-04-09 Leo Liu <sdl.web@gmail.com>
2795
2796 * net/rcirc.el (rcirc-connection-info): New variable.
2797 (rcirc-connect): Use it to store connection info.
2798 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
2799 for killed process.
2800 (rcirc-cmd-reconnect): New command. (Bug#17045)
2801 (rcirc-mode, set-rcirc-encode-coding-system)
2802 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
2803
2804 2014-04-09 Daniel Colascione <dancol@dancol.org>
2805
2806 * emacs-lisp/cl-indent.el: Add comment claiming
2807 facility is also good for elisp.
2808 (lisp-indent-find-method): New function.
2809 (common-lisp-indent-function): Recognize cl-loop.
2810 (common-lisp-indent-function-1): Recognize cl constructs; use
2811 `lisp-indent-find-method' instead of `get' directly.
2812 (if): Use else-body style for elisp.
2813
2814 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2815
2816 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2817 Module methods. (Bug#17216)
2818
2819 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
2820
2821 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2822 (describe-bindings-internal): Mark obsolete.
2823
2824 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
2825
2826 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
2827 buffer-file-name, and buffer-file-truename any more.
2828
2829 2014-04-08 Leo Liu <sdl.web@gmail.com>
2830
2831 Use lexical-binding and require cl-lib.
2832 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
2833 (rcirc-handler-generic, rcirc-fill-paragraph)
2834 (rcirc-format-response-string, rcirc-target-buffer)
2835 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
2836 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
2837 (rcirc-ctcp-sender-PING, rcirc-browse-url)
2838 (rcirc-markup-timestamp, rcirc-markup-attributes)
2839 (rcirc-markup-my-nick, rcirc-markup-urls)
2840 (rcirc-markup-bright-nicks, rcirc-markup-fill)
2841 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
2842 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
2843 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
2844 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
2845 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
2846 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
2847 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
2848 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
2849 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
2850 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
2851 use cl-lib.
2852
2853 2014-04-07 João Távora <joaotavora@gmail.com>
2854
2855 * elec-pair.el (electric-pair--syntax-ppss):
2856 When inside comments parse from comment beginning.
2857 (electric-pair--balance-info): Fix typo in comment.
2858 (electric-pair--in-unterminated-string-p): Delete.
2859 (electric-pair--unbalanced-strings-p): New function.
2860 (electric-pair-string-bound-function): New var.
2861 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2862 according to `electric-pair--in-unterminated-string-p'
2863
2864 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2865 Inhibit quote pairing if point-max is inside an unterminated string.
2866 (electric-pair--looking-at-unterminated-string-p): Delete.
2867 (electric-pair--in-unterminated-string-p): New function.
2868
2869 2014-04-07 Glenn Morris <rgm@gnu.org>
2870
2871 * shell.el (shell-directory-tracker):
2872 Go back to just ignoring failures. (Bug#17159)
2873
2874 2014-04-07 João Távora <joaotavora@gmail.com>
2875
2876 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2877 backspace. (bug#16981)
2878 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2879 (electric-pair-backward-delete-char-untabify): Delete.
2880 (electric-pair-mode-map): Bind backspace to a menu item filtering
2881 a new `electric-pair-delete-pair' command.
2882 (electric-pair-delete-pair): New command.
2883
2884 * progmodes/python.el (python-electric-pair-string-delimiter):
2885 Fix triple-quoting electricity. (Bug#17192)
2886
2887 * elec-pair.el (electric-pair-post-self-insert-function):
2888 Don't skip whitespace when `electric-pair-text-pairs' and
2889 `electric-pair-pairs' were used. syntax to
2890 electric-pair--skip-whitespace. (Bug#17183)
2891
2892 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2893
2894 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2895 "<F>". (Bug#17199)
2896
2897 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2898
2899 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2900 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2901
2902 2014-04-07 Glenn Morris <rgm@gnu.org>
2903
2904 * help.el (view-lossage): Doc tweak.
2905
2906 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
2907
2908 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2909 only when inhibit-x-resources is nil, and do that earlier in the
2910 function. Doc fix. (Bug#16694)
2911 (face-spec-choose): Accept additional optional argument, whose
2912 value is returned if no matching attributes are found.
2913 (face-spec-recalc): Use the new optional argument when calling
2914 face-spec-choose. (Bug#16378)
2915 (make-face-x-resource-internal): Do nothing when
2916 inhibit-x-resources is non-nil. Don't touch the default face if
2917 reversed video is given--as was done in previous versions of Emacs.
2918 (face-set-after-frame-default): Don't call
2919 make-face-x-resource-internal here. (Bug#16434)
2920
2921 2014-04-07 Tassilo Horn <tsdh@gnu.org>
2922
2923 * doc-view.el (doc-view-bookmark-jump):
2924 Use `bookmark-after-jump-hook' to jump to the right page after the
2925 buffer is shown in a window. (bug#16090)
2926
2927 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2928
2929 * international/characters.el (mirroring): Fix last change:
2930 instead of loading uni-mirrored.el explicitly, do that implicitly
2931 by creating the 'mirroring' uniprop table. This avoids announcing
2932 the loading of uni-mirrored.el.
2933
2934 2014-04-07 Glenn Morris <rgm@gnu.org>
2935
2936 * files.el (buffer-stale--default-function)
2937 (buffer-stale-function, revert-buffer--default):
2938 * autorevert.el (auto-revert-buffers): Doc tweaks.
2939
2940 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2941
2942 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2943
2944 2014-04-07 Glenn Morris <rgm@gnu.org>
2945
2946 * files.el (make-backup-file-name-function)
2947 (make-backup-file-name, make-backup-file-name--default-function)
2948 (make-backup-file-name-1, find-backup-file-name)
2949 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2950 (buffer-stale--default-function, buffer-stale-function)
2951 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2952 (revert-buffer, revert-buffer--default)
2953 (revert-buffer-insert-file-contents--default-function):
2954 Doc fixes related to defaults no longer being nil.
2955 (make-backup-file-name-function): Bump :version.
2956 Restore nil as a valid but deprecated custom type.
2957
2958 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2959
2960 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2961 Handle $' used as a variable (bug#17174).
2962
2963 * progmodes/perl-mode.el (perl-indent-new-calculate):
2964 Handle forward-sexp failure (bug#16985).
2965 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2966 modifiers introducing expressions (bug#17116).
2967
2968 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2969
2970 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
2971
2972 2014-04-05 Leo Liu <sdl.web@gmail.com>
2973
2974 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2975 Add define-compilation-mode.
2976
2977 2014-04-04 João Távora <joaotavora@gmail.com>
2978
2979 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
2980 parse from comment beginning.
2981 (electric-pair--balance-info): Fix typo in comment.
2982 (electric-pair--in-unterminated-string-p): Delete.
2983 (electric-pair--unbalanced-strings-p): New function.
2984 (electric-pair-string-bound-function): New var.
2985 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2986 according to `electric-pair--in-unterminated-string-p'.
2987
2988 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2989
2990 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
2991 Move declaration before first use.
2992 (reftex-move-to-next-arg): Silence compiler warning.
2993
2994 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
2995
2996 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
2997 Use `window-total-width' instead of `window-width'.
2998
2999 2014-04-03 Daniel Colascione <dancol@dancol.org>
3000
3001 * subr.el (set-transient-map): Remove rms's workaround entirely;
3002 use new `suspicious-object' subr to mark our lambda for closer
3003 scrutiny during gc.
3004
3005 2014-04-02 Richard Stallman <rms@gnu.org>
3006
3007 * subr.el (set-transient-map): Comment out previous change.
3008
3009 2014-04-02 Glenn Morris <rgm@gnu.org>
3010
3011 * menu-bar.el (menu-bar-file-menu):
3012 * vc/ediff.el (ediff-current-file):
3013 Update for revert-buffer-function no longer being nil by default.
3014
3015 * simple.el (command-execute): Respect nil disabled-command-function.
3016
3017 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3018
3019 * simple.el (command-execute): Do not execute the command when it
3020 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
3021
3022 2014-04-02 Juri Linkov <juri@jurta.org>
3023
3024 * dired-aux.el (dired-compress-file): Don't use string-match-p
3025 because its match data is used afterwards.
3026
3027 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
3028
3029 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
3030 0 like nil.
3031
3032 2014-04-02 João Távora <joaotavora@gmail.com>
3033
3034 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
3035 Inhibit quote pairing if point-max is inside an unterminated string.
3036 (electric-pair--looking-at-unterminated-string-p):
3037 Delete.
3038 (electric-pair--in-unterminated-string-p): New function.
3039
3040 2014-04-01 Daniel Colascione <dancol@dancol.org>
3041
3042 * minibuffer.el (minibuffer-complete): Prevent assertion failure
3043 when trying to complete the prompt.
3044
3045 2014-03-31 Leo Liu <sdl.web@gmail.com>
3046
3047 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
3048 Refactor out eldoc-documentation-function-default.
3049 (eldoc-documentation-function-default): New function.
3050 (eldoc-documentation-function): Change value.
3051
3052 2014-03-31 Glenn Morris <rgm@gnu.org>
3053
3054 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
3055
3056 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
3057 (vhdl-compose-components-package, vhdl-compose-configuration):
3058 Abbreviate default-directory (missing from some previous upstream sync).
3059
3060 2014-03-31 Reto Zimmermann <reto@gnu.org>
3061
3062 Sync with upstream vhdl mode v3.35.2.
3063 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3064 (top-level): No longer require assoc.
3065 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
3066 New functions. Use throughout to replace aget etc.
3067 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
3068 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
3069 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
3070 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
3071 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
3072 except `vhdl-compiler'.
3073 (vhdl-error-regexp-add-emacs): Remove all other compilers,
3074 when appropriate.
3075
3076 2014-03-31 Glenn Morris <rgm@gnu.org>
3077
3078 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
3079 Revert 2014-03-26 merge goof; go back to using defalias.
3080
3081 2014-03-30 Daniel Colascione <dancol@dancol.org>
3082
3083 * comint.el (comint-send-input):
3084 Deactivate completion-in-region-mode before we send comint input.
3085 (Bug#17139).
3086
3087 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
3088 on keyboard-quit.
3089
3090 2014-03-29 Glenn Morris <rgm@gnu.org>
3091
3092 * textmodes/reftex.el: Manage most autoloads automatically.
3093 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
3094 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
3095 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
3096 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
3097 * textmodes/reftex-toc.el: Set generated-autoload-file,
3098 and add autoload cookies for reftex.el.
3099 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
3100
3101 2014-03-28 Glenn Morris <rgm@gnu.org>
3102
3103 * cus-start.el (report-emacs-bug-address): Set custom properties.
3104 * mail/emacsbug.el (report-emacs-bug-address):
3105 Variable is now defined in emacs.c.
3106
3107 * mail/emacsbug.el (report-emacs-bug):
3108 Include system-configuration-features.
3109
3110 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
3111
3112 * simple.el (cycle-spacing): Never delete spaces on first run by
3113 default, but do so in a new 'fast mode and if there are already
3114 N spaces (the previous behavior).
3115 Compare N with its value in previous invocation so that changing
3116 prefix argument restarts `cycle-spacing' sequence.
3117 The idea is that with this change, binding M-SPC to
3118 `cycle-spacing' should not introduce any changes in behavior of
3119 the binding so long as users do not type M-SPC twice in a raw with
3120 the same prefix argument or lack thereof.
3121
3122 2014-03-28 Glenn Morris <rgm@gnu.org>
3123
3124 * faces.el (term-file-aliases): New variable.
3125 (tty-run-terminal-initialization): Respect term-file-aliases.
3126 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
3127 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
3128 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
3129
3130 2014-03-27 Glenn Morris <rgm@gnu.org>
3131
3132 * startup.el (inhibit-startup-hooks): Doc tweak.
3133 (normal-top-level): Simplify running of hooks.
3134 For window-setup-hook, respect inhibit-startup-hooks.
3135 (command-line-1): Don't set window-setup-hook to nil.
3136
3137 Allow selective autoloading from obsolete/ directory.
3138 * Makefile.in (obsolete-autoloads): New rule.
3139 (autoloads): Run obsolete-autoloads.
3140 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
3141 * simple.el (iswitchb-mode): Remove hand-written autoloads.
3142
3143 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
3144
3145 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3146 Highlight special globals with font-lock-builtin-face. (Bug#17057)
3147
3148 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3149 Don't propertize `?' or `!' as symbol constituent when after
3150 colon. (Bug#17097)
3151
3152 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
3153
3154 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
3155 which is no longer needed and causes trouble in GTK builds (bug#17046).
3156
3157 * emacs-lisp/package-x.el (package--archive-contents-from-url):
3158 Use url-insert-file-contents; package-handle-response no longer exists.
3159
3160 2014-03-26 Daniel Colascione <dancol@dancol.org>
3161
3162 * simple.el (process-menu-mode-map): New variable.
3163 (process-menu-delete-process): New command.
3164
3165 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
3166
3167 * emacs-lisp/package.el: Fix bug#16733 (again).
3168 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
3169 (url-http-target-url): Remove unused declarations.
3170 (package-handle-response): Remove.
3171 (package--with-work-buffer): Use url-insert-file-contents and simplify.
3172 (package--download-one-archive): Use current-buffer instead of
3173 dynamic binding of `buffer'.
3174 (describe-package-1): Do not decode readme-string.
3175
3176 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
3177
3178 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
3179
3180 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
3181 from 2014-03-07, it decreases performance unnecessarily. Let-bind
3182 `remote-file-name-inhibit-cache' to nil in the second pass.
3183 (tramp-find-executable): Do not call "which" on SunOS.
3184 (tramp-send-command-and-check): Fix docstring.
3185 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
3186 check whether source directory has set the sticky bit.
3187
3188 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
3189
3190 * simple.el (primitive-undo): Only process marker adjustments
3191 validated against their corresponding (TEXT . POS). Issue warning
3192 for lone marker adjustments in undo history. (Bug#16818)
3193 (undo-make-selective-list): Add marker adjustments to selective
3194 undo list based on whether their corresponding (TEXT . POS) is in
3195 the region. Remove variable adjusted-markers, which was unused
3196 and only non nil during undo-make-selective-list.
3197 (undo-elt-in-region): Return nil when passed a marker adjustment
3198 and explain in function doc.
3199
3200 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3201
3202 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
3203
3204 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
3205
3206 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
3207 Match special global variables without curlies, too.
3208 (ruby-font-lock-keywords): Simplify the matcher for special global
3209 variables. Don't require a non-word character after the variable.
3210 (Bug#17057)
3211
3212 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
3213
3214 * simple.el (redisplay-highlight-region-function): Increase priority of
3215 overlay to make sure boundaries are visible (bug#15899).
3216
3217 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
3218
3219 * frameset.el (frameset--initial-params): Fix typo in parameter name.
3220 (frameset-restore): Compare display strings with equal.
3221
3222 * frame.el (make-frame): Don't quote display name in error message,
3223 it is already a string.
3224
3225 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3226
3227 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
3228 the password.
3229
3230 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
3231
3232 * emacs-lisp/package.el (package--add-to-archive-contents):
3233 Include already installed and built-in packages in
3234 `package-archive-contents'.
3235 (package-install): Don't include already installed packages in the
3236 options during interactive invocation. (Bug#16762)
3237 (package-show-package-list): If the buffer is already displayed in
3238 another window, switch to that window.
3239
3240 2014-03-26 Reto Zimmermann <reto@gnu.org>
3241
3242 Sync with upstream vhdl mode v3.35.1.
3243 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
3244 (vhdl-compiler-alist): Doc fix.
3245 (vhdl-goto-line): Remove.
3246 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
3247 (vhdl-mode) <paragraph-start>: Fix value.
3248 (vhdl-fix-statement-region): Not `for' in wait-statement.
3249 (vhdl-beautify-region): Also (un)tabify.
3250 (vhdl-get-visible-signals):
3251 Scan declarative part of generate statements.
3252 (vhdl-template-record): Fix indentation for record type declaration.
3253 (vhdl-expand-abbrev, vhdl-expand-paren):
3254 Revert to using fset again rather than defalias.
3255 (vhdl-scan-directory-contents): Tweak.
3256 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
3257 (vhdl-compose-components-package):
3258 Replace vhdl-goto-line with forward-line.
3259 (top-level): Tweak speedbar frame selection.
3260 (vhdl-generate-makefile-1): Support for compilers with no
3261 unit-to-file name mapping (create directory with dummy files).
3262
3263 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
3264
3265 Sync with upstream verilog-mode revision 702457d.
3266 * progmodes/verilog-mode.el (verilog-mode-version): Update.
3267 (create-lockfiles): Declare.
3268 (verilog-read-decls): Fix module header imports, bug709.
3269 Reported by Victor Lau.
3270 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
3271 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
3272 interface-only modules, bug721. Reported by Dean Hoyt.
3273
3274 2014-03-26 Glenn Morris <rgm@gnu.org>
3275
3276 * obsolete/gulp.el: Move here from emacs-lisp/.
3277
3278 * files.el (lock-buffer, unlock-buffer, file-locked-p):
3279 Remove fallback aliases, since they are always defined now.
3280
3281 2014-03-24 Daniel Colascione <dancol@dancol.org>
3282
3283 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
3284 instead of cl-loop search function.
3285
3286 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
3287
3288 * calendar/parse-time.el (parse-time-iso8601-regexp)
3289 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
3290 it more generally.
3291
3292 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
3293
3294 * net/dns.el (network-interface-list): Define for XEmacs.
3295
3296 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
3297
3298 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
3299 the network interfaces changed.
3300 (dns-query): Use it to flush the data.
3301
3302 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
3303
3304 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
3305
3306 2014-03-23 Daniel Colascione <dancol@dancol.org>
3307
3308 Change subword-mode to use `find-word-boundary-function-table' and
3309 replace `capitalized-words-mode'. Also, convert to lexical
3310 binding.
3311
3312 * progmodes/cap-words.el: Delete now-obsolete file.
3313 * progmodes/subword.el: Reimplement using
3314 `find-word-boundary-function-table'.
3315 (subword-mode-map): Hollow out.
3316 (capitalized-words-mode): Define as obsolete alias for
3317 `subword-mode'.
3318 (subword-mode, superword-mode): Tweak documentation to reflect new
3319 implementation; call `subword-setup-buffer'.
3320 (subword-forward, subword-capitalize): Add underscore to indicate
3321 unused variable.
3322 (subword-find-word-boundary-function-table): New constant.
3323 (subword-empty-char-table): New constant.
3324 (subword-setup-buffer): New function.
3325 (subword-find-word-boundary): New function.
3326
3327 2014-03-23 Daniel Colascione <dancol@dancol.org>
3328
3329 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
3330 list to look for keyword arguments instead of `memq', fixing
3331 (Bug#3647) --- unfortunately, only for freshly-compiled code.
3332 Please make bootstrap.
3333
3334 2014-03-22 Glenn Morris <rgm@gnu.org>
3335
3336 * dired.el (dired-read-regexp): Make obsolete.
3337 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
3338 (dired-flag-files-regexp):
3339 * dired-aux.el (dired-mark-read-regexp):
3340 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
3341
3342 * startup.el (fancy-startup-text):
3343 * help.el (describe-gnu-project): Visit online info about GNU project.
3344
3345 * help-fns.el (help-fns--interactive-only): New function.
3346 (help-fns-describe-function-functions): Add the above function.
3347 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
3348 (next-line, previous-line): Remove hand-written interactive-only
3349 information from doc strings, it is auto-generated now.
3350 * bookmark.el (bookmark-write):
3351 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
3352 (epa-mail-import-keys): Mark interactive-only,
3353 and remove hand-written interactive-only information from doc strings.
3354 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
3355 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
3356 * files.el (not-modified):
3357 * simple.el (mark-whole-buffer): Mark interactive-only.
3358
3359 * emacs-lisp/byte-run.el (defun-declarations-alist):
3360 Add interactive-only. Doc tweak.
3361 (macro-declarations-alist): Doc tweak.
3362 * subr.el (declare): Doc tweak (add xref to manual).
3363 * comint.el (comint-run):
3364 * files.el (insert-file-literally, insert-file):
3365 * replace.el (replace-string, replace-regexp):
3366 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3367 (delete-forward-char, goto-line, insert-buffer, next-line)
3368 (previous-line): Set interactive-only via declare.
3369
3370 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
3371
3372 * emacs-lisp/package.el (package-desc): Use the contents of the
3373 quoted form, not its cdr. (Bug#16873)
3374
3375 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
3376
3377 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
3378 benefit of doc.c; change parameter profile to match the X function.
3379
3380 2014-03-22 Leo Liu <sdl.web@gmail.com>
3381
3382 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
3383 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
3384
3385 2014-03-21 Richard Stallman <rms@gnu.org>
3386
3387 * battery.el (battery-linux-sysfs): Search for each field
3388 from the beginning of the buffer.
3389
3390 * subr.el (set-transient-map): Clear out function and value
3391 of the temporary symbol when we're done with it.
3392
3393 * mail/rmailsum.el (rmail-summary-delete-forward):
3394 Optimize case of reaching end and handling count.
3395 (rmail-summary-mark-deleted): Optimize when N is current msg.
3396 Don't create new summary line.
3397 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
3398 (rmail-summary-undelete-many): Rewrite for speed.
3399 (rmail-summary-msg-number): New function.
3400
3401 * mail/rmail.el (rmail-delete-message): Update summary.
3402 (rmail-undelete-previous-message): Handle repeat count arg.
3403 (rmail-delete-backward, rmail-delete-forward): Likewise.
3404
3405 2014-03-21 Daniel Colascione <dancol@dancol.org>
3406
3407 * mail/emacsbug.el (report-emacs-bug): Include memory usage
3408 information in bug reports.
3409
3410 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
3411
3412 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
3413 and `tramp-copy-env'.
3414
3415 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
3416 (tramp-maybe-open-connection): Handle `tramp-login-env'.
3417
3418 2014-03-21 Glenn Morris <rgm@gnu.org>
3419
3420 * electric.el (electric-indent-post-self-insert-function): Add doc.
3421
3422 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
3423
3424 * emacs-lisp/package.el (package-compute-transaction):
3425 Use `version-list-<=' to compare the requirement version against
3426 the version of package already to be installed. Update the error
3427 message. (Bug#16826)
3428
3429 * progmodes/ruby-mode.el (ruby-smie-rules):
3430 Add indentation rule for ` @ '. (Bug#17050)
3431
3432 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
3433
3434 * align.el (align-regexp): Remove superfluous backslash.
3435
3436 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
3437 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
3438 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
3439 Fix docstring typos.
3440 (ffap-next): Use C-u in docstring.
3441 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
3442 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
3443 Remove superfluous backslashes.
3444 (ffap-string-at-point): Reflow docstring.
3445
3446 * server.el (server-host): Reflow docstring.
3447 (server-unload-function): Fix docstring typo.
3448 (server-eval-at): Remove superfluous backslash.
3449
3450 * skeleton.el (skeleton-insert): Remove superfluous backslash.
3451 (skeleton-insert): Doc fix.
3452 (skeleton-insert): Reflow docstring.
3453
3454 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
3455 (tty-color-approximate, tty-color-by-index, tty-color-values)
3456 (tty-color-desc): Remove superfluous backslashes.
3457
3458 2014-03-21 Glenn Morris <rgm@gnu.org>
3459
3460 * cus-start.el (history-length): Bump :version.
3461
3462 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3463 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3464 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3465 Don't set `make-backup-files'.
3466
3467 * info.el (info--prettify-description): New function,
3468 to give info-finder descriptions consistent case, punctuation.
3469 (Info-finder-find-node): Use it. Sort packages.
3470 Refer to "description" rather than "commentary".
3471
3472 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
3473
3474 * frameset.el (frameset--print-register): New function.
3475 (frameset-to-register): Use it.
3476
3477 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
3478
3479 * progmodes/hideif.el (hif-string-to-number): New function.
3480 (hif-tokenize): Use it to understand non-decimal floats.
3481
3482 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
3483
3484 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
3485
3486 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
3487
3488 * electric.el (electric-newline-and-maybe-indent): New command.
3489 Bind it globally to C-j.
3490 (electric-indent-mode): Don't mess with the global map any more.
3491 Don't drop the post-self-insert-hook is some buffer is still using it
3492 (bug#16770).
3493
3494 * bindings.el (global-map): Remove C-j binding.
3495
3496 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
3497 the docstring of functions advised before dumping (bug#16993).
3498
3499 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
3500
3501 * ps-print.el (ps-generate-postscript-with-faces):
3502 Explicitly deactivate the mark (bug#16866).
3503 * simple.el (deactivate-mark): Update region highlight.
3504
3505 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
3506
3507 * emacs-lisp/package.el (describe-package-1):
3508 Decode commentary (bug#16733).
3509
3510 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
3511
3512 * custom.el (defcustom): Doc fix: recommend avoiding destructive
3513 modification of the value argument of :set (bug#16755).
3514
3515 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
3516
3517 * simple.el (newline-and-indent): Do autofill (bug#17031).
3518
3519 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
3520
3521 * newcomment.el (comment-normalize-vars): Only add escaping check
3522 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
3523 (comment-beginning): Use `narrow-to-region' instead of moving back
3524 one character.
3525 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
3526 (comment-start-skip): Update the docstring.
3527
3528 2014-03-18 Richard Stallman <rms@gnu.org>
3529
3530 * dired.el (dired-display-file): Force use of other window.
3531
3532 2014-03-18 Daniel Colascione <dancol@dancol.org>
3533
3534 * startup.el (tty-handle-args): Remove debug message from 2007.
3535
3536 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
3537
3538 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
3539 (advice--make-interactive-form): Use it to avoid (auto)loading function.
3540 (advice--make-1, advice-add, advice-remove):
3541 Remove braindead :advice-pending hack.
3542
3543 2014-03-17 Glenn Morris <rgm@gnu.org>
3544
3545 * calendar/calendar.el (calendar-generate-month): Apply weekend
3546 face to the right days; fixes 2013-08-06 change. (Bug#17028)
3547
3548 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
3549
3550 * net/tramp.el (tramp-action-out-of-band): Read pending output.
3551 (tramp-call-process): Trace also DESTINATION.
3552
3553 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3554 Quote file names when they are local. Remove superfluous trace.
3555
3556 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
3557
3558 * newcomment.el (comment-beginning): If `comment-start-skip'
3559 doesn't match, move back one char and try again. (Bug#16971)
3560
3561 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
3562 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
3563 Set `comment-start-skip' to a simpler value that doesn't try to
3564 check if the semicolon is escaped (this is handled by
3565 `syntax-ppss' now). (Bug#16971)
3566
3567 * progmodes/scheme.el (scheme-mode-variables): Same.
3568
3569 2014-03-16 Martin Rudalics <rudalics@gmx.at>
3570
3571 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
3572 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
3573 current (Bug#16816, Bug#17007).
3574 (with-current-buffer-window): New macro doing the same as
3575 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
3576 * help.el (help-print-return-message): Warn in doc-string to not
3577 use this in `with-help-window'.
3578 (describe-bindings-internal): Call `describe-buffer-bindings'
3579 from within help buffer. See Juanma's scenario in (Bug#16816).
3580 (with-help-window): Update doc-string.
3581 * dired.el (dired-mark-pop-up):
3582 * files.el (save-buffers-kill-emacs):
3583 * register.el (register-preview): Use `with-current-buffer-window'
3584 instead of `with-temp-buffer-window'.
3585
3586 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
3587
3588 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
3589 Implement inserting into current buffer, documented in their docstrings.
3590 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
3591 (rst-section-tree-point, rst-forward-section, rst-indent)
3592 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
3593 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
3594 (rst-font-lock-handle-adornment-pre-match-form)
3595 (rst-repeat-last-character): Reflow docstrings.
3596 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
3597 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
3598 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
3599 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
3600 Fix docstring typos.
3601 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
3602 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
3603 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
3604
3605 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
3606
3607 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
3608 for compatibility with other ports.
3609 (ns-initialize-window-system): Use it. It is set in term/common-win.el
3610 from the -xrm command line argument, but in the Nextstep port its value
3611 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
3612
3613 * progmodes/python.el (defconst, python-syntax-count-quotes)
3614 (python-indent-region, python-indent-shift-right)
3615 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
3616 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
3617 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
3618 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
3619 (inferior-python-mode, python-shell-make-comint, run-python-internal)
3620 (python-shell-buffer-substring, python-shell-send-buffer)
3621 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
3622 (python-completion-complete-at-point, python-fill-docstring-style)
3623 (python-eldoc-function, python-imenu-format-item-label)
3624 (python-imenu-format-parent-item-label)
3625 (python-imenu-format-parent-item-jump-label)
3626 (python-imenu--build-tree, python-imenu-create-index)
3627 (python-imenu-create-flat-index): Fix docstring typos.
3628 (python-indent-context, python-shell-prompt-regexp, run-python):
3629 Remove superfluous backslashes.
3630 (python-indent-line, python-nav-beginning-of-defun)
3631 (python-shell-get-buffer, python-shell-get-process)
3632 (python-info-current-defun, python-info-current-line-comment-p)
3633 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
3634 (python-indent-post-self-insert-function, python-shell-send-file)
3635 (python-shell-completion-get-completions)
3636 (python-shell-completion-complete-or-indent)
3637 (python-eldoc--get-doc-at-point): Reflow docstrings.
3638
3639 2014-03-14 Glenn Morris <rgm@gnu.org>
3640
3641 * emacs-lisp/package.el (package-menu-mode-map):
3642 Replace use of obsolete function alias. Tweak menu item text.
3643
3644 * info.el (Info-finder-find-node):
3645 Ignore the `emacs' metapackage. (Bug#10813)
3646
3647 * finder.el (finder-list-matches): Include unversioned packages
3648 in the result of a keyword search.
3649
3650 * finder.el (finder--builtins-descriptions): New constant.
3651 (finder-compile-keywords): Use finder--builtins-descriptions.
3652
3653 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
3654
3655 * simple.el (blink-matching-paren): Describe the new value,
3656 `jump', enabling the old behavior.
3657 (blink-matching-open): Use that value. (Bug#17008)
3658
3659 2014-03-14 Glenn Morris <rgm@gnu.org>
3660
3661 * finder.el (finder-no-scan-regexp): Add leim-list.
3662 (finder-compile-keywords):
3663 Don't skip files with same basename. (Bug#14010)
3664 * Makefile.in (setwins_finder): New, excluding leim.
3665 (finder-data): Use setwins_finder.
3666
3667 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
3668 (help-function-arglist, help-make-usage): Move from here...
3669 * help.el (help-split-fundoc, help-add-fundoc-usage)
3670 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
3671 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
3672
3673 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
3674
3675 * net/socks.el (socks, socks-override-functions)
3676 (socks-find-services-entry):
3677 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
3678 (hif-find-ifdef-block):
3679 * progmodes/modula2.el (m2-indent): Fix docstring typos.
3680
3681 * net/tls.el (tls-program): Reflow docstring.
3682
3683 * progmodes/pascal.el (pascal-mode-abbrev-table)
3684 (pascal-imenu-generic-expression, pascal-auto-endcomments)
3685 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
3686 (pascal-outline-mode): Fix docstring typos.
3687 (pascal-mode): Let define-derived-mode document mode hook.
3688 (pascal-uncomment-area): Reflow.
3689 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
3690
3691 * progmodes/opascal.el (opascal-compound-block-indent)
3692 (opascal-case-label-indent): Fix docstring typos.
3693 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
3694
3695 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
3696
3697 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3698 Fontify multiple adjacent negation chars. (Bug#17004)
3699
3700 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
3701
3702 * emacs-lisp/package.el (package--prepare-dependencies):
3703 Accept requirements without explicit version (bug#14941).
3704
3705 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3706
3707 * register.el (register-separator, copy-to-register): Doc fixes.
3708 (register-preview-default): Remove unnecessary call to concat.
3709
3710 * frameset.el (frameset-restore): When checking for a visible frame,
3711 use the action map instead of calling visible-frame-list.
3712
3713 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
3714
3715 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
3716
3717 2014-03-12 Martin Rudalics <rudalics@gmx.at>
3718
3719 * window.el (fit-frame-to-buffer): Get maximum width from
3720 display's width instead of height.
3721
3722 2014-03-12 Glenn Morris <rgm@gnu.org>
3723
3724 * desktop.el (desktop-restore-frames)
3725 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
3726 (desktop-restore-reuses-frames): Doc tweaks.
3727
3728 * electric.el (electric-indent-mode): Doc fix.
3729
3730 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3731
3732 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3733 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3734 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3735 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3736 (cvs-dired-use-hook): Fix docstring typos.
3737 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3738 Doc fixes.
3739
3740 * vc/pcvs-defs.el (cvs-auto-remove-handled)
3741 (cvs-auto-remove-directories, cvs-default-ignore-marks)
3742 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3743 (cvs-execute-single-dir): Fix docstring typos.
3744
3745 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3746 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3747
3748 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3749
3750 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3751 Fix docstring typos.
3752
3753 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3754
3755 * frameset.el (frameset--jump-to-register): Add autoload; it could be
3756 called from jump-to-register after unloading the frameset package.
3757
3758 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3759
3760 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3761 (bug#16975). Deactivate the mark before setting it to nil.
3762 (activate-mark): Do nothing if region is already active.
3763
3764 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3765
3766 * frameset.el (frameset--target-display): Remove definition; declare.
3767 (frameset-save, frameset-restore): Let-bind frameset--target-display.
3768
3769 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3770
3771 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3772 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3773 when the advice is pending.
3774 (advice-remove): Remove this marker when not needed any more.
3775
3776 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3777
3778 * frameset.el: Separate options for reusing frames and cleaning up.
3779 (frameset--reuse-list): Remove definition; declare.
3780 (frameset--action-map): Declare.
3781 (frameset--find-frame-if): Doc fix.
3782 (frameset--restore-frame): Cache frame action.
3783 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3784 how to clean up the frame list after restoring. Remove cleaning
3785 options from REUSE-FRAMES. Change all keyword values to symbols.
3786 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3787
3788 * desktop.el (desktop-restore-forces-onscreen)
3789 (desktop-restore-reuses-frames): Use non-keyword values.
3790 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3791
3792 2014-03-10 Glenn Morris <rgm@gnu.org>
3793
3794 * files.el (find-file): Doc fix: update info node name.
3795
3796 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3797 Doc fix: remove references to deleted info nodes.
3798
3799 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3800
3801 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3802 Do not add nil to the environment, when there's no remote `locale'.
3803 (tramp-find-inline-encoding): Check, that the remote host has
3804 installed perl, before sending scripts.
3805
3806 2014-03-10 Leo Liu <sdl.web@gmail.com>
3807
3808 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3809 Clear eldoc-last-message. (Bug#16920)
3810
3811 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3812
3813 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3814 (bug#14430).
3815
3816 2014-03-09 Juri Linkov <juri@jurta.org>
3817
3818 * ansi-color.el (ansi-color-names-vector): Copy default colors
3819 from `xterm-standard-colors' that look well on the default white
3820 background (and also on the black background) to avoid illegible
3821 color combinations like yellow-on-white and white-on-white.
3822 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3823
3824 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3825
3826 * frameset.el (frameset-restore): When no frame is visible, do not
3827 generate a list of frames, just make visible the selected one.
3828
3829 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3830
3831 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3832 it only contains the repository root. (Bug#16897)
3833
3834 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3835
3836 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3837 only when `remote-file-name-inhibit-cache' is nil.
3838 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3839
3840 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3841
3842 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3843 Fix doc-strings.
3844 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3845 fit-frame-to-buffer variable. Fix doc-string.
3846 (fit-window-to-buffer): Set ONLY argument in call of
3847 fit-frame-to-buffer. Fix doc-string.
3848
3849 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3850
3851 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3852 (tramp-action-password): Clear password cache if needed.
3853 (tramp-read-passwd): Do not clear password cache.
3854
3855 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3856 cache unless it is the first password request.
3857
3858 2014-03-06 Glenn Morris <rgm@gnu.org>
3859
3860 * simple.el (newline): Doc tweak.
3861
3862 * emacs-lisp/shadow.el (load-path-shadows-find):
3863 Ignore dir-locals. (Bug#12357)
3864
3865 2014-03-05 Glenn Morris <rgm@gnu.org>
3866
3867 * files.el (interpreter-mode-alist):
3868 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3869
3870 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3871
3872 * frameset.el (frameset--initial-params): Filter out null entries.
3873
3874 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3875
3876 * window.el (window-min-height, window-min-width):
3877 Rewrite doc-strings.
3878 (window-body-size): Add PIXELWISE argument to make it consistent
3879 with its callees.
3880
3881 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3882
3883 * finder.el (finder-mode-map, finder-mode-syntax-table):
3884 Revert part of 2014-02-28 change.
3885
3886 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3887
3888 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3889 (eww-setup-buffer): Clear next/prev/etc more reliably.
3890 (eww-textarea-map): [tab] doesn't work on tty.
3891 Reported by Mario Lang.
3892
3893 * net/shr.el (shr-map): Ditto.
3894
3895 2014-03-04 Glenn Morris <rgm@gnu.org>
3896
3897 * minibuffer.el (completion-hilit-commonality):
3898 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3899
3900 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3901
3902 * hilit-chg.el (hilit-chg-unload-function): New function.
3903 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3904 (hilit-chg-map-changes): Prefer cardinal number to digit.
3905 (hilit-chg-display-changes): Reflow docstring.
3906 (highlight-changes-rotate-faces): Remove superfluous backslash.
3907
3908 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3909
3910 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3911 `tramp-send-command-and-check'.
3912
3913 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3914
3915 * hexl.el (hexl-address-region, hexl-ascii-region)
3916 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3917 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3918 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3919 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3920 (hexl-mode): Doc fix.
3921 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3922 (hexl-mode-ruler): Fix typos in docstrings.
3923
3924 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3925 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3926 Remove superfluous backslashes.
3927 (strokes-last-stroke, strokes-global-map, strokes-mode):
3928 Reflow docstrings.
3929 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3930 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3931 (strokes-distance-squared, strokes-global-set-stroke)
3932 (strokes-global-set-stroke-string): Doc fixes.
3933 (strokes-help): Fix typos; reflow docstring.
3934
3935 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3936
3937 * window.el (window-in-direction): Fix doc-string.
3938
3939 2014-03-04 Glenn Morris <rgm@gnu.org>
3940
3941 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3942 Explicit error if no grammar.
3943 (smie-config-save): Doc fix. Fix quote typo.
3944
3945 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3946
3947 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3948 electric-indent-mode-hook if we obey electric-indent-mode.
3949 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3950 decide whether we obey electric-indent-mode.
3951 (c-change-set-fl-decl-start, c-extend-after-change-region):
3952 Silence warnings.
3953 (c-electric-indent-mode-hook): Assume we do want to obey
3954 electric-indent-mode.
3955
3956 * electric.el (electric-indent-mode-has-been-called): Remove.
3957 (electric-indent-mode): Fix accordingly.
3958
3959 * files.el (hack-local-variables): Mention file name in warning.
3960
3961 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3962
3963 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3964
3965 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3966 * simple.el (delete-forward-char): Mark as interactive-only.
3967
3968 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3969
3970 * icomplete.el (icomplete-completions):
3971 Follow-up to 2014-03-01 change.
3972
3973 * icomplete.el: Miscellaneous doc fixes.
3974 Use Icomplete everywhere instead of icomplete for consistency.
3975 (icomplete-max-delay-chars): Fix typo.
3976 (icomplete-mode): Use \[].
3977 (icomplete-tidy, icomplete-exhibit): Reflow.
3978 (icomplete-minibuffer-setup-hook, icomplete-completions):
3979 Remove superfluous backlashes.
3980
3981 * ido.el: Miscellaneous doc fixes.
3982 Use Ido everywhere instead of ido or `ido' for consistency.
3983 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3984 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3985 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3986 (ido-separator): Extract obsolescence info from docstring and declare
3987 with make-obsolete-variable.
3988 (ido-minibuffer-setup-hook): Simplify example.
3989 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3990 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3991 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3992 (ido-everywhere): Reflow docstring.
3993 (ido-toggle-vc): Doc fix.
3994 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3995 of long list of keybindings.
3996
3997 2014-03-03 Glenn Morris <rgm@gnu.org>
3998
3999 * frame.el (display-pixel-height, display-pixel-width)
4000 (display-mm-dimensions-alist, display-mm-height)
4001 (display-mm-width): Doc tweaks.
4002
4003 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
4004
4005 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
4006 case of undo in region.
4007
4008 2014-03-02 Martin Rudalics <rudalics@gmx.at>
4009
4010 * window.el (fit-window-to-buffer): Fix argument in window-size
4011 call when window is horizontally combined.
4012
4013 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
4014
4015 * icomplete.el (icomplete-completions): Use string-width.
4016 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
4017
4018 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
4019
4020 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4021 Highlight regexp options. (Bug#16914)
4022
4023 2014-03-01 Martin Rudalics <rudalics@gmx.at>
4024
4025 * window.el (window--max-delta-1): Round down when calculating
4026 how many lines/columns we can get from a window.
4027
4028 2014-03-01 Glenn Morris <rgm@gnu.org>
4029
4030 * isearch.el (search-invisible): Doc fix.
4031
4032 * minibuffer.el (completion-hilit-commonality):
4033 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
4034 * comint.el (comint-dynamic-list-completions): Doc fix.
4035 * comint.el (comint-dynamic-list-completions):
4036 * filecache.el (file-cache-minibuffer-complete):
4037 * tempo.el (tempo-display-completions):
4038 * eshell/em-hist.el (eshell-list-history):
4039 Replace use of obsolete argument of display-completion-list.
4040
4041 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
4042
4043 * icomplete.el (icomplete-completions):
4044 Revert back to using "..." when ?… cannot be displayed.
4045
4046 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
4047
4048 * finder.el (finder-unload-function): New function.
4049
4050 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
4051
4052 * dframe.el (dframe-detach):
4053 * find-dired.el (find-dired, find-name-dired):
4054 * finder.el (finder-mode-map, finder-mode-syntax-table)
4055 (finder-headmark, finder-select, finder-mouse-select):
4056 Fix docstring typos.
4057
4058 2014-02-28 Martin Rudalics <rudalics@gmx.at>
4059
4060 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
4061 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
4062 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
4063 Fix doc-string based on a suggestion by Nicolas Richard
4064 <theonewiththeevillook@yahoo.fr>.
4065 * help.el (with-help-window): Fix doc-string.
4066
4067 2014-02-28 Ivan Kanis <ivan@kanis.fr>
4068
4069 * net/shr.el (shr-image-animate): New option.
4070 (shr-put-image): Respect shr-image-animate.
4071
4072 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
4073
4074 * net/tramp-adb.el (tramp-adb-parse-device-names):
4075 Use `accept-process-output'.
4076 (tramp-adb-handle-file-truename): Cache the localname only.
4077 (tramp-adb-handle-make-directory)
4078 (tramp-adb-handle-delete-directory): Flush file properties correctly.
4079 (tramp-adb-handle-set-file-modes): Do not raise an error when file
4080 modes cannot be changed.
4081
4082 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
4083 file properties of symlinks.
4084
4085 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
4086
4087 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
4088 required/optional fields to match development biblatex. (Bug#16781)
4089
4090 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
4091
4092 * saveplace.el (toggle-save-place):
4093 Fix argument handling. (Bug#16673)
4094
4095 2014-02-28 Glenn Morris <rgm@gnu.org>
4096
4097 * minibuffer.el (completions-first-difference)
4098 (completions-common-part, completion-hilit-commonality): Doc fixes.
4099
4100 2014-02-28 Karl Berry <karl@gnu.org>
4101
4102 * info.el (Info-mode-map): Add H for describe-mode,
4103 to synchronize with standalone Info.
4104
4105 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
4106
4107 * progmodes/sql.el (sql-interactive-mode):
4108 Avoid setting global comint-input-ring-separator. (Bug#16814)
4109
4110 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
4111
4112 * net/dbus.el (dbus--init-bus): Declare function.
4113 (dbus-path-local, dbus-interface-local): New defconst.
4114 (dbus-init-bus): Use them.
4115 (dbus-return-values-table): Extend doc.
4116 (dbus-handle-bus-disconnect): Extend error message.
4117
4118 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
4119
4120 * subr.el (y-or-n-p): Fix double space issue in message.
4121
4122 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
4123
4124 * net/tramp.el (tramp-call-process): Improve trace message.
4125 (tramp-handle-insert-file-contents): Trace error case.
4126
4127 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
4128 <insert-directory>: Use `tramp-handle-insert-directory'.
4129 (tramp-adb-handle-insert-directory): Remove function.
4130 (tramp-adb-send-command-and-check): New defun, replacing
4131 `tramp-adb-command-exit-status'. Change all callees.
4132 (tramp-adb-handle-file-attributes)
4133 (tramp-adb-handle-directory-files-and-attributes): Use it.
4134 (tramp-adb-ls-output-name-less-p):
4135 Use `directory-listing-before-filename-regexp'.
4136 (tramp-adb-handle-delete-directory): Flush also file properties of
4137 the truename of directory.
4138 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
4139 (tramp-adb-handle-file-local-copy): Make the local copy readable.
4140 (tramp-adb-handle-write-region): Implement APPEND.
4141 (tramp-adb-handle-rename-file): Make it more robust. Flush file
4142 properties correctly.
4143 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
4144 variables. Check for connected devices only when needed.
4145
4146 2014-02-27 Glenn Morris <rgm@gnu.org>
4147
4148 * minibuffer.el (completion-table-dynamic)
4149 (completion-table-with-cache): Doc fixes.
4150
4151 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
4152 (completing-read-multiple): Doc fixes.
4153
4154 2014-02-27 Daniel Colascione <dancol@dancol.org>
4155
4156 * minibuffer.el (completion--nth-completion): Fix indentation.
4157
4158 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
4159 explicit tramp path is empty.
4160
4161 2014-02-27 Glenn Morris <rgm@gnu.org>
4162
4163 * emacs-lisp/crm.el (completing-read-multiple):
4164 Empower help-enable-auto-load.
4165
4166 2014-02-26 Glenn Morris <rgm@gnu.org>
4167
4168 * startup.el (command-line): Don't init the tty in daemon mode.
4169
4170 Avoid calling tty-setup-hook twice, eg if a term file
4171 explicitly calls tty-run-terminal-initialization. (Bug#16859)
4172 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
4173 (tty-create-frame-with-faces): Use it.
4174 * startup.el (command-line): Pass run-hook argument
4175 to tty-run-terminal-initialization.
4176
4177 * dired.el (dired-restore-desktop-buffer): Demote errors;
4178 eg in case a glob match fails. (Bug#16884)
4179
4180 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
4181
4182 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
4183 error from `read-from-string'. (Bug#16850)
4184
4185 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
4186 result of `completing-read' in the interactive form. (Bug#16854)
4187
4188 2014-02-25 Glenn Morris <rgm@gnu.org>
4189
4190 * image.el (image-animate, image-animate-timeout):
4191 Stop animating images in dead buffers. (Bug#16878)
4192
4193 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
4194
4195 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
4196 Doc fixes.
4197 * startup.el (term-setup-hook): Doc fix. Make obsolete.
4198 * term/sun.el (sun-raw-prefix-hooks):
4199 Use tty-setup-hook instead of term-setup-hook.
4200 (terminal-init-sun): Construct message from bytecomp plist.
4201 * term/wyse50.el (enable-arrow-keys): Doc fix.
4202
4203 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
4204
4205 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
4206 Fix docstring typos.
4207
4208 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
4209
4210 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
4211
4212 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4213
4214 * minibuffer.el (completion--try-word-completion):
4215 Fix error when completing M-x commands (bug#16808).
4216
4217 2014-02-24 Leo Liu <sdl.web@gmail.com>
4218
4219 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
4220
4221 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
4222
4223 * apropos.el (apropos-print): Avoid formatting error when
4224 apropos-do-all and apropos-compact-layout are both t.
4225
4226 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
4227
4228 * apropos.el (apropos-property, apropos-all-words-regexp)
4229 (apropos-true-hit, apropos-variable, apropos-print):
4230 Fix docstring typos, and remove obsolete comment.
4231
4232 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
4233
4234 * net/tramp-sh.el (tramp-sh-handle-file-truename):
4235 Preserve trailing "/". (Bug#16851)
4236
4237 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
4238
4239 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
4240 after `=>' (bug#16811).
4241 (ruby-smie-rules): Handle the inconsistent second element of the
4242 list returned by `smie-indent--parent'.
4243 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
4244 method call.
4245
4246 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
4247
4248 * elec-pair.el (electric-pair-text-syntax-table)
4249 (electric-pair-syntax-info, electric-pair--syntax-ppss)
4250 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
4251 (electric-pair--looking-at-unterminated-string-p): Doc fix.
4252 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
4253
4254 2014-02-22 Glenn Morris <rgm@gnu.org>
4255
4256 * imenu.el (imenu--generic-function): Doc fix.
4257
4258 * register.el (frame-configuration-to-register): Make obsolete.
4259
4260 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
4261
4262 * desktop.el (desktop-save-buffer-p): Do not fail when
4263 desktop-files-not-to-save is nil. Return t for true result
4264 as the doc says.
4265
4266 2014-02-22 Daniel Colascione <dancol@dancol.org>
4267
4268 * net/secrets.el (secrets-create-item, secrets-search-items):
4269 Check that attribute values are strings, avoiding the construction
4270 of invalid dbus messages.
4271
4272 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
4273
4274 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
4275 defun-declarations-alist.
4276
4277 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
4278
4279 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
4280 (bug#16829).
4281
4282 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
4283
4284 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
4285 (whitespace-newline, whitespace-trailing, whitespace-line)
4286 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
4287 (whitespace-space-after-tab): Fix typo in docstrings.
4288
4289 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
4290
4291 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
4292
4293 * electric.el (electric-indent-functions-without-reindent):
4294 Add `yaml-indent-line'.
4295
4296 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
4297
4298 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
4299 It has done nothing for years; should be removed after the release.
4300
4301 * simple.el (choose-completion): Fix docstring typo.
4302 (read-quoted-char-radix): Remove unneeded * in docstring.
4303 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
4304 Don't escape parentheses unnecessarily in docstrings.
4305
4306 2014-02-21 Martin Rudalics <rudalics@gmx.at>
4307
4308 Fix handling of window-min-height/-width (Bug#16738).
4309 * window.el (window--dump-window, window--dump-frame):
4310 New functions.
4311 (window--min-size-1): Account for window dividers.
4312 When window-resize-pixelwise is nil, delay rounding till after the
4313 sum of the window components has been calculated.
4314 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
4315 nil make sure at least one text line and two text columns remain
4316 fully visible.
4317 (window-resize): Signal an error when window-resize-apply fails.
4318 (window--resize-child-windows): Fix calculation of by how many
4319 pixels a window can still be shrunk via window-new-normal.
4320 (adjust-window-trailing-edge): Call window--resizable with
4321 correct TRAIL argument.
4322
4323 (with-temp-buffer-window): Don't evaluate BODY within
4324 with-current-buffer (Bug#16816).
4325
4326 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
4327
4328 * net/tramp.el (tramp-check-cached-permissions):
4329 Call `file-attributes' with `suffix' being a symbol but a string.
4330
4331 2014-02-21 Daniel Colascione <dancol@dancol.org>
4332
4333 * net/dbus.el (dbus-init-bus-1): Declare new subr.
4334 (dbus-init-bus): New function: call into dbus-init-bus-1
4335 and installs a handler for the disconnect signal.
4336 (dbus-call-method): Rewrite to look for result in cons.
4337 (dbus-call-method-handler): Store result in cons.
4338 (dbus-check-event): Recognize events with nil sender as valid.
4339 (dbus-handle-bus-disconnect): New function. React to bus
4340 disconnection signal by synthesizing dbus error for each
4341 pending synchronous or asynchronous call.
4342 (dbus-notice-synchronous-call-errors): New function.
4343 (dbus-handle-event): Raise errors directly only when `dbus-debug'
4344 is true, not all the time.
4345
4346 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
4347
4348 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
4349 Remove obsolescence declarations, these variables do not exist anymore.
4350
4351 * savehist.el (savehist-save-minibuffer-history)
4352 (savehist-additional-variables, savehist-file, savehist-mode-hook)
4353 (savehist-save-hook, savehist-coding-system, savehist-loaded)
4354 (savehist-load, savehist-install, savehist-autosave): Fix typos;
4355 mostly, refer to "Savehist mode" when talking about the mode,
4356 and not the function.
4357
4358 * saveplace.el (save-place): Remove redundant info in docstring.
4359 (save-place-forget-unreadable-files, toggle-save-place)
4360 (save-place-forget-unreadable-files, save-place-dired-hook):
4361 Fix typos and remove unneeded backslashes.
4362
4363 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
4364
4365 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
4366 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
4367
4368 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4369 <insert-directory>: Use `tramp-handle-insert-directory'.
4370 (tramp-gvfs-handle-insert-directory): Remove function.
4371
4372 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4373 Call `tramp-handle-insert-directory'.
4374
4375 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
4376
4377 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
4378 before the start of buffer/region (bug#16799).
4379
4380 2014-02-20 Glenn Morris <rgm@gnu.org>
4381
4382 * isearch.el (search-invisible): Doc fix.
4383
4384 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
4385
4386 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
4387 (bug#16657).
4388
4389 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
4390
4391 * frameset.el (frameset-restore): Delay removing an old frame's
4392 duplicate id until the new frame has been correctly created.
4393
4394 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
4395
4396 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
4397 (tramp-check-cached-permissions): Call `file-attributes' if the
4398 cache is empty.
4399
4400 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
4401 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
4402
4403 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4404 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
4405 (tramp-gvfs-maybe-open-connection): Set always connection
4406 properties, even if target is mounted already.
4407
4408 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
4409 Set tramp-autoload cookie.
4410 (tramp-get-remote-touch): New defun.
4411 (tramp-sh-handle-set-file-times): Use it.
4412 (tramp-sh-handle-directory-files-and-attributes):
4413 Use `tramp-handle-directory-files-and-attributes' if neither stat
4414 nor perl are available on the remote host.
4415
4416 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
4417 "/". Write long listing only when "l" belongs to the switches.
4418
4419 * net/trampver.el: Update release number.
4420
4421 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
4422
4423 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
4424
4425 2014-02-19 Martin Rudalics <rudalics@gmx.at>
4426
4427 * window.el (window-state-put): Allow WINDOW to refer to an
4428 internal window (Bug#16793).
4429
4430 2014-02-19 Glenn Morris <rgm@gnu.org>
4431
4432 * textmodes/remember.el: Move provide statement to end.
4433 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
4434 (remember-notes): Doc fixes.
4435
4436 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
4437
4438 * delsel.el (delete-char): Restore incorrectly erased property
4439 (bug#16795).
4440
4441 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
4442
4443 * frameset.el (frameset--restore-frame): When a frame is being reused
4444 and its root window is not alive, delete all the frame's windows before
4445 restoring the window state. This works around the issue in bug#16793.
4446
4447 2014-02-18 Glenn Morris <rgm@gnu.org>
4448
4449 * textmodes/remember.el (remember-data-directory)
4450 (remember-directory-file-name-format, remember-store-in-files)
4451 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
4452 (remember-notes-save-and-bury-buffer)
4453 (remember-notes--kill-buffer-query): Doc fixes.
4454
4455 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
4456
4457 2014-02-17 Alan Mackenzie <acm@muc.de>
4458
4459 Connect electric-indent-mode up with CC Mode. Bug #15478.
4460 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
4461 to electric-indent-{,local-}-mode.
4462 (c-basic-common-init): Set electric-indent-inhibit.
4463 Initialise c-electric-flag from electric-indent-mode.
4464 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
4465 New hook functions which propagate electric-indent-mode to CC mode.
4466
4467 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
4468 hit, toggle electric-indent-local-mode.
4469
4470 * electric.el (electric-indent-mode-has-been-called):
4471 New variable.
4472
4473 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
4474
4475 * frameset.el (frameset-cfg-id): New function.
4476 (frameset--reuse-frame, frameset-restore): Use it.
4477 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
4478
4479 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
4480
4481 * ido.el (ido-file-internal): Remove unused var `d'.
4482 Use \` for to match BoS. Fit within 80n columns.
4483
4484 2014-02-17 Daniel Colascione <dancol@dancol.org>
4485
4486 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
4487 dbus-call-method check for completion using a busy-wait loop with
4488 gradual backoff.
4489
4490 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
4491
4492 Sync with Tramp 2.2.9.
4493
4494 * net/trampver.el: Update release number.
4495
4496 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
4497
4498 * ido.el (ido-file-internal): Don't add the name of an existing
4499 directory twice. (Bug#16747)
4500
4501 2014-02-16 Glenn Morris <rgm@gnu.org>
4502
4503 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
4504 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
4505
4506 2014-02-15 Michael R. Mauger <michael@mauger.com>
4507
4508 * progmodes/sql.el: Version 3.4
4509 (sql-oracle-options): New default value ("-L").
4510 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
4511 (sql-placeholders-filter): Correct placeholder pattern.
4512 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
4513 (sql-login-delay): New variable.
4514 (sql-product-interactive): Use it.
4515
4516 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
4517
4518 * frameset.el (frameset--jump-to-register): Check that buffer is live
4519 (bug#16749).
4520
4521 2014-02-15 Glenn Morris <rgm@gnu.org>
4522
4523 * info.el (info-initialize): Revert 2014-01-10 change.
4524
4525 2014-02-14 Glenn Morris <rgm@gnu.org>
4526
4527 * replace.el (map-query-replace-regexp)
4528 (read-regexp-defaults-function, read-regexp): Doc fixes.
4529
4530 * dired.el (dired-read-regexp):
4531 * faces.el (list-faces-display):
4532 * misearch.el (multi-isearch-read-matching-buffers)
4533 (multi-isearch-read-matching-files):
4534 * play/cookie1.el (cookie-apropos):
4535 * progmodes/grep.el (grep-read-regexp): Doc fixes.
4536
4537 * textmodes/remember.el (remember): Use frameset-to-register
4538 rather than frame-configuration-to-register.
4539
4540 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
4541
4542 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
4543 incorrect keybinding.
4544
4545 2014-02-13 Daniel Colascione <dancol@dancol.org>
4546
4547 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
4548 when adding overlays so that line numbers from compiler match line
4549 numbers we use.
4550
4551 2014-02-13 Glenn Morris <rgm@gnu.org>
4552
4553 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
4554
4555 * jit-lock.el (jit-lock-mode): Doc fix.
4556
4557 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
4558
4559 * apropos.el (apropos-read-pattern): When the user passes an empty
4560 string, give a more helpful error message than "Wrong type
4561 argument: stringp, nil".
4562
4563 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
4564
4565 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
4566
4567 2014-02-13 Glenn Morris <rgm@gnu.org>
4568
4569 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
4570
4571 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
4572
4573 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
4574 shift-select commands.
4575
4576 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
4577
4578 * progmodes/js.el (js-indent-line): Don't widen.
4579 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
4580
4581 2014-02-12 Glenn Morris <rgm@gnu.org>
4582
4583 * icomplete.el (icomplete): Add info-link to defgroup.
4584 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
4585 (icomplete-minibuffer-map, icomplete-mode)
4586 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
4587
4588 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
4589 (package-menu-filter): Rename from package-menu-filter-interactive.
4590 Doc fix.
4591
4592 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
4593
4594 * frameset.el (frameset--jump-to-register): Select the required
4595 window and buffer before restoring position (bug#16696).
4596
4597 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
4598
4599 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
4600
4601 2014-02-10 Glenn Morris <rgm@gnu.org>
4602
4603 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
4604
4605 2014-02-10 Eli Zaretskii <eliz@gnu.org>
4606
4607 * w32-common-fns.el (x-get-selection): Doc fix.
4608 * select.el (x-get-selection): Doc fix. (Bug#15109)
4609
4610 * face-remap.el (face-remap-add-relative)
4611 (face-remap-remove-relative, face-remap-reset-base)
4612 (face-remap-set-base): Call force-mode-line-update to redisplay
4613 the current buffer due to potential change in faces. (Bug#16709)
4614
4615 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
4616
4617 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
4618 script more robustly.
4619
4620 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
4621
4622 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
4623
4624 * simple.el (choose-completion): Doc fix (bug#14160).
4625
4626 * subr.el (event-start): Say what a nil EVENT value means.
4627
4628 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
4629 (bug#14197).
4630
4631 * progmodes/grep.el (find-program): Doc fix (bug#14289).
4632
4633 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
4634
4635 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
4636
4637 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
4638 predicate function (bug#15455).
4639
4640 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
4641
4642 * ielm.el (inferior-emacs-lisp-mode): Instead of
4643 `comment-use-global-state', set `comment-use-syntax'.
4644
4645 2014-02-10 Glenn Morris <rgm@gnu.org>
4646
4647 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
4648
4649 2014-02-09 Alan Mackenzie <acm@muc.de>
4650
4651 Fix c-invalidate-state-cache on narrowed buffers.
4652 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
4653 Widen when setting and clearing the CPP delimiter properties.
4654
4655 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
4656
4657 * help.el (describe-bindings): Doc fix (bug#9888).
4658
4659 * files.el (save-buffer): Use ARG as the parameter name for
4660 consistency (bug#10346).
4661 (save-buffer): Clarify the 0 argument (bug#10346).
4662
4663 * cus-edit.el (customize-apropos): Fix error string.
4664 (custom-buffer-create): Doc fix (bug#11122).
4665 (custom-sort-items): Doc fix (bug#11121).
4666
4667 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
4668
4669 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
4670 (icomplete-simple-completing-p): Mention the previous variable.
4671
4672 * font-lock.el (font-lock-value-in-major-mode): Clarify the
4673 meaning of the parameter (bug#12282).
4674
4675 * files.el (find-file-noselect): Clarify prompt when changing
4676 readedness (bug#13261).
4677 (locate-file): Suffixes aren't returned, so don't say that they
4678 are (bug#12674).
4679 (backup-inhibited): Doc clarification (bug#12525).
4680
4681 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
4682 before we actually start to delete things (bug#16331).
4683
4684 * subr.el (event-start): Doc fix (bug#14228).
4685 (event-end): Ditto.
4686
4687 2014-02-09 Glenn Morris <rgm@gnu.org>
4688
4689 * emacs-lisp/warnings.el (lwarn):
4690 Empower help-enable-auto-load. (Bug#15940)
4691
4692 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4693
4694 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
4695 (Bug#16690)
4696
4697 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
4698
4699 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4700 Insert output at end of buffer. (Bug#16120)
4701
4702 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4703
4704 * simple.el (choose-completion-string-functions): Document new
4705 calling convention (bug#14153).
4706 (execute-extended-command): Clarify doc string (bug#13373).
4707
4708 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
4709
4710 * find-dired.el (find-name-dired): Doc fix (bug#14290).
4711 (find-grep-dired): Doc fix (bug#14288).
4712
4713 2014-02-08 Juri Linkov <juri@jurta.org>
4714
4715 * isearch.el (isearch-quote-char): Check character validity
4716 like in `quoted-insert' (bug#16677).
4717
4718 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4719
4720 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
4721
4722 * isearch.el (isearch-hide-immediately): Doc clarification
4723 (bug#14723).
4724
4725 * simple.el (line-move): Document utility function used many
4726 places in the Emacs sources (bug#14843).
4727
4728 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4729 (dired-prev-marked-file): Doc fix (bug#14855).
4730 (dired-up-directory): Doc fix (bug#14848).
4731
4732 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4733
4734 * files.el (file-relative-name): Doc fix (bug#15159).
4735
4736 * fringe.el (fringe-styles): Doc fix (bug#15239).
4737
4738 * isearch.el (isearch-filter-predicate): Documentation typo fix
4739 (bug#15474).
4740
4741 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4742
4743 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4744
4745 * replace.el (replace-match-maybe-edit): Doc clarification
4746 (bug#15632).
4747
4748 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4749
4750 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4751
4752 2014-02-08 Glenn Morris <rgm@gnu.org>
4753
4754 * help-fns.el (describe-variable):
4755 Check {file,dir}-local-variables-alist, and buffer-file-name,
4756 in the correct buffer.
4757
4758 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
4759
4760 * help-fns.el (describe-variable): Fix the case where
4761 a value is directory-local with no dir-locals file. (Bug#16635)
4762
4763 2014-02-08 Glenn Morris <rgm@gnu.org>
4764
4765 * abbrev.el (edit-abbrevs-mode):
4766 Derive from fundamental-mode. (Bug#16682)
4767
4768 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
4769
4770 * simple.el (quoted-insert): Check character validity (bug#16677).
4771
4772 2014-02-07 Juri Linkov <juri@jurta.org>
4773
4774 * desktop.el (desktop-read): Claim the lock when the owner is not
4775 the current process. (Bug#16157)
4776
4777 2014-02-07 Juri Linkov <juri@jurta.org>
4778
4779 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4780 to "\\` ". (Bug#16651)
4781
4782 2014-02-07 Juri Linkov <juri@jurta.org>
4783
4784 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4785 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4786 (desktop-auto-save-cancel-timer): New function with some code from
4787 `desktop-auto-save-set-timer'.
4788 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4789 Instead of setting `desktop-save-mode' to nil, call
4790 `desktop-save-mode' with arg 0. (Bug#16630)
4791
4792 2014-02-07 Glenn Morris <rgm@gnu.org>
4793
4794 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4795 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4796 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4797
4798 * obsolete/iswitchb.el: Move to obsolete/.
4799 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4800 since obsolete/ is not scanned for autoloads.
4801 * emacs-lisp/authors.el (authors-valid-file-names):
4802 Add iswitchb.el.
4803
4804 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4805 Disable now non-functional find-file-hook.
4806
4807 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4808
4809 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4810 instead of ";" in order to avoid additional prompts. Let heredoc
4811 scripts read from tty. (Bug#16582)
4812 (tramp-send-command): No special handling of heredocs, it isn't
4813 necessary anymore.
4814
4815 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4816
4817 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4818 with a space (bug#16664). Limit the symbols considered to the ones
4819 that are bound or fbound (bug#16646).
4820
4821 2014-02-06 Glenn Morris <rgm@gnu.org>
4822
4823 * epa.el (epa-mail-aliases): Doc fix.
4824
4825 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4826
4827 * emacs-lisp/lisp.el (lisp-completion-at-point):
4828 Use `completion-table-merge' instead of `completion-table-in-turn'
4829 (bug#16604).
4830
4831 * minibuffer.el (completion-table-merge): New function.
4832
4833 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4834
4835 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4836 (tramp-sh-handle-set-file-acl)
4837 (tramp-sh-handle-start-file-process)
4838 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4839 (tramp-find-executable, tramp-send-command): Use it.
4840
4841 2014-02-05 Glenn Morris <rgm@gnu.org>
4842
4843 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4844
4845 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4846
4847 * progmodes/python.el (python-shell-send-string)
4848 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4849
4850 2014-02-04 Anders Lindgren <andlind@gmail.com>
4851
4852 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4853 the names (bug#16620).
4854
4855 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4856
4857 * faces.el (window-divider): New default value. Rewrite doc-string.
4858 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4859
4860 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4861
4862 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4863 `protected' and `public' can also be called without arguments.
4864
4865 2014-02-03 Glenn Morris <rgm@gnu.org>
4866
4867 * register.el (window-configuration-to-register)
4868 (frame-configuration-to-register): Unadvertise unused argument.
4869 * frameset.el (frameset-to-register): Remove unused argument.
4870
4871 * frameset.el (frameset-to-register):
4872 * kmacro.el (kmacro-to-register):
4873 * register.el (increment-register):
4874 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4875 (calc-append-to-register, calc-prepend-to-register):
4876 * play/gametree.el (gametree-layout-to-register)
4877 (gametree-apply-register-layout):
4878 * textmodes/picture.el (picture-clear-rectangle-to-register)
4879 (picture-yank-rectangle-from-register):
4880 * vc/emerge.el (emerge-combine-versions-register):
4881 Use register-read-with-preview to read registers.
4882
4883 2014-02-03 João Távora <joaotavora@gmail.com>
4884
4885 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4886 when at beginning of (possibly narrowed) buffer.
4887
4888 2014-02-02 Daniel Colascione <dancol@dancol.org>
4889
4890 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4891 Also try to display local help from just before point.
4892
4893 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4894
4895 c-parse-state. Don't "append-lower-brace-pair" in certain
4896 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4897 recognised as a comment.
4898
4899 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4900 as well as normal comment starter.
4901 (c-parse-state-get-strategy): Extra return possibility
4902 'back-and-forward.
4903 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4904 return value list to indicate replacement of a brace-pair cons
4905 with its car.
4906 (c-parse-state-1): With 'back-and-forward, only call
4907 c-append-lower-brace-pair-to state-cache when cons-separated.
4908
4909 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4910
4911 * term/ns-win.el (ns-suspend-error): New function.
4912 (ns-initialize-window-system): Add ns-suspend-error to
4913 suspend-hook (Bug#16612).
4914
4915 2014-02-02 Daniel Colascione <dancol@dancol.org>
4916
4917 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4918 Make loading cc-mode silent.
4919
4920 2014-02-02 Daniel Colascione <dancol@dancol.org>
4921
4922 * comint.el (comint-prompt-read-only): Change doc to suggest
4923 remap keybinding.
4924
4925 2014-02-02 Glenn Morris <rgm@gnu.org>
4926
4927 * register.el (register-read-with-preview, point-to-register)
4928 (window-configuration-to-register, frame-configuration-to-register)
4929 (jump-to-register, number-to-register, view-register, insert-register)
4930 (copy-to-register, append-to-register, prepend-to-register)
4931 (copy-rectangle-to-register): Doc fixes.
4932
4933 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4934
4935 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4936 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4937 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4938 * help-fns.el (describe-function-1): Use it.
4939
4940 2014-02-02 Glenn Morris <rgm@gnu.org>
4941
4942 * register.el (register-preview-default): New function,
4943 split from register-preview.
4944 (register-preview-function): Rename from register-preview-functions,
4945 make it not a hook.
4946 (register-preview): Use register-preview-function.
4947 (register-read-with-preview): Error on non-character event. (Bug#16595)
4948
4949 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4950
4951 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4952 `:' before binary operators (bug#16609). Don't check for `:'
4953 before `[' and `(', or their syntax status. A percent literal
4954 can't end with either.
4955 (ruby-font-lock-keywords): For built-ins that require arguments,
4956 check that they're followed by something that looks like argument
4957 (bug#16610).
4958
4959 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4960
4961 * subr.el (butlast): Document what an omitted N means (bug#13437).
4962 (nbutlast): Ditto.
4963
4964 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4965
4966 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4967 depth shallower (bug#16587).
4968 (shr-tag-svg): Respect `shr-inhibit-images'.
4969 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4970
4971 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4972
4973 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4974 (ruby-smie-grammar): Make "." right-associative. Make its priority
4975 lower than the ternary and all binary operators.
4976 (ruby-smie-rules): Indent "(" relative to the first non-"."
4977 parent, or the first "." parent at indentation.
4978 Use `ruby-align-chained-calls' for indentation of "." tokens.
4979 (Bug#16593)
4980
4981 2014-01-31 Juri Linkov <juri@jurta.org>
4982
4983 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4984 from `make-hash-table'.
4985
4986 * textmodes/ispell.el (ispell-init-process): Change message format
4987 to be consistent with other messages.
4988
4989 2014-01-31 Glenn Morris <rgm@gnu.org>
4990
4991 * delsel.el (delete-selection-mode): Doc fix.
4992
4993 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4994 (trace-function-background): Doc fixes.
4995
4996 * ido.el (ido-use-virtual-buffers): Doc fix.
4997 Reset :version, since the default value has not changed.
4998
4999 * register.el (register-preview-delay, register-read-with-preview):
5000 Doc fixes.
5001
5002 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
5003 do not mess with mail-buffer position (fixes 2009-11-03 change).
5004 * progmodes/cc-mode.el (c-submit-bug-report):
5005 Check auto-fill-mode is bound. (Bug#16592)
5006
5007 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
5008
5009 * startup.el (fancy-splash-image-file): New function,
5010 split from fancy-splash-head.
5011 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
5012 so that we are both using the same image. (Bug#16574)
5013
5014 2014-01-30 Glenn Morris <rgm@gnu.org>
5015
5016 * simple.el (eval-expression): Doc fix.
5017
5018 * hexl.el (hexl-mode-hook):
5019 * ielm.el (ielm-mode-hook):
5020 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
5021 (lisp-interaction-mode-hook):
5022 * progmodes/cfengine.el (cfengine3-documentation-function):
5023 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
5024
5025 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
5026
5027 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
5028 is a symbol (bug#16584).
5029
5030 2014-01-30 Glenn Morris <rgm@gnu.org>
5031
5032 * help.el (help-for-help-internal): Add "P" to text.
5033
5034 2014-01-29 Glenn Morris <rgm@gnu.org>
5035
5036 * simple.el (just-one-space, cycle-spacing): Doc fixes.
5037
5038 2014-01-28 Martin Rudalics <rudalics@gmx.at>
5039
5040 * window.el (fit-frame-to-buffer): Fix calculations for margins and
5041 height constraints.
5042
5043 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
5044
5045 * progmodes/hideif.el: Extend to full CPP expression syntax.
5046 (hif-token-alist): Add missing tokens.
5047 (hif-token-regexp): Add support for float/octal/hex immediates.
5048 (hif-string-literal-regexp): New const.
5049 (hif-tokenize): Recognize strings and float/octal/hex immediates.
5050 (hif-exprlist): New function.
5051 (hif-parse-if-exp): Use it.
5052 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
5053 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
5054 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
5055 (hif-logxor, hif-comma): New functions.
5056
5057 2014-01-28 Glenn Morris <rgm@gnu.org>
5058
5059 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
5060
5061 * indent.el (tab-stop-list): Doc fix. Add :version.
5062
5063 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
5064 (cvs-append-to-ignore): Add compatibility alias.
5065
5066 2014-01-27 Glenn Morris <rgm@gnu.org>
5067
5068 * dired.el (dired-hide-details-mode): Don't autoload it,
5069 since it cannot be used outside Dired buffers anyway.
5070
5071 * emulation/cua-base.el (cua-mode): Doc fix.
5072
5073 * dired.el (dired-hide-details-hide-symlink-targets)
5074 (dired-hide-details-hide-information-lines)
5075 (dired-hide-details-mode): Doc fixes.
5076
5077 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
5078 * strokes.el (strokes-file): Doc fix. Bump :version.
5079 (strokes-help): Doc fix.
5080 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
5081 * emulation/viper.el (viper): Doc fix for custom group.
5082 (top-level): Remove oh-so-no-longer-relevant text about vip.
5083 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
5084
5085 * ido.el (ido-save-directory-list-file):
5086 * saveplace.el (save-place-file):
5087 * calendar/timeclock.el (timeclock-file):
5088 * net/quickurl.el (quickurl-url-file):
5089 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
5090 * progmodes/idlwave.el (idlwave-config-directory):
5091 * textmodes/remember.el (remember-data-file):
5092 Bump :version.
5093
5094 2014-01-26 Glenn Morris <rgm@gnu.org>
5095
5096 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
5097 Doc fix. Make obsolete.
5098 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
5099
5100 * sort.el (delete-duplicate-lines): Doc fix.
5101
5102 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5103
5104 * progmodes/ada-mode.el (ada):
5105 * woman.el (woman): Link to info manual and Commentary section.
5106
5107 * progmodes/flymake.el (flymake):
5108 * nxml/nxml-mode.el (nxml):
5109 * net/eww.el (eww):
5110 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
5111 * htmlfontify.el (htmlfontify):
5112 * ses.el (ses):
5113 * epa.el (epa):
5114 * ido.el (ido): Link to info manual.
5115
5116 2014-01-25 Leo Liu <sdl.web@gmail.com>
5117
5118 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
5119
5120 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
5121
5122 * net/shr.el (shr-tag-img): Prefer the title over the alt text
5123 (bug#16537).
5124
5125 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
5126
5127 * net/eww.el (eww-download-callback):
5128 Fix reference to eww-download-directory.
5129
5130 * emacs-lisp/bytecomp.el (byte-compile-file):
5131 Remove unused local variable `file-name'.
5132
5133 2014-01-24 Glenn Morris <rgm@gnu.org>
5134
5135 * woman.el (woman-default-faces, woman-monochrome-faces):
5136 Fix obsolescence specification.
5137
5138 * subr.el (with-demoted-errors): Doc fix.
5139
5140 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
5141
5142 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
5143 (cl--macroexp-fboundp): New function.
5144 (cl--make-type-test): Use it.
5145
5146 2014-01-23 Glenn Morris <rgm@gnu.org>
5147
5148 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
5149 * simple.el (eval-expression): Doc fixes.
5150
5151 2014-01-22 Glenn Morris <rgm@gnu.org>
5152
5153 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
5154
5155 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
5156
5157 * emacs-lisp/package.el: Write files silently.
5158 (package-autoload-ensure-default-file, package--write-file-no-coding)
5159 (package-generate-description-file, package--download-one-archive)
5160 (package-install-from-archive): Tell `write-region' to stay quiet.
5161 (package-menu-mode, package-menu--print-info): Omit the Archive column
5162 if there's only one archive.
5163 (package-all-keywords, package--has-keyword-p): Remove dead code.
5164
5165 2014-01-22 Glenn Morris <rgm@gnu.org>
5166
5167 * version.el (emacs-bzr-version-bzr): Fix typo.
5168
5169 * version.el (emacs-repository-get-version):
5170 Check either .bzr or .git, but not both.
5171 Make the git case actually use the DIR argument, and return nil
5172 rather than the empty string.
5173 Avoid error if .git exists but the git executable is not found.
5174
5175 2014-01-22 Martin Rudalics <rudalics@gmx.at>
5176
5177 Fixes in window size functions around Bug#16430 and Bug#16470.
5178 * window.el (window-total-size, window-size): New argument ROUND.
5179 (window--min-delta-1, window-min-delta, window--max-delta-1):
5180 Be more conservative when calculating the numbers of lines or
5181 columns a window can shrink (Bug#16430).
5182 (fit-window-to-buffer): Simplify code.
5183 * term.el (term-window-width): Call window-body-width again.
5184
5185 2014-01-22 Glenn Morris <rgm@gnu.org>
5186
5187 * image.el (image-format-suffixes): Doc fix.
5188
5189 * international/quail.el (quail-define-package): Doc fix.
5190
5191 * emacs-lisp/authors.el (authors-valid-file-names)
5192 (authors-renamed-files-alist): Additions.
5193
5194 * vc/vc-git.el (vc-git-print-log): Remove --follow;
5195 reverts 2014-01-09 change. (Bug#16422)
5196
5197 * calc/calc-embed.el (thing-at-point-looking-at):
5198 * emacs-lisp/map-ynp.el (x-popup-dialog):
5199 * obsolete/lmenu.el (x-popup-dialog):
5200 * emacs-lisp/package.el (url-recreate-url):
5201 * mail/mailclient.el (clipboard-kill-ring-save):
5202 * subr.el (x-popup-dialog): Update declaration.
5203 * mail/rmail.el (rmail-mime-message-p):
5204 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
5205
5206 2014-01-21 Daniel Colascione <dancol@dancol.org>
5207
5208 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5209 Correctly detect when we're inside an arithmetic expansion form
5210 containing nested parenthesis.
5211 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
5212 to detect cases where we shouldn't expand "<<" to a heredoc
5213 skeleton.
5214
5215 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
5216
5217 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
5218 (eldoc--message-command-p): New function.
5219 (eldoc-display-message-p): Use it.
5220 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
5221 message is not automatically erased for us.
5222 (eldoc-print-current-symbol-info): Erase previous message, if any.
5223
5224 2014-01-21 Tassilo Horn <tsdh@gnu.org>
5225
5226 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
5227 specify it's an interactive function.
5228
5229 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
5230 Fix regex used for scanning for citation keys which failed for
5231 citations with optional arguments.
5232
5233 2014-01-21 Leo Liu <sdl.web@gmail.com>
5234
5235 * simple.el (read--expression): Don't enable eldoc-mode.
5236
5237 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
5238
5239 * simple.el (move-beginning-of-line): Make sure we don't move forward
5240 (bug#16497).
5241
5242 2014-01-20 Juri Linkov <juri@jurta.org>
5243
5244 * saveplace.el (toggle-save-place, save-place-to-alist)
5245 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
5246 'dired-mode) before checking for dired-directory. (Bug#16477)
5247
5248 2014-01-20 Juri Linkov <juri@jurta.org>
5249
5250 * indent.el (indent-line-to): Use backward-to-indentation
5251 instead of back-to-indentation. (Bug#16461)
5252
5253 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
5254
5255 Revert some of the CANNOT_DUMP fix (Bug#16494).
5256 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
5257 but fixing this can wait until after the next release.
5258 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
5259
5260 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
5261
5262 * eshell/esh-mode.el (eshell-password-prompt-regexp):
5263 Use `password-word-equivalents'.
5264 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
5265 to t. (Bug#5664, Bug#13124)
5266
5267 2014-01-19 Alan Mackenzie <acm@muc.de>
5268
5269 Bind open-paren-in-column-0-is-defun-start to nil at some entry
5270 points.
5271 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
5272 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
5273 * progmodes/cc-mode.el (c-before-change, c-after-change)
5274 (c-font-lock-fontify-region): Bind it here.
5275
5276 2014-01-19 Martin Rudalics <rudalics@gmx.at>
5277
5278 * term.el (term-window-width): Call window-text-width instead of
5279 window-width (Bug#16470).
5280
5281 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
5282
5283 * simple.el (password-word-equivalents): Remove duplicates.
5284 Sort, to make this easier next time.
5285 Downcase. Omit ": " after "jelszó".
5286
5287 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
5288
5289 * term/common-win.el (saved-region-selection): Defvar it.
5290 (x-select-text): Set saved-region-selection (Bug#16382).
5291
5292 2014-01-18 Glenn Morris <rgm@gnu.org>
5293
5294 * emacs-lisp/authors.el (authors-aliases)
5295 (authors-renamed-files-alist): Add some entries.
5296
5297 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
5298
5299 * net/tramp.el (tramp-password-prompt-regexp):
5300 Use `password-word-equivalents' if available.
5301 (tramp-action-password, tramp-process-one-action)
5302 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
5303
5304 2014-01-17 Chong Yidong <cyd@gnu.org>
5305
5306 * simple.el (password-word-equivalents): New defcustom.
5307 * comint.el (comint-password-prompt-regexp): Use it. Bump version
5308 to 24.4.
5309 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
5310 to t. (Bug#13124)
5311
5312 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
5313
5314 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
5315 (ruby-align-to-stmt-keywords): Change the default value.
5316 Use `ruby-alignable-keywords' to generate the possible customization
5317 choices.
5318 (ruby-smie-rules): Instead of using a hardcoded list of alignable
5319 keywords, check against the value of `ruby-alignable-keywords'
5320 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
5321
5322 2014-01-17 Glenn Morris <rgm@gnu.org>
5323
5324 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
5325
5326 Make M-x authors return zero *Authors Errors* from current logs.
5327 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
5328 (authors-ignored-files): Add some entries, remove others.
5329 (authors-ambiguous-files, authors-valid-file-names):
5330 Add some entries.
5331 (authors-renamed-files-alist): Add, remove, and adjust entries.
5332 (authors-renamed-files-regexps): Add some entries.
5333 Remove some very broad ones. Make some entries `lax'.
5334 (authors-lax-changelogs): New constant.
5335 (authors-disambiguate-file-name): Treat top-level specially.
5336 (authors-lax-changelog-p): New function.
5337 (authors-canonical-file-name): Check file as written against
5338 authors-valid-file-names. Do not special-case etc/.
5339 Handle `lax' logs and authors-renamed-files-regexps elements.
5340
5341 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
5342
5343 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
5344 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
5345 callers.
5346
5347 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
5348
5349 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
5350 Assume we're already in the proper buffer.
5351 Inspired by Anders Lindgren <andlind@gmail.com>.
5352 (follow-post-command-hook): Call it from the right buffer.
5353 (follow-comint-scroll-to-bottom): Adjust call.
5354 (follow-all-followers): Use get-buffer-window-list.
5355
5356 2014-01-15 Daniel Colascione <dancol@dancol.org>
5357
5358 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
5359 `buffer-file-name' in interactive-form so that we don't leave
5360 pathless file names in `file-name-history'.
5361
5362 2014-01-15 Juri Linkov <juri@jurta.org>
5363
5364 * indent.el (indent-rigidly): Set deactivate-mark to nil
5365 in transient indentation mode. (Bug#16438)
5366
5367 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
5368
5369 * emacs-lisp/package.el (package-desc-keywords): New function
5370 (Bug#16222).
5371 (describe-package-1, package-all-keywords)
5372 (package--has-keyword-p): Use it.
5373
5374 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
5375
5376 * simple.el (define-alternatives): When creating the
5377 COMMAND-alternatives variable, assign COMMAND as its definition
5378 name so that `describe-variable' can relocate it.
5379
5380 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
5381
5382 * font-lock.el (font-lock-keywords): Fix typo in docstring
5383 (bug#16307).
5384
5385 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5386
5387 * ispell.el (ispell-region): Reset `in-comment' for new line
5388 instead of wrongly reset `add-coment' (bug#13577).
5389
5390 2014-01-14 Daiki Ueno <ueno@gnu.org>
5391
5392 * epa-file.el (epa-file-write-region): Encode the region according
5393 to `buffer-file-format'. Problem reported at:
5394 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
5395
5396 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
5397
5398 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
5399 so it applies in the right buffer (bug#16410).
5400
5401 2014-01-13 Daniel Colascione <dancol@dancol.org>
5402
5403 * textmodes/rst.el (rst-define-key): Provide deprecated
5404 keybindings through named functions instead of anonymous ones so
5405 that "??" doesn't appear in describe-mode output.
5406
5407 2014-01-13 Bastien Guerry <bzg@gnu.org>
5408
5409 * simple.el (define-alternatives): Call the selected command
5410 interactively. When setting `COMMAND--implementation' for the
5411 first time, tell the user how to chose another implementation.
5412 Enhance the docstring.
5413
5414 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
5415
5416 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
5417 (log-edit--match-first-line): New function.
5418 (log-edit-font-lock-keywords): Use it.
5419 (log-edit-mode): Make jit-lock-defer-multiline work.
5420
5421 2014-01-13 Bastien Guerry <bzg@gnu.org>
5422
5423 * rect.el (rectangle-mark-mode): When the region is not active,
5424 display a message saying that the mark as been set and that
5425 rectangle mode is in use.
5426 (rectangle--highlight-for-redisplay): Only put an overlay with a
5427 visible vertical bar when (display-graphic-p) is non-nil.
5428 This partially fixes Bug#16403.
5429
5430 2014-01-13 Juri Linkov <juri@jurta.org>
5431
5432 * info.el (Info-find-file): Go to DIR before displaying the error
5433 about a nonexistent file if no previous Info file is visited.
5434 Use `user-error' instead of `error' for "Info file %s does not exist".
5435 (Info-find-node-2): In case of a nonexistent node in unwind forms
5436 go to the Top node if there is no previous node to revert to.
5437 (Bug#16405)
5438
5439 2014-01-13 Martin Rudalics <rudalics@gmx.at>
5440
5441 fit-frame/window-to-buffer code fixes including one for Bug#14096.
5442 * window.el (fit-frame-to-buffer): Fix doc-string.
5443 Respect window-min-height/-width. Fit pixelwise when
5444 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
5445 when avoiding that frame goes partially off-screen.
5446 (fit-window-to-buffer): Respect window-min-height/-width
5447 (Bug#14096).
5448
5449 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
5450
5451 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
5452 after an empty line.
5453
5454 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
5455
5456 * net/shr.el (shr-render-region): Autoload.
5457
5458 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
5459
5460 * net/eww.el (eww-download-directory): Rename from
5461 `eww-download-path' (Bug#16419).
5462
5463 2014-01-12 Leo Liu <sdl.web@gmail.com>
5464
5465 * dired-x.el (dired-mode-map): Fix last change.
5466
5467 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
5468
5469 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
5470
5471 Spelling fixes.
5472 * emacs-lisp/generic.el (generic--normalize-comments):
5473 Rename from generic--normalise-comments. All uses changed.
5474 * play/bubbles.el (bubbles--neighborhood-score)
5475 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
5476 (bubbles--neighborhood-available)
5477 (bubbles--update-neighborhood-score):
5478 Rename from names with 'neighbourhood'. All uses changed.
5479
5480 2014-01-12 Leo Liu <sdl.web@gmail.com>
5481
5482 Re-implement the feature of showing eldoc info after editing.
5483 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
5484 (eldoc-edit-message-commands): New function.
5485 (eldoc-print-after-edit): New variable.
5486 (eldoc-pre-command-refresh-echo-area): Emit message only by
5487 eldoc-message-commands.
5488 (eldoc-mode): Restrict eldoc-message-commands to editing commands
5489 if eldoc-print-after-edit is set. (Bug#16346)
5490 * simple.el (read--expression): Enable eldoc-mode.
5491 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
5492
5493 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
5494 Eric S. Raymond <esr@thyrsus.com>
5495
5496 * version.el (emacs-repository-get-version): Enhance so the
5497 function works correctly in either a Bazaar or Git repo.
5498
5499 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
5500
5501 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
5502 Goes with removal of the joke manpages from /etc.
5503
5504 2014-01-10 Kenichi Handa <handa@gnu.org>
5505
5506 * mail/rmail.el (rmail-get-coding-system):
5507 Check rmail-get-coding-function before "funcall"ing it.
5508
5509 2014-01-10 Glenn Morris <rgm@gnu.org>
5510
5511 * emacs-lisp/authors.el (authors-fixed-entries):
5512 Update for files that no longer exist.
5513
5514 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
5515
5516 * version.el (emacs-bzr-get-version): Restore compatibilty with
5517 24.3 (Tested).
5518
5519 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
5520
5521 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
5522 and Podfile.
5523
5524 2014-01-10 Eli Zaretskii <eliz@gnu.org>
5525
5526 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
5527
5528 2014-01-10 Chong Yidong <cyd@gnu.org>
5529
5530 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
5531
5532 2014-01-10 Anders Lindgren <andlind@gmail.com>
5533
5534 * follow.el (follow-cache-command-list): Include right-char and
5535 left-char.
5536
5537 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
5538
5539 Spelling fixes.
5540 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
5541 * woman.el (woman-mark-horizontal-position):
5542 Rename from woman-mark-horizonal-position. Use changed.
5543
5544 2014-01-10 Glenn Morris <rgm@gnu.org>
5545
5546 * info.el (info-initialize): If running uninstalled, ensure our
5547 own info files are always found first, even if INFOPATH is set.
5548
5549 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
5550
5551 2014-01-09 David Engster <deng@randomsample.de>
5552
5553 * emacs-lisp/eieio-custom.el:
5554 * emacs-lisp/eieio-opt.el: Set generated autoload file to
5555 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
5556 * emacs-lisp/eieio.el: Regenerate autoloads.
5557
5558 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
5559
5560 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
5561 following renames. (Bug#8756)
5562
5563 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
5564
5565 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
5566 (bug#16382).
5567 (activate-mark): Add `no-tmm' argument.
5568 (set-mark, push-mark-command): Use it instead of running
5569 activate-mark-hook by hand.
5570
5571 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
5572
5573 In preparation for the move to git, sanitize out some
5574 Bazaar-specific names.
5575
5576 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
5577
5578 * version.el (emacs-bzr-version): Name changed to
5579 emacs-repository-version. Obsolete-variable alias made.
5580 * loadup.el: Follow through on this name change.
5581 * mail/emacsbug.el (report-emacs-bug): Factor out any
5582 assumption about the version control system in use.
5583
5584 2014-01-08 David Engster <deng@randomsample.de>
5585
5586 * help-fns.el (help-fns-describe-function-functions):
5587 New variable to call functions for augmenting help buffers.
5588 (describe-function-1): Remove explicit calls to
5589 `help-fns--compiler-macro', `help-fns--parent-mode' and
5590 `help-fns--obsolete'. Put them in above new variable instead, and
5591 call them through `run-hook-with-args'.
5592 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
5593 `eieio-describe-class'. Not meant for interactive use anymore,
5594 but to augment existing help buffers. Remove optional second
5595 argument. Create proper button for file location.
5596 Rewrite function to use `insert' instead of `princ' and `prin1' where
5597 possible.
5598 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
5599 (eieio-method-def, eieio-class-def): Move further up.
5600 (describe-method, describe-generic, eieio-describe-method):
5601 Remove aliases.
5602 (eieio-help-constructor, eieio-help-generic): Rename from
5603 `eieio-describe-constructor' and `eieio-describe-generic', resp.
5604 Rewrite to use `insert' in the current buffer and use proper help
5605 buttons.
5606 (eieio-help-find-method-definition)
5607 (eieio-help-find-class-definition): Also accept symbols as
5608 arguments.
5609 (eieio-help-mode-augmentation-maybee): Remove.
5610 (eieio-describe-class-sb): Use `describe-function'.
5611 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
5612 Add `eieio-help-generic' and `eieio-help-constructor'.
5613
5614 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
5615
5616 Spelling fixes.
5617 * language/china-util.el (hz-ascii-designation):
5618 Rename from hz-ascii-designnation.
5619 (hz-ascii-designation): Rename from hz-ascii-designnation.
5620 All uses changed.
5621
5622 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
5623
5624 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
5625 package-alist.
5626
5627 2014-01-08 Bastien Guerry <bzg@gnu.org>
5628
5629 * emacs-lisp/package.el (package-delete):
5630 Correctly delete the package from package-alist.
5631
5632 2014-01-08 Daiki Ueno <ueno@gnu.org>
5633
5634 * emacs-lisp/package.el (url-recreate-url): Declare.
5635 (url-http-target-url): Declare.
5636 (package-handle-response): Include requested URL in the error message.
5637 (package--check-signature): Don't re-signal errors from
5638 package--with-work-buffer. Suggested by Stefan Monnier.
5639
5640 2014-01-07 Bastien Guerry <bzg@gnu.org>
5641
5642 * minibuffer.el (completion--try-word-completion): When both a
5643 hyphen and a space are possible candidates for the character
5644 following a word, display both candidates. (Bug#15980)
5645
5646 2014-01-07 Martin Rudalics <rudalics@gmx.at>
5647
5648 * window.el (balance-windows-2): While rounding don't give a
5649 window more than the remainder. Bug#16351, bug#16383.
5650
5651 2014-01-07 Glenn Morris <rgm@gnu.org>
5652
5653 * menu-bar.el (menu-bar-help-extra-packages): Remove.
5654 (menu-bar-help-menu): Use view-external-packages instead.
5655
5656 2014-01-07 Bastien Guerry <bzg@gnu.org>
5657
5658 * emacs-lisp/package.el (package-delete): Also delete the package
5659 name from `package-alist', not its description only.
5660
5661 2014-01-07 Glenn Morris <rgm@gnu.org>
5662
5663 * help.el (view-external-packages):
5664 * menu-bar.el (menu-bar-help-extra-packages):
5665 Visit efaq.info rather than etc/MORE.STUFF.
5666
5667 2014-01-07 Juri Linkov <juri@jurta.org>
5668
5669 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
5670 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
5671
5672 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
5673 that shadows RET. (Bug#16342)
5674
5675 2014-01-07 Chong Yidong <cyd@gnu.org>
5676
5677 * isearch.el (isearch-yank-char, isearch-yank-word)
5678 (isearch-yank-line): Doc fix.
5679
5680 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5681
5682 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
5683 * emacs-lisp/elint.el (elint-find-builtins):
5684 * emacs-lisp/eldoc.el (eldoc-symbol-function):
5685 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
5686 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
5687 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5688 * apropos.el (apropos-safe-documentation):
5689 * subr.el (symbol-file): Remove redundant fboundp.
5690 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
5691
5692 2014-01-06 Bastien Guerry <bzg@gnu.org>
5693
5694 * hl-line.el (global-hl-line-overlay): Make a local variable.
5695 (global-hl-line-overlays): New variable to store all overlays.
5696 (global-hl-line-mode): Don't delete overlays from the current
5697 buffer when `global-hl-line-sticky-flag' is non-nil.
5698 (global-hl-line-highlight): Add new overlays to
5699 `global-hl-line-overlays'.
5700 (global-hl-line-unhighlight-all): New function to delete all
5701 overlays when turning off `global-hl-line-mode'.
5702 This fixes Bug#16183.
5703
5704 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5705
5706 * subr.el (set-transient-map): Fix nested case and docstring.
5707
5708 2014-01-06 Tassilo Horn <tsdh@gnu.org>
5709
5710 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
5711 `Texinfo' entry.
5712
5713 2014-01-06 Daniel Colascione <dancol@dancol.org>
5714
5715 Fix defun navigation in vc log view.
5716
5717 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
5718 like `beginning-of-defun'.
5719 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
5720 log-view-end-of-defun to log-view-end-of-defun-1. Replace
5721 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
5722 (log-view-extract-comment): Call `log-view-current-entry' directly
5723 instead of relying on broken `log-view-beginning-of-defun' behavior.
5724
5725 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
5726
5727 Spelling fixes.
5728 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5729 * emacs-lisp/debug.el (cancel-debug-on-entry):
5730 * epg.el (epg-error-to-string):
5731 * files.el (recover-file):
5732 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5733 * mail/emacsbug.el (report-emacs-bug-hook):
5734 * mail/sendmail.el (mail-recover):
5735 * ses.el (ses-yank-resize):
5736 * term/ns-win.el (ns-print-buffer):
5737 Spelling fixes in diagnostics, mostly for "canceled" with one L.
5738 * epg.el (epg-key-capability-alist): Rename from misspelled version.
5739 All uses changed.
5740 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5741
5742 2014-01-06 Leo Liu <sdl.web@gmail.com>
5743
5744 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5745 to avoid shadowing global key. (Bug#16354)
5746
5747 2014-01-06 Daniel Colascione <dancol@dancol.org>
5748
5749 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5750 rst-mode.
5751
5752 2014-01-05 Martin Rudalics <rudalics@gmx.at>
5753
5754 * window.el (balance-windows): Add mising t to fix Bug#16351.
5755
5756 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5757
5758 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5759 (bug#16285).
5760 (shr-insert): If we have a word that's longer than `shr-width',
5761 break after it anyway. Otherwise we'll do no breaking once we get
5762 such a long word.
5763
5764 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5765
5766 * net/eww.el (eww): Support single/double quote for search.
5767 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5768 (eww-history-quit): Delete and use quit-window.
5769 (eww-history-kill): Delete, because it doesn't work well and
5770 not necessary.
5771 (eww-history-mode-map): Delete some keys and add easy-menu.
5772
5773 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
5774
5775 Fix misspelling of 'chinese' in rx (Bug#16237).
5776 * emacs-lisp/rx.el (rx-categories): Correct spelling of
5777 chinese-two-byte.
5778
5779 Change subword regexps back to vars (Bug#16296).
5780 * progmodes/subword.el (subword-forward-regexp)
5781 (subword-backward-regexp): Change these back to variables.
5782
5783 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5784
5785 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5786 syntax-begin-function (bug#16247).
5787
5788 2014-01-03 Chong Yidong <cyd@gnu.org>
5789
5790 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5791 (advice--docstring): Delete variable.
5792 (advice--make-1): Leave the docstring empty.
5793 (advice-add): Use function-documentation for advised docstring.
5794
5795 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5796 Ignore function-documentation property when getting documentation.
5797 (ad-activate-advised-definition): Use function-documentation
5798 generate the docstring.
5799 (ad-make-advised-definition): Don't call
5800 ad-make-advised-definition-docstring.
5801 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5802 Delete functions.
5803
5804 * progmodes/sql.el (sql-help): Use function-documentation instead
5805 of dynamic-docstring-function property. No need to autoload now.
5806 (sql--help-docstring): New variable.
5807 (sql--make-help-docstring): Use it.
5808
5809 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5810
5811 * ielm.el (ielm-tab): Retarget.
5812 (ielm-map): Use ielm-tab for tab.
5813 (ielm-complete-filename): Use comint-filename-completion.
5814 (ielm-complete-symbol): Remove.
5815 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5816 remove ielm-tab from completion-at-point-functions (bug#16224).
5817
5818 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5819 Beware signals raised by predicates (bug#16201).
5820
5821 2014-01-02 Richard Stallman <rms@gnu.org>
5822
5823 * dired-aux.el (dired-do-print): Handle printer-name.
5824
5825 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5826 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5827 (rmail-epa-decrypt): Turn off mime processing.
5828
5829 * mail/rmail.el (rmail-make-in-reply-to-field):
5830 Add parens in message-id.
5831
5832 * mail/rmail.el (rmail-get-coding-function): Variable.
5833 (rmail-get-coding-system): Use it.
5834
5835 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5836
5837 * international/mule-conf.el: Unify the charset indian-is13194.
5838 (indian-is13194): Specify unify-map.
5839
5840 2013-12-31 Leo Liu <sdl.web@gmail.com>
5841
5842 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5843
5844 2013-12-30 Daniel Colascione <dancol@dancol.org>
5845
5846 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5847 of printing a useless when we resume from sleep.
5848
5849 * progmodes/sh-script.el
5850 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5851 in indentation code. (Bug#16233)
5852
5853 2013-12-28 João Távora <joaotavora@gmail.com>
5854
5855 * elec-pair.el (electric-pair-post-self-insert-function):
5856 Don't open extra newlines at beginning of buffer. (Bug#16272)
5857
5858 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5859
5860 * frame.el (window-system-for-display): Don't allow to create a
5861 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5862
5863 2013-12-28 Glenn Morris <rgm@gnu.org>
5864
5865 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5866 Update callers.
5867
5868 * apropos.el (apropos-match-face):
5869 * calculator.el (calculator-displayer):
5870 * dabbrev.el (dabbrev-search-these-buffers-only):
5871 * face-remap.el (buffer-face-mode-face):
5872 * simple.el (yank-handled-properties):
5873 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5874 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5875 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5876 (hashcash-double-spend-database):
5877 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5878 (ruby-deep-indent-paren-style):
5879 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5880 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5881 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5882 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5883 Specify custom types.
5884
5885 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5886 * bookmark.el (bookmark-bmenu-use-header-line):
5887 * doc-view.el (doc-view-scale-internally):
5888 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5889 * register.el (register-preview-delay):
5890 * net/shr.el (shr-bullet):
5891 * progmodes/cfengine.el (cfengine-cf-promises)
5892 (cfengine-parameters-indent):
5893 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5894 * textmodes/reftex-vars.el (reftex-label-regexps):
5895 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5896
5897 * net/tls.el (tls-certtool-program): Fix default value.
5898
5899 * desktop.el (desktop-restore-in-current-display):
5900 * newcomment.el (comment-empty-lines):
5901 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5902 (idlwave-pad-keyword):
5903 * progmodes/tcl.el (tcl-tab-always-indent):
5904 * textmodes/reftex-vars.el (reftex-index-default-tag):
5905 * elec-pair.el (electric-pair-skip-whitespace):
5906 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5907
5908 * emacs-lisp/authors.el (authors-ignored-files)
5909 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5910
5911 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5912
5913 * shell.el (shell-dynamic-complete-command): Doc fix.
5914 (shell--command-completion-data): Shell completion now matches
5915 executable filenames from the current buffer's directory, on
5916 systems in which this behavior is the default (windows-nt, ms-dos).
5917
5918 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5919
5920 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5921
5922 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5923
5924 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5925 (bug#16251).
5926
5927 * electric.el: Move all electric-pair-* to elec-pair.el.
5928 * elec-pair.el: New file, split from electric.el.
5929
5930 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5931
5932 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5933 indentation level is larger than the width, because that will
5934 infloop.
5935 (shr-insert): Fill repeatedly long texts, so that Japanese is
5936 formatted correctly (bug#16263).
5937 (shr-find-fill-point): Off by one error in comparison with the
5938 indentation.
5939
5940 2013-12-26 João Távora <joaotavora@gmail.com>
5941
5942 * electric.el (electric-pair-mode): More flexible engine for skip-
5943 and inhibit predicates, new options for pairing-related functionality.
5944 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5945 if that keeps or improves their balance in buffers.
5946 (electric-pair-delete-adjacent-pairs): Delete the pair when
5947 backspacing over adjacent matched delimiters.
5948 (electric-pair-open-extra-newline): Open extra newline when
5949 inserting newlines between adjacent matched delimiters.
5950 (electric--sort-post-self-insertion-hook):
5951 Sort post-self-insert-hook according to priority values when
5952 minor-modes are activated.
5953 * simple.el (newline-and-indent): Call newline with interactive
5954 set to t.
5955 (blink-paren-post-self-insert-function): Set priority to 100.
5956 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5957 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5958 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5959 electric-pair-open-newline-between-pairs to nil.
5960
5961 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5962
5963 * progmodes/python.el: Use lexical-binding.
5964 (python-nav-beginning-of-defun): Stop searching ASAP.
5965
5966 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5967
5968 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5969 Fix interactive spec. Doc fix. (Bug#15754)
5970
5971 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5972
5973 * emacs-lisp/byte-run.el (eval-when-compile):
5974 * progmodes/cc-defs.el (cc-eval-when-compile):
5975 Fix edebug spec (bug#16184).
5976
5977 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5978
5979 * net/shr.el (shr-visit-file): Remove debugging function.
5980 (shr-insert): Don't infloop if we can't find a good place to break
5981 the line (bug#16256).
5982
5983 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5984
5985 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5986 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5987 python-nav-lisp-forward-sexp-safe.
5988 (python-nav--forward-sexp): New argument SAFE allows switching
5989 forward sexp movement behavior for parens.
5990 (python-nav-forward-sexp): Throw errors on unterminated parens
5991 (Bug#16191).
5992 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5993 (python-nav-backward-sexp-safe): New functions.
5994 (python-shell-buffer-substring):
5995 Use `python-nav-forward-sexp-safe'.
5996
5997 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5998
5999 * net/shr.el (shr-find-fill-point): Don't break lines before a
6000 quotation mark.
6001 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
6002 (shr-find-fill-point): Remove the special checks for the quotation
6003 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
6004
6005 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6006
6007 * net/eww.el (eww-form-textarea): Use a different face for
6008 textareas than text input since they have different keymaps
6009 (bug#16142).
6010
6011 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
6012
6013 * progmodes/python.el (python-nav-beginning-of-statement):
6014 Speed up (Bug#15295).
6015
6016 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
6017
6018 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
6019 the window configuration.
6020
6021 2013-12-24 Eli Zaretskii <eliz@gnu.org>
6022
6023 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
6024 we run on MS-Windows or MS-DOS.
6025
6026 2013-12-24 Martin Rudalics <rudalics@gmx.at>
6027
6028 * window.el (balance-windows-area): Call window-size instead of
6029 window-height and window-width. Bug#16241.
6030
6031 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
6032
6033 * net/eww.el (eww-bookmark-quit): Remove.
6034 (eww-bookmark-browse): Restore the window configuration when you
6035 choose a bookmark (bug#16144).
6036
6037 2013-12-24 Daniel Colascione <dancol@dancol.org>
6038
6039 * icomplete.el: Remove redundant :group arguments to `defcustom'
6040 throughout.
6041 (icomplete-show-matches-on-no-input): New customizable variable.
6042 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
6043 we have something to show.
6044 (icomplete-exhibit): Compute completions even if we have no user input.
6045
6046 2013-12-23 Daniel Colascione <dancol@dancol.org>
6047
6048 * icomplete.el: Move `provide' to end of file.
6049
6050 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
6051
6052 * net/gnutls.el (gnutls-verify-error): Add version tag.
6053
6054 2013-12-23 Chong Yidong <cyd@gnu.org>
6055
6056 * subr.el (set-transient-map): Rename from
6057 set-temporary-overlay-map. Doc fix.
6058
6059 * face-remap.el (text-scale-adjust):
6060 * indent.el (indent-rigidly):
6061 * kmacro.el (kmacro-call-macro):
6062 * minibuffer.el (minibuffer-force-complete):
6063 * repeat.el (repeat):
6064 * simple.el (universal-argument--mode):
6065 * calendar/todo-mode.el (todo-insert-item--next-param):
6066 * progmodes/f90.el (f90-abbrev-start): Callers changed.
6067
6068 * indent.el (indent-rigidly): Use substitute-command-keys.
6069
6070 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6071
6072 * net/eww.el (eww-tag-select): Add text-property to jump to next
6073 select field.
6074 (eww): Add non-supported ftp error.
6075
6076 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
6077
6078 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
6079 comments. Handle electric indent after typing `?' and `!'.
6080
6081 2013-12-22 Chong Yidong <cyd@gnu.org>
6082
6083 * faces.el (face-spec-recalc): If the theme specs are not
6084 applicable to a frame, fall back on the defface spec.
6085 This prevents themes from obliterating faces on low-color terminals.
6086
6087 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
6088
6089 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6090 after `{'. We need it after block openers, and it doesn't seem
6091 to hurt after hash openers.
6092
6093 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
6094
6095 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
6096 extracted from `ruby-smie-rules'.
6097 (ruby--electric-indent-chars): New variable.
6098 (ruby--electric-indent-p): New function.
6099 (ruby-mode): Use `electric-indent-functions' instead of
6100 `electric-indent-chars'.
6101
6102 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
6103
6104 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
6105 docstring.
6106 (ruby-smie-rules): Indent plus one level after `=>'.
6107
6108 2013-12-21 Richard Stallman <rms@gnu.org>
6109
6110 * simple.el (newline): Doc fix.
6111
6112 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6113
6114 * net/eww.el (eww-list-histories, eww-list-histories)
6115 (eww-history-browse, eww-history-quit, eww-history-kill)
6116 (eww-history-mode-map, eww-history-mode): New command and
6117 functions to list browser histories.
6118 (eww-form-text): Support text form with disabled
6119 and readonly attributes.
6120 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
6121
6122 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6123
6124 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
6125 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
6126 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
6127 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
6128 Use `user-error'.
6129 (eww-bookmark-mode-map): Add menu.
6130 (eww-render, eww-mode): Use `setq-local'.
6131 (eww-tool-bar-map): New variable.
6132 (eww-mode): Set `tool-bar-map'.
6133 (eww-view-source): Check for `html-mode' with `fboundp'.
6134
6135 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
6136
6137 * net/shr.el (shr--extract-best-source): Don't bug out on audio
6138 elements with text inside. Also remove debugging.
6139
6140 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
6141
6142 * cus-start.el (all): Add ns-use-srgb-colorspace.
6143
6144 2013-12-21 Chong Yidong <cyd@gnu.org>
6145
6146 * custom.el (custom-theme-recalc-face): Do nothing if the face is
6147 undefined. Thus, theme settings for undefined faces do not take
6148 effect until the faces are defined with defface, the same as with
6149 theme variables.
6150
6151 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
6152 (face-spec-reset-face): Don't assign extra properties in temacs.
6153 (face-spec-recalc): Apply X resources too.
6154
6155 2013-12-21 Chong Yidong <cyd@gnu.org>
6156
6157 * faces.el (face-spec-set):
6158 * cus-face.el (custom-theme-set-faces, custom-set-faces):
6159 * custom.el (defface): Doc fixes (Bug#16203).
6160
6161 * indent.el (indent-rigidly-map): Add docstring, and move commands
6162 into named functions.
6163 (indent-rigidly-left, indent-rigidly-right)
6164 (indent-rigidly-left-to-tab-stop)
6165 (indent-rigidly-right-to-tab-stop): New functions. Decide on
6166 indentation direction based on bidi direction, and accumulate
6167 sequential commands in a single undo boundary.
6168 (indent-rigidly--pop-undo): New utility function.
6169
6170 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
6171
6172 * faces.el (read-face-name): Require crm.el when using crm-separator.
6173
6174 2013-12-20 Daniel Colascione <dancol@dancol.org>
6175
6176 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
6177 so that we don't reflow comments into the shebang line.
6178
6179 2013-12-20 Juri Linkov <juri@jurta.org>
6180
6181 * saveplace.el (save-place-to-alist): Add `dired-filename' as
6182 a position when `dired-directory' is non-nil. Check integer
6183 positions with `integerp'.
6184 (toggle-save-place, save-places-to-alist): Add check for
6185 `dired-directory'.
6186 (save-place-find-file-hook): Check integer positions with
6187 `integerp'.
6188 (save-place-dired-hook): Use `dired-goto-file' when
6189 `dired-filename' is found in the assoc list. Check integer
6190 positions with `integerp'.
6191 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
6192
6193 * dired.el (dired-initial-position-hook): Rename back from
6194 `dired-initial-point-hook'.
6195 (dired-initial-position): Rename `dired-initial-point-hook' to
6196 `dired-initial-position-hook'.
6197 (dired-file-name-at-point): Doc fix. (Bug#15329)
6198
6199 2013-12-20 Juri Linkov <juri@jurta.org>
6200
6201 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
6202 (read-regexp-suggestions): New function.
6203 (read-regexp): Use `read-regexp-defaults-function' to get default values.
6204 Use `read-regexp-suggestions'. Add non-empty default to history
6205 for empty input.
6206 (occur-read-regexp-defaults-function): Remove function.
6207 (occur-read-primary-args): Use `regexp-history-last' instead of
6208 `occur-read-regexp-defaults-function'.
6209
6210 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
6211 (hi-lock-line-face-buffer, hi-lock-face-buffer)
6212 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
6213 `hi-lock-read-regexp-defaults-function'. Doc fix.
6214 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
6215 with `find-tag-default-as-symbol-regexp'. Doc fix.
6216 (hi-lock-read-regexp-defaults): Remove function.
6217 (hi-lock-regexp-okay): Add check for null.
6218
6219 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
6220 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
6221
6222 * subr.el (find-tag-default-as-symbol-regexp): New function.
6223 (find-tag-default-as-regexp): Move symbol regexp formatting to
6224 `find-tag-default-as-symbol-regexp'.
6225
6226 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
6227
6228 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
6229 (Bug#14179)
6230
6231 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
6232
6233 * calendar/todo-mode.el: New implementation of item insertion
6234 commands and key bindings.
6235 (todo-key-prompt): New face.
6236 (todo-insert-item): New command.
6237 (todo-insert-item--parameters): New defconst, replacing defvar
6238 todo-insertion-commands-args-genlist.
6239 (todo-insert-item--param-key-alist): New defconst, replacing
6240 defvar todo-insertion-commands-arg-key-list.
6241 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
6242 (todo-insert-item--argsleft, todo-insert-item--apply-args)
6243 (todo-insert-item--next-param): New functions.
6244 (todo-insert-item--args, todo-insert-item--argleft)
6245 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
6246 New variables.
6247 (todo-key-bindings-t): Change binding of "i" from
6248 todo-insertion-map to todo-insert-item.
6249 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
6250 (todo-insertion-command-name, todo-insertion-commands-names)
6251 (todo-define-insertion-command, todo-insertion-commands)
6252 (todo-insertion-key-bindings, todo-insertion-map): Remove.
6253
6254 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
6255
6256 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
6257 (todo-toggle-item-highlighting): Use eval-and-compile instead of
6258 eval-when-compile.
6259 (todo-move-category): Allow choosing a non-existing todo file to
6260 move the category to, and create that file.
6261 (todo-default-priority): New user option.
6262 (todo-set-item-priority): Use it.
6263 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
6264 (desktop-restore-file-buffer): Declare.
6265 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
6266 (todo-modes-set-2): Locally set desktop-save-buffer to
6267 todo-desktop-save-buffer.
6268 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
6269 (auto-mode-alist): Add autoload cookie.
6270
6271 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
6272
6273 * emacs-lisp/subr-x.el: Renamed from helpers.el.
6274 helpers.el was a poor choice of name.
6275 (string-remove-prefix): New function.
6276 (string-remove-suffix): New function.
6277
6278 2013-12-20 Martin Rudalics <rudalics@gmx.at>
6279
6280 Fix assignment for new window total sizes.
6281 * window.el (window--pixel-to-size): Remove function.
6282 (window--pixel-to-total-1, window--pixel-to-total):
6283 Fix calculation of new total sizes.
6284
6285 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
6286
6287 * comint.el (comint-output-filter): Fix rear-nonsticky property
6288 placement (Bug#16010).
6289
6290 2013-12-20 Chong Yidong <cyd@gnu.org>
6291
6292 * faces.el (read-color): Minor fix for completion function.
6293
6294 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
6295
6296 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
6297 New option. (Bug#16182)
6298 (ruby-smie--indent-to-stmt-p): Use it.
6299 (ruby-smie-rules): Revert the logic in the handling of `when'.
6300 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
6301 (ruby-deep-arglist, ruby-deep-indent-paren)
6302 (ruby-deep-indent-paren-style): Update docstrings to note that the
6303 vars don't have any effect with SMIE.
6304
6305 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
6306
6307 * calc/calc.el (calc-enter, calc-pop): Use the variable
6308 `calc-context-sensitive-enter'.
6309
6310 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
6311
6312 * net/shr.el (shr-insert): Protect against infloops in degenerate
6313 tables.
6314
6315 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6316
6317 * progmodes/octave.el (octave): Add link to manual and octave
6318 homepage.
6319 (octave-mode-menu): Link to octave-mode manual.
6320
6321 2013-12-20 Leo Liu <sdl.web@gmail.com>
6322
6323 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
6324 insertion using skeleton-end-newline. (Bug#16138)
6325
6326 2013-12-20 Juri Linkov <juri@jurta.org>
6327
6328 * replace.el (occur-engine): Use `add-face-text-property'
6329 to add the face property to matches and titles. (Bug#14645)
6330
6331 * hi-lock.el (hi-green): Use lighter color "light green" closer to
6332 the palette of other hi-lock colors.
6333 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
6334
6335 2013-12-19 Juri Linkov <juri@jurta.org>
6336
6337 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
6338 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
6339 (minibuffer-history-symbol): Move variable declaration closer to
6340 its usage.
6341
6342 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
6343 (Bug#14785)
6344
6345 2013-12-19 Juri Linkov <juri@jurta.org>
6346
6347 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
6348 New function.
6349 (log-edit-hook): Add it to :options. (Bug#16170)
6350
6351 2013-12-19 Juri Linkov <juri@jurta.org>
6352
6353 * simple.el (eval-expression-print-format): Don't check for
6354 command names and the last command. Always display additional
6355 formats of the integer result in the echo area, and insert them
6356 to the current buffer only with a zero prefix arg.
6357 Display character when char-displayable-p is non-nil.
6358 (eval-expression): With a zero prefix arg, set `print-length' and
6359 `print-level' to nil, and insert the integer values from
6360 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
6361
6362 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
6363 `eval-last-sexp-arg-internal'. Doc fix.
6364 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
6365 `eval-last-sexp-print-value'. Doc fix.
6366 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
6367 Set `print-length' and `print-level' to nil when arg is zero.
6368 (eval-last-sexp): Doc fix.
6369 (eval-defun-2): Print the integer values from
6370 `eval-expression-print-format' at the end.
6371
6372 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
6373 values from `eval-expression-print-format' at the end.
6374
6375 * ielm.el (ielm-eval-input): Print the integer
6376 values from `eval-expression-print-format' at the end.
6377
6378 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
6379
6380 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
6381 2013-12-11T19:01:44Z!tzz@lifelogs.com.
6382
6383 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
6384
6385 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
6386 (hl-line-highlight, global-hl-line-highlight): Use it.
6387 (hl-line-overlay): Use defvar-local.
6388
6389 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
6390
6391 * term/ns-win.el: Require dnd.
6392 (global-map): Remove drag items.
6393 (ns-insert-text, ns-set-foreground-at-mouse)
6394 (ns-set-background-at-mouse):
6395 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
6396 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
6397 New functions.
6398
6399 2013-12-19 Glenn Morris <rgm@gnu.org>
6400
6401 * emacs-lisp/ert.el (ert-select-tests):
6402 Fix string/symbol mixup. (Bug#16121)
6403
6404 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
6405
6406 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
6407 keywords to their parent.
6408
6409 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
6410
6411 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
6412 first arg to be a string (fixed dead code), or an operator symbol.
6413 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
6414 operator symbols.
6415 (ruby-smie-rules): Remove parent token check in the `.' clause, it
6416 did nothing. Don't respond to `(:after ".")', it will be called
6417 with :before anyway. Remove the ` @ ' rule, it didn't seem to
6418 change anything. Only return indentation for binary operators
6419 when they are hanging. De-dent opening paren when its parent is
6420 `.', otherwise it looks bad when the dot is not at bol or eol
6421 (bug#16182).
6422
6423 2013-12-19 Juri Linkov <juri@jurta.org>
6424
6425 * replace.el (query-replace-read-args): Split a non-negative arg
6426 and a negative arg into separate elements.
6427 (query-replace, query-replace-regexp, replace-string)
6428 (replace-regexp): Add arg `backward'. Doc fix.
6429 (replace-match-maybe-edit): When new arg `backward' is non-nil,
6430 move point to the beginning of the match.
6431 (replace-search, replace-highlight): Use new arg `backward'
6432 to set the value of `isearch-forward'.
6433 (perform-replace): Add arg `backward' and use it to perform
6434 replacement backward. (Bug#14979)
6435
6436 * isearch.el (isearch-query-replace): Use a negative prefix arg
6437 to call `perform-replace' with a non-nil arg `backward'.
6438
6439 2013-12-18 Juri Linkov <juri@jurta.org>
6440
6441 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
6442 to the default list. Move `log-edit-show-files' to the end.
6443 Add more available functions to options.
6444 (log-edit): Move default specific settings to
6445 `log-edit-insert-message-template'. Don't move point.
6446 (log-edit-insert-message-template): New function.
6447 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
6448 (Bug#16170)
6449
6450 2013-12-18 Juri Linkov <juri@jurta.org>
6451
6452 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
6453 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
6454
6455 2013-12-18 Leo Liu <sdl.web@gmail.com>
6456
6457 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
6458 (Bug#16186)
6459
6460 2013-12-18 Eli Zaretskii <eliz@gnu.org>
6461
6462 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
6463 formats for displaying file sizes when the -s switch is given.
6464 Instead, compute a separate format for displaying the size in
6465 blocks, which is displayed in addition to the "regular" size.
6466 When -h is given in addition to -s, produce size in blocks in
6467 human-readable form as well. (Bug#16179)
6468
6469 2013-12-18 Tassilo Horn <tsdh@gnu.org>
6470
6471 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
6472 Reference tables with ~\ref{...} instead of only \ref{...}.
6473
6474 2013-12-18 Chong Yidong <cyd@gnu.org>
6475
6476 * cus-edit.el (custom-magic-alist): Fix "themed" description
6477 (Bug#14348).
6478
6479 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
6480 is non-nil, do not create a new entry in the symbol's theme-value
6481 or theme-face property; update theme-settings only (Bug#14664).
6482 (custom-available-themes): Doc fix.
6483
6484 * cus-theme.el (custom-new-theme-mode-map): Add bindings
6485 (Bug#15674).
6486
6487 * replace.el (occur-engine): Avoid infloop (Bug#7593).
6488
6489 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
6490
6491 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
6492 (Bug#13914).
6493
6494 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
6495
6496 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
6497
6498 2013-12-18 Glenn Morris <rgm@gnu.org>
6499
6500 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
6501 * cus-start.el (load-prefer-newer): New option.
6502
6503 2013-12-18 Le Wang <l26wang@gmail.com>
6504
6505 * comint.el (comint-previous-matching-input-from-input):
6506 Retain point (Bug#13404).
6507
6508 2013-12-18 Chong Yidong <cyd@gnu.org>
6509
6510 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
6511
6512 2013-12-18 Glenn Morris <rgm@gnu.org>
6513
6514 * mail/emacsbug.el (report-emacs-bug):
6515 Only mention enable-multibyte-characters if non-standard.
6516
6517 2013-12-17 Juri Linkov <juri@jurta.org>
6518
6519 * arc-mode.el (archive-extract-by-file): Check if directory exists
6520 before deletion to not show irrelevant errors if it doesn't exist.
6521
6522 2013-12-17 Juri Linkov <juri@jurta.org>
6523
6524 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
6525 (Bug#14751)
6526
6527 * net/eww.el (browse-web): Add alias to `eww'.
6528 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
6529 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
6530
6531 * net/browse-url.el (browse-url-browser-function): Move `eww'
6532 closer to similar functions.
6533
6534 * startup.el (fancy-startup-screen, fancy-about-screen):
6535 Set browse-url-browser-function to eww-browse-url locally.
6536 (Bug#14751)
6537
6538 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
6539
6540 * window.el (window--pixel-to-total): Remove unused `mini' var.
6541 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
6542 (split-window): Remove unused `new' var.
6543 (window--display-buffer): Remove unused `frame' and `delta' vars.
6544 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
6545 and display-width'.
6546
6547 2013-12-17 Martin Rudalics <rudalics@gmx.at>
6548
6549 * dired.el (dired-mark-pop-up):
6550 * register.el (register-preview): Don't bind
6551 split-height-threshold here since it's now done in
6552 display-buffer-below-selected.
6553
6554 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
6555
6556 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
6557 xterm-rgb-convert-to-16bit.
6558 (rxvt-register-default-colors): Standardize with
6559 xterm-register-default-colors (Bug#14078).
6560
6561 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
6562
6563 * simple.el (kill-region): Pass mark first, then point, so that
6564 kill-append works right (Bug#12819).
6565 (copy-region-as-kill, kill-ring-save): Likewise.
6566
6567 2013-12-17 Leo Liu <sdl.web@gmail.com>
6568
6569 * net/rcirc.el (rcirc-add-face):
6570 * eshell/em-prompt.el (eshell-emit-prompt):
6571 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
6572 (Bug#16167)
6573
6574 2013-12-17 Chong Yidong <cyd@gnu.org>
6575
6576 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
6577 Suggested by Xue Fuqiao.
6578
6579 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
6580
6581 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
6582
6583 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
6584
6585 * net/shr.el (shr-insert-document): Remove unused var
6586 `shr-preliminary-table-render'.
6587 (shr-rescale-image): Remove unused arg `force'.
6588 (shr-put-image): Update calls accordingly.
6589 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
6590
6591 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
6592
6593 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
6594 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
6595 :close-all, to see which indentation method to use (Bug#16116).
6596 (smie-rules-function): Document the method :close-all.
6597
6598 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6599
6600 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
6601
6602 * net/eww.el (eww-display-html): If we can't find the anchor we're
6603 looking for, then go to point-min.
6604
6605 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
6606
6607 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
6608 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
6609 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
6610 Expand dir too, in case it's relative.
6611
6612 2013-12-16 Juri Linkov <juri@jurta.org>
6613
6614 * desktop.el (desktop-auto-save-timeout): Change default to
6615 `auto-save-timeout'. Doc fix.
6616 (desktop-save): Skip the timestamp in desktop-saved-frameset
6617 when checking for auto-save changes.
6618 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
6619 `desktop-auto-save' is called repeatedly by the idle timer.
6620 (desktop-auto-save-set-timer): Replace `run-with-timer' with
6621 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
6622 (Bug#15331)
6623
6624 2013-12-16 Juri Linkov <juri@jurta.org>
6625
6626 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
6627 (Bug#16035)
6628 (isearch-pre-command-hook): Check `this-command' for symbolp.
6629
6630 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
6631
6632 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
6633
6634 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
6635
6636 * progmodes/cfengine.el (cfengine3--current-word): Remove.
6637 (cfengine3--current-function): Bring in the current-function
6638 functionality from `cfengine3--current-word'.
6639 (cfengine3-completion-function): Bring in the
6640 bounds-of-current-word functionality from
6641 `cfengine3--current-word'.
6642
6643 2013-12-16 Martin Rudalics <rudalics@gmx.at>
6644
6645 * window.el (display-buffer-below-selected):
6646 Bind split-height-threshold to 0 as suggested by Juri Linkov.
6647
6648 2013-12-16 Leo Liu <sdl.web@gmail.com>
6649
6650 * progmodes/compile.el (compile-goto-error): Do not push-mark.
6651 Remove NOMSG arg and all uses changed.
6652
6653 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
6654
6655 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
6656 (cua--deactivate-rectangle): Don't deactivate the mark.
6657 (cua-set-rectangle-mark): Don't set mark-active since
6658 cua--activate-rectangle already does it for us.
6659 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
6660 non-rectangular region.
6661
6662 * emulation/cua-base.el (cua-repeat-replace-region):
6663 Use with-current-buffer.
6664
6665 * net/gnutls.el: Use cl-lib.
6666 (gnutls-negotiate): `mapcan' -> cl-mapcan.
6667
6668 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6669
6670 * emacs-lisp/package.el (package-built-in-p): Support both
6671 built-in and the package.el converted package descriptions.
6672 (package-show-package-list): Allow keywords.
6673 (package-keyword-button-action): Use it instead of
6674 `finder-list-matches'.
6675 (package-menu-filter-interactive): Interactive filtering (by
6676 keyword) function.
6677 (package-menu--generate): Support keywords and change keymappings
6678 and headers when they are given.
6679 (package--has-keyword-p): Helper function.
6680 (package-menu--refresh): Use it.
6681 (package--mapc): Helper function.
6682 (package-all-keywords): Use it.
6683 (package-menu-mode-map): Set up menu items and keybindings to
6684 provide a filtering UI.
6685
6686 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6687
6688 * net/gnutls.el (gnutls-verify-error): New defcustom to control
6689 the behavior when a certificate fails validation. Defaults to
6690 old behavior: never abort, just warn.
6691 (gnutls-negotiate): Use it.
6692
6693 2013-12-14 Martin Rudalics <rudalics@gmx.at>
6694
6695 * window.el (display-buffer-below-selected): Never split window
6696 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
6697
6698 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
6699
6700 * emacs-lisp/package.el (package--prepare-dependencies): New function.
6701 (package-buffer-info): Use it (bug#15108).
6702
6703 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
6704
6705 * icomplete.el (icomplete-completions): Make sure the prefix is already
6706 displayed elsewhere before hiding it (bug#16219).
6707
6708 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
6709
6710 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
6711 open-paren tokens when preceded by a open-paren, too.
6712 (ruby-smie-rules): Handle virtual indentation after open-paren
6713 tokens specially. If there is code between it and eol, return the
6714 column where is starts (Bug#16118).
6715
6716 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6717
6718 * progmodes/cfengine.el: Fix `add-hook' doc.
6719 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
6720 (cfengine3--current-word): Fix parameters.
6721 (cfengine3-make-syntax-cache): Simplify further.
6722 (cfengine3-completion-function, cfengine3--current-function):
6723 Use `assq' for symbols.
6724 (cfengine3--current-function): Fix `cfengine3--current-word' call.
6725
6726 2013-12-13 Glenn Morris <rgm@gnu.org>
6727
6728 * loadup.el (load-path): Warn if site-load or site-init changes it.
6729 No more need to reset it when bootstrapping.
6730
6731 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6732
6733 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6734 locations for cf-promises.
6735 (cfengine-mode-syntax-functions-regex): New caching variable.
6736 (cfengine3-fallback-syntax): Fallback syntax for cases where
6737 cf-promises doesn't run.
6738 (cfengine3--current-word): Reimplement using
6739 `cfengine-mode-syntax-functions-regex'.
6740 (cfengine3-completion-function, cfengine3--current-function):
6741 Use `cfengine3-make-syntax-cache' directly.
6742 (cfengine3-clear-syntax-cache): New function.
6743 (cfengine3-make-syntax-cache): Simplify and create
6744 `cfengine-mode-syntax-functions-regex' on demand.
6745 (cfengine3-format-function-docstring): Don't call
6746 `cfengine3-make-syntax-cache' explicitly.
6747
6748 2013-12-13 Martin Rudalics <rudalics@gmx.at>
6749
6750 Fix windmove-find-other-window broken after pixelwise resizing
6751 (Bug#16017).
6752 * windmove.el (windmove-other-window-loc): Revert change from
6753 2013-12-04.
6754 (windmove-find-other-window): Call window-in-direction.
6755 * window.el (window-in-direction): New arguments SIGN, WRAP and
6756 MINI to emulate original windmove-find-other-window behavior.
6757
6758 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
6759
6760 * simple.el (blink-matching--overlay): New variable.
6761 (blink-matching-open): Instead of moving point, highlight the
6762 matching paren with an overlay
6763 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6764
6765 * faces.el (paren-showing-faces, show-paren-match)
6766 (show-paren-mismatch): Move from paren.el.
6767
6768 2013-12-13 Leo Liu <sdl.web@gmail.com>
6769
6770 * indent.el (indent-region): Disable progress reporter in
6771 minibuffer. (Bug#16108)
6772
6773 * bindings.el (visual-order-cursor-movement): Fix version.
6774
6775 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6776
6777 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6778 Also match after beginning of line.
6779 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6780 files. Thanks to Russell Sim. (Bug#15378)
6781
6782 2013-12-13 Juri Linkov <juri@jurta.org>
6783
6784 * simple.el <Keypad support>: Remove key bindings duplicated
6785 with bindings.el. (Bug#14397)
6786
6787 2013-12-13 Juri Linkov <juri@jurta.org>
6788
6789 * comint.el (comint-mode-map): Replace `delete-char' with
6790 `delete-forward-char'. (Bug#16109)
6791
6792 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6793
6794 * progmodes/python.el (python-indent-calculate-indentation):
6795 Fix de-denters cornercase. (Bug#15731)
6796
6797 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6798
6799 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6800 (advice--make): Pay attention to `depth'.
6801 (advice--make-1): Don't autoload commands eagerly.
6802 * emacs-lisp/elp.el (elp-instrument-function):
6803 * emacs-lisp/trace.el (trace-function-internal):
6804 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6805
6806 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6807
6808 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6809
6810 * term/w32-win.el (w32-handle-dropped-file):
6811 * startup.el (normal-top-level):
6812 * net/browse-url.el (browse-url-file-url):
6813 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6814 decode file names using 'utf-8' rather than
6815 file-name-coding-system.
6816
6817 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6818
6819 * progmodes/python.el (python-indent-context)
6820 (python-indent-calculate-indentation): Fix auto-identation
6821 behavior for comment blocks. (Bug#15916)
6822
6823 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6824
6825 * progmodes/python.el (python-indent-calculate-indentation):
6826 When determining indentation, don't treat "return", "pass", etc., as
6827 operators when they are just string constituents. (Bug#15812)
6828
6829 2013-12-12 Juri Linkov <juri@jurta.org>
6830
6831 * uniquify.el (uniquify-buffer-name-style): Change default to
6832 `post-forward-angle-brackets'.
6833
6834 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6835 `uniquify'. Change default to `post-forward-angle-brackets'.
6836
6837 2013-12-11 Glenn Morris <rgm@gnu.org>
6838
6839 * emacs-lisp/package.el (finder-list-matches):
6840 Autoload rather than falsely declaring.
6841
6842 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6843
6844 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6845 (eww-mode-map): Use them.
6846
6847 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6848
6849 * window.el (display-buffer-in-side-window): Fix doc-string
6850 (Bug#16115).
6851
6852 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6853
6854 * vc/vc-git.el: Silence byte-compiler warnings.
6855 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6856 (log-edit-set-header): Declare.
6857
6858 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6859
6860 * Makefile.in (custom-deps, finder-data): Run output file names
6861 through unmsys--file-name. (Bug#16099)
6862
6863 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6864
6865 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6866 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6867
6868 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6869 instead of deleting the selection "by hand" (bug#16098).
6870 Rely on insert-for-yank to yank rectangles.
6871 (cua-highlight-region-shift-only): Mark obsolete.
6872 (cua-mode): Don't enable/disable transient-mark-mode,
6873 shift-select-mode (cua-mode works both with and without them), and
6874 pc-selection-mode (obsolete).
6875 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6876 (cua--deactivate-rectangle): Deactivate it.
6877
6878 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6879 (delete-selection-helper): Make sure yank starts at the top of the
6880 deleted region.
6881 (minibuffer-keyboard-quit): Use region-active-p.
6882
6883 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6884
6885 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6886 to `delete' (bug#16109).
6887
6888 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6889
6890 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6891 info manual and show keybindings and set `:group' keyword.
6892
6893 2013-12-11 Juri Linkov <juri@jurta.org>
6894
6895 * delsel.el (delete-active-region): Let-bind `this-command'
6896 to prevent `kill-region' from changing its original value.
6897 (delete-selection-helper): Handle `overwrite-mode' for the type
6898 `kill' exactly the same way as for the type `t'.
6899 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6900 Support more commands. (Bug#13312)
6901
6902 2013-12-11 Juri Linkov <juri@jurta.org>
6903
6904 * bindings.el: Map kp keys to non-kp keys systematically
6905 with basic modifiers control, meta and shift. (Bug#14397)
6906
6907 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6908
6909 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6910 "Close browser" menu items. Fix wrong function of "List
6911 bookmarks".
6912
6913 2013-12-11 Juri Linkov <juri@jurta.org>
6914
6915 * misearch.el (multi-isearch-buffers): Set the value of
6916 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6917 arg of isearch-forward to t.
6918 (multi-isearch-buffers-regexp): Set the value of
6919 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6920 arg of isearch-forward-regexp to t.
6921 (multi-isearch-files): Set the value of
6922 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6923 arg of isearch-forward to t.
6924 (multi-isearch-files-regexp): Set the value of
6925 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6926 arg of isearch-forward-regexp to t. (Bug#16035)
6927
6928 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6929 arg of isearch-forward to t.
6930 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6931 arg of isearch-forward-regexp to t.
6932 (dired-isearch-filter-filenames): Remove unnecessary check for
6933 `dired-isearch-filenames'.
6934
6935 * comint.el (comint-history-isearch-backward):
6936 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6937 (comint-history-isearch-backward-regexp):
6938 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6939
6940 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6941
6942 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6943 unmsys--file-name. (Bug#16099)
6944
6945 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6946
6947 * emacs-lisp/package.el (package-keyword-button-action):
6948 Remove finder.el require dependency.
6949
6950 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6951
6952 * emacs-lisp/package.el: Require finder.el.
6953 (describe-package-1): Add keyword buttons.
6954 (package-make-button): New convenience function.
6955 (package-keyword-button-action): Keyword button action using
6956 `finder-list-matches'.
6957
6958 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6959
6960 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6961 last commit.
6962
6963 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6964
6965 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6966 symlinked files.
6967
6968 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6969
6970 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6971 after the end of a percent literal.
6972
6973 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6974
6975 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6976 Handle caret-delimited strings (Bug#16079).
6977
6978 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6979
6980 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6981 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6982 `ruby-parse-partial' (Bug#16078).
6983
6984 2013-12-09 Leo Liu <sdl.web@gmail.com>
6985
6986 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6987
6988 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6989
6990 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6991 (js-switch-indent-offset): New option.
6992 (js--proper-indentation): Use it. And handle the case when
6993 "default" is actually a key in an object literal.
6994 (js--same-line): New function.
6995 (js--multi-line-declaration-indentation): Use it.
6996 (js--indent-in-array-comp, js--array-comp-indentation):
6997 New functions.
6998 (js--proper-indentation): Use them, to handle array comprehension
6999 continuations.
7000
7001 2013-12-08 Leo Liu <sdl.web@gmail.com>
7002
7003 * progmodes/flymake.el (flymake-highlight-line): Re-write.
7004 (flymake-make-overlay): Remove arg MOUSE-FACE.
7005 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
7006
7007 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7008
7009 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
7010 New function.
7011 (redisplay-highlight-region-function): Use it.
7012
7013 * emulation/cua-base.el (cua--explicit-region-start)
7014 (cua--last-region-shifted): Remove.
7015 (cua--deactivate): Use deactivate-mark.
7016 (cua--pre-command-handler-1): Don't handle shift-selection.
7017 (cua--post-command-handler-1): Don't change transient-mark-mode.
7018 (cua--select-keymaps): Use region-active-p rather than
7019 cua--explicit-region-start or cua--last-region-shifted.
7020 (cua-mode): Enable shift-select-mode.
7021
7022 2013-12-08 Leo Liu <sdl.web@gmail.com>
7023
7024 * progmodes/flymake.el (flymake-popup-current-error-menu):
7025 Rename from flymake-display-err-menu-for-current-line. Reimplement.
7026 (flymake-posn-at-point-as-event, flymake-popup-menu)
7027 (flymake-make-emacs-menu): Remove. (Bug#16077)
7028
7029 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
7030
7031 * rect.el (rectangle-mark-mode): Activate mark even if
7032 transient-mark-mode is off (bug#16066).
7033 (rectangle--highlight-for-redisplay): Fix boundary condition when point
7034 is > mark and at bolp.
7035
7036 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
7037 (region-extract-function): Use it.
7038 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
7039 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
7040 Delete functions.
7041 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
7042 kill-ring-save, kill-region, delete-char, delete-forward-char.
7043 Ignore self-insert-iso.
7044
7045 * emulation/cua-gmrk.el (cua--init-global-mark):
7046 Ignore `self-insert-iso'.
7047
7048 * emulation/cua-base.el (cua--prefix-copy-handler)
7049 (cua--prefix-cut-handler): Rely on region-extract-function rather than
7050 checking cua--rectangle.
7051 (cua-delete-region): Use region-extract-function.
7052 (cua-replace-region): Delete function.
7053 (cua-copy-region, cua-cut-region): Obey region-extract-function.
7054 (cua--pre-command-handler-1): Don't do the delete-selection thing.
7055 (cua--self-insert-char-p): Ignore `self-insert-iso'.
7056 (cua--init-keymaps): Don't remap delete-selection commands.
7057 (cua-mode): Use delete-selection-mode instead of rolling our own
7058 (bug#16085).
7059
7060 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
7061 Obey region-extract-function.
7062
7063 Make registers and delete-selection-mode work on rectangles.
7064 * register.el (describe-register-1): Don't modify the register's value.
7065 (copy-to-register): Obey region-extract-function.
7066 * delsel.el (delete-active-region): Obey region-extract-function.
7067
7068 2013-12-08 Leo Liu <sdl.web@gmail.com>
7069
7070 * progmodes/flymake.el (flymake, flymake-error-bitmap)
7071 (flymake-warning-bitmap, flymake-fringe-indicator-position)
7072 (flymake-compilation-prevents-syntax-check)
7073 (flymake-start-syntax-check-on-newline)
7074 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
7075 (flymake-start-syntax-check-on-find-file, flymake-log-level)
7076 (flymake-xml-program, flymake-master-file-dirs)
7077 (flymake-master-file-count-limit)
7078 (flymake-allowed-file-name-masks): Relocate.
7079 (flymake-makehash, flymake-float-time)
7080 (flymake-replace-regexp-in-string, flymake-split-string)
7081 (flymake-get-temp-dir): Remove.
7082 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
7083 (flymake-current-row, flymake-selected-frame)
7084 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
7085 related functions. (Bug#16077)
7086
7087 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
7088
7089 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
7090
7091 2013-12-07 Tassilo Horn <tsdh@gnu.org>
7092
7093 * help-fns.el (describe-function-1): Use new advice-* functions
7094 rather than old ad-* functions. Fix function type description and
7095 source links for advised functions and subrs.
7096
7097 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7098
7099 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
7100
7101 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
7102
7103 * progmodes/compile.el (compilation-start):
7104 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
7105
7106 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
7107 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
7108
7109 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
7110
7111 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7112 Touch up the last change.
7113
7114 2013-12-06 Leo Liu <sdl.web@gmail.com>
7115
7116 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
7117 (inferior-octave-startup): Always use "octave> " for prompt.
7118 (octave-goto-function-definition)
7119 (octave-sync-function-file-names)
7120 (octave-find-definition-default-filename): Remove redundant backquotes.
7121
7122 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
7123
7124 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
7125 syntax for `?'.
7126 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
7127 where appropriate already.
7128 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
7129 end of method names (Bug#15874).
7130
7131 2013-12-06 Juri Linkov <juri@jurta.org>
7132
7133 * isearch.el (isearch--saved-overriding-local-map):
7134 New internal variable.
7135 (isearch-mode): Set it to the initial value of
7136 `overriding-terminal-local-map'.
7137 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
7138 with `isearch--saved-overriding-local-map'. (Bug#16035)
7139
7140 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
7141
7142 * progmodes/octave.el (inferior-octave-completion-table):
7143 Turn back into function, use `completion-table-with-cache'
7144 (Bug#11906). Update all references.
7145
7146 * minibuffer.el (completion-table-with-cache): New function.
7147
7148 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
7149
7150 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
7151
7152 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
7153
7154 * net/eww.el (eww-current-source): New variable to store page
7155 source.
7156 (eww-display-html, eww-mode, eww-save-history)
7157 (eww-restore-history): Use it.
7158 (eww-view-source): New command to view page source.
7159 Opportunistically uses `html-mode' to highlight the buffer.
7160 (eww-mode-map): Install it.
7161
7162 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
7163
7164 * net/dbus.el (dbus-unregister-service)
7165 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
7166 Fix docstring.
7167 (dbus-unregister-service): Skip :serial entries in
7168 `dbus-registered-objects-table'.
7169 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
7170
7171 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
7172
7173 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
7174 around keywords with extra `split-string' argument.
7175
7176 2013-12-04 Martin Rudalics <rudalics@gmx.at>
7177
7178 * windmove.el (windmove-other-window-loc): Handle navigation
7179 between windows (excluding the minibuffer window - Bug#16017).
7180
7181 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
7182
7183 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
7184 in D-Bus type syntax.
7185 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
7186 preserve unibyte strings. (Bug#16048)
7187
7188 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
7189
7190 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
7191 Call force-mode-line-update is the proper buffer (bug#16042).
7192
7193 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
7194
7195 * vc/log-edit.el (log-edit-add-new-comment): Rename to
7196 `log-edit-remember-comment', make argument optional. Adjust all
7197 callers.
7198 (log-edit-mode): Add `log-edit-remember-comment' to
7199 `kill-buffer-hook' locally.
7200 (log-edit-kill-buffer): Don't remember comment explicitly since
7201 the buffer is killed anyway.
7202
7203 2013-12-04 Juri Linkov <juri@jurta.org>
7204
7205 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
7206 add-hook and remove-hook for multi-buffer search. (Bug#16035)
7207
7208 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
7209
7210 * notifications.el (notifications-close-notification): Call the
7211 D-Bus method with ID being a `:uint32'. (Bug#16030)
7212
7213 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
7214
7215 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
7216
7217 2013-12-03 Juri Linkov <juri@jurta.org>
7218
7219 * progmodes/compile.el (compilation-start): Rename window alist
7220 entry `no-display-ok' to `allow-no-window'.
7221
7222 * simple.el (shell-command): Add window alist entry
7223 `allow-no-window' to `display-buffer'.
7224 (async-shell-command): Doc fix.
7225
7226 * window.el (display-buffer-no-window): New action function.
7227 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
7228
7229 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
7230
7231 * vc/log-edit.el (log-edit-set-header): Extract from
7232 `log-edit-toggle-header'.
7233 (log-edit-extract-headers): Separate the summary, when extracted
7234 from header, from the rest of the message with an empty line.
7235
7236 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
7237 line, if present, to the Summary header.
7238
7239 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
7240
7241 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
7242 in current-buffer (bug#16029).
7243
7244 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
7245
7246 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
7247 (debugger-mode-map): Bind it.
7248 (debugger--backtrace-base): New function.
7249 (debugger-eval-expression): Use it.
7250 (debugger-frame-number): Skip local vars when present.
7251 (debugger--locals-visible-p, debugger--insert-locals)
7252 (debugger--show-locals, debugger--hide-locals): New functions.
7253
7254 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
7255
7256 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
7257 "LC_ALL".
7258 (tramp-get-remote-locale): New defun.
7259 (tramp-open-connection-setup-interactive-shell): Use it.
7260
7261 2013-12-02 Leo Liu <sdl.web@gmail.com>
7262
7263 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
7264
7265 * progmodes/sh-script.el (sh-shell-process):
7266 * progmodes/octave.el (inferior-octave-process-live-p):
7267 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
7268 (gdb-inferior-io-sentinel):
7269 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
7270
7271 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
7272
7273 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
7274 `save-selected-window' to `log-edit-hide-buf'. This makes
7275 `log-edit-show-files' idempotent.
7276 (log-edit-show-files): Mark the new window as dedicated.
7277
7278 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
7279
7280 * vc/log-edit.el (log-edit-mode-map): Add binding for
7281 `log-edit-kill-biffer'.
7282 (log-edit-hide-buf): Add a FIXME comment.
7283 (log-edit-add-new-comment): New function, extracted from
7284 `log-edit-done'.
7285 (log-edit-done, log-edit-add-to-changelog): Use it.
7286 (log-edit-kill-buffer): New command.
7287
7288 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7289
7290 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
7291 instead of killing the buffer.
7292
7293 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
7294
7295 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
7296
7297 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7298
7299 * net/eww.el (eww-form-checkbox-selected-symbol)
7300 (eww-form-checkbox-symbol): New customizable variable.
7301 (eww-form-checkbox, eww-toggle-checkbox):
7302 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
7303
7304 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
7305 (shr--get-media-pref, shr--extract-best-source): New function.
7306 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
7307 no :src tag was specified.
7308
7309 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
7310 (eww-render): Handle `eww-use-external-browser-for-content-type'.
7311 Use \\` to match beginning of string instead of ^.
7312 (eww-browse-with-external-browser): Provide optional URL parameter.
7313 (eww-render): Set `eww-current-title' back to "".
7314
7315 * net/shr.el (shr-tag-video): Display content for video if no
7316 poster is available.
7317 (shr-tag-audio): Add support for <audio> tag.
7318
7319 * net/eww.el (eww-text-input-types): New const.
7320 (eww-process-text-input): Treat input types in
7321 `eww-text-input-types' as text.
7322
7323 * net/shr.el (shr-tag-table): Fix comment typo.
7324
7325 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7326
7327 * net/eww.el (eww-follow-link): New command to avoid reloading
7328 pages when we follow #target links (bug#15243).
7329 (eww-quit): Special mode buffers shouldn't query before exiting.
7330
7331 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7332
7333 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
7334 forms.
7335
7336 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
7337
7338 * net/eww.el (eww-restore-history): Update the window title after
7339 moving in the history.
7340 (eww-current-dom): New variable used to save the current DOM.
7341
7342 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
7343
7344 * vc/log-edit.el (log-edit-mode-map): Add binding for
7345 `log-edit-beginning-of-line'.
7346 (log-edit-setup-add-author): New user option.
7347 (log-edit-beginning-of-line): New command.
7348 (log-edit): Move major mode call above the contents setup so that
7349 the local variable values are already applied.
7350 (log-edit): Only insert "Author: " when
7351 `log-edit-setup-add-author' is non-nil.
7352 (log-edit): When SETUP is non-nil, position point after ": "
7353 instead of point-min.
7354
7355 2013-12-01 Glenn Morris <rgm@gnu.org>
7356
7357 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
7358
7359 2013-11-30 Eli Zaretskii <eliz@gnu.org>
7360
7361 * startup.el (fancy-splash-frame): On MS-Windows, trigger
7362 redisplay to make sure the initial frame gets a chance to become
7363 visible. (Bug#16014)
7364
7365 2013-11-30 Martin Rudalics <rudalics@gmx.at>
7366
7367 Support resizing frames and windows pixelwise.
7368 * cus-start.el (frame-resize-pixelwise)
7369 (window-resize-pixelwise): New entries.
7370 * emacs-lisp/debug.el (debug): Use window-total-height instead
7371 of window-total-size.
7372 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
7373 * help.el (describe-bindings-internal): Use help-buffer as
7374 argument for with-help-window.
7375 (temp-buffer-max-width): New option.
7376 (resize-temp-buffer-window, help-window-setup)
7377 (with-help-window): Rewrite.
7378 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
7379 dragging dividers.
7380 * window.el (frame-char-size, window-min-pixel-height)
7381 (window-safe-min-pixel-height, window-safe-min-pixel-width)
7382 (window-min-pixel-width, window-safe-min-pixel-size)
7383 (window-combination-p, window-safe-min-size)
7384 (window-resizable-p, window--size-to-pixel)
7385 (window--pixel-to-size, window--resize-apply-p): New functions.
7386 (window-safe-min-height): Fix doc-string.
7387 (window-size, window-min-size, window--min-size-1)
7388 (window-sizable, window-sizable-p, window--min-delta-1)
7389 (window-min-delta, window--max-delta-1, window-max-delta)
7390 (window--resizable, window--resizable-p, window-resizable)
7391 (window-full-height-p, window-full-width-p, window-at-side-p)
7392 (window--in-direction-2, window-in-direction)
7393 (window--resize-reset-1, window--resize-mini-window)
7394 (window-resize, window-resize-no-error)
7395 (window--resize-child-windows-normal)
7396 (window--resize-child-windows, window--resize-siblings)
7397 (window--resize-this-window, window--resize-root-window)
7398 (window--resize-root-window-vertically)
7399 (adjust-window-trailing-edge, enlarge-window, shrink-window)
7400 (maximize-window, minimize-window, delete-window)
7401 (quit-restore-window, window-split-min-size, split-window)
7402 (balance-windows-2, balance-windows)
7403 (balance-windows-area-adjust, balance-windows-area)
7404 (window--state-get-1, window-state-get, window--state-put-1)
7405 (window--state-put-2, window-state-put)
7406 (display-buffer-record-window, window--display-buffer):
7407 Make functions handle pixelwise sizing of windows.
7408 (display-buffer--action-function-custom-type)
7409 (display-buffer-fallback-action):
7410 Add display-buffer-in-previous-window.
7411 (display-buffer-use-some-window): Resize window to height it had
7412 before.
7413 (fit-window-to-buffer-horizontally): New option.
7414 (fit-frame-to-buffer): Describe new values.
7415 (fit-frame-to-buffer-bottom-margin): Replace with
7416 fit-frame-to-buffer-margins.
7417 (window--sanitize-margin): New function.
7418 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
7419 using window-text-pixel-size.
7420
7421 2013-11-30 Glenn Morris <rgm@gnu.org>
7422
7423 * emacs-lisp/bytecomp.el (byte-compile-form):
7424 Make the `interactive-only' warning like the `obsolete' one.
7425 * comint.el (comint-run):
7426 * files.el (insert-file-literally, insert-file):
7427 * replace.el (replace-string, replace-regexp):
7428 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
7429 (goto-line, insert-buffer, next-line, previous-line):
7430 Tweak `interactive-only' spec.
7431
7432 Stop keeping (most) generated cedet grammar files in the repository.
7433 * Makefile.in (semantic): New.
7434 (compile-main): Depend on semantic.
7435
7436 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7437
7438 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
7439 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
7440
7441 * uniquify.el (uniquify-buffer-name-style): Change default.
7442
7443 * loadup.el: Preload "uniquify".
7444
7445 * time.el (display-time-update): Update all mode lines (bug#15999).
7446
7447 * electric.el (electric-indent-mode): Enable by default.
7448 * loadup.el: Preload "electric".
7449
7450 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
7451
7452 * emacs-lisp/helpers.el (string-empty-p): New function.
7453 (string-blank-p): New function.
7454
7455 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
7456
7457 * imenu.el (imenu--index-alist): Add missing dot to the docstring
7458 (Bug#14029).
7459
7460 2013-11-29 Andreas Politz <politza@fh-trier.de>
7461 * imenu.el (imenu--subalist-p): Don't error on non-conses and
7462 allow non-lambda lists as functions.
7463 (imenu--in-alist): Don't recurse into non-subalists.
7464 (imenu): Don't pass function itself as an argument (Bug#14029).
7465
7466 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
7467
7468 * progmodes/python.el (python-mode-map): Remove binding for ":".
7469 (python-indent-electric-colon): Remove command.
7470 (python-indent-post-self-insert-function): Integrate the previous code
7471 of python-indent-electric-colon. Make it conditional on
7472 electric-indent-mode.
7473 (python-mode): Add ?: to electric-indent-chars.
7474 Move python-indent-post-self-insert-function to the end of
7475 post-self-insert-hook.
7476
7477 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
7478
7479 * doc-view.el (doc-view-goto-page): Update mode-line.
7480
7481 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
7482
7483 2013-11-27 Glenn Morris <rgm@gnu.org>
7484
7485 * international/charprop.el, international/uni-bidi.el:
7486 * international/uni-category.el, international/uni-combining.el:
7487 * international/uni-comment.el, international/uni-decimal.el:
7488 * international/uni-decomposition.el, international/uni-digit.el:
7489 * international/uni-lowercase.el, international/uni-mirrored.el:
7490 * international/uni-name.el, international/uni-numeric.el:
7491 * international/uni-old-name.el, international/uni-titlecase.el:
7492 * international/uni-uppercase.el:
7493 Remove generated files from VCS repository.
7494
7495 2013-11-27 Eli Zaretskii <eliz@gnu.org>
7496
7497 * filenotify.el (file-notify-add-watch): Don't special-case
7498 w32notify when computing the directory to watch.
7499
7500 2013-11-27 Glenn Morris <rgm@gnu.org>
7501
7502 Make bootstrap without generated uni-*.el files possible again.
7503 * loadup.el: Update command-line-args checking for unidata-gen.
7504 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
7505 * composite.el, international/characters.el:
7506 Handle unicode tables being undefined.
7507
7508 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
7509 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
7510 (compile-main): Depend on leim rule.
7511 (leim): New rule.
7512 * loadup.el: Move leim-list.el to leim/ subdirectory.
7513 * startup.el (normal-top-level): No more leim directory.
7514 * international/ja-dic-cnv.el (skkdic-convert):
7515 Disable version-control and autoloads in output files.
7516 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
7517 Disable version-control and autoloads in output files.
7518 * leim/quail: Move here from ../leim.
7519 * leim/quail/hangul.el (hangul-input-method-activate):
7520 Add autoload cookie.
7521 (generated-autoload-load-name): Set file-local value.
7522 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
7523 (generated-autoload-load-name): Set file-local value.
7524
7525 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
7526
7527 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
7528 (eww-add-bookmark): Ask confirmation when add to bookmarks.
7529 (eww-quit): Ask confirmation before quitting eww.
7530
7531 2013-11-26 Eli Zaretskii <eliz@gnu.org>
7532
7533 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
7534 reading output from Diff on MS-Windows and MS-DOS.
7535
7536 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
7537
7538 * emacs-lisp/helpers.el (string-reverse): New function.
7539
7540 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
7541
7542 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
7543 names on MS Windows, like "/[::1]:".
7544
7545 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
7546 SWITCHES.
7547
7548 2013-11-26 Glenn Morris <rgm@gnu.org>
7549
7550 * progmodes/python.el (python-indent-guess-indent-offset):
7551 Avoid corner-case error. (Bug#15975)
7552
7553 Preload leim-list.el. (Bug#4789)
7554 * loadup.el: Load leim-list.el when found.
7555 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
7556
7557 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
7558
7559 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
7560
7561 * emacs-lisp/helpers.el (string-join): New function.
7562
7563 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
7564
7565 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7566 Mark as obsolete and replace it with a symbol property.
7567 (byte-compile-form): Use new 'interactive-only property.
7568 * comint.el, files.el, replace.el, simple.el:
7569 Apply new 'interactive-only properly.
7570
7571 2013-11-25 Martin Rudalics <rudalics@gmx.at>
7572
7573 * window.el (display-buffer-at-bottom): Make sure that
7574 split-window-sensibly creates the new window on bottom
7575 (Bug#15961).
7576
7577 2013-11-23 David Kastrup <dak@gnu.org>
7578
7579 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
7580 on the conflict markers when available.
7581 (smerge--get-marker): New function.
7582 (smerge-end-re, smerge-base-re): Add subgroup.
7583
7584 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
7585
7586 * frame.el (handle-focus-in, handle-focus-out): Add missing
7587 interactive spec.
7588
7589 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
7590
7591 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7592 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
7593
7594 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
7595
7596 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
7597 (gomoku--last-pos): New var.
7598 (gomoku--intangible-chars): New const.
7599 (gomoku--intangible): New function.
7600 (gomoku-mode): Use it. Derive from special-mode.
7601 (gomoku-move-up): Adjust line count.
7602 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
7603 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
7604 Simplify accordingly.
7605
7606 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
7607 Remove blink-cursor code.
7608 (blink-cursor-timer-function, blink-cursor-suspend):
7609 Don't special-case GUIs.
7610 (blink-cursor-mode): Use focus-in/out-hook.
7611
7612 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
7613
7614 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
7615 work when annotation is invisible (Bug#13886).
7616
7617 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
7618
7619 * json.el (json-alist-p): Only return non-nil if the alist has
7620 simple keys (Bug#13518).
7621
7622 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
7623
7624 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
7625 when control-statement is the first statement in a buffer (Bug#15956).
7626
7627 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
7628
7629 * imenu.el (imenu-generic-skip-comments-and-strings):
7630 New option (Bug#15560).
7631 (imenu--generic-function): Use it.
7632
7633 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
7634
7635 * minibuffer.el (completion--in-region-1): Scroll the correct window.
7636 (Bug#13898)
7637
7638 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
7639
7640 * emacs-lisp/helpers.el: Add some string helpers.
7641 (string-trim-left): Removes leading whitespace.
7642 (string-trim-right): Removes trailing whitespace.
7643 (string-trim): Removes leading and trailing whitespace.
7644
7645 * subr.el (string-suffix-p): New function.
7646
7647 2013-11-23 Glenn Morris <rgm@gnu.org>
7648
7649 * progmodes/python.el (python-shell-send-file):
7650 Add option to delete file when done. (Bug#15647)
7651 (python-shell-send-string, python-shell-send-region): Use it.
7652
7653 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
7654
7655 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
7656 to set buffer-read-only to t, never to nil. (Bug#15938)
7657
7658 * textmodes/tex-mode.el (latex-noindent-environments):
7659 Add safe-local-variable property. (Bug#15936)
7660
7661 2013-11-23 Glenn Morris <rgm@gnu.org>
7662
7663 * textmodes/enriched.el (enriched-mode): Doc fix.
7664 * emacs-lisp/authors.el (authors-renamed-files-alist):
7665 Add enriched.doc -> enriched.txt.
7666
7667 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
7668
7669 2013-11-22 Leo Liu <sdl.web@gmail.com>
7670
7671 * progmodes/octave.el (inferior-octave-startup): Spit out error
7672 message.
7673
7674 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
7675
7676 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7677 Improve docstring.
7678 Add :version.
7679 (ruby-encoding-magic-comment-style): Add :version.
7680
7681 2013-11-22 Leo Liu <sdl.web@gmail.com>
7682
7683 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
7684 (Bug#15076)
7685 (octave-help-mode): Adapt to change to help-mode-finish to use
7686 derived-mode-p on 2013-09-17.
7687 (inferior-octave-prompt): Also match octave-gui.
7688 (octave-kill-process): Don't ask twice. (Bug#10564)
7689
7690 2013-11-22 Leo Liu <sdl.web@gmail.com>
7691
7692 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
7693 (inferior-octave-startup, inferior-octave-check-process)
7694 (inferior-octave-track-window-width-change)
7695 (octave-completion-at-point, octave-eldoc-function): Use it.
7696 (octave-kill-process): Provide confirmation. (Bug#10564)
7697
7698 2013-11-21 Leo Liu <sdl.web@gmail.com>
7699
7700 * progmodes/octave.el (octave-mode, inferior-octave-mode):
7701 Fix obsolete variable comment-use-global-state.
7702
7703 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7704
7705 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
7706 Add `octave-source-file'.
7707 (octave-source-file): New function. (Bug#15935)
7708
7709 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
7710
7711 * net/eww.el (eww-local-regex): New variable.
7712 (eww): Use it to detect localhost and similar.
7713
7714 2013-11-21 Leo Liu <sdl.web@gmail.com>
7715
7716 Add completion for command `ag'.
7717 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
7718 (pcomplete/ag): New function.
7719 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
7720
7721 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7722
7723 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
7724 (bug#14646).
7725 (make-obsolete): Remove interactive spec.
7726
7727 2013-11-21 Glenn Morris <rgm@gnu.org>
7728
7729 * startup.el (command-line-1): Use path-separator with -L.
7730
7731 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
7732
7733 * emacs-lisp/package.el (describe-package-1): Add package archive
7734 to shown fields.
7735
7736 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7737
7738 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7739 Change default to "# encoding: %s" to differentiate it from the
7740 default Ruby encoding comment template.
7741
7742 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
7743
7744 * ses.el (ses-mode): Doc fix. (Bug#14748)
7745
7746 2013-11-20 Leo Liu <sdl.web@gmail.com>
7747
7748 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
7749
7750 2013-11-19 Dan Nicolaescu <dann@gnu.org>
7751
7752 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7753 when rebase or bisect are in progress.
7754
7755 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7756
7757 * filenotify.el (file-notify-add-watch): Doc fix.
7758
7759 2013-11-19 Leo Liu <sdl.web@gmail.com>
7760
7761 * obsolete/rcompile.el: Mark obsolete.
7762
7763 * progmodes/compile.el (compilation-start)
7764 (compilation-goto-locus, compilation-find-file):
7765 Pass no-display-ok and handle nil value from display-buffer.
7766 (Bug#13594)
7767
7768 * window.el (display-buffer-alist, display-buffer): Document the
7769 new parameter no-display-ok. Return either a window or nil
7770 but never a non-window value.
7771
7772 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7773
7774 * electric.el (electric-indent-mode-map): Remove.
7775 (electric-indent-mode): Change the global-map instead (bug#15915).
7776
7777 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7778 Use add-function.
7779
7780 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
7781
7782 * emacs-lisp/nadvice.el (remove-function): Align with
7783 add-function's behavior.
7784
7785 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7786 (gdb--string-regexp): New constant.
7787 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7788 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7789 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7790 submatch 1.
7791 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7792 Adjust use accordingly.
7793 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7794
7795 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7796
7797 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7798 interpolation curlies (Bug#15914).
7799
7800 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7801
7802 * calc/calc.el (calc-context-sensitive-enter): New variable.
7803 (calc-enter): Use `calc-context-sensitive-enter'.
7804
7805 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7806
7807 * progmodes/cfengine.el: Version bump.
7808 (cfengine-cf-promises): New defcustom to locate cf-promises.
7809 (cfengine3-vartypes): Add new "data" type.
7810 (cfengine3--current-word): New function to get current name-like
7811 word or its bounds.
7812 (cfengine3--current-function): New function to look up a CFEngine
7813 function's definition.
7814 (cfengine3-format-function-docstring): New function.
7815 (cfengine3-make-syntax-cache): New function.
7816 (cfengine3-documentation-function): New function: ElDoc glue.
7817 (cfengine3-completion-function): New function: completion glue.
7818 (cfengine3-mode): Set `compile-command',
7819 `eldoc-documentation-function', and add to
7820 `completion-at-point-functions'.
7821
7822 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7823
7824 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7825 `tramp-current-connection'.
7826
7827 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7828
7829 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7830 nil/self/true/false with "end of symbol".
7831
7832 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7833
7834 * subr.el (version-regexp-alist): Fix a typo.
7835
7836 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7837
7838 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7839 "en_US.utf8" and "LC_CTYPE" to "".
7840 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7841 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7842
7843 2013-11-15 Leo Liu <sdl.web@gmail.com>
7844
7845 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7846
7847 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7848
7849 * progmodes/gud.el (ctl-x-map):
7850 Remove C-x SPC binding. (Bug#12342)
7851 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7852
7853 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7854
7855 * subr.el (version-regexp-alist):
7856 Recognize hg, svn and darcs versions as snapshot versions.
7857
7858 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7859 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7860 (ruby--encoding-comment-required-p): Extract from
7861 `ruby-mode-set-encoding'.
7862 (ruby-mode-set-encoding): Add the ability to always insert an
7863 utf-8 encoding comment. Fix and simplify coding comment update
7864 logic.
7865
7866 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7867
7868 * net/tramp-gvfs.el (top): Run init code only when
7869 `tramp-gvfs-enabled' is not nil.
7870 (tramp-gvfs-enabled): Check also :system bus.
7871
7872 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7873
7874 Sync with upstream verilog-mode revision 78e66ba.
7875 * progmodes/verilog-mode.el (verilog-end-of-defun)
7876 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7877 (verilog-get-end-of-defun): Remove unused argument.
7878 (verilog-comment-depth): Remove unused local `e'.
7879 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7880 Don't pass arg to verilog-get-end-of-defun.
7881
7882 2013-11-14 Glenn Morris <rgm@gnu.org>
7883
7884 * obsolete/assoc.el (aget): Prefix dynamic variable.
7885
7886 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7887
7888 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7889
7890 * widget.el, hfy-cmap.el: Remove bogus package version number.
7891
7892 2013-11-13 Glenn Morris <rgm@gnu.org>
7893
7894 * replace.el (replace-eval-replacement):
7895 Try to give more helpful error message. (Bug#15836)
7896
7897 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7898 (archive-7z-update): Avoid custom type mismatches.
7899
7900 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7901
7902 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7903
7904 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7905 address can be empty.
7906
7907 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7908 Accept nil SWITCHES.
7909 (tramp-gvfs-handle-write-region): Implement APPEND.
7910
7911 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7912
7913 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7914 binary "|" operator and closing block args delimiter.
7915 Remove FIXME comment referring to Ruby 1.8-only syntax.
7916 (ruby-smie--implicit-semi-p): Not after "|" operator.
7917 (ruby-smie--closing-pipe-p): New function.
7918 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7919 (ruby-smie-rules): Indent after "|".
7920
7921 2013-11-12 Glenn Morris <rgm@gnu.org>
7922
7923 * ps-print.el (ps-face-attribute-list):
7924 Handle anonymous faces. (Bug#15827)
7925
7926 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7927
7928 * window.el (display-buffer-other-frame): Fix doc-string.
7929 (Bug#15868)
7930
7931 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7932
7933 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7934
7935 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7936
7937 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7938 (tramp-sh-handle-file-local-copy): Don't write a message when
7939 saving temporary files.
7940
7941 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7942 both directories are remote.
7943 (tramp-smb-handle-directory-files): Do not return double entries.
7944 Do not expand full file names.
7945 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7946 (tramp-smb-handle-write-region): Implement APPEND.
7947 (tramp-smb-get-stat-capability): Fix a stupid bug.
7948
7949 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7950
7951 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7952
7953 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7954
7955 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7956 throwing error over malformed let/let* (bug#15814).
7957
7958 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7959
7960 * iswitchb.el (iswitchb-mode): Mark obsolete.
7961
7962 2013-11-11 Glenn Morris <rgm@gnu.org>
7963
7964 * international/uni-bidi.el, international/uni-category.el:
7965 * international/uni-name.el, international/uni-numeric.el:
7966 Regenerate for Unicode 6.3.0.
7967
7968 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7969
7970 * net/tramp.el (tramp-methods):
7971 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7972 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7973
7974 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7975
7976 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7977 Force highlighting text after Summary keyword in doc face for rpm.
7978
7979 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7980
7981 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7982 available and the word has no wildcards, append one to the grep pattern.
7983 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7984 (ispell-complete-word): Call `ispell-lookup-words' with the value
7985 independent of `ispell-look-p'.
7986
7987 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7988
7989 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7990 Not after "||".
7991 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7992 their parent.
7993
7994 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7995
7996 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7997 (ruby-font-lock-keywords): Use backquote.
7998
7999 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
8000
8001 * progmodes/ruby-mode.el (ruby-smie--forward-token)
8002 (ruby-smie--backward-token): Only consider full-string matches.
8003
8004 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
8005
8006 * faces.el (describe-face): Add distant-foreground.
8007
8008 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
8009
8010 * progmodes/ruby-mode.el: Improve encoding comment handling.
8011 (ruby-encoding-magic-comment-style): New option.
8012 (ruby-custom-encoding-magic-comment-template): New option.
8013 (ruby--insert-coding-comment, ruby--detect-encoding):
8014 New functions extracted from `ruby-mode-set-encoding'.
8015 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
8016 to control the style of the auto-inserted encoding comment.
8017
8018 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
8019
8020 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
8021 Use `smie-backward-sexp' with token argument.
8022
8023 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
8024
8025 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
8026 Remove instrumentation code.
8027
8028 2013-11-08 Glenn Morris <rgm@gnu.org>
8029
8030 * progmodes/autoconf.el (autoconf-mode):
8031 Tweak comment-start-skip. (Bug#15822)
8032
8033 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8034
8035 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
8036 at bobp (bug#15826).
8037 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
8038
8039 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
8040
8041 * man.el (Man-start-calling): New macro, extracted from
8042 Man-getpage-in-background.
8043 (Man-getpage-in-background): Use it.
8044 (Man-update-manpage): New command.
8045 (Man-mode-map): Bind it.
8046
8047 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
8048
8049 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
8050 of "and", "or", "&&" and "||".
8051 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
8052 argument. Prohibit opening curly brace because it could only be a
8053 block opener in that position.
8054 (ruby-smie--forward-token, ruby-smie--backward-token):
8055 Separate "|" from "&" or "*" going after it. That can happen in block
8056 arguments.
8057 (ruby-smie--indent-to-stmt): New function, seeks the end of
8058 previous statement or beginning of buffer.
8059 (ruby-smie-rules): Use it.
8060 (ruby-smie-rules): Check if there's a ":" before a curly block
8061 opener candidate; if there is, it's a hash.
8062
8063 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8064
8065 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
8066 (cl--block-wrapper): Fix last accidental change.
8067
8068 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
8069
8070 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
8071 Instrument, in order to hunt failure on hydra.
8072
8073 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8074
8075 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
8076 malformed bindings form (bug#15814).
8077
8078 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
8079
8080 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
8081 "." compared to " @ ". This incidentally fixes some indentation
8082 examples with "do".
8083 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
8084 (ruby-smie-grammar): New tokens: "and" and "or".
8085 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
8086 Exclude "and" and "or". Remove "do" in order to work around token
8087 priorities.
8088 (ruby-smie-rules): Add all infix tokens. Handle the case of
8089 beginning-of-buffer.
8090
8091 2013-11-06 Glenn Morris <rgm@gnu.org>
8092
8093 * Makefile.in (setwins_almost, setwins_for_subdirs):
8094 Avoid accidental matches.
8095
8096 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
8097
8098 * menu-bar.el (popup-menu): Use key-binding.
8099
8100 2013-11-06 Eli Zaretskii <eliz@gnu.org>
8101
8102 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
8103 menus, support also the menus produced by minor modes.
8104 (Bug#15817)
8105
8106 2013-11-06 Leo Liu <sdl.web@gmail.com>
8107
8108 * thingatpt.el (thing-at-point-looking-at): Add optional arg
8109 DISTANCE to bound the search. All uses changed. (Bug#15808)
8110
8111 2013-11-06 Glenn Morris <rgm@gnu.org>
8112
8113 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
8114 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
8115 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
8116
8117 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
8118
8119 * electric.el (electric-indent-just-newline): New command.
8120 (electric-indent-mode-map): New keymap.
8121 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
8122 Re-add :group which weren't redundant.
8123
8124 * electric.el (electric-indent-local-mode): New minor mode.
8125 (electric-indent-functions-without-reindent): New var.
8126 (electric-indent-post-self-insert-function): Use it.
8127 * emacs-lisp/gv.el (buffer-local-value): Add setter.
8128
8129 2013-11-05 Eli Zaretskii <eliz@gnu.org>
8130
8131 * international/quail.el (quail-help): Be more explicit about the
8132 meaning of the labels shown on the keys. (Bug#15800)
8133
8134 * startup.el (normal-top-level): Load the subdirs.el files before
8135 setting the locale environment. (Bug#15805)
8136
8137 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
8138
8139 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
8140 via arguments so as to get the right ones (bug#15418).
8141
8142 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
8143
8144 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
8145
8146 Fix problems found while writing a test suite.
8147
8148 * net/tramp-compat.el (tramp-compat-load): New defun.
8149 * net/tramp.el (tramp-handle-load): Use it.
8150
8151 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
8152 "(numberp ok-if-already-exists)" correctly.
8153
8154 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
8155
8156 * international/characters.el (glyphless-char-display-control):
8157 Add usage note.
8158
8159 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
8160
8161 * progmodes/python.el (python-mode):
8162 * progmodes/scheme.el (scheme-mode):
8163 * progmodes/prolog.el (prolog-mode):
8164 * progmodes/ruby-mode.el (ruby-mode):
8165 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
8166 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
8167
8168 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
8169
8170 * rect.el (rectangle--highlight-for-redisplay):
8171 * emacs-lisp/smie.el (smie--next-indent-change):
8172 Use buffer-chars-modified-tick.
8173
8174 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
8175
8176 * electric.el (electric-indent-post-self-insert-function):
8177 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
8178
8179 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
8180
8181 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
8182
8183 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8184
8185 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
8186 (bug#15786).
8187
8188 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
8189
8190 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
8191
8192 * progmodes/python.el: Fix up last change.
8193 (python-shell--save-temp-file): New function.
8194 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
8195 `string' comes from the current buffer.
8196 (python-shell-send-string-no-output): Remove `msg' arg.
8197 (python--use-fake-loc): New var.
8198 (python-shell-buffer-substring): Obey it. Try to compensate for the
8199 extra coding line added by python-shell--save-temp-file.
8200 (python-shell-send-region): Use python-shell--save-temp-file and
8201 python-shell-send-file directly. Add `nomain' argument.
8202 (python-shell-send-buffer): Use python-shell-send-region.
8203 (python-electric-pair-string-delimiter): New function.
8204 (python-mode): Use it.
8205
8206 2013-11-04 Eli Zaretskii <eliz@gnu.org>
8207
8208 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
8209 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
8210 environment and decoding all of the default-directory's to here
8211 from command-line.
8212 (command-line): Decode also argv[0].
8213
8214 * loadup.el: Error out if default-directory is a multibyte string
8215 when we are dumping.
8216
8217 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
8218
8219 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
8220
8221 * emacs-lisp/package.el (package-menu-mode)
8222 (package-menu--print-info, package-menu--archive-predicate):
8223 Add Archive column to package list.
8224
8225 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
8226
8227 Fix problems found while writing a test suite.
8228
8229 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
8230 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
8231 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
8232 to nil when running original file name handler. Otherwise,
8233 there are problems with constructs like "$$FOO".
8234
8235 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
8236 for `localname'.
8237
8238 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
8239
8240 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
8241
8242 * subr.el (version<, version<=, version=):
8243 Update docstrings with information for snapshot versions.
8244
8245 * helpers.el: New library for misc helper functions.
8246 (hash-table-keys): New function returning a list of hash keys.
8247 (hash-table-values): New function returning a list of hash values.
8248
8249 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
8250
8251 * progmodes/ruby-mode.el (ruby-smie--forward-token)
8252 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
8253
8254 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
8255
8256 * textmodes/fill.el (fill-single-char-nobreak-p): New function
8257 checking whether point is after a 1-letter word.
8258
8259 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8260
8261 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
8262 Don't infloop when expanding region over `multiline' syntax-type that
8263 begins a line (bug#15778).
8264
8265 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
8266
8267 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
8268 Make it into a proper minor mode.
8269 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
8270 (rectangle-mark-mode-map): New keymap.
8271 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
8272
8273 2013-11-04 Glenn Morris <rgm@gnu.org>
8274
8275 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
8276
8277 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
8278
8279 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
8280 (ruby-smie-rules): Use smie-rule-parent instead.
8281
8282 * emacs-lisp/smie.el (smie-rule-parent): Always call
8283 smie-indent-virtual rather than only for hanging tokens.
8284 (smie--next-indent-change): New helper command.
8285
8286 2013-11-03 Glenn Morris <rgm@gnu.org>
8287
8288 * Makefile.in (abs_srcdir): Remove.
8289 (emacs): Unset EMACSLOADPATH.
8290
8291 2013-11-02 Glenn Morris <rgm@gnu.org>
8292
8293 * Makefile.in (EMACS): Use a relative filename.
8294 (abs_top_builddir): Remove.
8295 (custom-deps, finder-data, autoloads): Use --chdir.
8296
8297 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
8298
8299 Use relative filenames in TAGS files.
8300 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
8301 (lisptagsfiles4, TAGS): Use relative file names.
8302 (TAGS-LISP): Remove.
8303 (maintainer-clean): No more TAGS-LISP file.
8304
8305 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
8306 (lisptagsfiles4): Use absolute filenames again.
8307 (TAGS, TAGS-LISP): Not everything needs to run in one line.
8308 Remove all *loaddefs files, not just the first. Remove esh-groups.
8309 (maintainer-clean): Delete TAGS, TAGS-LISP.
8310
8311 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
8312
8313 * emacs-lisp/package.el (package-version-join):
8314 Recognize snapshot versions.
8315
8316 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
8317
8318 * subr.el (version-regexp-alist): Add support for snapshot versions.
8319
8320 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
8321
8322 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
8323 New function, replacement for `smie-rule-parent' for when we want to
8324 skip over our direct parent if it's an assignment token..
8325 (ruby-smie-rules): Use it.
8326
8327 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
8328
8329 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
8330 unconditionally. Remove now unnecessary forward declarations.
8331 Remove XEmacs-specific setup.
8332 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
8333 (ruby-font-lock-syntactic-keywords)
8334 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
8335 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
8336 (ruby-here-doc-end-syntax): Remove.
8337 (ruby-mode): Don't check whether `syntax-propertize-rules' is
8338 defined as function.
8339
8340 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
8341
8342 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
8343
8344 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
8345
8346 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
8347 table and abbrev table, `define-derived-mode' does that for us
8348 anyway.
8349
8350 2013-11-01 Glenn Morris <rgm@gnu.org>
8351
8352 * Makefile.in: Remove manual mh-e dependencies (writing .elc
8353 files is atomic for some time, so no parallel compilation issues).
8354
8355 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
8356
8357 * faces.el (face-x-resources): Add :distant-foreground.
8358 (region): Use :distant-foreground for gtk and ns.
8359
8360 2013-11-01 Tassilo Horn <tsdh@gnu.org>
8361
8362 Allow multiple bibliographies when BibLaTeX is used rather than
8363 BibTeX.
8364 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
8365 (reftex-locate-bibliography-files): Us it.
8366
8367 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
8368
8369 * image.el (image-type-header-regexps): Fix the 'pbm' part to
8370 allow comments in pbm files.
8371
8372 * term/w32-win.el (dynamic-library-alist): Support newer versions
8373 of libjpeg starting with v7: look only for the DLL from the
8374 version against which Emacs was built.
8375 Support versions of libpng beyond 1.4.x.
8376 Support libtiff v4.x.
8377
8378 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
8379
8380 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
8381 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
8382 Add property :safe.
8383 (ruby-deep-arglist): Add property :type.
8384
8385 2013-10-31 Glenn Morris <rgm@gnu.org>
8386
8387 * Makefile.in (custom-deps, finder-data): No need to setq the target
8388 variables, we are in the right directory and the defaults work fine.
8389
8390 2013-10-30 Glenn Morris <rgm@gnu.org>
8391
8392 * Makefile.in (autoloads): Do not use abs_lisp.
8393
8394 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8395 `newline' does not respect `standard-output', so use `princ'.
8396
8397 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
8398
8399 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
8400 * buff-menu.el (Buffer-menu--unmark): New function.
8401 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
8402
8403 2013-10-30 Glenn Morris <rgm@gnu.org>
8404
8405 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
8406
8407 * emacs-lisp/package.el (lm-homepage): Declare.
8408
8409 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
8410 Fix doc typos.
8411
8412 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
8413
8414 * Makefile.in (finder-data, autoloads, update-subdirs)
8415 (compile-main, compile-clean, compile-always, bootstrap-clean):
8416 Check return value of cd.
8417 (compile-calc): Remove.
8418
8419 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
8420
8421 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
8422
8423 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
8424 (byte-compile-and-folded): New function.
8425 (=, <, >, <=, >=): Use it.
8426
8427 * dos-w32.el (minibuffer-history-case-insensitive-variables)
8428 (path-separator, null-device, buffer-file-coding-system)
8429 (lpr-headers-switches): Check system-type before modifying them.
8430 (find-buffer-file-type-coding-system): Mark obsolete.
8431 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
8432 find-file-not-found-set-buffer-file-coding-system.
8433 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
8434 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
8435 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
8436 (w32-direct-print-region-helper, w32-direct-print-region-function)
8437 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
8438 * startup.el (normal-top-level-add-subdirs-to-load-path):
8439 * ps-print.el (ps-print-region-function):
8440 * lpr.el (print-region-function): Use new name.
8441
8442 * subr.el (custom-declare-variable-early): Remove function.
8443 (custom-declare-variable-list): Remove var.
8444 (error, user-error): Remove `while' loop.
8445 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
8446 (user-emacs-directory-warning, locate-user-emacs-file):
8447 Move to files.el.
8448 * simple.el (read-quoted-char-radix, read-quoted-char):
8449 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
8450 Move from subr.el.
8451 * custom.el (custom-declare-variable-list): Don't process
8452 custom-declare-variable-list.
8453
8454 * progmodes/python.el (python-shell-get-buffer): New function.
8455 (python-shell-get-process): Use it.
8456 (python-shell-send-string): Always use utf-8 and add a cookie to tell
8457 Python which encoding was used. Don't split-string since we only care
8458 about the first line. Return the temp-file, if applicable.
8459 (python-shell-send-region): Tell compile.el how to turn locations in
8460 the temp-file into locations in the source buffer.
8461
8462 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
8463
8464 * subr.el (undefined): Add missing behavior from the C code for
8465 unbound keys.
8466
8467 * rect.el: Use lexical-binding. Add new rectangular region support.
8468 (rectangle-mark): New command.
8469 (rectangle--region): New var.
8470 (deactivate-mark-hook): Reset rectangle--region.
8471 (rectangle--extract-region, rectangle--insert-for-yank)
8472 (rectangle--highlight-for-redisplay)
8473 (rectangle--unhighlight-for-redisplay): New functions.
8474 (region-extract-function, redisplay-unhighlight-region-function)
8475 (redisplay-highlight-region-function): Use them to handle
8476 rectangular region.
8477 * simple.el (region-extract-function): New var.
8478 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
8479 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
8480 (kill-region): Replace obsolete `yank-handler' arg with `region'.
8481 (copy-region-as-kill, kill-ring-save): Add `region' argument.
8482 (redisplay-unhighlight-region-function)
8483 (redisplay-highlight-region-function): New vars.
8484 (redisplay--update-region-highlight): New function.
8485 (pre-redisplay-function): Use it.
8486 (exchange-point-and-mark): Don't deactivate the mark before
8487 reactivate-it anyway.
8488 * comint.el (comint-kill-region): Remove yank-handler argument.
8489 * delsel.el (delete-backward-char, backward-delete-char-untabify)
8490 (delete-char): Remove property, since it's now part of their
8491 default behavior.
8492 (self-insert-iso): Remove property since this command doesn't exist.
8493
8494 * emacs-lisp/package.el (package--download-one-archive)
8495 (describe-package-1): Don't query the user about final newline.
8496
8497 2013-10-29 Daniel Colascione <dancol@dancol.org>
8498
8499 * net/tramp.el (tramp-methods): Document new functionality.
8500 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
8501 tramp-hostname-checker if method provides one instead of scanning
8502 argument list for "%h" to decide hostname acceptability.
8503
8504 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
8505
8506 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
8507 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
8508 Handle COPY-CONTENTS. (Bug#15737)
8509
8510 2013-10-28 Daiki Ueno <ueno@gnu.org>
8511
8512 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
8513 Document that this option has no effect with GnuPG 2.0 (bug#15552).
8514
8515 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
8516
8517 * image.el (defimage, image-load-path): Doc fixes.
8518
8519 2013-10-27 Alan Mackenzie <acm@muc.de>
8520
8521 Indent statements in macros following "##" correctly.
8522 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
8523 Modify the "#" arm of a cond form to handle "#" and "##" operators.
8524
8525 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
8526
8527 * linum.el (linum-update-window): Fix boundary test (bug#13446).
8528
8529 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
8530
8531 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
8532 after `=' is probably a new expression.
8533
8534 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8535
8536 * man.el (man-imenu-title): New option.
8537 (Man-mode-map): Add menu. (Bug#15722)
8538 (Man-mode): Add imenu to menu.
8539
8540 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
8541
8542 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
8543 specific in what the first arg can be: a non-keyword word,
8544 string/regexp/percent literal opener, opening paren, or unary
8545 operator followed directly by word.
8546
8547 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8548
8549 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
8550 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
8551 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
8552 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
8553 Remove vars, they do not apply any more.
8554 (prolog-mode-abbrev-table): Remove redundant declaration.
8555 (prolog-upper-case-string, prolog-lower-case-string): Remove.
8556 (prolog-use-smie): Remove.
8557 (prolog-smie-rules): Add indentation rule for the if-then-else layout
8558 supported by prolog-electric-if-then-else-flag.
8559 (prolog-mode-variables, prolog-menu): Use setq-local.
8560 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
8561 Remove binding to `Backspace' since this key doesn't exist anyway.
8562 Remove bindings for electric self-inserting keys.
8563 (prog-mode): Assume it's defined.
8564 (prolog-post-self-insert): New function.
8565 (prolog-mode): Use it.
8566 (prolog-indent-line, prolog-indent-level)
8567 (prolog-find-indent-of-matching-paren)
8568 (prolog-indentation-level-of-line, prolog-goto-comment-column)
8569 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
8570 (prolog-goto-next-paren, prolog-in-string-or-comment)
8571 (prolog-tokenize, prolog-inside-mline-comment)
8572 (prolog-find-start-of-mline-comment): Remove functions.
8573 (prolog-find-unmatched-paren, prolog-clause-end)
8574 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
8575 (prolog-electric--if-then-else): Rename from
8576 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
8577 (prolog-tokenize-searchkey): Remove const.
8578 (prolog-clause-info): Use forward-sexp.
8579 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
8580 (prolog-electric-if-then-else): Remove commands.
8581 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
8582 for use in post-self-insert-hook.
8583 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
8584 for use in post-self-insert-hook.
8585 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
8586 for use in post-self-insert-hook.
8587 (prolog-electric--underscore): Rename from prolog-electric--underscore;
8588 adapt it for use in post-self-insert-hook.
8589
8590 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
8591
8592 * emacs-lisp/ert.el (ert-run-tests-interactively):
8593 Use `completing-read'. (Bug#9756)
8594
8595 2013-10-25 Eli Zaretskii <eliz@gnu.org>
8596
8597 * simple.el (line-move): Call line-move-1 instead of
8598 line-move-visual when the current window hscroll is zero, but
8599 temporary-goal-column indicates we will need to hscroll as result
8600 of the movement. (Bug#15712)
8601
8602 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
8603
8604 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
8605 capitalization. Use :visible instead of :active.
8606 Fix `ruby-indent-exp' reference. Add menu items for the generic
8607 commands that are used with SMIE.
8608 (ruby-do-end-to-brace): Insert space after `{'.
8609
8610 2013-10-25 John Anthony <john@jo.hnanthony.com>
8611
8612 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
8613
8614 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
8615
8616 2013-10-25 Glenn Morris <rgm@gnu.org>
8617
8618 * vc/vc.el (vc-print-log): Don't use a working revision unless
8619 one was explicitly specified. (Bug#15322)
8620
8621 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
8622
8623 * subr.el (add-to-list): Preserve return value in compiler-macro
8624 (bug#15692).
8625
8626 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8627
8628 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
8629 result. Ask user to retry using '-all' flag. (Bug#15701)
8630
8631 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
8632
8633 * emacs-lisp/smie.el: New smie-config system.
8634 (smie-config): New defcustom.
8635 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
8636 (smie-config-guess, smie-config-save): New commands.
8637 (smie-config--mode-local, smie-config--buffer-local)
8638 (smie-config--trace, smie-config--modefuns): New vars.
8639 (smie-config--advice, smie-config--mode-hook)
8640 (smie-config--setter, smie-config-local, smie-config--get-trace)
8641 (smie-config--guess-value, smie-config--guess): New functions.
8642 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
8643 text properties. Treat "string fence" syntax like string syntax.
8644
8645 * progmodes/sh-script.el (sh-use-smie): Change default.
8646 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
8647 (sh-var-value): Simplify by CSE.
8648 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
8649 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
8650 is used.
8651 (sh-guess-basic-offset): Use cl-incf.
8652 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
8653
8654 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
8655
8656 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
8657 (bug#15699).
8658
8659 2013-10-24 Glenn Morris <rgm@gnu.org>
8660
8661 * Makefile.in (abs_top_srcdir): Remove.
8662 (update-subdirs): Use relative path to update-subdirs.
8663
8664 2013-10-24 Eli Zaretskii <eliz@gnu.org>
8665
8666 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
8667 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
8668 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
8669 Call unmsys--file-name before expand-file-name, not after it.
8670
8671 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
8672
8673 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
8674 (ert-test-skipped): New error.
8675 (ert-skip, ert-stats-skipped): New defuns.
8676 (ert--skip-unless): New macro.
8677 (ert-test-skipped): New struct.
8678 (ert--run-test-debugger, ert-test-result-type-p)
8679 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
8680 (ert--stats-set-test-and-result, ert-char-for-test-result)
8681 (ert-string-for-test-result, ert-run-tests-batch)
8682 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
8683 Handle skipped tests. (Bug#9803)
8684
8685 2013-10-24 Glenn Morris <rgm@gnu.org>
8686
8687 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
8688
8689 * Makefile.in (abs_top_srcdir): New, set by configure.
8690 (update-subdirs): Correct build-aux location.
8691
8692 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
8693
8694 * vc/vc.el (vc-print-root-log): Always set `default-directory'
8695 value, whether we could auto-deduce `backend', or not.
8696
8697 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
8698 with parameters" example. Simplify the "is it block or is it
8699 hash" check, but also make it more thorough.
8700
8701 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
8702
8703 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
8704
8705 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8706
8707 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
8708 { if it is hanging.
8709
8710 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
8711 :before ";".
8712
8713 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
8714
8715 * progmodes/compile.el (compilation-directory-matcher)
8716 (compilation-page-delimiter):
8717 Support GNU Make-4.0 directory quoting. (Bug#15678)
8718
8719 2013-10-23 Leo Liu <sdl.web@gmail.com>
8720
8721 * ido.el (ido-tidy): Handle read-only text.
8722
8723 2013-10-23 Glenn Morris <rgm@gnu.org>
8724
8725 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
8726 (emacs, compile, compile-always):
8727 Quote entities that might contain whitespace.
8728 (custom-deps, finder-data, autoloads): Use abs_lisp.
8729 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8730 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8731 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8732
8733 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
8734
8735 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8736 Use `following-char'.
8737
8738 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8739
8740 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8741 * progmodes/ruby-mode.el (ruby-smie-rules):
8742 Remove corresponding workaround. Fix indentation rule of ";" so it
8743 also applies when ";" is the parent.
8744
8745 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
8746
8747 * frame.el (display-screens, display-pixel-height)
8748 (display-pixel-width, display-mm-width, display-backing-store)
8749 (display-save-under, display-planes, display-color-cells)
8750 (display-visual-class, display-monitor-attributes-list):
8751 Mention the optional ‘display’ argument in doc strings.
8752
8753 2013-10-22 Michael Gauland <mikelygee@amuri.net>
8754
8755 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8756 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
8757
8758 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8759
8760 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8761 TODO. Add "." after " @ ".
8762 (ruby-smie--at-dot-call): New function. Checks if point at method
8763 call with explicit target.
8764 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8765 to the method name tokens when it precedes them.
8766 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8767 (ruby-smie-rules): Add rule for indentation before and after "."
8768 token.
8769
8770 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
8771
8772 * textmodes/remember.el (remember-diary-extract-entries):
8773 Avoid add-to-list.
8774
8775 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8776 an instruction.
8777
8778 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8779
8780 * progmodes/ruby-mode.el (ruby-smie-grammar):
8781 Add (almost) all infix operators.
8782 (ruby-smie--implicit-semi-p): Add new operator chars.
8783
8784 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8785 `smie-down-list'.
8786 (ruby-smie--args-separator-p): Check that there's no newline
8787 between method call and its arguments.
8788
8789 2013-10-20 Alan Mackenzie <acm@muc.de>
8790
8791 Allow comma separated lists after Java "implements".
8792
8793 * progmodes/cc-engine.el (c-backward-over-enum-header):
8794 Parse commas.
8795 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8796 from a "disallowed" list in enum fontification.
8797
8798 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8799
8800 * startup.el (default-frame-background-mode): Remove unused defvar.
8801
8802 * progmodes/verilog-mode.el (verilog-mode): Don't set
8803 comment-indent-function globally.
8804
8805 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8806
8807 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8808 Move Info menu item creation to ns-win.el.
8809
8810 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8811 in menu bar.
8812
8813 * menu-bar.el: Move GNUstep specific menus...
8814
8815 * term/ns-win.el (ns-initialize-window-system): ... to here.
8816
8817 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8818
8819 * simple.el (newline): Only run post-self-insert-hook when
8820 called interactively.
8821
8822 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8823
8824 * icomplete.el (icomplete-with-completion-tables): Add :version.
8825
8826 2013-10-19 Alan Mackenzie <acm@muc.de>
8827
8828 Fix fontification bugs with constructors and const.
8829
8830 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8831 CASE 2) Remove the check for the absence of a suffix construct
8832 after a function declaration with only types (no identifiers) in
8833 the parentheses. Also, accept a function declaration with just a
8834 type inside the parentheses, if this type can be positively
8835 recognised as such, or if a prefix keyword like "explicit" nails
8836 down the construct as a declaration.
8837
8838 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8839
8840 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8841 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8842 the problem whereby selecting a menu item that leads to a
8843 minibuffer prompt moves the cursor out of the minibuffer window,
8844 making it hard to type at the prompt. Suggested by Stefan Monnier
8845 <monnier@iro.umontreal.ca>.
8846
8847 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8848
8849 * menu-bar.el: Don't make Services menu.
8850
8851 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8852
8853 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8854 (ffap-alist): Use ffap-c++-mode for c++-mode.
8855 (ffap-c++-path): New variable.
8856 (ffap-c++-mode): New function.
8857
8858 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8859
8860 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8861
8862 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8863
8864 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8865 introduced on 2013-09-08, which results in an infinite loop
8866 requesting a password.
8867
8868 2013-10-18 Glenn Morris <rgm@gnu.org>
8869
8870 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8871
8872 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8873
8874 Sync with upstream verilog-mode revision 1a6ecec7.
8875 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8876 (verilog-mode-release-date): Remove.
8877 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8878 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8879 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8880 (verilog-auto-tieoff-ignore-regexp)
8881 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8882 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8883 (verilog-signals-with, verilog-dir-cache-preserving)
8884 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8885 Doc fixes.
8886 (verilog-case-fold): New option, to control case folding in
8887 regexp searches, bug597.
8888 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8889 (verilog-string-match-fold, verilog-in-paren-count)
8890 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8891 (verilog-at-close-struct-p): New functions.
8892 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8893 (verilog-forward-sexp, verilog-set-auto-endcomments)
8894 (verilog-leap-to-case-head): Handle "unique0" case.
8895 (verilog-in-constraint-re): New constant.
8896 (verilog-keywords, verilog-type-font-keywords):
8897 Add some SystemVerilog 1800-2012 keywords.
8898 (verilog-label-be): Remove unimplemented argument, bug669.
8899 (verilog-batch-execute-func): When batch expanding clear
8900 create-lockfiles to prevent spurious user locks when a file ends
8901 up not changing.
8902 (verilog-calculate-indent, verilog-calc-1)
8903 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8904 (verilog-do-indent): Fix indentation of nested constraints
8905 and structures.
8906 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8907 (verilog-auto-inst-param): Use verilog-string-match-fold.
8908 (verilog-read-inst-module-matcher):
8909 Fix AUTOINST on gate primitives with #1.
8910 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8911 Reads all user-defined typed variables.
8912 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8913 (verilog-signals-matching-regexp)
8914 (verilog-signals-not-matching-regexp, verilog-auto):
8915 Respect verilog-case-fold.
8916 (verilog-diff-report): Fix line count.
8917 (verilog-auto-assign-modport): Remove unused local `modi'.
8918 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8919 better handle multidimensional arrays.
8920 Fix packed array ports misadding bit index in AUTOINST, bug637.
8921 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8922 to not double-declare existing outputs and inputs, respectively.
8923 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8924 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8925 (verilog-sk-uvm-component): New skeleton.
8926 (verilog-submit-bug-report): Add verilog-case-fold,
8927 remove verilog-mode-release-date.
8928
8929 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8930
8931 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8932 as before.
8933
8934 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8935
8936 * textmodes/remember.el (remember): Set buffer-offer-save in
8937 remember buffers (bug#13566).
8938
8939 2013-10-18 Daniel Colascione <dancol@dancol.org>
8940
8941 When evaluating forms in ielm, direct standard output to ielm
8942 buffer. Add new ielm-return-for-effect command. Remove trailing
8943 whitespace throughout.
8944
8945 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8946 (ielm-return-for-effect): New command.
8947 (ielm-send-input): Accept optional `for-effect' parameter.
8948 (ielm-eval-input): Accept optional `for-effect' parameter.
8949 Bind `standard-output' to stream we create using
8950 `ielm-standard-output-impl'. Suppress printing result when
8951 `for-effect'.
8952 (ielm-standard-output-impl): New function.
8953 (inferior-emacs-lisp-mode): Explain new features in documentation.
8954
8955 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8956
8957 Code cleanup.
8958
8959 * net/tramp.el (tramp-debug-message): Do not check for connection
8960 buffer.
8961 (tramp-message): Use "vector" connection property.
8962
8963 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8964 (tramp-equal-remote, tramp-eshell-directory-change)
8965 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8966 (tramp-adb-handle-rename-file)
8967 * net/tramp-cmds.el (tramp-list-remote-buffers)
8968 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8969 * net/tramp-compat.el (tramp-compat-process-running-p)
8970 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8971 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8972 (tramp-gvfs-handle-rename-file)
8973 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8974 (tramp-set-file-uid-gid)
8975 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8976 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8977 of `file-remote-p'.
8978
8979 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8980 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8981 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8982 (tramp-gw-open-network-stream): Suppress unrelated traces.
8983
8984 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8985 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8986 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8987 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8988 connection property.
8989
8990 * net/tramp-cache.el (top): Suppress traces when reading
8991 persistency file.
8992
8993 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8994 Refactor common code. Improve debug message.
8995 (tramp-maybe-open-connection)
8996 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8997 connection buffer too early.
8998
8999 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
9000 from `tramp-smb-actions-with-acl'.
9001 (tramp-smb-actions-set-acl): New defconst.
9002 (tramp-smb-handle-copy-directory)
9003 (tramp-smb-action-get-acl): New defun, renamed from
9004 `tramp-smb-action-with-acl'.
9005 (tramp-smb-action-set-acl): New defun.
9006 (tramp-smb-handle-set-file-acl): Rewrite.
9007
9008 2013-10-17 Glenn Morris <rgm@gnu.org>
9009
9010 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
9011
9012 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9013
9014 * skeleton.el (skeleton-newline): Remove.
9015 (skeleton-internal-1): Use (insert "\n") instead.
9016
9017 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
9018 let-bindings.
9019
9020 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
9021 forward-sexp-function while we redo its job (bug#15613).
9022
9023 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
9024
9025 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
9026 represented by lists.
9027
9028 2013-10-16 Glenn Morris <rgm@gnu.org>
9029
9030 * tmm.el (tmm--history): New dynamic variable.
9031 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
9032
9033 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
9034
9035 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
9036 (tramp-smb-errors): Add error messages.
9037 (tramp-smb-actions-with-acl): New defconst.
9038 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
9039 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
9040 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
9041 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
9042 (tramp-smb-get-stat-capability): Fix tests.
9043
9044 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
9045
9046 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
9047 (bug#15580).
9048
9049 2013-10-16 Glenn Morris <rgm@gnu.org>
9050
9051 * ansi-color.el (ansi-color-drop-regexp):
9052 Add 1J, 1K, 2K. (Bug#15617)
9053
9054 * files.el (hack-local-variables--warned-lexical): New.
9055 (hack-local-variables):
9056 Warn about misplaced lexical-binding. (Bug#15616)
9057
9058 * net/eww.el (eww-render): Always set eww-current-url,
9059 and update header line. (Bug#15622)
9060 (eww-display-html): ... Rather than just doing it here.
9061
9062 2013-10-15 Eli Zaretskii <eliz@gnu.org>
9063
9064 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
9065 menu navigations commands.
9066
9067 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
9068
9069 * progmodes/subword.el (subword-capitalize): Be careful when
9070 the search for [[:alpha:]] fails (bug#15580).
9071
9072 2013-10-14 Eli Zaretskii <eliz@gnu.org>
9073
9074 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
9075 to commands that scroll the menu.
9076
9077 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
9078
9079 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
9080 Handle methods ending with `?' and `!'.
9081
9082 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
9083
9084 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
9085 `japanese-cp932' to `cp932' to fix the problem where saving a
9086 source file written in Shift_JIS twice would end up having
9087 `coding: japanese-cp932' which Ruby could not recognize.
9088 (ruby-mode-set-encoding): Add support for encodings mapped to nil
9089 in `ruby-encoding-map'.
9090 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
9091 doesn't need to be explicitly declared in magic comment.
9092 (ruby-encoding-map): Add type declaration for better customize UI.
9093
9094 2013-10-13 Glenn Morris <rgm@gnu.org>
9095
9096 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
9097 Occur buffers are read-only. http://bugs.debian.org/720775
9098
9099 * emacs-lisp/authors.el (authors-fixed-entries):
9100 Comment out old alpha stuff.
9101
9102 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
9103
9104 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
9105 to `after-save-hook' instead of `before-save-hook'.
9106 (ruby-mode-set-encoding): Use the value of coding system used to
9107 write the file. Call `basic-save-buffer-1' after modifying the
9108 buffer.
9109
9110 2013-10-13 Alan Mackenzie <acm@muc.de>
9111
9112 Fix indentation/fontification of Java enum with
9113 "implements"/generic.
9114
9115 * progmodes/cc-engine.el (c-backward-over-enum-header):
9116 Extracted from the three other places and enhanced to handle generics.
9117 (c-inside-bracelist-p): Uses new function above.
9118 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
9119 function above.
9120 (c-font-lock-enum-tail): Uses new function above.
9121
9122 2013-10-13 Kenichi Handa <handa@gnu.org>
9123
9124 * international/mule-cmds.el (select-safe-coding-system): Remove a
9125 superfluous condition in chekcing whether a coding system is safe
9126 or not.
9127
9128 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
9129
9130 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
9131
9132 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
9133
9134 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
9135
9136 2013-10-13 Glenn Morris <rgm@gnu.org>
9137
9138 * menu-bar.el (menu-bar-update-buffers):
9139 Unify Buffers menu prompt string. (Bug#15576)
9140
9141 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
9142
9143 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
9144 Add some entries.
9145 (authors-fixed-entries): Use accented form of name.
9146
9147 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9148
9149 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
9150 method calls (bug#15594).
9151 (ruby-smie--args-separator-p): New function.
9152 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
9153 recognize paren-free method calls.
9154
9155 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
9156 internals of universal-argument.
9157
9158 2013-10-11 Eli Zaretskii <eliz@gnu.org>
9159
9160 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
9161 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
9162 dropped menu on second mouse click on the menu bar.
9163
9164 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9165
9166 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
9167 (explicit-shell-file-name): Declare.
9168 (sh--vars-before-point, sh--cmd-completion-table): New functions.
9169 (sh-completion-at-point-function): New function.
9170 (sh-mode): Use it.
9171 (sh-smie--keyword-p): Remove unused argument.
9172 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
9173 vars.
9174 (sh-set-shell): Always setup SMIE, even if we use the
9175 old indentation code.
9176
9177 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
9178
9179 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
9180 cases of ? and =.
9181 (ruby-smie-rules): Simplify the "do" rule. The cases when the
9182 predicate would return nil are almost non-existent.
9183 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
9184
9185 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
9186 cache also after commands that modify the buffer but don't move
9187 point.
9188
9189 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
9190
9191 * env.el (substitute-env-in-file-name): New function.
9192 (substitute-env-vars): Extend the meaning of the optional arg.
9193
9194 2013-10-10 Eli Zaretskii <eliz@gnu.org>
9195
9196 * term/w32-win.el (dynamic-library-alist): Define separate lists
9197 of GIF DLLs for versions before and after 5.0.0 of giflib.
9198 (Bug#15531)
9199
9200 2013-10-10 João Távora <joaotavora@gmail.com>
9201
9202 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
9203 not locked, use last revision and current source as
9204 defaults. (Bug#15569)
9205
9206 2013-10-10 Masatake YAMATO <yamato@redhat.com>
9207
9208 * menu-bar.el (menu-bar-open): Don't use popup-menu if
9209 menu-bar is hidden.
9210
9211 2013-10-10 Martin Rudalics <rudalics@gmx.at>
9212
9213 * window.el (pop-to-buffer-same-window): Fix doc-string.
9214 (Bug#15492)
9215
9216 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
9217
9218 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
9219
9220 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
9221
9222 * calendar/icalendar.el (icalendar-import-file):
9223 Fix interactive spec. (Bug#15482)
9224
9225 2013-10-10 Glenn Morris <rgm@gnu.org>
9226
9227 * desktop.el (desktop-save): Default to saving in .emacs.d,
9228 since PWD is no longer in desktop-path by default. (Bug#15319)
9229
9230 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
9231 now that text mode has a menu with the same entry.
9232 (menu-bar-text-mode-auto-fill): Remove now unused func.
9233 * textmodes/text-mode.el (text-mode-map):
9234 Use auto-fill help text from menu-bar.el.
9235
9236 2013-10-10 John Anthony <john@jo.hnanthony.com>
9237
9238 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
9239
9240 2013-10-09 Juri Linkov <juri@jurta.org>
9241
9242 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
9243 instead of this-command-keys. Add universal-argument-more and
9244 universal-argument-minus to the list of prefix commands. (Bug#15568)
9245
9246 2013-10-09 Glenn Morris <rgm@gnu.org>
9247
9248 * vc/vc-svn.el (vc-svn-create-repo):
9249 Expand paths in file://... url. (Bug#15446)
9250
9251 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
9252 Add some entries.
9253 (authors): Remove unused local variables.
9254
9255 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
9256
9257 * profiler.el: Create a more coherent calltree from partial backtraces.
9258 (profiler-format): Hide the tail with `invisible' so that C-s can still
9259 find the hidden elements.
9260 (profiler-calltree-depth): Don't recurse so enthusiastically.
9261 (profiler-function-equal): New hash-table-test.
9262 (profiler-calltree-build-unified): New function.
9263 (profiler-calltree-build): Use it.
9264 (profiler-report-make-name-part): Indent the calltree less.
9265 (profiler-report-mode): Add visibility specs for profiler-format.
9266 (profiler-report-expand-entry, profiler-report-toggle-entry):
9267 Expand the whole subtree when provided with a prefix arg.
9268
9269 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
9270
9271 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
9272 iuwu-mod token.
9273 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
9274 hanging iuwu-mod token.
9275 (ruby-smie--forward-token): Do not include a dot after a token in
9276 that token.
9277 (ruby-smie--backward-token): Likewise.
9278
9279 2013-10-08 Juri Linkov <juri@jurta.org>
9280
9281 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
9282 to isearch-other-control-char.
9283 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
9284 and isearch-post-command-hook to post-command-hook.
9285 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
9286 and isearch-post-command-hook from post-command-hook.
9287 (isearch-unread-key-sequence)
9288 (isearch-reread-key-sequence-naturally)
9289 (isearch-lookup-scroll-key, isearch-other-control-char)
9290 (isearch-other-meta-char): Remove functions.
9291 (isearch-pre-command-hook, isearch-post-command-hook):
9292 New functions based on isearch-other-meta-char rewritten
9293 relying on the new behavior of overriding-terminal-local-map
9294 that does not replace the local keymaps any more. (Bug#15200)
9295
9296 2013-10-08 Eli Zaretskii <eliz@gnu.org>
9297
9298 Support menus on text-mode terminals.
9299 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
9300 functionality.
9301
9302 * tooltip.el (tooltip-mode): Don't error out on TTYs.
9303
9304 * menu-bar.el (popup-menu, popup-menu-normalize-position):
9305 Move here from mouse.el.
9306 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
9307 and arrow keys.
9308 (tty-menu-navigation-map): New map for TTY menu navigation.
9309
9310 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
9311
9312 * frame.el (display-mouse-p): Report text-mode mouse as available
9313 on w32.
9314 (display-popup-menus-p): Report availability if mouse is
9315 available; don't condition on window-system.
9316
9317 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
9318 (tty-menu-selected-face): New faces.
9319
9320 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
9321
9322 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
9323 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
9324 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
9325 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
9326 New constants.
9327 (lisp-mode-variables): New `elisp' argument.
9328 (emacs-lisp-mode): Use it.
9329 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
9330 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
9331
9332 * indent.el: Use lexical-binding.
9333 (indent-region): Add progress reporter.
9334 (tab-stop-list): Make it implicitly extend to infinity by repeating the
9335 last step.
9336 (indent--next-tab-stop): New function to implement this behavior.
9337 (tab-to-tab-stop, move-to-tab-stop): Use it.
9338
9339 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
9340
9341 * indent.el (indent-rigidly--current-indentation): New function.
9342 (indent-rigidly-map): New var.
9343 (indent-rigidly): Use it to provide interactive mode (bug#8196).
9344
9345 2013-10-08 Bastien Guerry <bzg@gnu.org>
9346
9347 * register.el (insert-register): Fix 2013-10-07 change.
9348
9349 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
9350
9351 * progmodes/perl-mode.el: Use lexical-binding.
9352 Remove redundant :group args.
9353 (perl-nochange): Change default to be closer to other major modes's
9354 standard behavior.
9355 (perl-indent-line): Don't consider text on current line as a
9356 valid beginning of function from which to indent.
9357
9358 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
9359 with more than one argument (bug#15538).
9360
9361 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
9362
9363 * vc/pcvs.el: Use lexical-binding.
9364 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
9365 environment of `eval'.
9366 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
9367 than a list of expressions. Adjust callers.
9368 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
9369
9370 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
9371
9372 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
9373 case of the dot in a chained method call being on the following line.
9374
9375 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
9376
9377 * electric.el (electric-indent-inhibit): New var.
9378 (electric-indent-post-self-insert-function): Use it.
9379 * progmodes/python.el (python-mode): Set it.
9380
9381 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
9382 open braces.
9383
9384 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
9385
9386 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
9387 (css-mode): Use electric-indent-chars.
9388
9389 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
9390 (font-lock-beg, font-lock-end): Move before first use.
9391 (nxml-mode): Use syntax-propertize-function.
9392 (nxml-after-change, nxml-after-change1): Adjust accordingly.
9393 (nxml-extend-after-change-region): Remove.
9394 * nxml/xmltok.el: Use lexical-binding.
9395 (xmltok-save): Use `declare'.
9396 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
9397 * nxml/nxml-util.el: Use lexical-binding.
9398 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
9399 Use `declare'.
9400 * nxml/nxml-ns.el: Use lexical-binding.
9401 (nxml-ns-save): Use `declare'.
9402 (nxml-ns-prefixes-for): Avoid add-to-list.
9403 * nxml/rng-match.el: Use lexical-binding.
9404 (rng--ipattern): Use cl-defstruct.
9405 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
9406 (rng-cons-group-after, rng-subst-group-after)
9407 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
9408 Use closures instead of `(lambda...).
9409
9410 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
9411
9412 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
9413 of BEG and END.
9414
9415 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9416 Use `tramp-handle-insert-file-contents'.
9417 (tramp-gvfs-handle-insert-file-contents): Remove function.
9418
9419 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9420 Use `save-restriction' in order to keep markers.
9421
9422 * net/trampver.el: Update release number.
9423
9424 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
9425
9426 * progmodes/compile.el (compilation-parse-errors):
9427 Use compilation--put-prop.
9428 (compilation--ensure-parse): Check compilation-multiline.
9429
9430 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
9431
9432 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
9433 lexical-binding.
9434
9435 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
9436
9437 * progmodes/ruby-mode.el: Fix recently added tests.
9438 (ruby-smie-grammar): Add - and +.
9439 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
9440 (ruby-smie--backward-id): New functions.
9441 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
9442 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
9443 any more.
9444
9445 2013-10-07 Leo Liu <sdl.web@gmail.com>
9446
9447 * register.el (register-preview-delay)
9448 (register-preview-functions): New variables.
9449 (register-read-with-preview, register-preview)
9450 (register-describe-oneline): New functions.
9451 (point-to-register, window-configuration-to-register)
9452 (frame-configuration-to-register, jump-to-register)
9453 (number-to-register, view-register, insert-register)
9454 (copy-to-register, append-to-register, prepend-to-register)
9455 (copy-rectangle-to-register): Use register-read-with-preview to
9456 read register. (Bug#15525)
9457
9458 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
9459
9460 * net/network-stream.el (network-stream-open-starttls): Don't add
9461 --insecure if it's already present, because that gnutls-cli
9462 rejects getting that parameter twice.
9463
9464 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
9465
9466 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
9467 keyword, too.
9468
9469 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
9470
9471 * newcomment.el (comment-use-global-state): Change default value
9472 to t, mark obsolete (Bug#15251).
9473 (comment-beginning): In addition to `comment-to-syntax', check the
9474 value of `comment-use-global-state'.
9475
9476 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9477
9478 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
9479 (ruby-comment-column): Follow the global default, by default.
9480 (ruby-smie-grammar): Add assignment syntax.
9481 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
9482 open-paren, a comma, or a \.
9483 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
9484 and line continuations.
9485 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
9486 followed by implicit semi-colons. Add rule for string concatenation
9487 and for indentation at BOB.
9488 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
9489
9490 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
9491 calling next-sexp, since next-token may have skipped chars which
9492 next-sexp doesn't know should be skipped!
9493
9494 2013-10-05 Leo Liu <sdl.web@gmail.com>
9495
9496 * progmodes/octave.el (octave-send-region):
9497 Call compilation-forget-errors.
9498
9499 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
9500
9501 * vc/vc-svn.el (vc-svn-find-admin-dir):
9502 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
9503 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
9504 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
9505 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
9506
9507 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
9508
9509 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
9510
9511 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
9512
9513 * subr.el (read-passwd): Hide chars even when called within a context
9514 where after-change-functions is disabled (bug#15501).
9515 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
9516 until we removed ourself from overriding-terminal-local-map.
9517
9518 2013-10-04 Leo Liu <sdl.web@gmail.com>
9519
9520 * progmodes/octave.el (inferior-octave-mode):
9521 Call compilation-forget-errors.
9522
9523 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
9524
9525 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
9526
9527 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
9528
9529 * net/secrets.el (secrets-create-collection): Add optional
9530 argument ALIAS. Use proper Label keyword. Append ALIAS as
9531 dbus-call-method argument. (Bug#15516)
9532
9533 2013-10-04 Leo Liu <sdl.web@gmail.com>
9534
9535 * progmodes/octave.el (inferior-octave-error-regexp-alist)
9536 (inferior-octave-compilation-font-lock-keywords): New variables.
9537 (compilation-error-regexp-alist)
9538 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
9539 (inferior-octave-mode): Use compilation-shell-minor-mode.
9540
9541 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
9542
9543 * minibuffer.el (completion--replace): Be careful that `end' might be
9544 a marker.
9545
9546 2013-10-03 Daiki Ueno <ueno@gnu.org>
9547
9548 Add support for package signature checking.
9549 * emacs-lisp/package.el (url-http-file-exists-p)
9550 (epg-make-context, epg-context-set-home-directory)
9551 (epg-verify-string, epg-context-result-for)
9552 (epg-signature-status, epg-signature-to-string)
9553 (epg-check-configuration, epg-configuration)
9554 (epg-import-keys-from-file): Declare.
9555 (package-check-signature): New user option.
9556 (package-unsigned-archives): New user option.
9557 (package-desc): Add `signed' field.
9558 (package-load-descriptor): Set `signed' field if .signed file exists.
9559 (package--archive-file-exists-p): New function.
9560 (package--check-signature): New function.
9561 (package-install-from-archive): Check package signature.
9562 (package--download-one-archive): Check archive signature.
9563 (package-delete): Remove .signed file.
9564 (package-import-keyring): New command.
9565 (package-refresh-contents): Import default keyring.
9566 (package-desc-status): Add "unsigned" status.
9567 (describe-package-1, package-menu--print-info)
9568 (package-menu-mark-delete, package-menu--find-upgrades)
9569 (package-menu--status-predicate): Support "unsigned" status.
9570
9571 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9572
9573 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
9574 the new compilation scheme using the new byte-codes.
9575
9576 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
9577 (byte-pophandler): New byte codes.
9578 (byte-goto-ops): Adjust accordingly.
9579 (byte-compile--use-old-handlers): New var.
9580 (byte-compile-catch): Use new byte codes depending on
9581 byte-compile--use-old-handlers.
9582 (byte-compile-condition-case--old): Rename from
9583 byte-compile-condition-case.
9584 (byte-compile-condition-case--new): New function.
9585 (byte-compile-condition-case): New function that dispatches depending
9586 on byte-compile--use-old-handlers.
9587 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
9588 when we can.
9589
9590 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
9591 Optimize under `condition-case' and `catch' if
9592 byte-compile--use-old-handlers is nil.
9593 (disassemble-offset): Handle new bytecodes.
9594
9595 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9596
9597 * subr.el (error): Use `declare'.
9598 (decode-char, encode-char): Use advertised-calling-convention instead
9599 of the docstring to discourage use of the `restriction' arg.
9600
9601 2013-10-03 Daiki Ueno <ueno@gnu.org>
9602
9603 * epg.el (epg-verify-file): Add a comment saying that it does not
9604 notify verification error as a return value nor a signal.
9605 (epg-verify-string): Ditto.
9606
9607 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
9608
9609 * progmodes/compile.el (compilation-start): Try globbing the arg to
9610 `cd' (bug#15417).
9611
9612 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
9613
9614 Sync with Tramp 2.2.8.
9615
9616 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
9617 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
9618 * net/trampver.el: Update release number.
9619
9620 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
9621
9622 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9623 and default-process-coding-system for darwin only.
9624
9625 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
9626
9627 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
9628
9629 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
9630
9631 * vc/vc-git.el (vc-git-grep): Disable pager.
9632
9633 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
9634
9635 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
9636 Use :url instead of :homepage, as per
9637 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
9638
9639 * newcomment.el (comment-beginning): When `comment-use-syntax' is
9640 non-nil, use `syntax-ppss' (Bug#15251).
9641
9642 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9643
9644 * progmodes/octave.el (inferior-octave-startup-file):
9645 Prefer ~/.emacs.d/init_octave.m.
9646
9647 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
9648
9649 * emacs-lisp/package.el (package-desc-from-define):
9650 Accept additional arguments as plist, convert them to an alist and store
9651 them in the `extras' slot.
9652 (package-generate-description-file): Convert extras alist back to
9653 plist and append to the `define-package' form arguments.
9654 (package--alist-to-plist): New function.
9655 (package--ac-desc): Add `extras' slot.
9656 (package--add-to-archive-contents): Check if the archive-contents
9657 vector is long enough, and if it is, pass its `extras' slot value
9658 to `package-desc-create'.
9659 (package-buffer-info): Call `lm-homepage', pass the returned value
9660 to `package-desc-from-define'.
9661 (describe-package-1): Render the homepage button (Bug#13291).
9662
9663 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9664 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
9665
9666 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
9667
9668 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9669 and default-process-coding-system to utf-8-unix (Bug#15402).
9670
9671 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
9672
9673 * subr.el (looking-back): Do not recommend using looking-back.
9674
9675 2013-09-28 Alan Mackenzie <acm@muc.de>
9676
9677 Fix indentation/fontification of Java enum with "implements".
9678
9679 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
9680 regexp which matches "implements", etc., in Java.
9681 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
9682 specifier clauses coming after "enum".
9683 * progmodes/cc-fonts.el (c-font-lock-declarations)
9684 (c-font-lock-enum-tail): Check for extra specifier clauses coming
9685 after "enum".
9686
9687 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
9688
9689 * faces.el (region): Change ns_selection_color to
9690 ns_selection_fg_color, add ns_selection_bg_color.
9691
9692 2013-09-28 Leo Liu <sdl.web@gmail.com>
9693
9694 * progmodes/octave.el (inferior-octave-completion-table)
9695 (inferior-octave-completion-at-point): Minor tweaks.
9696
9697 * textmodes/ispell.el (ispell-lookup-words): Rename from
9698 lookup-words. (Bug#15460)
9699 (lookup-words): Obsolete.
9700 (ispell-complete-word, ispell-command-loop): All uses changed.
9701
9702 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9703
9704 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
9705 (octave-mode-menu): Add octave-send-buffer.
9706 (octave-send-buffer): New function.
9707
9708 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9709
9710 * progmodes/octave.el (octave-mode-map): Add key binding for
9711 octave-lookfor.
9712 (octave-mode-menu): Add octave-lookfor.
9713 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
9714 octave-lookfor.
9715 (octave-lookfor): New function.
9716
9717 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9718
9719 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
9720 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
9721 its convention.
9722 (cl--loop-set-iterator-function): New function.
9723 (cl-loop): Adjust accordingly, so as not to use cl-subst.
9724 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
9725 Bind `it' with `let' instead of substituting it with `cl-subst'.
9726 (cl--unused-var-p): New function.
9727 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9728 Eliminate some unused variable warnings (bug#15326).
9729
9730 2013-09-27 Tassilo Horn <tsdh@gnu.org>
9731
9732 * doc-view.el (doc-view-scale-reset): Rename from
9733 `doc-view-reset-zoom-level'.
9734 (doc-view-scale-adjust): New command.
9735 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9736 `doc-view-scale-adjust'.
9737
9738 2013-09-26 Tassilo Horn <tsdh@gnu.org>
9739
9740 * doc-view.el (doc-view-reset-zoom-level): New command.
9741 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9742 zoom commands (bug#15466).
9743
9744 2013-09-26 Kenichi Handa <handa@gnu.org>
9745
9746 * international/quail.el (quail-help): Make it not a command.
9747
9748 2013-09-26 Leo Liu <sdl.web@gmail.com>
9749
9750 * minibuffer.el (completion-all-sorted-completions): Make args
9751 optional as they are.
9752
9753 2013-09-25 Daniel Colascione <dancol@dancol.org>
9754
9755 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9756 specs are and that they're not evaluated.
9757
9758 2013-09-24 Sam Steingold <sds@gnu.org>
9759
9760 * midnight.el (clean-buffer-list-kill-regexps)
9761 (clean-buffer-list-kill-buffer-names): Update for the new Man
9762 buffer naming which includes the object name.
9763
9764 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9765
9766 * eshell/esh-cmd.el (eshell--sep-terms): New var.
9767 (eshell-parse-command, eshell-parse-pipeline): Use it since
9768 eshell-separate-commands requires a dynamic scoped var.
9769 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9770
9771 2013-09-23 Leo Liu <sdl.web@gmail.com>
9772
9773 * autoinsert.el (auto-insert-alist): Make the value of
9774 lexical-binding match its file setting.
9775
9776 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
9777
9778 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9779
9780 * autoarg.el (autoarg-kp-digit-argument):
9781 * electric.el (Electric-command-loop):
9782 * kmacro.el (kmacro-step-edit-insert):
9783 Do not set universal-argument-num-events.
9784
9785 2013-09-22 Leo Liu <sdl.web@gmail.com>
9786
9787 * files.el (interpreter-mode-alist): Add octave.
9788
9789 2013-09-21 Alan Mackenzie <acm@muc.de>
9790
9791 C++: fontify identifier in declaration following "public:" correctly.
9792 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9793 to match "public", etc.
9794 (c-decl-prefix-re): Add ":" into the C++ value.
9795 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9796 bit. Add a check for a ":" preceded by "public", etc.
9797
9798 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9799
9800 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9801 recognized by GDB 7.5 and later.
9802
9803 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9804
9805 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9806
9807 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9808
9809 * subr.el (internal--call-interactively): New const.
9810 (called-interactively-p): Use it (bug#3984).
9811
9812 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9813
9814 * vc/pcvs.el (cvs-mode-ignore):
9815 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9816 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9817
9818 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9819
9820 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9821 (eshell-ls-orig-insert-directory): Remove.
9822 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9823 (eshell-ls-use-in-dired): Use advice-add/remove.
9824 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9825 Add `orig-fun' arg for use in :around advice.
9826 Make it check (redundantly) eshell-ls-use-in-dired.
9827
9828 2013-09-19 Glenn Morris <rgm@gnu.org>
9829
9830 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9831
9832 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9833
9834 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9835
9836 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9837
9838 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9839 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9840 (tramp-get-remote-python): New defuns.
9841 (tramp-get-remote-uid-with-perl)
9842 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9843 contributed by yary <not.com@gmail.com> (tiny change).
9844 (tramp-get-remote-uid-with-python)
9845 (tramp-get-remote-gid-with-python): New defuns. Python code
9846 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9847 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9848
9849 2013-09-19 Glenn Morris <rgm@gnu.org>
9850
9851 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9852
9853 * eshell/em-unix.el (eshell-remove-entries):
9854 Rename argument to avoid name-clash with global `top-level'.
9855
9856 * eshell/esh-proc.el (eshell-kill-process-function):
9857 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9858 (eshell-reset-after-proc): Remove unused arg `proc'.
9859
9860 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9861 (directory-files-and-attributes): Mark unused arg.
9862
9863 * eshell/em-unix.el (eshell-remove-entries):
9864 Remove unused arg `path'. Update callers.
9865
9866 * eshell/em-hist.el (eshell-hist-parse-arguments):
9867 Remove unused arg `silent'. Update callers.
9868
9869 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9870 Fix (f)boundp mix-up.
9871
9872 * eshell/em-smart.el (eshell-smart-scroll-window)
9873 (eshell-disable-after-change):
9874 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9875
9876 2013-09-18 Alan Mackenzie <acm@muc.de>
9877
9878 Fix fontification of type when followed by "const".
9879 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9880 "known" types from fontification.
9881
9882 2013-09-18 Glenn Morris <rgm@gnu.org>
9883
9884 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9885 (chart-face-list): Drop Emacsen without display-color-p.
9886
9887 * net/eww.el (libxml-parse-html-region): Declare.
9888 (eww-display-html): Explicit error if no libxml2 support.
9889
9890 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9891
9892 * image.el (image-type-from-buffer, image-multi-frame-p):
9893 Remove --without-x warning/error.
9894
9895 * mouse.el (mouse-yank-primary):
9896 * term.el (term-mouse-paste):
9897 Reorder to silence --without-x compilation.
9898
9899 * mpc.el (doc-view-mode): Silence --without-x compilation.
9900
9901 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9902 Silence --without-x compilation.
9903
9904 * progmodes/gud.el (gud-find-file, gud-mode):
9905 Silence --without-x compilation.
9906 (tooltip-mode): Declare.
9907
9908 * wdired.el (dired-backup-overwrite): Remove declaration.
9909 (wdired-mode-map): Add doc string.
9910
9911 * custom.el (x-get-resource): Declare.
9912
9913 * eshell/em-glob.el (ange-cache):
9914 * eshell/em-unix.el (ange-cache): Declare.
9915
9916 * faces.el (x-display-list, x-open-connection, x-get-resource):
9917 Declare.
9918
9919 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9920 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9921 Declare.
9922
9923 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9924
9925 * net/gnutls.el (gnutls-log-level): Declare.
9926
9927 * net/shr.el (image-size, image-animate): Declare.
9928
9929 * simple.el (font-info): Declare.
9930
9931 * subr.el (x-popup-dialog): Declare.
9932
9933 * term/common-win.el (x-select-enable-primary)
9934 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9935 Declare.
9936
9937 * term/ns-win.el (x-handle-args): Declare.
9938
9939 * term/x-win.el (x-select-enable-clipboard): Declare.
9940
9941 * term/w32-win.el (create-default-fontset): Declare.
9942
9943 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9944 Declare.
9945
9946 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9947 (fit-frame-to-buffer): Explicit error if --without-x.
9948 (mouse-autoselect-window-select): Silence compiler.
9949
9950 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9951
9952 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9953 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9954 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9955 * eshell/esh-util.el (eshell-sublist):
9956 Remove unused local variables.
9957
9958 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9959
9960 * textmodes/two-column.el: Make 2C-split work for --without-x.
9961 (scroll-bar-columns): Autoload.
9962 (top-level): Require fringe when compiling.
9963
9964 2013-09-18 Leo Liu <sdl.web@gmail.com>
9965
9966 * subr.el (add-hook): Robustify to handle closure as well.
9967
9968 2013-09-17 Glenn Morris <rgm@gnu.org>
9969
9970 * simple.el (messages-buffer-mode-map): Unbind "g".
9971
9972 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9973
9974 * help-mode.el (help-mode-finish): Use derived-mode-p.
9975 Remove obsolete highlighting.
9976
9977 * play/life.el (life-mode): Use define-derived-mode. Derive from
9978 special-mode.
9979 (life): Let-bind inhibit-read-only.
9980 (life-setup): Avoid `setq'. Use `life-mode'.
9981
9982 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9983 which should not be needed any more.
9984 (package-menu-refresh, package-menu-describe-package): Use user-error.
9985
9986 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9987 (eshell-post-rewrite-command-hook): Make obsolete.
9988 (eshell-parse-command): Simplify.
9989 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9990 (eshell--cmd): Declare.
9991 (eshell-parse-pipeline): Remove unused var `final-p'.
9992 Pass a dynvar to eshell-post-rewrite-command-hook.
9993 Implement the new eshell-post-rewrite-command-function.
9994 (eshell-invoke-directly): Remove unused arg `input'.
9995 * eshell/esh-io.el (eshell-io-initialize):
9996 Use eshell-post-rewrite-command-function (bug#15399).
9997 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9998 adjust to new calling convention.
9999 (eshell-create-handles): Rename args to avoid clashing with dynvar
10000 `standard-output'.
10001
10002 2013-09-17 Glenn Morris <rgm@gnu.org>
10003
10004 * simple.el (messages-buffer-mode): New major mode.
10005 (messages-buffer): New function.
10006 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
10007 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
10008 (ert-run-test): Use `messages-buffer' function.
10009 (ert--force-message-log-buffer-truncation): Ignore read-only.
10010 * help.el (view-echo-area-messages): Use `messages-buffer' function.
10011 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
10012
10013 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
10014
10015 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
10016
10017 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
10018
10019 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10020
10021 * icomplete.el (icomplete-in-buffer): New var.
10022 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
10023 vars and replace them with functions.
10024 (icomplete-minibuffer-setup): Adjust accordingly.
10025 (icomplete--completion-table, icomplete--completion-predicate)
10026 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
10027 New functions.
10028 (icomplete-forward-completions, icomplete-backward-completions)
10029 (icomplete-simple-completing-p, icomplete-exhibit)
10030 (icomplete-completions): Use them.
10031 (icomplete--in-region-buffer): New var.
10032 (icomplete--in-region-setup): New function.
10033 (icomplete-mode): Use it.
10034
10035 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
10036 (bug#15379).
10037 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
10038 return args and options.
10039 (eshell-eval-using-options): Use the new return value of
10040 eshell--do-opts to set the options's vars in their scope.
10041 (eshell--set-option): Rename from eshell-set-option.
10042 Add arg `opt-vals'.
10043 (eshell--process-option): Rename from eshell-process-option.
10044 Add arg `opt-vals'.
10045 (eshell--process-args): Use an `opt-vals' alist to store the options's
10046 values during their processing and return them additionally to the
10047 remaining args.
10048
10049 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
10050
10051 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
10052 continuation character an operator, as far as indentation is
10053 concerned (Bug#15369).
10054
10055 2013-09-15 Martin Rudalics <rudalics@gmx.at>
10056
10057 * window.el (window--state-put-2): Don't process buffer state
10058 when buffer doesn't exist any more (Bug#15382).
10059
10060 2013-09-15 Glenn Morris <rgm@gnu.org>
10061
10062 * eshell/em-unix.el (eshell/rm):
10063 Make -f ignore missing files. (Bug#15373)
10064
10065 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
10066 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
10067 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
10068
10069 2013-09-14 Glenn Morris <rgm@gnu.org>
10070
10071 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
10072
10073 2013-09-13 Glenn Morris <rgm@gnu.org>
10074
10075 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
10076 (dired-guess-default): Make `file' available in the env. (Bug#15363)
10077
10078 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
10079
10080 * frame.el (x-focus-frame): Mark as declared in frame.c.
10081
10082 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
10083
10084 * ls-lisp.el: Use advice-add.
10085 (original-insert-directory): Remove.
10086 (ls-lisp--insert-directory): Rename from insert-directory; add
10087 `orig-fun' argument.
10088 (insert-directory): Advise.
10089
10090 2013-09-13 Eli Zaretskii <eliz@gnu.org>
10091
10092 * term.el (term-emulate-terminal): Decode the command string
10093 before passing it to term-command-hook. (Bug#15337)
10094
10095 2013-09-13 Glenn Morris <rgm@gnu.org>
10096
10097 * eshell/esh-util.el (ange-cache): Move declaration earlier.
10098
10099 * eshell/esh-ext.el (eshell-search-path): Declare.
10100
10101 * eshell/em-prompt.el (eshell/pwd): Autoload it.
10102 Otherwise an error occurs if eshell-dirs module not loaded.
10103
10104 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
10105
10106 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
10107
10108 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
10109 `tramp-check-proper-host'. Check for a valid method name.
10110
10111 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10112 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10113 * net/tramp-sh.el (tramp-maybe-open-connection):
10114 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
10115
10116 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
10117 also for hash values.
10118
10119 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10120
10121 * term/ns-win.el (parameters): Don't declare as dynamic.
10122 (before-make-frame-hook): Don't add ineffective function.
10123
10124 * eshell/*.el: Use lexical-binding (bug#15231).
10125
10126 2013-09-12 Kenichi Handa <handa@gnu.org>
10127
10128 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
10129
10130 2013-09-12 Glenn Morris <rgm@gnu.org>
10131
10132 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
10133 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
10134
10135 * subr.el (do-after-load-evaluation): Also give compiler warnings
10136 when obsolete files are used (except by obsolete files).
10137
10138 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
10139 in the status output, assume `filename' is the first. (Bug#15322)
10140
10141 * vc/vc.el (vc-deduce-fileset): Doc fix.
10142
10143 * calc/calc-help.el (Info-goto-node):
10144 * progmodes/cperl-mode.el (Info-find-node):
10145 * vc/ediff.el (Info-goto-node): Update declarations.
10146
10147 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
10148
10149 * vc/vc-bzr.el (vc-compilation-mode): Declare.
10150 (vc-bzr-pull): Require vc-dispatcher.
10151 * vc/vc-git.el (vc-compilation-mode): Declare.
10152 (vc-git-pull): Require vc-dispatcher.
10153
10154 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
10155
10156 * progmodes/octave.el (help-button-action): Declare.
10157
10158 * shell.el (shell-directory-tracker): Output error as a message
10159 rather than just returning it as a string.
10160 (shell-process-pushd): Remove useless use of message.
10161
10162 * dframe.el (dframe-timer-fn):
10163 * files.el (dir-locals-read-from-file):
10164 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
10165 (mpc-format):
10166 * reveal.el (reveal-post-command):
10167 * saveplace.el (load-save-place-alist-from-file):
10168 * shell.el (shell-resync-dirs):
10169 * w32-common-fns.el (x-get-selection-value):
10170 * emacs-lisp/copyright.el (copyright-find-copyright):
10171 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
10172 * emulation/tpu-edt.el (tpu-copy-keyfile):
10173 * play/bubbles.el (bubbles--mark-neighbourhood):
10174 * progmodes/executable.el
10175 (executable-make-buffer-file-executable-if-script-p):
10176 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
10177
10178 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10179
10180 Cleanup Eshell to rely less on dynamic scoping.
10181 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
10182 last-value, and ext-command here. Bind `args' closer to `body'.
10183 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
10184 (eshell--args): Declare new dynamic var.
10185 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
10186 last-value, and ext-command. Pass `args' to `body'.
10187 (eshell-process-args): Bind eshell--args.
10188 (eshell-set-option): Use eshell--args.
10189 * eshell/eshell.el (eshell): Use derived-mode-p.
10190 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
10191 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
10192 (eshell-glob-function): Declare.
10193 * eshell/esh-util.el: Require cl-lib.
10194 (eshell-read-hosts-file): Avoid add-to-list.
10195 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
10196 `err'.
10197 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
10198 Declare.
10199 (eshell/diff): Remove unused var `err'.
10200 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
10201 `killflag'.
10202 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
10203 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
10204 first use.
10205 * eshell/em-glob.el (eshell-glob-matches, message-shown):
10206 Move declaration before first use.
10207 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
10208 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
10209 rely on cl-return.
10210
10211 2013-09-12 Glenn Morris <rgm@gnu.org>
10212
10213 * term/ns-win.el (global-map): Remove binding for ispell-next,
10214 deleted 1999-05-29. (Bug#15357)
10215
10216 2013-09-11 Glenn Morris <rgm@gnu.org>
10217
10218 * echistory.el (electric-command-history): Remove call to deleted func.
10219
10220 * play/landmark.el (landmark-mode): Fix typos.
10221
10222 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
10223 Check cvs-sort-ignore-file is bound.
10224
10225 * savehist.el: No need for cl when compiling on Emacs.
10226
10227 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
10228
10229 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
10230 (bug#15338).
10231 (eshell-self-insert-command, eshell-send-invisible):
10232 Remove unused argument.
10233 (eshell-handle-control-codes): Remove unused var `orig'.
10234 Avoid delete-backward-char.
10235
10236 * files.el (set-auto-mode): Simplify a bit further.
10237
10238 2013-09-11 Glenn Morris <rgm@gnu.org>
10239
10240 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
10241 (set-auto-mode): Don't regexp-quote elements.
10242 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
10243 * progmodes/cc-mode.el (interpreter-mode-alist):
10244 * progmodes/ruby-mode.el (interpreter-mode-alist):
10245 Revert previous change.
10246
10247 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
10248
10249 * play/snake.el (snake-mode):
10250 * play/mpuz.el (mpuz-mode):
10251 * play/landmark.el (lm-mode):
10252 * play/blackbox.el (blackbox-mode):
10253 * play/5x5.el (5x5-mode):
10254 * obsolete/options.el (Edit-options-mode):
10255 * net/quickurl.el (quickurl-list-mode):
10256 * net/newst-treeview.el (newsticker-treeview-mode):
10257 * mail/rmailsum.el (rmail-summary-mode):
10258 * mail/mspools.el (mspools-mode):
10259 * locate.el (locate-mode):
10260 * ibuffer.el (ibuffer-mode):
10261 * emulation/ws-mode.el (wordstar-mode):
10262 * emacs-lisp/debug.el (debugger-mode):
10263 * array.el (array-mode):
10264 * net/eudc.el (eudc-mode): Use define-derived-mode.
10265 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
10266 Move initialization into declaration.
10267 (mairix-searches-mode): Use define-derived-mode.
10268 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
10269 (eudc-edit-hotlist): Use dolist.
10270 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
10271 (Man-mode): Use define-derived-mode.
10272 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
10273 (Info-edit-mode): Use define-derived-mode.
10274 (Info-cease-edit): Use Info-mode.
10275 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
10276 into declaration.
10277 (eshell-mode): Use define-derived-mode.
10278 * chistory.el (command-history-mode-map): Rename from
10279 command-history-map.
10280 (command-history-mode): Use define-derived-mode.
10281 (Command-history-setup): Remove function.
10282 * calc/calc.el (calc-trail-mode-map): New var.
10283 (calc-trail-mode): Use define-derived-mode.
10284 (calc-trail-buffer): Set calc-main-buffer manually.
10285 * bookmark.el (bookmark-insert-annotation): New function.
10286 (bookmark-edit-annotation): Use it.
10287 (bookmark-edit-annotation-mode): Make it a proper major mode.
10288 (bookmark-send-edited-annotation): Use derived-mode-p.
10289 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
10290 closer to its ideal place. Use \' to match EOS.
10291
10292 * profiler.el (profiler-calltree-find): Use function-equal.
10293
10294 2013-09-10 Glenn Morris <rgm@gnu.org>
10295
10296 * files.el (interpreter-mode-alist): Convert to regexps.
10297 (set-auto-mode): Adapt for this. (Bug#15306)
10298 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
10299 Comment out unused variable.
10300 * progmodes/cc-mode.el (interpreter-mode-alist):
10301 * progmodes/python.el (interpreter-mode-alist):
10302 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
10303 * progmodes/sh-script.el (sh-set-shell):
10304 No longer use interpreter-mode-alist to get list of shells.
10305
10306 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
10307
10308 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
10309
10310 * simple.el: Use set-temporary-overlay-map for universal-argument.
10311 (universal-argument-map): Don't use default-bindings (bug#15317).
10312 Bind switch-frame explicitly. Replace universal-argument-minus with
10313 a conditional binding.
10314 (universal-argument-num-events, saved-overriding-map): Remove.
10315 (restore-overriding-map): Remove.
10316 (universal-argument--mode): Rename from save&set-overriding-map,
10317 and rewrite.
10318 (universal-argument, universal-argument-more, negative-argument)
10319 (digit-argument): Adjust accordingly.
10320 (universal-argument-minus): Remove.
10321 (universal-argument-other-key): Remove.
10322
10323 * subr.el (with-demoted-errors): Add `format' argument.
10324
10325 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
10326
10327 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
10328 `tramp-cleanup-connection'.
10329
10330 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
10331 parameters KEEP-DEBUG and KEEP-PASSWORD.
10332
10333 * net/tramp.el (tramp-file-name-handler):
10334 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10335 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
10336 (tramp-maybe-open-connection):
10337 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10338 Use `tramp-cleanup-connection'.
10339
10340 * net/tramp-sh.el (tramp-maybe-open-connection):
10341 Catch 'uname-changed inside the progress reporter.
10342
10343 2013-09-10 Glenn Morris <rgm@gnu.org>
10344
10345 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
10346
10347 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
10348 returns "alternate access method" in mode (eg "-rw-r--r--.").
10349
10350 2013-09-08 Glenn Morris <rgm@gnu.org>
10351
10352 * saveplace.el (load-save-place-alist-from-file):
10353 Demote errors. (Bug#15305)
10354
10355 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
10356
10357 Improve compatibility with older Emacsen, and XEmacs.
10358
10359 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
10360 only if it is bound. It isn't for XEmacs.
10361 (with-tramp-progress-reporter): Do not let-bind `result'.
10362 This yields to scoping errors in XEmacs.
10363 (tramp-handle-make-auto-save-file-name): New function, moved from
10364 tramp-sh.el.
10365
10366 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
10367 for `make-auto-save-file-name'.
10368 (tramp-adb--gnu-switches-to-ash):
10369 Use `tramp-compat-replace-regexp-in-string'.
10370
10371 * net/tramp-cache.el (tramp-cache-print): Call
10372 `substring-no-properties' only if it is bound. It isn't for XEmacs.
10373
10374 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
10375 bound. It isn't for XEmacs.
10376
10377 * net/tramp-compat.el (tramp-compat-copy-file):
10378 Catch `wrong-number-of-arguments' error.
10379 (tramp-compat-replace-regexp-in-string): New defun.
10380
10381 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
10382 for `make-auto-save-file-name'.
10383 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
10384 `copy-file'.
10385 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
10386 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
10387 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
10388
10389 * net/tramp-gw.el (tramp-gw-open-network-stream):
10390 Use `tramp-compat-replace-regexp-in-string'.
10391
10392 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
10393 Call `tramp-handle-make-auto-save-file-name'.
10394 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
10395 (tramp-sh-file-gvfs-monitor-dir-process-filter)
10396 (tramp-sh-file-inotifywait-process-filter):
10397 Use `tramp-compat-replace-regexp-in-string'.
10398 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
10399
10400 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
10401 for `make-auto-save-file-name'.
10402 (tramp-smb-handle-copy-directory):
10403 Call `tramp-compat-replace-regexp-in-string'.
10404 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
10405 (tramp-smb-handle-copy-file): Improve error message.
10406 (tramp-smb-handle-rename-file): Rename directly only in case
10407 `newname' does not exist yet. This is a restriction of smbclient.
10408 (tramp-smb-maybe-open-connection): Rerun the function only when
10409 `auth-sources' is non-nil.
10410
10411 2013-09-08 Kenichi Handa <handa@gnu.org>
10412
10413 * international/characters.el: Set category "^" (Combining) for
10414 more characters.
10415
10416 2013-09-07 Alan Mackenzie <acm@muc.de>
10417
10418 Correctly fontify Java class constructors.
10419 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
10420 in Java Mode.
10421 (c-recognize-typeless-decls): Set the Java value to t.
10422 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
10423 While handling a "(", add a check for, effectively, Java, and handle a
10424 "typeless" declaration there.
10425
10426 2013-09-07 Roland Winkler <winkler@gnu.org>
10427
10428 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
10429 field subtitle for entry type book.
10430
10431 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
10432
10433 * minibuffer.el: Make minibuffer-complete call completion-in-region
10434 rather than other way around.
10435 (completion--some, completion-pcm--find-all-completions):
10436 Don't delay signals when debugging.
10437 (minibuffer-completion-contents): Beware fields within the
10438 minibuffer contents.
10439 (completion-all-sorted-completions): Use defvar-local.
10440 (completion--do-completion, completion--cache-all-sorted-completions)
10441 (completion-all-sorted-completions, minibuffer-force-complete):
10442 Add args `beg' and `end'.
10443 (completion--in-region-1): New fun, extracted from minibuffer-complete.
10444 (minibuffer-complete): Use completion-in-region.
10445 (completion-complete-and-exit): New fun, extracted from
10446 minibuffer-complete-and-exit.
10447 (minibuffer-complete-and-exit): Use it.
10448 (completion--complete-and-exit): Rename from
10449 minibuffer--complete-and-exit.
10450 (completion-in-region--single-word): New function, extracted from
10451 minibuffer-complete-word.
10452 (minibuffer-complete-word): Use it.
10453 (display-completion-list): Make `common-substring' argument obsolete.
10454 (completion--in-region): Call completion--in-region-1 instead of
10455 minibuffer-complete.
10456 (completion-help-at-point): Pass boundaries to
10457 minibuffer-completion-help as args rather than via an overlay.
10458 (completion-pcm--string->pattern): Use `any-delim'.
10459 (completion-pcm--optimize-pattern): New function.
10460 (completion-pcm--pattern->regex): Handle `any-delim'.
10461 * icomplete.el (icomplete-forward-completions)
10462 (icomplete-backward-completions, icomplete-completions):
10463 Adjust calls to completion-all-sorted-completions and
10464 completion--cache-all-sorted-completions.
10465 (icomplete-with-completion-tables): Default to t.
10466 * emacs-lisp/crm.el (crm--current-element): Rename from
10467 crm--select-current-element. Don't put an overlay but return the
10468 boundaries instead.
10469 (crm--completion-command): Take two new args to bind to the boundaries.
10470 (crm-completion-help): Adjust accordingly.
10471 (crm-complete): Use completion-in-region.
10472 (crm-complete-word): Use completion-in-region--single-word.
10473 (crm-complete-and-exit): Use completion-complete-and-exit.
10474
10475 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
10476
10477 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
10478 than dynamically.
10479
10480 2013-09-06 Juri Linkov <juri@jurta.org>
10481
10482 * info.el (Info-display-images-node): When image file doesn't exist
10483 display text version of the image if it's provided in the Info file.
10484 Otherwise, display the location of missing image from SRC attribute.
10485 Add help-echo text property from ALT attribute. (Bug#15279)
10486
10487 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
10488
10489 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
10490 (edit-abbrevs-mode): Use define-derived-mode.
10491
10492 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
10493 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
10494 that it's defined.
10495 (epa-key-list-mode, epa-key-mode, epa-info-mode):
10496 Use define-derived-mode.
10497
10498 * epg.el (epg-start-encrypt): Minor CSE simplification.
10499
10500 2013-09-06 William Xu <william.xwl@gmail.com>
10501
10502 * arc-mode.el: Add support for 7za (bug#15264).
10503 (archive-7z-program): New var.
10504 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
10505 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
10506 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
10507
10508 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
10509
10510 Remove URL syntax.
10511
10512 * net/tramp.el (tramp-syntax, tramp-prefix-format)
10513 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
10514 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
10515 (tramp-postfix-host-format, tramp-file-name-regexp)
10516 (tramp-completion-file-name-regexp)
10517 (tramp-completion-dissect-file-name)
10518 (tramp-handle-substitute-in-file-name): Remove 'url case.
10519 (tramp-file-name-regexp-url)
10520 (tramp-completion-file-name-regexp-url): Remove constants.
10521
10522 2013-09-06 Glenn Morris <rgm@gnu.org>
10523
10524 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
10525
10526 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
10527
10528 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
10529 keywords" below "here-doc beginnings" (Bug#15270).
10530
10531 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10532
10533 * subr.el (pop): Use `car-safe'.
10534 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
10535 to detect unused `pop' return value.
10536
10537 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
10538 var `block-regexp'.
10539 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
10540 (python-fill-string): Remove unused var `marker'.
10541 (python-skeleton-add-menu-items): Remove unused var `items'.
10542
10543 * international/mule-cmds.el: Require CL.
10544 (find-coding-systems-for-charsets): Avoid add-to-list.
10545 (sanitize-coding-system-list): New function, extracted from
10546 select-safe-coding-system-interactively.
10547 (select-safe-coding-system-interactively): Use it.
10548 (read-input-method-name): Accept symbols for `default'.
10549
10550 * emacs-lisp/advice.el (defadvice): Add indent rule.
10551
10552 2013-09-05 Daniel Hackney <dan@haxney.org>
10553
10554 * dired-x.el:
10555 * net/ange-ftp.el:
10556 * net/browse-url.el:
10557 * net/dbus.el:
10558 * net/eudc.el:
10559 * net/eudcb-ldap.el:
10560 * net/eww.el:
10561 * net/imap.el:
10562 * printing.el:
10563 * vc/ediff-diff.el:
10564 * vc/ediff-init.el:
10565 * vc/ediff-merg.el:
10566 * vc/ediff-mult.el:
10567 * vc/ediff-util.el:
10568 * vc/ediff-wind.el:
10569 * vc/ediff.el:
10570 * vc/emerge.el:
10571 * vc/pcvs.el:
10572 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
10573 byte compiler. Remove some unused let-bound variables.
10574
10575 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
10576
10577 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
10578 a "ref-cell", since it gets better optimized (bug#14883).
10579
10580 2013-09-05 Glenn Morris <rgm@gnu.org>
10581
10582 * progmodes/cc-awk.el (c-forward-sws): Declare.
10583
10584 2013-09-04 Glenn Morris <rgm@gnu.org>
10585
10586 * generic-x.el [rul-generic-mode]: Require cc-mode.
10587 (c++-mode-syntax-table): Declare.
10588 (rul-generic-mode-syntax-table): Init in the defvar.
10589
10590 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
10591
10592 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
10593 (vc-do-command, vc-set-async-update):
10594 * vc/vc-mtn.el (vc-mtn-dir-status):
10595 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
10596 (vc-hg-pull, vc-hg-merge-branch):
10597 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
10598 (vc-git-merge-branch):
10599 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
10600 (vc-cvs-dir-status-files):
10601 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
10602 (vc-bzr-dir-status-files):
10603 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
10604 * vc/vc-annotate.el: Use lexical-binding.
10605 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
10606 (vc-sentinel-movepoint): Declare.
10607 (vc-annotate): Don't use `goto-line'.
10608 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
10609 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
10610 (vc-sentinel-movepoint): Declare.
10611 * vc/vc-svn.el: Use lexical-binding.
10612 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
10613 * vc/vc-sccs.el:
10614 * vc/vc-rcs.el: Use lexical-binding.
10615
10616 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
10617 `deleted'. Don't drop errors silently.
10618
10619 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
10620
10621 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
10622
10623 * vc/vc.el (vc-ignore): Rewrite.
10624 (vc-default-ignore): New function.
10625 (vc-default-ignore-completion-table): Use find-ignore-file.
10626
10627 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
10628 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
10629 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
10630 Remove. Most code moved to vc.el.
10631
10632 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
10633
10634 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
10635 * net/tramp-smb.el (tramp-smb-get-file-entries):
10636 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
10637 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
10638
10639 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
10640 Update call to it.
10641 (eww-change-select): Remove unused var `properties'.
10642 (eww-make-unique-file-name): Remove unused var `base'.
10643
10644 * finder.el (finder-compile-keywords): Don't mess with windows.
10645
10646 * calculator.el (calculator-funcall): Fix typo in last change.
10647
10648 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
10649
10650 * emacs-lisp/package.el (package-activate-1): Don't let a missing
10651 <pkg>-autoloads.el file stop us.
10652
10653 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
10654 warnings, and factor out common code.
10655
10656 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
10657
10658 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
10659 two-character operators and whether the character preceding them
10660 changes their meaning (Bug#15208).
10661
10662 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10663
10664 Format code sent to Python shell for robustness.
10665 * progmodes/python.el (python-shell-buffer-substring):
10666 New function.
10667 (python-shell-send-region, python-shell-send-buffer): Use it.
10668
10669 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
10670
10671 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
10672 * net/tramp.el (tramp-user-error): ... here.
10673 (tramp-find-method, tramp-check-proper-host)
10674 (tramp-dissect-file-name, tramp-debug-message)
10675 (tramp-handle-shell-command):
10676 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10677 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
10678
10679 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
10680
10681 2013-09-02 Martin Rudalics <rudalics@gmx.at>
10682
10683 * avoid.el (mouse-avoidance-point-position)
10684 (mouse-avoidance-too-close-p): Handle case where posn-at-point
10685 returns nil.
10686
10687 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10688
10689 * progmodes/python.el (python-shell-completion-get-completions):
10690 Drop use of deleted `comint-last-prompt-overlay'.
10691 (python-nav-if-name-main): New command.
10692
10693 2013-09-01 Glenn Morris <rgm@gnu.org>
10694
10695 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10696 Avoid leading space in $wins. Otherwise the sed command used by
10697 eg compile-main ends up containing "/*.el". (Bug#15170)
10698
10699 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
10700
10701 2013-08-30 Glenn Morris <rgm@gnu.org>
10702
10703 * emacs-lisp/bytecomp.el (byte-recompile-directory):
10704 Fix is-this-a-directory logic. (Bug#15220)
10705
10706 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10707
10708 * textmodes/css-mode.el: Use SMIE.
10709 (css-smie-grammar): New var.
10710 (css-smie--forward-token, css-smie--backward-token)
10711 (css-smie-rules): New functions.
10712 (css-mode): Use them.
10713 (css-navigation-syntax-table): Remove var.
10714 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
10715 (css-indent-calculate, css-indent-line): Remove functions.
10716
10717 Misc changes to reduce use of `(lambda...); and other cleanups.
10718 * cus-edit.el: Use lexical-binding.
10719 (customize-push-and-save, customize-apropos)
10720 (custom-buffer-create-internal): Use closures.
10721 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
10722 * progmodes/ada-xref.el: Use setq.
10723 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
10724 * dframe.el: Use lexical-binding.
10725 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
10726 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
10727 * descr-text.el: Use lexical-binding.
10728 (describe-text-widget, describe-text-sexp, describe-property-list):
10729 Use closures.
10730 * comint.el (comint-history-isearch-push-state): Use a closure.
10731 * calculator.el: Use lexical-binding.
10732 (calculator-number-to-string): Make it work with lexical-binding.
10733 (calculator-funcall): Same and use cl-letf.
10734
10735 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10736 (lisp--company-doc-string, lisp--company-location): New functions.
10737 (lisp-completion-at-point): Use them to improve Company support.
10738
10739 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10740 params of lambda expressions.
10741 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10742 (ruby-smie--opening-pipe-p): New function.
10743 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10744 symbols and matched |...| for formal params.
10745 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10746 from being treated as hanging. Handle "rescue".
10747
10748 2013-08-29 Glenn Morris <rgm@gnu.org>
10749
10750 * progmodes/cc-engine.el (c-pull-open-brace):
10751 Move definition before use.
10752
10753 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10754
10755 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10756 are immutable. Don't use `unsafe' any more.
10757 (cl--defsubst-expand): Don't substitute at the same time as keeping
10758 a residual unused let-binding. Don't use `unsafe' any more.
10759
10760 2013-08-29 Glenn Morris <rgm@gnu.org>
10761
10762 * calendar/cal-china.el (calendar-chinese-year-cache):
10763 Recenter on 2015.
10764
10765 * nxml/nxml-util.el (nxml-debug-clear-inside):
10766 Use cl-loop rather than loop.
10767
10768 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10769
10770 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10771
10772 2013-08-28 Glenn Morris <rgm@gnu.org>
10773
10774 * progmodes/antlr-mode.el: No need to require cc-mode twice.
10775
10776 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10777
10778 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10779
10780 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10781
10782 * simple.el (repeat-complex-command--called-interactively-skip):
10783 New function.
10784 (repeat-complex-command): Use it (bug#14136).
10785
10786 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10787 (c-define-abbrev-table): Add `doc' argument.
10788 (c-mode-abbrev-table, c++-mode-abbrev-table)
10789 (objc-mode-abbrev-table, java-mode-abbrev-table)
10790 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10791 (awk-mode-abbrev-table): Use it.
10792 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10793 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10794 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10795 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10796 Move initialization into the declaration; and remove any
10797 autoload cookie.
10798
10799 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10800 and dynamic let binding.
10801
10802 * vc/smerge-mode.el: Remove redundant :group args.
10803
10804 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10805 to load-path.
10806
10807 2013-08-28 Juri Linkov <juri@jurta.org>
10808
10809 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10810 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10811 (isearch-other-meta-char): Handle an undefined shifted printing
10812 character by downshifting it. (Bug#15200)
10813
10814 2013-08-28 Juri Linkov <juri@jurta.org>
10815
10816 * isearch.el (isearch-search): Change regexp error message for
10817 non-regexp searches. (Bug#15166)
10818
10819 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10820
10821 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10822 for portability to hosts where /bin/sh has problems.
10823
10824 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10825
10826 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10827
10828 2013-08-27 Juri Linkov <juri@jurta.org>
10829
10830 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10831 in the keyboard macro. (Bug#15126)
10832
10833 2013-08-27 Juri Linkov <juri@jurta.org>
10834
10835 * isearch.el (isearch-quote-char): Comment out converting unibyte
10836 to multibyte, thus syncing with its `quoted-insert' counterpart.
10837 (Bug#15166)
10838
10839 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10840
10841 * window.el (display-buffer-use-some-window): Add missing
10842 argument in call of get-largest-window (Bug#15185).
10843 Reported by Stephen Leake.
10844
10845 2013-08-27 Glenn Morris <rgm@gnu.org>
10846
10847 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10848
10849 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10850
10851 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10852 from a matcher-function unless there's no more matches (bug#15161).
10853
10854 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10855
10856 * minibuffer.el: Revert change from 2013-08-20.
10857
10858 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10859 with text property `tramp-default', if appropriate.
10860 (tramp-check-proper-host): New defun.
10861 (tramp-dissect-file-name): Do not check hostname. Revert change
10862 of 2013-03-18.
10863 (tramp-backtrace): Make VEC-OR-PROC optional.
10864
10865 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10866 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10867 * net/tramp-sh.el (tramp-maybe-open-connection):
10868 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10869 Apply `tramp-check-proper-host'.
10870
10871 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10872
10873 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10874 lambda expression in order to have `describe-variable' display it.
10875
10876 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10877
10878 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10879 BUF can be optional. (Bug#15186)
10880
10881 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10882
10883 * progmodes/flymake.el (flymake-get-real-file-name-function):
10884 Fix broken customization. (Bug#15184)
10885
10886 2013-08-25 Alan Mackenzie <acm@muc.de>
10887
10888 Improve indentation of bracelists defined by macros (without "=").
10889
10890 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10891 expansion begins with "{", regard it as bracelist when it doesn't
10892 contain a ";".
10893
10894 Parse C++ inher-intro when there's a template split over 2 lines.
10895
10896 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10897 rigorously the search for "class" etc. followed by ":".
10898
10899 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10900 random languages a regexp which never matches rather than nil.
10901
10902 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10903
10904 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10905 (c-awk-regexp-one-line-possibly-open-char-list-re)
10906 (c-awk-one-line-possibly-open-regexp-re)
10907 (c-awk-one-line-non-syn-ws*-re): Remove.
10908 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10909 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10910 (c-awk-space*-unclosed-regexp-/-re): New constants.
10911 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10912 aren't regexp delimiters.
10913
10914 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10915 handling for a rare situation in AWK Mode involving unterminated
10916 strings/regexps.
10917
10918 2013-08-23 Glenn Morris <rgm@gnu.org>
10919
10920 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10921
10922 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10923
10924 * files.el (create-file-buffer): If the result would begin with
10925 spaces, prepend a "|" instead of removing them. (Bug#15162)
10926
10927 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10928
10929 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10930 text-properties (bug#15155).
10931
10932 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10933 exist any more.
10934 (calc-keypad-redraw): Remove unused var `pad'.
10935 (calc-keypad-press): Remove unused var `menu'.
10936
10937 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10938
10939 * window.el (display-buffer-pop-up-frame):
10940 Call pop-up-frame-function with BUFFER current so `make-frame' will
10941 use it as the new frame's buffer (Bug#15133).
10942
10943 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10944
10945 * calendar/timeclock.el: Minor cleanups.
10946 (timeclock-ask-before-exiting, timeclock-use-display-time):
10947 Use `symbol'.
10948 (timeclock-modeline-display): Define as alias before the
10949 actual definition.
10950 (timeclock-mode-line-display): Use define-minor-mode.
10951 (timeclock-day-list-template): Make it a function, add an argument.
10952 (timeclock-day-list-required, timeclock-day-list-length)
10953 (timeclock-day-list-debt, timeclock-day-list-span)
10954 (timeclock-day-list-break): Adjust calls accordingly.
10955
10956 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10957
10958 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10959 Use read--expression so that completion works again.
10960
10961 2013-08-21 Sam Steingold <sds@gnu.org>
10962
10963 Add rudimentary inferior shell interaction
10964 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10965 (sh-set-shell): Reset it.
10966 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10967 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10968
10969 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10970
10971 * align.el: Use lexical-binding.
10972 (align-region): Simplify accordingly.
10973
10974 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10975
10976 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10977
10978 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10979 `non-essential' up.
10980
10981 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10982
10983 * net/tramp.el:
10984 * net/tramp-adb.el:
10985 * net/tramp-cmds.el:
10986 * net/tramp-ftp.el:
10987 * net/tramp-gvfs.el:
10988 * net/tramp-gw.el:
10989 * net/tramp-sh.el: Don't wrap external variable declarations by
10990 `eval-when-compile'.
10991
10992 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10993
10994 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10995 now that Emacs supports ImageMagick animations.
10996
10997 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10998
10999 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
11000 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
11001
11002 2013-08-16 Martin Rudalics <rudalics@gmx.at>
11003
11004 * window.el (mouse-autoselect-window-select): Do autoselect when
11005 mouse pointer is on margin.
11006
11007 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
11008
11009 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
11010
11011 2013-08-16 Glenn Morris <rgm@gnu.org>
11012
11013 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
11014 Handle "Remote Directory" response of some clients. (Bug#15058)
11015
11016 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
11017 Tweak warning. (Bug#14926)
11018
11019 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
11020 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
11021
11022 * image-mode.el (image-mode-map): Add menu items to reverse,
11023 increase, decrease, reset animation speed.
11024 (image--set-speed, image-increase-speed, image-decrease-speed)
11025 (image-reverse-speed, image-reset-speed): New functions.
11026 (image-mode-map): Add bindings for speed commands.
11027
11028 * image.el (image-animate-get-speed, image-animate-set-speed):
11029 New functions.
11030 (image-animate-timeout): Respect image :speed property.
11031
11032 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11033
11034 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
11035 previous line (bug#15101).
11036 (debugger-eval-expression, debugger-record-expression):
11037 Use read--expression (bug#15102).
11038
11039 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
11040
11041 Remove byte compiler warnings, visible when compiling with
11042 `byte-compile-force-lexical-warnings' set to t.
11043
11044 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
11045 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
11046 (tramp-handle-unhandled-file-name-directory)
11047 (tramp-handle-file-notify-add-watch, tramp-action-login)
11048 (tramp-action-succeed, tramp-action-permission-denied)
11049 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
11050 arguments with "_".
11051
11052 * net/tramp-adb.el (tramp-adb-parse-device-names)
11053 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
11054 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
11055 (tramp-adb-handle-file-truename): Remove unused arguments.
11056
11057 * net/tramp-cache.el (tramp-flush-directory-property)
11058 (tramp-flush-connection-property, tramp-list-connections)
11059 (tramp-parse-connection-properties): Prefix unused arguments with "_".
11060
11061 * net/tramp-compat.el (tramp-compat-make-temp-file):
11062 Rename FILENAME to F.
11063
11064 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
11065 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
11066 (tramp-zeroconf-parse-workstation-device-names)
11067 (tramp-zeroconf-parse-webdav-device-names)
11068 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
11069
11070 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
11071 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
11072
11073 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
11074 arguments.
11075 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
11076 (tramp-sh-handle-insert-file-contents-literally)
11077 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
11078 with "_".
11079 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
11080 Remove unused variables.
11081
11082 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
11083 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
11084 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
11085
11086 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
11087 Make them a defconst.
11088 (tramp-uuencode-region): Remove unused variable.
11089
11090 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
11091
11092 * frameset.el (frameset--prop-setter): New function.
11093 (frameset-prop): Add gv-setter declaration.
11094 (frameset-filter-minibuffer): Deal with the case that the minibuffer
11095 parameter was already set in FILTERED. Doc fix.
11096 (frameset--record-minibuffer-relationships): Allow saving a
11097 minibufferless frame without its corresponding minibuffer frame.
11098 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
11099 frame, if the frame id matches.
11100 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
11101 frames before orphaned ones.
11102 (frameset-restore): Warn about orphaned windows, instead of error out.
11103
11104 2013-08-14 Martin Rudalics <rudalics@gmx.at>
11105
11106 * window.el (window-make-atom): Don't overwrite parameter
11107 already present.
11108 (display-buffer-in-atom-window): Handle special case where we
11109 split an already atomic window.
11110 (window--major-non-side-window, display-buffer-in-side-window)
11111 (window--side-check): Ignore minibuffer window when walking
11112 window tree.
11113 (window-deletable-p): Return 'frame only if no other frame uses
11114 our minibuffer window.
11115 (record-window-buffer): Run buffer-list-update-hook.
11116 (split-window): Make sure window--check-frame won't destroy an
11117 existing atomic window in case the new window gets nested
11118 inside.
11119 (display-buffer-at-bottom): Ignore minibuffer window when
11120 walking window tree. Don't split a side window.
11121 (pop-to-buffer): Don't set-buffer here, the select-window call
11122 should do that.
11123 (mouse-autoselect-window-select): Autoselect only if we are in the
11124 text portion of the window.
11125
11126 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11127
11128 * net/shr.el (shr-parse-image-data): New function to grab both the
11129 data itself and the Content-Type.
11130 (shr-put-image): Use it.
11131
11132 * net/eww.el (eww-display-image): Ditto.
11133
11134 * image.el (image-content-type-suffixes): New variable.
11135
11136 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11137
11138 * progmodes/python.el (python-imenu--build-tree)
11139 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
11140
11141 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
11142
11143 * simple.el (backward-word): Mention the optional argument.
11144
11145 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
11146
11147 * frameset.el (frameset--make): Rename constructor from make-frameset.
11148 (frameset-p, frameset-valid-p): Don't autoload.
11149 (frameset-valid-p): Use normal accessors.
11150
11151 2013-08-13 Glenn Morris <rgm@gnu.org>
11152
11153 * progmodes/compile.el (compile-command): Tweak example in doc.
11154 * obsolete/scribe.el (scribe-mode):
11155 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
11156
11157 * mail/feedmail.el (feedmail-confirm-outgoing)
11158 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
11159
11160 * cus-start.el (truncate-partial-width-windows): Fix type.
11161
11162 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
11163
11164 * net/shr.el (shr-table-horizontal-line): Fix custom type.
11165
11166 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
11167
11168 * emacs-lisp/timer.el (timer--time-setter): New function.
11169 (timer--time): Use it as gv-setter.
11170
11171 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
11172 setter is not a symbol.
11173
11174 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
11175
11176 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
11177 if sending fails. This makes debugging easier.
11178
11179 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
11180
11181 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
11182 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
11183 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
11184
11185 2013-08-12 Eli Zaretskii <eliz@gnu.org>
11186
11187 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
11188
11189 2013-08-12 Glenn Morris <rgm@gnu.org>
11190
11191 * format.el (format-annotate-function):
11192 Handle read-only text properties in the source. (Bug#14887)
11193
11194 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
11195
11196 * net/eww.el (eww-display-html): Ignore coding system errors.
11197 One web site uses "utf-8lias" as the coding system.
11198
11199 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
11200
11201 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
11202
11203 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
11204
11205 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
11206 (tutorial--detailed-help): Remove unused local variables.
11207 (tutorial--save-tutorial-to): Use ignore-errors.
11208 (help-with-tutorial): Use looking-at-p.
11209
11210 * view.el (view-buffer-other-window, view-buffer-other-frame):
11211 Mark unused arguments.
11212
11213 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
11214 (woman-select-symbol-fonts, woman, woman-find-file)
11215 (woman-insert-file-contents, woman-non-underline-faces):
11216 Use string-match-p.
11217 (woman1-unquote): Move declaration.
11218
11219 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
11220 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
11221 argument. Remove unused local variable.
11222 (xml-parse-elem-type): Use string-match-p.
11223 (xml-substitute-numeric-entities): Use ignore-errors.
11224
11225 * calculator.el (calculator): Mark unused argument.
11226 (calculator-paste, calculator-quit, calculator-integer-p):
11227 Use ignore-errors.
11228 (calculator-string-to-number, calculator-decimal, calculator-exp)
11229 (calculator-op-or-exp): Use string-match-p.
11230
11231 * dired.el (dired-buffer-more-recently-used-p): Declare.
11232 (dired-insert-set-properties, dired-insert-old-subdirs):
11233 Use ignore-errors.
11234
11235 * dired-aux.el (dired-compress): Use ignore-errors.
11236 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
11237 (dired-do-async-shell-command, dired-do-shell-command)
11238 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
11239 (dired-insert-subdir-validate): Use string-match-p.
11240 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
11241 (dired-add-entry): Use string-match-p, looking-at-p.
11242 (dired-insert-subdir-newpos): Remove unused local variable.
11243
11244 * filenotify.el (file-notify-callback): Remove unused local variable.
11245
11246 * filesets.el (filesets-error): Mark unused argument.
11247 (filesets-which-command-p, filesets-filter-dir-names)
11248 (filesets-directory-files, filesets-get-external-viewer)
11249 (filesets-ingroup-get-data): Use string-match-p.
11250
11251 * find-file.el (ff-other-file-name, ff-other-file-name)
11252 (ff-find-the-other-file, ff-cc-hh-converter):
11253 Remove unused local variables.
11254 (ff-get-file-name): Use string-match-p.
11255 (ff-all-dirs-under): Use ignore-errors.
11256
11257 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
11258 (follow-select-if-visible): Remove unused local variable.
11259
11260 * forms.el (read-file-filter): Move declaration.
11261 (forms--make-format, forms--make-parser, forms-insert-record):
11262 Quote function with #'.
11263 (forms--update): Use string-match-p. Quote function with #'.
11264
11265 * help-mode.el (help-dir-local-var-def): Mark unused argument.
11266 (help-make-xrefs): Use looking-at-p.
11267 (help-xref-on-pp): Use looking-at-p, ignore-errors.
11268
11269 * ibuffer.el (ibuffer-ext-visible-p): Declare.
11270 (ibuffer-confirm-operation-on): Use string-match-p.
11271
11272 * msb.el (msb-item-handler, msb-dired-item-handler):
11273 Mark unused arguments.
11274
11275 * ses.el (ses-decode-cell-symbol)
11276 (ses-kill-override): Remove unused local variable.
11277 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
11278 (ses-load): Use ignore-errors, looking-at-p.
11279 (ses-jump-safe): Use ignore-errors.
11280 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
11281
11282 * tabify.el (untabify, tabify): Mark unused arguments.
11283
11284 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
11285 Mark unused argument.
11286 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
11287 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
11288
11289 * emacs-lisp/timer.el (timer--time): Define setter with
11290 gv-define-setter to avoid deprecation warning.
11291
11292 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
11293 (*record-cmpl-statistics-p*): Remove (was commented out).
11294 (cmpl-statistics-block): Remove (body was commented out).
11295 All callers changed.
11296 (add-completions-from-buffer, load-completions-from-file):
11297 Remove unused variables.
11298
11299 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
11300
11301 * filecache.el (file-cache-delete-file-list):
11302 Print message only when told so.
11303 (file-cache-files-matching): Use #' in mapconcat argument.
11304
11305 * ffap.el (ffap-url-at-point): Fix reference to variable
11306 thing-at-point-default-mail-uri-scheme.
11307
11308 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
11309
11310 * subr.el (define-error): New function.
11311 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
11312 error-file-not-found and define with define-error.
11313 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
11314 and define with define-error.
11315 * userlock.el (file-locked, file-supersession):
11316 * simple.el (mark-inactive):
11317 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
11318 * progmodes/ada-mode.el (ada-mode-errors):
11319 * play/life.el (life-extinct):
11320 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
11321 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
11322 * nxml/rng-util.el (rng-error):
11323 * nxml/rng-uri.el (rng-uri-error):
11324 * nxml/rng-match.el (rng-compile-error):
11325 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
11326 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
11327 * nxml/nxml-rap.el (nxml-scan-error):
11328 * nxml/nxml-outln.el (nxml-outline-error):
11329 * net/soap-client.el (soap-error):
11330 * net/gnutls.el (gnutls-error):
11331 * net/ange-ftp.el (ftp-error):
11332 * mpc.el (mpc-proc-error):
11333 * json.el (json-error, json-readtable-error, json-unknown-keyword)
11334 (json-number-format, json-string-escape, json-string-format)
11335 (json-key-format, json-object-format):
11336 * jka-compr.el (compression-error):
11337 * international/quail.el (quail-error):
11338 * international/kkc.el (kkc-error):
11339 * emacs-lisp/ert.el (ert-test-failed):
11340 * calc/calc.el (calc-error, inexact-result, math-overflow)
11341 (math-underflow):
11342 * bookmark.el (bookmark-error-no-filename):
11343 * epg.el (epg-error): Define with define-error.
11344
11345 * time.el (display-time-event-handler)
11346 (display-time-next-load-average): Don't call sit-for since it seems
11347 unnecessary (bug#15045).
11348
11349 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
11350 Use #' instead of ' to quote functions.
11351 (checkdoc-output-mode): Use setq-local.
11352 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
11353 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
11354 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
11355 (checkdoc-ispell, checkdoc-ispell-current-buffer)
11356 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
11357 (checkdoc-ispell-message-text, checkdoc-ispell-start)
11358 (checkdoc-ispell-continue, checkdoc-ispell-comments)
11359 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
11360
11361 * ido.el (ido-completion-help): Fix up compiler warning.
11362
11363 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
11364
11365 * frameset.el (frameset-p): Add autoload cookie.
11366 (frameset--jump-to-register): New function, based on code moved from
11367 register.el.
11368 (frameset-to-register): Move from register.el. Adapt to `registerv'.
11369
11370 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
11371 (frameset-restore, frameset-save, frameset-session-filter-alist):
11372 Remove declarations.
11373 (register-alist): Doc fix.
11374 (frameset-to-register): Move to frameset.el.
11375 (jump-to-register, describe-register-1): Remove frameset-specific code.
11376
11377 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
11378
11379 * allout-widgets.el (allout-widgets-pre-command-business)
11380 (allout-widgets-post-command-business)
11381 (allout-widgets-after-change-handler)
11382 (allout-decorate-item-and-context, allout-set-boundary-marker)
11383 (allout-body-modification-handler)
11384 (allout-graphics-modification-handler): Mark ignored arguments.
11385 (allout-widgets-post-command-business)
11386 (allout-widgets-exposure-change-processor)
11387 (allout-widgets-exposure-undo-processor)
11388 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
11389 (allout-parse-item-at-point, allout-decorate-item-guides)
11390 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
11391 * allout.el (epa-passphrase-callback-function): Declare.
11392 (allout-overlay-insert-in-front-handler)
11393 (allout-overlay-interior-modification-handler)
11394 (allout-isearch-end-handler, allout-chart-siblings)
11395 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
11396 (allout-yank-processing, allout-process-exposed)
11397 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
11398 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
11399 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
11400 (lisp-indent-defform): Mark ignored arguments.
11401 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
11402 (calculate-lisp-indent): Remove unused variables.
11403 * international/characters.el (indian-2-column, arabic-2-column)
11404 (tibetan): Mark ignored arguments.
11405 (use-cjk-char-width-table): Mark ignored arguments.
11406 Remove unused variables.
11407 * international/fontset.el (build-default-fontset-data)
11408 (x-compose-font-name, create-fontset-from-fontset-spec):
11409 Mark ignored arguments.
11410 (fontset-plain-name): Remove unused variables.
11411 * international/mule.el (charset-id, charset-bytes, generic-char-p)
11412 (keyboard-coding-system): Mark ignored arguments.
11413 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
11414 * help.el (resize-temp-buffer-window):
11415 * window.el (display-buffer-in-major-side-window)
11416 (display-buffer-in-side-window, display-buffer-in-previous-window):
11417 Remove unused variables.
11418 * isearch.el (isearch-forward-symbol):
11419 * version.el (emacs-bzr-version-bzr):
11420 * international/mule-cmds.el (current-language-environment):
11421 * term/common-win.el (x-handle-iconic, x-handle-geometry)
11422 (x-handle-display):
11423 * term/pc-win.el (x-list-fonts, x-display-planes)
11424 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
11425 (x-server-version, x-display-screens, x-display-mm-height)
11426 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
11427 (x-selection-owner-p, x-own-selection-internal)
11428 (x-disown-selection-internal, x-get-selection-internal)
11429 (msdos-initialize-window-system):
11430 * term/tty-colors.el (tty-color-alist, tty-color-clear):
11431 * term/x-win.el (x-handle-no-bitmap-icon):
11432 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
11433 (vc-default-find-file-hook, vc-default-extra-menu):
11434 Mark ignored arguments.
11435
11436 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
11437
11438 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
11439 break-condition in the context of the debugged code (bug#12685).
11440
11441 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
11442
11443 * comint.el:
11444 Do not use an overlay to highlight the last prompt. (Bug#14744)
11445 (comint-mode): Make comint-last-prompt buffer local.
11446 (comint-last-prompt): New variable.
11447 (comint-last-prompt-overlay): Remove. Superseded by
11448 comint-last-prompt.
11449 (comint-snapshot-last-prompt, comint-output-filter):
11450 Use comint-last-prompt.
11451
11452 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
11453
11454 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
11455 (frameset-save): Check validity of the resulting frameset.
11456
11457 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
11458
11459 * ido.el (ido-record-command): Add doc string.
11460
11461 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
11462
11463 * frameset.el (frameset): Do not disable creation of the default
11464 frameset-p predicate. Doc fix.
11465 (frameset-valid-p): New function, copied from the old predicate-p.
11466 Add additional checks.
11467 (frameset-restore): Check with frameset-valid-p.
11468 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
11469 (frameset-name, frameset-description, frameset-properties)
11470 (frameset-states): Add docstring.
11471 (frameset-session-filter-alist, frameset-persistent-filter-alist)
11472 (frameset-filter-alist): Doc fixes.
11473
11474 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
11475
11476 * frameset.el (frameset-p, frameset-prop): Doc fixes.
11477
11478 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
11479
11480 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
11481 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
11482 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
11483 (byte-compile-normal-call): Remove obsolescence check.
11484
11485 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
11486
11487 * frameset.el (frameset-restore): Doc fix.
11488
11489 * register.el (frameset-frame-id, frameset-frame-with-id)
11490 (frameset-p, frameset-restore, frameset-save): Declare.
11491 (register-alist): Document framesets.
11492 (frameset-session-filter-alist): Declare.
11493 (frameset-to-register): New function.
11494 (jump-to-register): Implement jumping to framesets. Doc fix.
11495 (describe-register-1): Describe framesets.
11496
11497 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
11498
11499 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
11500
11501 * desktop.el (desktop-save-frameset): Use new frameset-save args.
11502 Use lexical-binding.
11503
11504 * frameset.el (frameset): Use type vector, not list (incompatible
11505 change). Do not declare a new constructor, use the default one.
11506 Upgrade suggested properties `app', `name' and `desc' to slots `app',
11507 `name' and `description', respectively, and add read-only slot
11508 `timestamp'. Doc fixes.
11509 (frameset-copy, frameset-persistent-filter-alist)
11510 (frameset-filter-alist, frameset-switch-to-gui-p)
11511 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
11512 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
11513 (frameset-filter-iconified, frameset-keep-original-display-p):
11514 Doc fixes.
11515 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
11516 Rename from frameset-filter-(save|restore)-param. All callers changed.
11517 Doc fix.
11518 (frameset-p): Adapt to change to vector and be more thorough.
11519 Change arg name to OBJECT. Doc fix.
11520 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
11521 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
11522 All callers changed.
11523 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
11524 All callers changed.
11525 (frameset--record-minibuffer-relationships): Rename from
11526 frameset--process-minibuffer-frames. All callers changed.
11527 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
11528 Use new default constructor (again). Doc fix.
11529 (frameset--find-frame-if): Rename from `frameset--find-frame'.
11530 All callers changed.
11531 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
11532 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
11533 Doc fix.
11534 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
11535 PARAMETERS and WINDOW-STATE, respectively.
11536 (frameset-restore): Add new keyword argument PREDICATE.
11537 Reset frameset--target-display to nil. Doc fix.
11538
11539 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
11540
11541 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
11542 (bat-mode): Use it.
11543 (bat-mode-syntax-table): Mark \n as end-of-comment.
11544 (bat-font-lock-keywords): Remove comment rule.
11545
11546 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
11547 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
11548
11549 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
11550 (byte-compile-callargs-warn): Use `push'.
11551 (byte-compile-arglist-warn): Ignore higher-order "calls".
11552 (byte-compile-file-form-autoload): Use `pcase'.
11553 (byte-compile-function-form): If quoting a symbol, check that it exists.
11554
11555 2013-08-07 Eli Zaretskii <eliz@gnu.org>
11556
11557 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
11558 and add a few popular commands found in batch files.
11559 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
11560 (dos-mode): Doc fixes.
11561
11562 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
11563
11564 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
11565 (dos-mode): Use setq-local. Add space after "rem".
11566 (dos-mode-syntax-table): Don't use "w" for symbol chars.
11567 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
11568
11569 2013-08-07 Arni Magnusson <arnima@hafro.is>
11570
11571 * progmodes/dos.el: New file.
11572 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
11573 dos-mode.
11574
11575 2013-08-06 Glenn Morris <rgm@gnu.org>
11576
11577 * calendar/calendar.el: Add new faces, and day-header-array.
11578 (calendar-weekday-header, calendar-weekend-header)
11579 (calendar-month-header): New faces.
11580 (calendar-day-header-construct): New function.
11581 (calendar-day-header-width): Also :set calendar-day-header-array.
11582 (calendar-american-month-header, calendar-european-month-header)
11583 (calendar-iso-month-header): Use calendar- faces.
11584 (calendar-generate-month):
11585 Use calendar-day-header-array for day headers; apply faces to them.
11586 (calendar-mode): Check calendar-font-lock-keywords non-nil.
11587 (calendar-abbrev-construct): Add optional maxlen argument.
11588 (calendar-day-name-array): Doc fix.
11589 (calendar-day-name-array, calendar-abbrev-length)
11590 (calendar-day-abbrev-array):
11591 Also :set calendar-day-header-array, and maybe redraw.
11592 (calendar-day-header-array): New option. (Bug#15007)
11593 (calendar-font-lock-keywords): Set to nil and make obsolete.
11594 (calendar-day-name): Add option to use header array.
11595
11596 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
11597
11598 * net/shr.el (shr-render-td): Remove debugging.
11599 (shr-render-td): Make width computation consistent by defaulting
11600 all zero-width columns to 10 characters. This may not be optimal,
11601 but it's at least consistent.
11602 (shr-make-table-1): Redo last change to fix the real problem in
11603 colspan handling.
11604
11605 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
11606
11607 * files.el (cache-long-line-scans):
11608 Make obsolete alias to `cache-long-scans'.
11609
11610 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
11611
11612 * frameset.el (frameset, frameset-filter-alist)
11613 (frameset-filter-params, frameset-save, frameset--reuse-frame)
11614 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
11615 (frameset-compute-pos): Rename from frameset--compute-pos,
11616 and add docstring.
11617 (frameset-move-onscreen): Use frameset-compute-pos.
11618 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11619
11620 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
11621 Fix typos in docstrings.
11622
11623 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
11624
11625 * frame.el (get-other-frame): Tiny cleanup.
11626
11627 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
11628
11629 * vc/vc.el (vc-default-ignore-completion-table):
11630 Silence byte-compiler warning.
11631
11632 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
11633 slot, which can indeed be nil.
11634 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11635 Move entry for `left' from persistent to live filter alist.
11636 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
11637 Doc fixes.
11638 (frameset-filter-params): When restoring a frame, copy items added to
11639 `filtered', to avoid unwittingly modifying the original parameters.
11640 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
11641 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
11642
11643 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
11644 to use looking-at-p instead of looking-at. (Bug#15028)
11645
11646 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11647
11648 Revert introduction of isearch-filter-predicates (bug#14714).
11649 Rely on add-function instead.
11650 * isearch.el (isearch-filter-predicates): Rename it back to
11651 isearch-filter-predicate.
11652 (isearch-message-prefix): Use advice-function-mapc and advice
11653 properties to get the isearch-message-prefix.
11654 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
11655 instead of run-hook-with-args-until-failure.
11656 (isearch-filter-visible): Not obsolete any more.
11657 * loadup.el: Preload nadvice.
11658 * replace.el (perform-replace): Revert to funcall
11659 instead of run-hook-with-args-until-failure.
11660 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
11661 * dired-aux.el (dired-isearch-filenames-mode): Rename from
11662 dired-isearch-filenames-toggle; make it into a proper minor mode.
11663 Use add/remove-function.
11664 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
11665 Call the minor-mode rather than add/remove-hook.
11666 (dired-isearch-filter-filenames):
11667 Remove isearch-message-prefix property.
11668 * info.el (Info--search-loop): New function, extracted from Info-search.
11669 Funcall isearch-filter-predicate instead of
11670 run-hook-with-args-until-failure isearch-filter-predicates.
11671 (Info-search): Use it.
11672 (Info-mode): Use isearch-filter-predicate instead of
11673 isearch-filter-predicates.
11674
11675 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11676
11677 Do not call to `selected-window' where it is assumed by default.
11678 Affected functions are `window-minibuffer-p', `window-dedicated-p',
11679 `window-hscroll', `window-width', `window-height', `window-buffer',
11680 `window-frame', `window-start', `window-point', `next-window'
11681 and `window-display-table'.
11682 * abbrev.el (abbrev--default-expand):
11683 * bs.el (bs--show-with-configuration):
11684 * buff-menu.el (Buffer-menu-mouse-select):
11685 * calc/calc.el (calc):
11686 * calendar/calendar.el (calendar-generate-window):
11687 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
11688 (diary-make-entry):
11689 * comint.el (send-invisible, comint-dynamic-complete-filename)
11690 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
11691 * completion.el (complete):
11692 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
11693 * disp-table.el (describe-current-display-table):
11694 * doc-view.el (doc-view-insert-image):
11695 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
11696 * ehelp.el (with-electric-help):
11697 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11698 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
11699 * emacs-lisp/helper.el (Helper-help-scroller):
11700 * emulation/cua-base.el (cua--post-command-handler-1):
11701 * eshell/esh-mode.el (eshell-output-filter):
11702 * ffap.el (ffap-gnus-wrapper):
11703 * help-macro.el (make-help-screen):
11704 * hilit-chg.el (highlight-compare-buffers):
11705 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
11706 * hl-line.el (global-hl-line-highlight):
11707 * icomplete.el (icomplete-simple-completing-p):
11708 * isearch.el (isearch-done):
11709 * jit-lock.el (jit-lock-stealth-fontify):
11710 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
11711 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
11712 * mpc.el (mpc-tagbrowser, mpc):
11713 * net/rcirc.el (rcirc-any-buffer):
11714 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
11715 * play/landmark.el (landmark-max-width, landmark-max-height):
11716 * play/zone.el (zone):
11717 * progmodes/compile.el (compilation-goto-locus):
11718 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
11719 * progmodes/etags.el (find-tag-other-window):
11720 * progmodes/fortran.el (fortran-column-ruler):
11721 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11722 * progmodes/verilog-mode.el (verilog-point-text):
11723 * reposition.el (reposition-window):
11724 * rot13.el (toggle-rot13-mode):
11725 * server.el (server-switch-buffer):
11726 * shell.el (shell-dynamic-complete-command)
11727 (shell-dynamic-complete-environment-variable):
11728 * simple.el (insert-buffer, set-selective-display)
11729 (delete-completion-window):
11730 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11731 (speedbar-recenter):
11732 * startup.el (fancy-splash-head):
11733 * textmodes/ispell.el (ispell-command-loop):
11734 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11735 * tutorial.el (help-with-tutorial):
11736 * vc/add-log.el (add-change-log-entry):
11737 * vc/compare-w.el (compare-windows):
11738 * vc/ediff-help.el (ediff-indent-help-message):
11739 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11740 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11741 (ediff-setup-control-frame):
11742 * vc/emerge.el (emerge-position-region):
11743 * vc/pcvs-util.el (cvs-bury-buffer):
11744 * window.el (walk-windows, mouse-autoselect-window-select):
11745 * winner.el (winner-set-conf, winner-undo): Related users changed.
11746
11747 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11748
11749 * frameset.el (frameset--set-id): Doc fix.
11750 (frameset-frame-id, frameset-frame-id-equal-p)
11751 (frameset-locate-frame-id): New functions.
11752 (frameset--process-minibuffer-frames, frameset--reuse-frame)
11753 (frameset-restore): Use them.
11754
11755 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11756
11757 Do not call to `selected-frame' where it is assumed by default.
11758 Affected functions are `raise-frame', `redraw-frame',
11759 `frame-first-window', `frame-terminal' and `delete-frame'.
11760 * calendar/appt.el (appt-disp-window):
11761 * epg.el (epg-wait-for-completion):
11762 * follow.el (follow-delete-other-windows-and-split)
11763 (follow-avoid-tail-recenter):
11764 * international/mule.el (set-terminal-coding-system):
11765 * mail/rmail.el (rmail-mail-return):
11766 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11767 * progmodes/f90.el (f90-add-imenu-menu):
11768 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11769 * server.el (server-switch-buffer):
11770 * simple.el (delete-completion-window):
11771 * talk.el (talk):
11772 * term/xterm.el (terminal-init-xterm-modify-other-keys)
11773 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11774 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11775 * vc/ediff.el (ediff-documentation): Related users changed.
11776 * frame.el (selected-terminal): Remove the leftover.
11777
11778 2013-08-05 Glenn Morris <rgm@gnu.org>
11779
11780 * calendar/calendar.el (calendar-generate-month):
11781 Fix for calendar-column-width != 1 + calendar-day-digit-width.
11782 (calendar-generate-month, calendar-font-lock-keywords):
11783 Fix for calendar-day-header-width > length of any day name.
11784
11785 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11786
11787 * desktop.el (desktop-clear): Use new name of sort predicate.
11788
11789 * frameset.el (frameset): Add docstring. Move :version property to its
11790 own `version' slot.
11791 (frameset-copy): Rename from copy-frameset.
11792 (frameset-p): Check more thoroughly.
11793 (frameset-prop): Do not check for :version, which is no longer a prop.
11794 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11795 Use new :never value instead of t.
11796 (frameset-filter-alist): Expand and clarify docstring.
11797 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11798 (frameset-filter-minibuffer, frameset-filter-save-param)
11799 (frameset-filter-restore-param, frameset-filter-iconified):
11800 Add pointer to docstring of frameset-filter-alist.
11801 (frameset-filter-params): Rename filter values to be more meaningful:
11802 :never instead of t, and reverse the meanings of :save and :restore.
11803 (frameset--process-minibuffer-frames): Clarify error message.
11804 (frameset-save): Avoid unnecessary and confusing call to framep.
11805 Use new BOA constructor for framesets.
11806 (frameset--reuse-list): Doc fix.
11807 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11808 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11809 (frameset-minibufferless-first-p): Doc fix.
11810 Rename from frameset-sort-frames-for-deletion.
11811 (frameset-restore): Doc fixes. Use new function names.
11812 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11813
11814 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11815
11816 * desktop.el (desktop-restore-forces-onscreen)
11817 (desktop-restore-reuses-frames): Document :keyword constant values.
11818 (desktop-filter-parameters-alist): Remove, now identical to
11819 frameset-filter-alist.
11820 (desktop--filter-tty*): Remove, moved to frameset.el.
11821 (desktop-save-frameset, desktop-restore-frameset):
11822 Do not pass :filters argument.
11823
11824 * frameset.el (frameset-live-filter-alist)
11825 (frameset-persistent-filter-alist): New variables.
11826 (frameset-filter-alist): Use them. Add autoload cookie.
11827 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11828 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11829 `frameset--id' (it's supposed to be internal to frameset.el).
11830 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11831 (frameset--initial-params): New function.
11832 (frameset--get-frame): Use it. Doc fix.
11833 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11834 Accept :all, not 'all.
11835 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11836 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11837 with fbound symbols. Fix frame id matching, and remove matching ids if
11838 the frame being restored is deleted. Obey :delete.
11839
11840 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11841
11842 * subr.el (macrop): New function.
11843 (text-clone--maintaining): New var.
11844 (text-clone--maintain): Rename from text-clone-maintain. Use it
11845 instead of inhibit-modification-hooks.
11846
11847 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11848 a proxy, so as handle autoloads and redefinitions of the target.
11849 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11850
11851 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11852 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11853 (pcase--mutually-exclusive-p): New function.
11854 (pcase--split-consp): Use it.
11855 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11856 mutually exclusive with the current predicate.
11857
11858 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11859 (edebug-macrop): Remove. Use `macrop' instead.
11860 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11861 (ad-macro-p):
11862 * eshell/esh-cmd.el (eshell-macrop):
11863 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11864
11865 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11866
11867 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11868 (advice-mapc): New function, using it.
11869 (advice-function-member-p): New function.
11870 (advice--normalize): Store the cdr in advice--saved-rewrite since
11871 that's the part that will be changed.
11872 (advice--symbol-function): New function.
11873 (advice-remove): Handle removal before the function is defined.
11874 Adjust to new advice--saved-rewrite.
11875 (advice-member-p): Use advice-function-member-p and
11876 advice--symbol-function.
11877
11878 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11879
11880 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11881 (frameset-filter-minibuffer): Doc fix.
11882 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11883 (frameset--set-id, frameset--process-minibuffer-frames)
11884 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11885 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11886
11887 * desktop.el (desktop-clear): Only delete frames when called
11888 interactively and desktop-restore-frames is non-nil. Doc fix.
11889 (desktop-read): Set desktop-saved-frameset to nil.
11890
11891 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11892
11893 * vc/vc.el (vc-ignore): Rewrite.
11894 (vc-default-ignore-completion-table, vc--read-lines)
11895 (vc--add-line, vc--remove-regexp): New functions.
11896
11897 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11898 (vc-svn-ignore-completion-table): New function.
11899
11900 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11901 (vc-hg-ignore-completion-table)
11902 (vc-hg-find-ignore-file): New functions.
11903
11904 * vc/vc-git.el (vc-git-ignore): Rewrite.
11905 (vc-git-ignore-completion-table)
11906 (vc-git-find-ignore-file): New functions.
11907
11908 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11909
11910 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11911 (vc-bzr-ignore-completion-table)
11912 (vc-bzr-find-ignore-file): New functions.
11913
11914 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11915
11916 * frameset.el (frameset-prop): New function and setter.
11917 (frameset-save): Do not modify frame list passed by the caller.
11918
11919 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11920
11921 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11922
11923 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11924
11925 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11926 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11927
11928 * custom.el (custom-initialize-default, custom-initialize-set)
11929 (custom-initialize-reset, custom-initialize-changed): Affect the
11930 toplevel-default-value (bug#6275, bug#14586).
11931 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11932 for bug#6275.
11933
11934 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11935
11936 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11937 Add cl-def* expressions.
11938
11939 * frameset.el (frameset-filter-params): Fix order of arguments.
11940
11941 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11942
11943 Move code related to saving frames to frameset.el.
11944 * desktop.el: Require frameset.
11945 (desktop-restore-frames): Doc fix.
11946 (desktop-restore-reuses-frames): Rename from
11947 desktop-restoring-reuses-frames.
11948 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11949 (desktop-clear): Clear frames too.
11950 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11951 (desktop--filter-tty*, desktop-save, desktop-read):
11952 Use frameset functions.
11953 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11954 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11955 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11956 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11957 (desktop--process-minibuffer-frames, desktop-save-frames)
11958 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11959 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11960 (desktop--sort-states, desktop-restoring-frames-p)
11961 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11962 (desktop-restoring-frameset-p, desktop-restore-frameset)
11963 (desktop--check-dont-save, desktop-save-frameset): New functions.
11964 (desktop--app-id): New constant.
11965 (desktop-first-buffer, desktop-buffer-ok-count)
11966 (desktop-buffer-fail-count): Move before first use.
11967 * frameset.el: New file.
11968
11969 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11970
11971 * files.el: Use lexical-binding.
11972 (dir-locals-read-from-file): Remove unused `err' variable.
11973 (hack-dir-local-variables--warned-coding): New var.
11974 (hack-dir-local-variables): Use it to avoid repeated warnings.
11975 (make-backup-file-name--default-function): New function.
11976 (make-backup-file-name-function): Use it as default.
11977 (buffer-stale--default-function): New function.
11978 (buffer-stale-function): Use it as default.
11979 (revert-buffer-insert-file-contents--default-function): New function.
11980 (revert-buffer-insert-file-contents-function): Use it as default.
11981 (insert-directory): Avoid add-to-list.
11982
11983 * autorevert.el (auto-revert-handler): Simplify.
11984 Use buffer-stale--default-function.
11985
11986 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11987
11988 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11989
11990 * whitespace.el (whitespace-ensure-local-variables): New function.
11991 (whitespace-cleanup-region): Call it.
11992 (whitespace-turn-on): Call it.
11993
11994 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11995
11996 Complete file name handlers.
11997
11998 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11999 (tramp-handle-verify-visited-file-modtime)
12000 (tramp-handle-file-notify-rm-watch): New functions.
12001 (tramp-call-process): Do not bind `default-directory'.
12002
12003 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12004 Order alphabetically.
12005 <access-file, add-name-to-file, dired-call-process>:
12006 <dired-compress-file, file-acl, file-notify-rm-watch>:
12007 <file-ownership-preserved-p, file-selinux-context>:
12008 <make-directory-internal, make-symbolic-link, set-file-acl>:
12009 <set-file-selinux-context, set-visited-file-modtime>:
12010 <verify-visited-file-modtime>: Add handler.
12011 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
12012
12013 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
12014 <file-notify-add-watch, file-notify-rm-watch>:
12015 <set-file-times, set-visited-file-modtime>:
12016 <verify-visited-file-modtime>: Add handler.
12017 (with-tramp-gvfs-error-message)
12018 (tramp-gvfs-handle-set-visited-file-modtime)
12019 (tramp-gvfs-fuse-file-name): Remove.
12020 (tramp-gvfs-handle-file-notify-add-watch)
12021 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
12022 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
12023
12024 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
12025 Order alphabetically.
12026 <file-notify-rm-watch>: Use default Tramp handler.
12027 <executable-find>: Remove private handler.
12028 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
12029 `default-directory'.
12030 (tramp-sh-handle-executable-find)
12031 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
12032 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12033 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
12034 Do not use `format' in `tramp-message'.
12035
12036 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
12037 <file-notify-rm-watch, set-visited-file-modtime>:
12038 <verify-visited-file-modtime>: Add handler.
12039 (tramp-smb-call-winexe): Do not bind `default-directory'.
12040
12041 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
12042
12043 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
12044
12045 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
12046
12047 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
12048 use it.
12049 (log-view-diff-changeset): Same.
12050 (log-view-diff-common): Call backend command `previous-revision'
12051 to find out the previous revision, in both cases. Swap the
12052 variables `to' and `fr', so that `fr' usually refers to the
12053 earlier revision (Bug#14989).
12054
12055 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
12056
12057 * ibuf-ext.el (ibuffer-filter-by-filename):
12058 Make it work with dired buffers too.
12059
12060 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
12061
12062 * emacs-lisp/re-builder.el (reb-color-display-p):
12063 * files.el (save-buffers-kill-terminal):
12064 * net/browse-url.el (browse-url):
12065 * server.el (server-save-buffers-kill-terminal):
12066 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
12067 Prefer nil to selected-frame for the first arg of frame-parameter.
12068
12069 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
12070
12071 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
12072
12073 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
12074
12075 * minibuffer.el (completion--twq-all): Try and preserve each
12076 completion's case choice (bug#14907).
12077
12078 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12079
12080 * net/network-stream.el (open-network-stream): Mention the new
12081 :nogreeting parameter.
12082 (network-stream-open-starttls): Use the :nogreeting parameter
12083 (bug#14938).
12084
12085 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
12086
12087 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
12088 more natural than popping.
12089
12090 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
12091 (shr-urlify): Highlight under mouse.
12092
12093 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
12094
12095 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
12096
12097 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
12098
12099 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
12100 buffer for output.
12101
12102 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
12103 point-min==1. Fix search string. Fix parentheses missing.
12104
12105 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
12106 assume point-min==1. Fix search string. Fix parentheses missing.
12107
12108 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
12109
12110 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
12111 buffer for output.
12112
12113 2013-07-29 Eli Zaretskii <eliz@gnu.org>
12114
12115 * frame.el (frame-notice-user-settings): Avoid inflooping when the
12116 initial frame is minibuffer-less. (Bug#14841)
12117
12118 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
12119
12120 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
12121 option.
12122
12123 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
12124 (tramp-maybe-open-connection): Use it.
12125
12126 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
12127
12128 * desktop.el (desktop--make-frame): Include `minibuffer' in the
12129 minimal set of parameters passed when creating a frame, because
12130 the minibuffer status of a frame cannot be changed later.
12131
12132 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
12133
12134 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
12135 replace-regexp-in-string and inadvertent omissions in previous change.
12136 (todo-filter-items): Ensure only file names are comma-separated in
12137 name of filtered items buffer.
12138
12139 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
12140
12141 * desktop.el: Optionally force offscreen frames back onscreen.
12142 (desktop-restoring-reuses-frames): New option.
12143 (desktop--compute-pos, desktop--move-onscreen): New functions.
12144 (desktop--make-frame): Use desktop--move-onscreen.
12145
12146 2013-07-27 Alan Mackenzie <acm@muc.de>
12147
12148 Fontify a Java generic method as a function.
12149 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
12150 value to t.
12151
12152 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
12153
12154 * calendar/todo-mode.el: Add command to rename todo files.
12155 (todo-rename-file): New command.
12156 (todo-key-bindings-t): Add key binding for it. Change the
12157 bindings of todo-filter-regexp-items(-multifile) to use `x'
12158 instead of `r', since the latter is better suited to the new
12159 renaming command.
12160
12161 2013-07-27 Alan Mackenzie <acm@muc.de>
12162
12163 Make Java try-with-resources statement parse properly.
12164 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
12165 (c-block-stmt-1-2-key): New language constants/variables.
12166 * progmodes/cc-engine.el (c-beginning-of-statement-1)
12167 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
12168 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
12169 with c-block-stmt-1-2-key.
12170
12171 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
12172
12173 * desktop.el (desktop--make-frame): Apply most frame parameters after
12174 creating the frame to force (partially or totally) offscreen frames to
12175 be restored as such.
12176
12177 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
12178
12179 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
12180 (Bug#14948)
12181
12182 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
12183
12184 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
12185 `base' arg of backtrace-frame.
12186
12187 2013-07-26 Eli Zaretskii <eliz@gnu.org>
12188
12189 * simple.el (list-processes): Doc fix.
12190
12191 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
12192
12193 * desktop.el (desktop--select-frame):
12194 Try harder to reuse existing frames.
12195
12196 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
12197
12198 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
12199 (edebug-eval): Use backtrace-eval.
12200 (edebug--display, edebug--recursive-edit): Don't let-bind the
12201 edebug-outer-* vars that keep track of variables we locally let-bind.
12202 (edebug-outside-excursion): Don't restore outside values of locally
12203 let-bound vars.
12204 (edebug--display): Use user-error.
12205 (cl-lexical-debug, cl-debug-env): Remove.
12206
12207 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
12208
12209 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
12210 are restored to be sure that they are visible before deleting any
12211 remaining ones.
12212
12213 2013-07-26 Matthias Meulien <orontee@gmail.com>
12214
12215 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
12216 vc-print-root-log. (Bug#14948)
12217
12218 2013-07-26 Richard Stallman <rms@gnu.org>
12219
12220 Add aliases for encrypting mail.
12221 * epa.el (epa-mail-aliases): New option.
12222 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
12223 Bind inhibit-read-only so read-only text doesn't ruin everything.
12224 (epa-mail-default-recipients): New subroutine broken out.
12225 Handle epa-mail-aliases.
12226
12227 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
12228
12229 Add support for lexical variables to the debugger's `e' command.
12230 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
12231 vars, except for debugger-outer-match-data.
12232 (debugger-frame-number): Move check for "on a function call" from
12233 callers into it. Add `skip-base' argument.
12234 (debugger-frame, debugger-frame-clear): Simplify accordingly.
12235 (debugger-env-macro): Only reset the state stored in non-variables,
12236 i.e. current-buffer and match-data.
12237 (debugger-eval-expression): Rewrite using backtrace-eval.
12238 * subr.el (internal--called-interactively-p--get-frame): Remove.
12239 (called-interactively-p):
12240 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
12241 `base' arg of backtrace-frame instead.
12242
12243 2013-07-26 Glenn Morris <rgm@gnu.org>
12244
12245 * align.el (align-regexp): Doc fix. (Bug#14857)
12246 (align-region): Explicit error if subexpression missing/does not match.
12247
12248 * simple.el (global-visual-line-mode):
12249 Do not duplicate the mode lighter. (Bug#14858)
12250
12251 2013-07-25 Martin Rudalics <rudalics@gmx.at>
12252
12253 * window.el (display-buffer): In display-buffer bind
12254 split-window-keep-point to t, bug#14829.
12255
12256 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
12257
12258 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
12259 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
12260 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
12261 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
12262 Change accordingly.
12263 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
12264 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
12265
12266 2013-07-25 Glenn Morris <rgm@gnu.org>
12267
12268 * dired-x.el (dired-mark-extension): Convert comment to doc string.
12269
12270 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
12271
12272 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
12273 parameter to modify-frame-parameters if the value has not changed;
12274 this is a workaround for bug#14949.
12275 (desktop--make-frame): On cl-delete-if call, check parameter name,
12276 not full parameter.
12277
12278 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
12279
12280 * vc/vc.el (vc-ignore): New function.
12281
12282 * vc/vc-svn.el (vc-svn-ignore): New function.
12283
12284 * vc/vc-hg.el (vc-hg-ignore): New function.
12285
12286 * vc/vc-git.el (vc-git-ignore): New function.
12287
12288 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
12289 (vc-dir-ignore): New function.
12290
12291 * vc/vc-cvs.el (vc-cvs-ignore): New function.
12292 (cvs-append-to-ignore): Move here from pcvs.el.
12293
12294 * vc/vc-bzr.el (vc-bzr-ignore): New function.
12295
12296 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
12297
12298 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
12299
12300 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
12301 (desktop-restore-frames): Warn when deleting an existing frame failed.
12302
12303 2013-07-24 Glenn Morris <rgm@gnu.org>
12304
12305 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
12306
12307 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
12308
12309 * filenotify.el (file-notify-supported-p):
12310 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
12311 Remove functions.
12312
12313 * autorevert.el (auto-revert-use-notify)
12314 (auto-revert-notify-add-watch):
12315 * net/tramp.el (tramp-file-name-for-operation):
12316 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12317 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12318 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
12319 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
12320 Remove `file-notify-supported-p' entry.
12321
12322 2013-07-24 Glenn Morris <rgm@gnu.org>
12323
12324 * printing.el: Replace all uses of deleted ps-windows-system,
12325 ps-lp-system, ps-flatten-list with lpr- versions.
12326
12327 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
12328
12329 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
12330 checked with memq (bug#14935).
12331
12332 * files.el (revert-buffer-function): Use a non-nil default.
12333 (revert-buffer-preserve-modes): Declare var to
12334 provide access to the `preserve-modes' argument.
12335 (revert-buffer): Let-bind it.
12336 (revert-buffer--default): New function, extracted from revert-buffer.
12337
12338 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
12339
12340 * lpr.el: Signal print errors more prominently.
12341 (print-region-function): Don't default to nil.
12342 (lpr-print-region): New function, extracted from print-region-1.
12343 Check lpr's return value and signal an error in case of problem.
12344 (print-region-1): Use it.
12345 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
12346 versions instead.
12347 (ps-printer-name): Default to nil.
12348 (ps-printer-name-option): Default to lpr-printer-switch.
12349 (ps-print-region-function): Don't default to nil.
12350 (ps-postscript-code-directory): Simplify default.
12351 (ps-do-despool): Use lpr-print-region to properly check the outcome.
12352 (ps-string-list, ps-eval-switch, ps-flatten-list)
12353 (ps-flatten-list-1): Remove.
12354 (ps-multibyte-buffer): Avoid setq.
12355 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
12356 (print-region-function, ps-print-region-function): Don't set them here.
12357
12358 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
12359
12360 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
12361 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
12362 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
12363 (ido-decorations): Doc fix.
12364
12365 * ansi-color.el: Fix old URL.
12366
12367 2013-07-23 Michael R. Mauger <michael@mauger.com>
12368
12369 * progmodes/sql.el: Version 3.3
12370 (sql-product-alist): Improve oracle :prompt-cont-regexp.
12371 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
12372 (sql-interactive-remove-continuation-prompt): Rewrite, use
12373 functions above. Fix continuation prompt and complete output line
12374 handling.
12375 (sql-redirect-one, sql-execute): Use `read-only-mode' on
12376 redirected output buffer.
12377 (sql-mode): Restore deleted code (Bug#13591).
12378
12379 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
12380
12381 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
12382
12383 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
12384
12385 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
12386
12387 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12388 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12389 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
12390
12391 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
12392
12393 * desktop.el (desktop-clear): Simplify; remove useless checks
12394 against invalid buffer names.
12395 (desktop-list*): Use cl-list*.
12396 (desktop-buffer-info, desktop-create-buffer): Simplify.
12397
12398 2013-07-23 Leo Liu <sdl.web@gmail.com>
12399
12400 * bookmark.el (bookmark-make-record): Restore NAME as a default
12401 value. (Bug#14933)
12402
12403 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
12404
12405 * emacs-lisp/autoload.el (autoload--setup-output): New function,
12406 extracted from autoload--insert-text.
12407 (autoload--insert-text): Remove.
12408 (autoload--print-cookie-text): New function, extracted from
12409 autoload--insert-cookie-text.
12410 (autoload--insert-cookie-text): Remove.
12411 (autoload-generate-file-autoloads): Adjust calls accordingly.
12412
12413 * winner.el (winner-hook-installed-p): Remove.
12414 (winner-mode): Simplify accordingly.
12415
12416 * subr.el (add-to-list): Fix compiler-macro when `append' is
12417 not constant. Don't use `cl-member' for the base case.
12418
12419 * progmodes/subword.el: Fix boundary case (bug#13758).
12420 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
12421 own group.
12422 (subword-backward-regexp): Make it a constant.
12423 (subword-forward-internal): Don't treat a trailing capital as the
12424 beginning of a word.
12425
12426 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
12427
12428 * emacs-lisp/package.el (package-menu-mode): Don't modify the
12429 global value of tabulated-list-revert-hook (bug#14930).
12430
12431 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
12432
12433 * desktop.el: Require 'cl-lib.
12434 (desktop-before-saving-frames-functions): New hook.
12435 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
12436 for frames being saved. Rename from desktop--save-minibuffer-frames.
12437 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
12438 Do not save frames with non-nil `desktop-dont-save' parameter.
12439 Filter out deleted frames.
12440 (desktop--find-frame): Use cl-find-if.
12441 (desktop--select-frame): Use cl-(first|second|third) to access values
12442 of desktop-mini.
12443 (desktop--make-frame): Use cl-delete-if.
12444 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
12445 (desktop-restore-frames): Use cl-(first|second|third) to access values
12446 of desktop-mini. Look for visible frame at the end, not while
12447 restoring frames.
12448
12449 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
12450 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
12451 Use string-match-p, looking-at-p (bug#14927).
12452
12453 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
12454
12455 * desktop.el (desktop-saved-frame-states):
12456 Rename from desktop--saved-states; all users changed.
12457 (desktop-save-frames): Rename from desktop--save-frames.
12458 Do not save state to desktop file.
12459 (desktop-save): Save desktop-saved-frame-states to desktop file
12460 and reset to nil.
12461 (desktop-restoring-frames-p): New function.
12462 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
12463 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
12464 buffer-lists when restoring frames. Suggested by Martin Rudalics.
12465
12466 * desktop.el: Correctly restore iconified frames.
12467 (desktop--filter-iconified-position): New function.
12468 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
12469
12470 2013-07-20 Glenn Morris <rgm@gnu.org>
12471
12472 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
12473 Let `message' do the formatting.
12474 (def-gdb-preempt-display-buffer): Add explicit format.
12475
12476 * image-dired.el (image-dired-track-original-file):
12477 Use with-current-buffer.
12478 (image-dired-track-thumbnail): Use with-current-buffer.
12479 Avoid changing point of wrong window.
12480
12481 * image-dired.el (image-dired-track-original-file):
12482 Avoid changing point of wrong window. (Bug#14909)
12483
12484 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
12485
12486 * progmodes/gdb-mi.el (gdb-done-or-error):
12487 Guard against "%" in gdb output. (Bug#14127)
12488
12489 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
12490
12491 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
12492 (Bug#14826)
12493
12494 * international/mule.el (coding-system-iso-2022-flags): Fix last
12495 change.
12496
12497 2013-07-20 Kenichi Handa <handa@gnu.org>
12498
12499 * international/mule.el (coding-system-iso-2022-flags):
12500 Add `8-bit-level-4'. (Bug#8522)
12501
12502 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
12503
12504 * net/shr.el (shr-mouse-browse-url): New command and keystroke
12505 (bug#14815).
12506
12507 * net/eww.el (eww-process-text-input): Allow inputting when the
12508 point is at the start of the line, as the properties aren't
12509 front-sticky.
12510
12511 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
12512 degenerate widths.
12513
12514 2013-07-19 Richard Stallman <rms@gnu.org>
12515
12516 * epa.el (epa-popup-info-window): Doc fix.
12517
12518 * subr.el (split-string): New arg TRIM.
12519
12520 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
12521
12522 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
12523 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
12524
12525 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
12526
12527 * filenotify.el (file-notify--library): Rename from
12528 `file-notify-support'. Do not autoload. Adapt all uses.
12529 (file-notify-supported-p): New defun.
12530
12531 * autorevert.el (auto-revert-use-notify):
12532 Use `file-notify-supported-p' instead of `file-notify-support'.
12533 Adapt docstring.
12534 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
12535
12536 * net/tramp.el (tramp-file-name-for-operation):
12537 Add `file-notify-supported-p'.
12538
12539 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
12540 New defun.
12541 (tramp-sh-file-name-handler-alist): Add it as handler for
12542 `file-notify-supported-p '.
12543
12544 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
12545 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12546 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
12547 Add `ignore' as handler for `file-notify-*' functions.
12548
12549 2013-07-17 Eli Zaretskii <eliz@gnu.org>
12550
12551 * simple.el (line-move-partial, line-move): Don't start vscroll or
12552 scroll-up if the current line is not taller than the window.
12553 (Bug#14881)
12554
12555 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
12556
12557 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
12558 highlight question marks in the method names as strings.
12559 (ruby-block-beg-keywords): Inline.
12560 (ruby-font-lock-keyword-beg-re): Extract from
12561 `ruby-font-lock-keywords'.
12562
12563 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
12564
12565 * frame.el (blink-cursor-blinks): New defcustom.
12566 (blink-cursor-blinks-done): New defvar.
12567 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
12568 (blink-cursor-timer-function): Check if number of blinks has been
12569 done on X and NS.
12570 (blink-cursor-suspend, blink-cursor-check): New defuns.
12571
12572 2013-07-15 Glenn Morris <rgm@gnu.org>
12573
12574 * edmacro.el (edmacro-format-keys): Fix previous change.
12575
12576 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
12577
12578 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
12579 The hack didn't work outside English locales anyway.
12580
12581 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
12582
12583 * simple.el (define-alternatives): Rename from alternatives-define,
12584 per RMS' suggestion.
12585
12586 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
12587
12588 * desktop.el (desktop-restore-frames): Change default to t.
12589 (desktop-restore-in-current-display): Now offer more options.
12590 (desktop-restoring-reuses-frames): New customization option.
12591 (desktop--saved-states): Doc fix.
12592 (desktop-filter-parameters-alist): New variable, renamed and expanded
12593 from desktop--excluded-frame-parameters.
12594 (desktop--target-display): New variable.
12595 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
12596 (desktop--filter-tty*, desktop--filter-*-color)
12597 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
12598 (desktop--filter-save-desktop-parm)
12599 (desktop-restore-in-original-display-p): New functions.
12600 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
12601 (desktop--save-minibuffer-frames): New function, inspired by a similar
12602 function from Martin Rudalics.
12603 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
12604 (desktop--restore-in-this-display-p): Remove.
12605 (desktop--find-frame): Rename from desktop--find-frame-in-display
12606 and add predicate argument.
12607 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
12608 (desktop--reuse-list): New variable.
12609 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
12610 New functions.
12611 (desktop--restore-frames): Add support for "minibuffer-special" frames.
12612
12613 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
12614
12615 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
12616
12617 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
12618
12619 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12620 Highlight conversion methods on Kernel.
12621
12622 2013-07-13 Alan Mackenzie <acm@muc.de>
12623
12624 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
12625 and comment it out. This out-commenting enables certain C++
12626 declarations to be parsed correctly.
12627
12628 2013-07-13 Eli Zaretskii <eliz@gnu.org>
12629
12630 * international/mule.el (define-coding-system): Doc fix.
12631
12632 * simple.el (default-font-height): Don't call font-info if the
12633 frame's default font didn't change since the frame was created.
12634 (Bug#14838)
12635
12636 2013-07-13 Leo Liu <sdl.web@gmail.com>
12637
12638 * ido.el (ido-read-file-name): Guard against non-symbol value.
12639
12640 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
12641
12642 * progmodes/python.el (python-imenu--build-tree): Fix corner case
12643 in nested defuns.
12644
12645 2013-07-13 Leo Liu <sdl.web@gmail.com>
12646
12647 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
12648 ido-set-matches call. (Bug#6852)
12649
12650 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
12651
12652 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
12653 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
12654 Ruby 2.0.
12655 (ruby-font-lock-keywords): Distinguish calls to functions with
12656 module-like names from module references. Highlight character
12657 literals.
12658
12659 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
12660
12661 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
12662 (gdb-send): Handle continued commands. (Bug#14847)
12663
12664 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12665
12666 * desktop.el (desktop--v2s): Remove unused local variable.
12667 (desktop-save-buffer): Make defvar-local; adjust docstring.
12668 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
12669 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
12670
12671 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
12672
12673 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
12674
12675 2013-07-12 Eli Zaretskii <eliz@gnu.org>
12676
12677 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
12678 (Bug#14842)
12679
12680 2013-07-12 Glenn Morris <rgm@gnu.org>
12681
12682 * doc-view.el: Require cl-lib at runtime too.
12683 (doc-view-remove-if): Remove.
12684 (doc-view-search-next-match, doc-view-search-previous-match):
12685 Use cl-remove-if.
12686
12687 * edmacro.el: Require cl-lib at runtime too.
12688 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
12689 (edmacro-mismatch, edmacro-subseq): Remove.
12690
12691 * shadowfile.el: Require cl-lib.
12692 (shadow-remove-if): Remove.
12693 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
12694 Use cl-remove-if.
12695
12696 * wid-edit.el: Require cl-lib.
12697 (widget-choose): Use cl-remove-if.
12698 (widget-remove-if): Remove.
12699
12700 * progmodes/ebrowse.el: Require cl-lib at runtime too.
12701 (ebrowse-delete-if-not): Remove.
12702 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
12703 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
12704 Use cl-delete-if-not.
12705
12706 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12707
12708 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
12709 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
12710
12711 2013-07-12 Leo Liu <sdl.web@gmail.com>
12712
12713 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
12714
12715 2013-07-11 Glenn Morris <rgm@gnu.org>
12716
12717 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
12718 (edebug-gensym-index, edebug-gensym):
12719 Remove reimplementation of cl-gensym.
12720 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
12721
12722 * thumbs.el: Require cl-lib at run-time too.
12723 (thumbs-gensym-counter, thumbs-gensym):
12724 Remove reimplementation of cl-gensym.
12725 (thumbs-temp-file): Use cl-gensym.
12726
12727 * emacs-lisp/ert.el: Require cl-lib at runtime too.
12728 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12729 (ert--intersection, ert--set-difference, ert--set-difference-eq)
12730 (ert--union, ert--gensym-counter, ert--gensym-counter)
12731 (ert--coerce-to-vector, ert--remove*, ert--string-position)
12732 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12733 (ert-make-test-unbound, ert--expand-should-1)
12734 (ert--expand-should, ert--should-error-handle-error)
12735 (should-error, ert--explain-equal-rec)
12736 (ert--plist-difference-explanation, ert-select-tests)
12737 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12738 Use cl-lib functions rather than reimplementations.
12739
12740 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
12741
12742 * net/tramp.el (tramp-methods): Extend docstring.
12743 (tramp-connection-timeout): New defcustom.
12744 (tramp-error-with-buffer): Reset timestamp only when appropriate.
12745 (with-tramp-progress-reporter): Simplify.
12746 (tramp-process-actions): Improve messages.
12747
12748 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12749 * net/tramp-sh.el (tramp-maybe-open-connection):
12750 Use `tramp-connection-timeout'.
12751 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12752 (Bug#14808)
12753
12754 2013-07-11 Leo Liu <sdl.web@gmail.com>
12755
12756 * ido.el (ido-read-file-name): Conform to the requirements of
12757 read-file-name. (Bug#11861)
12758 (ido-read-directory-name): Conform to the requirements of
12759 read-directory-name.
12760
12761 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
12762
12763 * subr.el (delay-warning): New function.
12764
12765 2013-07-10 Eli Zaretskii <eliz@gnu.org>
12766
12767 * simple.el (default-line-height): New function.
12768 (line-move-partial, line-move): Use it instead of computing the
12769 line height inline.
12770 (line-move-partial): Always compute ROWH. If the last line is
12771 partially-visible, but its text is completely visible, allow
12772 cursor to enter such a partially-visible line.
12773
12774 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12775
12776 Improve error messages. (Bug#14808)
12777
12778 * net/tramp.el (tramp-current-connection): New defvar, moved from
12779 tramp-sh.el.
12780 (tramp-message-show-progress-reporter-message): Remove, not
12781 needed anymore.
12782 (tramp-error-with-buffer): Show message in minibuffer.
12783 Discard input before waiting. Reset connection timestamp.
12784 (with-tramp-progress-reporter): Improve messages.
12785 (tramp-process-actions): Use progress reporter. Delete process in
12786 case of error. Improve messages.
12787
12788 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12789 Call `tramp-error-with-buffer' with vector and buffer.
12790 (tramp-current-connection): Remove.
12791 (tramp-maybe-open-connection): The car of
12792 `tramp-current-connection' are the first 3 slots of the vector.
12793
12794 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12795
12796 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12797 inside continued strings.
12798
12799 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12800
12801 Timestamp fixes for undo (Bug#14824).
12802 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12803
12804 2013-07-10 Leo Liu <sdl.web@gmail.com>
12805
12806 * files.el (require-final-newline): Allow safe local value.
12807 (Bug#14834)
12808
12809 2013-07-09 Leo Liu <sdl.web@gmail.com>
12810
12811 * ido.el (ido-read-directory-name): Handle fallback.
12812 (ido-read-file-name): Update DIR to ido-current-directory.
12813 (Bug#1516)
12814 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12815
12816 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12817
12818 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12819 "autoload". Remove "warn lower camel case" section, previously
12820 commented out. Highlight negation char. Do not highlight the
12821 target in singleton method definitions.
12822
12823 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12824
12825 * faces.el (tty-setup-hook): Declare the hook.
12826
12827 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12828 and detect when a guard/pred depends on local vars (bug#14773).
12829 (pcase--u1): Adjust caller.
12830
12831 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12832
12833 * simple.el (line-move-partial, line-move): Account for
12834 line-spacing.
12835 (line-move-partial): Avoid setting vscroll when the last
12836 partially-visible line in window is of default height.
12837
12838 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12839
12840 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12841 been used a while.
12842
12843 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12844
12845 * subr.el (read-quoted-char): Remove unused local variable `char'.
12846
12847 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12848
12849 * vc/ediff.el (ediff-version): Version update.
12850 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12851 (ediff-merge-with-ancestor-command, ediff-directories-command)
12852 (ediff-directories3-command, ediff-merge-directories-command)
12853 (ediff-merge-directories-with-ancestor-command): New functions.
12854 All are command-line interfaces to ediff: to facilitate calling
12855 Emacs with the appropriate ediff functions invoked.
12856
12857 * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
12858 New function.
12859 (viper-save-kill-buffer): Check if buffer is modified.
12860
12861 * emulation/viper.el (viper-version): Version update.
12862 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12863
12864 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12865
12866 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12867 * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
12868 (viper-intercept-ESC-key): Simplify.
12869 * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
12870 don't use kbd.
12871 * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
12872 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12873 (viper-setup-ESC-to-escape): New functions.
12874 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12875 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12876
12877 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12878
12879 * simple.el (default-font-height, window-screen-lines):
12880 New functions.
12881 (line-move, line-move-partial): Use them instead of
12882 frame-char-height and window-text-height. This makes scrolling
12883 text smoother when the buffer's default face uses a font that is
12884 different from the frame's default font.
12885
12886 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12887
12888 * files.el (write-file): Do not display confirm dialog for NS,
12889 it does its own dialog, which can't be canceled (Bug#14578).
12890
12891 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12892
12893 * simple.el (line-move-partial): Adjust the row returned by
12894 posn-at-point for the current window-vscroll. (Bug#14567)
12895
12896 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12897
12898 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12899 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12900 spaces.
12901
12902 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12903
12904 * window.el (window-state-put-stale-windows): New variable.
12905 (window--state-put-2): Save list of windows without matching buffer.
12906 (window-state-put): Remove "bufferless" windows if possible.
12907
12908 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12909
12910 * simple.el (alternatives-define): Remove leftover :group keyword.
12911 Tweak docstring.
12912
12913 2013-07-06 Leo Liu <sdl.web@gmail.com>
12914
12915 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12916 (ido-enable-virtual-buffers): New variable.
12917 (ido-buffer-internal, ido-toggle-virtual-buffers)
12918 (ido-make-buffer-list): Use it.
12919 (ido-exhibit): Support turning on and off virtual buffers
12920 automatically.
12921
12922 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12923
12924 * simple.el (alternatives-define): New macro.
12925
12926 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12927
12928 * subr.el (read-quoted-char): Use read-key.
12929 (sit-for): Let read-event decode tty input (bug#14782).
12930
12931 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12932
12933 * calendar/todo-mode.el: Add handling of file deletion, both by
12934 mode command and externally. Fix various related bugs.
12935 Clarify Commentary and improve some documentation strings and code.
12936 (todo-delete-file): New command.
12937 (todo-check-file): New function.
12938 (todo-show): Handle external deletion of the file we're trying to
12939 show (bug#14688). Replace called-interactively-p by an optional
12940 prefix argument to avoid problematic interaction with catch form
12941 when byte compiled (bug#14702).
12942 (todo-quit): Handle external deletion of the archive's todo file.
12943 Make sure the buffer that was visiting the archive file is still
12944 live before trying to bury it.
12945 (todo-category-completions): Handle external deletion of any
12946 category completion files.
12947 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12948 of todo files, in case of external deletion.
12949 (todo-add-file): Replace unnecessary setq by let-binding.
12950 (todo-find-archive): Check whether there are any archives.
12951 Replace unnecessary setq by let-binding.
12952 (todo-archive-done-item): Use find-file-noselect to get the
12953 archive buffer whether or not the archive already exists.
12954 Remove superfluous code. Use file size instead of buffer-file-name to
12955 check if the archive is new; if it is, update list of archives.
12956 (todo-default-todo-file): Allow nil to be a valid value for when
12957 there are no todo files.
12958 (todo-reevaluate-default-file-defcustom): Use corrected definition
12959 of todo-default-todo-file.
12960 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12961 (todo-delete-category, todo-show-categories-table)
12962 (todo-category-number): Clarify comment.
12963 (todo-filter-items): Clarify documentation string.
12964 (todo-show-current-file, todo-display-as-todo-file)
12965 (todo-reset-and-enable-done-separator): Tweak documentation string.
12966 (todo-done-separator): Make separator length window-width, since
12967 bug#2749 is now fixed.
12968
12969 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12970
12971 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12972 Support both "gvfs-monitor-dir" and "inotifywait".
12973 (tramp-sh-file-inotifywait-process-filter): Rename from
12974 `tramp-sh-file-notify-process-filter'.
12975 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12976 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12977
12978 2013-07-05 Leo Liu <sdl.web@gmail.com>
12979
12980 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12981
12982 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12983
12984 * frame.el (display-pixel-height, display-pixel-width)
12985 (display-mm-height, display-mm-width): Mention behavior on
12986 multi-monitor setups in docstrings.
12987 (w32-display-monitor-attributes-list): Declare function.
12988 (display-monitor-attributes-list): Use it.
12989
12990 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12991
12992 * filenotify.el: New package.
12993
12994 * autorevert.el (top): Require filenotify.el.
12995 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12996 instead.
12997 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12998 (auto-revert-notify-handler): Use `file-notify-*' functions.
12999
13000 * subr.el (file-notify-handle-event): Move function to filenotify.el.
13001
13002 * net/tramp.el (tramp-file-name-for-operation):
13003 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
13004
13005 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
13006 for `file-notify-add-watch' and `file-notify-rm-watch'.
13007 (tramp-process-sentinel): Improve trace.
13008 (tramp-sh-handle-file-notify-add-watch)
13009 (tramp-sh-file-notify-process-filter)
13010 (tramp-sh-handle-file-notify-rm-watch)
13011 (tramp-get-remote-inotifywait): New defuns.
13012
13013 2013-07-03 Juri Linkov <juri@jurta.org>
13014
13015 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
13016 call of `occur-read-primary-args' to interactive spec.
13017
13018 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
13019 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
13020
13021 2013-07-03 Matthias Meulien <orontee@gmail.com>
13022
13023 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
13024 `Buffer-menu-multi-occur'. Add it to the menu.
13025 (Buffer-menu-mode): Document it in docstring.
13026 (Buffer-menu-multi-occur): New command. (Bug#14673)
13027
13028 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
13029
13030 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
13031 keywords and built-ins.
13032
13033 2013-07-03 Glenn Morris <rgm@gnu.org>
13034
13035 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
13036
13037 Make info-xref checks case-sensitive by default
13038 * info.el (Info-find-node, Info-find-in-tag-table)
13039 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
13040 Add option for exact case matching of nodes.
13041 * info-xref.el (info-xref): New custom group.
13042 (info-xref-case-fold): New option.
13043 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
13044
13045 2013-07-03 Leo Liu <sdl.web@gmail.com>
13046
13047 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
13048
13049 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
13050
13051 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
13052 middle of block statement initially, lower the depth. Remove
13053 FIXME comment, not longer valid. Remove middle of block statement
13054 detection, no need to do that anymore since we've been using
13055 `ruby-parse-region' here.
13056
13057 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
13058
13059 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
13060
13061 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
13062
13063 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
13064
13065 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
13066
13067 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
13068 (desktop-restore-in-current-display): New customization option.
13069 (desktop--excluded-frame-parameters): Add `font'.
13070 (desktop--save-frames): Rename from desktop--save-windows.
13071 (desktop--restore-in-this-display-p): New function.
13072 (desktop--make-full-frame): Remove unwanted width/height from
13073 full(width|height) frames.
13074 (desktop--restore-frames): Rename from desktop--restore-windows.
13075 Obey desktop-restore-current-display. Do not delete old frames or
13076 select a new frame unless we were able to restore at least one frame.
13077
13078 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
13079
13080 * files.el (find-file-noselect): Simplify conditional expression.
13081
13082 * textmodes/remember.el (remember-append-to-file):
13083 Don't mix `find-buffer-visiting' and `get-file-buffer'.
13084
13085 Add `remember-notes' function to store random notes across Emacs
13086 restarts.
13087 * textmodes/remember.el (remember-data-file): Add :set callback to
13088 affect notes buffer (if any).
13089 (remember-notes): New command.
13090 (remember-notes-buffer-name, bury-remember-notes-on-kill):
13091 New defcustoms for the `remember-notes' function.
13092 (remember-notes-save-and-bury-buffer): New command.
13093 (remember-notes-mode-map): New variable.
13094 (remember-mode): New minor mode.
13095 (remember-notes--kill-buffer-query): New function.
13096 * startup.el (initial-buffer-choice): Add notes to custom type.
13097
13098 2013-06-30 Eli Zaretskii <eliz@gnu.org>
13099
13100 * bindings.el (right-char, left-char): Don't call sit-for, this is
13101 no longer needed. Use arithmetic comparison only for numerical
13102 arguments.
13103
13104 * international/mule-cmds.el (select-safe-coding-system):
13105 Handle the case of FROM being a string correctly. (Bug#14755)
13106
13107 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13108
13109 * net/shr.el (shr-make-table-1): Add a sanity check that allows
13110 progression on degenerate tables.
13111 (shr-rescale-image): ImageMagick animated images currently don't work.
13112
13113 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
13114
13115 Some fixes and improvements for desktop frame restoration.
13116 It is still experimental and disabled by default.
13117 * desktop.el (desktop--save-windows): Put the selected frame at
13118 the head of the list.
13119 (desktop--make-full-frame): New function.
13120 (desktop--restore-windows): Try to re-select the frame that was
13121 selected upon saving. Do not abort if some frames fail to restore,
13122 just show an error message and continue. Set up maximized frames
13123 so they have default non-maximized dimensions.
13124
13125 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
13126
13127 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
13128 Don't start heredoc inside a string or comment.
13129
13130 2013-06-29 Eli Zaretskii <eliz@gnu.org>
13131
13132 * bindings.el (visual-order-cursor-movement): New defcustom.
13133 (right-char, left-char): Provide visual-order cursor motion by
13134 calling move-point-visually. Update the doc strings.
13135
13136 2013-06-28 Kenichi Handa <handa@gnu.org>
13137
13138 * international/mule.el (define-coding-system): New coding system
13139 properties :inhibit-null-byte-detection,
13140 :inhibit-iso-escape-detection, and :prefer-utf-8.
13141 (set-buffer-file-coding-system): If :charset-list property of
13142 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
13143 appropriate for setting.
13144
13145 * international/mule-cmds.el (select-safe-coding-system):
13146 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
13147 multibyte characters, return utf-8 (or one of its siblings).
13148
13149 * international/mule-conf.el (prefer-utf-8): New coding system.
13150 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
13151 files.
13152
13153 2013-06-28 Ivan Kanis <ivan@kanis.fr>
13154
13155 * net/shr.el (shr-render-region): New function.
13156
13157 * net/eww.el: Autoload `eww-browse-url'.
13158
13159 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
13160
13161 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13162 Adapt to `package-desc-version' being a list.
13163 Use `package--ac-desc-version' to retrieve version from a package
13164 archive element.
13165
13166 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
13167
13168 New experimental feature to save&restore window and frame setup.
13169 * desktop.el (desktop-save-windows): New defcustom.
13170 (desktop--saved-states): New var.
13171 (desktop--excluded-frame-parameters): New defconst.
13172 (desktop--filter-frame-parms, desktop--find-frame-in-display)
13173 (desktop--restore-windows, desktop--save-windows): New functions.
13174 (desktop-save): Call `desktop--save-windows'.
13175 (desktop-read): Call `desktop--restore-windows'.
13176
13177 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13178
13179 * net/shr.el (add-face-text-property): Remove compat definition.
13180
13181 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
13182
13183 * info.el (Info-try-follow-nearest-node): Move search for footnote
13184 above search for node name to prevent missing a footnote (bug#14717).
13185
13186 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
13187
13188 * obsolete/otodo-mode.el: Add obsolescence info to file header.
13189
13190 2013-06-27 Leo Liu <sdl.web@gmail.com>
13191
13192 * net/eww.el (eww-read-bookmarks): Check file size.
13193
13194 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
13195
13196 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
13197 advice--pending if newdef is nil or an autoload (bug#13820).
13198 (advice-mapc): New function.
13199
13200 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13201
13202 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
13203 probably.
13204 (eww-mode-map): Add a menu bar.
13205 (eww-add-bookmark): New command.
13206 (eww-bookmark-mode): New mode and commands.
13207 (eww-add-bookmark): Remove newlines from the title.
13208 (eww-bookmark-browse): Don't bug out if it's the only window.
13209
13210 2013-06-26 Glenn Morris <rgm@gnu.org>
13211
13212 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
13213 (hfy-size): Handle ttys. (Bug#14668)
13214
13215 * info-xref.el: Update for Texinfo 5 change in *note format.
13216 (info-xref-node-re, info-xref-note-re): New constants.
13217 (info-xref-check-buffer): Use info-xref-note-re.
13218
13219 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
13220
13221 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
13222
13223 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
13224 nil terminate the loop (bug#14718).
13225
13226 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
13227
13228 * net/eww.el: Rework history traversal. When going forward/back,
13229 put these actions into the history, too, so that they can be
13230 replayed.
13231 (eww-render): Move the history reset to the correct buffer.
13232
13233 2013-06-25 Juri Linkov <juri@jurta.org>
13234
13235 * files-x.el (modify-dir-local-variable): Change the header comment
13236 in the file with directory local variables. (Bug#14692)
13237
13238 * files-x.el (read-file-local-variable-value): Add `default'.
13239 (Bug#14710)
13240
13241 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
13242
13243 * net/eww.el (eww-make-unique-file-name): Create a unique file
13244 name before saving to entering `y' accidentally asynchronously.
13245
13246 2013-06-25 Ivan Kanis <ivan@kanis.fr>
13247
13248 * net/eww.el (eww-download): New command and keystroke.
13249
13250 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
13251
13252 * net/eww.el (eww-copy-page-url): Change name of command.
13253
13254 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
13255 be more consistent with Info and dired.
13256
13257 * net/eww.el (eww-mode-map): Ditto.
13258
13259 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13260
13261 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
13262 packages from archives.
13263 (package-archive-contents): Change format; include obsolete packages.
13264 (package-desc): Use `dir' to mark builtin packages.
13265 (package--from-builtin): Set the `dir' field to `builtin'.
13266 (generated-autoload-file, version-control): Declare.
13267 (package-compute-transaction): Change first arg and return value to be
13268 lists of package-descs. Adjust to new package-archive-contents format.
13269 (package--add-to-archive-contents): Adjust to new
13270 package-archive-contents format.
13271 (package-download-transaction): Arg is now a list of package-descs.
13272 (package-install): If `pkg' is a package name, pass it as
13273 a requirement, so it is subject to the usual (e.g. disabled) checks.
13274 (describe-package): Accept package-desc as well.
13275 (describe-package-1): Describe a specific package-desc. Add links to
13276 other package-descs for the same package name.
13277 (package-menu-describe-package): Pass the actual package-desc.
13278 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
13279 works correctly.
13280 (package-desc-status): New function.
13281 (package-menu--refresh): New function, extracted
13282 from package-menu--generate.
13283 (package-menu--generate): Use it.
13284 (package-delete): Update package-alist.
13285 (package-menu-execute): Don't call package-initialize.
13286
13287 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
13288 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
13289 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
13290 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
13291 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
13292 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
13293
13294 2013-06-25 Martin Rudalics <rudalics@gmx.at>
13295
13296 * window.el (window--state-get-1): Workaround for bug#14527.
13297 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
13298
13299 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
13300
13301 * net/eww.el (eww-back-url): Implement the history by stashing all
13302 the data into a list.
13303 (eww-forward-url): Allow going forward in the history, too.
13304
13305 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13306
13307 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
13308 for values and use read--expression for expressions (bug#14710).
13309 (read-file-local-variable): Avoid setq.
13310 (read-file-local-variable-mode): Use minor-mode-list.
13311
13312 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13313
13314 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
13315 for DOI URLs.
13316
13317 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13318
13319 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
13320 Update imenu-support when dialect changes.
13321
13322 2013-06-25 Leo Liu <sdl.web@gmail.com>
13323
13324 * ido.el (ido-read-internal): Allow forward slash on windows.
13325
13326 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
13327
13328 * net/eww.el (eww): Start of strings is \\`, not ^.
13329
13330 2013-06-24 Ivan Kanis <ivan@kanis.fr>
13331
13332 * net/shr.el (shr-browse-url): Fix interactive spec.
13333
13334 * net/eww.el (eww): Add a trailing slash to domain names.
13335
13336 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
13337
13338 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
13339
13340 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
13341
13342 * net/shr.el (shr-browse-url): Use an external browser if given a
13343 prefix.
13344
13345 * net/eww.el (eww-external-browser): Move to shr.
13346
13347 2013-06-24 Ivan Kanis <ivan@kanis.fr>
13348
13349 * net/eww.el (eww): Work more correctly for file: URLs.
13350 (eww-detect-charset): Allow quoted charsets.
13351 (eww-yank-page-url): New command and keystroke.
13352
13353 2013-06-24 Daiki Ueno <ueno@gnu.org>
13354
13355 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
13356 file name of gpg executable.
13357 (epg-context-program): New function.
13358 (epg-context-home-directory): New function.
13359 (epg-context-set-program): New function.
13360 (epg-context-set-home-directory): New function.
13361 (epg--start): Use `epg-context-program' instead of
13362 'epg-gpg-program'.
13363 (epg--list-keys-1): Likewise.
13364
13365 2013-06-24 Leo Liu <sdl.web@gmail.com>
13366
13367 * ido.el (ido-read-internal): Fix bug#14620.
13368
13369 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
13370
13371 * faces.el (face-documentation): Simplify.
13372 (read-face-attribute, tty-find-type, x-resolve-font-name):
13373 Use `string-match-p'.
13374 (list-faces-display): Use `string-match-p'. Simplify.
13375 (face-spec-recalc): Check face to avoid face alias loops.
13376 (read-color): Use `string-match-p' and non-capturing parenthesis.
13377
13378 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
13379
13380 * net/shr.el (shr-rescale-image): Use the new
13381 :max-width/:max-height functionality.
13382
13383 2013-06-23 Ivan Kanis <ivan@kanis.fr>
13384
13385 * net/eww.el (eww-search-prefix): New variable.
13386 (eww): Use it.
13387 (eww-external-browser): New variable.
13388 (eww-mode-map): New keystroke.
13389 (eww-browse-with-external-browser): New command.
13390
13391 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
13392
13393 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
13394
13395 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13396 Don't skip aligning the next header field when padding is 0;
13397 otherwise, field width is not respected unless the title is as
13398 wide as the field.
13399
13400 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
13401
13402 * emacs-lisp/package.el (package-el-version): Remove.
13403 (package-process-define-package): Fix inf-loop.
13404 (package-install): Allow symbols as arguments again.
13405
13406 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
13407
13408 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
13409 add some more keyword-like methods.
13410 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
13411
13412 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
13413
13414 * bs.el (bs-buffer-show-mark): Make defvar-local.
13415 (bs-mode): Use setq-local.
13416
13417 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
13418 (emacs-lock--try-unlocking): Make defvar-local.
13419
13420 2013-06-22 Glenn Morris <rgm@gnu.org>
13421
13422 * play/cookie1.el (cookie-apropos): Minor simplification.
13423
13424 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
13425
13426 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
13427
13428 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
13429 `regexp-opt', it breaks the build during dumping.
13430
13431 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
13432
13433 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
13434 Highlight keyword-like methods on Kernel and Module with
13435 font-lock-builtin-face.
13436 (auto-mode-alist): Consolidate different entries into one regexp
13437 and add more *file-s.
13438
13439 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
13440
13441 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
13442
13443 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
13444 (diary-entry): Use it in the action of this button type instead of
13445 diary-goto-entry.
13446
13447 * calendar/todo-mode.el: New version.
13448 (todo-add-category): Append new category to end of file and give
13449 it the highest number, instead of putting it at the beginning and
13450 giving it 0. Incorporate noninteractive functionality.
13451 (todo-forward-category): Adapt to 1-based category numbering.
13452 Allow skipping over archived categories.
13453 (todo-backward-category): Derive from todo-forward-category.
13454 (todo-backward-item, todo-forward-item): Make noninteractive and
13455 delegate interactive part to new commands. Make sensitive to done items.
13456 (todo-categories): Make value an alist of category names and
13457 vectors of item counts.
13458 (todo-category-beg): Make a defconst.
13459 (todo-category-number): Use 1 instead of 0 as initial value.
13460 (todo-category-select): Make sensitive to overlays, optional item
13461 highlighting and done items.
13462 (todo-delete-item): Make sensitive to overlays and marked and done items.
13463 (todo-edit-item): Make sensitive to overlays and editing of
13464 date/time header optional. Add format checks.
13465 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
13466 no-op if point is not on an item. Advertise using todo-edit-quit.
13467 (todo-edit-mode): Make sensitive to new format, font-locking, and
13468 multiple todo files.
13469 (todo-insert-item, todo-insert-item-here): Derive from
13470 todo-basic-insert-item and extend functionality.
13471 (todo-item-end, todo-item-start): Make sensitive to done items.
13472 (todo-item-string): Don't return text properties. Restore point.
13473 (todo-jump-to-category): Make sensitive to multiple todo files and
13474 todo archives. Use extended category completion.
13475 (todo-lower-item, todo-raise-item): Rename to *-priority and
13476 derive from todo-set-item-priority.
13477 (todo-mode): Derive from special-mode. Make sensitive to new
13478 format, font-locking and multiple todo files. Make read-only.
13479 (todo-mode-map): Don't suppress digit keys, so they can supply
13480 prefix arguments. Add many new key bindings.
13481 (todo-prefix): Insert as an overlay instead of file text.
13482 Change semantics from diary date expression to purely visual mark.
13483 (todo-print): Rename to todo-print-buffer. Make buffer display
13484 features printable. Remove option to restrict number of items
13485 printed. Add option to print to file.
13486 (todo-print-function): Rename to todo-print-buffer-function.
13487 (todo-quit): Extend to handle exiting new todo modes.
13488 (todo-remove-item): Make sensitive to overlays.
13489 (todo-save): Extend to buffers of filtered items.
13490 (todo-show): Make sensitive to done items, multiple todo files and
13491 new todo modes. Offer to convert legacy todo file before creating
13492 first new todo file.
13493 (todo-show-priorities): Rename to todo-top-priorities.
13494 Change semantics of value 0.
13495 (todo-top-priorities): Rename to todo-filter-top-priorities,
13496 derive from todo-filter-items and extend functionality.
13497 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
13498 and extend functionality to other types of filtered items.
13499 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
13500 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
13501 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
13502 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
13503 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
13504 (todo-edit-mode-hook, todo-entry-prefix-function)
13505 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
13506 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
13507 (todo-initials, todo-insert-threshold, todo-item-string-start)
13508 (todo-line-string, todo-menu, todo-mode-hook)
13509 (todo-more-important-p, todo-previous-answer, todo-previous-line)
13510 (todo-print-priorities, todo-remove-separator)
13511 (todo-save-top-priorities-too, todo-string-count-lines)
13512 (todo-string-multiline-p, todo-time-string-format)
13513 (todo-tmp-buffer-name): Remove.
13514 (todo-add-file, todo-archive-done-item, todo-choose-archive)
13515 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
13516 (todo-edit-category-diary-inclusion)
13517 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
13518 (todo-edit-file, todo-edit-item-date-day)
13519 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
13520 (todo-edit-item-date-month, todo-edit-item-date-to-today)
13521 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
13522 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
13523 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
13524 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
13525 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
13526 (todo-filter-top-priorities-multifile, todo-find-archive)
13527 (todo-find-filtered-items-file, todo-go-to-source-item)
13528 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
13529 (todo-jump-to-archive-category, todo-lower-category)
13530 (todo-mark-category, todo-marked-item-p, todo-merge-category)
13531 (todo-move-category, todo-move-item, todo-next-button)
13532 (todo-next-item, todo-padded-string, todo-powerset)
13533 (todo-previous-button, todo-previous-item)
13534 (todo-print-buffer-to-file, todo-raise-category)
13535 (todo-rename-category, todo-repair-categories-sexp, todo-search)
13536 (todo-set-category-number, todo-set-item-priority)
13537 (todo-set-top-priorities-in-category)
13538 (todo-set-top-priorities-in-file, todo-show-categories-table)
13539 (todo-sort-categories-alphabetically-or-numerically)
13540 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
13541 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
13542 (todo-toggle-item-header, todo-toggle-item-highlighting)
13543 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
13544 (todo-toggle-view-done-items, todo-toggle-view-done-only)
13545 (todo-unarchive-items, todo-unmark-category): New commands.
13546 (todo-absolute-file-name, todo-add-to-buffer-list)
13547 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
13548 (todo-basic-insert-item, todo-category-completions)
13549 (todo-category-number, todo-category-string-matcher-1)
13550 (todo-category-string-matcher-2, todo-check-filtered-items-file)
13551 (todo-check-format, todo-clear-matches)
13552 (todo-comment-string-matcher, todo-convert-legacy-date-time)
13553 (todo-current-category, todo-date-string-matcher)
13554 (todo-define-insertion-command, todo-diary-expired-matcher)
13555 (todo-diary-goto-entry, todo-diary-item-p)
13556 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
13557 (todo-display-categories, todo-display-sorted, todo-done-item-p)
13558 (todo-done-item-section-p, todo-done-separator)
13559 (todo-done-string-matcher, todo-files, todo-filter-items)
13560 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
13561 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
13562 (todo-insert-category-line, todo-insert-item-from-calendar)
13563 (todo-insert-sort-button, todo-insert-with-overlays)
13564 (todo-insertion-command-name, todo-insertion-key-bindings)
13565 (todo-label-to-key, todo-longest-category-name-length)
13566 (todo-make-categories-list, todo-mode-external-set)
13567 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
13568 (todo-modes-set-3, todo-multiple-filter-files)
13569 (todo-nondiary-marker-matcher, todo-prefix-overlays)
13570 (todo-read-category, todo-read-date, todo-read-dayname)
13571 (todo-read-file-name, todo-read-time)
13572 (todo-reevaluate-category-completions-files-defcustom)
13573 (todo-reevaluate-default-file-defcustom)
13574 (todo-reevaluate-filelist-defcustoms)
13575 (todo-reevaluate-filter-files-defcustom)
13576 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
13577 (todo-reset-done-separator, todo-reset-done-separator-string)
13578 (todo-reset-done-string, todo-reset-global-current-todo-file)
13579 (todo-reset-highlight-item, todo-reset-nondiary-marker)
13580 (todo-reset-prefix, todo-set-categories)
13581 (todo-set-date-from-calendar, todo-set-show-current-file)
13582 (todo-set-top-priorities, todo-short-file-name)
13583 (todo-show-current-file, todo-sort, todo-time-string-matcher)
13584 (todo-total-item-counts, todo-update-buffer-list)
13585 (todo-update-categories-display, todo-update-categories-sexp)
13586 (todo-update-count, todo-validate-name, todo-y-or-n-p):
13587 New functions.
13588 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
13589 New major modes.
13590 (todo-categories, todo-display, todo-edit, todo-faces)
13591 (todo-filtered): New defgroups.
13592 (todo-archived-only, todo-button, todo-category-string, todo-date)
13593 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
13594 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
13595 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
13596 (todo-add-item-if-new-category, todo-always-add-time-string)
13597 (todo-categories-align, todo-categories-archived-label)
13598 (todo-categories-category-label, todo-categories-diary-label)
13599 (todo-categories-done-label, todo-categories-number-separator)
13600 (todo-categories-todo-label, todo-categories-totals-label)
13601 (todo-category-completions-files, todo-completion-ignore-case)
13602 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
13603 (todo-done-separator-string, todo-done-string)
13604 (todo-files-function, todo-filter-done-items, todo-filter-files)
13605 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
13606 (todo-initial-category, todo-initial-file, todo-item-mark)
13607 (todo-legacy-date-time-regexp, todo-mode-line-function)
13608 (todo-nondiary-marker, todo-number-prefix)
13609 (todo-print-buffer-function, todo-show-current-file)
13610 (todo-show-done-only, todo-show-first, todo-show-with-done)
13611 (todo-skip-archived-categories, todo-top-priorities-overrides)
13612 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
13613 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
13614 New defcustoms.
13615 (todo-category-done, todo-date-pattern, todo-date-string-start)
13616 (todo-diary-items-buffer, todo-done-string-start)
13617 (todo-filtered-items-buffer, todo-item-start)
13618 (todo-month-abbrev-array, todo-month-name-array)
13619 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
13620 (todo-top-priorities-buffer): New defconsts.
13621 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
13622 (todo-categories-with-marks, todo-category-string-face)
13623 (todo-comment-face, todo-comment-string, todo-current-todo-file)
13624 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
13625 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
13626 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
13627 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
13628 (todo-font-lock-keywords, todo-global-current-todo-file)
13629 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
13630 (todo-insertion-commands-args)
13631 (todo-insertion-commands-args-genlist)
13632 (todo-insertion-commands-names, todo-insertion-map)
13633 (todo-key-bindings-t, todo-key-bindings-t+a)
13634 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
13635 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
13636 (todo-nondiary-face, todo-print-buffer, todo-time-face)
13637 (todo-visited): New variables.
13638
13639 2013-06-21 Glenn Morris <rgm@gnu.org>
13640
13641 * play/cookie1.el (cookie-apropos): Add optional display argument.
13642 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
13643 (psychoanalyze-pinhead): Use cookie-doctor.
13644
13645 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13646
13647 * emacs-lisp/package.el (tar-get-file-descriptor)
13648 (tar--extract): Declare.
13649
13650 2013-06-21 Eduard Wiebe <usenet@pusto.de>
13651
13652 Extend flymake's warning predicate to be a function (bug#14217).
13653 * progmodes/flymake.el (flymake-warning-predicate): New.
13654 (flymake-parse-line): Use it.
13655 (flymake-warning-re): Make obsolete alias to
13656 `flymake-warning-predicate'.
13657
13658 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13659
13660 * emacs-lisp/package.el (package-alist): Include obsolete packages.
13661 (package-obsolete-list): Remove.
13662 (package-activate): Remove min-version argument. Add `force' argument.
13663 Adjust to new package-alist format.
13664 (package-mark-obsolete): Remove.
13665 (package-unpack): Force reload of the package's autoloads.
13666 (package-installed-p): Check builtins if the installed package is not
13667 recent enough.
13668 (package-initialize): Don't reset package-obsolete-list.
13669 Don't specify which package version to activate.
13670 (package-process-define-package, describe-package-1)
13671 (package-menu--generate): Adjust to new package-alist format.
13672
13673 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13674
13675 * allout-widgets.el (allout-widgets-mode-off)
13676 (allout-widgets-mode-on, allout-widgets-pre-command-business)
13677 (allout-widgets-post-command-business)
13678 (allout-widgets-after-copy-or-kill-function)
13679 (allout-widgets-after-undo-function, allout-test-range-overlaps)
13680 (allout-decorate-item-and-context)
13681 (allout-graphics-modification-handler): Fix typos in docstrings.
13682 (allout-get-or-create-parent-widget): Use `looking-at-p'.
13683
13684 * cmuscheme.el (scheme-start-file): Doc fix.
13685 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
13686 (scheme-input-filter): Use `string-match-p'.
13687
13688 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
13689
13690 * dired-x.el: Use Dired consistently in docstrings.
13691
13692 * dired.el: Use Dired consistently in docstrings.
13693 (dired-readin, dired-mode): Use `setq-local'.
13694 (dired-switches-alist): Make defvar-local.
13695 (dired-buffers-for-dir): Use `zerop'.
13696 (dired-safe-switches-p, dired-switches-escape-p)
13697 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
13698 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
13699 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
13700 (dired-goto-next-nontrivial-file): Use `string-match-p'.
13701 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
13702 (dired-toggle-marks, dired-mark-files-containing-regexp)
13703 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
13704 (dired-flag-auto-save-files, dired-flag-backup-files):
13705 Use `looking-at-p'.
13706 (dired-mark-files-regexp, dired-build-subdir-alist):
13707 Use `string-match-p', `looking-at-p'.
13708
13709 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
13710 (direct-print-region-helper): Use `string-match-p'.
13711
13712 2013-06-21 Leo Liu <sdl.web@gmail.com>
13713
13714 * comint.el (comint-redirect-results-list-from-process):
13715 Fix infinite loop.
13716
13717 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13718
13719 * net/eww.el (eww-update-header-line-format): Quote % characters.
13720
13721 2013-06-21 Glenn Morris <rgm@gnu.org>
13722
13723 * play/cookie1.el (cookie): New custom group.
13724 (cookie-file): New option.
13725 (cookie-check-file): New function.
13726 (cookie): Make it interactive. Make start and end messages optional.
13727 Interactively, display the result. Default to cookie-file.
13728 (cookie-insert): Default to cookie-file.
13729 (cookie-snarf): Make start and end messages optional.
13730 Default to cookie-file. Use with-temp-buffer.
13731 (cookie-read): Rename from read-cookie.
13732 Make start and end messages optional. Default to cookie-file.
13733 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
13734 Do not autoload it.
13735 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13736 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13737
13738 2013-06-21 Leo Liu <sdl.web@gmail.com>
13739
13740 * progmodes/octave.el (octave-mode): Backward compatibility fix.
13741
13742 2013-06-21 Glenn Morris <rgm@gnu.org>
13743
13744 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13745
13746 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13747 Daniel Hackney <dan@haxney.org>
13748
13749 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13750 Consolidate the single-file vs tarball code.
13751 (package-desc-suffix): New function.
13752 (package-desc-full-name): Don't bother inlining it.
13753 (package-load-descriptor): Return the new package-desc.
13754 (package-mark-obsolete): Remove unused arg `package'.
13755 (package-unpack): Make it work for single files as well.
13756 Make it update package-alist.
13757 (package--make-autoloads-and-stuff): Rename from
13758 package--make-autoloads-and-compile. Don't compile any more.
13759 (package--compile): New function.
13760 (package-generate-description-file): New function, extracted from
13761 package-unpack-single.
13762 (package-unpack-single): Remove.
13763 (package--with-work-buffer): Add indentation and debugging info.
13764 (package-download-single): Remove.
13765 (package-install-from-archive): Rename from package-download-tar, make
13766 it take a pkg-desc, and make it work for single files as well.
13767 (package-download-transaction): Simplify.
13768 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
13769 external tar program.
13770 (package-install-from-buffer): Remove `pkg-desc' argument.
13771 Use package-tar-file-info for tar-mode buffers.
13772 (package-install-file): Simplify accordingly.
13773 (package-archive-base): Change to take a pkg-desc.
13774 * tar-mode.el (tar--check-descriptor): New function, extracted from
13775 tar-get-descriptor.
13776 (tar-get-descriptor): Use it.
13777 (tar-get-file-descriptor): New function.
13778 (tar--extract): New function, extracted from tar-extract.
13779 (tar--extract): Use it.
13780 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13781 case the summary uses non-ascii. Adjust to new calling convention of
13782 package-tar-file-info.
13783
13784 2013-06-21 Leo Liu <sdl.web@gmail.com>
13785
13786 * comint.el (comint-redirect-results-list-from-process):
13787 Fix random delay. (Bug#14681)
13788
13789 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13790
13791 * profiler.el (profiler-format-number): Use log, not log10.
13792
13793 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13794
13795 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13796
13797 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13798
13799 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13800 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13801 yet available.
13802 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13803 (AUTOGENEL): ... here.
13804 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13805 (cl--defsubst-expand): Use it.
13806
13807 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13808
13809 * subr.el (log10): Move here from C code, and declare as obsolete.
13810 All uses of (log10 X) replaced with (log X 10).
13811
13812 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13813
13814 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13815 Declare with `defvar-local'.
13816 (tabulated-list-use-header-line, tabulated-list-entries)
13817 (tabulated-list-padding, tabulated-list-printer)
13818 (tabulated-list-sort-key): Declare with `defvar-local'.
13819 (tabulated-list-init-header, tabulated-list-print-fake-header):
13820 Use `setq-local'.
13821
13822 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13823
13824 * arc-mode.el (archive-mode): Add `archive-write-file' to
13825 `write-contents-functions' also for remote files. (Bug#14652)
13826
13827 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13828
13829 * cus-edit.el (custom-commands): Fix typos.
13830 (custom-display): Fix tooltip text.
13831 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13832 Fix typos in docstrings.
13833 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13834 (custom-unlispify-menu-entry, custom-magic-value-create)
13835 (custom-add-see-also, custom-group-value-create): Use ?\s.
13836 (custom-guess-type, customize-apropos, editable-field)
13837 (custom-face-value-create): Use `string-match-p'.
13838 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13839
13840 * custom.el (custom-load-symbol): Use `string-match-p'.
13841
13842 * ansi-color.el: Convert to lexical binding.
13843 (ansi-colors): Fix URL.
13844 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13845 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13846 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13847
13848 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13849
13850 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13851
13852 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13853
13854 2013-06-19 Tom Tromey <tromey@redhat.com>
13855
13856 * net/eww.el (eww-top-url): Remove.
13857 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13858 (eww-render): Set new variables. Don't set eww-top-url.
13859 (eww-handle-link): Handle "prev", "home", and "contents".
13860 Downcase the rel text.
13861 (eww-top-url): Choose best top URL.
13862
13863 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13864
13865 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13866 relying in widget.el. Using widget.el leads to too many
13867 user interface inconsistencies.
13868 (eww-self-insert): Implement entering commands in text fields.
13869 (eww-process-text-input): New function to make text input field editing
13870 work.
13871 (eww-submit): Rewrite to use the new-style form methods.
13872 (eww-select-display): Display the correct selected item.
13873 (eww-change-select): Implement changing the select value.
13874 (eww-toggle-checkbox): Implement radio/checkboxes.
13875 (eww-update-field): Fix compilation error.
13876 (eww-tag-textarea): Implement <textarea>.
13877
13878 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13879 we don't shadow mode-specific bindings.
13880
13881 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13882 nothing to push.
13883
13884 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13885
13886 2013-06-19 Glenn Morris <rgm@gnu.org>
13887
13888 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13889
13890 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13891
13892 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13893 not needed.
13894
13895 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13896
13897 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13898
13899 * net/browse-url.el (browse-url-browser-function):
13900 `eww-browse-url' has the right calling signature, `eww' does not.
13901
13902 2013-06-19 Glenn Morris <rgm@gnu.org>
13903
13904 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13905 Only eval autoloaded macros.
13906 (byte-compile-autoload): Only give the macro warning for macros.
13907
13908 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13909 (ps-underlined-faces): Declare.
13910
13911 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13912 (speedbar-add-supported-extension): Declare.
13913
13914 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13915 Don't include a date stamp in the header of the generated file;
13916 it leads to needless differences between output files.
13917
13918 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13919
13920 * net/secrets.el (secrets-struct-secret-content-type):
13921 Replace check of introspection data by a test call of "CreateItem".
13922 Some servers do not offer introspection.
13923
13924 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13925
13926 * electric.el (electric-pair-mode): Improve interaction with
13927 electric-layout-mode.
13928 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13929 (electric-pair-syntax): Use text-mode-syntax-table in comments
13930 and strings.
13931 (electric-pair--insert): New function.
13932 (electric-pair-post-self-insert-function): Use it and
13933 electric--after-char-pos.
13934
13935 2013-06-19 Leo Liu <sdl.web@gmail.com>
13936
13937 * progmodes/octave.el (octave-help): Fix regexp.
13938
13939 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13940
13941 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13942 (shr-table-horizontal-line): Allow nil as a value, and change the
13943 default.
13944 (shr-insert-table-ruler): Respect the nil value.
13945
13946 2013-06-18 Tom Tromey <tromey@barimba>
13947
13948 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13949 New defvars.
13950 (eww-open-file): New defun.
13951 (eww-render): Initialize new variables.
13952 (eww-display-html): Handle "link" and "a".
13953 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13954 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13955 (eww-back-url): Rename from eww-previous-url.
13956 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13957 New defuns.
13958
13959 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13960
13961 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13962 Distinguish ternary operator tokens from slash symbol and slash
13963 char literal.
13964
13965 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13966
13967 Convert symbol prettification into minor mode and global minor mode.
13968
13969 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13970 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13971 (prettify-symbols--keywords): Rename from
13972 `prog-prettify-symbols-alist' and make a local defvar.
13973 (prettify-symbols--compose-symbol): Rename from
13974 `prog--prettify-font-lock-compose-symbol'.
13975 (prettify-symbols--make-keywords): Rename from
13976 `prog-prettify-font-lock-symbols-keywords' and simplify.
13977 (prog-prettify-install): Remove.
13978 (prettify-symbols-mode): New minor mode, based on
13979 `prog-prettify-install'.
13980 (turn-on-prettify-symbols-mode): New function.
13981 (global-prettify-symbols-mode): New globalized minor mode.
13982
13983 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13984 * progmodes/cfengine.el (cfengine3-mode):
13985 * progmodes/perl-mode.el (perl-mode): Don't call
13986 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13987
13988 2013-06-18 Juri Linkov <juri@jurta.org>
13989
13990 * files-x.el (modify-file-local-variable-message): New function.
13991 (modify-file-local-variable)
13992 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13993 and call `modify-file-local-variable-message' when it's non-nil.
13994 (add-file-local-variable, delete-file-local-variable)
13995 (add-file-local-variable-prop-line)
13996 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13997 and use it. (Bug#9820)
13998
13999 2013-06-18 Juri Linkov <juri@jurta.org>
14000
14001 * emulation/vi.el (vi-shell-op):
14002 * emulation/vip.el (vip-execute-com, ex-command):
14003 * emulation/viper-cmd.el (viper-exec-bang):
14004 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
14005 the call of `shell-command-on-region'. (Bug#14637)
14006
14007 * simple.el (shell-command-on-region): Doc fix.
14008
14009 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
14010
14011 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
14012 (bug#14633).
14013
14014 2013-06-18 Glenn Morris <rgm@gnu.org>
14015
14016 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
14017
14018 * newcomment.el (comment-search-forward, comment-search-backward):
14019 Doc fix. (Bug#14376)
14020
14021 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
14022
14023 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
14024 (buffer-face-mode-invoke): Doc fix.
14025
14026 2013-06-18 Matthias Meulien <orontee@gmail.com>
14027
14028 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
14029 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
14030
14031 2013-06-18 Glenn Morris <rgm@gnu.org>
14032
14033 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
14034 Replace obsolete function generic-make-keywords with its expansion.
14035
14036 * progmodes/python.el (ffap-alist): Declare.
14037
14038 * textmodes/reftex.el (bibtex-mode-map): Declare.
14039
14040 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
14041
14042 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
14043 (package-unpack, package-unpack-single): Return the pkg-dir.
14044 (package-download-transaction): Use it to update package-alist.
14045
14046 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
14047
14048 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
14049 possible choice.
14050
14051 2013-06-17 Juri Linkov <juri@jurta.org>
14052
14053 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
14054
14055 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
14056
14057 * emacs-lisp/package.el (package-load-descriptor):
14058 Remove `with-syntax-table' call, `read' doesn't need it.
14059 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
14060
14061 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
14062
14063 * startup.el (command-line): Expand package name returned by
14064 `package--description-file' (bug#14639).
14065
14066 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
14067
14068 * emacs-lisp/package.el (package-load-descriptor): Do not call
14069 `emacs-lisp-mode', just use its syntax table.
14070
14071 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
14072
14073 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
14074 `font-lock-extra-managed-props' if any prettifying keyword is added.
14075 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
14076 (prog-mode): Use `setq-local'.
14077
14078 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
14079
14080 * international/characters.el (standard-case-table): Set syntax of ?»
14081 and ?« to punctuation.
14082
14083 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
14084
14085 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
14086 Save relevant match data before calling `syntax-ppss' (bug#14595).
14087
14088 2013-06-15 Juri Linkov <juri@jurta.org>
14089
14090 * files-x.el (modify-file-local-variable-prop-line): Add local
14091 variables to the end of the existing comment on the first line.
14092 Use `file-auto-mode-skip' to skip interpreter magic line,
14093 and also skip XML declaration.
14094
14095 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
14096
14097 * startup.el (package--builtin-versions): New var.
14098 (package-subdirectory-regexp): Remove.
14099 (package--description-file): Hard code its value instead.
14100
14101 * emacs-lisp/package.el: Don't activate packages older than builtin.
14102 (package-obsolete-list): Rename from package-obsolete-alist, and make
14103 it into a simple list of package-desc.
14104 (package-strip-version): Remove.
14105 (package-built-in-p): Use package--builtin-versions.
14106 (package-mark-obsolete): Simplify.
14107 (package-process-define-package): Mark it obsolete if older than the
14108 builtin version.
14109 (package-handle-response): Use line-end-position.
14110 (package-read-archive-contents, package--download-one-archive):
14111 Simplify.
14112 (package--add-to-archive-contents): Skip if older than the builtin or
14113 installed version.
14114 (package-menu-describe-package): Fix last change.
14115 (package-list-unversioned): New var.
14116 (package-menu--generate): Use it.
14117
14118 * emacs-lisp/autoload.el: Manage package--builtin-versions.
14119 (autoload--insert-text, autoload--insert-cookie-text): New functions.
14120 (autoload-builtin-package-versions): New variable.
14121 (autoload-generate-file-autoloads): Use them.
14122 Remove the list of autoloaded functions/macros from the
14123 (autoload...) comments.
14124
14125 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
14126
14127 2013-06-15 Eli Zaretskii <eliz@gnu.org>
14128
14129 * simple.el (line-move-partial): Don't jump to the next screen
14130 line as soon as it becomes visible. Instead, continue enlarging
14131 the vscroll until the portion of a tall screen line that's left on
14132 display is about the height of the frame's default font.
14133 (Bug#14567)
14134
14135 2013-06-15 Glenn Morris <rgm@gnu.org>
14136
14137 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
14138 compilation-error-regexp-alist void, or local while let-bound.
14139
14140 * progmodes/make-mode.el (makefile-mode-syntax-table):
14141 Treat "=" as punctuation. (Bug#14614)
14142
14143 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
14144
14145 * help-fns.el (describe-variable):
14146 Add extra line for permanent-local variables.
14147
14148 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
14149
14150 * progmodes/scheme.el (scheme-font-lock-keywords-2):
14151 Add export, import, library. (Bug#9164)
14152 (library): Set indent function.
14153
14154 2013-06-14 Glenn Morris <rgm@gnu.org>
14155
14156 * term/xterm.el (xterm--query):
14157 Stop after first matching handler. (Bug#14615)
14158
14159 2013-06-14 Ivan Kanis <ivan@kanis.fr>
14160
14161 Add support for dired in saveplace.
14162 * dired.el (dired-initial-position-hook): New variable.
14163 (dired-initial-position): Call hook to place cursor position.
14164 * saveplace.el (save-place-to-alist): Add dired position.
14165 (save-place-dired-hook): New function.
14166
14167 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
14168
14169 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
14170 through a symbol rather than letrec.
14171
14172 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
14173 (package-desc): Add `dir' field.
14174 (package-desc-full-name): New function.
14175 (package-load-descriptor): Combine the two arguments. Don't use `load'.
14176 (package-maybe-load-descriptor): Remove.
14177 (package-load-all-descriptors): Just call package-load-descriptor.
14178 (package--disabled-p): New function.
14179 (package-desc-vers, package-desc-doc): Remove aliases.
14180 (package--dir): Remove function.
14181 (package-activate): Check if a package is disabled.
14182 (package-process-define-package): New function, extracted from
14183 define-package.
14184 (define-package): Turn into a place holder.
14185 (package-unpack-single, package-tar-file-info):
14186 Use package--description-file.
14187 (package-compute-transaction): Use package--disabled-p.
14188 (package-download-transaction): Don't call
14189 package-maybe-load-descriptor since they're all loaded anyway.
14190 (package-install): Change argument to be a pkg-desc.
14191 (package-delete): Use a single pkg-desc argument.
14192 (describe-package-1): Use package-desc-dir instead of package--dir.
14193 Use package-desc property instead of package-symbol.
14194 (package-install-button-action): Adjust accordingly.
14195 (package--push): Rewrite.
14196 (package-menu--print-info): Adjust accordingly. Change the ID format
14197 to be a pkg-desc.
14198 (package-menu-describe-package, package-menu-get-status)
14199 (package-menu--find-upgrades, package-menu-mark-upgrades)
14200 (package-menu-execute, package-menu--name-predicate):
14201 Adjust accordingly.
14202 * startup.el (package--description-file): New function.
14203 (command-line): Use it.
14204 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14205 Use package-desc-version.
14206
14207 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
14208 (byte-compile-preprocess): Use it.
14209 (byte-compile-file-form-defalias): Try a bit harder to use macros we
14210 can't quite recognize.
14211 (byte-compile-add-to-list): Remove.
14212 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
14213 (cconv-closure-convert): Add assertion.
14214
14215 * emacs-lisp/map-ynp.el: Use lexical-binding.
14216 (map-y-or-n-p): Remove unused vars `tail' and `object'.
14217 Factor out some repeated code.
14218
14219 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
14220
14221 * subr.el (with-eval-after-load): New macro.
14222 (eval-after-load): Allow form to be a function.
14223 take advantage of lexical-binding.
14224 (do-after-load-evaluation): Use dolist and adjust to new format.
14225 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
14226
14227 2013-06-13 Juri Linkov <juri@jurta.org>
14228
14229 * replace.el (perform-replace): Display "symbol " and other search
14230 modes from `isearch-message-prefix' in the *Help* buffer.
14231
14232 * isearch.el (isearch-query-replace): Add " symbol" and other
14233 possible search modes from `isearch-message-prefix' to the prompt.
14234 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
14235 when reading a regexp to collect.
14236
14237 2013-06-13 Juri Linkov <juri@jurta.org>
14238
14239 * isearch.el (word-search-regexp): Match whitespace if the search
14240 string begins or ends in whitespace. The LAX arg is applied to
14241 both ends of the search string. Use `regexp-quote' and explicit
14242 \< and \> instead of \b. Use \` and \' instead of ^ and $.
14243 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
14244 boundaries are replaced with symbol boundaries, and characters
14245 between symbols match non-word non-symbol syntax. (Bug#14602)
14246
14247 2013-06-13 Juri Linkov <juri@jurta.org>
14248
14249 * isearch.el (isearch-del-char): Don't exceed the length of
14250 `isearch-string' by the prefix arg. (Bug#14563)
14251
14252 2013-06-13 Juri Linkov <juri@jurta.org>
14253
14254 * isearch.el (isearch-yank-word, isearch-yank-line)
14255 (isearch-char-by-name, isearch-quote-char)
14256 (isearch-printing-char, isearch-process-search-char):
14257 Add optional count prefix arg. (Bug#14563)
14258
14259 * international/isearch-x.el
14260 (isearch-process-search-multibyte-characters):
14261 Add optional count prefix arg.
14262
14263 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
14264
14265 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
14266 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
14267 lexical-binding.
14268
14269 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
14270
14271 * subr.el (set-temporary-overlay-map): Add on-exit argument.
14272
14273 2013-06-13 Glenn Morris <rgm@gnu.org>
14274
14275 * startup.el (tty-handle-args):
14276 Don't just discard "--" and anything after. (Bug#14608)
14277
14278 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
14279
14280 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
14281
14282 Implement changes in Secret Service API. Make it backward compatible.
14283 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
14284 (secrets-create-item): Use it. Prefix properties with interface.
14285
14286 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
14287
14288 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
14289 (term-emulate-terminal): Respect term-suppress-hard-newline.
14290
14291 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
14292
14293 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
14294 Only remove a `thumb-file' overlay. (Bug#14548)
14295
14296 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
14297
14298 * mail/reporter.el (reporter-submit-bug-report):
14299 Handle missing package-name. (Bug#14600)
14300
14301 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14302
14303 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
14304 (reftex-citation-prompt, reftex-default-bibliography)
14305 (reftex-bib-or-thebib, reftex-get-bibfile-list)
14306 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
14307 (reftex-bib-sort-author, reftex-bib-sort-year)
14308 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
14309 (reftex-extract-bib-entries-from-thebibliography)
14310 (reftex-get-bibkey-default, reftex-get-bib-names)
14311 (reftex-parse-bibtex-entry, reftex-get-bib-field)
14312 (reftex-format-bib-entry, reftex-parse-bibitem)
14313 (reftex-format-bibitem, reftex-do-citation)
14314 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
14315 (reftex-restrict-bib-matches, reftex-extract-bib-file)
14316 (reftex-insert-bib-matches, reftex-format-citation)
14317 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
14318 (reftex-create-bibtex-file): Add docstrings, mostly by converting
14319 existing comments into docstrings.
14320
14321 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
14322
14323 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
14324
14325 2013-06-12 Andreas Schwab <schwab@suse.de>
14326
14327 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
14328 for auto-save files.
14329
14330 2013-06-12 Glenn Morris <rgm@gnu.org>
14331
14332 * ido.el (ido-delete-ignored-files): Remove.
14333 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
14334 Go back to calling ido-ignore-item-p directly.
14335
14336 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
14337
14338 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
14339
14340 * ido.el (ido-delete-ignored-files): New function,
14341 split from ido-make-file-list-1.
14342 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
14343 (ido-make-file-list-1): Use ido-delete-ignored-files.
14344
14345 2013-06-12 Leo Liu <sdl.web@gmail.com>
14346
14347 * progmodes/octave.el (inferior-octave-startup)
14348 (inferior-octave-completion-table)
14349 (inferior-octave-track-window-width-change)
14350 (octave-eldoc-function-signatures, octave-help)
14351 (octave-find-definition): Use single quoted strings.
14352 (inferior-octave-startup-args): Change default value.
14353 (inferior-octave-startup): Do not hard code "-i" and
14354 "--no-line-editing".
14355 (inferior-octave-resync-dirs): Add optional arg NOERROR.
14356 (inferior-octave-directory-tracker): Use it.
14357 (octave-goto-function-definition): Robustify.
14358 (octave-help): Support highlighting operators in 'See also'.
14359 (octave-find-definition): Find subfunctions only in Octave mode.
14360
14361 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
14362
14363 * help-fns.el (help-fns--compiler-macro): If the handler function is
14364 named, then put a link to it.
14365 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
14366 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
14367 (cl-typep): Use it.
14368 (cl-eval-when): Simplify debug spec.
14369 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
14370 compiler-macro function instead of setting `compiler-macro-file'.
14371
14372 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
14373
14374 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
14375 * vc/vc-hooks.el (vc-stay-local): Doc fix.
14376
14377 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
14378 Daniel Hackney <dan@haxney.org>
14379
14380 First part of Daniel Hackney's patch to package.el.
14381 * emacs-lisp/package.el: Use defstruct.
14382 (package-desc): New, main struct.
14383 (package--bi-desc, package--ac-desc): New structs, used to describe the
14384 format in external files.
14385 (package-desc-vers): Replace with package-desc-version accessor.
14386 (package-desc-doc): Replace with package-desc-summary accessor.
14387 (package-activate-1): Remove `package' arg since the pkg-vec now
14388 includes the name.
14389 (define-package): Use package-desc-from-define.
14390 (package-unpack-single): Change file-name arg to be a symbol.
14391 (package--add-to-archive-contents): Use package-desc-create and new
14392 accessor functions to package--ac-desc.
14393 (package-buffer-info, package-tar-file-info): Return a package-desc.
14394 (package-install-from-buffer): Remove `type' argument. Change pkg-info
14395 arg to be a package-desc.
14396 (package-install-file): Adjust accordingly. Use \' to match EOS.
14397 (package--from-builtin): New function.
14398 (describe-package-1, package-menu--generate): Use it.
14399 (package--make-autoloads-and-compile): Change name arg to be a symbol.
14400 (package-generate-autoloads): Idem and return the name of the file.
14401 * emacs-lisp/package-x.el (package-upload-buffer-internal):
14402 Change pkg-info arg to be a package-desc.
14403 Use package-make-ac-desc.
14404 (package-upload-file): Use \' to match EOS.
14405 * finder.el (finder-compile-keywords): Use package-make-builtin.
14406
14407 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
14408
14409 * vc/vc.el (vc-deduce-fileset): Change error message.
14410 (vc-read-backend): New function.
14411 (vc-next-action): Use it.
14412
14413 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
14414
14415 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
14416 (prolog-font-lock-keywords): Use regexp-opt instead.
14417 Don't manually highlight strings.
14418 (prolog-mode-variables): Simplify comment-start-skip.
14419 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
14420
14421 * emacs-lisp/generic.el (generic--normalise-comments)
14422 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
14423 (generic-mode-set-comments): Use them.
14424 (generic-bracket-support): Use setq-local.
14425 (generic-make-keywords-list): Declare obsolete.
14426
14427 2013-06-11 Glenn Morris <rgm@gnu.org>
14428
14429 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
14430 Prettify after setting font-lock-defaults. (Bug#14574)
14431
14432 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
14433
14434 * replace.el (query-replace, occur-read-regexp-defaults-function)
14435 (replace-search):
14436 * subr.el (declare-function, number-sequence, local-set-key)
14437 (substitute-key-definition, locate-user-emacs-file)
14438 (with-silent-modifications, split-string, eval-after-load):
14439 Fix typos, remove unneeded backslashes and reflow some docstrings.
14440
14441 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
14442
14443 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
14444 default for Elisp files.
14445
14446 2013-06-11 Glenn Morris <rgm@gnu.org>
14447
14448 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
14449 although define-derived-mode was doing this anyway. (Bug#14583)
14450
14451 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
14452
14453 * allout.el (allout-encryption-plaintext-sanitization-regexps):
14454 Fix make-variable-buffer-local call to refer to the correct variable.
14455
14456 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
14457
14458 * eshell/em-term.el (eshell-visual-commands)
14459 (eshell-visual-subcommands, eshell-visual-options):
14460 Add summary line to docstrings. Add cross-references.
14461
14462 2013-06-10 Glenn Morris <rgm@gnu.org>
14463
14464 * epa.el (epa-read-file-name): New function. (Bug#14510)
14465 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
14466
14467 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
14468
14469 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
14470 output redirection to be ignored with visual commands.
14471
14472 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
14473
14474 * eshell/em-term.el (eshell-visual-command-p): New function.
14475 (eshell-term-initialize): Move long lambda to separate function
14476 eshell-visual-command-p.
14477 * eshell/em-dirs.el (eshell-dirs-initialize):
14478 * eshell/em-script.el (eshell-script-initialize):
14479 Add missing #' to lambda.
14480
14481 2013-06-08 Leo Liu <sdl.web@gmail.com>
14482
14483 * progmodes/octave.el (octave-add-log-current-defun): New function.
14484 (octave-mode): Set add-log-current-defun-function.
14485 (octave-goto-function-definition): Do not move point if not found.
14486 (octave-find-definition): Enhance to try subfunctions first.
14487
14488 2013-06-08 Glenn Morris <rgm@gnu.org>
14489
14490 * emacs-lisp/bytecomp.el (byte-compile-char-before)
14491 (byte-compile-backward-char, byte-compile-backward-word):
14492 Improve previous change, to handle non-explicit nil.
14493
14494 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
14495
14496 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
14497 (smie--opener/closer-at-point): New function.
14498 (smie--matching-block-data): Use it. Don't match from right after an
14499 opener or right before a closer. Obey smie-blink-matching-inners.
14500 Don't signal a mismatch for repeated inners like "switch..case..case".
14501
14502 2013-06-07 Leo Liu <sdl.web@gmail.com>
14503
14504 * progmodes/octave.el (octave-mode): Set comment-use-global-state
14505 to t. (Bug#14303)
14506 (octave-function-header-regexp): Fix. (Bug#14570)
14507 (octave-help-mode-finish-hook, octave-help-mode-finish):
14508 Remove. Just use temp-buffer-show-hook.
14509
14510 * newcomment.el (comment-search-backward): Revert last change.
14511 (Bug#14434)
14512
14513 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
14514
14515 2013-06-07 Eli Zaretskii <eliz@gnu.org>
14516
14517 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
14518 through xargs, to avoid failure due to MS-Windows limitations on
14519 command-line length.
14520
14521 2013-06-06 Glenn Morris <rgm@gnu.org>
14522
14523 * font-lock.el (lisp-font-lock-keywords-2):
14524 Treat user-error like error.
14525
14526 * emacs-lisp/bytecomp.el (byte-compile-char-before)
14527 (byte-compile-backward-char, byte-compile-backward-word):
14528 Handle explicit nil arguments. (Bug#14565)
14529
14530 2013-06-05 Alan Mackenzie <acm@muc.de>
14531
14532 * isearch.el (isearch-allow-prefix): New user option.
14533 (isearch-other-meta-char): Don't exit isearch when a prefix
14534 argument is typed whilst `isearch-allow-prefix' is non-nil.
14535 (Bug#9706)
14536
14537 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14538
14539 * autorevert.el (auto-revert-notify-handler): Use memq.
14540 Hide assertion failure.
14541
14542 * skeleton.el: Use cl-lib.
14543 (skeleton-further-elements): Use defvar-local.
14544 (skeleton-insert): Use cl-progv.
14545
14546 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14547
14548 * progmodes/prog-mode.el (prog-prettify-symbols)
14549 (prog-prettify-install): Update docstrings.
14550
14551 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14552
14553 * simple.el: Move all the prog-mode code to prog-mode.el.
14554 * progmodes/prog-mode.el: New file.
14555 * loadup.el: Add prog-mode.el.
14556
14557 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14558
14559 * simple.el (prog-prettify-symbols): Add version.
14560 (prog-prettify-install): Add convenience function to prettify symbols.
14561
14562 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
14563 (perl--augmented-font-lock-keywords-1)
14564 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
14565 variables and use it.
14566
14567 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14568 (cfengine3-mode): Remove unneeded variable and use it.
14569
14570 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14571 (lisp--augmented-font-lock-keywords-1)
14572 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
14573 Remove unneeded variables and use it.
14574
14575 2013-06-05 João Távora <joaotavora@gmail.com>
14576
14577 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
14578 to point when opening the connection. (Bug#14380)
14579
14580 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14581
14582 * subr.el (load-history-regexp, load-history-filename-element)
14583 (eval-after-load, after-load-functions, do-after-load-evaluation)
14584 (eval-next-after-load, display-delayed-warnings)
14585 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
14586 definition of save-match-data.
14587 (overriding-local-map): Remove accidental obsolescence declaration.
14588
14589 * emacs-lisp/edebug.el (edebug-result): Move before first use.
14590
14591 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
14592
14593 Generalize symbol prettify support to prog-mode and implement it
14594 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
14595 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
14596 (prog--prettify-font-lock-compose-symbol)
14597 (prog-prettify-font-lock-symbols-keywords): New variables and
14598 functions to support symbol prettification.
14599 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
14600 (lisp--augmented-font-lock-keywords-1)
14601 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
14602 (lisp--prettify-symbols-alist): Implement prettify of lambda.
14603 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
14604 (cfengine3--prettify-symbols-alist, cfengine3-mode):
14605 Implement prettify of -> => :: strings.
14606 * progmodes/perl-mode.el (perl-prettify-symbols)
14607 (perl--font-lock-compose-symbol)
14608 (perl--font-lock-symbols-keywords): Move to prog-mode.
14609 (perl--prettify-symbols-alist): Prettify -> => :: strings.
14610 (perl-font-lock-keywords-1)
14611 (perl-font-lock-keywords-2): Remove explicit prettify support.
14612 (perl--augmented-font-lock-keywords)
14613 (perl--augmented-font-lock-keywords-1)
14614 (perl--augmented-font-lock-keywords-2, perl-mode):
14615 Implement prettify support.
14616
14617 2013-06-05 Leo Liu <sdl.web@gmail.com>
14618
14619 Re-implement SMIE matching block highlight using
14620 show-paren-data-function. (Bug#14395)
14621 * emacs-lisp/smie.el (smie-matching-block-highlight)
14622 (smie--highlight-matching-block-overlay)
14623 (smie--highlight-matching-block-lastpos)
14624 (smie-highlight-matching-block)
14625 (smie-highlight-matching-block-mode): Remove.
14626 (smie--matching-block-data-cache): New variable.
14627 (smie--matching-block-data): New function.
14628 (smie-setup): Use smie--matching-block-data for
14629 show-paren-data-function.
14630
14631 * progmodes/octave.el (octave-mode-menu): Fix.
14632 (octave-find-definition): Skip garbage lines.
14633
14634 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14635
14636 Fix compilation error with simultaneous dynamic+lexical scoping.
14637 Add warning when a defvar appears after the first let-binding.
14638 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
14639 (byte-compile-close-variables): Initialize it.
14640 (byte-compile--declare-var): New function.
14641 (byte-compile-file-form-defvar)
14642 (byte-compile-file-form-define-abbrev-table)
14643 (byte-compile-file-form-custom-declare-variable): Use it.
14644 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
14645 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
14646 (byte-compile-bind): Handle dynamic bindings that shadow
14647 lexical bindings.
14648 (byte-compile-unbind): Make arg non-optional.
14649 (byte-compile-let): Simplify.
14650 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
14651 (cconv--analyse-function, cconv-analyse-form): Populate it.
14652 Protect byte-compile-bound-variables to limit the scope of defvars.
14653 (cconv-analyse-form): Add missing rule for (defvar <foo>).
14654 Remove unneeded rule for `declare'.
14655
14656 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
14657 so as to avoid depending on cl-adjoin at run-time.
14658 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
14659
14660 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
14661 (macroexp--warn-and-return): Use it.
14662
14663 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14664
14665 * subr.el: Convert to lexical binding.
14666 (overriding-local-map): Make obsolete.
14667 (add-to-list): Doc fix. Add compiler macro.
14668 (read-key): Swap values of local maps.
14669
14670 2013-06-05 Leo Liu <sdl.web@gmail.com>
14671
14672 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
14673
14674 2013-06-04 Leo Liu <sdl.web@gmail.com>
14675
14676 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
14677 (compilation-auto-jump): Suppress the "Mark set" message to give
14678 way to exit message.
14679
14680 2013-06-04 Alan Mackenzie <acm@muc.de>
14681
14682 Remove faulty optimisation from indentation calculation.
14683 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
14684 search limit based on 2000 characters back from indent-point.
14685
14686 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14687
14688 * eshell/em-term.el (cl-lib): Require `cl-lib'.
14689
14690 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
14691
14692 * emacs-lisp/lisp.el: Use lexical-binding.
14693 (lisp--local-variables-1, lisp--local-variables): New functions.
14694 (lisp--local-variables-completion-table): New var.
14695 (lisp-completion-at-point): Use it complete let-bound vars.
14696
14697 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
14698 eagerly (bug#14422).
14699
14700 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
14701
14702 * autorevert.el (auto-revert-notify-enabled)
14703 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14704 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
14705 (auto-revert-notify-handler): Handle also gfilenotify.
14706
14707 * subr.el (file-notify-handle-event): New defun. Replacing ...
14708 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
14709 Remove.
14710
14711 2013-06-03 Juri Linkov <juri@jurta.org>
14712
14713 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
14714 `M-s h .'. (Bug#14427)
14715
14716 * hi-lock.el (highlight-symbol-at-point): New alias for the new
14717 command `hi-lock-face-symbol-at-point'.
14718 (hi-lock-face-symbol-at-point): New command.
14719 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
14720 (hi-lock-menu): Add `highlight-symbol-at-point'.
14721 (hi-lock-mode): Doc fix.
14722
14723 * isearch.el (isearch-forward-symbol-at-point): New command.
14724 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
14725 (isearch-highlight-regexp): Add a regexp which matches
14726 words/symbols for word/symbol mode.
14727
14728 * subr.el (find-tag-default-bounds): New function with the body
14729 mostly moved from `find-tag-default'.
14730 (find-tag-default): Move most code to `find-tag-default-bounds',
14731 call it and apply `buffer-substring-no-properties' afterwards.
14732
14733 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14734
14735 * eshell/em-term.el (eshell-term-initialize):
14736 Use `cl-intersection' rather than `intersection'.
14737
14738 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
14739
14740 * vc/log-view.el: Doc fix.
14741 (log-view-mode-map): Copy keymap from `special-mode-map'.
14742
14743 2013-06-02 Eric Ludlam <zappo@gnu.org>
14744
14745 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14746 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14747 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14748 (eieio-unbound, eieio-default-superclass)
14749 (eieio--define-field-accessors, method-static, method-before)
14750 (method-primary, method-after, method-num-lists)
14751 (method-generic-before, method-generic-primary)
14752 (method-generic-after, method-num-slots)
14753 (eieio-specialized-key-to-generic-key)
14754 (eieio--check-type, class-v, class-p)
14755 (eieio-class-name, define-obsolete-function-alias)
14756 (eieio-class-parents-fast, eieio-class-children-fast)
14757 (same-class-fast-p, class-constructor, generic-p)
14758 (generic-primary-only-p, generic-primary-only-one-p)
14759 (class-option-assoc, class-option, eieio-object-p)
14760 (class-abstract-p, class-method-invocation-order)
14761 (eieio-defclass-autoload-map, eieio-defclass-autoload)
14762 (eieio-class-un-autoload, eieio-defclass)
14763 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14764 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14765 (eieio--defgeneric-init-form, eieio-defgeneric-form)
14766 (eieio-defgeneric-reset-generic-form)
14767 (eieio-defgeneric-form-primary-only)
14768 (eieio-defgeneric-reset-generic-form-primary-only)
14769 (eieio-defgeneric-form-primary-only-one)
14770 (eieio-defgeneric-reset-generic-form-primary-only-one)
14771 (eieio-unbind-method-implementations)
14772 (eieio--defmethod, eieio--typep)
14773 (eieio-perform-slot-validation, eieio-validate-slot-value)
14774 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14775 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14776 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14777 (eieio-slot-name-index, eieio-class-slot-name-index)
14778 (eieio-set-defaults, eieio-initarg-to-attribute)
14779 (eieio-attribute-to-initarg, eieio-c3-candidate)
14780 (eieio-c3-merge-lists, eieio-class-precedence-c3)
14781 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14782 (eieio-class-precedence-list, eieio-generic-call-methodname)
14783 (eieio-generic-call-arglst, eieio-generic-call-key)
14784 (eieio-generic-call-next-method-list)
14785 (eieio-pre-method-execution-functions, eieio-generic-call)
14786 (eieio-generic-call-primary-only, eieiomt-method-list)
14787 (eieiomt-optimizing-obarray, eieiomt-install)
14788 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14789 (eieio-generic-form, eieio-defmethod, make-obsolete)
14790 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14791 (defclass): Remove `eval-and-compile' from macro.
14792 (call-next-method, shared-initialize): Instead of using
14793 `scoped-class' variable, use new eieio--scoped-class, and
14794 eieio--with-scoped-class.
14795 (initialize-instance): Rename local variable 'scoped-class' to
14796 'this-class' to remove ambiguitity from old global.
14797
14798 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14799 eieio.el.
14800 (eieio--scoped-class-stack): New variable.
14801 (eieio--scoped-class): New fcn.
14802 (eieio--with-scoped-class): New scoping macro.
14803 (eieio-defclass): Use pushnew instead of add-to-list.
14804 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14805 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14806 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14807 `scoped-class' variable, use new eieio--scoped-class, and
14808 eieio--with-scoped-class.
14809
14810 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14811
14812 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14813
14814 * eshell/esh-ext.el (eshell-external-command): Pass args to
14815 `eshell-find-interpreter'.
14816 (eshell-find-interpreter): Add new second parameter ARGS.
14817
14818 * eshell/em-script.el (eshell-script-initialize): Add second arg
14819 to the function added as MATCH to `eshell-interpreter-alist'.
14820
14821 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14822 the function added as MATCH to `eshell-interpreter-alist'.
14823
14824 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14825 (eshell-visual-options): New defcustom.
14826 (eshell-escape-control-x): Adapt docstring.
14827 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14828 `eshell-visual-options' in addition to `eshell-visual-commands'.
14829 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14830
14831 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14832
14833 * progmodes/python.el (python-indent-block-enders): Add break,
14834 continue and raise keywords.
14835
14836 2013-06-01 Glenn Morris <rgm@gnu.org>
14837
14838 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14839
14840 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14841 * progmodes/cc-cmds.el (delete-forward-p):
14842 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14843 * progmodes/cc-engine.el (buffer-syntactic-context):
14844 * progmodes/cc-fonts.el (face-property-instance):
14845 * progmodes/cc-mode.el (set-keymap-parents):
14846 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14847 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14848 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14849 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14850 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14851
14852 * progmodes/cc-vars.el (other): Emacs has this widget since
14853 at least 21.1, so don't (re)define it.
14854
14855 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14856 Replace the obsolete alias pcomplete-arg-quote-list.
14857
14858 2013-06-01 Leo Liu <sdl.web@gmail.com>
14859
14860 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14861 punctuation syntax.
14862 (inferior-octave-minimal-columns)
14863 (inferior-octave-last-column-width): New variables.
14864 (inferior-octave-track-window-width-change): New function.
14865 (inferior-octave-mode): Adjust column width so that Octave output,
14866 for example from 'ls', can fit into the window nicely.
14867
14868 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14869
14870 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14871 Highlight expansions inside regexp literals.
14872
14873 2013-05-31 Glenn Morris <rgm@gnu.org>
14874
14875 * obsolete/sym-comp.el (symbol-complete):
14876 Replace obsolete completion-annotate-function.
14877
14878 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14879
14880 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14881
14882 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14883 New function, checks if point is inside a literal that allows
14884 expression expansion.
14885 (ruby-syntax-propertize-expansion): Use it.
14886 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14887 around the body.
14888
14889 2013-05-30 Juri Linkov <juri@jurta.org>
14890
14891 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14892 to "\M-si".
14893 (isearch-invisible): New variable.
14894 (isearch-forward): Doc fix.
14895 (isearch-mode): Set `isearch-invisible'
14896 to the value of `search-invisible'.
14897 (isearch-toggle-case-fold): Doc fix.
14898 (isearch-toggle-invisible): New command.
14899 (isearch-query-replace): Let-bind `search-invisible'
14900 to the value of `isearch-invisible'.
14901 (isearch-search): Use `isearch-invisible' instead of
14902 `search-invisible'. Let-bind `search-invisible'
14903 to the value of `isearch-invisible'. (Bug#11378)
14904
14905 2013-05-30 Juri Linkov <juri@jurta.org>
14906
14907 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14908 call when `query-flag' is nil and `search-invisible' is non-nil.
14909 (Bug#11746)
14910
14911 2013-05-30 Glenn Morris <rgm@gnu.org>
14912
14913 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14914
14915 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14916 (cc-require): Suppress spurious "noruntime" warnings.
14917 (cc-require-when-compile): Use fboundp, for sake of compiler.
14918
14919 * progmodes/cc-mode.el: Move load of cc-vars before that of
14920 cc-langs (which in turn loads cc-vars), to quieten compiler.
14921
14922 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14923
14924 * paren.el: Simplify the code.
14925 (show-paren-mode): Always start the timer.
14926 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14927 (show-paren--overlay, show-paren--overlay-1): Rename from
14928 show-paren-overlay and show-paren-overlay-1, and initialize to an
14929 overlay rather than to nil.
14930 (show-paren-function): Misc cleanup and simplifications.
14931
14932 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14933
14934 * paren.el (show-paren-data-function): New hook.
14935 (show-paren--default): New function, extracted from show-paren-function.
14936 (show-paren-function): Use show-paren-data-function.
14937
14938 2013-05-30 Glenn Morris <rgm@gnu.org>
14939
14940 * ielm.el (ielm-map, ielm-complete-symbol):
14941 Use completion-at-point rather than obsolete functions.
14942 (inferior-emacs-lisp-mode): Doc fix.
14943 Set completion-at-point-functions, rather than
14944 comint-dynamic-complete-functions.
14945
14946 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14947 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14948 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14949
14950 * image.el (image-animated-p): Tweak definition.
14951
14952 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14953 (rlogin-process-connection-type): Tweak default. Add set-after.
14954 (rlogin-host): Doc fix.
14955 (rlogin): Tweak prompt.
14956 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14957
14958 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14959 * progmodes/tcl.el (inferior-tcl-mode-map):
14960 Use completion-at-point rather than obsolete alias.
14961
14962 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14963
14964 * minibuffer.el (read-file-name-completion-ignore-case):
14965 Move before completion--in-region, for eager macro expansion.
14966
14967 2013-05-29 Juri Linkov <juri@jurta.org>
14968
14969 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14970 for total count of matching lines. Add `global-matches' for total
14971 count of matches. Rename `matches' to `lines' for count of
14972 matching lines. Add `matches' for count of matches.
14973 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14974 to `prev-line' for line number of prev match endpt.
14975 Increment `matches' for every match. Print the number of
14976 matching lines in the header.
14977 (occur-context-lines): Rename `lines' to `curr-line'.
14978 Rename `prev-lines' to `prev-line'. (Bug#14017)
14979
14980 2013-05-29 Juri Linkov <juri@jurta.org>
14981
14982 * replace.el (perform-replace): Add `skip-read-only-count',
14983 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14984 Increment them for corresponding conditions and report the number
14985 of skipped occurrences in the final message. (Bug#11746)
14986 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14987 (replace-string, replace-regexp): Doc fix.
14988
14989 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14990
14991 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14992
14993 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14994 prog-mode-map (bug#14504).
14995
14996 2013-05-29 Leo Liu <sdl.web@gmail.com>
14997
14998 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14999 (octave-help): Small simplification.
15000
15001 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
15002 off the highlight first.
15003
15004 2013-05-29 Glenn Morris <rgm@gnu.org>
15005
15006 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
15007 Handle idlwave-last-system-routine-info-cons-cell being nil.
15008
15009 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15010 (idlwave-write-paths): Simplify via with-temp-buffer.
15011
15012 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
15013 * emulation/cua-rect.el: Also load cua-base at run time.
15014
15015 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
15016 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
15017 (cperl-imenu-on-info): Require imenu.
15018
15019 2013-05-28 Alan Mackenzie <acm@muc.de>
15020
15021 Handle "capitalised keywords" correctly.
15022 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
15023
15024 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
15025
15026 * eshell/em-unix.el: Add -r option to cp.
15027
15028 2013-05-28 Glenn Morris <rgm@gnu.org>
15029
15030 * vc/vc-arch.el (vc-exec-after): Declare.
15031 (vc-switches): Autoload.
15032 * vc/vc-bzr.el: No need to require vc when compiling.
15033 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
15034 (vc-resynch-buffer, vc-dir-refresh): Declare.
15035 (vc-setup-buffer, vc-switches): Autoload.
15036 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
15037 (vc-resynch-buffer): Declare.
15038 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
15039 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
15040 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
15041 (grep-read-regexp, grep-read-files, grep-expand-template)
15042 (vc-dir-refresh): Declare.
15043 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
15044 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
15045 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
15046 * vc/vc-mtn.el (vc-exec-after): Declare.
15047 (vc-switches): Autoload.
15048 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
15049 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
15050 (vc-file-tree-walk): Declare.
15051 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
15052 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
15053 (vc-tag-precondition, vc-rename-master): Autoload.
15054 * vc/vc-svn.el (vc-exec-after): Declare.
15055 (vc-switches, vc-setup-buffer): Autoload.
15056 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
15057 Autoload.
15058 (vc-resynch-buffer): Declare.
15059
15060 * obsolete/fast-lock.el (byte-compile-warnings):
15061 Don't warn about obsolete features in this obsolete file.
15062
15063 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
15064 Move definition before use.
15065
15066 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
15067 (dun-unix-verbs): Remove dun-zippy.
15068 (dun-zippy): Remove function.
15069
15070 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
15071
15072 2013-05-27 Juri Linkov <juri@jurta.org>
15073
15074 * replace.el (replace-search): New function with code moved out
15075 from `perform-replace'.
15076 (replace-highlight, replace-dehighlight): Move function definitions
15077 up closer to `replace-search'. (Bug#11746)
15078
15079 2013-05-27 Juri Linkov <juri@jurta.org>
15080
15081 * replace.el (perform-replace): Ignore invisible matches.
15082 In addition to checking `query-replace-skip-read-only', also
15083 filter out matches by calling `run-hook-with-args-until-failure'
15084 on `isearch-filter-predicates', and also check `search-invisible'
15085 for t or call `isearch-range-invisible'.
15086 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
15087
15088 2013-05-27 Juri Linkov <juri@jurta.org>
15089
15090 * isearch.el (isearch-filter-predicates): Rename from
15091 `isearch-filter-predicate'. Doc fix. (Bug#11378)
15092 (isearch-message-prefix): Display text from the property
15093 `isearch-message-prefix' of the currently active filters.
15094 (isearch-search): Don't compare `isearch-filter-predicate' with
15095 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
15096 on `isearch-filter-predicates'. Also check `search-invisible' for t
15097 or call `isearch-range-invisible'.
15098 (isearch-filter-visible): Make obsolete.
15099 (isearch-lazy-highlight-search):
15100 Call `run-hook-with-args-until-failure' on
15101 `isearch-filter-predicates' and use `isearch-range-invisible'.
15102
15103 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
15104 `isearch-filter-predicates' instead of `funcall'ing
15105 `isearch-filter-predicate'.
15106 (Info-mode): Set `Info-isearch-filter' to
15107 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
15108
15109 * dired-aux.el (dired-isearch-filter-predicate-orig):
15110 Remove variable.
15111 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
15112 (dired-isearch-filenames-end): Add and remove
15113 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
15114 instead of changing the value of `isearch-filter-predicate'.
15115 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
15116 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
15117 Put property `isearch-message-prefix' to "filename " on
15118 `dired-isearch-filter-filenames'.
15119
15120 * wdired.el (wdired-change-to-wdired-mode):
15121 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
15122 locally instead of changing `isearch-filter-predicate'.
15123 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
15124
15125 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
15126
15127 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
15128 return the commit hash (Bug#14459). Also set the
15129 `vc-git-detached' property.
15130 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
15131 (vc-git-mode-line-string): Use the same help-echo format whether
15132 in detached mode or not, because we know the actual revision now.
15133 When in detached mode, shorten the revision to 7 chars.
15134
15135 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
15136
15137 * emacs-lisp/easy-mmode.el (define-minor-mode):
15138 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
15139 mode hook and provide a docstring.
15140
15141 2013-05-27 Alan Mackenzie <acm@muc.de>
15142
15143 Remove spurious syntax-table text properties inserted by C-y.
15144 * progmodes/cc-mode.el (c-after-change): Also clear hard
15145 syntax-table property with value nil.
15146
15147 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
15148
15149 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
15150 when reading the events; the buffer layout shall not be changed.
15151
15152 2013-05-27 Leo Liu <sdl.web@gmail.com>
15153
15154 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
15155 New variable.
15156 (inferior-octave-directory-tracker): Automatically re-sync
15157 default-directory.
15158 (octave-help): Improve handling of 'See also'.
15159
15160 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
15161
15162 * doc-view.el: Minor naming convention tweaks.
15163 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
15164
15165 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
15166 even if there's no `display' property yet (bug#14435).
15167
15168 2013-05-25 Eli Zaretskii <eliz@gnu.org>
15169
15170 * subr.el (unmsys--file-name): Rename from reveal-filename.
15171
15172 * Makefile.in (custom-deps, finder-data, autoloads)
15173 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15174 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15175 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
15176
15177 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
15178
15179 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
15180 error-completion on the first 2 args of condition-case (bug#14446).
15181 Don't burp at EOB.
15182
15183 2013-05-25 Leo Liu <sdl.web@gmail.com>
15184
15185 * comint.el (comint-previous-matching-input): Do not flood the
15186 *Messages* buffer with trivial messages.
15187
15188 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
15189
15190 * progmodes/flymake.el (flymake-nop): Don't return a string.
15191 (flymake-set-at): Fix typo.
15192
15193 * simple.el (read--expression): New function, extracted from
15194 eval-expression. Set completion-at-point-functions (bug#14465).
15195 (eval-expression, eval-minibuffer): Use it.
15196
15197 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
15198
15199 * progmodes/flymake.el (flymake-save-buffer-in-file)
15200 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
15201 (flymake-selected-frame, flymake-log, flymake-ins-after)
15202 (flymake-set-at, flymake-get-buildfile-from-cache)
15203 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
15204 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
15205 Refine the doc string.
15206 (flymake-get-file-name-mode-and-masks): Reformat.
15207 (flymake-get-real-file-name-function): Fix a minor bug.
15208
15209 2013-05-24 Juri Linkov <juri@jurta.org>
15210
15211 * progmodes/grep.el (grep-mode-font-lock-keywords):
15212 Support =linenumber= format used by git-grep for lines with
15213 function names. (Bug#13549)
15214
15215 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15216
15217 * progmodes/octave.el (octave-smie-rules): Return nil rather than
15218 0 after a semi-colon; it works better for smie-auto-fill.
15219 (octave--indent-new-comment-line): New function.
15220 (octave-indent-new-comment-line): Use it (indirectly).
15221 (octave-mode): Don't disable smie-auto-fill. Use add-function to
15222 modify comment-line-break-function.
15223
15224 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
15225 (smie-setup): Use add-function to set it.
15226
15227 2013-05-24 Sam Steingold <sds@gnu.org>
15228
15229 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
15230 argument (before the `interactive' argument).
15231
15232 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
15233
15234 * image-mode.el (image-mode-winprops): Add winprops to
15235 image-mode-winprops-alist before running
15236 image-mode-new-window-functions.
15237 * doc-view.el (doc-view-new-window-function): Don't delay
15238 doc-view-goto-page via timers (bug#14435).
15239
15240 2013-05-24 Tassilo Horn <tsdh@gnu.org>
15241
15242 * doc-view.el: Integrate with desktop.el. (Bug#14435)
15243 (doc-view-desktop-save-buffer): New function.
15244 (doc-view-restore-desktop-buffer): New function.
15245 (desktop-buffer-mode-handlers):
15246 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
15247 handler.
15248 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
15249 `desktop-save-buffer' function.
15250
15251 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
15252
15253 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
15254 (tramp-gvfs-file-name-handler): Raise a user error when
15255 `tramp-gvfs-enabled' is nil.
15256 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
15257 Do not raise a user error when loading package. (Bug#14447)
15258
15259 * net/xesam.el: Move to obsolete/.
15260
15261 2013-05-24 Glenn Morris <rgm@gnu.org>
15262
15263 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
15264
15265 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
15266
15267 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
15268 (Info-find-node, Man-getpage-in-background): Declare.
15269
15270 * mail/unrmail.el (unrmail):
15271 Replace obsolete detect-coding-with-priority.
15272
15273 * net/socks.el (socks-split-string): Use this rather than split-string.
15274 (socks-nslookup-host): Update for above change.
15275 (dynamic-choice, s5-dynamic-choice-match)
15276 (s5-dynamic-choice-match-inline, s5-widget-value-create):
15277 Comment out unused code.
15278
15279 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
15280 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
15281 (gud-tooltip-echo-area): Make obsolete.
15282 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
15283
15284 * progmodes/js.el (js--optimize-arglist): Declare.
15285
15286 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
15287
15288 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
15289 (ediff-window-C): Declare.
15290
15291 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
15292 Tweak requires to silence compiler.
15293
15294 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
15295 (he-search-string, he-tried-table, he-expand-list)
15296 (he-init-string, he-string-member, he-substitute-string)
15297 (he-reset-string): Declare.
15298
15299 * obsolete/options.el (list-options): Use custom-variable-p,
15300 rather than obsolete alias.
15301
15302 2013-05-23 Sam Steingold <sds@gnu.org>
15303
15304 * simple.el (shell-command-on-region): Pass the `replace' argument
15305 down to `call-process-region' to comply with the doc as reported on
15306 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
15307
15308 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
15309
15310 * emacs-lisp/smie.el (smie-indent-forward-token)
15311 (smie-indent-backward-token): Handle string tokens (bug#14381).
15312
15313 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15314
15315 * ielm.el (ielm-menu): New menu.
15316 (inferior-emacs-lisp-mode): Set comment-start.
15317
15318 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15319
15320 * textmodes/reftex.el (reftex-ref-style-toggle):
15321 Fix deactivate action.
15322
15323 * textmodes/reftex-vars.el (reftex-ref-style-alist):
15324 Add cleveref macros.
15325
15326 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
15327 Accept options for bibliography commands.
15328 * textmodes/reftex-vars.el (reftex-bibliography-commands):
15329 Add addbibresource. Basic Biblatex support.
15330
15331 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
15332
15333 * net/tramp-gvfs.el (top):
15334 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
15335 when loading package. (Bug#14447)
15336
15337 2013-05-23 Glenn Morris <rgm@gnu.org>
15338
15339 * progmodes/js.el: No need to load comint when compiling.
15340 (ring-insert, comint-send-string, comint-send-input)
15341 (comint-last-input-end, ido-chop): Declare.
15342
15343 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
15344 * vc/ediff-mult.el: Adjust requires.
15345 (ediff-directories-internal, ediff-directory-revisions-internal)
15346 (ediff-patch-file-internal): Declare.
15347 * vc/ediff-ptch.el: Adjust requires.
15348 (ediff-use-last-dir, ediff-buffers-internal): Declare.
15349 (ediff-find-file): Autoload.
15350 * vc/ediff-util.el: No need to load ediff when compiling.
15351 (ediff-regions-internal): Declare.
15352 * vc/ediff-wind.el: Adjust requires.
15353 (ediff-compute-toolbar-width): Define when compiling.
15354 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
15355 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
15356 (dired-get-filename, dired-get-marked-files)
15357 (ediff-last-dir-patch, ediff-patch-default-directory)
15358 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
15359 (ediff-patch-buffer-internal): Declare.
15360
15361 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
15362 (ispell-process, ispell-buffer-local-words, lm-summary)
15363 (lm-section-start, lm-section-end): Declare.
15364 (checkdoc-ispell-init): Simplify.
15365
15366 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
15367 (he-string-member, he-reset-string, he-substitute-string): Declare.
15368
15369 * eshell/em-ls.el: Adjust requires.
15370 (eshell-glob-regexp): Declare.
15371 * eshell/em-tramp.el: Adjust requires.
15372 (eshell-parse-command): Autoload.
15373 * eshell/em-xtra.el: Adjust requires.
15374 (eshell-parse-command): Autoload.
15375 * eshell/esh-ext.el: Adjust requires.
15376 (eshell-parse-command, eshell-close-handles): Autoload.
15377 * eshell/esh-io.el: Adjust requires.
15378 (eshell-output-filter): Autoload.
15379 * eshell/esh-util.el: No need to load tramp when compiling.
15380 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
15381 Declare.
15382 (eshell-parse-ange-ls): Require ange-ftp and tramp.
15383 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
15384 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
15385 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
15386 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
15387 * eshell/esh-opt.el, eshell/esh-proc.el:
15388 * eshell/esh-var.el: Adjust requires.
15389 * eshell/eshell.el: Do not require esh-util twice.
15390 (eshell-add-input-to-history): Declare.
15391 (eshell-command): Check history module is active before using it.
15392
15393 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
15394
15395 2013-05-22 Leo Liu <sdl.web@gmail.com>
15396
15397 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
15398
15399 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
15400
15401 * autorevert.el (auto-revert-notify-add-watch)
15402 (auto-revert-notify-handler): Add `attrib' for the inotify case,
15403 it indicates changes in file modification time.
15404
15405 2013-05-22 Glenn Morris <rgm@gnu.org>
15406
15407 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
15408 Always delete the autoloaded function from the noruntime and
15409 unresolved functions lists.
15410
15411 * allout.el: No need to load epa, epg, overlay when compiling.
15412 (epg-context-set-passphrase-callback, epg-list-keys)
15413 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
15414 (epg-key-user-id-list): Declare.
15415
15416 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15417 (viper-set-parsing-style-toggling-macro)
15418 (viper-set-emacs-state-searchstyle-macros):
15419 Use called-interactively-p on Emacs.
15420 (viper-looking-back): Make it an obsolete alias. Update callers.
15421 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
15422 Use looking-back rather than viper-looking-back.
15423 (viper-tmp-insert-at-eob, viper-enlarge-region)
15424 (viper-read-string-with-history, viper-register-to-point)
15425 (viper-append-to-register, viper-change-state-to-vi)
15426 (viper-backward-char-carefully, viper-forward-char-carefully)
15427 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
15428 (viper-change-state-to-emacs): Declare.
15429 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
15430 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
15431 * emulation/viper-mous.el: Do not load viper-cmd.
15432 (viper-backward-char-carefully, viper-forward-char-carefully)
15433 (viper-forward-word, viper-adjust-window): Declare.
15434
15435 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
15436
15437 * progmodes/idlw-help.el (idlwave-help-fontify):
15438 Use called-interactively-p.
15439
15440 * term/w32console.el (w32-get-console-codepage)
15441 (w32-get-console-output-codepage): Declare.
15442
15443 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
15444 Remove unnecessary declarations.
15445 (dframe-message): Doc fix.
15446
15447 * info.el (dframe-select-attached-frame, dframe-current-frame):
15448 Declare.
15449
15450 * speedbar.el (speedbar-message): Make it an obsolete alias.
15451 Update all callers.
15452 (speedbar-with-attached-buffer)
15453 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
15454 (speedbar-with-writable): Use backquote.
15455 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
15456 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
15457 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
15458 rather than speedbar- aliases.
15459 * mail/rmail.el: Load dframe rather than speedbar when compiling.
15460 (speedbar-make-specialized-keymap, speedbar-insert-button)
15461 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
15462 (speedbar-do-function-pointer): Declare.
15463 (rmail-speedbar-button, rmail-speedbar-find-file)
15464 (rmail-speedbar-move-message):
15465 Use dframe-with-attached-buffer rather than speedbar- alias.
15466 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
15467 (dframe-message, speedbar-make-specialized-keymap)
15468 (speedbar-add-expansion-list, speedbar-mode-functions-list)
15469 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
15470 (speedbar-insert-button, dframe-select-attached-frame)
15471 (dframe-maybee-jump-to-attached-frame)
15472 (speedbar-change-initial-expansion-list)
15473 (speedbar-previously-used-expansion-list-name): Declare.
15474 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
15475 Use dframe-message, dframe-with-attached-buffer rather than
15476 speedbar- aliases.
15477 (gud-sentinel): Silence compiler.
15478 * progmodes/vhdl-mode.el (speedbar-refresh)
15479 (speedbar-do-function-pointer, speedbar-add-supported-extension)
15480 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
15481 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
15482 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
15483 (speedbar-file-lists, speedbar-make-tag-line)
15484 (speedbar-line-directory, speedbar-goto-this-file)
15485 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
15486 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
15487 (speedbar-make-button, speedbar-reset-scanners)
15488 (speedbar-files-item-info, speedbar-line-text)
15489 (speedbar-find-file-in-frame, speedbar-set-timer)
15490 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
15491 (speedbar-with-writable): Do not (re)define it.
15492 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
15493 rather than speedbar- alias.
15494
15495 2013-05-21 Leo Liu <sdl.web@gmail.com>
15496
15497 * progmodes/octave.el (octave-mode-menu): Update and re-organize
15498 menu items.
15499 (octave-mode): Tweak fill-nobreak-predicate.
15500 (inferior-octave-startup): Check process to avoid infinite loop.
15501 (inferior-octave): Pop to buffer first to show abornmal process
15502 exit information.
15503
15504 2013-05-21 Glenn Morris <rgm@gnu.org>
15505
15506 * printing.el (pr-menu-bar): Define when compiling.
15507
15508 2013-05-21 Leo Liu <sdl.web@gmail.com>
15509
15510 * progmodes/octave.el (octave-auto-fill): Remove.
15511 (octave-indent-new-comment-line): Improve.
15512 (octave-mode): Use auto fill mode through
15513 comment-line-break-function and fill-nobreak-predicate.
15514 (octave-goto-function-definition): Support DEFUN_DLD.
15515 (octave-beginning-of-defun): Small tweak.
15516 (octave-help): Show parent directory.
15517
15518 2013-05-21 Glenn Morris <rgm@gnu.org>
15519
15520 * files.el (dired-unmark):
15521 * progmodes/gud.el (gdb-input): Update declarations.
15522
15523 * calculator.el (electric, ehelp): No need to load when compiling.
15524 (Electric-command-loop, electric-describe-mode): Declare.
15525
15526 * doc-view.el (doc-view-current-converter-processes): Move before use.
15527
15528 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
15529 Move MODE-set-explicitly definition before use.
15530
15531 * international/mule-diag.el (mule-diag):
15532 Don't use obsolete window-system-version.
15533
15534 * mail/feedmail.el (smtpmail): No need to load when compiling.
15535 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
15536
15537 * mail/mail-utils.el (rfc822): No need to load when compiling.
15538 (rfc822-addresses): Autoload it.
15539 (mail-strip-quoted-names): Trivial simplification.
15540
15541 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
15542 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
15543
15544 * net/snmp-mode.el (tempo): Don't duplicate requires.
15545
15546 * progmodes/prolog.el (info): No need to load when compiling.
15547 (comint): Require before shell requires it.
15548 (Info-goto-node): Autoload it.
15549 (Info-follow-nearest-node): Declare.
15550 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
15551
15552 * textmodes/artist.el (picture-mode-exit): Declare.
15553
15554 * textmodes/reftex-parse.el (reftex-parse-from-file):
15555 Trivial rewrite so the compiler can parse it better.
15556
15557 2013-05-20 Leo Liu <sdl.web@gmail.com>
15558
15559 * progmodes/octave.el (octave-help-mode-map)
15560 (octave-help-mode-finish-hook): New variables.
15561 (octave-help-mode, octave-help-mode-finish): New functions.
15562 (octave-help): Use octave-help-mode.
15563
15564 2013-05-20 Glenn Morris <rgm@gnu.org>
15565
15566 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
15567
15568 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
15569
15570 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
15571 start at point, so that expansion starting right after opening
15572 slash in a regexp is recognized.
15573 (ruby-syntax-before-regexp-re): New defvar, extracted from
15574 ruby-syntax-propertize-function. Since the value of this regexp
15575 is looked up at runtime now, we should be able to turn
15576 `ruby-syntax-methods-before-regexp' into a defcustom later.
15577 (ruby-syntax-propertize-function): Split regexp matching into two
15578 parts, for opening and closing slashes. That allows us to skip
15579 over string interpolations and support multiline regexps.
15580 Don't call `ruby-syntax-propertize-expansions', instead use another rule
15581 for them, which calls `ruby-syntax-propertize-expansion'.
15582 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
15583 call to `ruby-syntax-propertize-function'.
15584 (ruby-syntax-propertize-expansion): Extracted from
15585 `ruby-syntax-propertize-expansions'. Handles one expansion.
15586 (ruby-syntax-propertize-percent-literal): Leave point right after
15587 the percent symbol, so that the expression expansion rule can
15588 propertize the contents.
15589 (ruby-syntax-propertize-heredoc): Leave point at bol following the
15590 heredoc openers.
15591 (ruby-syntax-propertize-expansions): Remove.
15592
15593 2013-05-18 Juri Linkov <juri@jurta.org>
15594
15595 * man.el (Man-default-man-entry): Remove `-' from the end
15596 of the default value. (Bug#14400)
15597
15598 2013-05-18 Glenn Morris <rgm@gnu.org>
15599
15600 * comint.el (comint-password-prompt-regexp):
15601 Allow "password for XXX" where XXX contains colons (eg https://...).
15602
15603 2013-05-18 Leo Liu <sdl.web@gmail.com>
15604
15605 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
15606 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
15607 (octave-source-directories): Don't check process.
15608 (octave-source-directories, octave-find-definition): Doc fix.
15609
15610 2013-05-18 Glenn Morris <rgm@gnu.org>
15611
15612 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
15613 Remove backspace/delete bindings. (Bug#14392)
15614
15615 * cus-dep.el (custom-make-dependencies): Sort the output.
15616 (custom-versions-load-alist): Convert comment to doc.
15617
15618 2013-05-17 Leo Liu <sdl.web@gmail.com>
15619
15620 * newcomment.el (comment-search-backward): Stricter in finding
15621 comment start. (Bug#14303)
15622
15623 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
15624 (octave-comment-start-skip): Properly anchored.
15625
15626 2013-05-17 Leo Liu <sdl.web@gmail.com>
15627
15628 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
15629 Clean up when turned off. (Bug#14395)
15630 (smie--highlight-matching-block-overlay): No longer buffer-local.
15631 (smie-highlight-matching-block): Adjust.
15632
15633 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
15634
15635 Doc string fix for "nanoseconds" (Bug#14406).
15636 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
15637 Fix doc string typo that had "nanoseconds" instead of "microseconds".
15638
15639 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
15640
15641 * calc/calc-units.el (math-extract-units): Preserve powers
15642 of units.
15643
15644 2013-05-17 Leo Liu <sdl.web@gmail.com>
15645
15646 * subr.el (delete-consecutive-dups): New function.
15647 * ido.el (ido-set-matches-1): Use it.
15648 * progmodes/octave.el (inferior-octave-completion-table): Use it.
15649 * ido.el (ido-remove-consecutive-dups): Remove.
15650
15651 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
15652
15653 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
15654 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
15655 regexp-opt's `words'.
15656
15657 2013-05-16 Leo Liu <sdl.web@gmail.com>
15658
15659 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
15660 (smie--highlight-matching-block-overlay)
15661 (smie--highlight-matching-block-lastpos)
15662 (smie--highlight-matching-block-timer): New variables.
15663 (smie-highlight-matching-block): New function.
15664 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
15665 (smie-setup): Conditionally enable smie-blink-matching-open.
15666
15667 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
15668
15669 Sync with upstream verilog-mode r840.
15670 * progmodes/verilog-mode.el (verilog-mode-version)
15671 (verilog-mode-release-date): Update.
15672 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
15673 (verilog-sig-tieoff): Fix string error on
15674 AUTORESET with colon define, bug594. Reported by Andrew Hou.
15675 (verilog-read-decls): Fix parameters confusing
15676 AUTOINST interfaces, bug565. Reported by Leith Johnson.
15677
15678 2013-05-16 Eli Zaretskii <eliz@gnu.org>
15679
15680 * subr.el (reveal-filename): New function.
15681
15682 * loadup.el: Compute Emacs executable versions on MS-Windows,
15683 where executables have the .exe extension. Add a hard link
15684 emacs-XX.YY.ZZ.exe on MS-Windows.
15685
15686 * Makefile.in (XARGS_LIMIT): New variable.
15687 (custom-deps, finder-data, autoloads)
15688 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15689 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15690 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
15691 (compile-main): Limit xargs according to $(XARGS_LIMIT).
15692
15693 2013-05-16 Leo Liu <sdl.web@gmail.com>
15694
15695 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
15696 (octave-mode-menu, octave-mode-map): Remove its uses.
15697
15698 2013-05-16 Reto Zimmermann <reto@gnu.org>
15699
15700 Sync with upstream vhdl mode v3.34.2.
15701 * progmodes/vhdl-mode.el: Use `push' throughout.
15702 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
15703 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
15704 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
15705 (vhdl-actual-generic-name): New option to derive actual generic name.
15706 (vhdl-port-paste-signals): Replace formal by actual generics.
15707 (vhdl-beautify): New name for old group vhdl-align. Update users.
15708 (vhdl-beautify-options): New option.
15709 (vhdl-last-input-event): New compat alias. Use throughout.
15710 (vhdl-goto-line): Replace user level function `goto-line'.
15711 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
15712 vhdl-fix-statement-buffer.
15713 (vhdl-create-mode-menu): Add some entries.
15714 (vhdl-align-region-groups): Respect vhdl-beautify-options.
15715 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
15716 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
15717 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
15718 to force statements on one line.
15719 (vhdl-remove-trailing-spaces-region):
15720 New, split from vhdl-remove-trailing-spaces.
15721 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
15722 Respect vhdl-beautify-options.
15723 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
15724 (vhdl-update-sensitivity-list): Not add with index if exists without.
15725 Not include array index with signal. Ignore keywords in comments.
15726 (vhdl-get-visible-signals): Regexp tweaks.
15727 (vhdl-template-component-inst): Handle empty library.
15728 (vhdl-template-type): Add template for 'enum' type.
15729 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15730 Use vhdl-replace-string.
15731 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15732 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15733 (vhdl-speedbar-initialize): Update for above name change.
15734 (vhdl-compose-wire-components): Fix in handling of constants.
15735 (vhdl-error-regexp-emacs-alist): New variable.
15736 (vhdl-error-regexp-add-emacs): New function;
15737 adds support for new compile.el (Emacs 22+)
15738 (vhdl-generate-makefile-1): Change target order for single lib. units.
15739 Allow use of absolute file names.
15740
15741 2013-05-16 Leo Liu <sdl.web@gmail.com>
15742
15743 * simple.el (prog-indent-sexp): Indent enclosing defun.
15744
15745 2013-05-15 Glenn Morris <rgm@gnu.org>
15746
15747 * cus-start.el (show-trailing-whitespace): Move to editing basics.
15748 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15749 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15750 (whitespace-highlight): Move to whitespace group.
15751
15752 * comint.el (comint-source):
15753 * pcmpl-linux.el (pcmpl-linux):
15754 * shell.el (shell-faces):
15755 * eshell/esh-opt.el (eshell-opt):
15756 * international/ccl.el (ccl): Remove empty custom groups.
15757
15758 * completion.el (dynamic-completion-mode):
15759 * jit-lock.el (jit-lock-debug-mode):
15760 * minibuffer.el (completion-in-region-mode):
15761 * type-break.el (type-break-mode-line-message-mode)
15762 (type-break-query-mode):
15763 * emulation/tpu-edt.el (tpu-edt-mode):
15764 * progmodes/subword.el (global-subword-mode, global-superword-mode):
15765 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15766 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15767
15768 * term/xterm.el (xterm): Change parent group to terminals.
15769
15770 * master.el (master): Remove empty custom group.
15771 (master-mode): Remove unused :group argument.
15772 * textmodes/refill.el (refill): Remove empty custom group.
15773 (refill-mode): Remove unused :group argument.
15774
15775 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15776
15777 * cus-dep.el: Provide a feature.
15778 (custom-make-dependencies): Ignore dotfiles (dir-locals).
15779 Don't mistakenly ignore files whose basenames match a basename
15780 from preloaded-file-list (eg cedet/ede/simple.el).
15781 Add a fallback method for getting :group.
15782
15783 2013-05-15 Juri Linkov <juri@jurta.org>
15784
15785 * isearch.el (isearch-char-by-name): Rename from
15786 `isearch-insert-char-by-name'. Doc fix.
15787 (isearch-forward): Mention `isearch-char-by-name' in
15788 the docstring. (Bug#13348)
15789
15790 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15791 `exit-minibuffer' instead of
15792 `isearch-nonincremental-exit-minibuffer'.
15793 (isearch-edit-string): Remove mention of
15794 `isearch-nonincremental-exit-minibuffer' from docstring.
15795 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15796 (isearch-forward-exit-minibuffer)
15797 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15798
15799 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15800
15801 * loadup.el: Just use unversioned DOC.
15802
15803 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15804 literals as extending to EOB.
15805 (nxml-last-fontify-end): Remove unused variable.
15806 (nxml-after-change1): Use with-silent-modifications.
15807 (nxml-extend-after-change-region): Simplify.
15808 (nxml-extend-after-change-region1): Remove function.
15809 (nxml-after-change1): Don't adjust for dependent regions.
15810 (nxml-fontify-matcher): Simplify.
15811 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15812 (xmltok-add-dependent): Remove function.
15813 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15814 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15815 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15816 unclosed <[[, <?, comment, and other literals as extending to EOB.
15817 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15818 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15819 Remove functions.
15820 (rng-do-some-validation-1): Don't mark dependent regions.
15821 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15822 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15823 (nxml-clear-dependent-regions): Remove functions.
15824 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15825 (nxml-ensure-scan-up-to-date):
15826 Don't clear&mark dependent regions.
15827
15828 2013-05-15 Leo Liu <sdl.web@gmail.com>
15829
15830 * progmodes/octave.el (octave-goto-function-definition):
15831 Improve and fix callers.
15832
15833 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15834
15835 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15836 the setter (bug#14387).
15837
15838 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15839 surrounding group (bug#14402).
15840
15841 2013-05-14 Juri Linkov <juri@jurta.org>
15842
15843 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15844 (Bug#14390)
15845
15846 2013-05-14 Glenn Morris <rgm@gnu.org>
15847
15848 * progmodes/f90.el (f90-imenu-generic-expression):
15849 Fix typo in 2013-05-08 change. (Bug#14402)
15850
15851 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15852
15853 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15854 Remove signals for which replies are never received.
15855
15856 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15857
15858 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15859 (gdb-handler-alist, gdb-handler-number): Remove variables.
15860 (gdb-handler-list): New variable.
15861 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15862 (gdb-pending-handler-p, gdb-handle-reply)
15863 (gdb-remove-all-pending-triggers): New functions.
15864 (gdb-discard-unordered-replies): New defcustom.
15865 (gdb-handler): New defstruct.
15866 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15867 instead of gdb-pending-triggers. Update docstring.
15868 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15869 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15870 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15871 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15872 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15873 (gdb-frame-handler): Pending triggers are now automatically managed.
15874 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15875 Remove argument.
15876 (gdb-input): Automatically handles pending triggers. Update docstring.
15877 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15878 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15879 Update comments.
15880 (gdb-done-or-error): Now use gdb-handle-reply.
15881
15882 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15883
15884 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15885 gdb-debug-log.
15886
15887 2013-05-14 Glenn Morris <rgm@gnu.org>
15888
15889 * subr.el (user-emacs-directory-warning): New option.
15890 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15891
15892 2013-05-14 Leo Liu <sdl.web@gmail.com>
15893
15894 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15895 during redisplay.
15896 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15897 (octave-font-lock-texinfo-comment): Fix invalid search bound
15898 error: wrong side of point.
15899
15900 2013-05-14 Glenn Morris <rgm@gnu.org>
15901
15902 * progmodes/flymake.el (flymake-xml-program): New option.
15903 (flymake-xml-init): Use it.
15904
15905 * term/xterm.el: Provide a feature.
15906
15907 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15908
15909 2013-05-13 Glenn Morris <rgm@gnu.org>
15910
15911 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15912 Add compat aliases as a hack workaround. (Bug#14384)
15913
15914 2013-05-13 Leo Liu <sdl.web@gmail.com>
15915
15916 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15917 ###, and %!.
15918 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15919 C-M-q.
15920 (octave-comment-start-skip): Include %!.
15921 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15922
15923 2013-05-12 Leo Liu <sdl.web@gmail.com>
15924
15925 * progmodes/octave.el (inferior-octave-startup): Store the value
15926 of __octave_srcdir__ for octave-source-directories.
15927 (inferior-octave-check-process): New function refactored out of
15928 inferior-octave-send-list-and-digest.
15929 (octave-source-directories)
15930 (octave-find-definition-filename-function): New variables.
15931 (octave-source-directories)
15932 (octave-find-definition-default-filename): New functions.
15933 (octave-find-definition): Improve to find functions implemented in C++.
15934
15935 2013-05-12 Glenn Morris <rgm@gnu.org>
15936
15937 * calendar/diary-lib.el (diary-outlook-format-1):
15938 Don't include dayname in the output. (Bug#14349)
15939
15940 2013-05-11 Glenn Morris <rgm@gnu.org>
15941
15942 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15943
15944 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15945 Treat cc-provide like provide.
15946
15947 2013-05-11 Kevin Ryde <user42@zip.com.au>
15948
15949 * cus-dep.el (custom-make-dependencies):
15950 Use generated-autoload-load-name for the sake of files such
15951 such cedet/semantic/bovine/c.el, where the base file name
15952 is not in load-path. (Bug#5277)
15953
15954 2013-05-11 Glenn Morris <rgm@gnu.org>
15955
15956 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15957 Provide features.
15958
15959 2013-05-11 Leo Liu <sdl.web@gmail.com>
15960
15961 * progmodes/octave.el (octave-indent-comment): Improve.
15962 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15963 (octave-eldoc-function-signatures, octave-eldoc-function):
15964 New functions.
15965 (octave-mode, inferior-octave-mode): Add eldoc support.
15966
15967 2013-05-11 Richard Stallman <rms@gnu.org>
15968
15969 * epa.el (epa-decrypt-file): Take output file name as argument
15970 and read it using `interactive'.
15971
15972 2013-05-11 Leo Liu <sdl.web@gmail.com>
15973
15974 * progmodes/octave.el (octave-beginning-of-line)
15975 (octave-end-of-line): Check before using up-list because it jumps
15976 out of more syntactic contructs since moving to smie.
15977 (octave-indent-comment): New function.
15978 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15979 (octave-begin-keywords, octave-end-keywords)
15980 (octave-reserved-words, octave-smie-bnf-table)
15981 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15982
15983 2013-05-11 Glenn Morris <rgm@gnu.org>
15984
15985 * faces.el (internal-face-x-get-resource):
15986 * frame.el (ns-display-monitor-attributes-list):
15987 * calc/calc-aent.el (math-to-radians-2):
15988 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15989 Fix declarations.
15990
15991 * calc/calc-menu.el: Make it loadable in isolation.
15992
15993 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15994 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15995 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15996 (eudc-bbdb-query-internal): Require 'bbdb.
15997
15998 * lpr.el (lpr-headers-switches):
15999 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
16000
16001 * progmodes/sql.el (sql-login-params): Fix and improve :type.
16002
16003 * emulation/edt-mapper.el: In batch mode, error rather than hang.
16004
16005 * term.el (term-set-escape-char): Make it idempotent.
16006
16007 2013-05-10 Leo Liu <sdl.web@gmail.com>
16008
16009 * progmodes/octave.el (inferior-octave-completion-table):
16010 No longer a function and all uses changed. Use cache to speed up
16011 completion due to bug#11906.
16012 (octave-beginning-of-defun): Re-write to be more general.
16013
16014 2013-05-10 Glenn Morris <rgm@gnu.org>
16015
16016 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
16017
16018 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
16019
16020 * comint.el (comint-redirect-send-command-to-process): Use :around
16021 rather than :override for comint-redirect-filter.
16022 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
16023 Call it instead of comint-redirect-original-filter-function (which
16024 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
16025
16026 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
16027
16028 * frame.el (display-monitor-attributes-list): Add NS case.
16029 (ns-display-monitor-attributes-list): Declare.
16030
16031 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
16032
16033 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
16034
16035 2013-05-09 Glenn Morris <rgm@gnu.org>
16036
16037 * international/fontset.el (vertical-centering-font-regexp):
16038 Set standard-value.
16039
16040 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
16041
16042 * bookmark.el (bookmark-search-delay):
16043 * cus-start.el (vertical-centering-font-regexp):
16044 * ps-mule.el (ps-mule-font-info-database-default):
16045 * ps-print.el (ps-default-fg, ps-default-bg):
16046 * type-break.el (type-break-good-break-interval):
16047 * whitespace.el (whitespace-indentation-regexp)
16048 (whitespace-space-after-tab-regexp):
16049 * emacs-lisp/testcover.el (testcover-1value-functions)
16050 (testcover-noreturn-functions, testcover-progn-functions)
16051 (testcover-prog1-functions):
16052 * emulation/viper-init.el (viper-emacs-state-cursor-color):
16053 * eshell/em-glob.el (eshell-glob-translate-alist):
16054 * play/tetris.el (tetris-tty-colors):
16055 * progmodes/cpp.el (cpp-face-default-list):
16056 * progmodes/flymake.el (flymake-allowed-file-name-masks):
16057 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
16058 (idlwave-help-browser-generic-args):
16059 * progmodes/make-mode.el (makefile-special-targets-list):
16060 * progmodes/python.el (python-shell-virtualenv-path):
16061 * progmodes/verilog-mode.el (verilog-active-low-regexp)
16062 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
16063 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
16064 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
16065 * textmodes/reftex-vars.el (reftex-format-label-function):
16066 * textmodes/remember.el (remember-diary-file): Fix custom types.
16067
16068 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
16069 Add :version.
16070
16071 2013-05-09 Leo Liu <sdl.web@gmail.com>
16072
16073 * progmodes/octave.el (inferior-octave-completion-at-point):
16074 Restore file completion. (Bug#14300)
16075 (inferior-octave-startup): Fix incorrect highlighting for the
16076 first prompt.
16077
16078 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16079
16080 * progmodes/ruby-mode.el: First cut at SMIE support.
16081 (ruby-use-smie): New var.
16082 (ruby-smie-grammar): New constant.
16083 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
16084 (ruby-smie--forward-token, ruby-smie--backward-token)
16085 (ruby-smie-rules): New functions.
16086 (ruby-mode-variables): Setup SMIE if applicable.
16087
16088 2013-05-08 Eli Zaretskii <eliz@gnu.org>
16089
16090 * simple.el (line-move-visual): Signal beginning/end of buffer
16091 only if vertical-motion moved less than it was requested. Avoids
16092 silly incorrect error messages when there are display strings with
16093 multiple newlines at EOL.
16094
16095 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
16096
16097 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
16098 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
16099 (prolog-char-quote-workaround):
16100 * progmodes/cperl-mode.el (cperl-under-as-char):
16101 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
16102 Mark as obsolete.
16103 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
16104 their declaration.
16105 (vhdl-mode-syntax-table-init): Remove.
16106
16107 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
16108 last change.
16109
16110 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
16111 syntax for "_".
16112 (ld-script-font-lock-keywords):
16113 Change regexps to use things like \_< and \_>.
16114
16115 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
16116 Change all regexps to use things like \_< and \_>.
16117
16118 * progmodes/autoconf.el (autoconf-definition-regexp)
16119 (autoconf-font-lock-keywords, autoconf-current-defun-function):
16120 Handle a _ with symbol syntax.
16121 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
16122
16123 * progmodes/ada-mode.el (ada-mode-abbrev-table):
16124 Consolidate declaration.
16125 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
16126 the declaration.
16127 (ada-create-syntax-table): Remove.
16128 (ada-capitalize-word): Don't mess with the syntax of "_" since it
16129 already has the right syntax nowadays.
16130 (ada-goto-next-word): Don't change the syntax of "_".
16131
16132 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
16133 with-wrapper-hook.
16134
16135 2013-05-08 Sam Steingold <sds@gnu.org>
16136
16137 * thingatpt.el (thing-at-point): Accept optional second argument
16138 NO-PROPERTIES to strip the text properties from the return value.
16139 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
16140 to `thing-at-point' instead of stripping the properties ourselves.
16141 Also, when `thing-at-point' fails to find a url, prepend "http://"
16142 to the filename at point on the assumption that the user is
16143 pointing at something like gnu.org/gnu.
16144
16145 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
16146
16147 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16148 * faces.el (crm-separator):
16149 Silence byte-compiler.
16150
16151 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
16152 (tool-bar-map): Remove unneeded defvars.
16153
16154 2013-05-08 Leo Liu <sdl.web@gmail.com>
16155
16156 Re-work a fix for bug#10994 based on Le Wang's patch.
16157 * ido.el (ido-remove-consecutive-dups): New helper.
16158 (ido-completing-read): Use it.
16159 (ido-chop): Revert fix for bug#10994.
16160
16161 2013-05-08 Adam Spiers <emacs@adamspiers.org>
16162
16163 * cus-edit.el (custom-save-variables):
16164 Pretty-print long values. (Bug#14187)
16165
16166 2013-05-08 Glenn Morris <rgm@gnu.org>
16167
16168 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
16169 (m4-mode-syntax-table): Init in the defvar.
16170 (m4-mode-abbrev-table): Let define-derived-mode define it.
16171
16172 2013-05-08 Tom Tromey <tromey@redhat.com>
16173
16174 * progmodes/m4-mode.el (m4-mode-syntax-table):
16175 Do not treat "_" as word constituent. (Bug#14167)
16176
16177 2013-05-07 Glenn Morris <rgm@gnu.org>
16178
16179 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
16180 Remove explicit eshell-isearch-cancel-map.
16181
16182 * progmodes/f90.el (f90-smart-end-names): New option.
16183 (f90-smart-end): Doc fix.
16184 (f90-end-block-optional-name): New constant.
16185 (f90-block-match): Respect f90-smart-end-names.
16186
16187 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
16188
16189 * progmodes/octave.el (octave-smie-forward-token): Be more careful
16190 about implicit semi-colons (bug#14218).
16191
16192 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
16193
16194 * frame.el (display-monitor-attributes-list)
16195 (frame-monitor-attributes): New functions.
16196
16197 2013-05-06 Leo Liu <sdl.web@gmail.com>
16198
16199 * progmodes/octave.el (octave-syntax-propertize-function): Change
16200 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
16201 (octave-font-lock-keywords): Use octave-operator-regexp.
16202 (octave-completion-at-point): Rename from
16203 octave-completion-at-point-function.
16204 (inferior-octave-directory-tracker): Robustify.
16205 (octave-text-functions): Remove and fix its uses. No such things
16206 any more.
16207
16208 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16209
16210 * emacs-lisp/trace.el (trace--display-buffer): New function.
16211 (trace-make-advice): Use it.
16212
16213 2013-05-06 Juri Linkov <juri@jurta.org>
16214
16215 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
16216 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
16217 Doc fix.
16218 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
16219 in the help string. (Bug#12985)
16220
16221 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
16222
16223 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
16224
16225 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16226
16227 * progmodes/perl-mode.el: Add support for here documents.
16228 (perl-syntax-propertize-function): Match here-doc markers.
16229 (perl-syntax-propertize-special-constructs): Find their end.
16230 (perl-imenu-generic-expression): Use [:alnum:].
16231
16232 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
16233 (advice--add-function): Refresh the advice if already present
16234 (bug#14317).
16235
16236 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
16237
16238 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
16239
16240 2013-05-06 Glenn Morris <rgm@gnu.org>
16241
16242 * w32-fns.el (w32-charset-info-alist): Declare.
16243
16244 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
16245 of its defcustom properties.
16246 (eshell-cmpl-initialize): No need to load pcomplete.
16247
16248 * generic-x.el: No need to require comint when compiling.
16249
16250 * net/eudc-export.el: Make it loadable without bbdb.
16251 (top-level): Use require rather than load-library.
16252 (eudc-create-bbdb-record, eudc-bbdbify-phone)
16253 (eudc-batch-export-records-to-bbdb)
16254 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
16255 Require bbdb.
16256
16257 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
16258
16259 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
16260 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
16261 some tweaks, instead.
16262
16263 2013-05-05 Leo Liu <sdl.web@gmail.com>
16264
16265 * progmodes/octave.el (octave-font-lock-keywords)
16266 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
16267 (inferior-octave-send-list-and-digest): Improve error message.
16268 (octave-mode, inferior-octave-mode): Use setq-local.
16269 (octave-help): Set info-lookup-mode.
16270
16271 2013-05-05 Richard Stallman <rms@gnu.org>
16272
16273 * vc/compare-w.el (compare-windows-whitespace):
16274 Treat no-break space as whitespace.
16275
16276 * mail/rmailsum.el (rmail-summary-rmail-update):
16277 Detect empty summary and don't change selected message.
16278 (rmail-summary-goto-msg): Likewise.
16279
16280 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
16281 Doc fixes, rename args.
16282
16283 2013-05-05 Alan Mackenzie <acm@muc.de>
16284
16285 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
16286
16287 2013-05-05 Juri Linkov <juri@jurta.org>
16288
16289 * info.el (Info-read-subfile): Use (point-min) instead of (point)
16290 to not add the length of the summary segment to the return value.
16291 (Bug#14125)
16292
16293 2013-05-05 Leo Liu <sdl.web@gmail.com>
16294
16295 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
16296 (inferior-octave-output-filter): Remove.
16297 (octave-send-region, inferior-octave-startup): Fix callers.
16298 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
16299 (octave-binary-file-extensions): New user variable.
16300 (octave-find-definition): Confirm if opening binary files.
16301 (octave-help-file): Use octave-find-definition to get the binary
16302 confirmation.
16303 (octave-help): Adjust for octave-help-file change.
16304
16305 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
16306
16307 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
16308 Merge the two entries that handle function definitions.
16309 (pascal--syntax-propertize): New const.
16310 (pascal-mode): Use it. Use setq-local.
16311
16312 2013-05-04 Glenn Morris <rgm@gnu.org>
16313
16314 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
16315 (diary-from-outlook): Respect diary-from-outlook-function.
16316
16317 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
16318
16319 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
16320 Move the declaration from C.
16321 (read-minibuffer, eval-minibuffer): Move from C.
16322 (completion-setup-function): Avoid minibuffer-completion-contents.
16323
16324 2013-05-03 Leo Liu <sdl.web@gmail.com>
16325
16326 * progmodes/octave.el (octave-font-lock-keywords): Do not
16327 dehighlight 'end' in comments or strings.
16328 (octave-completing-read, octave-goto-function-definition):
16329 New helpers.
16330 (octave-help-buffer): New user variable.
16331 (octave-help-file, octave-help-function): New button types.
16332 (octave-help): New command and bind it to C-h ;.
16333 (octave-find-definition): New command and bind it to M-.
16334 (user-error): Alias to error if not defined.
16335
16336 2013-05-02 Leo Liu <sdl.web@gmail.com>
16337
16338 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
16339 for \. (bug#14332)
16340 (octave-font-lock-keywords): Include [ and {.
16341
16342 2013-05-02 Leo Liu <sdl.web@gmail.com>
16343
16344 * progmodes/octave.el (inferior-octave-startup-file): Change default.
16345 (inferior-octave): Remove calling comint-mode and return the buffer.
16346 (inferior-octave-startup): Cosmetic changes.
16347
16348 2013-05-02 Leo Liu <sdl.web@gmail.com>
16349
16350 * progmodes/octave.el (octave-syntax-propertize-function):
16351 Include the case when ' is at line beginning. (Bug#14336)
16352
16353 2013-05-02 Glenn Morris <rgm@gnu.org>
16354
16355 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
16356 * desktop.el (vc-dir-mode): Just autoload it here.
16357
16358 2013-05-02 Alan Mackenzie <acm@muc.de>
16359
16360 Eliminate variable c-standard-font-lock-fontify-region-function.
16361 * progmodes/cc-mode.el
16362 (c-standard-font-lock-fontify-region-function): Remove.
16363 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
16364
16365 2013-05-01 Leo Liu <sdl.web@gmail.com>
16366
16367 * progmodes/octave.el: Compatible with older emacs-24 releases.
16368 (inferior-octave-has-built-in-variables): Remove. Built-in
16369 variables were removed from Octave in 2007.
16370 (inferior-octave-startup): Fix uses.
16371 (comint-line-beginning-position): Remove compatibility code for
16372 emacs 21.
16373
16374 2013-05-01 Juri Linkov <juri@jurta.org>
16375
16376 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
16377
16378 2013-05-01 Juri Linkov <juri@jurta.org>
16379
16380 * comint.el (comint-previous-matching-input): Don't print message
16381 "History item: %d" when `isearch-mode' is active.
16382 (comint-history-isearch-message): Print message "History item: %d"
16383 when `comint-input-ring-index' is not empty and this function is
16384 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
16385
16386 2013-05-01 Leo Liu <sdl.web@gmail.com>
16387
16388 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
16389 definitions. Use completion-at-point to insert keywords.
16390 (octave-abbrev-start): Remove.
16391 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
16392
16393 2013-04-30 Leo Liu <sdl.web@gmail.com>
16394
16395 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
16396 change.
16397
16398 2013-04-30 Alan Mackenzie <acm@muc.de>
16399
16400 Handle arbitrarily long C++ member initialisation lists.
16401 * progmodes/cc-engine.el (c-back-over-member-initializers):
16402 new function.
16403 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
16404 (most) member init lists.
16405
16406 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
16407
16408 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
16409 variable.
16410
16411 2013-04-30 Leo Liu <sdl.web@gmail.com>
16412
16413 * progmodes/octave.el (octave-variables): Remove. No builtin
16414 variables any more. All converted to functions.
16415 (octave-font-lock-keywords, octave-completion-at-point-function):
16416 Fix uses.
16417 (octave-font-lock-texinfo-comment): New user variable.
16418 (octave-texinfo-font-lock-keywords): New variable for texinfo
16419 comment block.
16420 (octave-function-comment-block): New face.
16421 (octave-font-lock-texinfo-comment): New function.
16422 (octave-mode): Font lock texinfo comment block.
16423
16424 2013-04-29 Leo Liu <sdl.web@gmail.com>
16425
16426 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
16427 indexing expression.
16428 (octave-continuation-string): Do not use \.
16429 (inferior-octave-complete-impossible): Remove.
16430 (inferior-octave-completion-table)
16431 (inferior-octave-completion-at-point): Remove its uses.
16432 (inferior-octave-startup): completion_matches was introduced to
16433 Octave in 1996 so safe to assume it.
16434 (octave-function-file-comment): Improve to follow how Octave does it.
16435 (octave-update-function-file-comment): Tweak.
16436
16437 2013-04-29 Leo Liu <sdl.web@gmail.com>
16438
16439 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
16440 (inferior-octave-startup): Remove inferior-octave-startup-hook.
16441 (octave-function-file-comment): Fix typo.
16442 (octave-sync-function-file-names): Use read-char-choice.
16443
16444 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
16445
16446 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
16447 to t for the less important warnings.
16448
16449 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
16450
16451 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
16452
16453 2013-04-27 Glenn Morris <rgm@gnu.org>
16454
16455 * vc/log-view.el (log-view-current-entry):
16456 Treat "---" separator lines as part of the following rev. (Bug#14169)
16457
16458 2013-04-27 Juri Linkov <juri@jurta.org>
16459
16460 * subr.el (read-number): Doc fix about using it by interactive
16461 code letter `n'. (Bug#14254)
16462
16463 2013-04-27 Juri Linkov <juri@jurta.org>
16464
16465 * desktop.el (desktop-auto-save-timeout): New option.
16466 (desktop-file-checksum): New variable.
16467 (desktop-save): Add optional arg `auto-save' and don't auto-save
16468 if nothing changed.
16469 (desktop-auto-save-timer): New variable.
16470 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
16471 (after-init-hook): Call `desktop-auto-save-set-timer'.
16472 Suggested by Reuben Thomas <rrt@sc3d.org> in
16473 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
16474
16475 2013-04-27 Leo Liu <sdl.web@gmail.com>
16476
16477 * progmodes/octave.el (octave-function-file-p)
16478 (octave-skip-comment-forward, octave-function-file-comment)
16479 (octave-update-function-file-comment): New functions.
16480 (octave-mode-map): Bind C-c ; to
16481 octave-update-function-file-comment.
16482 (octave-mode-menu): Add octave-update-function-file-comment.
16483 (octave-mode, inferior-octave-mode): Fix doc-string.
16484 (octave-insert-defun): Conform to Octave's coding convention.
16485 (Bug#14285)
16486
16487 * files.el (basic-save-buffer): Don't let errors in
16488 before-save-hook prevent saving buffer.
16489
16490 2013-04-20 Roland Winkler <winkler@gnu.org>
16491
16492 * faces.el (read-face-name): Use completing-read if arg multiple
16493 is nil.
16494
16495 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
16496
16497 * ls-lisp.el (ls-lisp-insert-directory): If no files are
16498 displayed, move point to after the totals line.
16499 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
16500 for the details.
16501
16502 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
16503
16504 * emacs-lisp/package.el (package-autoload-ensure-default-file):
16505 Add current dir to the load-path.
16506 (package-generate-autoloads): Don't rely on
16507 autoload-ensure-default-file.
16508
16509 2013-04-26 Reuben Thomas <rrt@sc3d.org>
16510
16511 * textmodes/remember.el (remember-store-in-files): Document that
16512 the file name format is passed to `format-time-string'.
16513
16514 2013-04-26 Leo Liu <sdl.web@gmail.com>
16515
16516 * progmodes/octave.el (octave-sync-function-file-names): New function.
16517 (octave-mode): Use it in before-save-hook.
16518
16519 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
16520
16521 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
16522 (bug#14274).
16523
16524 * progmodes/octave.el (octave-smie-forward-token): Properly skip
16525 \n and comment, even if it's not an implicit ; (bug#14218).
16526
16527 2013-04-26 Glenn Morris <rgm@gnu.org>
16528
16529 * subr.el (read-number): Once more use `read' rather than
16530 `string-to-number', to trap non-numeric input. (Bug#14254)
16531
16532 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
16533
16534 * emacs-lisp/syntax.el (syntax-propertize-multiline):
16535 Use `syntax-multiline' text property consistently instead of
16536 `font-lock-multiline'. (Bug#14237)
16537
16538 2013-04-26 Glenn Morris <rgm@gnu.org>
16539
16540 * emacs-lisp/shadow.el (list-load-path-shadows):
16541 No longer necessary to check for duplicate simple.el, since
16542 2012-07-07 change to init_lread to not include installation lisp
16543 directories in load-path when running uninstalled. (Bug#14270)
16544
16545 2013-04-26 Leo Liu <sdl.web@gmail.com>
16546
16547 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
16548 (octave-mode, inferior-octave-mode): Use setq-local.
16549 (octave-not-in-string-or-comment-p): Rename to
16550 octave-in-string-or-comment-p.
16551 (octave-in-comment-p, octave-in-string-p)
16552 (octave-in-string-or-comment-p): Replace defsubst with defun.
16553
16554 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
16555
16556 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
16557
16558 2013-04-25 Bastien Guerry <bzg@gnu.org>
16559
16560 * textmodes/remember.el (remember-data-directory)
16561 (remember-directory-file-name-format): Fix custom types.
16562
16563 2013-04-25 Leo Liu <sdl.web@gmail.com>
16564
16565 * progmodes/octave.el (octave-completion-at-point-function):
16566 Make use of inferior octave process.
16567 (octave-initialize-completions): Remove.
16568 (inferior-octave-completion-table): New function.
16569 (inferior-octave-completion-at-point): Use it.
16570 (octave-completion-alist): Remove.
16571
16572 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16573
16574 * progmodes/opascal.el: Use font-lock and syntax-propertize.
16575 (opascal-mode-syntax-table): New var.
16576 (opascal-literal-kind, opascal-is-literal-end)
16577 (opascal-literal-token-at): Rewrite.
16578 (opascal--literal-start-re, opascal-font-lock-keywords)
16579 (opascal--syntax-propertize): New constants.
16580 (opascal-font-lock-defaults): Adjust.
16581 (opascal-mode): Use them. Set comment-<foo> variables as well.
16582 (delphi-comment-face, opascal-comment-face, delphi-string-face)
16583 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
16584 (delphi-other-face, opascal-other-face): Remove face variables.
16585 (opascal-save-state): Remove macro.
16586 (opascal-fontifying-progress-step): Remove constant.
16587 (opascal--ignore-changes): Remove var.
16588 (opascal-set-token-property, opascal-parse-next-literal)
16589 (opascal-is-stable-literal, opascal-complete-literal)
16590 (opascal-is-literal-start, opascal-face-of)
16591 (opascal-parse-region, opascal-parse-region-until-stable)
16592 (opascal-fontify-region, opascal-after-change)
16593 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
16594 (opascal-debug-parse-region, opascal-debug-parse-window)
16595 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
16596 (opascal-debug-fontify-buffer): Remove.
16597 (opascal-debug-mode-map): Adjust accordingly.
16598
16599 2013-04-25 Leo Liu <sdl.web@gmail.com>
16600
16601 Merge octave-mod.el and octave-inf.el into octave.el with some
16602 cleanups.
16603 * progmodes/octave.el: New file renamed from octave-mod.el.
16604 * progmodes/octave-inf.el: Merged into octave.el.
16605 * progmodes/octave-mod.el: Renamed to octave.el.
16606
16607 2013-04-25 Tassilo Horn <tsdh@gnu.org>
16608
16609 * textmodes/reftex-vars.el
16610 (reftex-label-ignored-macros-and-environments): New defcustom.
16611
16612 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
16613
16614 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16615
16616 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
16617 (smie-indent-keyword): Improve the check to ensure that the next
16618 comment is really on the same line.
16619 (smie-indent-comment): Don't align with a subsequent closer (or eob).
16620
16621 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
16622 semi-colons if the line is not otherwise empty (bug#14218).
16623
16624 2013-04-25 Glenn Morris <rgm@gnu.org>
16625
16626 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
16627
16628 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
16629
16630 * progmodes/opascal.el (opascal-set-token-property): Rename from
16631 opascal-set-text-properties and only set `token' (bug#14134).
16632 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
16633 (opascal-literal-text-properties): Remove.
16634 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
16635 Adjust callers.
16636
16637 2013-04-24 Reuben Thomas <rrt@sc3d.org>
16638
16639 * textmodes/remember.el (remember-handler-functions): Add an
16640 option for a new handler `remember-store-in-files'.
16641 (remember-data-directory, remember-directory-file-name-format):
16642 New options.
16643 (remember-store-in-files): New function to store remember notes
16644 as separate files within a directory.
16645
16646 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
16647
16648 * progmodes/compile.el (compilation-next-error-function):
16649 Pass "formats" to compilation-find-file (bug#11777).
16650
16651 2013-04-24 Glenn Morris <rgm@gnu.org>
16652
16653 * vc/vc-bzr.el (vc-bzr-print-log):
16654 * vc/vc-hg.el (vc-hg-print-log):
16655 * vc/vc-svn.el (vc-svn-print-log):
16656 Fix START-REVISION with LIMIT != 1. (Bug#14168)
16657
16658 * vc/vc-bzr.el (vc-bzr-print-log):
16659 * vc/vc-cvs.el (vc-cvs-print-log):
16660 * vc/vc-git.el (vc-git-print-log):
16661 * vc/vc-hg.el (vc-hg-print-log):
16662 * vc/vc-mtn.el (vc-mtn-print-log):
16663 * vc/vc-rcs.el (vc-rcs-print-log):
16664 * vc/vc-sccs.el (vc-sccs-print-log):
16665 * vc/vc-svn.el (vc-svn-print-log):
16666 * vc/vc.el (vc-print-log-internal): Doc fixes.
16667
16668 2013-04-23 Glenn Morris <rgm@gnu.org>
16669
16670 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
16671 Remove venerable code attempting to avoid substitute-command-keys.
16672
16673 2013-04-23 Tassilo Horn <tsdh@gnu.org>
16674
16675 * textmodes/reftex-vars.el (reftex-label-regexps):
16676 Call `reftex-compile-variables' after changes to this variable.
16677
16678 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
16679
16680 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
16681 Use lexical-binding.
16682 (jit-lock-force-redisplay): Use markers, check buffer's continued
16683 existence and beware narrowed buffers.
16684 (jit-lock-fontify-now): Adjust call accordingly.
16685
16686 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
16687
16688 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
16689 to avoid misleading the user.
16690
16691 2013-04-22 Leo Liu <sdl.web@gmail.com>
16692
16693 * info-look.el: Prefer latex2e.info. (Bug#14240)
16694
16695 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
16696
16697 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
16698
16699 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
16700 * net/tramp.el (tramp-call-process): ... here.
16701 (tramp-set-completion-function, tramp-parse-putty):
16702 * net/tramp-adb.el (tramp-adb-execute-adb-command):
16703 * net/tramp-gvfs.el (tramp-gvfs-send-command):
16704 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16705 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
16706 (tramp-call-local-coding-command): Use `tramp-call-process'
16707 instead of `tramp-compat-call-process'.
16708
16709 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
16710 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
16711 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
16712 (tramp-find-inline-compress): Improve traces.
16713 (tramp-maybe-send-script): Check for Perl binary.
16714 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
16715
16716 2013-04-22 Daiki Ueno <ueno@gnu.org>
16717
16718 * epg.el (epg-context-pinentry-mode): New function.
16719 (epg-context-set-pinentry-mode): New function.
16720 (epg--start): Pass --pinentry-mode option to gpg command.
16721
16722 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
16723
16724 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
16725 `comint-dynamic-complete' is obsolete since 24.1, replaced by
16726 `completion-at-point'. (Bug#13774)
16727
16728 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16729 default key binding for `describe-distribution' has been moved to
16730 `C-h C-o'. (Bug#13970)
16731
16732 2013-04-21 Glenn Morris <rgm@gnu.org>
16733
16734 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16735 Add doc strings.
16736 (vc-print-log): Clarify interactive prompt.
16737
16738 2013-04-20 Glenn Morris <rgm@gnu.org>
16739
16740 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16741 No longer include timestamp etc information.
16742
16743 2013-04-20 Roland Winkler <winkler@gnu.org>
16744
16745 * faces.el (read-face-name): Bug fix, return just one face if arg
16746 multiple is nil. (Bug#14209)
16747
16748 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16749
16750 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16751 (remove-function): Autoload.
16752
16753 * comint.el (comint-redirect-original-filter-function): Remove.
16754 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16755 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16756 (vc-cvs-annotate-command):
16757 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16758 * progmodes/prolog.el (prolog-consult-compile):
16759 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16760 Use add/remove-function instead.
16761 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16762 (gud-tooltip-process-output, gud-tooltip-tips):
16763 Use add/remove-function instead.
16764 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16765 (scheme-interaction-mode, exit-scheme-interaction-mode):
16766 Use add/remove-function instead.
16767
16768 * vc/vc-dispatcher.el: Use lexical-binding.
16769 (vc--process-sentinel): Rename from vc-process-sentinel.
16770 Change last arg to be the code to run. Don't use vc-previous-sentinel
16771 and vc-sentinel-commands any more.
16772 (vc-exec-after): Allow code to be a function. Use add/remove-function.
16773 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16774
16775 2013-04-19 Masatake YAMATO <yamato@redhat.com>
16776
16777 * progmodes/sh-script.el (sh-imenu-generic-expression):
16778 Handle function names with a single character. (Bug#14111)
16779
16780 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
16781
16782 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16783 for subroutines defined in an eval (bug#14182).
16784
16785 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16786
16787 * bookmark.el (bookmark-completing-read): Improve handling of empty
16788 string (bug#14176).
16789
16790 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16791
16792 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16793
16794 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16795
16796 New faster Imenu implementation (bug#14058).
16797 * progmodes/python.el (python-imenu-prev-index-position)
16798 (python-imenu-format-item-label-function)
16799 (python-imenu-format-parent-item-label-function)
16800 (python-imenu-format-parent-item-jump-label-function):
16801 New vars.
16802 (python-imenu-format-item-label)
16803 (python-imenu-format-parent-item-label)
16804 (python-imenu-format-parent-item-jump-label)
16805 (python-imenu--put-parent, python-imenu--build-tree)
16806 (python-imenu-create-index, python-imenu-create-flat-index)
16807 (python-util-popn): New functions.
16808 (python-mode): Set imenu-create-index-function to
16809 python-imenu-create-index.
16810
16811 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16812
16813 * winner.el (winner-active-region): Use region-active-p, activate-mark
16814 and deactivate-mark (bug#14225).
16815
16816 * simple.el (deactivate-mark): Don't inline it.
16817
16818 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16819
16820 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16821
16822 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16823
16824 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16825 file extensions from the archive-mode entry in order to prefer
16826 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16827
16828 2013-04-18 Leo Liu <sdl.web@gmail.com>
16829
16830 * bindings.el (help-event-list): Add ?\?.
16831
16832 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16833
16834 * subr.el (with-wrapper-hook): Declare obsolete.
16835 * simple.el (filter-buffer-substring-function): New hook.
16836 (filter-buffer-substring): Use it.
16837 (filter-buffer-substring-functions): Mark obsolete.
16838 * minibuffer.el (completion-in-region-function): New hook.
16839 (completion-in-region): Use it.
16840 (completion-in-region-functions): Mark obsolete.
16841 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16842 * abbrev.el (abbrev-expand-function): New hook.
16843 (expand-abbrev): Use it.
16844 (abbrev-expand-functions): Mark obsolete.
16845 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16846 and :filter-return.
16847
16848 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16849
16850 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16851 and do not care about match data.
16852
16853 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16854
16855 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16856 completion tables when completing error conditions and
16857 `declare' arguments.
16858 (lisp-complete-symbol, field-complete): Mark as obsolete.
16859 (check-parens): Unmatched parens are user errors.
16860 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16861
16862 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16863
16864 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16865 command changed buffer (ie. `flyspell-pre-buffer' is not current
16866 buffer), which prevents making decisions based on invalid value of
16867 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16868 cause an error when `flyspell-pre-point' was nil after switching
16869 buffers.
16870 (flyspell-post-command-hook): No longer needs to change buffers when
16871 checking pre-word. While at it remove unnecessary progn.
16872
16873 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16874
16875 * textmodes/ispell.el (ispell-add-per-file-word-list):
16876 Fix `flyspell-correct-word-before-point' error when accepting
16877 words and `coment-padding' is an integer by using
16878 `comment-normalize-vars' (Bug #14214).
16879
16880 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16881
16882 New defun movement commands.
16883 * progmodes/python.el (python-nav--syntactically)
16884 (python-nav--forward-defun, python-nav-backward-defun)
16885 (python-nav-forward-defun): New functions.
16886
16887 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16888
16889 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16890 (python-syntax-context): Use named compiler-macro for backwards
16891 compatibility with Emacs 24.x.
16892
16893 2013-04-17 Leo Liu <sdl.web@gmail.com>
16894
16895 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16896 octave-hide-process-buffer.
16897
16898 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16899
16900 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16901 (bug#14216).
16902
16903 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16904
16905 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16906 Fix adjustment of offset when receiving incomplete responses from GDB
16907 (bug#14129).
16908
16909 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16910
16911 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16912 python-mode-abbrev-table.
16913 (python-skeleton-define): Adjust accordingly.
16914 (python-mode-abbrev-table): New table that inherits from it so that
16915 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16916
16917 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16918 (abbrev-symbol): Use it.
16919 (abbrev--before-point): Use it since we already handle inheritance.
16920
16921 2013-04-16 Leo Liu <sdl.web@gmail.com>
16922
16923 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16924 binding to info-lookup-symbol.
16925
16926 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16927
16928 * minibuffer.el (completion--twq-all):
16929 * term/ns-win.el (ns-initialize-window-system):
16930 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16931
16932 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16933
16934 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16935 global bindings.
16936
16937 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16938
16939 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16940
16941 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16942 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16943 to nil.
16944 (ruby-end-of-defun): Remove the unused arg, change the docstring
16945 to reflect that this function is only used as the value of
16946 `end-of-defun-function'.
16947 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16948 to reflect an earlier change that beginning/end-of-defun functions
16949 jump between methods in a class definition, as well as top-level
16950 functions.
16951
16952 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16953
16954 * minibuffer.el (minibuffer-complete): Don't just scroll
16955 a *Completions* that's been iconified.
16956 (minibuffer-force-complete): Make sure repetitions do cycle when going
16957 through completion-in-region -> minibuffer-complete.
16958
16959 2013-04-15 Alan Mackenzie <acm@muc.de>
16960
16961 Correct the placement of c-cpp-delimiters when there're #s not at
16962 col 0.
16963
16964 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16965 place a submatch around the #.
16966 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16967 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16968 on the #, not BOL.
16969
16970 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16971
16972 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16973 (advice--member-p): New arg `name'.
16974 (advice--add-function, advice-member-p): Use it (bug#14202).
16975
16976 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16977
16978 Reformulate java imenu-generic-expression.
16979 The old expression contained ill formed regexps.
16980
16981 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16982 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16983 (cc-imenu-java-method-arg-regexp): New defconsts.
16984 (cc-imenu-java-build-type-args-regex): New defun.
16985 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16986 handling of spaces in the regexp.
16987
16988 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16989
16990 * textmodes/ispell.el (ispell-command-loop): Remove
16991 flyspell highlight of a word when ispell accepts it (bug #14178).
16992
16993 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16994
16995 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16996 uses code from the previous `ange-ftp-run-real-handler'.
16997 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16998 only in case that function exist. This is needed for proper
16999 unloading of Tramp.
17000
17001 2013-04-15 Tassilo Horn <tsdh@gnu.org>
17002
17003 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
17004
17005 * textmodes/reftex.el (reftex-compile-variables): Use it.
17006
17007 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
17008
17009 * files.el (normal-mode): Only use default major-mode if no other mode
17010 was specified.
17011
17012 * emacs-lisp/trace.el (trace-values): New function.
17013
17014 * files.el: Allow : in local variables (bug#14089).
17015 (hack-local-variable-regexp): New var.
17016 (hack-local-variables-prop-line, hack-local-variables): Use it.
17017
17018 2013-04-13 Roland Winkler <winkler@gnu.org>
17019
17020 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
17021 data before it gets modified by bibtex-beginning-of-entry.
17022
17023 2013-04-13 Roland Winkler <winkler@gnu.org>
17024
17025 * textmodes/bibtex.el (bibtex-url): Doc fix.
17026
17027 2013-04-13 Roland Winkler <winkler@gnu.org>
17028
17029 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
17030 does not visit a BibTeX file, exclude it from the list of buffers
17031 returned by bibtex-initialize.
17032
17033 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
17034
17035 * window.el (split-window): Remove interactive form, since as a
17036 command this function is a special case of split-window-below.
17037 Correct doc string.
17038
17039 2013-04-12 Roland Winkler <winkler@gnu.org>
17040
17041 * faces.el (read-face-name): Do not override value of arg default.
17042 Allow single faces and strings as default values. Remove those
17043 elements from return value that are not faces.
17044 (describe-face): Simplify.
17045 (face-at-point): New optional args thing and multiple so that this
17046 function can provide the same functionality previously provided by
17047 read-face-name.
17048 (make-face-bold, make-face-unbold, make-face-italic)
17049 (make-face-unitalic, make-face-bold-italic, invert-face)
17050 (modify-face, read-face-and-attribute): Use face-at-point.
17051
17052 * cus-edit.el (customize-face, customize-face-other-window)
17053 * cus-theme.el (custom-theme-add-face)
17054 * face-remap.el (buffer-face-set)
17055 * facemenu.el (facemenu-set-face): Use face-at-point.
17056
17057 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
17058
17059 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
17060
17061 2013-04-10 Tassilo Horn <tsdh@gnu.org>
17062
17063 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
17064 off leading { and trailing } from field values.
17065
17066 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
17067
17068 * emacs-lisp/timer.el (timer--check): New function.
17069 (timer--time, timer-set-function, timer-event-handler): Use it.
17070 (timer-set-idle-time): Simplify.
17071 (timer--activate): CSE.
17072 (timer-event-handler): Give more info in error message.
17073 (internal-timer-start-idle): New function, moved from C.
17074
17075 * mpc.el (mpc-proc): Add `restart' argument.
17076 (mpc-proc-cmd): Use it.
17077 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
17078 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
17079 less often.
17080
17081 2013-04-10 Masatake YAMATO <yamato@redhat.com>
17082
17083 * progmodes/sh-script.el: Implement `sh-mode' own
17084 `add-log-current-defun-function' (bug#14112).
17085 (sh-current-defun-name): New function.
17086 (sh-mode): Use the function.
17087
17088 2013-04-09 Bastien Guerry <bzg@gnu.org>
17089
17090 * simple.el (choose-completion-string): Fix docstring (bug#14163).
17091
17092 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
17093
17094 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
17095
17096 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
17097 timer (bug#14156).
17098
17099 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
17100
17101 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
17102 declaration.
17103
17104 2013-04-07 Leo Liu <sdl.web@gmail.com>
17105
17106 * pcmpl-x.el: New file.
17107
17108 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
17109
17110 Do not set x-display-name until X connection is established.
17111 This is needed to prevent from weird situation described at
17112 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
17113 * frame.el (make-frame): Set x-display-name after call to
17114 window system initialization function, not before.
17115 * term/x-win.el (x-initialize-window-system): Add optional
17116 display argument and use it.
17117 * term/w32-win.el (w32-initialize-window-system):
17118 * term/ns-win.el (ns-initialize-window-system):
17119 * term/pc-win.el (msdos-initialize-window-system):
17120 Add compatible optional display argument.
17121
17122 2013-04-06 Eli Zaretskii <eliz@gnu.org>
17123
17124 * files.el (normal-backup-enable-predicate): On MS-Windows and
17125 MS-DOS compare truenames of temporary-file-directory and of the
17126 file, so that 8+3 aliases (usually found in $TEMP on Windows)
17127 don't fail comparison by compare-strings. Also, compare file
17128 names case-insensitively on MS-Windows and MS-DOS.
17129
17130 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
17131
17132 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
17133 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
17134
17135 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
17136
17137 * whitespace.el (whitespace-color-on, whitespace-color-off):
17138 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
17139
17140 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
17141
17142 * ispell.el (ispell-set-spellchecker-params):
17143 Really set `ispell-args' for all equivs.
17144
17145 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
17146
17147 * ido.el (ido-completions): Use extra elements of ido-decorations
17148 (bug#14143).
17149 (ido-decorations): Update docstring.
17150
17151 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
17152
17153 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17154 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
17155 nil during initialization, in order not to miss changes since the
17156 file was opened. (Bug#14140)
17157
17158 2013-04-05 Leo Liu <sdl.web@gmail.com>
17159
17160 * kmacro.el (kmacro-call-macro): Fix bug#14135.
17161
17162 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
17163
17164 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
17165
17166 2013-04-04 Glenn Morris <rgm@gnu.org>
17167
17168 * electric.el (electric-pair-inhibit-predicate): Add :version.
17169
17170 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
17171
17172 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
17173 when a package is required several times (bug#14082).
17174
17175 2013-04-04 Roland Winkler <winkler@gnu.org>
17176
17177 * faces.el (read-face-name): Behave as promised by the docstring.
17178 Assume that arg default is a list of faces.
17179 (describe-face): Call read-face-name with list of default faces.
17180
17181 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17182
17183 * bookmark.el: Fix deletion of bookmarks (bug#13972).
17184 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
17185 (bookmark-bmenu-execute-deletions): Only skip first line if it's
17186 the header.
17187 (bookmark-exit-hook-internal): Save even if list is empty.
17188
17189 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
17190
17191 * emacs-lisp/package.el (package-pinned-packages): New var.
17192 (package--add-to-archive-contents): Obey it (bug#14118).
17193
17194 2013-04-03 Alan Mackenzie <acm@muc.de>
17195
17196 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
17197 Also adapt to the new values of element 7 of a parse state.
17198
17199 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
17200 parameter `not-in-delimiter'. Handle being inside comment opener.
17201 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
17202 character in case we're typing a '*' after a '/'.
17203 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
17204 instead by passing the parameter to c-state-pp-to-literal.
17205
17206 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
17207 for elt. 7 of a parse state.
17208
17209 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
17210
17211 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
17212 * international/latin1-disp.el, international/mule-util.el:
17213 * language/cyril-util.el, language/european.el, language/ind-util.el:
17214 * language/lao-util.el, language/thai.el, language/tibet-util.el:
17215 * language/tibetan.el, language/viet-util.el:
17216 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
17217
17218 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
17219
17220 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
17221 (electric-pair-post-self-insert-function): Use it.
17222 (electric-pair-default-inhibit): New function, extracted from
17223 electric-pair-post-self-insert-function.
17224
17225 2013-03-31 Roland Winkler <winkler@gnu.org>
17226
17227 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
17228
17229 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17230
17231 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
17232
17233 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
17234
17235 Un-indent after "pass" and "return" statements (Bug#13888)
17236 * progmodes/python.el (python-indent-block-enders): New var.
17237 (python-indent-calculate-indentation): Use it.
17238
17239 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
17240
17241 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
17242 defun. Defining it as defalias could introduce too eager
17243 byte-compiler optimization. (Bug#14030)
17244
17245 2013-03-30 Chong Yidong <cyd@gnu.org>
17246
17247 * iswitchb.el (iswitchb-read-buffer): Fix typo.
17248
17249 2013-03-30 Leo Liu <sdl.web@gmail.com>
17250
17251 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
17252 (kmacro-execute-from-register): Pass the keyboard macro to
17253 kmacro-call-macro or repeating won't work correctly.
17254
17255 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
17256
17257 * progmodes/subword.el: Back to using `forward-symbol'.
17258
17259 * subr.el (forward-whitespace, forward-symbol)
17260 (forward-same-syntax): Move from thingatpt.el.
17261
17262 2013-03-29 Leo Liu <sdl.web@gmail.com>
17263
17264 * kmacro.el (kmacro-to-register): New command.
17265 (kmacro-execute-from-register): New function.
17266 (kmacro-keymap): Bind to 'x'. (Bug#14071)
17267
17268 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
17269
17270 * mpc.el: Use defvar-local and setq-local.
17271 (mpc--proc-connect): Connection failures are not bugs.
17272 (mpc-mode-map): `follow-link' only applies to the buffer's content.
17273 (mpc-volume-map): Bind to the up-events.
17274
17275 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
17276
17277 * progmodes/subword.el (superword-mode): Use `forward-sexp'
17278 instead of `forward-symbol'.
17279
17280 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
17281
17282 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
17283 (edebug--recursive-edit): Use it.
17284 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
17285 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
17286
17287 2013-03-28 Leo Liu <sdl.web@gmail.com>
17288
17289 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
17290
17291 2013-03-27 Eli Zaretskii <eliz@gnu.org>
17292
17293 * facemenu.el (list-colors-callback): New defvar.
17294 (list-colors-redisplay): New function.
17295 (list-colors-display): Install list-colors-redisplay as the
17296 revert-buffer-function. (Bug#14063)
17297
17298 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
17299
17300 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
17301 and suffixes don't overlap (bug#14061).
17302
17303 * case-table.el: Use lexical-binding.
17304 (case-table-get-table): New function.
17305 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
17306
17307 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
17308
17309 * progmodes/subword.el: Add `superword-mode' to do word motion
17310 over symbol_words (parallels and leverages `subword-mode' which
17311 does word motion inside MixedCaseWords).
17312
17313 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
17314
17315 * eshell/em-unix.el: Move su and sudo to...
17316 * eshell/em-tramp.el: ...Eshell tramp module.
17317
17318 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
17319
17320 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
17321 Change return value to be a sexp. Delay `get-buffer' to after
17322 restoring the desktop (bug#13951).
17323
17324 2013-03-26 Leo Liu <sdl.web@gmail.com>
17325
17326 * register.el: Move semantic tag handling back to
17327 cedet/semantic/senator.el. (Bug#14052)
17328
17329 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
17330
17331 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
17332 into the prompt either (bug#13963).
17333
17334 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
17335
17336 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
17337 part of "(error-foo)".
17338
17339 2013-03-24 Juri Linkov <juri@jurta.org>
17340
17341 * replace.el (list-matching-lines-prefix-face): New defcustom.
17342 (occur-1): Pass `list-matching-lines-prefix-face' to the function
17343 `occur-engine' if `face-differs-from-default-p' returns t.
17344 (occur-engine): Add `,' inside backquote construct to evaluate
17345 `prefix-face'. Propertize the prefix with the `prefix-face' face.
17346 Pass `prefix-face' to the functions `occur-context-lines' and
17347 `occur-engine-add-prefix'.
17348 (occur-engine-add-prefix, occur-context-lines): Add optional arg
17349 `prefix-face' and propertize the prefix with `prefix-face'.
17350 (Bug#14017)
17351
17352 2013-03-24 Leo Liu <sdl.web@gmail.com>
17353
17354 * nxml/rng-valid.el (rng-validate-while-idle)
17355 (rng-validate-quick-while-idle): Guard against deleted buffer.
17356 (Bug#13999)
17357
17358 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
17359 is the last entry in kill-buffer-hook.
17360
17361 * files.el (kill-buffer-hook): Doc fix.
17362
17363 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
17364
17365 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
17366 Make it safe-local.
17367
17368 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
17369
17370 2013-03-23 Leo Liu <sdl.web@gmail.com>
17371
17372 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
17373 Remove.
17374
17375 * nxml/rng-valid.el (rng-validate-mode)
17376 (rng-after-change-function, rng-do-some-validation):
17377 * nxml/rng-maint.el (rng-validate-buffer):
17378 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
17379 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
17380 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
17381 (nxml-extend-after-change-region): Use with-silent-modifications.
17382
17383 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
17384 timer-idle-list.
17385
17386 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
17387 (rng-next-error-1, rng-previous-error-1): Do not let-bind
17388 timer-idle-list. (Bug#13999)
17389
17390 2013-03-23 Juri Linkov <juri@jurta.org>
17391
17392 * info.el (info-index-match): New face.
17393 (Info-index, Info-apropos-matches): Add a nested subgroup to the
17394 main pattern and add text properties with the new face to matches
17395 in index entries relative to the beginning of the index entry.
17396 (Bug#14015)
17397
17398 2013-03-21 Eric Ludlam <zappo@gnu.org>
17399
17400 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
17401 Inhibit read only while inserting objects.
17402
17403 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
17404
17405 * progmodes/cfengine.el: Update docs to mention
17406 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
17407 symbol motion. Remove "_" from the word syntax.
17408
17409 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
17410
17411 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
17412 syntax for both `cfengine2-mode' and `cfengine3-mode'.
17413
17414 2013-03-20 Juri Linkov <juri@jurta.org>
17415
17416 * info.el (Info-next-reference-or-link)
17417 (Info-prev-reference-or-link): New functions.
17418 (Info-next-reference, Info-prev-reference): Use them.
17419 (Info-try-follow-nearest-node): Handle footnote navigation.
17420 (Info-fontify-node): Fontify footnotes. (Bug#13989)
17421
17422 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
17423
17424 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
17425 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
17426
17427 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
17428
17429 Suppress unnecessary non-ASCII chatter during build process.
17430 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
17431 (batch-skkdic-convert): Suppress most of the chatter.
17432 It's not needed so much now that machines are faster,
17433 and its non-ASCII component was confusing; see Dmitry Gutov in
17434 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
17435
17436 2013-03-20 Leo Liu <sdl.web@gmail.com>
17437
17438 * ido.el (ido-chop): Fix bug#10994.
17439
17440 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
17441
17442 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
17443 Remove vars.
17444 (whitespace-color-on, whitespace-color-off):
17445 Use `font-lock-fontify-buffer' (Bug#13817).
17446
17447 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
17448
17449 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
17450 remapping in mode-line.
17451 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
17452
17453 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
17454
17455 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
17456 value for `whitespace-line' face (Bug#13875).
17457 (whitespace-font-lock-keywords): Change description.
17458 (whitespace-color-on): Don't save `font-lock-keywords' value, save
17459 the constructed keywords instead.
17460 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
17461
17462 2013-03-19 Leo Liu <sdl.web@gmail.com>
17463
17464 * progmodes/compile.el (compilation-display-error): New command.
17465 (compilation-mode-map, compilation-minor-mode-map): Bind it to
17466 C-o. (Bug#13992)
17467
17468 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
17469
17470 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
17471
17472 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
17473
17474 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
17475
17476 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
17477
17478 * net/tramp-compat.el (tramp-compat-user-error): New defun.
17479
17480 * net/tramp-adb.el (tramp-adb-handle-shell-command):
17481 * net/tramp-gvfs.el (top):
17482 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
17483 (tramp-handle-shell-command): Use it.
17484 (tramp-dissect-file-name): Raise an error when hostname is a
17485 method name, and neither method nor user is specified.
17486
17487 * net/trampver.el: Update release number.
17488
17489 2013-03-18 Leo Liu <sdl.web@gmail.com>
17490
17491 Make sure eldoc can be turned off properly.
17492 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
17493 eldoc-mode.
17494 (eldoc-display-message-p): Revert last change.
17495 (eldoc-display-message-no-interference-p)
17496 (eldoc-print-current-symbol-info): Tweak.
17497
17498 2013-03-18 Tassilo Horn <tsdh@gnu.org>
17499
17500 * doc-view.el (doc-view-new-window-function): Check the new window
17501 overlay's display property instead the char property of the
17502 buffer's first char. Use `with-selected-window' instead of
17503 `save-window-excursion' with `select-window'.
17504 (doc-view-document->bitmap): Check the current doc-view overlay's
17505 display property instead the char property of the buffer's first char.
17506
17507 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
17508
17509 Automate the build of ja-dic.el (Bug#13984).
17510 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
17511 from the input, rather than assume that it's been done for us by the
17512 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
17513 the current date into a ja-dic.el comment, as that complicates
17514 regression testing.
17515
17516 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
17517
17518 * whitespace.el: Fix double evaluation.
17519 (whitespace-space, whitespace-hspace, whitespace-tab)
17520 (whitespace-newline, whitespace-trailing, whitespace-line)
17521 (whitespace-space-before-tab, whitespace-indentation)
17522 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
17523 obsolete defvars.
17524 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
17525 (whitespace-color-on): Use a single font-lock-add-keywords call.
17526 Fix double-evaluation of face variables.
17527
17528 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
17529
17530 * net/tramp-adb.el (tramp-adb-parse-device-names):
17531 Use `start-process' instead of `call-process'. Otherwise, the
17532 function might be blocked under MS Windows. (Bug#13299)
17533
17534 2013-03-17 Leo Liu <sdl.web@gmail.com>
17535
17536 Extend eldoc to display info in the mode-line. (Bug#13978)
17537 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
17538 (eldoc-mode-line-string): New variable.
17539 (eldoc-minibuffer-message): New function.
17540 (eldoc-message-function): New variable.
17541 (eldoc-message): Use it.
17542 (eldoc-display-message-p)
17543 (eldoc-display-message-no-interference-p):
17544 Support eldoc-post-insert-mode.
17545
17546 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
17547 (eval-expression): Run it.
17548
17549 2013-03-17 Roland Winkler <winkler@gnu.org>
17550
17551 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
17552 strings in the list of return values.
17553
17554 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17555
17556 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
17557 radix before checking for HMS forms.
17558
17559 2013-03-16 Leo Liu <sdl.web@gmail.com>
17560
17561 * progmodes/scheme.el: Add indentation and font-locking for λ.
17562 (Bug#13975)
17563
17564 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
17565
17566 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
17567 token before point (bug#13942).
17568
17569 2013-03-16 Leo Liu <sdl.web@gmail.com>
17570
17571 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
17572
17573 2013-03-16 Eli Zaretskii <eliz@gnu.org>
17574
17575 * startup.el (command-line-normalize-file-name): Fix handling of
17576 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
17577 <xfq.free@gmail.com> in
17578 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
17579
17580 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
17581
17582 Sync with Tramp 2.2.7.
17583
17584 * net/trampver.el: Update release number.
17585
17586 2013-03-14 Tassilo Horn <tsdh@gnu.org>
17587
17588 * doc-view.el: Fix bug#13887.
17589 (doc-view-insert-image): Don't modify overlay associated to
17590 non-live windows, and implement horizontal centering of image in
17591 case it's smaller than the window.
17592 (doc-view-new-window-function): Force redisplay of new windows on
17593 doc-view buffers.
17594
17595 2013-03-13 Karl Fogel <kfogel@red-bean.com>
17596
17597 * saveplace.el (save-place-alist-to-file): Don't sort
17598 `save-place-alist', just pretty-print it (bug#13882).
17599
17600 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
17601
17602 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
17603 Check whether `default-file-name-coding-system' is bound.
17604 It isn't in XEmacs.
17605
17606 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
17607
17608 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
17609 backquotes for `obsolete' (bug#13929).
17610
17611 * international/mule.el (find-auto-coding): Include file name in
17612 obsolescence warning (bug#13922).
17613
17614 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
17615
17616 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
17617 for CFEngine 3-specific indentation.
17618 (cfengine3-indent-line): Use it. Fix up category regex.
17619 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
17620
17621 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17622
17623 * type-break.el (type-break-file-name):
17624 * textmodes/remember.el (remember-data-file):
17625 * strokes.el (strokes-file):
17626 * shadowfile.el (shadow-initialize):
17627 * saveplace.el (save-place-file):
17628 * ps-bdf.el (bdf-cache-file):
17629 * progmodes/idlwave.el (idlwave-config-directory):
17630 * net/quickurl.el (quickurl-url-file):
17631 * international/kkc.el (kkc-init-file-name):
17632 * ido.el (ido-save-directory-list-file):
17633 * emulation/viper.el (viper-custom-file-name):
17634 * emulation/vip.el (vip-startup-file):
17635 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
17636 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
17637
17638 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
17639
17640 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
17641 * language/thai-word.el: Switch to UTF-8.
17642
17643 See ChangeLog.16 for earlier changes.
17644
17645 ;; Local Variables:
17646 ;; coding: utf-8
17647 ;; End:
17648
17649 Copyright (C) 2011-2014 Free Software Foundation, Inc.
17650
17651 This file is part of GNU Emacs.
17652
17653 GNU Emacs is free software: you can redistribute it and/or modify
17654 it under the terms of the GNU General Public License as published by
17655 the Free Software Foundation, either version 3 of the License, or
17656 (at your option) any later version.
17657
17658 GNU Emacs is distributed in the hope that it will be useful,
17659 but WITHOUT ANY WARRANTY; without even the implied warranty of
17660 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17661 GNU General Public License for more details.
17662
17663 You should have received a copy of the GNU General Public License
17664 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.