7163de092183998b49d988f6bed291d61117a69c
[bpt/emacs.git] / lisp / ChangeLog
1 2014-06-26 Glenn Morris <rgm@gnu.org>
2
3 * ps-samp.el: Make it slightly less awful.
4 (ps-rmail-mode-hook, ps-gnus-article-prepare-hook, ps-vm-mode-hook):
5 (ps-gnus-summary-setup, ps-info-mode-hook): Use [print] key.
6 Only set local values.
7 (ps-article-subject, ps-article-author): Use standard functions
8 like mail-fetch-field.
9 (ps-info-file, ps-info-node): Use match-string.
10 (ps-jts-ps-setup, ps-jack-setup): Remove, merging into...
11 (ps-samp-ps-setup): ... new function.
12
13 * progmodes/idlw-shell.el (idlwave-shell-make-temp-file):
14 Optimize away code unneeded on any modern Emacs.
15
16 * emacs-lisp/authors.el: Move to ../admin.
17
18 * emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit): New.
19
20 2014-06-25 Glenn Morris <rgm@gnu.org>
21
22 * Makefile.in ($(lisp)/progmodes/cc-defs.elc)
23 ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc)
24 ($(lisp)/progmodes/cc-vars.elc): Drop hand-written deps on non-cc
25 files. They are not relevant to the original issue (bug#1004),
26 and cause unnecessary recompilation (bug#2151).
27
28 2014-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
29
30 * play/landmark.el: Use lexical-binding and avoid `intangible'.
31 (landmark--last-pos): New var.
32 (landmark--intangible-chars): New const.
33 (landmark--intangible): New function.
34 (landmark-mode, landmark-move): Use it.
35 (landmark-mode): Remove properties.
36 (landmark-plot-square, landmark-point-square, landmark-goto-xy)
37 (landmark-cross-qtuple):
38 Don't worry about `intangible' any more.
39 (landmark-click, landmark-point-y): Same; and don't assume point-min==1.
40 (landmark-init-display): Don't set `intangible' and `point-entered'.
41 (square): Remove. Inline it instead.
42 (landmark--distance): Rename from `distance'.
43 (landmark-calc-distance-of-robot-from): Rename from
44 calc-distance-of-robot-from.
45 (landmark-calc-smell-internal): Rename from calc-smell-internal.
46
47 2014-06-25 Dmitry Antipov <dmantipov@yandex.ru>
48
49 * files.el (dir-locals-find-file, file-relative-name):
50 * info.el (Info-complete-menu-item):
51 * minibuffer.el (completion-table-subvert): Prefer string-prefix-p
52 to compare-strings to avoid out-of-range errors.
53 * subr.el (string-prefix-p): Adjust to match strict range
54 checking in compare-strings.
55
56 2014-06-24 Leonard Randall <leonard.a.randall@gmail.com> (tiny change)
57
58 * textmodes/reftex-parse.el (reftex-using-biblatex-p): Make search
59 for comment lines non-greedy and stopping at newlines to fix stack
60 overflows with large files.
61
62 2014-06-24 Eli Barzilay <eli@barzilay.org>
63
64 * calculator.el (calculator-last-input): Drop 'ascii-character property
65 lookup.
66
67 2014-06-24 Leo Liu <sdl.web@gmail.com>
68
69 * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
70 tab-stop-list to nil. (Bug#16381)
71
72 * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
73 (indent-rigidly-left-to-tab-stop)
74 (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
75 (move-to-tab-stop): Change callers.
76
77 2014-06-24 Eli Zaretskii <eliz@gnu.org>
78
79 * skeleton.el (skeleton-insert): Yet another fix of the doc string
80 wrt behavior of \n as the first/last element of a skeleton.
81
82 2014-06-24 Michael Albinus <michael.albinus@gmx.de>
83
84 * net/tramp-adb.el (tramp-adb-handle-process-file):
85 * net/tramp-sh.el (tramp-sh-handle-process-file):
86 * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
87 the output buffer when DISPLAY is non-nil. (Bug#17815)
88
89 2014-06-24 Glenn Morris <rgm@gnu.org>
90
91 * play/landmark.el (landmark-move-down, landmark-move-up):
92 Fix 2007-10-20 change - preserve horizontal position.
93
94 2014-06-23 Sam Steingold <sds@gnu.org>
95
96 * simple.el (kill-append): Remove undo boundary depending on ...
97 (kill-append-merge-undo): New user option.
98
99 2014-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
100
101 * simple.el (handle-shift-selection, exchange-point-and-mark)
102 (activate-mark): Set transient-mark-mode buffer-locally (bug#6316).
103 (transient-mark-mode): Use&set the global value.
104 * mouse.el (mouse-set-region-1, mouse-drag-track): Idem.
105 * emulation/edt.el (edt-emulation-off): Save&restore the global
106 transient-mark-mode setting.
107 * obsolete/pc-select.el (pc-selection-mode): Use the
108 transient-mark-mode function.
109
110 2014-06-23 Eli Zaretskii <eliz@gnu.org>
111
112 * international/fontset.el (script-representative-chars):
113 Add representative characters for scripts added in Unicode 7.0.
114 (otf-script-alist): Synchronize with the latest registry of OTF
115 script tags.
116
117 * international/characters.el (char-script-table): Update for
118 scripts added and codepoint ranges changed in Unicode 7.0.
119
120 2014-06-23 Eli Barzilay <eli@barzilay.org>
121
122 * calculator.el (calculator-standard-displayer): Fix bug in use of
123 `calculator-groupize-number'.
124 (calculator-funcall): Fix broken `cl-flet' use by moving it into the
125 `eval' code, so it works in v24.3.1 too.
126 (calculator-last-input): Comment to clarify purpose.
127
128 2014-06-22 Mario Lang <mlang@delysid.org>
129
130 * textmodes/rst.el (rst-comment-region): From from -> from.
131
132 * net/tramp-adb.el (tramp-adb-send-command-and-check): And and -> and.
133
134 2013-06-22 Dmitry Antipov <dmantipov@yandex.ru>
135
136 * electric.el (electric-layout-post-self-insert-function):
137 * emacs-lisp/ert.el (ert--insert-infos):
138 * obsolete/vi.el (vi-set-mark):
139 * term.el (term-handle-scroll):
140 * textmodes/bibtex.el (bibtex-fill-field, bibtex-fill-entry):
141 * wid-edit.el (widget-editable-list-value-create):
142 Prefer point-marker to copy-marker of point.
143
144 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
145
146 Fix completion retrieval parsing (bug#17209).
147 * progmodes/python.el (python-mode):
148 (python-util-strip-string): New function.
149 (python-shell-completion-get-completions): Use it.
150
151 2014-06-21 Eli Zaretskii <eliz@gnu.org>
152
153 * skeleton.el (skeleton-insert): Fix last change.
154
155 2014-06-21 Fabián Ezequiel Gallina <fgallina@gnu.org>
156
157 Enhancements for outline integration (bug#17796).
158 * progmodes/python.el (python-mode): Properly set
159 outline-heading-end-regexp so that comments after colons for
160 defuns are supported.
161
162 2014-06-21 Eli Zaretskii <eliz@gnu.org>
163
164 * skeleton.el (skeleton-insert): Doc fix.
165
166 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
167
168 * emacs-lisp/smie.el (smie-config--guess): Fix typo.
169 (smie-config-guess): Use smie-config-local so the rules are obeyed
170 (bug#17818).
171
172 * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
173 since it's already done inside the loop (bug#17819).
174
175 2014-06-21 Martin Rudalics <rudalics@gmx.at>
176
177 * mouse.el (mouse-drag-line): Re-remove code initially removed
178 on 2013-03-09 and inadvertently reintroduced on 2013-11-30
179 (Bug#17819).
180
181 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
182
183 * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
184 align with the surrounding parent (bug#17721).
185
186 2014-06-21 Eli Zaretskii <eliz@gnu.org>
187
188 * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
189 locally to nil.
190 (texinfo-insert-block, texinfo-insert-@end)
191 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
192 local setting of skeleton-end-newline by adding an explicit \n to
193 the skeletons where appropriate. (Bug#17801)
194
195 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
196
197 * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
198 (smie-indent--hanging-p): Use it.
199 * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
200
201 2014-06-21 Leo Liu <sdl.web@gmail.com>
202
203 * simple.el (read-quoted-char): Don't let help chars pop up help
204 buffer. (Bug#16617)
205
206 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
207
208 * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
209 for | (bug#17621).
210
211 * xt-mouse.el (xterm-mouse--read-event-sequence-1000):
212 Drop unknown events instead of burping.
213
214 2014-06-21 Eli Zaretskii <eliz@gnu.org>
215
216 * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
217 and later. (Bug#17790)
218
219 2014-06-21 Juri Linkov <juri@jurta.org>
220
221 * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
222 to `soft'. (Bug#17554)
223
224 2014-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
225
226 * delsel.el (electric-newline-and-maybe-indent): Mark it as well
227 (bug#17737).
228
229 2014-06-21 Dmitry Gutov <dgutov@yandex.ru>
230
231 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
232 `!' in `!~' with `font-lock-negation-char-face'. (Bug#17732)
233
234 2014-06-21 Michael Albinus <michael.albinus@gmx.de>
235
236 * net/dbus.el (dbus-call-method): Push only non D-Bus events into
237 `unread-command-events'.
238
239 2014-06-19 William Xu <william.xwl@gmail.com>
240
241 * progmodes/hideif.el (hif-string-to-number): Don't return float for
242 hex integer constants (bug#17807).
243
244 2014-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
245
246 * international/mule-util.el (truncate-string-ellipsis): New var.
247 (truncate-string-to-width): Use it.
248
249 2014-06-19 Robert Brown <robert.brown@gmail.com> (tiny change)
250
251 * emacs-lisp/lisp-mode.el (lisp-string-after-doc-keyword-p): New fun.
252 (lisp-string-in-doc-position-p): New function, extracted from
253 lisp-font-lock-syntactic-face-function.
254 (lisp-font-lock-syntactic-face-function): Use them (bug#9130).
255
256 2014-06-19 Grégoire Jadi <daimrod@gmail.com>
257
258 * net/rcirc.el (rcirc-omit-mode): Fix recenter error. (Bug#17769)
259
260 2014-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
261
262 * play/bubbles.el (bubbles--initialize, bubbles--show-scores)
263 (bubbles--game-over): Don't add `intangible' properties since they
264 didn't work anyway.
265
266 2014-06-18 Juri Linkov <juri@jurta.org>
267
268 * vc/ediff-init.el (ediff-current-diff-Ancestor)
269 (ediff-fine-diff-Ancestor, ediff-even-diff-A, ediff-even-diff-B)
270 (ediff-even-diff-C, ediff-even-diff-Ancestor, ediff-odd-diff-A)
271 (ediff-odd-diff-B, ediff-odd-diff-C, ediff-odd-diff-Ancestor):
272 Add `min-colors 88' version with removed black/white foregrounds.
273 (Bug#10181)
274
275 2014-06-18 Juri Linkov <juri@jurta.org>
276
277 * vc/diff-mode.el (diff-changed): Empty face definition to use
278 `diff-removed' and `diff-added' on tty as well. (Bug#10181)
279 (diff-context): Use darker color on light background and
280 lighter color on dark background.
281
282 2014-06-18 Juri Linkov <juri@jurta.org>
283
284 * vc/diff-mode.el (diff-refine-changed): Rename from
285 `diff-refine-change' for consistency with `diff-changed'.
286 (diff-refine-change): Add obsolete face alias. (Bug#10181)
287
288 * vc/smerge-mode.el (smerge-refined-changed): Rename from
289 `smerge-refined-change'.
290 (smerge-refined-change): Add obsolete face alias.
291
292 2014-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
293
294 * rect.el (rectangle-preview): New custom.
295 (rectangle): New group.
296 (rectangle--pos-cols): Add `window' argument.
297 (rectangle--string-preview-state, rectangle--string-preview-window):
298 New vars.
299 (rectangle--string-flush-preview, rectangle--string-erase-preview)
300 (rectangle--space-to, rectangle--string-preview): New functions.
301 (string-rectangle): Use them.
302 (rectangle--inhibit-region-highlight): New var.
303 (rectangle--highlight-for-redisplay): Obey it. Make sure
304 `apply-on-region' uses the point-crutches of the right window.
305 Use :align-to rather than multiple spaces.
306
307 2014-06-16 Andrea Rossetti <andrea.rossetti@gmail.com> (tiny change)
308
309 * ruler-mode.el (ruler-mode-window-col)
310 (ruler-mode-mouse-set-left-margin)
311 (ruler-mode-mouse-set-right-margin): Fix calculation of column
312 from mouse position (Bug#17768).
313
314 2014-06-16 Ron Schnell <ronnie@driver-aces.com>
315
316 * play/dunnet.el (dun-doassign): Fix bug where UNIX variable assignment
317 without varname or rhs causes crash.
318 (dun-ftp): Fix bug where blank ftp password is allowed, making it
319 impossible to win endgame.
320 (dun-unix-verbs): Add ssh as alias to rlogin, because nobody knows what
321 rlogin is anymore.
322 (dun-help): Bump version number; update contact info.
323
324 2014-06-15 Eli Barzilay <eli@barzilay.org>
325
326 * calculator.el (calculator-prompt, calculator-remove-zeros)
327 (calculator-mode-hook, calculator-operators, calculator-stack)
328 (calculator-mode): Tweak docstring.
329 (calculator-user-operators): Tweak docstring, fix a bug in the last
330 example.
331 (calculator-displayer): `std' case has an optional boolean.
332 (calculator-displayers): Use the new boolean to group in decimal mode.
333 (calculator-mode-map, calculator, calculator-message)
334 (calculator-op-arity, calculator-add-operators)
335 (calculator-string-to-number, calculator-displayer-prev)
336 (calculator-displayer-next, calculator-remove-zeros)
337 (calculator-eng-display, calculator-number-to-string)
338 (calculator-update-display, calculator-last-input)
339 (calculator-clear-fragile, calculator-digit, calculator-decimal)
340 (calculator-exp, calculator-saved-move, calculator-clear)
341 (calculator-copy, calculator-put-value, calculator-help)
342 (calculator-expt, calculator-truncate): Minor code improvements.
343 (calculator-need-3-lines): New function pulling out code from
344 `calculator'.
345 (calculator-get-display): Rename from `calculator-get-prompt', and
346 improved.
347 (calculator-push-curnum): Rename from `calculator-curnum-value', and
348 extended for all uses of it. All callers changed.
349 (calculator-groupize-number): New utility for splitting a number into
350 groups.
351 (calculator-standard-displayer): Improve code, new optional argument to
352 use comma-split groups, make second argument optional too to use with
353 'left/'right inputs. All callers changed.
354 (calculator-reduce-stack-once): New utility, doing the meat of what
355 `calculator-reduce-stack' used to do, much improved (mostly using
356 `pcase' for conciseness and clarity).
357 (calculator-reduce-stack): Now doing just the reduction loop using
358 `calculator-reduce-stack-once'.
359 (calculator-funcall): Improve code, make it work in v24.3.1 too.
360 (calculator-last-input): Improve code, remove some old cruft.
361 (calculator-quit): Kill `calculator-buffer' in electric mode too.
362 (calculator-integer-p): Remove.
363 (calculator-fact): Improve code, make it work on non-integer values
364 too (using truncated numbers).
365
366 2014-06-15 Michael Albinus <michael.albinus@gmx.de>
367
368 Sync with Tramp 2.2.10.
369
370 * net/tramp.el (tramp-methods): Tweak docstring.
371 (tramp-handle-file-accessible-directory-p): Check for
372 `file-readable-p' instead of `file-executable-p'.
373 (tramp-check-cached-permissions):
374 Use `tramp-compat-file-attributes'.
375 (tramp-call-process): Add new argument VEC. Adapt callees in all
376 tramp*.el files.
377
378 * net/tramp-adb.el (tramp-adb-handle-write-region): Improve messages.
379 (tramp-adb-maybe-open-connection): Don't set
380 `tramp-current-*' variables.
381
382 * net/tramp-cache.el (tramp-flush-file-function): Do not flush
383 file properties of temporary buffers.
384
385 * net/tramp-ftp.el (top): Remove special handling for URL syntax.
386
387 * net/tramp-gvfs.el (tramp-gvfs-methods) <sftp>: Add.
388 (tramp-gvfs-handle-delete-file): Flush file
389 properties, not directory properties.
390 (tramp-gvfs-handle-file-attributes): Use `string-to-number' when
391 reading "unix::mode".
392 (tramp-gvfs-handle-file-name-all-completions):
393 Use "-h" option for "gvfs-ls".
394 (tramp-gvfs-url-file-name): `user' and `localname' could be nil.
395 (tramp-gvfs-send-command): Simplify traces.
396
397 * net/tramp-sh.el (vc-handled-backends, vc-bzr-program)
398 (vc-git-program, vc-hg-program): Declare.
399 (tramp-methods) <sftp>: Remove. It has never worked satisfactorily.
400 (tramp-methods) <nc>: Add new method.
401 (tramp-methods) <telnet>: Redirect stderr to "/dev/null".
402 (tramp-methods) <plink, plinkx, pscp, psftp>: Improve
403 `tramp-login-args'.
404 (tramp-default-user-alist): Add "nc".
405 (top): Remove completion function for "sftp". Add completion
406 functions for "nc" and "psftp".
407 (tramp-do-copy-or-rename-file-out-of-band): Tweak docstring.
408 Implement support for "nc" method.
409 (tramp-sh-handle-expand-file-name, tramp-local-coding-commands)
410 (tramp-remote-coding-commands, tramp-call-local-coding-command):
411 Tweak docstring.
412 (tramp-sh-handle-write-region): Tweak error message.
413 (tramp-sh-handle-vc-registered): Remove backends when the remote
414 binary does not exist.
415 (tramp-find-inline-encoding): Do not raise an error.
416 (tramp-make-copy-program-file-name): Tweak docstring. Handle also
417 the "nc" case. Quote result also locally.
418
419 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
420 (tramp-smb-handle-set-file-acl): Use `start-process'.
421 (tramp-smb-handle-insert-directory): Use progress reporter.
422 (tramp-smb-handle-rename-file): Flush also file properties of
423 FILENAME.
424
425 * net/trampver.el: Update release number.
426
427 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
428
429 * ses.el: Miscellaneous cleanups; use lexical-binding; avoid
430 add-to-list.
431 (ses-localvars): Remove ses--local-printer-list, unused.
432 (ses--metaprogramming): New macro. Use it to defvar variables.
433 (ses-set-localvars): Simplify.
434 (ses--locprn, ses-cell): Use defstruct. Change ses-cell's
435 property-list into an alist.
436 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
437 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number):
438 Remove; use defstruct accessors/setters instead.
439 (ses-cell-formula-aset, ses-cell-printer-aset)
440 (ses-cell-references-aset): Remove, use setf instead.
441 (ses--alist-get): New function.
442 (ses-cell-property): Rename from ses-cell-property-get and rewrite.
443 Use an alist instead of a plist and don't do move-to-front since the
444 list is always short.
445 (ses-cell-property-get-fun, ses-cell-property-delq-fun)
446 (ses-cell-property-set-fun, ses-cell-property-set)
447 (ses-cell-property-pop-fun, ses-cell-property-get-handle)
448 (ses-cell-property-handle-car, ses-cell-property-handle-setcar): Remove.
449 (ses--letref): New macro.
450 (ses-cell-property-pop): Rewrite.
451 (ses--cell): Rename from ses-cell and make it into a function.
452 Make `formula' fallback on `value' if nil.
453 (ses--local-printer): Rename from ses-local-printer and make it into
454 a function.
455 (ses-set-cell): Turn it into a macro so finding the accessor from the
456 field name is done at compile time.
457 (ses-repair-cell-reference-all): Test presence of `sym' rather than
458 `ref' before adding `sym' to :ses-repair-reference.
459 (ses-calculate-cell): Use ses--letref rather than
460 ses-cell-property-get-handle.
461 (ses-write-cells): Use a single prin1-to-string.
462 (ses-setter-with-undo): New function.
463 (ses-aset-with-undo, ses-set-with-undo): Rewrite using it.
464 (ses-unset-with-undo): Remove.
465 (ses-load): Prefer apply' over `eval'.
466 (ses-read-printer, ses-set-column-width): Use standard "(default
467 foo)" format.
468
469 2014-06-15 Glenn Morris <rgm@gnu.org>
470
471 * Makefile.in (leim, semantic): Use `make -C' rather than `cd && make'.
472
473 * progmodes/cc-langs.el: Require cl-lib. (Bug#17463)
474 Replace delete-duplicates and mapcan by cl- versions throughout.
475 And cl-macroexpand-all by macroexpand-all.
476 (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
477
478 2014-06-15 Eli Zaretskii <eliz@gnu.org>
479
480 * subr.el (posn-col-row): Doc fix. (Bug#17768)
481
482 2014-06-15 Juri Linkov <juri@jurta.org>
483
484 * bindings.el: Put `ascii-character' property on keypad keys
485 mapped to characters. (Bug#17759)
486
487 2014-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
488
489 * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
490 bumping forward into a closing paren (bug#17761).
491
492 * term/xterm.el (xterm--version-handler): Work around for OSX
493 Terminal.app (bug#17607).
494
495 2014-06-14 Ron Schnell <ronnie@driver-aces.com>
496
497 * play/dunnet.el (dun-describe-room, dun-mode):
498 If a lamp is in the room, you won't be eaten by a grue.
499
500 2014-06-13 Glenn Morris <rgm@gnu.org>
501
502 * Makefile.in ($(lisp)/cus-load.el, $(lisp)/finder-inf.el)
503 (autoloads, $(lisp)/subdirs.el, compile-main, leim, semantic, compile)
504 (compile-always): GNU make automatically passes
505 command-line arguments to sub-makes.
506
507 * calendar/calendar.el (calendar-generate-window):
508 Remove pointless call to font-lock-fontify-buffer.
509
510 2014-06-13 Matthias Meulien <orontee@gmail.com>
511
512 * simple.el (completion-list-mode-map): Navigate with tab and backtab
513 (bug#17767).
514
515 2014-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
516
517 * simple.el (set-mark-command): Simplify a bit.
518
519 2014-06-12 Nicolas Richard <theonewiththeevillook@yahoo.fr>
520
521 * help.el (help--key-binding-keymap): New function.
522 (help--binding-locus): New function.
523 (describe-key): Mention the keymap in which the binding was
524 found. (bug#13948)
525
526 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
527
528 * hippie-exp.el (he--all-buffers): New function.
529 (try-expand-line-all-buffers, try-expand-list-all-buffers)
530 (try-expand-dabbrev-all-buffers): Use it.
531
532 2014-06-12 Emilio C. Lopes <eclig@gmx.net>
533
534 * hippie-exp.el (try-expand-line-all-buffers)
535 (try-expand-list-all-buffers, try-expand-dabbrev-all-buffers):
536 Read hippie-expand-only-buffers and hippie-expand-ignore-buffers in the
537 original buffer, in case they're buffer-local.
538
539 2014-06-12 Vincent Belaïche <vincentb1@users.sourceforge.net>
540
541 * ses.el (ses-initial-global-parameters-re): New defconst, a
542 specific regexp is needed now that ses.el can handle both
543 file-format 2 --- ie. no local printers --- and 3 --- i.e. may have
544 local printers.
545 (ses-localvars): Add local variables needed for local printer handling.
546 (ses-set-localvars): Handle hashmap initialisation.
547 (ses-paramlines-plist): Add param-line for number of local printers.
548 (ses-paramfmt-plist): New defconst, needed for code factorization
549 between functions `ses-set-parameter' and
550 `ses-file-format-extend-paramter-list'
551 (ses-make-local-printer-info): New defsubst.
552 (ses-locprn-get-compiled, ses-locprn-compiled-aset)
553 (ses-locprn-get-def, ses-locprn-def-aset, ses-locprn-get-number)
554 (ses-cell-printer-aset): New defmacro.
555 (ses-local-printer-compile): New defun.
556 (ses-local-printer): New defmacro.
557 (ses-printer-validate, ses-call-printer): Add support for local
558 printer functions.
559 (ses-file-format-extend-paramter-list): New defun.
560 (ses-set-parameter): Use const `ses-paramfmt-plist' for code
561 factorization.
562 (ses-load): Add support for local printer functions.
563 (ses-read-printer): Update docstring and add support for local printer
564 functions.
565 (ses-refresh-local-printer, ses-define-local-printer): New defun.
566 (ses-safe-printer): Add support for local printer functions.
567
568 2014-06-12 Ivan Andrus <darthandrus@gmail.com>
569
570 * ffap.el (ffap-lax-url): New var (bug#17723).
571 (ffap-url-at-point): Use it.
572 (ffap-file-at-point): Avoid returning just "/".
573
574 2014-06-12 Matthias Meulien <orontee@gmail.com>
575
576 * progmodes/python.el (import skeleton): New skeleton (bug#17672).
577 (python-mode-map): Bind it.
578
579 * progmodes/python.el (class skeleton): Don't erase last char of class
580 name (bug#17683).
581
582 2014-06-12 Cameron Desautels <camdez@gmail.com> (tiny change)
583
584 * help.el (where-is): Use `default' arg of completing-read (bug#17705).
585
586 2014-06-12 Kevin Ryde <user42_kevin@yahoo.com.au>
587
588 * files.el (auto-mode-alist): Map .ad files to xdefaults-mode
589 (bug#17745).
590
591 2014-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
592
593 * international/mule-cmds.el: Use lexical-binding.
594 (ucs-names): Simplify.
595
596 2014-05-18 Eric Hanchrow <eric.hanchrow@gmail.com>
597
598 * progmodes/python.el (run-python): Use read-shell-command.
599
600 2014-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
601
602 * rect.el: Make it possible to move bounds past EOL or into TABs.
603 (operate-on-rectangle): Use apply-on-rectangle.
604 (rectangle--mark-crutches): New var.
605 (rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
606 (rectangle--crutches, rectangle--reset-crutches): New functions.
607 (apply-on-rectangle): Obey crutches. Avoid setq.
608 Fix missing final iteration if end is at EOB&BOL.
609 (rectangle-mark-mode-map): Add remap bindings for
610 exchange-point-and-mark and char/line movements.
611 (rectangle--*-char): New function.
612 (rectangle-exchange-point-and-mark, rectangle-right-char)
613 (rectangle-left-char, rectangle-forward-char)
614 (rectangle-backward-char, rectangle-next-line)
615 (rectangle-previous-line): New commands.
616 (rectangle--place-cursor): New function.
617 (rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
618
619 2014-06-08 Glenn Morris <rgm@gnu.org>
620
621 * startup.el (initial-buffer-choice): Doc fix.
622 Reset :version (adding an option does not merit a :version bump).
623
624 * bookmark.el (bookmark-load):
625 * uniquify.el (uniquify-buffer-name-style): Doc fixes.
626
627 2014-06-08 Juri Linkov <juri@jurta.org>
628
629 * desktop.el: Activate auto-saving on window configuration changes.
630 (desktop-save-mode, desktop-auto-save-timeout): Add/remove
631 `desktop-auto-save-set-timer' to/from
632 `window-configuration-change-hook'.
633 (desktop-auto-save-set-timer): Change REPEAT arg of
634 `run-with-idle-timer' from t to nil.
635 http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
636
637 2014-06-08 Santiago Payà i Miralta <santiagopim@gmail.com>
638
639 * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
640 vc-hg-command (bug#17570).
641
642 2014-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
643
644 * international/mule-cmds.el (ucs-names): Add special entry for BEL
645 (bug#17702).
646
647 2014-06-08 Glenn Morris <rgm@gnu.org>
648
649 * startup.el (window-setup-hook): Doc fix.
650
651 * emacs-lisp/package.el (package-check-signature)
652 (package-unsigned-archives): Doc fixes.
653
654 2014-06-08 Martin Rudalics <rudalics@gmx.at>
655
656 * window.el (display-buffer-use-some-window): Don't make window
657 used smaller than it was before (Bug#17671).
658
659 2014-06-08 Eli Zaretskii <eliz@gnu.org>
660
661 * menu-bar.el (menu-bar-open): Fix last change: use the PC
662 'redisplay' instead of '(sit-for 0)'.
663
664 2014-06-08 Michael Albinus <michael.albinus@gmx.de>
665
666 * net/tramp.el (tramp-ssh-controlmaster-options):
667 Improve search regexp. (Bug#17653)
668
669 2014-06-08 Glenn Morris <rgm@gnu.org>
670
671 * emacs-lisp/package.el (package-pinned-packages): Doc fix.
672
673 2014-06-08 Eli Zaretskii <eliz@gnu.org>
674
675 * menu-bar.el (menu-bar-open): Fix invocation via M-x.
676
677 2014-06-06 Santiago Payà i Miralta <santiagopim@gmail.com>
678
679 * vc/vc-hg.el (vc-hg-create-tag, vc-hg-retrieve-tag): New functions
680 (bug#17586).
681
682 * vc/vc-hg.el (vc-hg-log-graph): New var.
683 (vc-hg-print-log): Use it.
684 (vc-hg-root-log-format): Include branch name and bookmarks; ignore
685 graph output (bug#17515).
686
687 2014-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
688
689 * mouse.el (mouse-posn-property): Ignore buffer position info when the
690 even happened elsewhere.
691
692 2014-06-06 Mario Lang <mlang@delysid.org>
693
694 * emacs-lisp/tabulated-list.el (tabulated-list-print): Only call
695 `recenter' if `current-buffer' is equal to `window-buffer'.
696
697 2014-06-05 Leo Liu <sdl.web@gmail.com>
698
699 * emacs-lisp/cl-macs.el (cl-macrolet): Avoid excessive progn's.
700
701 2014-06-05 Michal Nazarewicz <mina86@mina86.com>
702
703 * textmodes/tildify.el (tildify-foreach-region-outside-env):
704 New function which calls a callback on portions of the buffer that are
705 outside of ignored environments.
706 (tildify-build-regexp): Remove function since it is now
707 incorporated in `tildify-foreach-region-outside-env' where it is
708 optimised and simplified by the use of `mapconcat'.
709 (tildify-tildify): Return number of substitutions made so that…
710 (tildify-count): …can be removed.
711 (tildify-find-env): Accept a new PAIRS argument which was
712 previously looked up in `tildify-ignored-environments-alist' each
713 time the function was called. With this change, the lookup is
714 performed only once in `tildify-foreach-region-outside-env'.
715 (tildify-region): Greatly simplify the function since now most of
716 the work is done by `tildify-foreach-region-outside-env'.
717 (tildify-mode-alist): Simplify slightly by avoiding if and setq
718 and instead using or.
719
720 * textmodes/tildify.el (tildify-ignored-environments-alist):
721 Optimise environments regexes
722
723 Each time beginning of an environment to ignore is found,
724 `tildify-find-env' needs to identify regexp for the ending
725 of the environment. This is done by trying all the opening
726 regexes on matched text in a loop, so to speed that up, this
727 loop should have fewer things to match, which can be done by
728 using alternatives in the opening regexes.
729
730 Coincidentally, this should make matching of the opening
731 regexp faster as well thanks to the use of `regexp-opt' and
732 having common prefix pulled from many regexes.
733
734 * textmodes/tildify.el (tildify-string-alist)
735 (tildify-ignored-environments-alist): Add `nxml-mode' to the list
736 of supported modes since `xml-mode' is no longer a thing but just
737 an alias to the former. Also include comments and insides of tags
738 in `tildify-ignored-environments-alist' for XML modes. Finally,
739 since XML does not define “&nbsp;”[1], use a numeric reference for
740 a no-break space (namely “&#160;”)
741
742 [1] XML specification defines only a handful of predefined entities.
743 The list is at <http://www.w3.org/TR/REC-xml/#sec-predefined-ent>
744 and includes only &lt;, &gt;, &amp;, &apos; and &quot; (meaning <,
745 >, &, ' and " respectively). This is in contrast to HTML and even
746 XHTML which defined a whole bunch of entities including “&nbsp;”.
747
748 * textmodes/tildify.el (tildify-pattern-alist)
749 (tildify-string-alist, tildify-ignored-environments-alist):
750 Improve defcustom's types by adding more tags explaining what each
751 value means and replace “sexp” used in
752 `tildify-ignored-environments-alist' with a full type declaration.
753
754 * textmodes/tildify.el (tildify-find-env): Fix matched group
755 indexes in end-regex building
756
757 When looking for a start of an ignore-environment, the regex is built
758 by concatenating regexes of all the environments configured in
759 `tildify-ignored-environments-alist'. So for example, the following
760 list could be used to match TeX's \verb and \verb* commands:
761
762 (("\\\\verb\\(.\\)" . (1))
763 ("\\\\verb\\*\\(.\\)" . (1)))
764
765 This would result in the following regex being used to find the start
766 of any of the variants of the \verb command:
767
768 \\\\verb\\(.\\)\\|\\\\verb\\*\\(.\\)
769
770 But now, if “\\\\verb\\*\\(.\\)” matches, the first capture group
771 won't match anything, and thus (match-string 1) will be nil, which
772 will cause building of the end-matching regex to fail.
773
774 Fix this by using capture groups from the time when the opening
775 regexes are matched individually.
776
777 * textmodes/tildify.el (tildify-find-env): Fix end-regex building
778 in `tildify-find-env'
779
780 The `tildify-ignored-environments-alist' allows the end-regex to
781 be provided not as a static string but mix of strings and indexes
782 of groups matched the begin-regex. For example, the “\verb!…!”
783 TeX-command (where “!” is an arbitrary character) is handled
784 using:
785
786 ("\\\\verb\\*?\\(.\\)" . (1))
787
788 In the same way, the following should be supported as well:
789
790 ("open-\\(.\\)" . ("end-" 1))
791
792 However the tildify-find-env function fails at
793
794 (concat result
795 (if (stringp (setq aux (car expression)))
796 expression ; BUG: expression is a list
797 (regexp-quote (match-string aux))))
798
799 where the string part is handled incorrectly.
800
801 The most trivial fix would be to replace `expression' in the
802 true-part of the if-statement with `aux', but instead, this commit
803 optimises `tildify-find-env' by changing it to use `mapconcat'
804 rather than open-coded while-loop.
805
806 2014-06-05 Mario Lang <mlang@delysid.org>
807
808 * woman.el (woman-mapcan): Remove.
809 (woman-parse-colon-path): Use cl-mapcan instead.
810
811 2014-06-03 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
812
813 * register.el: Add link to Emacs manual in Commentary.
814
815 2014-06-02 Sam Steingold <sds@gnu.org>
816
817 * menu-bar.el (lookup-key-ignore-too-long): Extract from...
818 (popup-menu): ...here.
819 (menu-bar-open): Use it to avoid an error when `lookup-key'
820 returns a number.
821
822 2014-06-02 Michael Albinus <michael.albinus@gmx.de>
823
824 * net/tramp.el (tramp-call-process): Add traces.
825 (tramp-handle-unhandled-file-name-directory): Return "/".
826
827 2014-06-02 Wilson Snyder <wsnyder@wsnyder.org>
828
829 Sync with upstream verilog-mode revision 3cd8144.
830 * progmodes/verilog-mode.el (verilog-mode-version): Bump.
831 (verilog-auto-arg-format): New option, to support newlines in AUTOARG.
832 (verilog-type-font-keywords): Add nor.
833 (verilog-batch-execute-func): Force reading of Local Variables.
834 Fix printing "no changes to be saved" with verilog-batch.
835 (verilog-auto-arg-ports): Doc fix.
836 Add verilog-auto-arg-format to support newlines in AUTOARG.
837 (verilog-auto-arg): Doc fix.
838
839 2014-06-02 Glenn Morris <rgm@gnu.org>
840
841 * emulation/crisp.el, emulation/tpu-edt.el, emulation/tpu-extras.el:
842 * emulation/tpu-mapper.el, emulation/vi.el, emulation/vip.el:
843 * emulation/ws-mode.el: Move to obsolete/.
844 * Makefile.in (AUTOGEN_VCS): Update for moved tpu-edu.el.
845
846 2014-06-02 Eli Zaretskii <eliz@gnu.org>
847
848 * simple.el (keyboard-quit): Force update of mode lines, to remove
849 the "Def" indicator, if we were defining a macro. (Bug#17615)
850
851 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
852
853 * minibuffer.el (minibuffer-force-complete-and-exit):
854 Obey minibuffer-default (bug#17545).
855
856 * progmodes/js.el (js-indent-line): Don't mix columns and chars
857 (bug#17619).
858
859 * subr.el (set-transient-map): Don't wait for some "nested"
860 transient-map to finish if we're only supposed to be active for
861 the next command (bug#17642).
862
863 2014-06-02 Leo Liu <sdl.web@gmail.com>
864
865 * emacs-lisp/gv.el (window-buffer, window-display-table)
866 (window-dedicated-p, window-hscroll, window-point, window-start):
867 Fix gv-expander. (Bug#17630)
868
869 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
870
871 * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
872 clicks (bug#17633).
873
874 * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
875 for the single comma, since ", " is *very* common in normal French text
876 (bug#17643).
877
878 2014-06-02 Glenn Morris <rgm@gnu.org>
879
880 * emacs-lisp/package.el (package-check-signature)
881 (package-unsigned-archives): Fix :version.
882
883 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
884
885 * subr.el (sit-for): Don't run input-methods (bug#15614).
886
887 2014-06-02 Glenn Morris <rgm@gnu.org>
888
889 * cus-start.el: Fix some :version numbers.
890
891 2014-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
892
893 * simple.el (deactivate-mark): Set mark-active to nil even if
894 deactivation is done via setting transient-mark-mode to nil,
895 since one is buffer-local and the other is global.
896
897 * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
898 there can't be more than 2 arguments (bug#17584).
899
900 2014-06-02 Glenn Morris <rgm@gnu.org>
901
902 * simple.el (filter-buffer-substring-functions)
903 (filter-buffer-substring-function, buffer-substring-filters)
904 (filter-buffer-substring, buffer-substring--filter): Doc fixes.
905
906 * minibuffer.el (completion-in-region-functions, completion-in-region)
907 (completion--in-region): Doc fixes.
908
909 * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
910 (expand-abbrev, abbrev--default-expand): Doc fixes.
911
912 2014-06-02 Paul Eggert <eggert@cs.ucla.edu>
913
914 Include sources used to create macuvs.h.
915 * international/README: Refer to the Unicode Terms of Use rather
916 than copying it bodily here, as that simplifies maintenance.
917
918 2014-06-01 Glenn Morris <rgm@gnu.org>
919
920 * loadup.el (load-prefer-newer): Set non-nil when dumping. (Bug#17629)
921
922 2014-05-31 Glenn Morris <rgm@gnu.org>
923
924 * files.el (locate-dominating-file): Expand file argument. (Bug#17641)
925
926 2014-05-30 Glenn Morris <rgm@gnu.org>
927
928 * loadup.el: Treat `command-line-args' more flexibly.
929
930 2014-05-30 Alan Mackenzie <acm@muc.de>
931
932 Guard (looking-at "\\s!") from XEmacs.
933 * progmodes/cc-engine.el (c-state-pp-to-literal): add guard form.
934
935 2014-05-30 Ken Olum <kdo@cosmos.phy.tufts.edu> (tiny change)
936
937 * mail/rmail.el (rmail-delete-forward, rmail-delete-backward):
938 The argument COUNT is now optional, to be more backward-compatible.
939 Doc fix. (Bug#17560)
940
941 2014-05-29 Reuben Thomas <rrt@sc3d.org>
942
943 * whitespace.el (whitespace-report-region):
944 Simplify documentation.
945 (whitespace-report-region): Allow report-if-bogus to take the
946 value `never', for non-interactive use.
947 (whitespace-report): Refer to whitespace-report-region's
948 documentation.
949
950 2014-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
951
952 * whitespace.el: Use font-lock-flush. Minimize refontifications.
953 Side benefit: it works without jit-lock.
954 (whitespace-point--used): New buffer-local var.
955 (whitespace-color-on): Initialize it and flush it. Use font-lock-flush.
956 (whitespace-color-off): Use font-lock-flush.
957 (whitespace-point--used, whitespace-point--flush-used): New functions.
958 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
959 (whitespace-empty-at-eob-regexp): Use them.
960 (whitespace-post-command-hook): Rewrite.
961
962 * font-lock.el (font-lock-flush, font-lock-ensure): New functions.
963 (font-lock-fontify-buffer): Mark interactive-only.
964 (font-lock-multiline, font-lock-fontified, font-lock-set-defaults):
965 Make buffer-local.
966 (font-lock-specified-p): Remove redundant boundp check.
967 (font-lock-flush-function, font-lock-ensure-function): New vars.
968 (font-lock-turn-on-thing-lock): Set them.
969 (font-lock-default-fontify-buffer): Obey font-lock-dont-widen.
970 (font-lock-after-change-function): Make `old-len' optional.
971 (font-lock-set-defaults): Remove redundant `set' of font-lock-defaults.
972 Call font-lock-flush, just in case.
973 * progmodes/verilog-mode.el (verilog-preprocess): Disable workaround in
974 recent Emacsen.
975 * progmodes/vera-mode.el (vera-fontify-buffer): Declare obsolete.
976 (vera-mode-map, vera-mode-menu): Remove bindings to it.
977 * progmodes/idlw-help.el (idlwave-help-fontify): Use font-lock-ensure
978 and with-syntax-table.
979 * textmodes/conf-mode.el (conf-quote-normal):
980 * progmodes/sh-script.el (sh-set-shell):
981 * progmodes/prog-mode.el (prettify-symbols-mode):
982 * progmodes/f90.el (f90-font-lock-n):
983 * progmodes/cwarn.el (cwarn-mode):
984 * nxml/nxml-mode.el (nxml-toggle-char-ref-extra-display):
985 * progmodes/compile.el (compilation-setup, compilation--unsetup):
986 * hi-lock.el (hi-lock-mode, hi-lock-unface-buffer)
987 (hi-lock-set-pattern, hi-lock-set-file-patterns): Use font-lock-flush.
988 * mail/rmail.el (rmail-variables): Set font-lock-dont-widen instead of
989 font-lock-fontify-buffer-function and
990 font-lock-unfontify-buffer-function.
991 (rmail-unfontify-buffer-function, rmail-fontify-message):
992 Use with-silent-modifications.
993 * htmlfontify.el (hfy-force-fontification): Use jit-lock-fontify-now
994 and font-lock-ensure.
995 * bs.el (bs-show-in-buffer): Use font-lock-ensure.
996
997 2014-05-28 Thien-Thi Nguyen <ttn@gnu.org>
998
999 * emacs-lisp/package.el (package-generate-autoloads):
1000 Inhibit backup files.
1001
1002 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1003
1004 * progmodes/hideshow.el (hs-hide-all): Call syntax-propertize
1005 (bug#17608).
1006
1007 2014-05-21 Michal Nazarewicz <mina86@mina86.com>
1008
1009 * textmodes/tildify.el (tildify-buffer, tildify-region):
1010 Add dont-ask option.
1011
1012 2014-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
1013
1014 * subr.el (zerop): Move from C. Add compiler-macro (bug#17475).
1015 * emacs-lisp/byte-opt.el (byte-optimize-zerop): Remove.
1016
1017 * subr.el (internal--funcall-interactively): New.
1018 (internal--call-interactively): Remove.
1019 (called-interactively-p): Detect funcall-interactively instead of
1020 call-interactively.
1021 * simple.el (repeat-complex-command): Use funcall-interactively.
1022 (repeat-complex-command--called-interactively-skip): Remove.
1023
1024 2014-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
1025
1026 * register.el (register-read-with-preview): Don't burp on
1027 frame switches (e.g. due to the frame we just popped).
1028
1029 * mouse.el (mouse-set-region): Handle spurious drag events (bug#17562).
1030 (mouse-drag-track): Annotate `mouse-drag-start' so we know we moved.
1031
1032 2014-05-26 Andreas Schwab <schwab@linux-m68k.org>
1033
1034 * cus-face.el (custom-face-attributes): Add :distant-foreground.
1035
1036 2014-05-26 Martin Rudalics <rudalics@gmx.at>
1037
1038 * window.el (window--dump-frame): Remove interactive specification.
1039
1040 2014-05-26 Glenn Morris <rgm@gnu.org>
1041
1042 * hippie-exp.el (he-line-search-regexp):
1043 Handle comint-prompt-regexp containing subgroups. (Bug#17529)
1044
1045 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
1046
1047 * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
1048 to avoid errors when trying to create or visit a file foo.todo
1049 located outside to todo-directory, and to allow having such files
1050 without them being tied to Todo mode (bug#17482).
1051 (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
1052 (todo-archive-done-item, todo-find-filtered-items-file)
1053 (todo-filter-items, todo-find-item, todo-diary-goto-entry)
1054 (todo-category-completions, todo-read-category): When visiting a
1055 Todo file, make sure we're in the right mode and the buffer local
1056 variables are set.
1057 (todo-make-categories-list, todo-reset-nondiary-marker)
1058 (todo-reset-done-string, todo-reset-comment-string):
1059 After processing all Todo files, kill the buffers of those files that
1060 weren't being visited before the processing.
1061 (todo-display-as-todo-file, todo-add-to-buffer-list)
1062 (todo-visit-files-commands): Comment out.
1063 (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
1064 (auto-mode-alist): Remove add-to-list calls making Todo file
1065 extensions unrestrictedly tied to Todo modes.
1066
1067 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1068
1069 * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
1070 (advice-function-member-p): Tell it to check both names and functions
1071 (bug#17531).
1072 (advice--add-function): Adjust call accordingly.
1073
1074 2014-05-26 Stephen Berman <stephen.berman@gmx.net>
1075
1076 * calendar/todo-mode.el: Miscellaneous bug fixes.
1077 (todo-delete-file): When deleting an archive but not its todo
1078 file, make sure to update the todo file's category sexp.
1079 (todo-move-category): Keep the moved category's name unless the
1080 file moved to already has a category with that name. If the
1081 numerically last category of the source file was moved, make the
1082 first category current to avoid selecting a nonexisting category.
1083 (todo-merge-category): Fix implementation to make merging to a
1084 category in another file work as documented. Eliminate now
1085 insufficient and unnecessary renaming of archive category, correct
1086 document string accordingly, and clarify it. If the numerically
1087 last category of the source file was merged, make the first
1088 category current to avoid selecting a nonexisting category.
1089 (todo-archive-done-item): When there are marked items and point
1090 happens to be on an unmarked item, ignore the latter. Don't leave
1091 point below last item after archiving marked items.
1092 (todo-unarchive-items): Fix logic to ensure unarchiving an item
1093 from an archive with only one category deletes the archive only
1094 when the category is empty after unarchiving. Make sure the todo
1095 file's category sexp is updated.
1096 (todo-read-file-name): Allow an existing file name even when it is
1097 not required (todo-move-category needs this to work as documented).
1098 (todo-add-file): Call todo-validate-name to reject the name of an
1099 existing todo file (needed due to fix in todo-read-file-name).
1100 (todo-reset-nondiary-marker): Also reset in filtered items files.
1101 (todo-reset-done-string, todo-reset-comment-string): Also reset in
1102 regexp filtered items files.
1103 (todo-reset-highlight-item): Also reset in filtered items files.
1104 Fix incorrect variable reference in document string.
1105
1106 2014-05-26 Glenn Morris <rgm@gnu.org>
1107
1108 * window.el (window--dump-frame): Avoid error in --without-x builds.
1109
1110 2014-05-26 Glenn Morris <rgm@gnu.org>
1111
1112 * nxml/nxml-mode.el (xml-mode): Only define this alias once.
1113
1114 2014-05-26 Eli Zaretskii <eliz@gnu.org>
1115
1116 * frame.el (set-frame-font): Doc fix.
1117
1118 * menu-bar.el (menu-set-font): Doc fix. (Bug#17532)
1119
1120 2014-05-26 Dmitry Gutov <dgutov@yandex.ru>
1121
1122 * emacs-lisp/package.el (package--download-one-archive):
1123 Use `write-region' instead of `save-buffer' to avoid running various
1124 hooks. (Bug#17155)
1125 (describe-package-1): Same. Insert newline at the end of the
1126 buffer if appropriate.
1127
1128 2014-05-26 Juri Linkov <juri@jurta.org>
1129
1130 * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
1131 (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
1132 Add more modifiers: meta, control, shift, hyper, super, alt.
1133 (Bug#17439)
1134
1135 * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
1136 to allow changing its value with `set-variable'.
1137
1138 2014-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
1139
1140 * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
1141 #; comments.
1142 (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
1143 New functions.
1144 (scheme-mode-variables): Set syntax-propertize-function instead of
1145 font-lock-syntactic-face-function.
1146 (scheme-font-lock-syntactic-face-function): Delete.
1147
1148 * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
1149
1150 * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
1151 (bug#17392).
1152
1153 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
1154
1155 * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
1156 for a temporary file name.
1157
1158 2014-05-26 Eli Zaretskii <eliz@gnu.org>
1159
1160 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
1161
1162 2014-05-26 Michael Albinus <michael.albinus@gmx.de>
1163
1164 * net/dbus.el (dbus-init-bus, dbus-call-method)
1165 (dbus-call-method-asynchronously, dbus-send-signal)
1166 (dbus-method-return-internal, dbus-method-error-internal):
1167 Check, whether Emacs has been compiled with D-Bus support. (Bug#17508)
1168
1169 2014-05-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1170
1171 * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
1172 methods which do not have a doc string. (Bug#17490)
1173
1174 2014-05-25 Tassilo Horn <tsdh@gnu.org>
1175
1176 * textmodes/reftex-ref.el (reftex-format-special): Make it work
1177 also for AMS Math's \eqref macro.
1178
1179 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1180
1181 Arrange to never byte-compile the generated -pkg.el file.
1182
1183 * emacs-lisp/package.el (package-generate-description-file):
1184 Output first-line comment to set buffer-local var `no-byte-compile'.
1185 Suggested by Dmitry Gutov:
1186 <http://lists.gnu.org/archive/html/emacs-devel/2014-05/msg00401.html>.
1187
1188 2014-05-25 Thien-Thi Nguyen <ttn@gnu.org>
1189
1190 Fix bug: Properly quote args to generated -pkg.el `define-package'.
1191
1192 * emacs-lisp/package.el (package-generate-description-file):
1193 Inline `package--alist-to-plist'; rewrite to selectively
1194 quote alist values that are not self-quoting.
1195 (package--alist-to-plist): Delete func.
1196
1197 2014-05-25 Andreas Schwab <schwab@linux-m68k.org>
1198
1199 * term/xterm.el (xterm-function-map): Add mapping for shifted
1200 keypad keys.
1201
1202 2014-05-24 Daniel Colascione <dancol@dancol.org>
1203
1204 * progmodes/subword.el (subword-find-word-boundary): Move point to
1205 correct spot before search. (Bug#17580)
1206
1207 * emacs-lisp/nadvice.el (defun): Write in eval-and-compile to avoid
1208 breaking the build.
1209
1210 2014-05-24 Leo Liu <sdl.web@gmail.com>
1211
1212 * calc/calc.el (math-bignum): Handle most-negative-fixnum. (Bug#17556)
1213
1214 2014-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
1215
1216 * minibuffer.el (completion--sreverse): Remove.
1217 (completion--common-suffix): Use `reverse' instead.
1218 * emacs-lisp/regexp-opt.el (regexp-opt-group): Use `reverse' on strings.
1219
1220 2014-05-22 Glenn Morris <rgm@gnu.org>
1221
1222 * shell.el (shell-mode) <shell-dirstack-query>: Bypass bash aliases.
1223
1224 2014-05-21 Daniel Colascione <dancol@dancol.org>
1225
1226 * files.el (interpreter-mode-alist): Add mksh.
1227
1228 * progmodes/sh-script.el (sh-ancestor-alist): Add mksh, a pdksh
1229 derivative.
1230 (sh-alias-alist): Alias /system/bin/sh (Android's system shell) to
1231 mksh. Improve custom spec; allow regular expressions.
1232 (sh-shell): Delegate name splitting to `sh-canonicalize-shell'.
1233 (sh-after-hack-local-variables): New function.
1234 (sh-mode): Use it; respect file-local `sh-shell' variable. (bug#17333)
1235 (sh-set-shell): Use `sh-canonicalize-shell' instead of open-coding
1236 the normalization.
1237 (sh-canonicalize-shell): Rewrite to support regexes.
1238
1239 2014-05-21 Leo Liu <sdl.web@gmail.com>
1240
1241 * emacs-lisp/cl-lib.el (cl-endp): Fix last change.
1242
1243 2014-05-19 Leo Liu <sdl.web@gmail.com>
1244
1245 * emacs-lisp/cl-lib.el (cl-endp): Conform to CL's semantics.
1246
1247 2014-05-18 Glenn Morris <rgm@gnu.org>
1248
1249 * loadup.el:
1250 * play/gametree.el: `track-mouse' is always defined since 2012-11-24.
1251
1252 2014-05-14 Sam Steingold <sds@gnu.org>
1253
1254 * progmodes/python.el (python-shell-get-or-create-process):
1255 Do not bind `current-prefix-arg' so that C-c C-z does not talk
1256 back unless requested.
1257
1258 2014-05-14 Glenn Morris <rgm@gnu.org>
1259
1260 * subr.el (with-file-modes): New macro.
1261 * printing.el (pr-save-file-modes): Make obsolete.
1262 * eshell/esh-util.el (eshell-with-file-modes): Make obsolete.
1263 * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-2):
1264 Add with-file-modes.
1265 * doc-view.el (doc-view-make-safe-dir):
1266 * epg.el (epg--start):
1267 * files.el (locate-user-emacs-file, make-temp-file)
1268 (backup-buffer-copy, move-file-to-trash):
1269 * printing.el (pr-despool-print, pr-call-process, pr-text2ps):
1270 * eshell/esh-util.el (eshell-with-private-file-modes)
1271 (eshell-make-private-directory):
1272 * net/browse-url.el (browse-url-mosaic):
1273 * obsolete/mailpost.el (post-mail-send-it):
1274 * obsolete/pgg-pgp.el (pgg-pgp-verify-region):
1275 * obsolete/pgg-pgp5.el (pgg-pgp5-verify-region):
1276 Use with-file-modes.
1277
1278 * vc/emerge.el (emerge-make-temp-file): Simplify.
1279
1280 2014-05-14 Stephen Berman <stephen.berman@gmx.net>
1281 Stefan Monnier <monnier@iro.umontreal.ca>
1282
1283 * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
1284 suffix (bug#15419).
1285
1286 2014-05-14 Glenn Morris <rgm@gnu.org>
1287
1288 * vc/emerge.el (emerge-temp-file-prefix):
1289 Make pointless option obsolete.
1290 (emerge-temp-file-mode): Make non-functional option obsolete.
1291
1292 2014-05-14 Michael Albinus <michael.albinus@gmx.de>
1293
1294 * net/browse-url.el (browse-url):
1295 Use `unhandled-file-name-directory' when setting `default-directory',
1296 in order to circumvent stalled remote connections. (Bug#17425)
1297
1298 2014-05-14 Glenn Morris <rgm@gnu.org>
1299
1300 * printing.el (subst-char-in-string, make-temp-file, pr-get-symbol):
1301 Optimize on Emacs, which has the relevant functions for ages.
1302
1303 2014-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
1304
1305 * simple.el (undo-make-selective-list): Obey undo-no-redo.
1306
1307 2014-05-12 Sam Steingold <sds@gnu.org>
1308
1309 * calendar/time-date.el (seconds-to-string): New function to
1310 pretty print time delay in seconds.
1311
1312 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1313
1314 * mpc.el (mpc-format): Trim Date to the year.
1315 (mpc-songs-hashcons): Shorten the Date field.
1316
1317 * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
1318 into autoloading just because of a silly indirection.
1319
1320 2014-05-12 Santiago Payà i Miralta <santiagopim@gmail.com>
1321
1322 * vc/vc-hg.el (vc-hg-unregister): New function. (Bug#17454)
1323
1324 2014-05-12 Glenn Morris <rgm@gnu.org>
1325
1326 * emacs-lisp/find-gc.el: Move to ../admin.
1327
1328 * printing.el (pr-version):
1329 * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
1330
1331 * net/browse-url.el (browse-url-mosaic):
1332 Create /tmp/Mosaic.PID as a private file.
1333
1334 2014-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
1335
1336 * emacs-lisp/nadvice.el: Support adding a given function multiple times.
1337 (advice--member-p): If name is given, only compare the name.
1338 (advice--remove-function): Don't stop at the first match.
1339 (advice--normalize-place): New function.
1340 (add-function, remove-function): Use it.
1341 (advice--add-function): Pass the name, if any, to
1342 advice--remove-function.
1343
1344 2014-05-12 Philipp Rumpf <prumpf@gmail.com> (tiny change)
1345
1346 * electric.el (electric-indent-post-self-insert-function): Don't use
1347 `pos' after modifying the buffer (bug#17449).
1348
1349 2014-05-12 Stephen Berman <stephen.berman@gmx.net>
1350
1351 * calendar/todo-mode.el (todo-insert-item-from-calendar):
1352 Correct argument list to conform to todo-insert-item--basic.
1353
1354 2014-05-12 Glenn Morris <rgm@gnu.org>
1355
1356 * files.el (cd-absolute): Test if directory is accessible
1357 rather than executable. (Bug#17330)
1358
1359 * progmodes/compile.el (recompile):
1360 Handle C-u M-x recompile from a non-compilation buffer. (Bug#17444)
1361
1362 * net/browse-url.el (browse-url-mosaic):
1363 Be careful when writing /tmp/Mosaic.PID. (Bug#17428)
1364 This is CVE-2014-3423.
1365
1366 2014-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
1367
1368 * mouse.el: Use the normal toplevel loop while dragging.
1369 (mouse-set-point): Handle multi-clicks.
1370 (mouse-set-region): Handle multi-clicks for drags.
1371 (mouse-drag-region): Update call accordingly.
1372 (mouse-drag-track): Remove `do-mouse-drag-region-post-process' hack.
1373 Use the normal event loop instead of a local while/read-event loop.
1374 (global-map): Remove redundant bindings for double/triple-mouse-1.
1375 * xt-mouse.el (xterm-mouse-translate-1): Only process one event at a time.
1376 Generate synthetic down events when the protocol only sends up events.
1377 (xterm-mouse-last): Remove.
1378 (xterm-mouse--read-event-sequence-1000): Use xterm-mouse-last-down
1379 terminal parameter instead.
1380 (xterm-mouse--set-click-count): New function.
1381 (xterm-mouse-event): Detect/generate double/triple clicks.
1382 * reveal.el (reveal-close-old-overlays): Don't close while dragging.
1383
1384 * info.el (Info-quoted): New face.
1385 (Info-mode-font-lock-keywords): New var.
1386 (Info-mode): Use it.
1387
1388 * emacs-lisp/lisp-mode.el (preceding-sexp): Exclude leading "," which
1389 are a hindrance for C-x C-e.
1390
1391 2014-05-11 Leo Liu <sdl.web@gmail.com>
1392
1393 * net/rcirc.el (rcirc-sentinel): Fix last change.
1394
1395 2014-05-08 Sam Steingold <sds@gnu.org>
1396
1397 * net/rcirc.el (rcirc-reconnect-delay): New user option.
1398 (rcirc-sentinel): Auto-reconnect to the server if
1399 `rcirc-reconnect-delay' is non-0 (but not more often than its
1400 value in case the host is off-line).
1401
1402 2014-05-09 Eli Zaretskii <eliz@gnu.org>
1403
1404 * progmodes/grep.el (lgrep): Fix a typo in last commit.
1405
1406 2014-05-09 Glenn Morris <rgm@gnu.org>
1407
1408 * files.el (file-expand-wildcards):
1409 * man.el (Man-support-local-filenames):
1410 * printing.el (pr-i-directory, pr-interface-directory):
1411 * progmodes/grep.el (lgrep, rgrep):
1412 * textmodes/ispell.el (ispell-call-process)
1413 (ispell-call-process-region, ispell-start-process)
1414 (ispell-init-process): Use file-accessible-directory-p.
1415
1416 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1417
1418 * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
1419 (xterm-mouse--read-event-sequence-1000): Return nil if something
1420 looks fishy.
1421 (xterm-mouse-event): Propagate it.
1422 (xterm-mouse-translate-1): Handle it.
1423
1424 2014-05-08 Stephen Berman <stephen.berman@gmx.net>
1425
1426 * calendar/todo-mode.el (todo-insert-item--apply-args): When all
1427 four slots of the parameter list are filled, make sure to pass it
1428 to the argument list of todo-insert-item--basic.
1429
1430 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1431
1432 * emacs-lisp/package.el (package-compute-transaction): Topological sort.
1433 Add optional `seen' argument to detect and break infinite loops.
1434
1435 2014-05-08 Eli Zaretskii <eliz@gnu.org>
1436
1437 * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
1438 (trace-unsafe, trace-use-tree): Make parentheses style be
1439 according to Emacs style.
1440
1441 2014-05-08 Michael Albinus <michael.albinus@gmx.de>
1442
1443 * net/tramp-sh.el (tramp-remote-process-environment):
1444 Remove HISTFILE and HISTSIZE; it's too late to set them here.
1445 Add :version entry.
1446 (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
1447 Add "HISTSIZE=/dev/null" to the shell's env arguments. Do not send
1448 extra "PSx=..." commands.
1449 (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
1450 (Bug#17295)
1451
1452 (tramp-uudecode): Replace the hard-coded temporary file name by a
1453 format specifier.
1454 (tramp-remote-coding-commands): Enhance docstring.
1455 (tramp-find-inline-encoding): Replace "%t" by a temporary file
1456 name. (Bug#17415)
1457 This is CVE-2014-3424.
1458
1459 2014-05-08 Glenn Morris <rgm@gnu.org>
1460
1461 * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
1462 (find-gc-source-files): Update some names.
1463 (trace-call-tree): Simplify and update.
1464 Avoid predictable temp-file names. (http://bugs.debian.org/747100)
1465 This is CVE-2014-3422.
1466
1467 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1468
1469 * minibuffer.el (completion--try-word-completion): Revert fix for
1470 Bug#15980 (bug#17375).
1471
1472 * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
1473 Always store button numbers in the same way in xterm-mouse-last;
1474 Don't burp is xterm-mouse-last is not set as expected.
1475 Never return negative indices.
1476
1477 2014-05-08 Dmitry Gutov <dgutov@yandex.ru>
1478
1479 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1480 Backtrack one char if the global/char-literal var matcher hits
1481 inside a string. The next char could be the beginning of an
1482 expression expansion.
1483
1484 2014-05-08 Glenn Morris <rgm@gnu.org>
1485
1486 * help-fns.el (describe-function-1): Test for an autoload before a
1487 macro, since `macrop' works on autoloads. (Bug#17410)
1488
1489 2014-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
1490
1491 * electric.el (electric-indent-functions-without-reindent): Add yaml.
1492
1493 * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
1494 Make sure the new point we return is within the new string (bug#17239).
1495
1496 2014-05-05 Daniel Colascione <dancol@dancol.org>
1497
1498 * progmodes/compile.el (compilation-error-regexp-alist-alist):
1499 Port `gnu' pattern to rx.
1500
1501 2014-05-05 Jarek Czekalski <jarekczek@poczta.onet.pl>
1502
1503 Remove unneeded prompt when closing a buffer with active
1504 emacsclient ("Buffer ... still has clients"), #16548.
1505 * server.el (server-start): Remove the only call to:
1506 (server-kill-buffer-query-function): Remove.
1507
1508 2014-05-04 Leo Liu <sdl.web@gmail.com>
1509
1510 * calendar/diary-lib.el (calendar-chinese-month-name-array):
1511 Defvar to pacify compiler.
1512
1513 2014-05-04 Eli Zaretskii <eliz@gnu.org>
1514
1515 * mail/rmailsum.el (rmail-new-summary-1): Fix a typo in a comment.
1516
1517 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1518
1519 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
1520 Use nil rather than `default' for the "default" appearance (bug#17388).
1521 * vc/ediff-util.el (ediff-inferior-compare-regions)
1522 (ediff-toggle-autorefine, ediff-unselect-difference): Don't use
1523 a misleading `default' value when it's really a boolean.
1524 * vc/ediff-init.el (ediff-set-overlay-face): Don't set help-echo if the
1525 overlay is not visible.
1526
1527 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1528
1529 * calendar/todo-mode.el (todo-edit-file): Use display-warning.
1530 (todo-menu): Uncomment and update.
1531
1532 2014-05-04 Stephen Berman <stephen.berman@gmx.net>
1533
1534 * calendar/todo-mode.el: Reimplement item editing to have the same
1535 basic user interface as item insertion, and make small UI and
1536 larger internal improvements to the latter.
1537 (todo-insert-item): Add reference to the Todo mode user manual to
1538 the documentation string.
1539 (todo-insert-item--basic): Rename from todo-basic-insert-item and
1540 adjust all callers. Change signature to combine diary and
1541 nonmarking arguments. Incorporate functionality of deleted item
1542 copying command and add error checking. Remove detailed
1543 descriptions of the arguments from the documentation string, since
1544 this is treated in the Todo mode user manual.
1545 (todo-copy-item, todo-edit-multiline-item)
1546 (todo-edit-done-item-comment, todo-edit-item-header)
1547 (todo-edit-item-time, todo-edit-item-date-from-calendar)
1548 (todo-edit-item-date-to-today, todo-edit-item-date-day-name)
1549 (todo-edit-item-date-year, todo-edit-item-date-month)
1550 (todo-edit-item-date-day, todo-edit-item-diary-nonmarking):
1551 Remove.
1552 (todo-edit-item): Reimplement as wrapper command for
1553 todo-edit-item--next-key and make it distinguish done and not done
1554 todo items.
1555 (todo-edit-item--text): New function, replacing old command
1556 todo-edit-item and incorporating deleted commands
1557 todo-edit-multiline-item and todo-edit-done-item-comment.
1558 (todo-edit-item--header): Rename from todo-basic-edit-item-header.
1559 Use only numeric value of prefix argument. Remove detailed
1560 descriptions of the arguments from the documentation string, since
1561 this is treated in the Todo mode user manual.
1562 (todo-edit-item--diary-inclusion): New function, replacing old
1563 command todo-edit-item-diary-inclusion and incorporating and fixing
1564 functionality of deleted command todo-edit-item-diary-nonmarking,
1565 making sure to remove todo-nondiary-marker when adding
1566 diary-nonmarking-symbol.
1567 (todo-edit-category-diary-inclusion): Make sure to delete
1568 diary-nonmarking-symbol when adding todo-nondiary-marker.
1569 (todo-edit-category-diary-nonmarking): Fix indentation.
1570 (todo-insert-item--parameters): Group diary and nonmarking
1571 parameters together.
1572 (todo-insert-item--apply-args): Adjust to signature of
1573 todo-insert-item--basic and incorporate copy parameter.
1574 Make small code improvements.
1575 (todo-insert-item--next-param): Improve prompt and adjust it to
1576 new parameter grouping. Remove obsolete code.
1577 (todo-edit-item--param-key-alist)
1578 (todo-edit-item--date-param-key-alist)
1579 (todo-edit-done-item--param-key-alist): New defconsts.
1580 (todo-edit-item--prompt): New variable.
1581 (todo-edit-item--next-key): New function.
1582 (todo-key-bindings-t): Bind "e" to todo-edit-item.
1583 Remove bindings of deleted commands.
1584
1585 2014-05-04 Leo Liu <sdl.web@gmail.com>
1586
1587 * emacs-lisp/cl-macs.el (cl-deftype): Fix indentation.
1588
1589 2014-05-04 Glenn Morris <rgm@gnu.org>
1590
1591 * allout-widgets.el (allout-widgets-tally)
1592 (allout-decorate-item-guides):
1593 * menu-bar.el (menu-bar-positive-p):
1594 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
1595 * progmodes/gdb-mi.el (gdbmi-same-start, gdbmi-is-number):
1596 * progmodes/js.el (js--inside-param-list-p)
1597 (js--inside-dojo-class-list-p, js--forward-destructuring-spec):
1598 * progmodes/prolog.el (region-exists-p):
1599 * progmodes/verilog-mode.el (verilog-scan-cache-ok-p):
1600 * textmodes/reftex-parse.el (reftex-using-biblatex-p):
1601 Doc fixes (replace `iff').
1602
1603 2014-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
1604
1605 * mpc.el (mpc-volume-mouse-set): Don't burp at the boundaries.
1606
1607 2014-05-04 Leo Liu <sdl.web@gmail.com>
1608
1609 Support Chinese diary entries in calendar and diary. (Bug#17393)
1610 * calendar/cal-china.el (calendar-chinese-month-name-array): New var.
1611 (calendar-chinese-from-absolute-for-diary)
1612 (calendar-chinese-to-absolute-for-diary)
1613 (calendar-chinese-mark-date-pattern, diary-chinese-mark-entries)
1614 (diary-chinese-list-entries): New functions to list and mark
1615 Chinese diary entries in the calendar window.
1616 (diary-chinese-anniversary)
1617 (diary-chinese-insert-anniversary-entry)
1618 (diary-chinese-insert-entry, diary-chinese-insert-monthly-entry)
1619 (diary-chinese-insert-yearly-entry): New commands to insert
1620 Chinese diary entries.
1621
1622 * calendar/diary-lib.el (diary-font-lock-keywords):
1623 Support font-locking Chinese dates.
1624
1625 * calendar/cal-menu.el (cal-menu-diary-menu): Add entries for
1626 inserting Chinese diary entries.
1627
1628 * calendar/calendar.el (diary-chinese-entry-symbol):
1629 New customizable variable.
1630 (calendar-mode-map): Add bindings for inserting Chinese diary
1631 entries.
1632
1633 2014-05-03 Juri Linkov <juri@jurta.org>
1634
1635 * dired.el (dired-check-switches, dired-switches-recursive-p):
1636 New functions. (Bug#17218)
1637 (dired-switches-escape-p, dired-move-to-end-of-filename):
1638 Use `dired-check-switches'.
1639 (dired-insert-old-subdirs, dired-build-subdir-alist)
1640 (dired-sort-R-check): Use `dired-switches-recursive-p'.
1641
1642 2014-05-01 Barry O'Reilly <gundaetiapo@gmail.com>
1643
1644 * simple.el (undo-make-selective-list): New algorithm fixes
1645 incorrectness of position adjustments when undoing in region.
1646 (Bug#17235)
1647 (undo-elt-crosses-region): Make obsolete.
1648 (undo-adjust-elt, undo-adjust-beg-end, undo-adjust-pos):
1649 New functions to adjust positions using undo-deltas.
1650
1651 2014-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
1652
1653 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): Only highlight past
1654 the last consecutive closing paren (bug#17345).
1655
1656 2014-04-30 Reuben Thomas <rrt@sc3d.org>
1657
1658 * dired.el (dired-mode): make terminology for eXpunge command
1659 consistent. (Bug#17276)
1660
1661 2014-04-30 Eli Zaretskii <eliz@gnu.org>
1662
1663 * dired.el (dired-initial-position-hook, dired-initial-position):
1664 Doc string fixes.
1665
1666 2014-04-30 Glenn Morris <rgm@gnu.org>
1667
1668 * mail/rmail.el (rmail-quit): Handle killed summaries. (Bug#17283)
1669
1670 2014-04-30 Matthias Dahl <matthias.dahl@binary-island.eu>
1671
1672 * faces.el (face-spec-recalc): Apply X resources only after the
1673 defface spec has been applied. Thus, X resources are no longer
1674 overriden by the defface spec which also fixes issues on win32 where
1675 the toolbar coloring was wrong because it is set through X resources
1676 and was (wrongfully) overriden. (Bug#16694)
1677
1678 2014-04-30 Stefan Monnier <monnier@iro.umontreal.ca>
1679
1680 * textmodes/rst.el (electric-pair-pairs): Declare.
1681 (rst-mode): Set it (bug#17131).
1682
1683 2014-04-30 Juri Linkov <juri@jurta.org>
1684
1685 * desktop.el (desktop-value-to-string): Let-bind `print-length'
1686 and `print-level' to nil. (Bug#17351)
1687
1688 2014-04-30 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1689
1690 * battery.el (battery-update): Handle the case where battery
1691 status is "N/A" (bug#17319).
1692
1693 2014-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1694
1695 * progmodes/ps-mode.el: Use SMIE. Move string and comment recognition
1696 to syntax-propertize.
1697 (ps-mode-auto-indent): Mark as obsolete.
1698 (ps-mode-font-lock-keywords-1): Remove string-or-comment handling.
1699 (ps-mode-font-lock-keywords-3): Use symbol regexp operators instead of
1700 word regexp operators.
1701 (ps-mode-map): Move initialization into declaration. Remove binding
1702 for TAB, RET, >, ], and }.
1703 (ps-mode-syntax-table): Move initialization into declaration.
1704 Don't give word syntax to non-word chars.
1705 (ps-run-mode-map): Move initialization into declaration.
1706 (ps-mode-menu-main): Remove auto-indent entry.
1707 (ps-mode-smie-rules): New function.
1708 (ps-mode): Setup smie, syntax-propertize, and electric-indent-mode.
1709 (ps-mode-looking-at-nested, ps-mode-match-string-or-comment): Remove.
1710 (ps-mode--string-syntax-table): New const.
1711 (ps-mode--syntax-propertize-special, ps-mode-syntax-propertize):
1712 New functions.
1713 (ps-mode-newline, ps-mode-tabkey, ps-mode-r-brace, ps-mode-r-angle)
1714 (ps-mode-r-gt, ps-mode-r-balance): Remove functions.
1715
1716 2014-04-27 Daniel Colascione <dancol@dancol.org>
1717
1718 * term/xterm.el (xterm-paste): Use large finite timeout when
1719 reading event to avoid putting keys in this-command-keys.
1720
1721 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1722
1723 * progmodes/perl-mode.el (perl--syntax-exp-intro-regexp): New var.
1724 (perl-syntax-propertize-function): Use it. Extend handling of
1725 here-docs to the unquoted case.
1726
1727 2014-04-25 Eli Zaretskii <eliz@gnu.org>
1728
1729 * tooltip.el (tooltip-show-help-non-mode, tooltip-show-help):
1730 Use equal-including-properties to compare help-echo strings (bug#17331).
1731
1732 2014-04-25 Leo Liu <sdl.web@gmail.com>
1733
1734 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1735 Fix syntax for @. (Bug#17325)
1736
1737 2014-04-25 Daniel Colascione <dancol@dancol.org>
1738
1739 * emacs-lisp/cl.el (gv): Require gv early to break eager
1740 macro-expansion cycles.
1741
1742 2014-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
1743
1744 * simple.el (region-active-p): Check there's a mark (bug#17324).
1745
1746 * simple.el (completion-list-mode-map): Use choose-completion for the
1747 mouse binding as well (bug#17302).
1748 (completion-list-mode, completion-setup-function): Adjust docstring and
1749 echo area message accordingly.
1750 * progmodes/idlwave.el (idlwave-choose-completion): Adjust to new
1751 calling convention of choose-completion.
1752 * comint.el (comint-dynamic-list-completions):
1753 * term.el (term-dynamic-list-completions): Accept choose-completion.
1754
1755 * progmodes/perl-mode.el (perl-syntax-propertize-function): Slash after
1756 &, |, +, - and * can't be a division (bug#17317).
1757
1758 * term/xterm.el (xterm--version-handler): Don't use modern xterm
1759 features on gnome-terminal (bug#16988).
1760
1761 2014-04-25 Thien-Thi Nguyen <ttn@gnu.org>
1762
1763 Improve Scheme font-locking for (define ((foo ...) ...) ...).
1764
1765 * progmodes/scheme.el (scheme-font-lock-keywords-1): To find
1766 the declared object, ignore zero or more parens, not zero or one.
1767
1768 2014-04-24 Leo Liu <sdl.web@gmail.com>
1769
1770 * progmodes/xscheme.el (xscheme-expressions-ring)
1771 (xscheme-expressions-ring-yank-pointer, xscheme-running-p)
1772 (xscheme-control-g-disabled-p, xscheme-process-filter-state)
1773 (xscheme-allow-output-p, xscheme-prompt)
1774 (xscheme-string-accumulator, xscheme-mode-string): Use defvar-local.
1775
1776 * progmodes/scheme.el (would-be-symbol, next-sexp-as-string):
1777 Comment out unused functions.
1778
1779 2014-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
1780
1781 * info.el: Use lexical-binding and cl-lib.
1782 Use defvar-local and setq-local instead of make-local-variable.
1783 (Info-apropos-matches): Avoid add-to-list.
1784 (Info-edit-mode-map): Fix obsolescence call to Info-edit-map.
1785
1786 2014-04-24 Daniel Colascione <dancol@dancol.org>
1787
1788 * progmodes/sh-script.el (sh-builtins): Add coproc to list of bash builtins.
1789
1790 2014-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1791
1792 * emacs-lisp/cl-macs.el (cl--loop-let): Fix last merge.
1793
1794 2014-04-22 Michael Heerdegen <michael_heerdegen@web.de>
1795
1796 * dired.el (dired-insert-set-properties): Do not consider
1797 subdirectory headings and empty lines to be information that
1798 `dired-hide-details-mode' should hide. (Bug#17228)
1799
1800 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1801
1802 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1803 Remove test messages.
1804 (tramp-do-copy-or-rename-file-out-of-band): Do not quote `source'
1805 and `target' twice.
1806
1807 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1808
1809 * dframe.el (dframe-get-focus): Remove `hook' argument (bug#17311).
1810 * speedbar.el (speedbar-get-focus): Run the "hook" afterwards instead.
1811
1812 * emacs-lisp/cl-macs.el (cl--loop-let): Avoid `nil' as var name.
1813
1814 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1815
1816 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
1817 Set "IFS=" when using read builtin, in order to preserve spaces in
1818 the file name. Add test messages for hunting a bug on hydra.
1819 (tramp-get-ls-command): Undo using "-b" argument. It doesn't help.
1820
1821 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1822
1823 * progmodes/prog-mode.el (prettify-symbols--compose-symbol):
1824 Don't prettify a word within a symbol.
1825
1826 2014-04-22 Michael Albinus <michael.albinus@gmx.de>
1827
1828 * net/tramp-sh.el (tramp-get-ls-command): Use "-b" argument if
1829 possible.
1830
1831 2014-04-22 Daniel Colascione <dancol@dancol.org>
1832
1833 * emacs-lisp/byte-run.el (function-put): Unbreak build: don't
1834 use defun to define `function-put'.
1835
1836 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1837
1838 * emacs-lisp/lisp-mode.el (lisp--match-hidden-arg): New function.
1839 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords-2): Use it.
1840 (lisp-mode-variables): Set font-lock-extra-managed-props.
1841
1842 * emacs-lisp/byte-run.el (function-put): New function.
1843 (defun-declarations-alist): Use it. Add `pure' and `side-effect-free'.
1844 * emacs-lisp/cl-macs.el (cl-defstruct, cl-struct-sequence-type)
1845 (cl-struct-slot-info, cl-struct-slot-offset, cl-struct-slot-value):
1846 Use them.
1847
1848 2014-04-22 Daniel Colascione <dancol@dancol.org>
1849
1850 * emacs-lisp/macroexp.el (internal-macroexpand-for-load):
1851 Add `full-p' parameter; when nil, call `macroexpand' instead of
1852 `macroexpand-all'.
1853
1854 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1855 Improve docstrings.
1856
1857 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1858 Use lambda function values, not quoted lambdas.
1859 (byte-compile-recurse-toplevel): Remove extraneous &optional.
1860
1861 * emacs-lisp/cl-macs.el
1862 (cl-struct-sequence-type, cl-struct-slot-info): Declare pure.
1863 (cl-struct-slot-value): Conditionally use aref or nth so that the
1864 compiler produces optimal code.
1865
1866 2014-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
1867
1868 * emacs-lisp/cl-macs.el (cl-struct-slot-offset): Mark as pure.
1869 (inline): Don't inline cl--set-elt.
1870 (cl-struct-slot-value): Remove explicit gv-setter and compiler-macro.
1871 Define as inlinable instead.
1872 (cl-struct-set-slot-value): Remove.
1873
1874 * emacs-lisp/cl-lib.el (cl--set-elt): Remove.
1875 * emacs-lisp/cl-seq.el (cl-replace, cl-substitute, cl-nsubstitute):
1876 Use setf instead.
1877
1878 2014-04-21 Daniel Colascione <dancol@dancol.org>
1879
1880 * emacs-lisp/cl-macs.el (cl--const-expr-val): We didn't need the
1881 last two parameters after all.
1882 (cl--expr-contains,cl--compiler-macro-typep,cl--compiler-macro-member)
1883 (cl--compiler-macro-assoc,cl-struct-slot-value)
1884 (cl-struct-set-slot-value): Stop using them.
1885
1886 (2014-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1887
1888 * image-mode.el (image-mode-window-put): Don't assume there's a `t'
1889 entry in image-mode-winprops-alist.
1890
1891 2014-04-21 Daniel Colascione <dancol@dancol.org>
1892
1893 * emacs-lisp/bytecomp.el (byte-compile-recurse-toplevel): New function.
1894 (byte-compile-recurse-toplevel, byte-compile-initial-macro-environment)
1895 (byte-compile-toplevel-file-form): Use it.
1896
1897 * emacs-lisp/cl-macs.el:
1898 (cl--loop-let): Properly destructure `while' clauses.
1899
1900 2014-04-20 Daniel Colascione <dancol@dancol.org>
1901
1902 * vc/vc.el (vc-root-dir): New public autoloaded function for
1903 generically finding the current VC root.
1904 * vc/vc-hooks.el (vc-not-supported): New error.
1905 (vc-call-backend): Signal `vc-not-supported' instead of generic error.
1906
1907 2014-04-20 Daniel Colascione <dancol@dancol.org>
1908
1909 * emacs-lisp/cl-macs.el (cl-the): Make `cl-the' assert its type
1910 argument.
1911 (cl--const-expr-val): cl--const-expr-val should macroexpand its
1912 argument in case we're inside a symbol-macrolet.
1913 (cl--do-arglist, cl--compiler-macro-typep)
1914 (cl--compiler-macro-member, cl--compiler-macro-assoc): Pass macro
1915 environment to `cl--const-expr-val'.
1916 (cl-struct-sequence-type,cl-struct-slot-info)
1917 (cl-struct-slot-offset, cl-struct-slot-value)
1918 (cl-struct-set-slot-value): New functions.
1919
1920 2014-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1921
1922 * progmodes/sh-script.el (sh-smie--sh-keyword-p): Handle variable
1923 assignments such as "case=hello" (bug#17297).
1924
1925 2014-04-18 Michael Albinus <michael.albinus@gmx.de>
1926
1927 * net/tramp.el (tramp-run-real-handler, tramp-file-name-handler):
1928 Do not autoload.
1929 (tramp-file-name-handler, tramp-completion-file-name-handler):
1930 Revert patch from 2014-04-10, it isn't necessary anymore.
1931 (tramp-autoload-file-name-handler)
1932 (tramp-register-autoload-file-name-handlers): New defuns.
1933 (top): Autoload call of `tramp-register-autoload-file-name-handlers'.
1934 (tramp-register-file-name-handlers): Remove also
1935 `tramp-autoload-file-name-handler' from `file-name-handler-list'.
1936 Do not autoload its invocation, but eval it after loading of 'tramp.
1937
1938 * net/tramp-adb.el (tramp-unload-hook): Unload `tramp-adb'.
1939
1940 * net/tramp-compat.el (tramp-unload-hook): Unload `tramp-loaddefs'.
1941
1942 2014-04-17 Daniel Colascione <dancol@dancol.org>
1943
1944 Add support for bracketed paste mode; add infrastructure for
1945 managing terminal mode enabling and disabling automatically.
1946
1947 * xt-mouse.el:
1948 (xterm-mouse-mode): Simplify.
1949 (xterm-mouse-tracking-enable-sequence)
1950 (xterm-mouse-tracking-disable-sequence): New constants.
1951 (turn-on-xterm-mouse-tracking-on-terminal)
1952 (turn-off-xterm-mouse-tracking-on-terminal):
1953 Use tty-mode-set-strings and tty-mode-reset-strings terminal
1954 parameters instead of random hooks.
1955 (turn-on-xterm-mouse-tracking)
1956 (turn-off-xterm-mouse-tracking): Delete.
1957
1958 * term/xterm.el (xterm-extra-capabilities): Fix bitrotted comment.
1959 (xterm-paste-ending-sequence): New constant.
1960 (xterm-paste): New command used for bracketed paste support.
1961
1962 (xterm-modify-other-keys-terminal-list): Delete obsolete variable.
1963 (terminal-init-xterm-bracketed-paste-mode): New function.
1964 (terminal-init-xterm): Call it.
1965 (terminal-init-xterm-modify-other-keys): Use tty-mode-set-strings
1966 and tty-mode-reset-strings instead of random hooks.
1967 (xterm-turn-on-modify-other-keys)
1968 (xterm-turn-off-modify-other-keys)
1969 (xterm-remove-modify-other-keys): Delete obsolete functions.
1970
1971 * term/screen.el: Rewrite to just use the xterm code.
1972 Add copyright notice. Mention tmux.
1973
1974 2014-04-17 Ian D <dunni@gnu.org> (tiny change)
1975
1976 * image-mode.el (image-mode-window-put): Also update the property of
1977 the "default window".
1978 * doc-view.el (doc-view-new-window-function): If no window
1979 exists, move to the last known page.
1980
1981 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1982
1983 * progmodes/perl-mode.el (perl-calculate-indent): Don't auto-indent in
1984 here-documents (bug#17262).
1985
1986 2014-04-16 Eli Zaretskii <eliz@gnu.org>
1987
1988 * term/pc-win.el (x-list-fonts, x-get-selection-value):
1989 Provide doc strings, as required by snarf-documentation.
1990
1991 2014-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
1992
1993 * ps-def.el (ps-generate-postscript-with-faces1): Use the new `sorted'
1994 arg of overlays-at. Use `invisible-p'.
1995
1996 * obsolete/lucid.el (extent-at):
1997 * htmlfontify.el (hfy-overlay-props-at): Use the new `sorted' arg of
1998 overlays-at.
1999 (hfy-fontify-buffer): Remove unused var `orig-ovls'.
2000
2001 2014-04-16 João Távora <joaotavora@gmail.com>
2002
2003 * net/shr.el (shr-expand-url): Use `expand-file-name' for relative
2004 links. (Bug#17217).
2005
2006 2014-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2007
2008 * vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer):
2009 Use mapc to loop over a vector. (Bug#17257).
2010
2011 2014-04-16 Michael Albinus <michael.albinus@gmx.de>
2012
2013 * net/tramp-sh.el (tramp-sh-handle-file-truename): Revert previous
2014 patch, there are new problems with file names containing spaces.
2015 Get rid of backticks. (Bug#17238)
2016
2017 2014-04-16 João Távora <joaotavora@gmail.com>
2018
2019 * elec-pair.el (electric-pair--syntax-ppss): Simplify and fix
2020 possible bug.
2021
2022 2014-04-16 Eli Zaretskii <eliz@gnu.org>
2023
2024 * frame.el (blink-cursor-blinks, blink-cursor-blinks-done): Doc fixes.
2025 (blink-cursor-mode): Mention customization variables and the
2026 effect of 'blink-cursor-blinks'.
2027
2028 2014-04-16 Barry O'Reilly <gundaetiapo@gmail.com>
2029
2030 * simple.el (undo): Prevent insertion of identity mapping into
2031 undo-equiv-table so as undo-only does not inf loop in the presence
2032 of consecutive nils in undo list.
2033
2034 2014-04-16 Matthias Dahl <matthias.dahl@binary-island.eu>
2035
2036 * faces.el (make-face): Deprecate optional argument as it is no
2037 longer needed/used since the conditional X resources handling
2038 has been pushed down to make-face-x-resource-internal itself.
2039 (make-empty-face): Don't pass optional argument to make-face.
2040
2041 2014-04-16 Karl Fogel <kfogel@red-bean.com>
2042
2043 * savehist.el (savehist-save): Remove workaround for a read-passwd
2044 bug that was fixed before 24.3. Thanks to Juanma Barranquero for
2045 noticing that the shim was still present.
2046
2047 2014-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
2048
2049 * doc-view.el (doc-view-set-doc-type): Ignore file name case; add .pps.
2050
2051 2014-04-14 Juanma Barranquero <lekktu@gmail.com>
2052
2053 * faces.el (face-set-after-frame-default): Remove unused local variable.
2054
2055 2014-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
2056
2057 * progmodes/grep.el: Use lexical-binding.
2058 (grep-expand-template): Pass explicit lexical env to `eval'.
2059 (zrgrep): Let-bind grep-find-template explicitly.
2060
2061 * emacs-lisp/cl-lib.el (current-case-table): Remove setter.
2062 * leim/quail/sisheng.el (sisheng-list): Use with-case-table.
2063
2064 2014-04-12 Eli Zaretskii <eliz@gnu.org>
2065
2066 * international/characters.el <standard-case-table>: Add entries
2067 for letters from the Coptic block u+2C80-u+2CFF. (Bug#17243)
2068 Set category of Coptic characters be 'g' (Greek).
2069
2070 2014-04-12 Leo Liu <sdl.web@gmail.com>
2071
2072 * progmodes/octave.el (completion-table-with-cache):
2073 Define if not available.
2074 (octave-goto-function-definition, octave-sync-function-file-names)
2075 (octave-find-definition-default-filename):
2076 Backquote upattern for compatibility.
2077
2078 2014-04-12 Michael Albinus <michael.albinus@gmx.de>
2079
2080 * net/tramp-sh.el (tramp-sh-handle-file-truename): Quote the file
2081 name twice due to backticks. (Bug#17238)
2082
2083 2014-04-12 Glenn Morris <rgm@gnu.org>
2084
2085 * term/w32-win.el (x-win-suspend-error):
2086 * term/x-win.el (x-win-suspend-error): Sync docs.
2087
2088 2014-04-12 Matthias Dahl <matthias.dahl@binary-island.eu>
2089
2090 * faces.el (make-face): Remove deprecated optional argument.
2091 The conditional application of X resources is handled directly by
2092 make-face-x-resource-internal since Emacs 24.4.
2093 (make-empty-face): Don't pass optional argument to make-face.
2094
2095 2014-04-11 Glenn Morris <rgm@gnu.org>
2096
2097 * Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH): Unexport. (Bug#16429)
2098
2099 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2100
2101 Ediff's overlay priorities cause more trouble than they solve.
2102 * vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
2103 (ediff-highest-priority): Remove function (bug#17234).
2104 * vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
2105 * vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
2106 (ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
2107 overlay priorities.
2108
2109 2014-04-11 Feng Li <fengli@gmail.com> (tiny change)
2110
2111 * progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
2112 entry; use symbol boundaries to avoid mis-matches.
2113
2114 2014-04-11 Michael Albinus <michael.albinus@gmx.de>
2115
2116 * net/tramp.el (tramp-file-name-handler)
2117 (tramp-completion-file-name-handler): Avoid recursive loading.
2118
2119 * net/tramp-sh.el (tramp-make-copy-program-file-name):
2120 Quote result also locally.
2121
2122 2014-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
2123
2124 * emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
2125 Remove left-over code.
2126
2127 * newcomment.el (comment-indent-new-line): Sink code where it's used.
2128 Reuse the previous comment's indentation unconditionally if it's on its
2129 own line.
2130
2131 2014-04-09 Daniel Colascione <dancol@dancol.org>
2132
2133 * emacs-lisp/lisp.el (backward-up-list): Add `escape-strings',
2134 `no-syntax-crossing' arguments. Forward to `up-list'.
2135 (up-list): Add `escape-strings', `no-syntax-crossing' arguments.
2136 Implement logic for escaping from strings. Use narrowing to deal
2137 with corner cases.
2138
2139 2014-04-09 Leo Liu <sdl.web@gmail.com>
2140
2141 * net/rcirc.el (rcirc-connection-info): New variable.
2142 (rcirc-connect): Use it to store connection info.
2143 (rcirc-buffer-process): Avoid get-buffer-process which returns nil
2144 for killed process.
2145 (rcirc-cmd-reconnect): New command. (Bug#17045)
2146 (rcirc-mode, set-rcirc-encode-coding-system)
2147 (set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
2148
2149 2014-04-09 Daniel Colascione <dancol@dancol.org>
2150
2151 * emacs-lisp/cl-indent.el: Add comment claiming
2152 facility is also good for elisp.
2153 (lisp-indent-find-method): New function.
2154 (common-lisp-indent-function): Recognize cl-loop.
2155 (common-lisp-indent-function-1): Recognize cl constructs; use
2156 `lisp-indent-find-method' instead of `get' directly.
2157 (if): Use else-body style for elisp.
2158
2159 2014-04-09 Dmitry Gutov <dgutov@yandex.ru>
2160
2161 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
2162 Module methods. (Bug#17216)
2163
2164 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
2165
2166 * help.el (describe-bindings): Fix buffer handling (bug#17210).
2167 (describe-bindings-internal): Mark obsolete.
2168
2169 2014-04-09 Stefan Monnier <monnier@iro.umontreal.ca>
2170
2171 * subr.el (with-silent-modifications): Don't bind deactivate-mark,
2172 buffer-file-name, and buffer-file-truename any more.
2173
2174 2014-04-08 Leo Liu <sdl.web@gmail.com>
2175
2176 Use lexical-binding and require cl-lib.
2177 * net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
2178 (rcirc-handler-generic, rcirc-fill-paragraph)
2179 (rcirc-format-response-string, rcirc-target-buffer)
2180 (rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
2181 (rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
2182 (rcirc-ctcp-sender-PING, rcirc-browse-url)
2183 (rcirc-markup-timestamp, rcirc-markup-attributes)
2184 (rcirc-markup-my-nick, rcirc-markup-urls)
2185 (rcirc-markup-bright-nicks, rcirc-markup-fill)
2186 (rcirc-check-auth-status, rcirc-handler-WALLOPS)
2187 (rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
2188 (rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
2189 (rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
2190 (rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
2191 (rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
2192 (rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
2193 (rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
2194 (rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
2195 (rcirc-handler-CTCP-response): Fix unused arguments warnings and
2196 use cl-lib.
2197
2198 2014-04-07 João Távora <joaotavora@gmail.com>
2199
2200 * elec-pair.el (electric-pair--syntax-ppss):
2201 When inside comments parse from comment beginning.
2202 (electric-pair--balance-info): Fix typo in comment.
2203 (electric-pair--in-unterminated-string-p): Delete.
2204 (electric-pair--unbalanced-strings-p): New function.
2205 (electric-pair-string-bound-function): New var.
2206 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2207 according to `electric-pair--in-unterminated-string-p'
2208
2209 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2210 Inhibit quote pairing if point-max is inside an unterminated string.
2211 (electric-pair--looking-at-unterminated-string-p): Delete.
2212 (electric-pair--in-unterminated-string-p): New function.
2213
2214 2014-04-07 Glenn Morris <rgm@gnu.org>
2215
2216 * shell.el (shell-directory-tracker):
2217 Go back to just ignoring failures. (Bug#17159)
2218
2219 2014-04-07 João Távora <joaotavora@gmail.com>
2220
2221 Fix `electric-pair-delete-adjacent-pairs' in modes binding
2222 backspace. (bug#16981)
2223 * elec-pair.el (electric-pair-backward-delete-char): Delete.
2224 (electric-pair-backward-delete-char-untabify): Delete.
2225 (electric-pair-mode-map): Bind backspace to a menu item filtering
2226 a new `electric-pair-delete-pair' command.
2227 (electric-pair-delete-pair): New command.
2228
2229 * progmodes/python.el (python-electric-pair-string-delimiter):
2230 Fix triple-quoting electricity. (Bug#17192)
2231
2232 * elec-pair.el (electric-pair-post-self-insert-function):
2233 Don't skip whitespace when `electric-pair-text-pairs' and
2234 `electric-pair-pairs' were used. syntax to
2235 electric-pair--skip-whitespace. (Bug#17183)
2236
2237 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2238
2239 * leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for
2240 "<F>". (Bug#17199)
2241
2242 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2243
2244 * mpc.el (mpc--status-timer-run): Disable timer if not displayed.
2245 (mpc--status-idle-timer-run): Use mpc--status-timer-run.
2246
2247 2014-04-07 Glenn Morris <rgm@gnu.org>
2248
2249 * help.el (view-lossage): Doc tweak.
2250
2251 2014-04-07 Matthias Dahl <ml_emacs-lists@binary-island.eu>
2252
2253 * faces.el (face-spec-recalc): Call make-face-x-resource-internal
2254 only when inhibit-x-resources is nil, and do that earlier in the
2255 function. Doc fix. (Bug#16694)
2256 (face-spec-choose): Accept additional optional argument, whose
2257 value is returned if no matching attributes are found.
2258 (face-spec-recalc): Use the new optional argument when calling
2259 face-spec-choose. (Bug#16378)
2260 (make-face-x-resource-internal): Do nothing when
2261 inhibit-x-resources is non-nil. Don't touch the default face if
2262 reversed video is given--as was done in previous versions of Emacs.
2263 (face-set-after-frame-default): Don't call
2264 make-face-x-resource-internal here. (Bug#16434)
2265
2266 2014-04-07 Tassilo Horn <tsdh@gnu.org>
2267
2268 * doc-view.el (doc-view-bookmark-jump):
2269 Use `bookmark-after-jump-hook' to jump to the right page after the
2270 buffer is shown in a window. (bug#16090)
2271
2272 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2273
2274 * international/characters.el (mirroring): Fix last change:
2275 instead of loading uni-mirrored.el explicitly, do that implicitly
2276 by creating the 'mirroring' uniprop table. This avoids announcing
2277 the loading of uni-mirrored.el.
2278
2279 2014-04-07 Glenn Morris <rgm@gnu.org>
2280
2281 * files.el (buffer-stale--default-function)
2282 (buffer-stale-function, revert-buffer--default):
2283 * autorevert.el (auto-revert-buffers): Doc tweaks.
2284
2285 2014-04-07 Eli Zaretskii <eliz@gnu.org>
2286
2287 * international/characters.el: Preload uni-mirrored.el. (Bug#17169)
2288
2289 2014-04-07 Glenn Morris <rgm@gnu.org>
2290
2291 * files.el (make-backup-file-name-function)
2292 (make-backup-file-name, make-backup-file-name--default-function)
2293 (make-backup-file-name-1, find-backup-file-name)
2294 (revert-buffer-function, revert-buffer-insert-file-contents-function)
2295 (buffer-stale--default-function, buffer-stale-function)
2296 (before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
2297 (revert-buffer, revert-buffer--default)
2298 (revert-buffer-insert-file-contents--default-function):
2299 Doc fixes related to defaults no longer being nil.
2300 (make-backup-file-name-function): Bump :version.
2301 Restore nil as a valid but deprecated custom type.
2302
2303 2014-04-07 Stefan Monnier <monnier@iro.umontreal.ca>
2304
2305 * progmodes/perl-mode.el (perl-syntax-propertize-function):
2306 Handle $' used as a variable (bug#17174).
2307
2308 * progmodes/perl-mode.el (perl-indent-new-calculate):
2309 Handle forward-sexp failure (bug#16985).
2310 (perl-syntax-propertize-function): Add "foreach" and "for" statement
2311 modifiers introducing expressions (bug#17116).
2312
2313 2014-04-06 Stefan Monnier <monnier@iro.umontreal.ca>
2314
2315 * dired-aux.el (dired-file-set-difference): Use lexical-scoping.
2316
2317 2014-04-05 Leo Liu <sdl.web@gmail.com>
2318
2319 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
2320 Add define-compilation-mode.
2321
2322 2014-04-04 João Távora <joaotavora@gmail.com>
2323
2324 * elec-pair.el (electric-pair--syntax-ppss): When inside comments
2325 parse from comment beginning.
2326 (electric-pair--balance-info): Fix typo in comment.
2327 (electric-pair--in-unterminated-string-p): Delete.
2328 (electric-pair--unbalanced-strings-p): New function.
2329 (electric-pair-string-bound-function): New var.
2330 (electric-pair-inhibit-if-helps-balance): Decide quote pairing
2331 according to `electric-pair--in-unterminated-string-p'.
2332
2333 2014-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
2334
2335 * textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
2336 Move declaration before first use.
2337 (reftex-move-to-next-arg): Silence compiler warning.
2338
2339 2014-04-04 Joost Kremers <joostkremers@fastmail.fm> (tiny change)
2340
2341 * textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge):
2342 Use `window-total-width' instead of `window-width'.
2343
2344 2014-04-03 Daniel Colascione <dancol@dancol.org>
2345
2346 * subr.el (set-transient-map): Remove rms's workaround entirely;
2347 use new `suspicious-object' subr to mark our lambda for closer
2348 scrutiny during gc.
2349
2350 2014-04-02 Richard Stallman <rms@gnu.org>
2351
2352 * subr.el (set-transient-map): Comment out previous change.
2353
2354 2014-04-02 Glenn Morris <rgm@gnu.org>
2355
2356 * menu-bar.el (menu-bar-file-menu):
2357 * vc/ediff.el (ediff-current-file):
2358 Update for revert-buffer-function no longer being nil by default.
2359
2360 * simple.el (command-execute): Respect nil disabled-command-function.
2361
2362 2014-04-02 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2363
2364 * simple.el (command-execute): Do not execute the command when it
2365 is disabled; fixes thinko in 2013-02-20 conversion from C. (Bug#17151)
2366
2367 2014-04-02 Juri Linkov <juri@jurta.org>
2368
2369 * dired-aux.el (dired-compress-file): Don't use string-match-p
2370 because its match data is used afterwards.
2371
2372 2014-04-02 Stefan Monnier <monnier@iro.umontreal.ca>
2373
2374 * emacs-lisp/package.el (package-built-in-p): Treat a min-version of
2375 0 like nil.
2376
2377 2014-04-02 João Távora <joaotavora@gmail.com>
2378
2379 * elec-pair.el (electric-pair-inhibit-if-helps-balance):
2380 Inhibit quote pairing if point-max is inside an unterminated string.
2381 (electric-pair--looking-at-unterminated-string-p):
2382 Delete.
2383 (electric-pair--in-unterminated-string-p): New function.
2384
2385 2014-04-01 Daniel Colascione <dancol@dancol.org>
2386
2387 * minibuffer.el (minibuffer-complete): Prevent assertion failure
2388 when trying to complete the prompt.
2389
2390 2014-03-31 Leo Liu <sdl.web@gmail.com>
2391
2392 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2393 Refactor out eldoc-documentation-function-default.
2394 (eldoc-documentation-function-default): New function.
2395 (eldoc-documentation-function): Change value.
2396
2397 2014-03-31 Glenn Morris <rgm@gnu.org>
2398
2399 * simple.el (cycle-spacing--context, cycle-spacing): Doc tweaks.
2400
2401 * progmodes/vhdl-mode.el (vhdl-speedbar-select-mra)
2402 (vhdl-compose-components-package, vhdl-compose-configuration):
2403 Abbreviate default-directory (missing from some previous upstream sync).
2404
2405 2014-03-31 Reto Zimmermann <reto@gnu.org>
2406
2407 Sync with upstream vhdl mode v3.35.2.
2408 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2409 (top-level): No longer require assoc.
2410 (vhdl-asort, vhdl-anot-head-p, vhdl-aput, vhdl-adelete, vhdl-aget):
2411 New functions. Use throughout to replace aget etc.
2412 (vhdl-aput-delete-if-nil): Rename from vhdl-aput.
2413 (vhdl-update-file-contents): Update for vhdl-aput-delete-if-nil rename.
2414 (vhdl-template-replace-header-keywords): Fix bug for "<title string>".
2415 (vhdl-compile-init): Do not initialize regexps for Emacs 22+.
2416 (vhdl-error-regexp-emacs-alist): Remove regexps from all compilers
2417 except `vhdl-compiler'.
2418 (vhdl-error-regexp-add-emacs): Remove all other compilers,
2419 when appropriate.
2420
2421 2014-03-31 Glenn Morris <rgm@gnu.org>
2422
2423 * progmodes/vhdl-mode.el (vhdl-expand-abbrev, vhdl-expand-paren):
2424 Revert 2014-03-26 merge goof; go back to using defalias.
2425
2426 2014-03-30 Daniel Colascione <dancol@dancol.org>
2427
2428 * comint.el (comint-send-input):
2429 Deactivate completion-in-region-mode before we send comint input.
2430 (Bug#17139).
2431
2432 * simple.el (keyboard-quit): Deactivate completion-in-region-mode
2433 on keyboard-quit.
2434
2435 2014-03-29 Glenn Morris <rgm@gnu.org>
2436
2437 * textmodes/reftex.el: Manage most autoloads automatically.
2438 * textmodes/reftex-auc.el, textmodes/reftex-cite.el:
2439 * textmodes/reftex-dcr.el, textmodes/reftex-global.el:
2440 * textmodes/reftex-index.el, textmodes/reftex-parse.el:
2441 * textmodes/reftex-ref.el, textmodes/reftex-sel.el:
2442 * textmodes/reftex-toc.el: Set generated-autoload-file,
2443 and add autoload cookies for reftex.el.
2444 * Makefile.in (AUTOGEN_VCS): Add textmodes/reftex.el.
2445
2446 2014-03-28 Glenn Morris <rgm@gnu.org>
2447
2448 * cus-start.el (report-emacs-bug-address): Set custom properties.
2449 * mail/emacsbug.el (report-emacs-bug-address):
2450 Variable is now defined in emacs.c.
2451
2452 * mail/emacsbug.el (report-emacs-bug):
2453 Include system-configuration-features.
2454
2455 2014-03-28 Michal Nazarewicz <mina86@mina86.com>
2456
2457 * simple.el (cycle-spacing): Never delete spaces on first run by
2458 default, but do so in a new 'fast mode and if there are already
2459 N spaces (the previous behavior).
2460 Compare N with its value in previous invocation so that changing
2461 prefix argument restarts `cycle-spacing' sequence.
2462 The idea is that with this change, binding M-SPC to
2463 `cycle-spacing' should not introduce any changes in behavior of
2464 the binding so long as users do not type M-SPC twice in a raw with
2465 the same prefix argument or lack thereof.
2466
2467 2014-03-28 Glenn Morris <rgm@gnu.org>
2468
2469 * faces.el (term-file-aliases): New variable.
2470 (tty-run-terminal-initialization): Respect term-file-aliases.
2471 * term/apollo.el, term/vt102.el, term/vt125.el, term/vt201.el:
2472 * term/vt220.el, term/vt240.el, term/vt300.el, term/vt320.el:
2473 * term/vt400.el, term/vt420.el: Remove files, replaced by aliases.
2474
2475 2014-03-27 Glenn Morris <rgm@gnu.org>
2476
2477 * startup.el (inhibit-startup-hooks): Doc tweak.
2478 (normal-top-level): Simplify running of hooks.
2479 For window-setup-hook, respect inhibit-startup-hooks.
2480 (command-line-1): Don't set window-setup-hook to nil.
2481
2482 Allow selective autoloading from obsolete/ directory.
2483 * Makefile.in (obsolete-autoloads): New rule.
2484 (autoloads): Run obsolete-autoloads.
2485 * obsolete/iswitchb.el (iswitchb-mode): Use obsolete-autoload.
2486 * simple.el (iswitchb-mode): Remove hand-written autoloads.
2487
2488 2014-03-27 Dmitry Gutov <dgutov@yandex.ru>
2489
2490 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2491 Highlight special globals with font-lock-builtin-face. (Bug#17057)
2492
2493 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2494 Don't propertize `?' or `!' as symbol constituent when after
2495 colon. (Bug#17097)
2496
2497 2014-03-27 Juanma Barranquero <lekktu@gmail.com>
2498
2499 * frameset.el (frameset--restore-frame): Remove workaround for bug#14795
2500 which is no longer needed and causes trouble in GTK builds (bug#17046).
2501
2502 * emacs-lisp/package-x.el (package--archive-contents-from-url):
2503 Use url-insert-file-contents; package-handle-response no longer exists.
2504
2505 2014-03-26 Daniel Colascione <dancol@dancol.org>
2506
2507 * simple.el (process-menu-mode-map): New variable.
2508 (process-menu-delete-process): New command.
2509
2510 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2511
2512 * emacs-lisp/package.el: Fix bug#16733 (again).
2513 (url-http-parse-response, url-http-end-of-headers, url-recreate-url)
2514 (url-http-target-url): Remove unused declarations.
2515 (package-handle-response): Remove.
2516 (package--with-work-buffer): Use url-insert-file-contents and simplify.
2517 (package--download-one-archive): Use current-buffer instead of
2518 dynamic binding of `buffer'.
2519 (describe-package-1): Do not decode readme-string.
2520
2521 2014-03-26 Michael Albinus <michael.albinus@gmx.de>
2522
2523 * net/tramp.el (tramp-methods, tramp-connection-timeout): Fix docstring.
2524
2525 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Revert change
2526 from 2014-03-07, it decreases performance unnecessarily. Let-bind
2527 `remote-file-name-inhibit-cache' to nil in the second pass.
2528 (tramp-find-executable): Do not call "which" on SunOS.
2529 (tramp-send-command-and-check): Fix docstring.
2530 (tramp-do-copy-or-rename-file-directly): In the `rename' case,
2531 check whether source directory has set the sticky bit.
2532
2533 2014-03-26 Barry O'Reilly <gundaetiapo@gmail.com>
2534
2535 * simple.el (primitive-undo): Only process marker adjustments
2536 validated against their corresponding (TEXT . POS). Issue warning
2537 for lone marker adjustments in undo history. (Bug#16818)
2538 (undo-make-selective-list): Add marker adjustments to selective
2539 undo list based on whether their corresponding (TEXT . POS) is in
2540 the region. Remove variable adjusted-markers, which was unused
2541 and only non nil during undo-make-selective-list.
2542 (undo-elt-in-region): Return nil when passed a marker adjustment
2543 and explain in function doc.
2544
2545 2014-03-26 Nicolas Richard <theonewiththeevillook@yahoo.fr>
2546
2547 * align.el (align-region): Do not fail when end-mark is nil (bug#17088).
2548
2549 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2550
2551 * progmodes/ruby-mode.el (ruby-expression-expansion-re):
2552 Match special global variables without curlies, too.
2553 (ruby-font-lock-keywords): Simplify the matcher for special global
2554 variables. Don't require a non-word character after the variable.
2555 (Bug#17057)
2556
2557 2014-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
2558
2559 * simple.el (redisplay-highlight-region-function): Increase priority of
2560 overlay to make sure boundaries are visible (bug#15899).
2561
2562 2014-03-26 Juanma Barranquero <lekktu@gmail.com>
2563
2564 * frameset.el (frameset--initial-params): Fix typo in parameter name.
2565 (frameset-restore): Compare display strings with equal.
2566
2567 * frame.el (make-frame): Don't quote display name in error message,
2568 it is already a string.
2569
2570 2014-03-26 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2571
2572 * net/tramp.el (tramp-read-passwd): Suspend the timers while reading
2573 the password.
2574
2575 2014-03-26 Dmitry Gutov <dgutov@yandex.ru>
2576
2577 * emacs-lisp/package.el (package--add-to-archive-contents):
2578 Include already installed and built-in packages in
2579 `package-archive-contents'.
2580 (package-install): Don't include already installed packages in the
2581 options during interactive invocation. (Bug#16762)
2582 (package-show-package-list): If the buffer is already displayed in
2583 another window, switch to that window.
2584
2585 2014-03-26 Reto Zimmermann <reto@gnu.org>
2586
2587 Sync with upstream vhdl mode v3.35.1.
2588 * progmodes/vhdl-mode.el (vhdl-version, vhdl-time-stamp): Update.
2589 (vhdl-compiler-alist): Doc fix.
2590 (vhdl-goto-line): Remove.
2591 (vhdl-mode-abbrev-table-init): Add XEmacs compat.
2592 (vhdl-mode) <paragraph-start>: Fix value.
2593 (vhdl-fix-statement-region): Not `for' in wait-statement.
2594 (vhdl-beautify-region): Also (un)tabify.
2595 (vhdl-get-visible-signals):
2596 Scan declarative part of generate statements.
2597 (vhdl-template-record): Fix indentation for record type declaration.
2598 (vhdl-expand-abbrev, vhdl-expand-paren):
2599 Revert to using fset again rather than defalias.
2600 (vhdl-scan-directory-contents): Tweak.
2601 (vhdl-speedbar-find-file, vhdl-speedbar-port-copy)
2602 (vhdl-compose-components-package):
2603 Replace vhdl-goto-line with forward-line.
2604 (top-level): Tweak speedbar frame selection.
2605 (vhdl-generate-makefile-1): Support for compilers with no
2606 unit-to-file name mapping (create directory with dummy files).
2607
2608 2014-03-26 Wilson Snyder <wsnyder@wsnyder.org>
2609
2610 Sync with upstream verilog-mode revision 702457d.
2611 * progmodes/verilog-mode.el (verilog-mode-version): Update.
2612 (create-lockfiles): Declare.
2613 (verilog-read-decls): Fix module header imports, bug709.
2614 Reported by Victor Lau.
2615 Fix parsing 'var' in AUTOs, msg1294. Reported by Dominique Chen.
2616 (verilog-auto-inout-module): Fix AUTOINOUTMODULE not inserting
2617 interface-only modules, bug721. Reported by Dean Hoyt.
2618
2619 2014-03-26 Glenn Morris <rgm@gnu.org>
2620
2621 * obsolete/gulp.el: Move here from emacs-lisp/.
2622
2623 * files.el (lock-buffer, unlock-buffer, file-locked-p):
2624 Remove fallback aliases, since they are always defined now.
2625
2626 2014-03-24 Daniel Colascione <dancol@dancol.org>
2627
2628 * emacs-lisp/cl-macs.el (cl--do-arglist): Use `plist-member'
2629 instead of cl-loop search function.
2630
2631 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2632
2633 * calendar/parse-time.el (parse-time-iso8601-regexp)
2634 (parse-iso8601-time-string): Copied from `url-dav' so that we can use
2635 it more generally.
2636
2637 2014-03-23 Lars Ingebrigtsen <larsi@gnus.org>
2638
2639 * net/dns.el (network-interface-list): Define for XEmacs.
2640
2641 2014-03-23 Magnus Henoch <magnus.henoch@gmail.com>
2642
2643 * net/dns.el (dns-servers-up-to-date-p): New function to see whether
2644 the network interfaces changed.
2645 (dns-query): Use it to flush the data.
2646
2647 2014-03-23 Juanma Barranquero <lekktu@gmail.com>
2648
2649 * vc/vc.el (vc-rollback): Use set-buffer-modified-p.
2650
2651 2014-03-23 Daniel Colascione <dancol@dancol.org>
2652
2653 Change subword-mode to use `find-word-boundary-function-table' and
2654 replace `capitalized-words-mode'. Also, convert to lexical
2655 binding.
2656
2657 * progmodes/cap-words.el: Delete now-obsolete file.
2658 * progmodes/subword.el: Reimplement using
2659 `find-word-boundary-function-table'.
2660 (subword-mode-map): Hollow out.
2661 (capitalized-words-mode): Define as obsolete alias for
2662 `subword-mode'.
2663 (subword-mode, superword-mode): Tweak documentation to reflect new
2664 implementation; call `subword-setup-buffer'.
2665 (subword-forward, subword-capitalize): Add underscore to indicate
2666 unused variable.
2667 (subword-find-word-boundary-function-table): New constant.
2668 (subword-empty-char-table): New constant.
2669 (subword-setup-buffer): New function.
2670 (subword-find-word-boundary): New function.
2671
2672 2014-03-23 Daniel Colascione <dancol@dancol.org>
2673
2674 * emacs-lisp/cl-macs.el (cl--do-arglist): Use a little `cl-loop'
2675 list to look for keyword arguments instead of `memq', fixing
2676 (Bug#3647) --- unfortunately, only for freshly-compiled code.
2677 Please make bootstrap.
2678
2679 2014-03-22 Glenn Morris <rgm@gnu.org>
2680
2681 * dired.el (dired-read-regexp): Make obsolete.
2682 (dired-mark-files-regexp, dired-mark-files-containing-regexp)
2683 (dired-flag-files-regexp):
2684 * dired-aux.el (dired-mark-read-regexp):
2685 * dired-x.el (dired-mark-unmarked-files): Use read-regexp directly.
2686
2687 * startup.el (fancy-startup-text):
2688 * help.el (describe-gnu-project): Visit online info about GNU project.
2689
2690 * help-fns.el (help-fns--interactive-only): New function.
2691 (help-fns-describe-function-functions): Add the above function.
2692 * simple.el (beginning-of-buffer, end-of-buffer, insert-buffer)
2693 (next-line, previous-line): Remove hand-written interactive-only
2694 information from doc strings, it is auto-generated now.
2695 * bookmark.el (bookmark-write):
2696 * epa-mail.el (epa-mail-decrypt, epa-mail-verify, epa-mail-sign)
2697 (epa-mail-import-keys): Mark interactive-only,
2698 and remove hand-written interactive-only information from doc strings.
2699 * epa.el (epa-decrypt-armor-in-region, epa-verify-region)
2700 (epa-verify-cleartext-in-region, epa-sign-region, epa-encrypt-region):
2701 * files.el (not-modified):
2702 * simple.el (mark-whole-buffer): Mark interactive-only.
2703
2704 * emacs-lisp/byte-run.el (defun-declarations-alist):
2705 Add interactive-only. Doc tweak.
2706 (macro-declarations-alist): Doc tweak.
2707 * subr.el (declare): Doc tweak (add xref to manual).
2708 * comint.el (comint-run):
2709 * files.el (insert-file-literally, insert-file):
2710 * replace.el (replace-string, replace-regexp):
2711 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2712 (delete-forward-char, goto-line, insert-buffer, next-line)
2713 (previous-line): Set interactive-only via declare.
2714
2715 2014-03-22 Dmitry Gutov <dgutov@yandex.ru>
2716
2717 * emacs-lisp/package.el (package-desc): Use the contents of the
2718 quoted form, not its cdr. (Bug#16873)
2719
2720 2014-03-22 Juanma Barranquero <lekktu@gmail.com>
2721
2722 * w32-common-fns.el (x-selection-owner-p): Add empty docstring for the
2723 benefit of doc.c; change parameter profile to match the X function.
2724
2725 2014-03-22 Leo Liu <sdl.web@gmail.com>
2726
2727 * help.el (temp-buffer-setup-hook): Remove help-mode-setup.
2728 (temp-buffer-show-hook): Remove help-mode-finish. (Bug#16038)
2729
2730 2014-03-21 Richard Stallman <rms@gnu.org>
2731
2732 * battery.el (battery-linux-sysfs): Search for each field
2733 from the beginning of the buffer.
2734
2735 * subr.el (set-transient-map): Clear out function and value
2736 of the temporary symbol when we're done with it.
2737
2738 * mail/rmailsum.el (rmail-summary-delete-forward):
2739 Optimize case of reaching end and handling count.
2740 (rmail-summary-mark-deleted): Optimize when N is current msg.
2741 Don't create new summary line.
2742 (rmail-summary-undelete): Pass arg to rmail-undelete-previous-message.
2743 (rmail-summary-undelete-many): Rewrite for speed.
2744 (rmail-summary-msg-number): New function.
2745
2746 * mail/rmail.el (rmail-delete-message): Update summary.
2747 (rmail-undelete-previous-message): Handle repeat count arg.
2748 (rmail-delete-backward, rmail-delete-forward): Likewise.
2749
2750 2014-03-21 Daniel Colascione <dancol@dancol.org>
2751
2752 * mail/emacsbug.el (report-emacs-bug): Include memory usage
2753 information in bug reports.
2754
2755 2014-03-21 Michael Albinus <michael.albinus@gmx.de>
2756
2757 * net/tramp.el (tramp-methods): Add docstring for `tramp-login-env'
2758 and `tramp-copy-env'.
2759
2760 * net/tramp-sh.el (tramp-methods) <sudo>: Add `tramp-login-env'.
2761 (tramp-maybe-open-connection): Handle `tramp-login-env'.
2762
2763 2014-03-21 Glenn Morris <rgm@gnu.org>
2764
2765 * electric.el (electric-indent-post-self-insert-function): Add doc.
2766
2767 2014-03-21 Dmitry Gutov <dgutov@yandex.ru>
2768
2769 * emacs-lisp/package.el (package-compute-transaction):
2770 Use `version-list-<=' to compare the requirement version against
2771 the version of package already to be installed. Update the error
2772 message. (Bug#16826)
2773
2774 * progmodes/ruby-mode.el (ruby-smie-rules):
2775 Add indentation rule for ` @ '. (Bug#17050)
2776
2777 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2778
2779 * align.el (align-regexp): Remove superfluous backslash.
2780
2781 * ffap.el (ffap-ftp-default-user, ffap-url-regexp)
2782 (ffap-pass-wildcards-to-dired, dired-at-point-require-prefix)
2783 (ffap-rfc-path, ffap-ftp-sans-slash-regexp, ffap-menu-regexp):
2784 Fix docstring typos.
2785 (ffap-next): Use C-u in docstring.
2786 (ffap-machine-p, ffap-list-env, ffap-alist, ffap-alist)
2787 (ffap-string-at-point-mode-alist, ffap-menu, ffap-menu-ask):
2788 Remove superfluous backslashes.
2789 (ffap-string-at-point): Reflow docstring.
2790
2791 * server.el (server-host): Reflow docstring.
2792 (server-unload-function): Fix docstring typo.
2793 (server-eval-at): Remove superfluous backslash.
2794
2795 * skeleton.el (skeleton-insert): Remove superfluous backslash.
2796 (skeleton-insert): Doc fix.
2797 (skeleton-insert): Reflow docstring.
2798
2799 * term/tty-colors.el (tty-color-alist, tty-modify-color-alist)
2800 (tty-color-approximate, tty-color-by-index, tty-color-values)
2801 (tty-color-desc): Remove superfluous backslashes.
2802
2803 2014-03-21 Glenn Morris <rgm@gnu.org>
2804
2805 * cus-start.el (history-length): Bump :version.
2806
2807 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
2808 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
2809 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
2810 Don't set `make-backup-files'.
2811
2812 * info.el (info--prettify-description): New function,
2813 to give info-finder descriptions consistent case, punctuation.
2814 (Info-finder-find-node): Use it. Sort packages.
2815 Refer to "description" rather than "commentary".
2816
2817 2014-03-21 Juanma Barranquero <lekktu@gmail.com>
2818
2819 * frameset.el (frameset--print-register): New function.
2820 (frameset-to-register): Use it.
2821
2822 2014-03-20 Juanma Barranquero <lekktu@gmail.com>
2823
2824 * progmodes/hideif.el (hif-string-to-number): New function.
2825 (hif-tokenize): Use it to understand non-decimal floats.
2826
2827 * emacs-lisp/cl-extra.el (cl--map-overlays): Remove obsolete code.
2828
2829 * skeleton.el (skeleton-autowrap): Mark as obsolete. Doc fix.
2830
2831 2014-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2832
2833 * electric.el (electric-newline-and-maybe-indent): New command.
2834 Bind it globally to C-j.
2835 (electric-indent-mode): Don't mess with the global map any more.
2836 Don't drop the post-self-insert-hook is some buffer is still using it
2837 (bug#16770).
2838
2839 * bindings.el (global-map): Remove C-j binding.
2840
2841 * emacs-lisp/nadvice.el (advice--make-docstring): Try harder to find
2842 the docstring of functions advised before dumping (bug#16993).
2843
2844 2014-03-19 Stefan-W. Hahn <stefan.hahn@s-hahn.de> (tiny change)
2845
2846 * ps-print.el (ps-generate-postscript-with-faces):
2847 Explicitly deactivate the mark (bug#16866).
2848 * simple.el (deactivate-mark): Update region highlight.
2849
2850 2014-03-19 Juanma Barranquero <lekktu@gmail.com>
2851
2852 * emacs-lisp/package.el (describe-package-1):
2853 Decode commentary (bug#16733).
2854
2855 2014-03-18 Juanma Barranquero <lekktu@gmail.com>
2856
2857 * custom.el (defcustom): Doc fix: recommend avoiding destructive
2858 modification of the value argument of :set (bug#16755).
2859
2860 2014-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
2861
2862 * simple.el (newline-and-indent): Do autofill (bug#17031).
2863
2864 2014-03-18 Dmitry Gutov <dgutov@yandex.ru>
2865
2866 * newcomment.el (comment-normalize-vars): Only add escaping check
2867 to `comment-start-skip' if not `comment-use-syntax'. (Bug#16971)
2868 (comment-beginning): Use `narrow-to-region' instead of moving back
2869 one character.
2870 (http://lists.gnu.org/archive/html/emacs-devel/2014-03/msg00488.html)
2871 (comment-start-skip): Update the docstring.
2872
2873 2014-03-18 Richard Stallman <rms@gnu.org>
2874
2875 * dired.el (dired-display-file): Force use of other window.
2876
2877 2014-03-18 Daniel Colascione <dancol@dancol.org>
2878
2879 * startup.el (tty-handle-args): Remove debug message from 2007.
2880
2881 2014-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
2882
2883 * emacs-lisp/nadvice.el (advice--interactive-form): New function.
2884 (advice--make-interactive-form): Use it to avoid (auto)loading function.
2885 (advice--make-1, advice-add, advice-remove):
2886 Remove braindead :advice-pending hack.
2887
2888 2014-03-17 Glenn Morris <rgm@gnu.org>
2889
2890 * calendar/calendar.el (calendar-generate-month): Apply weekend
2891 face to the right days; fixes 2013-08-06 change. (Bug#17028)
2892
2893 2014-03-17 Michael Albinus <michael.albinus@gmx.de>
2894
2895 * net/tramp.el (tramp-action-out-of-band): Read pending output.
2896 (tramp-call-process): Trace also DESTINATION.
2897
2898 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
2899 Quote file names when they are local. Remove superfluous trace.
2900
2901 2014-03-17 Dmitry Gutov <dgutov@yandex.ru>
2902
2903 * newcomment.el (comment-beginning): If `comment-start-skip'
2904 doesn't match, move back one char and try again. (Bug#16971)
2905
2906 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2907 Set `comment-use-syntax' to t to avoid the unnecessary runtime check.
2908 Set `comment-start-skip' to a simpler value that doesn't try to
2909 check if the semicolon is escaped (this is handled by
2910 `syntax-ppss' now). (Bug#16971)
2911
2912 * progmodes/scheme.el (scheme-mode-variables): Same.
2913
2914 2014-03-16 Martin Rudalics <rudalics@gmx.at>
2915
2916 Fix behavior of with-temp-buffer-window (Bug#16816, Bug#17007).
2917 * window.el (with-temp-buffer-window): Don't make BUFFER-OR-NAME
2918 current (Bug#16816, Bug#17007).
2919 (with-current-buffer-window): New macro doing the same as
2920 `with-temp-buffer-window' but with BUFFER-OR-NAME current.
2921 * help.el (help-print-return-message): Warn in doc-string to not
2922 use this in `with-help-window'.
2923 (describe-bindings-internal): Call `describe-buffer-bindings'
2924 from within help buffer. See Juanma's scenario in (Bug#16816).
2925 (with-help-window): Update doc-string.
2926 * dired.el (dired-mark-pop-up):
2927 * files.el (save-buffers-kill-emacs):
2928 * register.el (register-preview): Use `with-current-buffer-window'
2929 instead of `with-temp-buffer-window'.
2930
2931 2014-03-16 Juanma Barranquero <lekktu@gmail.com>
2932
2933 * textmodes/rst.el (rst-arabic-to-roman, rst-roman-to-arabic):
2934 Implement inserting into current buffer, documented in their docstrings.
2935 (rst-define-key, rst-compare-adornments, rst-insert-list-new-item)
2936 (rst-section-tree-point, rst-forward-section, rst-indent)
2937 (rst-compute-tabs, rst-font-lock-find-unindented-line-end)
2938 (rst-font-lock-find-unindented-line-limit, rst-adornment-level)
2939 (rst-font-lock-handle-adornment-pre-match-form)
2940 (rst-repeat-last-character): Reflow docstrings.
2941 (rst-preferred-adornments, rst-update-section, rst-find-title-line)
2942 (rst-adjust-adornment-work, rst-initial-items, rst-insert-list)
2943 (rst-toc-insert-style, rst-toc-insert-node, rst-goto-section)
2944 (rst-compile, rst-imenu-convert-cell, rst-imenu-create-index):
2945 Fix docstring typos.
2946 (rst-all-sections, rst-section-hierarchy, rst-adjust): Doc fixes.
2947 (rst-uncomment-region, rst-font-lock-find-unindented-line-match)
2948 (rst-font-lock-handle-adornment-matcher): Mark unused arguments.
2949
2950 2014-03-15 Juanma Barranquero <lekktu@gmail.com>
2951
2952 * term/ns-win.el (x-command-line-resources): Rename from ns-... version,
2953 for compatibility with other ports.
2954 (ns-initialize-window-system): Use it. It is set in term/common-win.el
2955 from the -xrm command line argument, but in the Nextstep port its value
2956 is irrelevant because nsfns.m:Fx_open_connection ignores it for now.
2957
2958 * progmodes/python.el (defconst, python-syntax-count-quotes)
2959 (python-indent-region, python-indent-shift-right)
2960 (python-indent-dedent-line-backspace, python-nav-backward-sexp)
2961 (python-nav-backward-sexp-safe, python-nav-backward-up-list)
2962 (python-shell-prompt-block-regexp, python-shell-prompt-output-regexp)
2963 (python-shell-prompt-pdb-regexp, python-shell-enable-font-lock)
2964 (inferior-python-mode, python-shell-make-comint, run-python-internal)
2965 (python-shell-buffer-substring, python-shell-send-buffer)
2966 (python-pdbtrack-activate, python-pdbtrack-stacktrace-info-regexp)
2967 (python-completion-complete-at-point, python-fill-docstring-style)
2968 (python-eldoc-function, python-imenu-format-item-label)
2969 (python-imenu-format-parent-item-label)
2970 (python-imenu-format-parent-item-jump-label)
2971 (python-imenu--build-tree, python-imenu-create-index)
2972 (python-imenu-create-flat-index): Fix docstring typos.
2973 (python-indent-context, python-shell-prompt-regexp, run-python):
2974 Remove superfluous backslashes.
2975 (python-indent-line, python-nav-beginning-of-defun)
2976 (python-shell-get-buffer, python-shell-get-process)
2977 (python-info-current-defun, python-info-current-line-comment-p)
2978 (python-info-current-line-empty-p, python-util-popn): Doc fixes.
2979 (python-indent-post-self-insert-function, python-shell-send-file)
2980 (python-shell-completion-get-completions)
2981 (python-shell-completion-complete-or-indent)
2982 (python-eldoc--get-doc-at-point): Reflow docstrings.
2983
2984 2014-03-14 Glenn Morris <rgm@gnu.org>
2985
2986 * emacs-lisp/package.el (package-menu-mode-map):
2987 Replace use of obsolete function alias. Tweak menu item text.
2988
2989 * info.el (Info-finder-find-node):
2990 Ignore the `emacs' metapackage. (Bug#10813)
2991
2992 * finder.el (finder-list-matches): Include unversioned packages
2993 in the result of a keyword search.
2994
2995 * finder.el (finder--builtins-descriptions): New constant.
2996 (finder-compile-keywords): Use finder--builtins-descriptions.
2997
2998 2014-03-14 Dmitry Gutov <dgutov@yandex.ru>
2999
3000 * simple.el (blink-matching-paren): Describe the new value,
3001 `jump', enabling the old behavior.
3002 (blink-matching-open): Use that value. (Bug#17008)
3003
3004 2014-03-14 Glenn Morris <rgm@gnu.org>
3005
3006 * finder.el (finder-no-scan-regexp): Add leim-list.
3007 (finder-compile-keywords):
3008 Don't skip files with same basename. (Bug#14010)
3009 * Makefile.in (setwins_finder): New, excluding leim.
3010 (finder-data): Use setwins_finder.
3011
3012 * help-fns.el (help-split-fundoc, help-add-fundoc-usage)
3013 (help-function-arglist, help-make-usage): Move from here...
3014 * help.el (help-split-fundoc, help-add-fundoc-usage)
3015 (help-function-arglist, help-make-usage): ... to here. (Bug#17001)
3016 * emacs-lisp/bytecomp.el (byte-compile-lambda): Do not load help-fns.
3017
3018 2014-03-14 Juanma Barranquero <lekktu@gmail.com>
3019
3020 * net/socks.el (socks, socks-override-functions)
3021 (socks-find-services-entry):
3022 * progmodes/hideif.el (hif-set-var, hif-nexttoken, hif-comma)
3023 (hif-find-ifdef-block):
3024 * progmodes/modula2.el (m2-indent): Fix docstring typos.
3025
3026 * net/tls.el (tls-program): Reflow docstring.
3027
3028 * progmodes/pascal.el (pascal-mode-abbrev-table)
3029 (pascal-imenu-generic-expression, pascal-auto-endcomments)
3030 (pascal-mark-defun, pascal-comment-area, pascal-indent-level)
3031 (pascal-outline-mode): Fix docstring typos.
3032 (pascal-mode): Let define-derived-mode document mode hook.
3033 (pascal-uncomment-area): Reflow.
3034 (pascal-exclude-str-start, pascal-exclude-str-end): Add docstring.
3035
3036 * progmodes/opascal.el (opascal-compound-block-indent)
3037 (opascal-case-label-indent): Fix docstring typos.
3038 (opascal-mode): Fix typos; let defined-derived-mode document mode hook.
3039
3040 2014-03-13 Dmitry Gutov <dgutov@yandex.ru>
3041
3042 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3043 Fontify multiple adjacent negation chars. (Bug#17004)
3044
3045 2014-03-13 Tom Willemse <tom@ryuslash.org> (tiny change)
3046
3047 * emacs-lisp/package.el (package--prepare-dependencies):
3048 Accept requirements without explicit version (bug#14941).
3049
3050 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3051
3052 * register.el (register-separator, copy-to-register): Doc fixes.
3053 (register-preview-default): Remove unnecessary call to concat.
3054
3055 * frameset.el (frameset-restore): When checking for a visible frame,
3056 use the action map instead of calling visible-frame-list.
3057
3058 2014-03-12 Jonas Bernoulli <jonas@bernoul.li>
3059
3060 * emacs-lisp/eieio.el (with-slots): Use cl-symbol-macrolet (bug#16998).
3061
3062 2014-03-12 Martin Rudalics <rudalics@gmx.at>
3063
3064 * window.el (fit-frame-to-buffer): Get maximum width from
3065 display's width instead of height.
3066
3067 2014-03-12 Glenn Morris <rgm@gnu.org>
3068
3069 * desktop.el (desktop-restore-frames)
3070 (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
3071 (desktop-restore-reuses-frames): Doc tweaks.
3072
3073 * electric.el (electric-indent-mode): Doc fix.
3074
3075 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3076
3077 * vc/pcvs.el (cvs-temp-buffer, defun-cvs-mode, cvs-get-cvsroot)
3078 (cvs-checkout, cvs-mode-checkout, cvs-update-filter, cvs-mode-mark)
3079 (cvs-mode-diff-head, cvs-mode-diff-repository, cvs-mode-diff-yesterday)
3080 (cvs-mode-diff-vendor, cvs-mode-do, cvs-change-cvsroot)
3081 (cvs-dired-use-hook): Fix docstring typos.
3082 (cvs-mode-view-file-other-window, cvs-mode-byte-compile-files):
3083 Doc fixes.
3084
3085 * vc/pcvs-defs.el (cvs-auto-remove-handled)
3086 (cvs-auto-remove-directories, cvs-default-ignore-marks)
3087 (cvs-idiff-imerge-handlers, cvs-reuse-cvs-buffer)
3088 (cvs-execute-single-dir): Fix docstring typos.
3089
3090 * vc/pcvs-info.el (cvs-status-map, cvs-states): Fix docstring typos.
3091 (cvs-fileinfo-pp, cvs-fileinfo-from-entries): Doc fixes.
3092
3093 * vc/pcvs-parse.el (cvs-parsed-fileinfo): Reflow docstring.
3094
3095 * vc/pcvs-util.el (cvs-flags-query, cvs-flags-set, cvs-prefix-set):
3096 Fix docstring typos.
3097
3098 2014-03-12 Juanma Barranquero <lekktu@gmail.com>
3099
3100 * frameset.el (frameset--jump-to-register): Add autoload; it could be
3101 called from jump-to-register after unloading the frameset package.
3102
3103 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3104
3105 * simple.el (set-mark): Ensure mark-active is nil if the mark is nil
3106 (bug#16975). Deactivate the mark before setting it to nil.
3107 (activate-mark): Do nothing if region is already active.
3108
3109 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3110
3111 * frameset.el (frameset--target-display): Remove definition; declare.
3112 (frameset-save, frameset-restore): Let-bind frameset--target-display.
3113
3114 2014-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
3115
3116 * emacs-lisp/nadvice.el (advice--make-1): Fix autoloading avoidance.
3117 (advice-add): Add a :advice--pending marker, so advice--make-1 knows
3118 when the advice is pending.
3119 (advice-remove): Remove this marker when not needed any more.
3120
3121 2014-03-11 Juanma Barranquero <lekktu@gmail.com>
3122
3123 * frameset.el: Separate options for reusing frames and cleaning up.
3124 (frameset--reuse-list): Remove definition; declare.
3125 (frameset--action-map): Declare.
3126 (frameset--find-frame-if): Doc fix.
3127 (frameset--restore-frame): Cache frame action.
3128 (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
3129 how to clean up the frame list after restoring. Remove cleaning
3130 options from REUSE-FRAMES. Change all keyword values to symbols.
3131 (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
3132
3133 * desktop.el (desktop-restore-forces-onscreen)
3134 (desktop-restore-reuses-frames): Use non-keyword values.
3135 (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
3136
3137 2014-03-10 Glenn Morris <rgm@gnu.org>
3138
3139 * files.el (find-file): Doc fix: update info node name.
3140
3141 * emacs-lisp/advice.el (ad-add-advice, defadvice):
3142 Doc fix: remove references to deleted info nodes.
3143
3144 2014-03-10 Michael Albinus <michael.albinus@gmx.de>
3145
3146 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
3147 Do not add `nil' to the environment, when there's no remote `locale'.
3148 (tramp-find-inline-encoding): Check, that the remote host has
3149 installed perl, before sending scripts.
3150
3151 2014-03-10 Leo Liu <sdl.web@gmail.com>
3152
3153 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3154 Clear eldoc-last-message. (Bug#16920)
3155
3156 2014-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
3157
3158 * desktop.el (desktop-create-buffer): Don't run activate-mark-hook
3159 (bug#14430).
3160
3161 2014-03-09 Juri Linkov <juri@jurta.org>
3162
3163 * ansi-color.el (ansi-color-names-vector): Copy default colors
3164 from `xterm-standard-colors' that look well on the default white
3165 background (and also on the black background) to avoid illegible
3166 color combinations like yellow-on-white and white-on-white.
3167 http://lists.gnu.org/archive/html/emacs-devel/2014-02/msg00157.html
3168
3169 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3170
3171 * frameset.el (frameset-restore): When no frame is visible, do not
3172 generate a list of frames, just make visible the selected one.
3173
3174 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
3175
3176 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
3177 it only contains the repository root. (Bug#16897)
3178
3179 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
3180
3181 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
3182 only when `remote-file-name-inhibit-cache' is nil.
3183 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
3184
3185 2014-03-06 Martin Rudalics <rudalics@gmx.at>
3186
3187 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
3188 Fix doc-strings.
3189 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
3190 fit-frame-to-buffer variable. Fix doc-string.
3191 (fit-window-to-buffer): Set ONLY argument in call of
3192 fit-frame-to-buffer. Fix doc-string.
3193
3194 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
3195
3196 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
3197 (tramp-action-password): Clear password cache if needed.
3198 (tramp-read-passwd): Do not clear password cache.
3199
3200 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
3201 cache unless it is the first password request.
3202
3203 2014-03-06 Glenn Morris <rgm@gnu.org>
3204
3205 * simple.el (newline): Doc tweak.
3206
3207 * emacs-lisp/shadow.el (load-path-shadows-find):
3208 Ignore dir-locals. (Bug#12357)
3209
3210 2014-03-05 Glenn Morris <rgm@gnu.org>
3211
3212 * files.el (interpreter-mode-alist):
3213 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
3214
3215 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3216
3217 * frameset.el (frameset--initial-params): Filter out null entries.
3218
3219 2014-03-05 Martin Rudalics <rudalics@gmx.at>
3220
3221 * window.el (window-min-height, window-min-width):
3222 Rewrite doc-strings.
3223 (window-body-size): Add PIXELWISE argument to make it consistent
3224 with its callees.
3225
3226 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
3227
3228 * finder.el (finder-mode-map, finder-mode-syntax-table):
3229 Revert part of 2014-02-28 change.
3230
3231 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
3232
3233 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
3234 (eww-setup-buffer): Clear next/prev/etc more reliably.
3235 (eww-textarea-map): [tab] doesn't work on tty.
3236 Reported by Mario Lang.
3237
3238 * net/shr.el (shr-map): Ditto.
3239
3240 2014-03-04 Glenn Morris <rgm@gnu.org>
3241
3242 * minibuffer.el (completion-hilit-commonality):
3243 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
3244
3245 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3246
3247 * hilit-chg.el (hilit-chg-unload-function): New function.
3248 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
3249 (hilit-chg-map-changes): Prefer cardinal number to digit.
3250 (hilit-chg-display-changes): Reflow docstring.
3251 (highlight-changes-rotate-faces): Remove superfluous backslash.
3252
3253 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
3254
3255 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
3256 `tramp-send-command-and-check'.
3257
3258 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
3259
3260 * hexl.el (hexl-address-region, hexl-ascii-region)
3261 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
3262 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
3263 (hexl-forward-word, hexl-previous-line, hexl-next-line):
3264 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
3265 (hexl-mode): Doc fix.
3266 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
3267 (hexl-mode-ruler): Fix typos in docstrings.
3268
3269 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
3270 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
3271 Remove superfluous backslashes.
3272 (strokes-last-stroke, strokes-global-map, strokes-mode):
3273 Reflow docstrings.
3274 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
3275 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
3276 (strokes-distance-squared, strokes-global-set-stroke)
3277 (strokes-global-set-stroke-string): Doc fixes.
3278 (strokes-help): Fix typos; reflow docstring.
3279
3280 2014-03-04 Martin Rudalics <rudalics@gmx.at>
3281
3282 * window.el (window-in-direction): Fix doc-string.
3283
3284 2014-03-04 Glenn Morris <rgm@gnu.org>
3285
3286 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
3287 Explicit error if no grammar.
3288 (smie-config-save): Doc fix. Fix quote typo.
3289
3290 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
3291
3292 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
3293 electric-indent-mode-hook if we obey electric-indent-mode.
3294 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
3295 decide whether we obey electric-indent-mode.
3296 (c-change-set-fl-decl-start, c-extend-after-change-region):
3297 Silence warnings.
3298 (c-electric-indent-mode-hook): Assume we do want to obey
3299 electric-indent-mode.
3300
3301 * electric.el (electric-indent-mode-has-been-called): Remove.
3302 (electric-indent-mode): Fix accordingly.
3303
3304 * files.el (hack-local-variables): Mention file name in warning.
3305
3306 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
3307
3308 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3309
3310 * bindings.el: Add comment describing why C-d binds to `delete-char'.
3311 * simple.el (delete-forward-char): Mark as interactive-only.
3312
3313 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
3314
3315 * icomplete.el (icomplete-completions):
3316 Follow-up to 2014-03-01 change.
3317
3318 * icomplete.el: Miscellaneous doc fixes.
3319 Use Icomplete everywhere instead of icomplete for consistency.
3320 (icomplete-max-delay-chars): Fix typo.
3321 (icomplete-mode): Use \[].
3322 (icomplete-tidy, icomplete-exhibit): Reflow.
3323 (icomplete-minibuffer-setup-hook, icomplete-completions):
3324 Remove superfluous backlashes.
3325
3326 * ido.el: Miscellaneous doc fixes.
3327 Use Ido everywhere instead of ido or `ido' for consistency.
3328 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
3329 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
3330 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
3331 (ido-separator): Extract obsolescence info from docstring and declare
3332 with make-obsolete-variable.
3333 (ido-minibuffer-setup-hook): Simplify example.
3334 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
3335 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
3336 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
3337 (ido-everywhere): Reflow docstring.
3338 (ido-toggle-vc): Doc fix.
3339 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
3340 of long list of keybindings.
3341
3342 2014-03-03 Glenn Morris <rgm@gnu.org>
3343
3344 * frame.el (display-pixel-height, display-pixel-width)
3345 (display-mm-dimensions-alist, display-mm-height)
3346 (display-mm-width): Doc tweaks.
3347
3348 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
3349
3350 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
3351 case of undo in region.
3352
3353 2014-03-02 Martin Rudalics <rudalics@gmx.at>
3354
3355 * window.el (fit-window-to-buffer): Fix argument in window-size
3356 call when window is horizontally combined.
3357
3358 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
3359
3360 * icomplete.el (icomplete-completions): Use string-width.
3361 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
3362
3363 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
3364
3365 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3366 Highlight regexp options. (Bug#16914)
3367
3368 2014-03-01 Martin Rudalics <rudalics@gmx.at>
3369
3370 * window.el (window--max-delta-1): Round down when calculating
3371 how many lines/columns we can get from a window.
3372
3373 2014-03-01 Glenn Morris <rgm@gnu.org>
3374
3375 * isearch.el (search-invisible): Doc fix.
3376
3377 * minibuffer.el (completion-hilit-commonality):
3378 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
3379 * comint.el (comint-dynamic-list-completions): Doc fix.
3380 * comint.el (comint-dynamic-list-completions):
3381 * filecache.el (file-cache-minibuffer-complete):
3382 * tempo.el (tempo-display-completions):
3383 * eshell/em-hist.el (eshell-list-history):
3384 Replace use of obsolete argument of display-completion-list.
3385
3386 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
3387
3388 * icomplete.el (icomplete-completions):
3389 Revert back to using "..." when ?… cannot be displayed.
3390
3391 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3392
3393 * finder.el (finder-unload-function): New function.
3394
3395 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
3396
3397 * dframe.el (dframe-detach):
3398 * find-dired.el (find-dired, find-name-dired):
3399 * finder.el (finder-mode-map, finder-mode-syntax-table)
3400 (finder-headmark, finder-select, finder-mouse-select):
3401 Fix docstring typos.
3402
3403 2014-02-28 Martin Rudalics <rudalics@gmx.at>
3404
3405 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
3406 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
3407 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
3408 Fix doc-string based on a suggestion by Nicolas Richard
3409 <theonewiththeevillook@yahoo.fr>.
3410 * help.el (with-help-window): Fix doc-string.
3411
3412 2014-02-28 Ivan Kanis <ivan@kanis.fr>
3413
3414 * net/shr.el (shr-image-animate): New option.
3415 (shr-put-image): Respect shr-image-animate.
3416
3417 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
3418
3419 * net/tramp-adb.el (tramp-adb-parse-device-names):
3420 Use `accept-process-output'.
3421 (tramp-adb-handle-file-truename): Cache the localname only.
3422 (tramp-adb-handle-make-directory)
3423 (tramp-adb-handle-delete-directory): Flush file properties correctly.
3424 (tramp-adb-handle-set-file-modes): Do not raise an error when file
3425 modes cannot be changed.
3426
3427 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
3428 file properties of symlinks.
3429
3430 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
3431
3432 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
3433 required/optional fields to match development biblatex. (Bug#16781)
3434
3435 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
3436
3437 * saveplace.el (toggle-save-place):
3438 Fix argument handling. (Bug#16673)
3439
3440 2014-02-28 Glenn Morris <rgm@gnu.org>
3441
3442 * minibuffer.el (completions-first-difference)
3443 (completions-common-part, completion-hilit-commonality): Doc fixes.
3444
3445 2014-02-28 Karl Berry <karl@gnu.org>
3446
3447 * info.el (Info-mode-map): Add H for describe-mode,
3448 to synchronize with standalone Info.
3449
3450 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
3451
3452 * progmodes/sql.el (sql-interactive-mode):
3453 Avoid setting global comint-input-ring-separator. (Bug#16814)
3454
3455 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3456
3457 * net/dbus.el (dbus--init-bus): Declare function.
3458 (dbus-path-local, dbus-interface-local): New defconst.
3459 (dbus-init-bus): Use them.
3460 (dbus-return-values-table): Extend doc.
3461 (dbus-handle-bus-disconnect): Extend error message.
3462
3463 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
3464
3465 * subr.el (y-or-n-p): Fix double space issue in message.
3466
3467 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
3468
3469 * net/tramp.el (tramp-call-process): Improve trace message.
3470 (tramp-handle-insert-file-contents): Trace error case.
3471
3472 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3473 <insert-directory>: Use `tramp-handle-insert-directory'.
3474 (tramp-adb-handle-insert-directory): Remove function.
3475 (tramp-adb-send-command-and-check): New defun, replacing
3476 `tramp-adb-command-exit-status'. Change all callees.
3477 (tramp-adb-handle-file-attributes)
3478 (tramp-adb-handle-directory-files-and-attributes): Use it.
3479 (tramp-adb-ls-output-name-less-p):
3480 Use `directory-listing-before-filename-regexp'.
3481 (tramp-adb-handle-delete-directory): Flush also file properties of
3482 the truename of directory.
3483 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
3484 (tramp-adb-handle-file-local-copy): Make the local copy readable.
3485 (tramp-adb-handle-write-region): Implement APPEND.
3486 (tramp-adb-handle-rename-file): Make it more robust. Flush file
3487 properties correctly.
3488 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
3489 variables. Check for connected devices only when needed.
3490
3491 2014-02-27 Glenn Morris <rgm@gnu.org>
3492
3493 * minibuffer.el (completion-table-dynamic)
3494 (completion-table-with-cache): Doc fixes.
3495
3496 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
3497 (completing-read-multiple): Doc fixes.
3498
3499 2014-02-27 Daniel Colascione <dancol@dancol.org>
3500
3501 * minibuffer.el (completion--nth-completion): Fix indentation.
3502
3503 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
3504 explicit tramp path is empty.
3505
3506 2014-02-27 Glenn Morris <rgm@gnu.org>
3507
3508 * emacs-lisp/crm.el (completing-read-multiple):
3509 Empower help-enable-auto-load.
3510
3511 2014-02-26 Glenn Morris <rgm@gnu.org>
3512
3513 * startup.el (command-line): Don't init the tty in daemon mode.
3514
3515 Avoid calling tty-setup-hook twice, eg if a term file
3516 explicitly calls tty-run-terminal-initialization. (Bug#16859)
3517 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
3518 (tty-create-frame-with-faces): Use it.
3519 * startup.el (command-line): Pass run-hook argument
3520 to tty-run-terminal-initialization.
3521
3522 * dired.el (dired-restore-desktop-buffer): Demote errors;
3523 eg in case a glob match fails. (Bug#16884)
3524
3525 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
3526
3527 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
3528 error from `read-from-string'. (Bug#16850)
3529
3530 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
3531 result of `completing-read' in the interactive form. (Bug#16854)
3532
3533 2014-02-25 Glenn Morris <rgm@gnu.org>
3534
3535 * image.el (image-animate, image-animate-timeout):
3536 Stop animating images in dead buffers. (Bug#16878)
3537
3538 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
3539
3540 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
3541 Doc fixes.
3542 * startup.el (term-setup-hook): Doc fix. Make obsolete.
3543 * term/sun.el (sun-raw-prefix-hooks):
3544 Use tty-setup-hook instead of term-setup-hook.
3545 (terminal-init-sun): Construct message from bytecomp plist.
3546 * term/wyse50.el (enable-arrow-keys): Doc fix.
3547
3548 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3549
3550 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
3551 Fix docstring typos.
3552
3553 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
3554
3555 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
3556
3557 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3558
3559 * minibuffer.el (completion--try-word-completion):
3560 Fix error when completing M-x commands (bug#16808).
3561
3562 2014-02-24 Leo Liu <sdl.web@gmail.com>
3563
3564 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
3565
3566 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
3567
3568 * apropos.el (apropos-print): Avoid formatting error when
3569 apropos-do-all and apropos-compact-layout are both t.
3570
3571 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3572
3573 * apropos.el (apropos-property, apropos-all-words-regexp)
3574 (apropos-true-hit, apropos-variable, apropos-print):
3575 Fix docstring typos, and remove obsolete comment.
3576
3577 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3578
3579 * net/tramp-sh.el (tramp-sh-handle-file-truename):
3580 Preserve trailing "/". (Bug#16851)
3581
3582 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
3583
3584 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
3585 after `=>' (bug#16811).
3586 (ruby-smie-rules): Handle the inconsistent second element of the
3587 list returned by `smie-indent--parent'.
3588 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
3589 method call.
3590
3591 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
3592
3593 * elec-pair.el (electric-pair-text-syntax-table)
3594 (electric-pair-syntax-info, electric-pair--syntax-ppss)
3595 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
3596 (electric-pair--looking-at-unterminated-string-p): Doc fix.
3597 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
3598
3599 2014-02-22 Glenn Morris <rgm@gnu.org>
3600
3601 * imenu.el (imenu--generic-function): Doc fix.
3602
3603 * register.el (frame-configuration-to-register): Make obsolete.
3604
3605 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
3606
3607 * desktop.el (desktop-save-buffer-p): Do not fail when
3608 desktop-files-not-to-save is nil. Return t for true result
3609 as the doc says.
3610
3611 2014-02-22 Daniel Colascione <dancol@dancol.org>
3612
3613 * net/secrets.el (secrets-create-item, secrets-search-items):
3614 Check that attribute values are strings, avoiding the construction
3615 of invalid dbus messages.
3616
3617 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3618
3619 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
3620 defun-declarations-alist.
3621
3622 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
3623
3624 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
3625 (bug#16829).
3626
3627 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3628
3629 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
3630 (whitespace-newline, whitespace-trailing, whitespace-line)
3631 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
3632 (whitespace-space-after-tab): Fix typo in docstrings.
3633
3634 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
3635
3636 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
3637
3638 * electric.el (electric-indent-functions-without-reindent):
3639 Add `yaml-indent-line'.
3640
3641 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3642
3643 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
3644 It has done nothing for years; should be removed after the release.
3645
3646 * simple.el (choose-completion): Fix docstring typo.
3647 (read-quoted-char-radix): Remove unneeded * in docstring.
3648 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
3649 Don't escape parentheses unnecessarily in docstrings.
3650
3651 2014-02-21 Martin Rudalics <rudalics@gmx.at>
3652
3653 Fix handling of window-min-height/-width (Bug#16738).
3654 * window.el (window--dump-window, window--dump-frame):
3655 New functions.
3656 (window--min-size-1): Account for window dividers.
3657 When window-resize-pixelwise is nil, delay rounding till after the
3658 sum of the window components has been calculated.
3659 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
3660 nil make sure at least one text line and two text columns remain
3661 fully visible.
3662 (window-resize): Signal an error when window-resize-apply fails.
3663 (window--resize-child-windows): Fix calculation of by how many
3664 pixels a window can still be shrunk via window-new-normal.
3665 (adjust-window-trailing-edge): Call window--resizable with
3666 correct TRAIL argument.
3667
3668 (with-temp-buffer-window): Don't evaluate BODY within
3669 with-current-buffer (Bug#16816).
3670
3671 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3672
3673 * net/tramp.el (tramp-check-cached-permissions):
3674 Call `file-attributes' with `suffix' being a symbol but a string.
3675
3676 2014-02-21 Daniel Colascione <dancol@dancol.org>
3677
3678 * net/dbus.el (dbus-init-bus-1): Declare new subr.
3679 (dbus-init-bus): New function: call into dbus-init-bus-1
3680 and installs a handler for the disconnect signal.
3681 (dbus-call-method): Rewrite to look for result in cons.
3682 (dbus-call-method-handler): Store result in cons.
3683 (dbus-check-event): Recognize events with nil sender as valid.
3684 (dbus-handle-bus-disconnect): New function. React to bus
3685 disconnection signal by synthesizing dbus error for each
3686 pending synchronous or asynchronous call.
3687 (dbus-notice-synchronous-call-errors): New function.
3688 (dbus-handle-event): Raise errors directly only when `dbus-debug'
3689 is true, not all the time.
3690
3691 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3692
3693 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
3694 Remove obsolescence declarations, these variables do not exist anymore.
3695
3696 * savehist.el (savehist-save-minibuffer-history)
3697 (savehist-additional-variables, savehist-file, savehist-mode-hook)
3698 (savehist-save-hook, savehist-coding-system, savehist-loaded)
3699 (savehist-load, savehist-install, savehist-autosave): Fix typos;
3700 mostly, refer to "Savehist mode" when talking about the mode,
3701 and not the function.
3702
3703 * saveplace.el (save-place): Remove redundant info in docstring.
3704 (save-place-forget-unreadable-files, toggle-save-place)
3705 (save-place-forget-unreadable-files, save-place-dired-hook):
3706 Fix typos and remove unneeded backslashes.
3707
3708 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
3709
3710 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
3711 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
3712
3713 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3714 <insert-directory>: Use `tramp-handle-insert-directory'.
3715 (tramp-gvfs-handle-insert-directory): Remove function.
3716
3717 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
3718 Call `tramp-handle-insert-directory'.
3719
3720 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3721
3722 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
3723 before the start of buffer/region (bug#16799).
3724
3725 2014-02-20 Glenn Morris <rgm@gnu.org>
3726
3727 * isearch.el (search-invisible): Doc fix.
3728
3729 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
3730
3731 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
3732 (bug#16657).
3733
3734 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3735
3736 * frameset.el (frameset-restore): Delay removing an old frame's
3737 duplicate id until the new frame has been correctly created.
3738
3739 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
3740
3741 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
3742 (tramp-check-cached-permissions): Call `file-attributes' if the
3743 cache is empty.
3744
3745 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
3746 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3747
3748 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3749 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
3750 (tramp-gvfs-maybe-open-connection): Set always connection
3751 properties, even if target is mounted already.
3752
3753 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
3754 Set tramp-autoload cookie.
3755 (tramp-get-remote-touch): New defun.
3756 (tramp-sh-handle-set-file-times): Use it.
3757 (tramp-sh-handle-directory-files-and-attributes):
3758 Use `tramp-handle-directory-files-and-attributes' if neither stat
3759 nor perl are available on the remote host.
3760
3761 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
3762 "/". Write long listing only when "l" belongs to the switches.
3763
3764 * net/trampver.el: Update release number.
3765
3766 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
3767
3768 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
3769
3770 2014-02-19 Martin Rudalics <rudalics@gmx.at>
3771
3772 * window.el (window-state-put): Allow WINDOW to refer to an
3773 internal window (Bug#16793).
3774
3775 2014-02-19 Glenn Morris <rgm@gnu.org>
3776
3777 * textmodes/remember.el: Move provide statement to end.
3778 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
3779 (remember-notes): Doc fixes.
3780
3781 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
3782
3783 * delsel.el (delete-char): Restore incorrectly erased property
3784 (bug#16795).
3785
3786 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
3787
3788 * frameset.el (frameset--restore-frame): When a frame is being reused
3789 and its root window is not alive, delete all the frame's windows before
3790 restoring the window state. This works around the issue in bug#16793.
3791
3792 2014-02-18 Glenn Morris <rgm@gnu.org>
3793
3794 * textmodes/remember.el (remember-data-directory)
3795 (remember-directory-file-name-format, remember-store-in-files)
3796 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
3797 (remember-notes-save-and-bury-buffer)
3798 (remember-notes--kill-buffer-query): Doc fixes.
3799
3800 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
3801
3802 2014-02-17 Alan Mackenzie <acm@muc.de>
3803
3804 Connect electric-indent-mode up with CC Mode. Bug #15478.
3805 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
3806 to electric-indent-{,local-}-mode.
3807 (c-basic-common-init): Set electric-indent-inhibit.
3808 Initialise c-electric-flag from electric-indent-mode.
3809 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
3810 New hook functions which propagate electric-indent-mode to CC mode.
3811
3812 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
3813 hit, toggle electric-indent-local-mode.
3814
3815 * electric.el (electric-indent-mode-has-been-called):
3816 New variable.
3817
3818 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
3819
3820 * frameset.el (frameset-cfg-id): New function.
3821 (frameset--reuse-frame, frameset-restore): Use it.
3822 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
3823
3824 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3825
3826 * ido.el (ido-file-internal): Remove unused var `d'.
3827 Use \` for to match BoS. Fit within 80n columns.
3828
3829 2014-02-17 Daniel Colascione <dancol@dancol.org>
3830
3831 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
3832 dbus-call-method check for completion using a busy-wait loop with
3833 gradual backoff.
3834
3835 2014-02-16 Michael Albinus <michael.albinus@gmx.de>
3836
3837 Sync with Tramp 2.2.9.
3838
3839 * net/trampver.el: Update release number.
3840
3841 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
3842
3843 * ido.el (ido-file-internal): Don't add the name of an existing
3844 directory twice. (Bug#16747)
3845
3846 2014-02-16 Glenn Morris <rgm@gnu.org>
3847
3848 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
3849 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
3850
3851 2014-02-15 Michael R. Mauger <michael@mauger.com>
3852
3853 * progmodes/sql.el: Version 3.4
3854 (sql-oracle-options): New default value ("-L").
3855 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
3856 (sql-placeholders-filter): Correct placeholder pattern.
3857 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
3858 (sql-login-delay): New variable.
3859 (sql-product-interactive): Use it.
3860
3861 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
3862
3863 * frameset.el (frameset--jump-to-register): Check that buffer is live
3864 (bug#16749).
3865
3866 2014-02-15 Glenn Morris <rgm@gnu.org>
3867
3868 * info.el (info-initialize): Revert 2014-01-10 change.
3869
3870 2014-02-14 Glenn Morris <rgm@gnu.org>
3871
3872 * replace.el (map-query-replace-regexp)
3873 (read-regexp-defaults-function, read-regexp): Doc fixes.
3874
3875 * dired.el (dired-read-regexp):
3876 * faces.el (list-faces-display):
3877 * misearch.el (multi-isearch-read-matching-buffers)
3878 (multi-isearch-read-matching-files):
3879 * play/cookie1.el (cookie-apropos):
3880 * progmodes/grep.el (grep-read-regexp): Doc fixes.
3881
3882 * textmodes/remember.el (remember): Use frameset-to-register
3883 rather than frame-configuration-to-register.
3884
3885 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
3886
3887 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
3888 incorrect keybinding.
3889
3890 2014-02-13 Daniel Colascione <dancol@dancol.org>
3891
3892 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
3893 when adding overlays so that line numbers from compiler match line
3894 numbers we use.
3895
3896 2014-02-13 Glenn Morris <rgm@gnu.org>
3897
3898 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
3899
3900 * jit-lock.el (jit-lock-mode): Doc fix.
3901
3902 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
3903
3904 * apropos.el (apropos-read-pattern): When the user passes an empty
3905 string, give a more helpful error message than "Wrong type
3906 argument: stringp, nil".
3907
3908 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
3909
3910 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
3911
3912 2014-02-13 Glenn Morris <rgm@gnu.org>
3913
3914 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
3915
3916 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3917
3918 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
3919 shift-select commands.
3920
3921 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
3922
3923 * progmodes/js.el (js-indent-line): Don't widen.
3924 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
3925
3926 2014-02-12 Glenn Morris <rgm@gnu.org>
3927
3928 * icomplete.el (icomplete): Add info-link to defgroup.
3929 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
3930 (icomplete-minibuffer-map, icomplete-mode)
3931 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
3932
3933 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
3934 (package-menu-filter): Rename from package-menu-filter-interactive.
3935 Doc fix.
3936
3937 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
3938
3939 * frameset.el (frameset--jump-to-register): Select the required
3940 window and buffer before restoring position (bug#16696).
3941
3942 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
3943
3944 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
3945
3946 2014-02-10 Glenn Morris <rgm@gnu.org>
3947
3948 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
3949
3950 2014-02-10 Eli Zaretskii <eliz@gnu.org>
3951
3952 * w32-common-fns.el (x-get-selection): Doc fix.
3953 * select.el (x-get-selection): Doc fix. (Bug#15109)
3954
3955 * face-remap.el (face-remap-add-relative)
3956 (face-remap-remove-relative, face-remap-reset-base)
3957 (face-remap-set-base): Call force-mode-line-update to redisplay
3958 the current buffer due to potential change in faces. (Bug#16709)
3959
3960 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
3961
3962 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
3963 script more robustly.
3964
3965 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3966
3967 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
3968
3969 * simple.el (choose-completion): Doc fix (bug#14160).
3970
3971 * subr.el (event-start): Say what a nil EVENT value means.
3972
3973 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
3974 (bug#14197).
3975
3976 * progmodes/grep.el (find-program): Doc fix (bug#14289).
3977
3978 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
3979
3980 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
3981
3982 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
3983 predicate function (bug#15455).
3984
3985 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
3986
3987 * ielm.el (inferior-emacs-lisp-mode): Instead of
3988 `comment-use-global-state', set `comment-use-syntax'.
3989
3990 2014-02-10 Glenn Morris <rgm@gnu.org>
3991
3992 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
3993
3994 2014-02-09 Alan Mackenzie <acm@muc.de>
3995
3996 Fix c-invalidate-state-cache on narrowed buffers.
3997 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
3998 Widen when setting and clearing the CPP delimiter properties.
3999
4000 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
4001
4002 * help.el (describe-bindings): Doc fix (bug#9888).
4003
4004 * files.el (save-buffer): Use ARG as the parameter name for
4005 consistency (bug#10346).
4006 (save-buffer): Clarify the 0 argument (bug#10346).
4007
4008 * cus-edit.el (customize-apropos): Fix error string.
4009 (custom-buffer-create): Doc fix (bug#11122).
4010 (custom-sort-items): Doc fix (bug#11121).
4011
4012 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
4013
4014 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
4015 (icomplete-simple-completing-p): Mention the previous variable.
4016
4017 * font-lock.el (font-lock-value-in-major-mode): Clarify the
4018 meaning of the parameter (bug#12282).
4019
4020 * files.el (find-file-noselect): Clarify prompt when changing
4021 readedness (bug#13261).
4022 (locate-file): Suffixes aren't returned, so don't say that they
4023 are (bug#12674).
4024 (backup-inhibited): Doc clarification (bug#12525).
4025
4026 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
4027 before we actually start to delete things (bug#16331).
4028
4029 * subr.el (event-start): Doc fix (bug#14228).
4030 (event-end): Ditto.
4031
4032 2014-02-09 Glenn Morris <rgm@gnu.org>
4033
4034 * emacs-lisp/warnings.el (lwarn):
4035 Empower help-enable-auto-load. (Bug#15940)
4036
4037 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
4038
4039 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
4040 (Bug#16690)
4041
4042 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
4043
4044 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4045 Insert output at end of buffer. (Bug#16120)
4046
4047 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4048
4049 * simple.el (choose-completion-string-functions): Document new
4050 calling convention (bug#14153).
4051 (execute-extended-command): Clarify doc string (bug#13373).
4052
4053 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
4054
4055 * find-dired.el (find-name-dired): Doc fix (bug#14290).
4056 (find-grep-dired): Doc fix (bug#14288).
4057
4058 2014-02-08 Juri Linkov <juri@jurta.org>
4059
4060 * isearch.el (isearch-quote-char): Check character validity
4061 like in `quoted-insert' (bug#16677).
4062
4063 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
4064
4065 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
4066
4067 * isearch.el (isearch-hide-immediately): Doc clarification
4068 (bug#14723).
4069
4070 * simple.el (line-move): Document utility function used many
4071 places in the Emacs sources (bug#14843).
4072
4073 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
4074 (dired-prev-marked-file): Doc fix (bug#14855).
4075 (dired-up-directory): Doc fix (bug#14848).
4076
4077 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
4078
4079 * files.el (file-relative-name): Doc fix (bug#15159).
4080
4081 * fringe.el (fringe-styles): Doc fix (bug#15239).
4082
4083 * isearch.el (isearch-filter-predicate): Documentation typo fix
4084 (bug#15474).
4085
4086 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
4087
4088 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
4089
4090 * replace.el (replace-match-maybe-edit): Doc clarification
4091 (bug#15632).
4092
4093 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
4094
4095 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
4096
4097 2014-02-08 Glenn Morris <rgm@gnu.org>
4098
4099 * help-fns.el (describe-variable):
4100 Check {file,dir}-local-variables-alist, and buffer-file-name,
4101 in the correct buffer.
4102
4103 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
4104
4105 * help-fns.el (describe-variable): Fix the case where
4106 a value is directory-local with no dir-locals file. (Bug#16635)
4107
4108 2014-02-08 Glenn Morris <rgm@gnu.org>
4109
4110 * abbrev.el (edit-abbrevs-mode):
4111 Derive from fundamental-mode. (Bug#16682)
4112
4113 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
4114
4115 * simple.el (quoted-insert): Check character validity (bug#16677).
4116
4117 2014-02-07 Juri Linkov <juri@jurta.org>
4118
4119 * desktop.el (desktop-read): Claim the lock when the owner is not
4120 the current process. (Bug#16157)
4121
4122 2014-02-07 Juri Linkov <juri@jurta.org>
4123
4124 * desktop.el (desktop-buffers-not-to-save): Change default from nil
4125 to "\\` ". (Bug#16651)
4126
4127 2014-02-07 Juri Linkov <juri@jurta.org>
4128
4129 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
4130 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
4131 (desktop-auto-save-cancel-timer): New function with some code from
4132 `desktop-auto-save-set-timer'.
4133 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
4134 Instead of setting `desktop-save-mode' to nil, call
4135 `desktop-save-mode' with arg 0. (Bug#16630)
4136
4137 2014-02-07 Glenn Morris <rgm@gnu.org>
4138
4139 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
4140 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
4141 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
4142
4143 * obsolete/iswitchb.el: Move to obsolete/.
4144 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
4145 since obsolete/ is not scanned for autoloads.
4146 * emacs-lisp/authors.el (authors-valid-file-names):
4147 Add iswitchb.el.
4148
4149 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
4150 Disable now non-functional find-file-hook.
4151
4152 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
4153
4154 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
4155 instead of ";" in order to avoid additional prompts. Let heredoc
4156 scripts read from tty. (Bug#16582)
4157 (tramp-send-command): No special handling of heredocs, it isn't
4158 necessary anymore.
4159
4160 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
4161
4162 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
4163 with a space (bug#16664). Limit the symbols considered to the ones
4164 that are bound or fbound (bug#16646).
4165
4166 2014-02-06 Glenn Morris <rgm@gnu.org>
4167
4168 * epa.el (epa-mail-aliases): Doc fix.
4169
4170 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
4171
4172 * emacs-lisp/lisp.el (lisp-completion-at-point):
4173 Use `completion-table-merge' instead of `completion-table-in-turn'
4174 (bug#16604).
4175
4176 * minibuffer.el (completion-table-merge): New function.
4177
4178 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
4179
4180 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
4181 (tramp-sh-handle-set-file-acl)
4182 (tramp-sh-handle-start-file-process)
4183 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
4184 (tramp-find-executable, tramp-send-command): Use it.
4185
4186 2014-02-05 Glenn Morris <rgm@gnu.org>
4187
4188 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
4189
4190 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
4191
4192 * progmodes/python.el (python-shell-send-string)
4193 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
4194
4195 2014-02-04 Anders Lindgren <andlind@gmail.com>
4196
4197 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
4198 the names (bug#16620).
4199
4200 2014-02-03 Martin Rudalics <rudalics@gmx.at>
4201
4202 * faces.el (window-divider): New default value. Rewrite doc-string.
4203 (window-divider-first-pixel, window-divider-last-pixel): New faces.
4204
4205 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
4206
4207 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
4208 `protected' and `public' can also be called without arguments.
4209
4210 2014-02-03 Glenn Morris <rgm@gnu.org>
4211
4212 * register.el (window-configuration-to-register)
4213 (frame-configuration-to-register): Unadvertise unused argument.
4214 * frameset.el (frameset-to-register): Remove unused argument.
4215
4216 * frameset.el (frameset-to-register):
4217 * kmacro.el (kmacro-to-register):
4218 * register.el (increment-register):
4219 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
4220 (calc-append-to-register, calc-prepend-to-register):
4221 * play/gametree.el (gametree-layout-to-register)
4222 (gametree-apply-register-layout):
4223 * textmodes/picture.el (picture-clear-rectangle-to-register)
4224 (picture-yank-rectangle-from-register):
4225 * vc/emerge.el (emerge-combine-versions-register):
4226 Use register-read-with-preview to read registers.
4227
4228 2014-02-03 João Távora <joaotavora@gmail.com>
4229
4230 * elec-pair.el (electric-pair-backward-delete-char): Don't error
4231 when at beginning of (possibly narrowed) buffer.
4232
4233 2014-02-02 Daniel Colascione <dancol@dancol.org>
4234
4235 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
4236 Also try to display local help from just before point.
4237
4238 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
4239
4240 c-parse-state. Don't "append-lower-brace-pair" in certain
4241 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
4242 recognised as a comment.
4243
4244 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
4245 as well as normal comment starter.
4246 (c-parse-state-get-strategy): Extra return possibility
4247 'back-and-forward.
4248 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
4249 return value list to indicate replacement of a brace-pair cons
4250 with its car.
4251 (c-parse-state-1): With 'back-and-forward, only call
4252 c-append-lower-brace-pair-to state-cache when cons-separated.
4253
4254 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
4255
4256 * term/ns-win.el (ns-suspend-error): New function.
4257 (ns-initialize-window-system): Add ns-suspend-error to
4258 suspend-hook (Bug#16612).
4259
4260 2014-02-02 Daniel Colascione <dancol@dancol.org>
4261
4262 * progmodes/cc-defs.el (c-find-assignment-for-mode):
4263 Make loading cc-mode silent.
4264
4265 2014-02-02 Daniel Colascione <dancol@dancol.org>
4266
4267 * comint.el (comint-prompt-read-only): Change doc to suggest
4268 remap keybinding.
4269
4270 2014-02-02 Glenn Morris <rgm@gnu.org>
4271
4272 * register.el (register-read-with-preview, point-to-register)
4273 (window-configuration-to-register, frame-configuration-to-register)
4274 (jump-to-register, number-to-register, view-register, insert-register)
4275 (copy-to-register, append-to-register, prepend-to-register)
4276 (copy-rectangle-to-register): Doc fixes.
4277
4278 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
4279
4280 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
4281 * emacs-lisp/find-func.el (find-function-C-source): Idem.
4282 * emacs-lisp/nadvice.el (advice--cd*r): New function.
4283 * help-fns.el (describe-function-1): Use it.
4284
4285 2014-02-02 Glenn Morris <rgm@gnu.org>
4286
4287 * register.el (register-preview-default): New function,
4288 split from register-preview.
4289 (register-preview-function): Rename from register-preview-functions,
4290 make it not a hook.
4291 (register-preview): Use register-preview-function.
4292 (register-read-with-preview): Error on non-character event. (Bug#16595)
4293
4294 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
4295
4296 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
4297 `:' before binary operators (bug#16609). Don't check for `:'
4298 before `[' and `(', or their syntax status. A percent literal
4299 can't end with either.
4300 (ruby-font-lock-keywords): For built-ins that require arguments,
4301 check that they're followed by something that looks like argument
4302 (bug#16610).
4303
4304 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
4305
4306 * subr.el (butlast): Document what an omitted N means (bug#13437).
4307 (nbutlast): Ditto.
4308
4309 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
4310
4311 * net/shr.el (shr-generic): Make into a defsubst to make the stack
4312 depth shallower (bug#16587).
4313 (shr-tag-svg): Respect `shr-inhibit-images'.
4314 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
4315
4316 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
4317
4318 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
4319 (ruby-smie-grammar): Make "." right-associative. Make its priority
4320 lower than the ternary and all binary operators.
4321 (ruby-smie-rules): Indent "(" relative to the first non-"."
4322 parent, or the first "." parent at indentation.
4323 Use `ruby-align-chained-calls' for indentation of "." tokens.
4324 (Bug#16593)
4325
4326 2014-01-31 Juri Linkov <juri@jurta.org>
4327
4328 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
4329 from `make-hash-table'.
4330
4331 * textmodes/ispell.el (ispell-init-process): Change message format
4332 to be consistent with other messages.
4333
4334 2014-01-31 Glenn Morris <rgm@gnu.org>
4335
4336 * delsel.el (delete-selection-mode): Doc fix.
4337
4338 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
4339 (trace-function-background): Doc fixes.
4340
4341 * ido.el (ido-use-virtual-buffers): Doc fix.
4342 Reset :version, since the default value has not changed.
4343
4344 * register.el (register-preview-delay, register-read-with-preview):
4345 Doc fixes.
4346
4347 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
4348 do not mess with mail-buffer position (fixes 2009-11-03 change).
4349 * progmodes/cc-mode.el (c-submit-bug-report):
4350 Check auto-fill-mode is bound. (Bug#16592)
4351
4352 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
4353
4354 * startup.el (fancy-splash-image-file): New function,
4355 split from fancy-splash-head.
4356 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
4357 so that we are both using the same image. (Bug#16574)
4358
4359 2014-01-30 Glenn Morris <rgm@gnu.org>
4360
4361 * simple.el (eval-expression): Doc fix.
4362
4363 * hexl.el (hexl-mode-hook):
4364 * ielm.el (ielm-mode-hook):
4365 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
4366 (lisp-interaction-mode-hook):
4367 * progmodes/cfengine.el (cfengine3-documentation-function):
4368 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
4369
4370 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
4371
4372 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
4373 is a symbol (bug#16584).
4374
4375 2014-01-30 Glenn Morris <rgm@gnu.org>
4376
4377 * help.el (help-for-help-internal): Add "P" to text.
4378
4379 2014-01-29 Glenn Morris <rgm@gnu.org>
4380
4381 * simple.el (just-one-space, cycle-spacing): Doc fixes.
4382
4383 2014-01-28 Martin Rudalics <rudalics@gmx.at>
4384
4385 * window.el (fit-frame-to-buffer): Fix calculations for margins and
4386 height constraints.
4387
4388 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
4389
4390 * progmodes/hideif.el: Extend to full CPP expression syntax.
4391 (hif-token-alist): Add missing tokens.
4392 (hif-token-regexp): Add support for float/octal/hex immediates.
4393 (hif-string-literal-regexp): New const.
4394 (hif-tokenize): Recognize strings and float/octal/hex immediates.
4395 (hif-exprlist): New function.
4396 (hif-parse-if-exp): Use it.
4397 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
4398 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
4399 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
4400 (hif-logxor, hif-comma): New functions.
4401
4402 2014-01-28 Glenn Morris <rgm@gnu.org>
4403
4404 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
4405
4406 * indent.el (tab-stop-list): Doc fix. Add :version.
4407
4408 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
4409 (cvs-append-to-ignore): Add compatibility alias.
4410
4411 2014-01-27 Glenn Morris <rgm@gnu.org>
4412
4413 * dired.el (dired-hide-details-mode): Don't autoload it,
4414 since it cannot be used outside Dired buffers anyway.
4415
4416 * emulation/cua-base.el (cua-mode): Doc fix.
4417
4418 * dired.el (dired-hide-details-hide-symlink-targets)
4419 (dired-hide-details-hide-information-lines)
4420 (dired-hide-details-mode): Doc fixes.
4421
4422 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
4423 * strokes.el (strokes-file): Doc fix. Bump :version.
4424 (strokes-help): Doc fix.
4425 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
4426 * emulation/viper.el (viper): Doc fix for custom group.
4427 (top-level): Remove oh-so-no-longer-relevant text about vip.
4428 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
4429
4430 * ido.el (ido-save-directory-list-file):
4431 * saveplace.el (save-place-file):
4432 * calendar/timeclock.el (timeclock-file):
4433 * net/quickurl.el (quickurl-url-file):
4434 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
4435 * progmodes/idlwave.el (idlwave-config-directory):
4436 * textmodes/remember.el (remember-data-file):
4437 Bump :version.
4438
4439 2014-01-26 Glenn Morris <rgm@gnu.org>
4440
4441 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
4442 Doc fix. Make obsolete.
4443 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
4444
4445 * sort.el (delete-duplicate-lines): Doc fix.
4446
4447 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4448
4449 * progmodes/ada-mode.el (ada):
4450 * woman.el (woman): Link to info manual and Commentary section.
4451
4452 * progmodes/flymake.el (flymake):
4453 * nxml/nxml-mode.el (nxml):
4454 * net/eww.el (eww):
4455 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
4456 * htmlfontify.el (htmlfontify):
4457 * ses.el (ses):
4458 * epa.el (epa):
4459 * ido.el (ido): Link to info manual.
4460
4461 2014-01-25 Leo Liu <sdl.web@gmail.com>
4462
4463 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
4464
4465 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
4466
4467 * net/shr.el (shr-tag-img): Prefer the title over the alt text
4468 (bug#16537).
4469
4470 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
4471
4472 * net/eww.el (eww-download-callback):
4473 Fix reference to eww-download-directory.
4474
4475 * emacs-lisp/bytecomp.el (byte-compile-file):
4476 Remove unused local variable `file-name'.
4477
4478 2014-01-24 Glenn Morris <rgm@gnu.org>
4479
4480 * woman.el (woman-default-faces, woman-monochrome-faces):
4481 Fix obsolescence specification.
4482
4483 * subr.el (with-demoted-errors): Doc fix.
4484
4485 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
4486
4487 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
4488 (cl--macroexp-fboundp): New function.
4489 (cl--make-type-test): Use it.
4490
4491 2014-01-23 Glenn Morris <rgm@gnu.org>
4492
4493 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
4494 * simple.el (eval-expression): Doc fixes.
4495
4496 2014-01-22 Glenn Morris <rgm@gnu.org>
4497
4498 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
4499
4500 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
4501
4502 * emacs-lisp/package.el: Write files silently.
4503 (package-autoload-ensure-default-file, package--write-file-no-coding)
4504 (package-generate-description-file, package--download-one-archive)
4505 (package-install-from-archive): Tell `write-region' to stay quiet.
4506 (package-menu-mode, package-menu--print-info): Omit the Archive column
4507 if there's only one archive.
4508 (package-all-keywords, package--has-keyword-p): Remove dead code.
4509
4510 2014-01-22 Glenn Morris <rgm@gnu.org>
4511
4512 * version.el (emacs-bzr-version-bzr): Fix typo.
4513
4514 * version.el (emacs-repository-get-version):
4515 Check either .bzr or .git, but not both.
4516 Make the git case actually use the DIR argument, and return nil
4517 rather than the empty string.
4518 Avoid error if .git exists but the git executable is not found.
4519
4520 2014-01-22 Martin Rudalics <rudalics@gmx.at>
4521
4522 Fixes in window size functions around Bug#16430 and Bug#16470.
4523 * window.el (window-total-size, window-size): New argument ROUND.
4524 (window--min-delta-1, window-min-delta, window--max-delta-1):
4525 Be more conservative when calculating the numbers of lines or
4526 columns a window can shrink (Bug#16430).
4527 (fit-window-to-buffer): Simplify code.
4528 * term.el (term-window-width): Call window-body-width again.
4529
4530 2014-01-22 Glenn Morris <rgm@gnu.org>
4531
4532 * image.el (image-format-suffixes): Doc fix.
4533
4534 * international/quail.el (quail-define-package): Doc fix.
4535
4536 * emacs-lisp/authors.el (authors-valid-file-names)
4537 (authors-renamed-files-alist): Additions.
4538
4539 * vc/vc-git.el (vc-git-print-log): Remove --follow;
4540 reverts 2014-01-09 change. (Bug#16422)
4541
4542 * calc/calc-embed.el (thing-at-point-looking-at):
4543 * emacs-lisp/map-ynp.el (x-popup-dialog):
4544 * obsolete/lmenu.el (x-popup-dialog):
4545 * emacs-lisp/package.el (url-recreate-url):
4546 * mail/mailclient.el (clipboard-kill-ring-save):
4547 * subr.el (x-popup-dialog): Update declaration.
4548 * mail/rmail.el (rmail-mime-message-p):
4549 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
4550
4551 2014-01-21 Daniel Colascione <dancol@dancol.org>
4552
4553 * progmodes/sh-script.el (sh--inside-noncommand-expression):
4554 Correctly detect when we're inside an arithmetic expansion form
4555 containing nested parenthesis.
4556 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
4557 to detect cases where we shouldn't expand "<<" to a heredoc
4558 skeleton.
4559
4560 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
4561
4562 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
4563 (eldoc--message-command-p): New function.
4564 (eldoc-display-message-p): Use it.
4565 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
4566 message is not automatically erased for us.
4567 (eldoc-print-current-symbol-info): Erase previous message, if any.
4568
4569 2014-01-21 Tassilo Horn <tsdh@gnu.org>
4570
4571 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
4572 specify it's an interactive function.
4573
4574 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
4575 Fix regex used for scanning for citation keys which failed for
4576 citations with optional arguments.
4577
4578 2014-01-21 Leo Liu <sdl.web@gmail.com>
4579
4580 * simple.el (read--expression): Don't enable eldoc-mode.
4581
4582 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
4583
4584 * simple.el (move-beginning-of-line): Make sure we don't move forward
4585 (bug#16497).
4586
4587 2014-01-20 Juri Linkov <juri@jurta.org>
4588
4589 * saveplace.el (toggle-save-place, save-place-to-alist)
4590 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
4591 'dired-mode) before checking for dired-directory. (Bug#16477)
4592
4593 2014-01-20 Juri Linkov <juri@jurta.org>
4594
4595 * indent.el (indent-line-to): Use backward-to-indentation
4596 instead of back-to-indentation. (Bug#16461)
4597
4598 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
4599
4600 Revert some of the CANNOT_DUMP fix (Bug#16494).
4601 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
4602 but fixing this can wait until after the next release.
4603 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
4604
4605 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
4606
4607 * eshell/esh-mode.el (eshell-password-prompt-regexp):
4608 Use `password-word-equivalents'.
4609 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
4610 to t. (Bug#5664, Bug#13124)
4611
4612 2014-01-19 Alan Mackenzie <acm@muc.de>
4613
4614 Bind open-paren-in-column-0-is-defun-start to nil at some entry
4615 points.
4616 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
4617 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
4618 * progmodes/cc-mode.el (c-before-change, c-after-change)
4619 (c-font-lock-fontify-region): Bind it here.
4620
4621 2014-01-19 Martin Rudalics <rudalics@gmx.at>
4622
4623 * term.el (term-window-width): Call window-text-width instead of
4624 window-width (Bug#16470).
4625
4626 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
4627
4628 * simple.el (password-word-equivalents): Remove duplicates.
4629 Sort, to make this easier next time.
4630 Downcase. Omit ": " after "jelszó".
4631
4632 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
4633
4634 * term/common-win.el (saved-region-selection): Defvar it.
4635 (x-select-text): Set saved-region-selection (Bug#16382).
4636
4637 2014-01-18 Glenn Morris <rgm@gnu.org>
4638
4639 * emacs-lisp/authors.el (authors-aliases)
4640 (authors-renamed-files-alist): Add some entries.
4641
4642 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
4643
4644 * net/tramp.el (tramp-password-prompt-regexp):
4645 Use `password-word-equivalents' if available.
4646 (tramp-action-password, tramp-process-one-action)
4647 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
4648
4649 2014-01-17 Chong Yidong <cyd@gnu.org>
4650
4651 * simple.el (password-word-equivalents): New defcustom.
4652 * comint.el (comint-password-prompt-regexp): Use it. Bump version
4653 to 24.4.
4654 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
4655 to t. (Bug#13124)
4656
4657 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
4658
4659 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
4660 (ruby-align-to-stmt-keywords): Change the default value.
4661 Use `ruby-alignable-keywords' to generate the possible customization
4662 choices.
4663 (ruby-smie-rules): Instead of using a hardcoded list of alignable
4664 keywords, check against the value of `ruby-alignable-keywords'
4665 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
4666
4667 2014-01-17 Glenn Morris <rgm@gnu.org>
4668
4669 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
4670
4671 Make M-x authors return zero *Authors Errors* from current logs.
4672 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
4673 (authors-ignored-files): Add some entries, remove others.
4674 (authors-ambiguous-files, authors-valid-file-names):
4675 Add some entries.
4676 (authors-renamed-files-alist): Add, remove, and adjust entries.
4677 (authors-renamed-files-regexps): Add some entries.
4678 Remove some very broad ones. Make some entries `lax'.
4679 (authors-lax-changelogs): New constant.
4680 (authors-disambiguate-file-name): Treat top-level specially.
4681 (authors-lax-changelog-p): New function.
4682 (authors-canonical-file-name): Check file as written against
4683 authors-valid-file-names. Do not special-case etc/.
4684 Handle `lax' logs and authors-renamed-files-regexps elements.
4685
4686 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
4687
4688 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
4689 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
4690 callers.
4691
4692 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
4693
4694 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
4695 Assume we're already in the proper buffer.
4696 Inspired by Anders Lindgren <andlind@gmail.com>.
4697 (follow-post-command-hook): Call it from the right buffer.
4698 (follow-comint-scroll-to-bottom): Adjust call.
4699 (follow-all-followers): Use get-buffer-window-list.
4700
4701 2014-01-15 Daniel Colascione <dancol@dancol.org>
4702
4703 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
4704 `buffer-file-name' in interactive-form so that we don't leave
4705 pathless file names in `file-name-history'.
4706
4707 2014-01-15 Juri Linkov <juri@jurta.org>
4708
4709 * indent.el (indent-rigidly): Set deactivate-mark to nil
4710 in transient indentation mode. (Bug#16438)
4711
4712 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
4713
4714 * emacs-lisp/package.el (package-desc-keywords): New function
4715 (Bug#16222).
4716 (describe-package-1, package-all-keywords)
4717 (package--has-keyword-p): Use it.
4718
4719 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
4720
4721 * simple.el (define-alternatives): When creating the
4722 COMMAND-alternatives variable, assign COMMAND as its definition
4723 name so that `describe-variable' can relocate it.
4724
4725 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
4726
4727 * font-lock.el (font-lock-keywords): Fix typo in docstring
4728 (bug#16307).
4729
4730 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4731
4732 * ispell.el (ispell-region): Reset `in-comment' for new line
4733 instead of wrongly reset `add-coment' (bug#13577).
4734
4735 2014-01-14 Daiki Ueno <ueno@gnu.org>
4736
4737 * epa-file.el (epa-file-write-region): Encode the region according
4738 to `buffer-file-format'. Problem reported at:
4739 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
4740
4741 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
4742
4743 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
4744 so it applies in the right buffer (bug#16410).
4745
4746 2014-01-13 Daniel Colascione <dancol@dancol.org>
4747
4748 * textmodes/rst.el (rst-define-key): Provide deprecated
4749 keybindings through named functions instead of anonymous ones so
4750 that "??" doesn't appear in describe-mode output.
4751
4752 2014-01-13 Bastien Guerry <bzg@gnu.org>
4753
4754 * simple.el (define-alternatives): Call the selected command
4755 interactively. When setting `COMMAND--implementation' for the
4756 first time, tell the user how to chose another implementation.
4757 Enhance the docstring.
4758
4759 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4760
4761 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
4762 (log-edit--match-first-line): New function.
4763 (log-edit-font-lock-keywords): Use it.
4764 (log-edit-mode): Make jit-lock-defer-multiline work.
4765
4766 2014-01-13 Bastien Guerry <bzg@gnu.org>
4767
4768 * rect.el (rectangle-mark-mode): When the region is not active,
4769 display a message saying that the mark as been set and that
4770 rectangle mode is in use.
4771 (rectangle--highlight-for-redisplay): Only put an overlay with a
4772 visible vertical bar when (display-graphic-p) is non-nil.
4773 This partially fixes Bug#16403.
4774
4775 2014-01-13 Juri Linkov <juri@jurta.org>
4776
4777 * info.el (Info-find-file): Go to DIR before displaying the error
4778 about a nonexistent file if no previous Info file is visited.
4779 Use `user-error' instead of `error' for "Info file %s does not exist".
4780 (Info-find-node-2): In case of a nonexistent node in unwind forms
4781 go to the Top node if there is no previous node to revert to.
4782 (Bug#16405)
4783
4784 2014-01-13 Martin Rudalics <rudalics@gmx.at>
4785
4786 fit-frame/window-to-buffer code fixes including one for Bug#14096.
4787 * window.el (fit-frame-to-buffer): Fix doc-string.
4788 Respect window-min-height/-width. Fit pixelwise when
4789 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
4790 when avoiding that frame goes partially off-screen.
4791 (fit-window-to-buffer): Respect window-min-height/-width
4792 (Bug#14096).
4793
4794 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
4795
4796 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
4797 after an empty line.
4798
4799 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
4800
4801 * net/shr.el (shr-render-region): Autoload.
4802
4803 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
4804
4805 * net/eww.el (eww-download-directory): Rename from
4806 `eww-download-path' (Bug#16419).
4807
4808 2014-01-12 Leo Liu <sdl.web@gmail.com>
4809
4810 * dired-x.el (dired-mode-map): Fix last change.
4811
4812 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
4813
4814 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
4815
4816 Spelling fixes.
4817 * emacs-lisp/generic.el (generic--normalize-comments):
4818 Rename from generic--normalise-comments. All uses changed.
4819 * play/bubbles.el (bubbles--neighborhood-score)
4820 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
4821 (bubbles--neighborhood-available)
4822 (bubbles--update-neighborhood-score):
4823 Rename from names with 'neighbourhood'. All uses changed.
4824
4825 2014-01-12 Leo Liu <sdl.web@gmail.com>
4826
4827 Re-implement the feature of showing eldoc info after editing.
4828 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
4829 (eldoc-edit-message-commands): New function.
4830 (eldoc-print-after-edit): New variable.
4831 (eldoc-pre-command-refresh-echo-area): Emit message only by
4832 eldoc-message-commands.
4833 (eldoc-mode): Restrict eldoc-message-commands to editing commands
4834 if eldoc-print-after-edit is set. (Bug#16346)
4835 * simple.el (read--expression): Enable eldoc-mode.
4836 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
4837
4838 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
4839 Eric S. Raymond <esr@thyrsus.com>
4840
4841 * version.el (emacs-repository-get-version): Enhance so the
4842 function works correctly in either a Bazaar or Git repo.
4843
4844 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
4845
4846 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
4847 Goes with removal of the joke manpages from /etc.
4848
4849 2014-01-10 Kenichi Handa <handa@gnu.org>
4850
4851 * mail/rmail.el (rmail-get-coding-system):
4852 Check rmail-get-coding-function before "funcall"ing it.
4853
4854 2014-01-10 Glenn Morris <rgm@gnu.org>
4855
4856 * emacs-lisp/authors.el (authors-fixed-entries):
4857 Update for files that no longer exist.
4858
4859 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
4860
4861 * version.el (emacs-bzr-get-version): Restore compatibilty with
4862 24.3 (Tested).
4863
4864 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
4865
4866 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
4867 and Podfile.
4868
4869 2014-01-10 Eli Zaretskii <eliz@gnu.org>
4870
4871 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
4872
4873 2014-01-10 Chong Yidong <cyd@gnu.org>
4874
4875 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
4876
4877 2014-01-10 Anders Lindgren <andlind@gmail.com>
4878
4879 * follow.el (follow-cache-command-list): Include right-char and
4880 left-char.
4881
4882 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
4883
4884 Spelling fixes.
4885 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
4886 * woman.el (woman-mark-horizontal-position):
4887 Rename from woman-mark-horizonal-position. Use changed.
4888
4889 2014-01-10 Glenn Morris <rgm@gnu.org>
4890
4891 * info.el (info-initialize): If running uninstalled, ensure our
4892 own info files are always found first, even if INFOPATH is set.
4893
4894 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
4895
4896 2014-01-09 David Engster <deng@randomsample.de>
4897
4898 * emacs-lisp/eieio-custom.el:
4899 * emacs-lisp/eieio-opt.el: Set generated autoload file to
4900 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
4901 * emacs-lisp/eieio.el: Regenerate autoloads.
4902
4903 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
4904
4905 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
4906 following renames. (Bug#8756)
4907
4908 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
4909
4910 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
4911 (bug#16382).
4912 (activate-mark): Add `no-tmm' argument.
4913 (set-mark, push-mark-command): Use it instead of running
4914 activate-mark-hook by hand.
4915
4916 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
4917
4918 In preparation for the move to git, sanitize out some
4919 Bazaar-specific names.
4920
4921 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
4922
4923 * version.el (emacs-bzr-version): Name changed to
4924 emacs-repository-version. Obsolete-variable alias made.
4925 * loadup.el: Follow through on this name change.
4926 * mail/emacsbug.el (report-emacs-bug): Factor out any
4927 assumption about the version control system in use.
4928
4929 2014-01-08 David Engster <deng@randomsample.de>
4930
4931 * help-fns.el (help-fns-describe-function-functions):
4932 New variable to call functions for augmenting help buffers.
4933 (describe-function-1): Remove explicit calls to
4934 `help-fns--compiler-macro', `help-fns--parent-mode' and
4935 `help-fns--obsolete'. Put them in above new variable instead, and
4936 call them through `run-hook-with-args'.
4937 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
4938 `eieio-describe-class'. Not meant for interactive use anymore,
4939 but to augment existing help buffers. Remove optional second
4940 argument. Create proper button for file location.
4941 Rewrite function to use `insert' instead of `princ' and `prin1' where
4942 possible.
4943 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
4944 (eieio-method-def, eieio-class-def): Move further up.
4945 (describe-method, describe-generic, eieio-describe-method):
4946 Remove aliases.
4947 (eieio-help-constructor, eieio-help-generic): Rename from
4948 `eieio-describe-constructor' and `eieio-describe-generic', resp.
4949 Rewrite to use `insert' in the current buffer and use proper help
4950 buttons.
4951 (eieio-help-find-method-definition)
4952 (eieio-help-find-class-definition): Also accept symbols as
4953 arguments.
4954 (eieio-help-mode-augmentation-maybee): Remove.
4955 (eieio-describe-class-sb): Use `describe-function'.
4956 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
4957 Add `eieio-help-generic' and `eieio-help-constructor'.
4958
4959 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
4960
4961 Spelling fixes.
4962 * language/china-util.el (hz-ascii-designation):
4963 Rename from hz-ascii-designnation.
4964 (hz-ascii-designation): Rename from hz-ascii-designnation.
4965 All uses changed.
4966
4967 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
4968
4969 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
4970 package-alist.
4971
4972 2014-01-08 Bastien Guerry <bzg@gnu.org>
4973
4974 * emacs-lisp/package.el (package-delete):
4975 Correctly delete the package from package-alist.
4976
4977 2014-01-08 Daiki Ueno <ueno@gnu.org>
4978
4979 * emacs-lisp/package.el (url-recreate-url): Declare.
4980 (url-http-target-url): Declare.
4981 (package-handle-response): Include requested URL in the error message.
4982 (package--check-signature): Don't re-signal errors from
4983 package--with-work-buffer. Suggested by Stefan Monnier.
4984
4985 2014-01-07 Bastien Guerry <bzg@gnu.org>
4986
4987 * minibuffer.el (completion--try-word-completion): When both a
4988 hyphen and a space are possible candidates for the character
4989 following a word, display both candidates. (Bug#15980)
4990
4991 2014-01-07 Martin Rudalics <rudalics@gmx.at>
4992
4993 * window.el (balance-windows-2): While rounding don't give a
4994 window more than the remainder. Bug#16351, bug#16383.
4995
4996 2014-01-07 Glenn Morris <rgm@gnu.org>
4997
4998 * menu-bar.el (menu-bar-help-extra-packages): Remove.
4999 (menu-bar-help-menu): Use view-external-packages instead.
5000
5001 2014-01-07 Bastien Guerry <bzg@gnu.org>
5002
5003 * emacs-lisp/package.el (package-delete): Also delete the package
5004 name from `package-alist', not its description only.
5005
5006 2014-01-07 Glenn Morris <rgm@gnu.org>
5007
5008 * help.el (view-external-packages):
5009 * menu-bar.el (menu-bar-help-extra-packages):
5010 Visit efaq.info rather than etc/MORE.STUFF.
5011
5012 2014-01-07 Juri Linkov <juri@jurta.org>
5013
5014 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
5015 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
5016
5017 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
5018 that shadows RET. (Bug#16342)
5019
5020 2014-01-07 Chong Yidong <cyd@gnu.org>
5021
5022 * isearch.el (isearch-yank-char, isearch-yank-word)
5023 (isearch-yank-line): Doc fix.
5024
5025 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5026
5027 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
5028 * emacs-lisp/elint.el (elint-find-builtins):
5029 * emacs-lisp/eldoc.el (eldoc-symbol-function):
5030 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
5031 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
5032 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5033 * apropos.el (apropos-safe-documentation):
5034 * subr.el (symbol-file): Remove redundant fboundp.
5035 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
5036
5037 2014-01-06 Bastien Guerry <bzg@gnu.org>
5038
5039 * hl-line.el (global-hl-line-overlay): Make a local variable.
5040 (global-hl-line-overlays): New variable to store all overlays.
5041 (global-hl-line-mode): Don't delete overlays from the current
5042 buffer when `global-hl-line-sticky-flag' is non-nil.
5043 (global-hl-line-highlight): Add new overlays to
5044 `global-hl-line-overlays'.
5045 (global-hl-line-unhighlight-all): New function to delete all
5046 overlays when turning off `global-hl-line-mode'.
5047 This fixes Bug#16183.
5048
5049 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
5050
5051 * subr.el (set-transient-map): Fix nested case and docstring.
5052
5053 2014-01-06 Tassilo Horn <tsdh@gnu.org>
5054
5055 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
5056 `Texinfo' entry.
5057
5058 2014-01-06 Daniel Colascione <dancol@dancol.org>
5059
5060 Fix defun navigation in vc log view.
5061
5062 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
5063 like `beginning-of-defun'.
5064 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
5065 log-view-end-of-defun to log-view-end-of-defun-1. Replace
5066 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
5067 (log-view-extract-comment): Call `log-view-current-entry' directly
5068 instead of relying on broken `log-view-beginning-of-defun' behavior.
5069
5070 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
5071
5072 Spelling fixes.
5073 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
5074 * emacs-lisp/debug.el (cancel-debug-on-entry):
5075 * epg.el (epg-error-to-string):
5076 * files.el (recover-file):
5077 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
5078 * mail/emacsbug.el (report-emacs-bug-hook):
5079 * mail/sendmail.el (mail-recover):
5080 * ses.el (ses-yank-resize):
5081 * term/ns-win.el (ns-print-buffer):
5082 Spelling fixes in diagnostics, mostly for "canceled" with one L.
5083 * epg.el (epg-key-capability-alist): Rename from misspelled version.
5084 All uses changed.
5085 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
5086
5087 2014-01-06 Leo Liu <sdl.web@gmail.com>
5088
5089 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
5090 to avoid shadowing global key. (Bug#16354)
5091
5092 2014-01-06 Daniel Colascione <dancol@dancol.org>
5093
5094 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
5095 rst-mode.
5096
5097 2014-01-05 Martin Rudalics <rudalics@gmx.at>
5098
5099 * window.el (balance-windows): Add mising t to fix Bug#16351.
5100
5101 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5102
5103 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
5104 (bug#16285).
5105 (shr-insert): If we have a word that's longer than `shr-width',
5106 break after it anyway. Otherwise we'll do no breaking once we get
5107 such a long word.
5108
5109 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5110
5111 * net/eww.el (eww): Support single/double quote for search.
5112 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
5113 (eww-history-quit): Delete and use quit-window.
5114 (eww-history-kill): Delete, because it doesn't work well and
5115 not necessary.
5116 (eww-history-mode-map): Delete some keys and add easy-menu.
5117
5118 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
5119
5120 Fix misspelling of 'chinese' in rx (Bug#16237).
5121 * emacs-lisp/rx.el (rx-categories): Correct spelling of
5122 chinese-two-byte.
5123
5124 Change subword regexps back to vars (Bug#16296).
5125 * progmodes/subword.el (subword-forward-regexp)
5126 (subword-backward-regexp): Change these back to variables.
5127
5128 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5129
5130 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
5131 syntax-begin-function (bug#16247).
5132
5133 2014-01-03 Chong Yidong <cyd@gnu.org>
5134
5135 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
5136 (advice--docstring): Delete variable.
5137 (advice--make-1): Leave the docstring empty.
5138 (advice-add): Use function-documentation for advised docstring.
5139
5140 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
5141 Ignore function-documentation property when getting documentation.
5142 (ad-activate-advised-definition): Use function-documentation
5143 generate the docstring.
5144 (ad-make-advised-definition): Don't call
5145 ad-make-advised-definition-docstring.
5146 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5147 Delete functions.
5148
5149 * progmodes/sql.el (sql-help): Use function-documentation instead
5150 of dynamic-docstring-function property. No need to autoload now.
5151 (sql--help-docstring): New variable.
5152 (sql--make-help-docstring): Use it.
5153
5154 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
5155
5156 * ielm.el (ielm-tab): Retarget.
5157 (ielm-map): Use ielm-tab for tab.
5158 (ielm-complete-filename): Use comint-filename-completion.
5159 (ielm-complete-symbol): Remove.
5160 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
5161 remove ielm-tab from completion-at-point-functions (bug#16224).
5162
5163 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
5164 Beware signals raised by predicates (bug#16201).
5165
5166 2014-01-02 Richard Stallman <rms@gnu.org>
5167
5168 * dired-aux.el (dired-do-print): Handle printer-name.
5169
5170 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
5171 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
5172 (rmail-epa-decrypt): Turn off mime processing.
5173
5174 * mail/rmail.el (rmail-make-in-reply-to-field):
5175 Add parens in message-id.
5176
5177 * mail/rmail.el (rmail-get-coding-function): Variable.
5178 (rmail-get-coding-system): Use it.
5179
5180 2013-12-31 Eli Zaretskii <eliz@gnu.org>
5181
5182 * international/mule-conf.el: Unify the charset indian-is13194.
5183 (indian-is13194): Specify unify-map.
5184
5185 2013-12-31 Leo Liu <sdl.web@gmail.com>
5186
5187 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
5188
5189 2013-12-30 Daniel Colascione <dancol@dancol.org>
5190
5191 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
5192 of printing a useless when we resume from sleep.
5193
5194 * progmodes/sh-script.el
5195 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
5196 in indentation code. (Bug#16233)
5197
5198 2013-12-28 João Távora <joaotavora@gmail.com>
5199
5200 * elec-pair.el (electric-pair-post-self-insert-function):
5201 Don't open extra newlines at beginning of buffer. (Bug#16272)
5202
5203 2013-12-28 Eli Zaretskii <eliz@gnu.org>
5204
5205 * frame.el (window-system-for-display): Don't allow to create a
5206 GUI frame from a -nw session on MS-Windows. (Bug#14739)
5207
5208 2013-12-28 Glenn Morris <rgm@gnu.org>
5209
5210 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
5211 Update callers.
5212
5213 * apropos.el (apropos-match-face):
5214 * calculator.el (calculator-displayer):
5215 * dabbrev.el (dabbrev-search-these-buffers-only):
5216 * face-remap.el (buffer-face-mode-face):
5217 * simple.el (yank-handled-properties):
5218 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
5219 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
5220 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
5221 (hashcash-double-spend-database):
5222 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
5223 (ruby-deep-indent-paren-style):
5224 * textmodes/flyspell.el (flyspell-auto-correct-binding):
5225 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
5226 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
5227 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
5228 Specify custom types.
5229
5230 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
5231 * bookmark.el (bookmark-bmenu-use-header-line):
5232 * doc-view.el (doc-view-scale-internally):
5233 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
5234 * register.el (register-preview-delay):
5235 * net/shr.el (shr-bullet):
5236 * progmodes/cfengine.el (cfengine-cf-promises)
5237 (cfengine-parameters-indent):
5238 * progmodes/octave.el (inferior-octave-error-regexp-alist):
5239 * textmodes/reftex-vars.el (reftex-label-regexps):
5240 * vc/log-edit.el (log-edit-setup-add-author): Add version.
5241
5242 * net/tls.el (tls-certtool-program): Fix default value.
5243
5244 * desktop.el (desktop-restore-in-current-display):
5245 * newcomment.el (comment-empty-lines):
5246 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
5247 (idlwave-pad-keyword):
5248 * progmodes/tcl.el (tcl-tab-always-indent):
5249 * textmodes/reftex-vars.el (reftex-index-default-tag):
5250 * elec-pair.el (electric-pair-skip-whitespace):
5251 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
5252
5253 * emacs-lisp/authors.el (authors-ignored-files)
5254 (authors-valid-file-names, authors-renamed-files-alist): Additions.
5255
5256 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
5257
5258 * shell.el (shell-dynamic-complete-command): Doc fix.
5259 (shell--command-completion-data): Shell completion now matches
5260 executable filenames from the current buffer's directory, on
5261 systems in which this behavior is the default (windows-nt, ms-dos).
5262
5263 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5264
5265 * net/shr.el (shr-insert): Don't infloop if the width is zero.
5266
5267 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
5268
5269 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
5270 (bug#16251).
5271
5272 * electric.el: Move all electric-pair-* to elec-pair.el.
5273 * elec-pair.el: New file, split from electric.el.
5274
5275 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
5276
5277 * net/shr.el (shr-find-fill-point): Don't try to fill if the
5278 indentation level is larger than the width, because that will
5279 infloop.
5280 (shr-insert): Fill repeatedly long texts, so that Japanese is
5281 formatted correctly (bug#16263).
5282 (shr-find-fill-point): Off by one error in comparison with the
5283 indentation.
5284
5285 2013-12-26 João Távora <joaotavora@gmail.com>
5286
5287 * electric.el (electric-pair-mode): More flexible engine for skip-
5288 and inhibit predicates, new options for pairing-related functionality.
5289 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
5290 if that keeps or improves their balance in buffers.
5291 (electric-pair-delete-adjacent-pairs): Delete the pair when
5292 backspacing over adjacent matched delimiters.
5293 (electric-pair-open-extra-newline): Open extra newline when
5294 inserting newlines between adjacent matched delimiters.
5295 (electric--sort-post-self-insertion-hook):
5296 Sort post-self-insert-hook according to priority values when
5297 minor-modes are activated.
5298 * simple.el (newline-and-indent): Call newline with interactive
5299 set to t.
5300 (blink-paren-post-self-insert-function): Set priority to 100.
5301 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5302 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
5303 comments. Locally set electric-pair-skip-whitespace to 'chomp and
5304 electric-pair-open-newline-between-pairs to nil.
5305
5306 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
5307
5308 * progmodes/python.el: Use lexical-binding.
5309 (python-nav-beginning-of-defun): Stop searching ASAP.
5310
5311 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
5312
5313 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
5314 Fix interactive spec. Doc fix. (Bug#15754)
5315
5316 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
5317
5318 * emacs-lisp/byte-run.el (eval-when-compile):
5319 * progmodes/cc-defs.el (cc-eval-when-compile):
5320 Fix edebug spec (bug#16184).
5321
5322 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5323
5324 * net/shr.el (shr-visit-file): Remove debugging function.
5325 (shr-insert): Don't infloop if we can't find a good place to break
5326 the line (bug#16256).
5327
5328 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
5329
5330 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
5331 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
5332 python-nav-lisp-forward-sexp-safe.
5333 (python-nav--forward-sexp): New argument SAFE allows switching
5334 forward sexp movement behavior for parens.
5335 (python-nav-forward-sexp): Throw errors on unterminated parens
5336 (Bug#16191).
5337 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
5338 (python-nav-backward-sexp-safe): New functions.
5339 (python-shell-buffer-substring):
5340 Use `python-nav-forward-sexp-safe'.
5341
5342 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
5343
5344 * net/shr.el (shr-find-fill-point): Don't break lines before a
5345 quotation mark.
5346 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
5347 (shr-find-fill-point): Remove the special checks for the quotation
5348 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
5349
5350 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5351
5352 * net/eww.el (eww-form-textarea): Use a different face for
5353 textareas than text input since they have different keymaps
5354 (bug#16142).
5355
5356 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
5357
5358 * progmodes/python.el (python-nav-beginning-of-statement):
5359 Speed up (Bug#15295).
5360
5361 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5362
5363 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
5364 the window configuration.
5365
5366 2013-12-24 Eli Zaretskii <eliz@gnu.org>
5367
5368 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
5369 we run on MS-Windows or MS-DOS.
5370
5371 2013-12-24 Martin Rudalics <rudalics@gmx.at>
5372
5373 * window.el (balance-windows-area): Call window-size instead of
5374 window-height and window-width. Bug#16241.
5375
5376 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
5377
5378 * net/eww.el (eww-bookmark-quit): Remove.
5379 (eww-bookmark-browse): Restore the window configuration when you
5380 choose a bookmark (bug#16144).
5381
5382 2013-12-24 Daniel Colascione <dancol@dancol.org>
5383
5384 * icomplete.el: Remove redundant :group arguments to `defcustom'
5385 throughout.
5386 (icomplete-show-matches-on-no-input): New customizable variable.
5387 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
5388 we have something to show.
5389 (icomplete-exhibit): Compute completions even if we have no user input.
5390
5391 2013-12-23 Daniel Colascione <dancol@dancol.org>
5392
5393 * icomplete.el: Move `provide' to end of file.
5394
5395 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
5396
5397 * net/gnutls.el (gnutls-verify-error): Add version tag.
5398
5399 2013-12-23 Chong Yidong <cyd@gnu.org>
5400
5401 * subr.el (set-transient-map): Rename from
5402 set-temporary-overlay-map. Doc fix.
5403
5404 * face-remap.el (text-scale-adjust):
5405 * indent.el (indent-rigidly):
5406 * kmacro.el (kmacro-call-macro):
5407 * minibuffer.el (minibuffer-force-complete):
5408 * repeat.el (repeat):
5409 * simple.el (universal-argument--mode):
5410 * calendar/todo-mode.el (todo-insert-item--next-param):
5411 * progmodes/f90.el (f90-abbrev-start): Callers changed.
5412
5413 * indent.el (indent-rigidly): Use substitute-command-keys.
5414
5415 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5416
5417 * net/eww.el (eww-tag-select): Add text-property to jump to next
5418 select field.
5419 (eww): Add non-supported ftp error.
5420
5421 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5422
5423 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
5424 comments. Handle electric indent after typing `?' and `!'.
5425
5426 2013-12-22 Chong Yidong <cyd@gnu.org>
5427
5428 * faces.el (face-spec-recalc): If the theme specs are not
5429 applicable to a frame, fall back on the defface spec.
5430 This prevents themes from obliterating faces on low-color terminals.
5431
5432 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5433
5434 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
5435 after `{'. We need it after block openers, and it doesn't seem
5436 to hurt after hash openers.
5437
5438 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5439
5440 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
5441 extracted from `ruby-smie-rules'.
5442 (ruby--electric-indent-chars): New variable.
5443 (ruby--electric-indent-p): New function.
5444 (ruby-mode): Use `electric-indent-functions' instead of
5445 `electric-indent-chars'.
5446
5447 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
5448
5449 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
5450 docstring.
5451 (ruby-smie-rules): Indent plus one level after `=>'.
5452
5453 2013-12-21 Richard Stallman <rms@gnu.org>
5454
5455 * simple.el (newline): Doc fix.
5456
5457 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
5458
5459 * net/eww.el (eww-list-histories, eww-list-histories)
5460 (eww-history-browse, eww-history-quit, eww-history-kill)
5461 (eww-history-mode-map, eww-history-mode): New command and
5462 functions to list browser histories.
5463 (eww-form-text): Support text form with disabled
5464 and readonly attributes.
5465 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
5466
5467 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5468
5469 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
5470 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
5471 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
5472 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
5473 Use `user-error'.
5474 (eww-bookmark-mode-map): Add menu.
5475 (eww-render, eww-mode): Use `setq-local'.
5476 (eww-tool-bar-map): New variable.
5477 (eww-mode): Set `tool-bar-map'.
5478 (eww-view-source): Check for `html-mode' with `fboundp'.
5479
5480 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5481
5482 * net/shr.el (shr--extract-best-source): Don't bug out on audio
5483 elements with text inside. Also remove debugging.
5484
5485 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
5486
5487 * cus-start.el (all): Add ns-use-srgb-colorspace.
5488
5489 2013-12-21 Chong Yidong <cyd@gnu.org>
5490
5491 * custom.el (custom-theme-recalc-face): Do nothing if the face is
5492 undefined. Thus, theme settings for undefined faces do not take
5493 effect until the faces are defined with defface, the same as with
5494 theme variables.
5495
5496 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
5497 (face-spec-reset-face): Don't assign extra properties in temacs.
5498 (face-spec-recalc): Apply X resources too.
5499
5500 2013-12-21 Chong Yidong <cyd@gnu.org>
5501
5502 * faces.el (face-spec-set):
5503 * cus-face.el (custom-theme-set-faces, custom-set-faces):
5504 * custom.el (defface): Doc fixes (Bug#16203).
5505
5506 * indent.el (indent-rigidly-map): Add docstring, and move commands
5507 into named functions.
5508 (indent-rigidly-left, indent-rigidly-right)
5509 (indent-rigidly-left-to-tab-stop)
5510 (indent-rigidly-right-to-tab-stop): New functions. Decide on
5511 indentation direction based on bidi direction, and accumulate
5512 sequential commands in a single undo boundary.
5513 (indent-rigidly--pop-undo): New utility function.
5514
5515 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
5516
5517 * faces.el (read-face-name): Require crm.el when using crm-separator.
5518
5519 2013-12-20 Daniel Colascione <dancol@dancol.org>
5520
5521 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
5522 so that we don't reflow comments into the shebang line.
5523
5524 2013-12-20 Juri Linkov <juri@jurta.org>
5525
5526 * saveplace.el (save-place-to-alist): Add `dired-filename' as
5527 a position when `dired-directory' is non-nil. Check integer
5528 positions with `integerp'.
5529 (toggle-save-place, save-places-to-alist): Add check for
5530 `dired-directory'.
5531 (save-place-find-file-hook): Check integer positions with
5532 `integerp'.
5533 (save-place-dired-hook): Use `dired-goto-file' when
5534 `dired-filename' is found in the assoc list. Check integer
5535 positions with `integerp'.
5536 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
5537
5538 * dired.el (dired-initial-position-hook): Rename back from
5539 `dired-initial-point-hook'.
5540 (dired-initial-position): Rename `dired-initial-point-hook' to
5541 `dired-initial-position-hook'.
5542 (dired-file-name-at-point): Doc fix. (Bug#15329)
5543
5544 2013-12-20 Juri Linkov <juri@jurta.org>
5545
5546 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
5547 (read-regexp-suggestions): New function.
5548 (read-regexp): Use `read-regexp-defaults-function' to get default values.
5549 Use `read-regexp-suggestions'. Add non-empty default to history
5550 for empty input.
5551 (occur-read-regexp-defaults-function): Remove function.
5552 (occur-read-primary-args): Use `regexp-history-last' instead of
5553 `occur-read-regexp-defaults-function'.
5554
5555 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
5556 (hi-lock-line-face-buffer, hi-lock-face-buffer)
5557 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
5558 `hi-lock-read-regexp-defaults-function'. Doc fix.
5559 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
5560 with `find-tag-default-as-symbol-regexp'. Doc fix.
5561 (hi-lock-read-regexp-defaults): Remove function.
5562 (hi-lock-regexp-okay): Add check for null.
5563
5564 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
5565 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
5566
5567 * subr.el (find-tag-default-as-symbol-regexp): New function.
5568 (find-tag-default-as-regexp): Move symbol regexp formatting to
5569 `find-tag-default-as-symbol-regexp'.
5570
5571 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
5572
5573 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
5574 (Bug#14179)
5575
5576 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5577
5578 * calendar/todo-mode.el: New implementation of item insertion
5579 commands and key bindings.
5580 (todo-key-prompt): New face.
5581 (todo-insert-item): New command.
5582 (todo-insert-item--parameters): New defconst, replacing defvar
5583 todo-insertion-commands-args-genlist.
5584 (todo-insert-item--param-key-alist): New defconst, replacing
5585 defvar todo-insertion-commands-arg-key-list.
5586 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
5587 (todo-insert-item--argsleft, todo-insert-item--apply-args)
5588 (todo-insert-item--next-param): New functions.
5589 (todo-insert-item--args, todo-insert-item--argleft)
5590 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
5591 New variables.
5592 (todo-key-bindings-t): Change binding of "i" from
5593 todo-insertion-map to todo-insert-item.
5594 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
5595 (todo-insertion-command-name, todo-insertion-commands-names)
5596 (todo-define-insertion-command, todo-insertion-commands)
5597 (todo-insertion-key-bindings, todo-insertion-map): Remove.
5598
5599 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
5600
5601 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
5602 (todo-toggle-item-highlighting): Use eval-and-compile instead of
5603 eval-when-compile.
5604 (todo-move-category): Allow choosing a non-existing todo file to
5605 move the category to, and create that file.
5606 (todo-default-priority): New user option.
5607 (todo-set-item-priority): Use it.
5608 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
5609 (desktop-restore-file-buffer): Declare.
5610 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
5611 (todo-modes-set-2): Locally set desktop-save-buffer to
5612 todo-desktop-save-buffer.
5613 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
5614 (auto-mode-alist): Add autoload cookie.
5615
5616 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
5617
5618 * emacs-lisp/subr-x.el: Renamed from helpers.el.
5619 helpers.el was a poor choice of name.
5620 (string-remove-prefix): New function.
5621 (string-remove-suffix): New function.
5622
5623 2013-12-20 Martin Rudalics <rudalics@gmx.at>
5624
5625 Fix assignment for new window total sizes.
5626 * window.el (window--pixel-to-size): Remove function.
5627 (window--pixel-to-total-1, window--pixel-to-total):
5628 Fix calculation of new total sizes.
5629
5630 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
5631
5632 * comint.el (comint-output-filter): Fix rear-nonsticky property
5633 placement (Bug#16010).
5634
5635 2013-12-20 Chong Yidong <cyd@gnu.org>
5636
5637 * faces.el (read-color): Minor fix for completion function.
5638
5639 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
5640
5641 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
5642 New option. (Bug#16182)
5643 (ruby-smie--indent-to-stmt-p): Use it.
5644 (ruby-smie-rules): Revert the logic in the handling of `when'.
5645 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
5646 (ruby-deep-arglist, ruby-deep-indent-paren)
5647 (ruby-deep-indent-paren-style): Update docstrings to note that the
5648 vars don't have any effect with SMIE.
5649
5650 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
5651
5652 * calc/calc.el (calc-enter, calc-pop): Use the variable
5653 `calc-context-sensitive-enter'.
5654
5655 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
5656
5657 * net/shr.el (shr-insert): Protect against infloops in degenerate
5658 tables.
5659
5660 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5661
5662 * progmodes/octave.el (octave): Add link to manual and octave
5663 homepage.
5664 (octave-mode-menu): Link to octave-mode manual.
5665
5666 2013-12-20 Leo Liu <sdl.web@gmail.com>
5667
5668 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
5669 insertion using skeleton-end-newline. (Bug#16138)
5670
5671 2013-12-20 Juri Linkov <juri@jurta.org>
5672
5673 * replace.el (occur-engine): Use `add-face-text-property'
5674 to add the face property to matches and titles. (Bug#14645)
5675
5676 * hi-lock.el (hi-green): Use lighter color "light green" closer to
5677 the palette of other hi-lock colors.
5678 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
5679
5680 2013-12-19 Juri Linkov <juri@jurta.org>
5681
5682 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
5683 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
5684 (minibuffer-history-symbol): Move variable declaration closer to
5685 its usage.
5686
5687 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
5688 (Bug#14785)
5689
5690 2013-12-19 Juri Linkov <juri@jurta.org>
5691
5692 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
5693 New function.
5694 (log-edit-hook): Add it to :options. (Bug#16170)
5695
5696 2013-12-19 Juri Linkov <juri@jurta.org>
5697
5698 * simple.el (eval-expression-print-format): Don't check for
5699 command names and the last command. Always display additional
5700 formats of the integer result in the echo area, and insert them
5701 to the current buffer only with a zero prefix arg.
5702 Display character when char-displayable-p is non-nil.
5703 (eval-expression): With a zero prefix arg, set `print-length' and
5704 `print-level' to nil, and insert the integer values from
5705 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
5706
5707 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
5708 `eval-last-sexp-arg-internal'. Doc fix.
5709 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
5710 `eval-last-sexp-print-value'. Doc fix.
5711 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
5712 Set `print-length' and `print-level' to nil when arg is zero.
5713 (eval-last-sexp): Doc fix.
5714 (eval-defun-2): Print the integer values from
5715 `eval-expression-print-format' at the end.
5716
5717 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
5718 values from `eval-expression-print-format' at the end.
5719
5720 * ielm.el (ielm-eval-input): Print the integer
5721 values from `eval-expression-print-format' at the end.
5722
5723 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
5724
5725 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
5726 2013-12-11T19:01:44Z!tzz@lifelogs.com.
5727
5728 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
5729
5730 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
5731 (hl-line-highlight, global-hl-line-highlight): Use it.
5732 (hl-line-overlay): Use defvar-local.
5733
5734 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
5735
5736 * term/ns-win.el: Require dnd.
5737 (global-map): Remove drag items.
5738 (ns-insert-text, ns-set-foreground-at-mouse)
5739 (ns-set-background-at-mouse):
5740 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
5741 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
5742 New functions.
5743
5744 2013-12-19 Glenn Morris <rgm@gnu.org>
5745
5746 * emacs-lisp/ert.el (ert-select-tests):
5747 Fix string/symbol mixup. (Bug#16121)
5748
5749 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5750
5751 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
5752 keywords to their parent.
5753
5754 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
5755
5756 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
5757 first arg to be a string (fixed dead code), or an operator symbol.
5758 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
5759 operator symbols.
5760 (ruby-smie-rules): Remove parent token check in the `.' clause, it
5761 did nothing. Don't respond to `(:after ".")', it will be called
5762 with :before anyway. Remove the ` @ ' rule, it didn't seem to
5763 change anything. Only return indentation for binary operators
5764 when they are hanging. De-dent opening paren when its parent is
5765 `.', otherwise it looks bad when the dot is not at bol or eol
5766 (bug#16182).
5767
5768 2013-12-19 Juri Linkov <juri@jurta.org>
5769
5770 * replace.el (query-replace-read-args): Split a non-negative arg
5771 and a negative arg into separate elements.
5772 (query-replace, query-replace-regexp, replace-string)
5773 (replace-regexp): Add arg `backward'. Doc fix.
5774 (replace-match-maybe-edit): When new arg `backward' is non-nil,
5775 move point to the beginning of the match.
5776 (replace-search, replace-highlight): Use new arg `backward'
5777 to set the value of `isearch-forward'.
5778 (perform-replace): Add arg `backward' and use it to perform
5779 replacement backward. (Bug#14979)
5780
5781 * isearch.el (isearch-query-replace): Use a negative prefix arg
5782 to call `perform-replace' with a non-nil arg `backward'.
5783
5784 2013-12-18 Juri Linkov <juri@jurta.org>
5785
5786 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
5787 to the default list. Move `log-edit-show-files' to the end.
5788 Add more available functions to options.
5789 (log-edit): Move default specific settings to
5790 `log-edit-insert-message-template'. Don't move point.
5791 (log-edit-insert-message-template): New function.
5792 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
5793 (Bug#16170)
5794
5795 2013-12-18 Juri Linkov <juri@jurta.org>
5796
5797 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
5798 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
5799
5800 2013-12-18 Leo Liu <sdl.web@gmail.com>
5801
5802 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
5803 (Bug#16186)
5804
5805 2013-12-18 Eli Zaretskii <eliz@gnu.org>
5806
5807 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
5808 formats for displaying file sizes when the -s switch is given.
5809 Instead, compute a separate format for displaying the size in
5810 blocks, which is displayed in addition to the "regular" size.
5811 When -h is given in addition to -s, produce size in blocks in
5812 human-readable form as well. (Bug#16179)
5813
5814 2013-12-18 Tassilo Horn <tsdh@gnu.org>
5815
5816 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5817 Reference tables with ~\ref{...} instead of only \ref{...}.
5818
5819 2013-12-18 Chong Yidong <cyd@gnu.org>
5820
5821 * cus-edit.el (custom-magic-alist): Fix "themed" description
5822 (Bug#14348).
5823
5824 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
5825 is non-nil, do not create a new entry in the symbol's theme-value
5826 or theme-face property; update theme-settings only (Bug#14664).
5827 (custom-available-themes): Doc fix.
5828
5829 * cus-theme.el (custom-new-theme-mode-map): Add bindings
5830 (Bug#15674).
5831
5832 * replace.el (occur-engine): Avoid infloop (Bug#7593).
5833
5834 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
5835
5836 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
5837 (Bug#13914).
5838
5839 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5840
5841 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
5842
5843 2013-12-18 Glenn Morris <rgm@gnu.org>
5844
5845 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
5846 * cus-start.el (load-prefer-newer): New option.
5847
5848 2013-12-18 Le Wang <l26wang@gmail.com>
5849
5850 * comint.el (comint-previous-matching-input-from-input):
5851 Retain point (Bug#13404).
5852
5853 2013-12-18 Chong Yidong <cyd@gnu.org>
5854
5855 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
5856
5857 2013-12-18 Glenn Morris <rgm@gnu.org>
5858
5859 * mail/emacsbug.el (report-emacs-bug):
5860 Only mention enable-multibyte-characters if non-standard.
5861
5862 2013-12-17 Juri Linkov <juri@jurta.org>
5863
5864 * arc-mode.el (archive-extract-by-file): Check if directory exists
5865 before deletion to not show irrelevant errors if it doesn't exist.
5866
5867 2013-12-17 Juri Linkov <juri@jurta.org>
5868
5869 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
5870 (Bug#14751)
5871
5872 * net/eww.el (browse-web): Add alias to `eww'.
5873 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
5874 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
5875
5876 * net/browse-url.el (browse-url-browser-function): Move `eww'
5877 closer to similar functions.
5878
5879 * startup.el (fancy-startup-screen, fancy-about-screen):
5880 Set browse-url-browser-function to eww-browse-url locally.
5881 (Bug#14751)
5882
5883 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5884
5885 * window.el (window--pixel-to-total): Remove unused `mini' var.
5886 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
5887 (split-window): Remove unused `new' var.
5888 (window--display-buffer): Remove unused `frame' and `delta' vars.
5889 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
5890 and display-width'.
5891
5892 2013-12-17 Martin Rudalics <rudalics@gmx.at>
5893
5894 * dired.el (dired-mark-pop-up):
5895 * register.el (register-preview): Don't bind
5896 split-height-threshold here since it's now done in
5897 display-buffer-below-selected.
5898
5899 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
5900
5901 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
5902 xterm-rgb-convert-to-16bit.
5903 (rxvt-register-default-colors): Standardize with
5904 xterm-register-default-colors (Bug#14078).
5905
5906 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
5907
5908 * simple.el (kill-region): Pass mark first, then point, so that
5909 kill-append works right (Bug#12819).
5910 (copy-region-as-kill, kill-ring-save): Likewise.
5911
5912 2013-12-17 Leo Liu <sdl.web@gmail.com>
5913
5914 * net/rcirc.el (rcirc-add-face):
5915 * eshell/em-prompt.el (eshell-emit-prompt):
5916 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
5917 (Bug#16167)
5918
5919 2013-12-17 Chong Yidong <cyd@gnu.org>
5920
5921 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
5922 Suggested by Xue Fuqiao.
5923
5924 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5925
5926 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
5927
5928 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
5929
5930 * net/shr.el (shr-insert-document): Remove unused var
5931 `shr-preliminary-table-render'.
5932 (shr-rescale-image): Remove unused arg `force'.
5933 (shr-put-image): Update calls accordingly.
5934 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
5935
5936 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
5937
5938 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
5939 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
5940 :close-all, to see which indentation method to use (Bug#16116).
5941 (smie-rules-function): Document the method :close-all.
5942
5943 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
5944
5945 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
5946
5947 * net/eww.el (eww-display-html): If we can't find the anchor we're
5948 looking for, then go to point-min.
5949
5950 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
5951
5952 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
5953 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
5954 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
5955 Expand dir too, in case it's relative.
5956
5957 2013-12-16 Juri Linkov <juri@jurta.org>
5958
5959 * desktop.el (desktop-auto-save-timeout): Change default to
5960 `auto-save-timeout'. Doc fix.
5961 (desktop-save): Skip the timestamp in desktop-saved-frameset
5962 when checking for auto-save changes.
5963 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
5964 `desktop-auto-save' is called repeatedly by the idle timer.
5965 (desktop-auto-save-set-timer): Replace `run-with-timer' with
5966 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
5967 (Bug#15331)
5968
5969 2013-12-16 Juri Linkov <juri@jurta.org>
5970
5971 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
5972 (Bug#16035)
5973 (isearch-pre-command-hook): Check `this-command' for symbolp.
5974
5975 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5976
5977 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
5978
5979 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
5980
5981 * progmodes/cfengine.el (cfengine3--current-word): Remove.
5982 (cfengine3--current-function): Bring in the current-function
5983 functionality from `cfengine3--current-word'.
5984 (cfengine3-completion-function): Bring in the
5985 bounds-of-current-word functionality from
5986 `cfengine3--current-word'.
5987
5988 2013-12-16 Martin Rudalics <rudalics@gmx.at>
5989
5990 * window.el (display-buffer-below-selected):
5991 Bind split-height-threshold to 0 as suggested by Juri Linkov.
5992
5993 2013-12-16 Leo Liu <sdl.web@gmail.com>
5994
5995 * progmodes/compile.el (compile-goto-error): Do not push-mark.
5996 Remove NOMSG arg and all uses changed.
5997
5998 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
5999
6000 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
6001 (cua--deactivate-rectangle): Don't deactivate the mark.
6002 (cua-set-rectangle-mark): Don't set mark-active since
6003 cua--activate-rectangle already does it for us.
6004 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
6005 non-rectangular region.
6006
6007 * emulation/cua-base.el (cua-repeat-replace-region):
6008 Use with-current-buffer.
6009
6010 * net/gnutls.el: Use cl-lib.
6011 (gnutls-negotiate): `mapcan' -> cl-mapcan.
6012
6013 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6014
6015 * emacs-lisp/package.el (package-built-in-p): Support both
6016 built-in and the package.el converted package descriptions.
6017 (package-show-package-list): Allow keywords.
6018 (package-keyword-button-action): Use it instead of
6019 `finder-list-matches'.
6020 (package-menu-filter-interactive): Interactive filtering (by
6021 keyword) function.
6022 (package-menu--generate): Support keywords and change keymappings
6023 and headers when they are given.
6024 (package--has-keyword-p): Helper function.
6025 (package-menu--refresh): Use it.
6026 (package--mapc): Helper function.
6027 (package-all-keywords): Use it.
6028 (package-menu-mode-map): Set up menu items and keybindings to
6029 provide a filtering UI.
6030
6031 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
6032
6033 * net/gnutls.el (gnutls-verify-error): New defcustom to control
6034 the behavior when a certificate fails validation. Defaults to
6035 old behavior: never abort, just warn.
6036 (gnutls-negotiate): Use it.
6037
6038 2013-12-14 Martin Rudalics <rudalics@gmx.at>
6039
6040 * window.el (display-buffer-below-selected): Never split window
6041 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
6042
6043 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
6044
6045 * emacs-lisp/package.el (package--prepare-dependencies): New function.
6046 (package-buffer-info): Use it (bug#15108).
6047
6048 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
6049
6050 * icomplete.el (icomplete-completions): Make sure the prefix is already
6051 displayed elsewhere before hiding it (bug#16219).
6052
6053 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
6054
6055 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
6056 open-paren tokens when preceded by a open-paren, too.
6057 (ruby-smie-rules): Handle virtual indentation after open-paren
6058 tokens specially. If there is code between it and eol, return the
6059 column where is starts (Bug#16118).
6060
6061 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6062
6063 * progmodes/cfengine.el: Fix `add-hook' doc.
6064 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
6065 (cfengine3--current-word): Fix parameters.
6066 (cfengine3-make-syntax-cache): Simplify further.
6067 (cfengine3-completion-function, cfengine3--current-function):
6068 Use `assq' for symbols.
6069 (cfengine3--current-function): Fix `cfengine3--current-word' call.
6070
6071 2013-12-13 Glenn Morris <rgm@gnu.org>
6072
6073 * loadup.el (load-path): Warn if site-load or site-init changes it.
6074 No more need to reset it when bootstrapping.
6075
6076 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
6077
6078 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
6079 locations for cf-promises.
6080 (cfengine-mode-syntax-functions-regex): New caching variable.
6081 (cfengine3-fallback-syntax): Fallback syntax for cases where
6082 cf-promises doesn't run.
6083 (cfengine3--current-word): Reimplement using
6084 `cfengine-mode-syntax-functions-regex'.
6085 (cfengine3-completion-function, cfengine3--current-function):
6086 Use `cfengine3-make-syntax-cache' directly.
6087 (cfengine3-clear-syntax-cache): New function.
6088 (cfengine3-make-syntax-cache): Simplify and create
6089 `cfengine-mode-syntax-functions-regex' on demand.
6090 (cfengine3-format-function-docstring): Don't call
6091 `cfengine3-make-syntax-cache' explicitly.
6092
6093 2013-12-13 Martin Rudalics <rudalics@gmx.at>
6094
6095 Fix windmove-find-other-window broken after pixelwise resizing
6096 (Bug#16017).
6097 * windmove.el (windmove-other-window-loc): Revert change from
6098 2013-12-04.
6099 (windmove-find-other-window): Call window-in-direction.
6100 * window.el (window-in-direction): New arguments SIGN, WRAP and
6101 MINI to emulate original windmove-find-other-window behavior.
6102
6103 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
6104
6105 * simple.el (blink-matching--overlay): New variable.
6106 (blink-matching-open): Instead of moving point, highlight the
6107 matching paren with an overlay
6108 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
6109
6110 * faces.el (paren-showing-faces, show-paren-match)
6111 (show-paren-mismatch): Move from paren.el.
6112
6113 2013-12-13 Leo Liu <sdl.web@gmail.com>
6114
6115 * indent.el (indent-region): Disable progress reporter in
6116 minibuffer. (Bug#16108)
6117
6118 * bindings.el (visual-order-cursor-movement): Fix version.
6119
6120 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6121
6122 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
6123 Also match after beginning of line.
6124 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
6125 files. Thanks to Russell Sim. (Bug#15378)
6126
6127 2013-12-13 Juri Linkov <juri@jurta.org>
6128
6129 * simple.el <Keypad support>: Remove key bindings duplicated
6130 with bindings.el. (Bug#14397)
6131
6132 2013-12-13 Juri Linkov <juri@jurta.org>
6133
6134 * comint.el (comint-mode-map): Replace `delete-char' with
6135 `delete-forward-char'. (Bug#16109)
6136
6137 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6138
6139 * progmodes/python.el (python-indent-calculate-indentation):
6140 Fix de-denters cornercase. (Bug#15731)
6141
6142 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
6143
6144 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
6145 (advice--make): Pay attention to `depth'.
6146 (advice--make-1): Don't autoload commands eagerly.
6147 * emacs-lisp/elp.el (elp-instrument-function):
6148 * emacs-lisp/trace.el (trace-function-internal):
6149 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
6150
6151 * iswitchb.el (iswitchb-mode): Don't belittle ido.
6152
6153 2013-12-12 Eli Zaretskii <eliz@gnu.org>
6154
6155 * term/w32-win.el (w32-handle-dropped-file):
6156 * startup.el (normal-top-level):
6157 * net/browse-url.el (browse-url-file-url):
6158 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
6159 decode file names using 'utf-8' rather than
6160 file-name-coding-system.
6161
6162 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
6163
6164 * progmodes/python.el (python-indent-context)
6165 (python-indent-calculate-indentation): Fix auto-identation
6166 behavior for comment blocks. (Bug#15916)
6167
6168 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
6169
6170 * progmodes/python.el (python-indent-calculate-indentation):
6171 When determining indentation, don't treat "return", "pass", etc., as
6172 operators when they are just string constituents. (Bug#15812)
6173
6174 2013-12-12 Juri Linkov <juri@jurta.org>
6175
6176 * uniquify.el (uniquify-buffer-name-style): Change default to
6177 `post-forward-angle-brackets'.
6178
6179 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
6180 `uniquify'. Change default to `post-forward-angle-brackets'.
6181
6182 2013-12-11 Glenn Morris <rgm@gnu.org>
6183
6184 * emacs-lisp/package.el (finder-list-matches):
6185 Autoload rather than falsely declaring.
6186
6187 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
6188
6189 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
6190 (eww-mode-map): Use them.
6191
6192 2013-12-11 Martin Rudalics <rudalics@gmx.at>
6193
6194 * window.el (display-buffer-in-side-window): Fix doc-string
6195 (Bug#16115).
6196
6197 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
6198
6199 * vc/vc-git.el: Silence byte-compiler warnings.
6200 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
6201 (log-edit-set-header): Declare.
6202
6203 2013-12-11 Eli Zaretskii <eliz@gnu.org>
6204
6205 * Makefile.in (custom-deps, finder-data): Run output file names
6206 through unmsys--file-name. (Bug#16099)
6207
6208 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
6209
6210 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
6211 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
6212
6213 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
6214 instead of deleting the selection "by hand" (bug#16098).
6215 Rely on insert-for-yank to yank rectangles.
6216 (cua-highlight-region-shift-only): Mark obsolete.
6217 (cua-mode): Don't enable/disable transient-mark-mode,
6218 shift-select-mode (cua-mode works both with and without them), and
6219 pc-selection-mode (obsolete).
6220 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
6221 (cua--deactivate-rectangle): Deactivate it.
6222
6223 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
6224 (delete-selection-helper): Make sure yank starts at the top of the
6225 deleted region.
6226 (minibuffer-keyboard-quit): Use region-active-p.
6227
6228 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
6229
6230 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
6231 to `delete' (bug#16109).
6232
6233 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6234
6235 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
6236 info manual and show keybindings and set `:group' keyword.
6237
6238 2013-12-11 Juri Linkov <juri@jurta.org>
6239
6240 * delsel.el (delete-active-region): Let-bind `this-command'
6241 to prevent `kill-region' from changing its original value.
6242 (delete-selection-helper): Handle `overwrite-mode' for the type
6243 `kill' exactly the same way as for the type `t'.
6244 (insert-char, quoted-insert, reindent-then-newline-and-indent):
6245 Support more commands. (Bug#13312)
6246
6247 2013-12-11 Juri Linkov <juri@jurta.org>
6248
6249 * bindings.el: Map kp keys to non-kp keys systematically
6250 with basic modifiers control, meta and shift. (Bug#14397)
6251
6252 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6253
6254 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
6255 "Close browser" menu items. Fix wrong function of "List
6256 bookmarks".
6257
6258 2013-12-11 Juri Linkov <juri@jurta.org>
6259
6260 * misearch.el (multi-isearch-buffers): Set the value of
6261 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6262 arg of isearch-forward to t.
6263 (multi-isearch-buffers-regexp): Set the value of
6264 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
6265 arg of isearch-forward-regexp to t.
6266 (multi-isearch-files): Set the value of
6267 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6268 arg of isearch-forward to t.
6269 (multi-isearch-files-regexp): Set the value of
6270 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
6271 arg of isearch-forward-regexp to t. (Bug#16035)
6272
6273 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
6274 arg of isearch-forward to t.
6275 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
6276 arg of isearch-forward-regexp to t.
6277 (dired-isearch-filter-filenames): Remove unnecessary check for
6278 `dired-isearch-filenames'.
6279
6280 * comint.el (comint-history-isearch-backward):
6281 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
6282 (comint-history-isearch-backward-regexp):
6283 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
6284
6285 2013-12-10 Eli Zaretskii <eliz@gnu.org>
6286
6287 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
6288 unmsys--file-name. (Bug#16099)
6289
6290 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
6291
6292 * emacs-lisp/package.el (package-keyword-button-action):
6293 Remove finder.el require dependency.
6294
6295 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
6296
6297 * emacs-lisp/package.el: Require finder.el.
6298 (describe-package-1): Add keyword buttons.
6299 (package-make-button): New convenience function.
6300 (package-keyword-button-action): Keyword button action using
6301 `finder-list-matches'.
6302
6303 2013-12-09 Eli Zaretskii <eliz@gnu.org>
6304
6305 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
6306 last commit.
6307
6308 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
6309
6310 * autorevert.el (auto-revert-notify-add-watch): Do not handle
6311 symlinked files.
6312
6313 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6314
6315 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
6316 after the end of a percent literal.
6317
6318 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
6319
6320 * progmodes/ruby-mode.el (ruby-forward-string): Document.
6321 Handle caret-delimited strings (Bug#16079).
6322
6323 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
6324
6325 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
6326 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
6327 `ruby-parse-partial' (Bug#16078).
6328
6329 2013-12-09 Leo Liu <sdl.web@gmail.com>
6330
6331 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
6332
6333 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
6334
6335 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
6336 (js-switch-indent-offset): New option.
6337 (js--proper-indentation): Use it. And handle the case when
6338 "default" is actually a key in an object literal.
6339 (js--same-line): New function.
6340 (js--multi-line-declaration-indentation): Use it.
6341 (js--indent-in-array-comp, js--array-comp-indentation):
6342 New functions.
6343 (js--proper-indentation): Use them, to handle array comprehension
6344 continuations.
6345
6346 2013-12-08 Leo Liu <sdl.web@gmail.com>
6347
6348 * progmodes/flymake.el (flymake-highlight-line): Re-write.
6349 (flymake-make-overlay): Remove arg MOUSE-FACE.
6350 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
6351
6352 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6353
6354 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
6355 New function.
6356 (redisplay-highlight-region-function): Use it.
6357
6358 * emulation/cua-base.el (cua--explicit-region-start)
6359 (cua--last-region-shifted): Remove.
6360 (cua--deactivate): Use deactivate-mark.
6361 (cua--pre-command-handler-1): Don't handle shift-selection.
6362 (cua--post-command-handler-1): Don't change transient-mark-mode.
6363 (cua--select-keymaps): Use region-active-p rather than
6364 cua--explicit-region-start or cua--last-region-shifted.
6365 (cua-mode): Enable shift-select-mode.
6366
6367 2013-12-08 Leo Liu <sdl.web@gmail.com>
6368
6369 * progmodes/flymake.el (flymake-popup-current-error-menu):
6370 Rename from flymake-display-err-menu-for-current-line. Reimplement.
6371 (flymake-posn-at-point-as-event, flymake-popup-menu)
6372 (flymake-make-emacs-menu): Remove. (Bug#16077)
6373
6374 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
6375
6376 * rect.el (rectangle-mark-mode): Activate mark even if
6377 transient-mark-mode is off (bug#16066).
6378 (rectangle--highlight-for-redisplay): Fix boundary condition when point
6379 is > mark and at bolp.
6380
6381 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
6382 (region-extract-function): Use it.
6383 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
6384 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
6385 Delete functions.
6386 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
6387 kill-ring-save, kill-region, delete-char, delete-forward-char.
6388 Ignore self-insert-iso.
6389
6390 * emulation/cua-gmrk.el (cua--init-global-mark):
6391 Ignore `self-insert-iso'.
6392
6393 * emulation/cua-base.el (cua--prefix-copy-handler)
6394 (cua--prefix-cut-handler): Rely on region-extract-function rather than
6395 checking cua--rectangle.
6396 (cua-delete-region): Use region-extract-function.
6397 (cua-replace-region): Delete function.
6398 (cua-copy-region, cua-cut-region): Obey region-extract-function.
6399 (cua--pre-command-handler-1): Don't do the delete-selection thing.
6400 (cua--self-insert-char-p): Ignore `self-insert-iso'.
6401 (cua--init-keymaps): Don't remap delete-selection commands.
6402 (cua-mode): Use delete-selection-mode instead of rolling our own
6403 (bug#16085).
6404
6405 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
6406 Obey region-extract-function.
6407
6408 Make registers and delete-selection-mode work on rectangles.
6409 * register.el (describe-register-1): Don't modify the register's value.
6410 (copy-to-register): Obey region-extract-function.
6411 * delsel.el (delete-active-region): Obey region-extract-function.
6412
6413 2013-12-08 Leo Liu <sdl.web@gmail.com>
6414
6415 * progmodes/flymake.el (flymake, flymake-error-bitmap)
6416 (flymake-warning-bitmap, flymake-fringe-indicator-position)
6417 (flymake-compilation-prevents-syntax-check)
6418 (flymake-start-syntax-check-on-newline)
6419 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
6420 (flymake-start-syntax-check-on-find-file, flymake-log-level)
6421 (flymake-xml-program, flymake-master-file-dirs)
6422 (flymake-master-file-count-limit)
6423 (flymake-allowed-file-name-masks): Relocate.
6424 (flymake-makehash, flymake-float-time)
6425 (flymake-replace-regexp-in-string, flymake-split-string)
6426 (flymake-get-temp-dir): Remove.
6427 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
6428 (flymake-current-row, flymake-selected-frame)
6429 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
6430 related functions. (Bug#16077)
6431
6432 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
6433
6434 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
6435
6436 2013-12-07 Tassilo Horn <tsdh@gnu.org>
6437
6438 * help-fns.el (describe-function-1): Use new advice-* functions
6439 rather than old ad-* functions. Fix function type description and
6440 source links for advised functions and subrs.
6441
6442 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
6443
6444 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
6445
6446 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
6447
6448 * progmodes/compile.el (compilation-start):
6449 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
6450
6451 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
6452 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
6453
6454 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6455
6456 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
6457 Touch up the last change.
6458
6459 2013-12-06 Leo Liu <sdl.web@gmail.com>
6460
6461 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
6462 (inferior-octave-startup): Always use "octave> " for prompt.
6463 (octave-goto-function-definition)
6464 (octave-sync-function-file-names)
6465 (octave-find-definition-default-filename): Remove redundant backquotes.
6466
6467 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6468
6469 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
6470 syntax for `?'.
6471 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
6472 where appropriate already.
6473 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
6474 end of method names (Bug#15874).
6475
6476 2013-12-06 Juri Linkov <juri@jurta.org>
6477
6478 * isearch.el (isearch--saved-overriding-local-map):
6479 New internal variable.
6480 (isearch-mode): Set it to the initial value of
6481 `overriding-terminal-local-map'.
6482 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
6483 with `isearch--saved-overriding-local-map'. (Bug#16035)
6484
6485 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
6486
6487 * progmodes/octave.el (inferior-octave-completion-table):
6488 Turn back into function, use `completion-table-with-cache'
6489 (Bug#11906). Update all references.
6490
6491 * minibuffer.el (completion-table-with-cache): New function.
6492
6493 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
6494
6495 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
6496
6497 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
6498
6499 * net/eww.el (eww-current-source): New variable to store page
6500 source.
6501 (eww-display-html, eww-mode, eww-save-history)
6502 (eww-restore-history): Use it.
6503 (eww-view-source): New command to view page source.
6504 Opportunistically uses `html-mode' to highlight the buffer.
6505 (eww-mode-map): Install it.
6506
6507 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
6508
6509 * net/dbus.el (dbus-unregister-service)
6510 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
6511 Fix docstring.
6512 (dbus-unregister-service): Skip :serial entries in
6513 `dbus-registered-objects-table'.
6514 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
6515
6516 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
6517
6518 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
6519 around keywords with extra `split-string' argument.
6520
6521 2013-12-04 Martin Rudalics <rudalics@gmx.at>
6522
6523 * windmove.el (windmove-other-window-loc): Handle navigation
6524 between windows (excluding the minibuffer window - Bug#16017).
6525
6526 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
6527
6528 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
6529 in D-Bus type syntax.
6530 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
6531 preserve unibyte strings. (Bug#16048)
6532
6533 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
6534
6535 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
6536 Call force-mode-line-update is the proper buffer (bug#16042).
6537
6538 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
6539
6540 * vc/log-edit.el (log-edit-add-new-comment): Rename to
6541 `log-edit-remember-comment', make argument optional. Adjust all
6542 callers.
6543 (log-edit-mode): Add `log-edit-remember-comment' to
6544 `kill-buffer-hook' locally.
6545 (log-edit-kill-buffer): Don't remember comment explicitly since
6546 the buffer is killed anyway.
6547
6548 2013-12-04 Juri Linkov <juri@jurta.org>
6549
6550 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
6551 add-hook and remove-hook for multi-buffer search. (Bug#16035)
6552
6553 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
6554
6555 * notifications.el (notifications-close-notification): Call the
6556 D-Bus method with ID being a `:uint32'. (Bug#16030)
6557
6558 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
6559
6560 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
6561
6562 2013-12-03 Juri Linkov <juri@jurta.org>
6563
6564 * progmodes/compile.el (compilation-start): Rename window alist
6565 entry `no-display-ok' to `allow-no-window'.
6566
6567 * simple.el (shell-command): Add window alist entry
6568 `allow-no-window' to `display-buffer'.
6569 (async-shell-command): Doc fix.
6570
6571 * window.el (display-buffer-no-window): New action function.
6572 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
6573
6574 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6575
6576 * vc/log-edit.el (log-edit-set-header): Extract from
6577 `log-edit-toggle-header'.
6578 (log-edit-extract-headers): Separate the summary, when extracted
6579 from header, from the rest of the message with an empty line.
6580
6581 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
6582 line, if present, to the Summary header.
6583
6584 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
6585
6586 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
6587 in current-buffer (bug#16029).
6588
6589 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
6590
6591 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
6592 (debugger-mode-map): Bind it.
6593 (debugger--backtrace-base): New function.
6594 (debugger-eval-expression): Use it.
6595 (debugger-frame-number): Skip local vars when present.
6596 (debugger--locals-visible-p, debugger--insert-locals)
6597 (debugger--show-locals, debugger--hide-locals): New functions.
6598
6599 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
6600
6601 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
6602 "LC_ALL".
6603 (tramp-get-remote-locale): New defun.
6604 (tramp-open-connection-setup-interactive-shell): Use it.
6605
6606 2013-12-02 Leo Liu <sdl.web@gmail.com>
6607
6608 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
6609
6610 * progmodes/sh-script.el (sh-shell-process):
6611 * progmodes/octave.el (inferior-octave-process-live-p):
6612 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
6613 (gdb-inferior-io-sentinel):
6614 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
6615
6616 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6617
6618 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
6619 `save-selected-window' to `log-edit-hide-buf'. This makes
6620 `log-edit-show-files' idempotent.
6621 (log-edit-show-files): Mark the new window as dedicated.
6622
6623 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
6624
6625 * vc/log-edit.el (log-edit-mode-map): Add binding for
6626 `log-edit-kill-biffer'.
6627 (log-edit-hide-buf): Add a FIXME comment.
6628 (log-edit-add-new-comment): New function, extracted from
6629 `log-edit-done'.
6630 (log-edit-done, log-edit-add-to-changelog): Use it.
6631 (log-edit-kill-buffer): New command.
6632
6633 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6634
6635 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
6636 instead of killing the buffer.
6637
6638 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
6639
6640 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
6641
6642 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6643
6644 * net/eww.el (eww-form-checkbox-selected-symbol)
6645 (eww-form-checkbox-symbol): New customizable variable.
6646 (eww-form-checkbox, eww-toggle-checkbox):
6647 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
6648
6649 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
6650 (shr--get-media-pref, shr--extract-best-source): New function.
6651 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
6652 no :src tag was specified.
6653
6654 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
6655 (eww-render): Handle `eww-use-external-browser-for-content-type'.
6656 Use \\` to match beginning of string instead of ^.
6657 (eww-browse-with-external-browser): Provide optional URL parameter.
6658 (eww-render): Set `eww-current-title' back to "".
6659
6660 * net/shr.el (shr-tag-video): Display content for video if no
6661 poster is available.
6662 (shr-tag-audio): Add support for <audio> tag.
6663
6664 * net/eww.el (eww-text-input-types): New const.
6665 (eww-process-text-input): Treat input types in
6666 `eww-text-input-types' as text.
6667
6668 * net/shr.el (shr-tag-table): Fix comment typo.
6669
6670 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6671
6672 * net/eww.el (eww-follow-link): New command to avoid reloading
6673 pages when we follow #target links (bug#15243).
6674 (eww-quit): Special mode buffers shouldn't query before exiting.
6675
6676 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
6677
6678 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
6679 forms.
6680
6681 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
6682
6683 * net/eww.el (eww-restore-history): Update the window title after
6684 moving in the history.
6685 (eww-current-dom): New variable used to save the current DOM.
6686
6687 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
6688
6689 * vc/log-edit.el (log-edit-mode-map): Add binding for
6690 `log-edit-beginning-of-line'.
6691 (log-edit-setup-add-author): New user option.
6692 (log-edit-beginning-of-line): New command.
6693 (log-edit): Move major mode call above the contents setup so that
6694 the local variable values are already applied.
6695 (log-edit): Only insert "Author: " when
6696 `log-edit-setup-add-author' is non-nil.
6697 (log-edit): When SETUP is non-nil, position point after ": "
6698 instead of point-min.
6699
6700 2013-12-01 Glenn Morris <rgm@gnu.org>
6701
6702 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
6703
6704 2013-11-30 Eli Zaretskii <eliz@gnu.org>
6705
6706 * startup.el (fancy-splash-frame): On MS-Windows, trigger
6707 redisplay to make sure the initial frame gets a chance to become
6708 visible. (Bug#16014)
6709
6710 2013-11-30 Martin Rudalics <rudalics@gmx.at>
6711
6712 Support resizing frames and windows pixelwise.
6713 * cus-start.el (frame-resize-pixelwise)
6714 (window-resize-pixelwise): New entries.
6715 * emacs-lisp/debug.el (debug): Use window-total-height instead
6716 of window-total-size.
6717 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
6718 * help.el (describe-bindings-internal): Use help-buffer as
6719 argument for with-help-window.
6720 (temp-buffer-max-width): New option.
6721 (resize-temp-buffer-window, help-window-setup)
6722 (with-help-window): Rewrite.
6723 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
6724 dragging dividers.
6725 * window.el (frame-char-size, window-min-pixel-height)
6726 (window-safe-min-pixel-height, window-safe-min-pixel-width)
6727 (window-min-pixel-width, window-safe-min-pixel-size)
6728 (window-combination-p, window-safe-min-size)
6729 (window-resizable-p, window--size-to-pixel)
6730 (window--pixel-to-size, window--resize-apply-p): New functions.
6731 (window-safe-min-height): Fix doc-string.
6732 (window-size, window-min-size, window--min-size-1)
6733 (window-sizable, window-sizable-p, window--min-delta-1)
6734 (window-min-delta, window--max-delta-1, window-max-delta)
6735 (window--resizable, window--resizable-p, window-resizable)
6736 (window-full-height-p, window-full-width-p, window-at-side-p)
6737 (window--in-direction-2, window-in-direction)
6738 (window--resize-reset-1, window--resize-mini-window)
6739 (window-resize, window-resize-no-error)
6740 (window--resize-child-windows-normal)
6741 (window--resize-child-windows, window--resize-siblings)
6742 (window--resize-this-window, window--resize-root-window)
6743 (window--resize-root-window-vertically)
6744 (adjust-window-trailing-edge, enlarge-window, shrink-window)
6745 (maximize-window, minimize-window, delete-window)
6746 (quit-restore-window, window-split-min-size, split-window)
6747 (balance-windows-2, balance-windows)
6748 (balance-windows-area-adjust, balance-windows-area)
6749 (window--state-get-1, window-state-get, window--state-put-1)
6750 (window--state-put-2, window-state-put)
6751 (display-buffer-record-window, window--display-buffer):
6752 Make functions handle pixelwise sizing of windows.
6753 (display-buffer--action-function-custom-type)
6754 (display-buffer-fallback-action):
6755 Add display-buffer-in-previous-window.
6756 (display-buffer-use-some-window): Resize window to height it had
6757 before.
6758 (fit-window-to-buffer-horizontally): New option.
6759 (fit-frame-to-buffer): Describe new values.
6760 (fit-frame-to-buffer-bottom-margin): Replace with
6761 fit-frame-to-buffer-margins.
6762 (window--sanitize-margin): New function.
6763 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
6764 using window-text-pixel-size.
6765
6766 2013-11-30 Glenn Morris <rgm@gnu.org>
6767
6768 * emacs-lisp/bytecomp.el (byte-compile-form):
6769 Make the `interactive-only' warning like the `obsolete' one.
6770 * comint.el (comint-run):
6771 * files.el (insert-file-literally, insert-file):
6772 * replace.el (replace-string, replace-regexp):
6773 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
6774 (goto-line, insert-buffer, next-line, previous-line):
6775 Tweak `interactive-only' spec.
6776
6777 Stop keeping (most) generated cedet grammar files in the repository.
6778 * Makefile.in (semantic): New.
6779 (compile-main): Depend on semantic.
6780
6781 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6782
6783 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
6784 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
6785
6786 * uniquify.el (uniquify-buffer-name-style): Change default.
6787
6788 * loadup.el: Preload "uniquify".
6789
6790 * time.el (display-time-update): Update all mode lines (bug#15999).
6791
6792 * electric.el (electric-indent-mode): Enable by default.
6793 * loadup.el: Preload "electric".
6794
6795 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
6796
6797 * emacs-lisp/helpers.el (string-empty-p): New function.
6798 (string-blank-p): New function.
6799
6800 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
6801
6802 * imenu.el (imenu--index-alist): Add missing dot to the docstring
6803 (Bug#14029).
6804
6805 2013-11-29 Andreas Politz <politza@fh-trier.de>
6806 * imenu.el (imenu--subalist-p): Don't error on non-conses and
6807 allow non-lambda lists as functions.
6808 (imenu--in-alist): Don't recurse into non-subalists.
6809 (imenu): Don't pass function itself as an argument (Bug#14029).
6810
6811 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
6812
6813 * progmodes/python.el (python-mode-map): Remove binding for ":".
6814 (python-indent-electric-colon): Remove command.
6815 (python-indent-post-self-insert-function): Integrate the previous code
6816 of python-indent-electric-colon. Make it conditional on
6817 electric-indent-mode.
6818 (python-mode): Add ?: to electric-indent-chars.
6819 Move python-indent-post-self-insert-function to the end of
6820 post-self-insert-hook.
6821
6822 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
6823
6824 * doc-view.el (doc-view-goto-page): Update mode-line.
6825
6826 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
6827
6828 2013-11-27 Glenn Morris <rgm@gnu.org>
6829
6830 * international/charprop.el, international/uni-bidi.el:
6831 * international/uni-category.el, international/uni-combining.el:
6832 * international/uni-comment.el, international/uni-decimal.el:
6833 * international/uni-decomposition.el, international/uni-digit.el:
6834 * international/uni-lowercase.el, international/uni-mirrored.el:
6835 * international/uni-name.el, international/uni-numeric.el:
6836 * international/uni-old-name.el, international/uni-titlecase.el:
6837 * international/uni-uppercase.el:
6838 Remove generated files from VCS repository.
6839
6840 2013-11-27 Eli Zaretskii <eliz@gnu.org>
6841
6842 * filenotify.el (file-notify-add-watch): Don't special-case
6843 w32notify when computing the directory to watch.
6844
6845 2013-11-27 Glenn Morris <rgm@gnu.org>
6846
6847 Make bootstrap without generated uni-*.el files possible again.
6848 * loadup.el: Update command-line-args checking for unidata-gen.
6849 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
6850 * composite.el, international/characters.el:
6851 Handle unicode tables being undefined.
6852
6853 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
6854 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
6855 (compile-main): Depend on leim rule.
6856 (leim): New rule.
6857 * loadup.el: Move leim-list.el to leim/ subdirectory.
6858 * startup.el (normal-top-level): No more leim directory.
6859 * international/ja-dic-cnv.el (skkdic-convert):
6860 Disable version-control and autoloads in output files.
6861 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
6862 Disable version-control and autoloads in output files.
6863 * leim/quail: Move here from ../leim.
6864 * leim/quail/hangul.el (hangul-input-method-activate):
6865 Add autoload cookie.
6866 (generated-autoload-load-name): Set file-local value.
6867 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
6868 (generated-autoload-load-name): Set file-local value.
6869
6870 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
6871
6872 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
6873 (eww-add-bookmark): Ask confirmation when add to bookmarks.
6874 (eww-quit): Ask confirmation before quitting eww.
6875
6876 2013-11-26 Eli Zaretskii <eliz@gnu.org>
6877
6878 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
6879 reading output from Diff on MS-Windows and MS-DOS.
6880
6881 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
6882
6883 * emacs-lisp/helpers.el (string-reverse): New function.
6884
6885 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
6886
6887 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
6888 names on MS Windows, like "/[::1]:".
6889
6890 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
6891 SWITCHES.
6892
6893 2013-11-26 Glenn Morris <rgm@gnu.org>
6894
6895 * progmodes/python.el (python-indent-guess-indent-offset):
6896 Avoid corner-case error. (Bug#15975)
6897
6898 Preload leim-list.el. (Bug#4789)
6899 * loadup.el: Load leim-list.el when found.
6900 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
6901
6902 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
6903
6904 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
6905
6906 * emacs-lisp/helpers.el (string-join): New function.
6907
6908 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
6909
6910 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6911 Mark as obsolete and replace it with a symbol property.
6912 (byte-compile-form): Use new 'interactive-only property.
6913 * comint.el, files.el, replace.el, simple.el:
6914 Apply new 'interactive-only properly.
6915
6916 2013-11-25 Martin Rudalics <rudalics@gmx.at>
6917
6918 * window.el (display-buffer-at-bottom): Make sure that
6919 split-window-sensibly creates the new window on bottom
6920 (Bug#15961).
6921
6922 2013-11-23 David Kastrup <dak@gnu.org>
6923
6924 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
6925 on the conflict markers when available.
6926 (smerge--get-marker): New function.
6927 (smerge-end-re, smerge-base-re): Add subgroup.
6928
6929 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6930
6931 * frame.el (handle-focus-in, handle-focus-out): Add missing
6932 interactive spec.
6933
6934 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
6935
6936 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
6937 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
6938
6939 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
6940
6941 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
6942 (gomoku--last-pos): New var.
6943 (gomoku--intangible-chars): New const.
6944 (gomoku--intangible): New function.
6945 (gomoku-mode): Use it. Derive from special-mode.
6946 (gomoku-move-up): Adjust line count.
6947 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
6948 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
6949 Simplify accordingly.
6950
6951 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
6952 Remove blink-cursor code.
6953 (blink-cursor-timer-function, blink-cursor-suspend):
6954 Don't special-case GUIs.
6955 (blink-cursor-mode): Use focus-in/out-hook.
6956
6957 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
6958
6959 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
6960 work when annotation is invisible (Bug#13886).
6961
6962 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
6963
6964 * json.el (json-alist-p): Only return non-nil if the alist has
6965 simple keys (Bug#13518).
6966
6967 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
6968
6969 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
6970 when control-statement is the first statement in a buffer (Bug#15956).
6971
6972 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
6973
6974 * imenu.el (imenu-generic-skip-comments-and-strings):
6975 New option (Bug#15560).
6976 (imenu--generic-function): Use it.
6977
6978 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
6979
6980 * minibuffer.el (completion--in-region-1): Scroll the correct window.
6981 (Bug#13898)
6982
6983 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
6984
6985 * emacs-lisp/helpers.el: Add some string helpers.
6986 (string-trim-left): Removes leading whitespace.
6987 (string-trim-right): Removes trailing whitespace.
6988 (string-trim): Removes leading and trailing whitespace.
6989
6990 * subr.el (string-suffix-p): New function.
6991
6992 2013-11-23 Glenn Morris <rgm@gnu.org>
6993
6994 * progmodes/python.el (python-shell-send-file):
6995 Add option to delete file when done. (Bug#15647)
6996 (python-shell-send-string, python-shell-send-region): Use it.
6997
6998 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
6999
7000 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
7001 to set buffer-read-only to t, never to nil. (Bug#15938)
7002
7003 * textmodes/tex-mode.el (latex-noindent-environments):
7004 Add safe-local-variable property. (Bug#15936)
7005
7006 2013-11-23 Glenn Morris <rgm@gnu.org>
7007
7008 * textmodes/enriched.el (enriched-mode): Doc fix.
7009 * emacs-lisp/authors.el (authors-renamed-files-alist):
7010 Add enriched.doc -> enriched.txt.
7011
7012 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
7013
7014 2013-11-22 Leo Liu <sdl.web@gmail.com>
7015
7016 * progmodes/octave.el (inferior-octave-startup): Spit out error
7017 message.
7018
7019 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
7020
7021 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7022 Improve docstring.
7023 Add :version.
7024 (ruby-encoding-magic-comment-style): Add :version.
7025
7026 2013-11-22 Leo Liu <sdl.web@gmail.com>
7027
7028 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
7029 (Bug#15076)
7030 (octave-help-mode): Adapt to change to help-mode-finish to use
7031 derived-mode-p on 2013-09-17.
7032 (inferior-octave-prompt): Also match octave-gui.
7033 (octave-kill-process): Don't ask twice. (Bug#10564)
7034
7035 2013-11-22 Leo Liu <sdl.web@gmail.com>
7036
7037 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
7038 (inferior-octave-startup, inferior-octave-check-process)
7039 (inferior-octave-track-window-width-change)
7040 (octave-completion-at-point, octave-eldoc-function): Use it.
7041 (octave-kill-process): Provide confirmation. (Bug#10564)
7042
7043 2013-11-21 Leo Liu <sdl.web@gmail.com>
7044
7045 * progmodes/octave.el (octave-mode, inferior-octave-mode):
7046 Fix obsolete variable comment-use-global-state.
7047
7048 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7049
7050 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
7051 Add `octave-source-file'.
7052 (octave-source-file): New function. (Bug#15935)
7053
7054 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
7055
7056 * net/eww.el (eww-local-regex): New variable.
7057 (eww): Use it to detect localhost and similar.
7058
7059 2013-11-21 Leo Liu <sdl.web@gmail.com>
7060
7061 Add completion for command `ag'.
7062 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
7063 (pcomplete/ag): New function.
7064 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
7065
7066 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
7067
7068 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
7069 (bug#14646).
7070 (make-obsolete): Remove interactive spec.
7071
7072 2013-11-21 Glenn Morris <rgm@gnu.org>
7073
7074 * startup.el (command-line-1): Use path-separator with -L.
7075
7076 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
7077
7078 * emacs-lisp/package.el (describe-package-1): Add package archive
7079 to shown fields.
7080
7081 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
7082
7083 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
7084 Change default to "# encoding: %s" to differentiate it from the
7085 default Ruby encoding comment template.
7086
7087 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
7088
7089 * ses.el (ses-mode): Doc fix. (Bug#14748)
7090
7091 2013-11-20 Leo Liu <sdl.web@gmail.com>
7092
7093 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
7094
7095 2013-11-19 Dan Nicolaescu <dann@gnu.org>
7096
7097 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
7098 when rebase or bisect are in progress.
7099
7100 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
7101
7102 * filenotify.el (file-notify-add-watch): Doc fix.
7103
7104 2013-11-19 Leo Liu <sdl.web@gmail.com>
7105
7106 * obsolete/rcompile.el: Mark obsolete.
7107
7108 * progmodes/compile.el (compilation-start)
7109 (compilation-goto-locus, compilation-find-file):
7110 Pass no-display-ok and handle nil value from display-buffer.
7111 (Bug#13594)
7112
7113 * window.el (display-buffer-alist, display-buffer): Document the
7114 new parameter no-display-ok. Return either a window or nil
7115 but never a non-window value.
7116
7117 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
7118
7119 * electric.el (electric-indent-mode-map): Remove.
7120 (electric-indent-mode): Change the global-map instead (bug#15915).
7121
7122 * textmodes/text-mode.el (paragraph-indent-minor-mode):
7123 Use add-function.
7124
7125 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
7126
7127 * emacs-lisp/nadvice.el (remove-function): Align with
7128 add-function's behavior.
7129
7130 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
7131 (gdb--string-regexp): New constant.
7132 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
7133 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
7134 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
7135 submatch 1.
7136 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
7137 Adjust use accordingly.
7138 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
7139
7140 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
7141
7142 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
7143 interpolation curlies (Bug#15914).
7144
7145 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
7146
7147 * calc/calc.el (calc-context-sensitive-enter): New variable.
7148 (calc-enter): Use `calc-context-sensitive-enter'.
7149
7150 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
7151
7152 * progmodes/cfengine.el: Version bump.
7153 (cfengine-cf-promises): New defcustom to locate cf-promises.
7154 (cfengine3-vartypes): Add new "data" type.
7155 (cfengine3--current-word): New function to get current name-like
7156 word or its bounds.
7157 (cfengine3--current-function): New function to look up a CFEngine
7158 function's definition.
7159 (cfengine3-format-function-docstring): New function.
7160 (cfengine3-make-syntax-cache): New function.
7161 (cfengine3-documentation-function): New function: ElDoc glue.
7162 (cfengine3-completion-function): New function: completion glue.
7163 (cfengine3-mode): Set `compile-command',
7164 `eldoc-documentation-function', and add to
7165 `completion-at-point-functions'.
7166
7167 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
7168
7169 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
7170 `tramp-current-connection'.
7171
7172 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
7173
7174 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
7175 nil/self/true/false with "end of symbol".
7176
7177 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
7178
7179 * subr.el (version-regexp-alist): Fix a typo.
7180
7181 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
7182
7183 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
7184 "en_US.utf8" and "LC_CTYPE" to "".
7185 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
7186 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
7187
7188 2013-11-15 Leo Liu <sdl.web@gmail.com>
7189
7190 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
7191
7192 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7193
7194 * progmodes/gud.el (ctl-x-map):
7195 Remove C-x SPC binding. (Bug#12342)
7196 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
7197
7198 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
7199
7200 * subr.el (version-regexp-alist):
7201 Recognize hg, svn and darcs versions as snapshot versions.
7202
7203 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
7204 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
7205 (ruby--encoding-comment-required-p): Extract from
7206 `ruby-mode-set-encoding'.
7207 (ruby-mode-set-encoding): Add the ability to always insert an
7208 utf-8 encoding comment. Fix and simplify coding comment update
7209 logic.
7210
7211 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
7212
7213 * net/tramp-gvfs.el (top): Run init code only when
7214 `tramp-gvfs-enabled' is not nil.
7215 (tramp-gvfs-enabled): Check also :system bus.
7216
7217 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7218
7219 Sync with upstream verilog-mode revision 78e66ba.
7220 * progmodes/verilog-mode.el (verilog-end-of-defun)
7221 (verilog-type-completion, verilog-get-list): Remove unused funcs.
7222 (verilog-get-end-of-defun): Remove unused argument.
7223 (verilog-comment-depth): Remove unused local `e'.
7224 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
7225 Don't pass arg to verilog-get-end-of-defun.
7226
7227 2013-11-14 Glenn Morris <rgm@gnu.org>
7228
7229 * obsolete/assoc.el (aget): Prefix dynamic variable.
7230
7231 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
7232
7233 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
7234
7235 * widget.el, hfy-cmap.el: Remove bogus package version number.
7236
7237 2013-11-13 Glenn Morris <rgm@gnu.org>
7238
7239 * replace.el (replace-eval-replacement):
7240 Try to give more helpful error message. (Bug#15836)
7241
7242 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7243 (archive-7z-update): Avoid custom type mismatches.
7244
7245 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
7246
7247 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
7248
7249 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
7250 address can be empty.
7251
7252 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
7253 Accept nil SWITCHES.
7254 (tramp-gvfs-handle-write-region): Implement APPEND.
7255
7256 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
7257
7258 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
7259 binary "|" operator and closing block args delimiter.
7260 Remove FIXME comment referring to Ruby 1.8-only syntax.
7261 (ruby-smie--implicit-semi-p): Not after "|" operator.
7262 (ruby-smie--closing-pipe-p): New function.
7263 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
7264 (ruby-smie-rules): Indent after "|".
7265
7266 2013-11-12 Glenn Morris <rgm@gnu.org>
7267
7268 * ps-print.el (ps-face-attribute-list):
7269 Handle anonymous faces. (Bug#15827)
7270
7271 2013-11-12 Martin Rudalics <rudalics@gmx.at>
7272
7273 * window.el (display-buffer-other-frame): Fix doc-string.
7274 (Bug#15868)
7275
7276 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7277
7278 * subr.el (force-mode-line-update): Delete, move to buffer.c.
7279
7280 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
7281
7282 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
7283 (tramp-sh-handle-file-local-copy): Don't write a message when
7284 saving temporary files.
7285
7286 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
7287 both directories are remote.
7288 (tramp-smb-handle-directory-files): Do not return double entries.
7289 Do not expand full file names.
7290 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
7291 (tramp-smb-handle-write-region): Implement APPEND.
7292 (tramp-smb-get-stat-capability): Fix a stupid bug.
7293
7294 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7295
7296 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
7297
7298 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7299
7300 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
7301 throwing error over malformed let/let* (bug#15814).
7302
7303 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
7304
7305 * iswitchb.el (iswitchb-mode): Mark obsolete.
7306
7307 2013-11-11 Glenn Morris <rgm@gnu.org>
7308
7309 * international/uni-bidi.el, international/uni-category.el:
7310 * international/uni-name.el, international/uni-numeric.el:
7311 Regenerate for Unicode 6.3.0.
7312
7313 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
7314
7315 * net/tramp.el (tramp-methods):
7316 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
7317 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
7318
7319 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
7320
7321 * progmodes/sh-script.el (sh-font-lock-keywords-var):
7322 Force highlighting text after Summary keyword in doc face for rpm.
7323
7324 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
7325
7326 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
7327 available and the word has no wildcards, append one to the grep pattern.
7328 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
7329 (ispell-complete-word): Call `ispell-lookup-words' with the value
7330 independent of `ispell-look-p'.
7331
7332 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7333
7334 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
7335 Not after "||".
7336 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
7337 their parent.
7338
7339 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7340
7341 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
7342 (ruby-font-lock-keywords): Use backquote.
7343
7344 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7345
7346 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7347 (ruby-smie--backward-token): Only consider full-string matches.
7348
7349 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
7350
7351 * faces.el (describe-face): Add distant-foreground.
7352
7353 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
7354
7355 * progmodes/ruby-mode.el: Improve encoding comment handling.
7356 (ruby-encoding-magic-comment-style): New option.
7357 (ruby-custom-encoding-magic-comment-template): New option.
7358 (ruby--insert-coding-comment, ruby--detect-encoding):
7359 New functions extracted from `ruby-mode-set-encoding'.
7360 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
7361 to control the style of the auto-inserted encoding comment.
7362
7363 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7364
7365 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
7366 Use `smie-backward-sexp' with token argument.
7367
7368 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
7369
7370 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7371 Remove instrumentation code.
7372
7373 2013-11-08 Glenn Morris <rgm@gnu.org>
7374
7375 * progmodes/autoconf.el (autoconf-mode):
7376 Tweak comment-start-skip. (Bug#15822)
7377
7378 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
7379
7380 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
7381 at bobp (bug#15826).
7382 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
7383
7384 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
7385
7386 * man.el (Man-start-calling): New macro, extracted from
7387 Man-getpage-in-background.
7388 (Man-getpage-in-background): Use it.
7389 (Man-update-manpage): New command.
7390 (Man-mode-map): Bind it.
7391
7392 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
7393
7394 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
7395 of "and", "or", "&&" and "||".
7396 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
7397 argument. Prohibit opening curly brace because it could only be a
7398 block opener in that position.
7399 (ruby-smie--forward-token, ruby-smie--backward-token):
7400 Separate "|" from "&" or "*" going after it. That can happen in block
7401 arguments.
7402 (ruby-smie--indent-to-stmt): New function, seeks the end of
7403 previous statement or beginning of buffer.
7404 (ruby-smie-rules): Use it.
7405 (ruby-smie-rules): Check if there's a ":" before a curly block
7406 opener candidate; if there is, it's a hash.
7407
7408 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
7409
7410 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
7411 (cl--block-wrapper): Fix last accidental change.
7412
7413 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
7414
7415 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
7416 Instrument, in order to hunt failure on hydra.
7417
7418 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7419
7420 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
7421 malformed bindings form (bug#15814).
7422
7423 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
7424
7425 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
7426 "." compared to " @ ". This incidentally fixes some indentation
7427 examples with "do".
7428 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
7429 (ruby-smie-grammar): New tokens: "and" and "or".
7430 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
7431 Exclude "and" and "or". Remove "do" in order to work around token
7432 priorities.
7433 (ruby-smie-rules): Add all infix tokens. Handle the case of
7434 beginning-of-buffer.
7435
7436 2013-11-06 Glenn Morris <rgm@gnu.org>
7437
7438 * Makefile.in (setwins_almost, setwins_for_subdirs):
7439 Avoid accidental matches.
7440
7441 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7442
7443 * menu-bar.el (popup-menu): Use key-binding.
7444
7445 2013-11-06 Eli Zaretskii <eliz@gnu.org>
7446
7447 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
7448 menus, support also the menus produced by minor modes.
7449 (Bug#15817)
7450
7451 2013-11-06 Leo Liu <sdl.web@gmail.com>
7452
7453 * thingatpt.el (thing-at-point-looking-at): Add optional arg
7454 DISTANCE to bound the search. All uses changed. (Bug#15808)
7455
7456 2013-11-06 Glenn Morris <rgm@gnu.org>
7457
7458 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
7459 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
7460 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
7461
7462 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
7463
7464 * electric.el (electric-indent-just-newline): New command.
7465 (electric-indent-mode-map): New keymap.
7466 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
7467 Re-add :group which weren't redundant.
7468
7469 * electric.el (electric-indent-local-mode): New minor mode.
7470 (electric-indent-functions-without-reindent): New var.
7471 (electric-indent-post-self-insert-function): Use it.
7472 * emacs-lisp/gv.el (buffer-local-value): Add setter.
7473
7474 2013-11-05 Eli Zaretskii <eliz@gnu.org>
7475
7476 * international/quail.el (quail-help): Be more explicit about the
7477 meaning of the labels shown on the keys. (Bug#15800)
7478
7479 * startup.el (normal-top-level): Load the subdirs.el files before
7480 setting the locale environment. (Bug#15805)
7481
7482 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
7483
7484 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
7485 via arguments so as to get the right ones (bug#15418).
7486
7487 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
7488
7489 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
7490
7491 Fix problems found while writing a test suite.
7492
7493 * net/tramp-compat.el (tramp-compat-load): New defun.
7494 * net/tramp.el (tramp-handle-load): Use it.
7495
7496 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
7497 "(numberp ok-if-already-exists)" correctly.
7498
7499 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
7500
7501 * international/characters.el (glyphless-char-display-control):
7502 Add usage note.
7503
7504 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
7505
7506 * progmodes/python.el (python-mode):
7507 * progmodes/scheme.el (scheme-mode):
7508 * progmodes/prolog.el (prolog-mode):
7509 * progmodes/ruby-mode.el (ruby-mode):
7510 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
7511 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
7512
7513 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7514
7515 * rect.el (rectangle--highlight-for-redisplay):
7516 * emacs-lisp/smie.el (smie--next-indent-change):
7517 Use buffer-chars-modified-tick.
7518
7519 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
7520
7521 * electric.el (electric-indent-post-self-insert-function):
7522 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
7523
7524 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
7525
7526 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
7527
7528 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7529
7530 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
7531 (bug#15786).
7532
7533 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7534
7535 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
7536
7537 * progmodes/python.el: Fix up last change.
7538 (python-shell--save-temp-file): New function.
7539 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
7540 `string' comes from the current buffer.
7541 (python-shell-send-string-no-output): Remove `msg' arg.
7542 (python--use-fake-loc): New var.
7543 (python-shell-buffer-substring): Obey it. Try to compensate for the
7544 extra coding line added by python-shell--save-temp-file.
7545 (python-shell-send-region): Use python-shell--save-temp-file and
7546 python-shell-send-file directly. Add `nomain' argument.
7547 (python-shell-send-buffer): Use python-shell-send-region.
7548 (python-electric-pair-string-delimiter): New function.
7549 (python-mode): Use it.
7550
7551 2013-11-04 Eli Zaretskii <eliz@gnu.org>
7552
7553 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
7554 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
7555 environment and decoding all of the default-directory's to here
7556 from command-line.
7557 (command-line): Decode also argv[0].
7558
7559 * loadup.el: Error out if default-directory is a multibyte string
7560 when we are dumping.
7561
7562 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
7563
7564 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
7565
7566 * emacs-lisp/package.el (package-menu-mode)
7567 (package-menu--print-info, package-menu--archive-predicate):
7568 Add Archive column to package list.
7569
7570 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
7571
7572 Fix problems found while writing a test suite.
7573
7574 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
7575 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
7576 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
7577 to nil when running original file name handler. Otherwise,
7578 there are problems with constructs like "$$FOO".
7579
7580 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
7581 for `localname'.
7582
7583 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
7584
7585 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
7586
7587 * subr.el (version<, version<=, version=):
7588 Update docstrings with information for snapshot versions.
7589
7590 * helpers.el: New library for misc helper functions.
7591 (hash-table-keys): New function returning a list of hash keys.
7592 (hash-table-values): New function returning a list of hash values.
7593
7594 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
7595
7596 * progmodes/ruby-mode.el (ruby-smie--forward-token)
7597 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
7598
7599 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
7600
7601 * textmodes/fill.el (fill-single-char-nobreak-p): New function
7602 checking whether point is after a 1-letter word.
7603
7604 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7605
7606 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
7607 Don't infloop when expanding region over `multiline' syntax-type that
7608 begins a line (bug#15778).
7609
7610 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
7611
7612 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
7613 Make it into a proper minor mode.
7614 (rectangle--region): (Implicitly) rename to rectangle-mark-mode.
7615 (rectangle-mark-mode-map): New keymap.
7616 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
7617
7618 2013-11-04 Glenn Morris <rgm@gnu.org>
7619
7620 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
7621
7622 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
7623
7624 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
7625 (ruby-smie-rules): Use smie-rule-parent instead.
7626
7627 * emacs-lisp/smie.el (smie-rule-parent): Always call
7628 smie-indent-virtual rather than only for hanging tokens.
7629 (smie--next-indent-change): New helper command.
7630
7631 2013-11-03 Glenn Morris <rgm@gnu.org>
7632
7633 * Makefile.in (abs_srcdir): Remove.
7634 (emacs): Unset EMACSLOADPATH.
7635
7636 2013-11-02 Glenn Morris <rgm@gnu.org>
7637
7638 * Makefile.in (EMACS): Use a relative filename.
7639 (abs_top_builddir): Remove.
7640 (custom-deps, finder-data, autoloads): Use --chdir.
7641
7642 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
7643
7644 Use relative filenames in TAGS files.
7645 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7646 (lisptagsfiles4, TAGS): Use relative file names.
7647 (TAGS-LISP): Remove.
7648 (maintainer-clean): No more TAGS-LISP file.
7649
7650 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
7651 (lisptagsfiles4): Use absolute filenames again.
7652 (TAGS, TAGS-LISP): Not everything needs to run in one line.
7653 Remove all *loaddefs files, not just the first. Remove esh-groups.
7654 (maintainer-clean): Delete TAGS, TAGS-LISP.
7655
7656 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7657
7658 * emacs-lisp/package.el (package-version-join):
7659 Recognize snapshot versions.
7660
7661 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7662
7663 * subr.el (version-regexp-alist): Add support for snapshot versions.
7664
7665 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7666
7667 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
7668 New function, replacement for `smie-rule-parent' for when we want to
7669 skip over our direct parent if it's an assignment token..
7670 (ruby-smie-rules): Use it.
7671
7672 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
7673
7674 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
7675 unconditionally. Remove now unnecessary forward declarations.
7676 Remove XEmacs-specific setup.
7677 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
7678 (ruby-font-lock-syntactic-keywords)
7679 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
7680 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
7681 (ruby-here-doc-end-syntax): Remove.
7682 (ruby-mode): Don't check whether `syntax-propertize-rules' is
7683 defined as function.
7684
7685 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
7686
7687 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
7688
7689 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7690
7691 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
7692 table and abbrev table, `define-derived-mode' does that for us
7693 anyway.
7694
7695 2013-11-01 Glenn Morris <rgm@gnu.org>
7696
7697 * Makefile.in: Remove manual mh-e dependencies (writing .elc
7698 files is atomic for some time, so no parallel compilation issues).
7699
7700 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
7701
7702 * faces.el (face-x-resources): Add :distant-foreground.
7703 (region): Use :distant-foreground for gtk and ns.
7704
7705 2013-11-01 Tassilo Horn <tsdh@gnu.org>
7706
7707 Allow multiple bibliographies when BibLaTeX is used rather than
7708 BibTeX.
7709 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
7710 (reftex-locate-bibliography-files): Us it.
7711
7712 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
7713
7714 * image.el (image-type-header-regexps): Fix the 'pbm' part to
7715 allow comments in pbm files.
7716
7717 * term/w32-win.el (dynamic-library-alist): Support newer versions
7718 of libjpeg starting with v7: look only for the DLL from the
7719 version against which Emacs was built.
7720 Support versions of libpng beyond 1.4.x.
7721 Support libtiff v4.x.
7722
7723 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
7724
7725 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
7726 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
7727 Add property :safe.
7728 (ruby-deep-arglist): Add property :type.
7729
7730 2013-10-31 Glenn Morris <rgm@gnu.org>
7731
7732 * Makefile.in (custom-deps, finder-data): No need to setq the target
7733 variables, we are in the right directory and the defaults work fine.
7734
7735 2013-10-30 Glenn Morris <rgm@gnu.org>
7736
7737 * Makefile.in (autoloads): Do not use abs_lisp.
7738
7739 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
7740 `newline' does not respect `standard-output', so use `princ'.
7741
7742 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
7743
7744 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
7745 * buff-menu.el (Buffer-menu--unmark): New function.
7746 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
7747
7748 2013-10-30 Glenn Morris <rgm@gnu.org>
7749
7750 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
7751
7752 * emacs-lisp/package.el (lm-homepage): Declare.
7753
7754 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
7755 Fix doc typos.
7756
7757 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
7758
7759 * Makefile.in (finder-data, autoloads, update-subdirs)
7760 (compile-main, compile-clean, compile-always, bootstrap-clean):
7761 Check return value of cd.
7762 (compile-calc): Remove.
7763
7764 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7765
7766 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
7767
7768 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
7769 (byte-compile-and-folded): New function.
7770 (=, <, >, <=, >=): Use it.
7771
7772 * dos-w32.el (minibuffer-history-case-insensitive-variables)
7773 (path-separator, null-device, buffer-file-coding-system)
7774 (lpr-headers-switches): Check system-type before modifying them.
7775 (find-buffer-file-type-coding-system): Mark obsolete.
7776 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
7777 find-file-not-found-set-buffer-file-coding-system.
7778 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
7779 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
7780 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
7781 (w32-direct-print-region-helper, w32-direct-print-region-function)
7782 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
7783 * startup.el (normal-top-level-add-subdirs-to-load-path):
7784 * ps-print.el (ps-print-region-function):
7785 * lpr.el (print-region-function): Use new name.
7786
7787 * subr.el (custom-declare-variable-early): Remove function.
7788 (custom-declare-variable-list): Remove var.
7789 (error, user-error): Remove `while' loop.
7790 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
7791 (user-emacs-directory-warning, locate-user-emacs-file):
7792 Move to files.el.
7793 * simple.el (read-quoted-char-radix, read-quoted-char):
7794 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
7795 Move from subr.el.
7796 * custom.el (custom-declare-variable-list): Don't process
7797 custom-declare-variable-list.
7798
7799 * progmodes/python.el (python-shell-get-buffer): New function.
7800 (python-shell-get-process): Use it.
7801 (python-shell-send-string): Always use utf-8 and add a cookie to tell
7802 Python which encoding was used. Don't split-string since we only care
7803 about the first line. Return the temp-file, if applicable.
7804 (python-shell-send-region): Tell compile.el how to turn locations in
7805 the temp-file into locations in the source buffer.
7806
7807 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
7808
7809 * subr.el (undefined): Add missing behavior from the C code for
7810 unbound keys.
7811
7812 * rect.el: Use lexical-binding. Add new rectangular region support.
7813 (rectangle-mark): New command.
7814 (rectangle--region): New var.
7815 (deactivate-mark-hook): Reset rectangle--region.
7816 (rectangle--extract-region, rectangle--insert-for-yank)
7817 (rectangle--highlight-for-redisplay)
7818 (rectangle--unhighlight-for-redisplay): New functions.
7819 (region-extract-function, redisplay-unhighlight-region-function)
7820 (redisplay-highlight-region-function): Use them to handle
7821 rectangular region.
7822 * simple.el (region-extract-function): New var.
7823 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
7824 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
7825 (kill-region): Replace obsolete `yank-handler' arg with `region'.
7826 (copy-region-as-kill, kill-ring-save): Add `region' argument.
7827 (redisplay-unhighlight-region-function)
7828 (redisplay-highlight-region-function): New vars.
7829 (redisplay--update-region-highlight): New function.
7830 (pre-redisplay-function): Use it.
7831 (exchange-point-and-mark): Don't deactivate the mark before
7832 reactivate-it anyway.
7833 * comint.el (comint-kill-region): Remove yank-handler argument.
7834 * delsel.el (delete-backward-char, backward-delete-char-untabify)
7835 (delete-char): Remove property, since it's now part of their
7836 default behavior.
7837 (self-insert-iso): Remove property since this command doesn't exist.
7838
7839 * emacs-lisp/package.el (package--download-one-archive)
7840 (describe-package-1): Don't query the user about final newline.
7841
7842 2013-10-29 Daniel Colascione <dancol@dancol.org>
7843
7844 * net/tramp.el (tramp-methods): Document new functionality.
7845 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
7846 tramp-hostname-checker if method provides one instead of scanning
7847 argument list for "%h" to decide hostname acceptability.
7848
7849 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
7850
7851 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7852 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7853 Handle COPY-CONTENTS. (Bug#15737)
7854
7855 2013-10-28 Daiki Ueno <ueno@gnu.org>
7856
7857 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
7858 Document that this option has no effect with GnuPG 2.0 (bug#15552).
7859
7860 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
7861
7862 * image.el (defimage, image-load-path): Doc fixes.
7863
7864 2013-10-27 Alan Mackenzie <acm@muc.de>
7865
7866 Indent statements in macros following "##" correctly.
7867 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7868 Modify the "#" arm of a cond form to handle "#" and "##" operators.
7869
7870 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
7871
7872 * linum.el (linum-update-window): Fix boundary test (bug#13446).
7873
7874 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
7875
7876 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
7877 after `=' is probably a new expression.
7878
7879 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7880
7881 * man.el (man-imenu-title): New option.
7882 (Man-mode-map): Add menu. (Bug#15722)
7883 (Man-mode): Add imenu to menu.
7884
7885 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
7886
7887 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
7888 specific in what the first arg can be: a non-keyword word,
7889 string/regexp/percent literal opener, opening paren, or unary
7890 operator followed directly by word.
7891
7892 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7893
7894 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
7895 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
7896 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
7897 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
7898 Remove vars, they do not apply any more.
7899 (prolog-mode-abbrev-table): Remove redundant declaration.
7900 (prolog-upper-case-string, prolog-lower-case-string): Remove.
7901 (prolog-use-smie): Remove.
7902 (prolog-smie-rules): Add indentation rule for the if-then-else layout
7903 supported by prolog-electric-if-then-else-flag.
7904 (prolog-mode-variables, prolog-menu): Use setq-local.
7905 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
7906 Remove binding to `Backspace' since this key doesn't exist anyway.
7907 Remove bindings for electric self-inserting keys.
7908 (prog-mode): Assume it's defined.
7909 (prolog-post-self-insert): New function.
7910 (prolog-mode): Use it.
7911 (prolog-indent-line, prolog-indent-level)
7912 (prolog-find-indent-of-matching-paren)
7913 (prolog-indentation-level-of-line, prolog-goto-comment-column)
7914 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
7915 (prolog-goto-next-paren, prolog-in-string-or-comment)
7916 (prolog-tokenize, prolog-inside-mline-comment)
7917 (prolog-find-start-of-mline-comment): Remove functions.
7918 (prolog-find-unmatched-paren, prolog-clause-end)
7919 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
7920 (prolog-electric--if-then-else): Rename from
7921 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
7922 (prolog-tokenize-searchkey): Remove const.
7923 (prolog-clause-info): Use forward-sexp.
7924 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
7925 (prolog-electric-if-then-else): Remove commands.
7926 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
7927 for use in post-self-insert-hook.
7928 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
7929 for use in post-self-insert-hook.
7930 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
7931 for use in post-self-insert-hook.
7932 (prolog-electric--underscore): Rename from prolog-electric--underscore;
7933 adapt it for use in post-self-insert-hook.
7934
7935 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
7936
7937 * emacs-lisp/ert.el (ert-run-tests-interactively):
7938 Use `completing-read'. (Bug#9756)
7939
7940 2013-10-25 Eli Zaretskii <eliz@gnu.org>
7941
7942 * simple.el (line-move): Call line-move-1 instead of
7943 line-move-visual when the current window hscroll is zero, but
7944 temporary-goal-column indicates we will need to hscroll as result
7945 of the movement. (Bug#15712)
7946
7947 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
7948
7949 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
7950 capitalization. Use :visible instead of :active.
7951 Fix `ruby-indent-exp' reference. Add menu items for the generic
7952 commands that are used with SMIE.
7953 (ruby-do-end-to-brace): Insert space after `{'.
7954
7955 2013-10-25 John Anthony <john@jo.hnanthony.com>
7956
7957 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
7958
7959 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
7960
7961 2013-10-25 Glenn Morris <rgm@gnu.org>
7962
7963 * vc/vc.el (vc-print-log): Don't use a working revision unless
7964 one was explicitly specified. (Bug#15322)
7965
7966 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7967
7968 * subr.el (add-to-list): Preserve return value in compiler-macro
7969 (bug#15692).
7970
7971 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7972
7973 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
7974 result. Ask user to retry using '-all' flag. (Bug#15701)
7975
7976 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7977
7978 * emacs-lisp/smie.el: New smie-config system.
7979 (smie-config): New defcustom.
7980 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
7981 (smie-config-guess, smie-config-save): New commands.
7982 (smie-config--mode-local, smie-config--buffer-local)
7983 (smie-config--trace, smie-config--modefuns): New vars.
7984 (smie-config--advice, smie-config--mode-hook)
7985 (smie-config--setter, smie-config-local, smie-config--get-trace)
7986 (smie-config--guess-value, smie-config--guess): New functions.
7987 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
7988 text properties. Treat "string fence" syntax like string syntax.
7989
7990 * progmodes/sh-script.el (sh-use-smie): Change default.
7991 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
7992 (sh-var-value): Simplify by CSE.
7993 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
7994 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
7995 is used.
7996 (sh-guess-basic-offset): Use cl-incf.
7997 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
7998
7999 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
8000
8001 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
8002 (bug#15699).
8003
8004 2013-10-24 Glenn Morris <rgm@gnu.org>
8005
8006 * Makefile.in (abs_top_srcdir): Remove.
8007 (update-subdirs): Use relative path to update-subdirs.
8008
8009 2013-10-24 Eli Zaretskii <eliz@gnu.org>
8010
8011 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
8012 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
8013 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
8014 Call unmsys--file-name before expand-file-name, not after it.
8015
8016 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
8017
8018 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
8019 (ert-test-skipped): New error.
8020 (ert-skip, ert-stats-skipped): New defuns.
8021 (ert--skip-unless): New macro.
8022 (ert-test-skipped): New struct.
8023 (ert--run-test-debugger, ert-test-result-type-p)
8024 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
8025 (ert--stats-set-test-and-result, ert-char-for-test-result)
8026 (ert-string-for-test-result, ert-run-tests-batch)
8027 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
8028 Handle skipped tests. (Bug#9803)
8029
8030 2013-10-24 Glenn Morris <rgm@gnu.org>
8031
8032 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
8033
8034 * Makefile.in (abs_top_srcdir): New, set by configure.
8035 (update-subdirs): Correct build-aux location.
8036
8037 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
8038
8039 * vc/vc.el (vc-print-root-log): Always set `default-directory'
8040 value, whether we could auto-deduce `backend', or not.
8041
8042 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
8043 with parameters" example. Simplify the "is it block or is it
8044 hash" check, but also make it more thorough.
8045
8046 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
8047
8048 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
8049
8050 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
8051
8052 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
8053 { if it is hanging.
8054
8055 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
8056 :before ";".
8057
8058 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
8059
8060 * progmodes/compile.el (compilation-directory-matcher)
8061 (compilation-page-delimiter):
8062 Support GNU Make-4.0 directory quoting. (Bug#15678)
8063
8064 2013-10-23 Leo Liu <sdl.web@gmail.com>
8065
8066 * ido.el (ido-tidy): Handle read-only text.
8067
8068 2013-10-23 Glenn Morris <rgm@gnu.org>
8069
8070 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
8071 (emacs, compile, compile-always):
8072 Quote entities that might contain whitespace.
8073 (custom-deps, finder-data, autoloads): Use abs_lisp.
8074 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
8075 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
8076 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
8077
8078 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
8079
8080 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
8081 Use `following-char'.
8082
8083 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
8084
8085 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
8086 * progmodes/ruby-mode.el (ruby-smie-rules):
8087 Remove corresponding workaround. Fix indentation rule of ";" so it
8088 also applies when ";" is the parent.
8089
8090 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
8091
8092 * frame.el (display-screens, display-pixel-height)
8093 (display-pixel-width, display-mm-width, display-backing-store)
8094 (display-save-under, display-planes, display-color-cells)
8095 (display-visual-class, display-monitor-attributes-list):
8096 Mention the optional ‘display’ argument in doc strings.
8097
8098 2013-10-22 Michael Gauland <mikelygee@amuri.net>
8099
8100 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
8101 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
8102
8103 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8104
8105 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
8106 TODO. Add "." after " @ ".
8107 (ruby-smie--at-dot-call): New function. Checks if point at method
8108 call with explicit target.
8109 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
8110 to the method name tokens when it precedes them.
8111 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
8112 (ruby-smie-rules): Add rule for indentation before and after "."
8113 token.
8114
8115 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
8116
8117 * textmodes/remember.el (remember-diary-extract-entries):
8118 Avoid add-to-list.
8119
8120 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
8121 an instruction.
8122
8123 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
8124
8125 * progmodes/ruby-mode.el (ruby-smie-grammar):
8126 Add (almost) all infix operators.
8127 (ruby-smie--implicit-semi-p): Add new operator chars.
8128
8129 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8130 `smie-down-list'.
8131 (ruby-smie--args-separator-p): Check that there's no newline
8132 between method call and its arguments.
8133
8134 2013-10-20 Alan Mackenzie <acm@muc.de>
8135
8136 Allow comma separated lists after Java "implements".
8137
8138 * progmodes/cc-engine.el (c-backward-over-enum-header):
8139 Parse commas.
8140 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
8141 from a "disallowed" list in enum fontification.
8142
8143 2013-10-20 Johan Bockgård <bojohan@gnu.org>
8144
8145 * startup.el (default-frame-background-mode): Remove unused defvar.
8146
8147 * progmodes/verilog-mode.el (verilog-mode): Don't set
8148 comment-indent-function globally.
8149
8150 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
8151
8152 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
8153 Move Info menu item creation to ns-win.el.
8154
8155 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
8156 in menu bar.
8157
8158 * menu-bar.el: Move GNUstep specific menus...
8159
8160 * term/ns-win.el (ns-initialize-window-system): ... to here.
8161
8162 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
8163
8164 * simple.el (newline): Only run post-self-insert-hook when
8165 called interactively.
8166
8167 2013-10-19 Johan Bockgård <bojohan@gnu.org>
8168
8169 * icomplete.el (icomplete-with-completion-tables): Add :version.
8170
8171 2013-10-19 Alan Mackenzie <acm@muc.de>
8172
8173 Fix fontification bugs with constructors and const.
8174
8175 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
8176 CASE 2) Remove the check for the absence of a suffix construct
8177 after a function declaration with only types (no identifiers) in
8178 the parentheses. Also, accept a function declaration with just a
8179 type inside the parentheses, if this type can be positively
8180 recognised as such, or if a prefix keyword like "explicit" nails
8181 down the construct as a declaration.
8182
8183 2013-10-19 Eli Zaretskii <eliz@gnu.org>
8184
8185 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
8186 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
8187 the problem whereby selecting a menu item that leads to a
8188 minibuffer prompt moves the cursor out of the minibuffer window,
8189 making it hard to type at the prompt. Suggested by Stefan Monnier
8190 <monnier@iro.umontreal.ca>.
8191
8192 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
8193
8194 * menu-bar.el: Don't make Services menu.
8195
8196 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8197
8198 * ffap.el: Handle "/usr/include/c++/<version>" directories.
8199 (ffap-alist): Use ffap-c++-mode for c++-mode.
8200 (ffap-c++-path): New variable.
8201 (ffap-c++-mode): New function.
8202
8203 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
8204
8205 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
8206
8207 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
8208
8209 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
8210 introduced on 2013-09-08, which results in an infinite loop
8211 requesting a password.
8212
8213 2013-10-18 Glenn Morris <rgm@gnu.org>
8214
8215 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
8216
8217 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
8218
8219 Sync with upstream verilog-mode revision 1a6ecec7.
8220 * progmodes/verilog-mode.el (verilog-mode-version): Update.
8221 (verilog-mode-release-date): Remove.
8222 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
8223 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
8224 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
8225 (verilog-auto-tieoff-ignore-regexp)
8226 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
8227 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
8228 (verilog-signals-with, verilog-dir-cache-preserving)
8229 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
8230 Doc fixes.
8231 (verilog-case-fold): New option, to control case folding in
8232 regexp searches, bug597.
8233 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
8234 (verilog-string-match-fold, verilog-in-paren-count)
8235 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
8236 (verilog-at-close-struct-p): New functions.
8237 (verilog-beg-block-re-ordered, verilog-extended-case-re)
8238 (verilog-forward-sexp, verilog-set-auto-endcomments)
8239 (verilog-leap-to-case-head): Handle "unique0" case.
8240 (verilog-in-constraint-re): New constant.
8241 (verilog-keywords, verilog-type-font-keywords):
8242 Add some SystemVerilog 1800-2012 keywords.
8243 (verilog-label-be): Remove unimplemented argument, bug669.
8244 (verilog-batch-execute-func): When batch expanding clear
8245 create-lockfiles to prevent spurious user locks when a file ends
8246 up not changing.
8247 (verilog-calculate-indent, verilog-calc-1)
8248 (verilog-at-close-constraint-p, verilog-at-constraint-p)
8249 (verilog-do-indent): Fix indentation of nested constraints
8250 and structures.
8251 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
8252 (verilog-auto-inst-param): Use verilog-string-match-fold.
8253 (verilog-read-inst-module-matcher):
8254 Fix AUTOINST on gate primitives with #1.
8255 (verilog-read-decls): Fix double-declaring user-defined typed signals.
8256 Reads all user-defined typed variables.
8257 (verilog-read-defines): Fix reading definitions inside comments, bug647.
8258 (verilog-signals-matching-regexp)
8259 (verilog-signals-not-matching-regexp, verilog-auto):
8260 Respect verilog-case-fold.
8261 (verilog-diff-report): Fix line count.
8262 (verilog-auto-assign-modport): Remove unused local `modi'.
8263 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
8264 better handle multidimensional arrays.
8265 Fix packed array ports misadding bit index in AUTOINST, bug637.
8266 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
8267 to not double-declare existing outputs and inputs, respectively.
8268 (verilog-template-map): Bind U to verilog-sk-uvm-component.
8269 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
8270 (verilog-sk-uvm-component): New skeleton.
8271 (verilog-submit-bug-report): Add verilog-case-fold,
8272 remove verilog-mode-release-date.
8273
8274 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
8275
8276 * subr.el (sit-for): Call (input-pending-p t) so as to behave
8277 as before.
8278
8279 2013-10-18 Reuben Thomas <rrt@sc3d.org>
8280
8281 * textmodes/remember.el (remember): Set buffer-offer-save in
8282 remember buffers (bug#13566).
8283
8284 2013-10-18 Daniel Colascione <dancol@dancol.org>
8285
8286 When evaluating forms in ielm, direct standard output to ielm
8287 buffer. Add new ielm-return-for-effect command. Remove trailing
8288 whitespace throughout.
8289
8290 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
8291 (ielm-return-for-effect): New command.
8292 (ielm-send-input): Accept optional `for-effect' parameter.
8293 (ielm-eval-input): Accept optional `for-effect' parameter.
8294 Bind `standard-output' to stream we create using
8295 `ielm-standard-output-impl'. Suppress printing result when
8296 `for-effect'.
8297 (ielm-standard-output-impl): New function.
8298 (inferior-emacs-lisp-mode): Explain new features in documentation.
8299
8300 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
8301
8302 Code cleanup.
8303
8304 * net/tramp.el (tramp-debug-message): Do not check for connection
8305 buffer.
8306 (tramp-message): Use "vector" connection property.
8307
8308 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
8309 (tramp-equal-remote, tramp-eshell-directory-change)
8310 * net/tramp-adb.el (tramp-adb-handle-copy-file)
8311 (tramp-adb-handle-rename-file)
8312 * net/tramp-cmds.el (tramp-list-remote-buffers)
8313 (tramp-cleanup-connection, tramp-cleanup-this-connection)
8314 * net/tramp-compat.el (tramp-compat-process-running-p)
8315 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
8316 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
8317 (tramp-gvfs-handle-rename-file)
8318 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8319 (tramp-set-file-uid-gid)
8320 * net/tramp-smb.el (tramp-smb-handle-copy-file)
8321 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
8322 of `file-remote-p'.
8323
8324 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
8325 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
8326 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
8327 (tramp-gw-open-network-stream): Suppress unrelated traces.
8328
8329 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
8330 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
8331 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8332 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
8333 connection property.
8334
8335 * net/tramp-cache.el (top): Suppress traces when reading
8336 persistency file.
8337
8338 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8339 Refactor common code. Improve debug message.
8340 (tramp-maybe-open-connection)
8341 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
8342 connection buffer too early.
8343
8344 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
8345 from `tramp-smb-actions-with-acl'.
8346 (tramp-smb-actions-set-acl): New defconst.
8347 (tramp-smb-handle-copy-directory)
8348 (tramp-smb-action-get-acl): New defun, renamed from
8349 `tramp-smb-action-with-acl'.
8350 (tramp-smb-action-set-acl): New defun.
8351 (tramp-smb-handle-set-file-acl): Rewrite.
8352
8353 2013-10-17 Glenn Morris <rgm@gnu.org>
8354
8355 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
8356
8357 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
8358
8359 * skeleton.el (skeleton-newline): Remove.
8360 (skeleton-internal-1): Use (insert "\n") instead.
8361
8362 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
8363 let-bindings.
8364
8365 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
8366 forward-sexp-function while we redo its job (bug#15613).
8367
8368 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
8369
8370 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
8371 represented by lists.
8372
8373 2013-10-16 Glenn Morris <rgm@gnu.org>
8374
8375 * tmm.el (tmm--history): New dynamic variable.
8376 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
8377
8378 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
8379
8380 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
8381 (tramp-smb-errors): Add error messages.
8382 (tramp-smb-actions-with-acl): New defconst.
8383 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
8384 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
8385 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
8386 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
8387 (tramp-smb-get-stat-capability): Fix tests.
8388
8389 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
8390
8391 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
8392 (bug#15580).
8393
8394 2013-10-16 Glenn Morris <rgm@gnu.org>
8395
8396 * ansi-color.el (ansi-color-drop-regexp):
8397 Add 1J, 1K, 2K. (Bug#15617)
8398
8399 * files.el (hack-local-variables--warned-lexical): New.
8400 (hack-local-variables):
8401 Warn about misplaced lexical-binding. (Bug#15616)
8402
8403 * net/eww.el (eww-render): Always set eww-current-url,
8404 and update header line. (Bug#15622)
8405 (eww-display-html): ... Rather than just doing it here.
8406
8407 2013-10-15 Eli Zaretskii <eliz@gnu.org>
8408
8409 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
8410 menu navigations commands.
8411
8412 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
8413
8414 * progmodes/subword.el (subword-capitalize): Be careful when
8415 the search for [[:alpha:]] fails (bug#15580).
8416
8417 2013-10-14 Eli Zaretskii <eliz@gnu.org>
8418
8419 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
8420 to commands that scroll the menu.
8421
8422 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
8423
8424 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
8425 Handle methods ending with `?' and `!'.
8426
8427 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
8428
8429 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
8430 `japanese-cp932' to `cp932' to fix the problem where saving a
8431 source file written in Shift_JIS twice would end up having
8432 `coding: japanese-cp932' which Ruby could not recognize.
8433 (ruby-mode-set-encoding): Add support for encodings mapped to nil
8434 in `ruby-encoding-map'.
8435 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
8436 doesn't need to be explicitly declared in magic comment.
8437 (ruby-encoding-map): Add type declaration for better customize UI.
8438
8439 2013-10-13 Glenn Morris <rgm@gnu.org>
8440
8441 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
8442 Occur buffers are read-only. http://bugs.debian.org/720775
8443
8444 * emacs-lisp/authors.el (authors-fixed-entries):
8445 Comment out old alpha stuff.
8446
8447 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
8448
8449 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
8450 to `after-save-hook' instead of `before-save-hook'.
8451 (ruby-mode-set-encoding): Use the value of coding system used to
8452 write the file. Call `basic-save-buffer-1' after modifying the
8453 buffer.
8454
8455 2013-10-13 Alan Mackenzie <acm@muc.de>
8456
8457 Fix indentation/fontification of Java enum with
8458 "implements"/generic.
8459
8460 * progmodes/cc-engine.el (c-backward-over-enum-header):
8461 Extracted from the three other places and enhanced to handle generics.
8462 (c-inside-bracelist-p): Uses new function above.
8463 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
8464 function above.
8465 (c-font-lock-enum-tail): Uses new function above.
8466
8467 2013-10-13 Kenichi Handa <handa@gnu.org>
8468
8469 * international/mule-cmds.el (select-safe-coding-system): Remove a
8470 superfluous condition in chekcing whether a coding system is safe
8471 or not.
8472
8473 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
8474
8475 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
8476
8477 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
8478
8479 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
8480
8481 2013-10-13 Glenn Morris <rgm@gnu.org>
8482
8483 * menu-bar.el (menu-bar-update-buffers):
8484 Unify Buffers menu prompt string. (Bug#15576)
8485
8486 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
8487
8488 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
8489 Add some entries.
8490 (authors-fixed-entries): Use accented form of name.
8491
8492 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
8493
8494 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
8495 method calls (bug#15594).
8496 (ruby-smie--args-separator-p): New function.
8497 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
8498 recognize paren-free method calls.
8499
8500 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
8501 internals of universal-argument.
8502
8503 2013-10-11 Eli Zaretskii <eliz@gnu.org>
8504
8505 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
8506 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
8507 dropped menu on second mouse click on the menu bar.
8508
8509 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
8510
8511 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
8512 (explicit-shell-file-name): Declare.
8513 (sh--vars-before-point, sh--cmd-completion-table): New functions.
8514 (sh-completion-at-point-function): New function.
8515 (sh-mode): Use it.
8516 (sh-smie--keyword-p): Remove unused argument.
8517 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
8518 vars.
8519 (sh-set-shell): Always setup SMIE, even if we use the
8520 old indentation code.
8521
8522 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
8523
8524 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
8525 cases of ? and =.
8526 (ruby-smie-rules): Simplify the "do" rule. The cases when the
8527 predicate would return nil are almost non-existent.
8528 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
8529
8530 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
8531 cache also after commands that modify the buffer but don't move
8532 point.
8533
8534 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8535
8536 * env.el (substitute-env-in-file-name): New function.
8537 (substitute-env-vars): Extend the meaning of the optional arg.
8538
8539 2013-10-10 Eli Zaretskii <eliz@gnu.org>
8540
8541 * term/w32-win.el (dynamic-library-alist): Define separate lists
8542 of GIF DLLs for versions before and after 5.0.0 of giflib.
8543 (Bug#15531)
8544
8545 2013-10-10 João Távora <joaotavora@gmail.com>
8546
8547 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
8548 not locked, use last revision and current source as
8549 defaults. (Bug#15569)
8550
8551 2013-10-10 Masatake YAMATO <yamato@redhat.com>
8552
8553 * menu-bar.el (menu-bar-open): Don't use popup-menu if
8554 menu-bar is hidden.
8555
8556 2013-10-10 Martin Rudalics <rudalics@gmx.at>
8557
8558 * window.el (pop-to-buffer-same-window): Fix doc-string.
8559 (Bug#15492)
8560
8561 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
8562
8563 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
8564
8565 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
8566
8567 * calendar/icalendar.el (icalendar-import-file):
8568 Fix interactive spec. (Bug#15482)
8569
8570 2013-10-10 Glenn Morris <rgm@gnu.org>
8571
8572 * desktop.el (desktop-save): Default to saving in .emacs.d,
8573 since PWD is no longer in desktop-path by default. (Bug#15319)
8574
8575 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
8576 now that text mode has a menu with the same entry.
8577 (menu-bar-text-mode-auto-fill): Remove now unused func.
8578 * textmodes/text-mode.el (text-mode-map):
8579 Use auto-fill help text from menu-bar.el.
8580
8581 2013-10-10 John Anthony <john@jo.hnanthony.com>
8582
8583 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
8584
8585 2013-10-09 Juri Linkov <juri@jurta.org>
8586
8587 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
8588 instead of this-command-keys. Add universal-argument-more and
8589 universal-argument-minus to the list of prefix commands. (Bug#15568)
8590
8591 2013-10-09 Glenn Morris <rgm@gnu.org>
8592
8593 * vc/vc-svn.el (vc-svn-create-repo):
8594 Expand paths in file://... url. (Bug#15446)
8595
8596 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
8597 Add some entries.
8598 (authors): Remove unused local variables.
8599
8600 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
8601
8602 * profiler.el: Create a more coherent calltree from partial backtraces.
8603 (profiler-format): Hide the tail with `invisible' so that C-s can still
8604 find the hidden elements.
8605 (profiler-calltree-depth): Don't recurse so enthusiastically.
8606 (profiler-function-equal): New hash-table-test.
8607 (profiler-calltree-build-unified): New function.
8608 (profiler-calltree-build): Use it.
8609 (profiler-report-make-name-part): Indent the calltree less.
8610 (profiler-report-mode): Add visibility specs for profiler-format.
8611 (profiler-report-expand-entry, profiler-report-toggle-entry):
8612 Expand the whole subtree when provided with a prefix arg.
8613
8614 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
8615
8616 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
8617 iuwu-mod token.
8618 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
8619 hanging iuwu-mod token.
8620 (ruby-smie--forward-token): Do not include a dot after a token in
8621 that token.
8622 (ruby-smie--backward-token): Likewise.
8623
8624 2013-10-08 Juri Linkov <juri@jurta.org>
8625
8626 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
8627 to isearch-other-control-char.
8628 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
8629 and isearch-post-command-hook to post-command-hook.
8630 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
8631 and isearch-post-command-hook from post-command-hook.
8632 (isearch-unread-key-sequence)
8633 (isearch-reread-key-sequence-naturally)
8634 (isearch-lookup-scroll-key, isearch-other-control-char)
8635 (isearch-other-meta-char): Remove functions.
8636 (isearch-pre-command-hook, isearch-post-command-hook):
8637 New functions based on isearch-other-meta-char rewritten
8638 relying on the new behavior of overriding-terminal-local-map
8639 that does not replace the local keymaps any more. (Bug#15200)
8640
8641 2013-10-08 Eli Zaretskii <eliz@gnu.org>
8642
8643 Support menus on text-mode terminals.
8644 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
8645 functionality.
8646
8647 * tooltip.el (tooltip-mode): Don't error out on TTYs.
8648
8649 * menu-bar.el (popup-menu, popup-menu-normalize-position):
8650 Move here from mouse.el.
8651 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
8652 and arrow keys.
8653 (tty-menu-navigation-map): New map for TTY menu navigation.
8654
8655 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
8656
8657 * frame.el (display-mouse-p): Report text-mode mouse as available
8658 on w32.
8659 (display-popup-menus-p): Report availability if mouse is
8660 available; don't condition on window-system.
8661
8662 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
8663 (tty-menu-selected-face): New faces.
8664
8665 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8666
8667 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
8668 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
8669 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
8670 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
8671 New constants.
8672 (lisp-mode-variables): New `elisp' argument.
8673 (emacs-lisp-mode): Use it.
8674 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
8675 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
8676
8677 * indent.el: Use lexical-binding.
8678 (indent-region): Add progress reporter.
8679 (tab-stop-list): Make it implicitly extend to infinity by repeating the
8680 last step.
8681 (indent--next-tab-stop): New function to implement this behavior.
8682 (tab-to-tab-stop, move-to-tab-stop): Use it.
8683
8684 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
8685
8686 * indent.el (indent-rigidly--current-indentation): New function.
8687 (indent-rigidly-map): New var.
8688 (indent-rigidly): Use it to provide interactive mode (bug#8196).
8689
8690 2013-10-08 Bastien Guerry <bzg@gnu.org>
8691
8692 * register.el (insert-register): Fix 2013-10-07 change.
8693
8694 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
8695
8696 * progmodes/perl-mode.el: Use lexical-binding.
8697 Remove redundant :group args.
8698 (perl-nochange): Change default to be closer to other major modes's
8699 standard behavior.
8700 (perl-indent-line): Don't consider text on current line as a
8701 valid beginning of function from which to indent.
8702
8703 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
8704 with more than one argument (bug#15538).
8705
8706 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
8707
8708 * vc/pcvs.el: Use lexical-binding.
8709 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
8710 environment of `eval'.
8711 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
8712 than a list of expressions. Adjust callers.
8713 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
8714
8715 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
8716
8717 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
8718 case of the dot in a chained method call being on the following line.
8719
8720 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8721
8722 * electric.el (electric-indent-inhibit): New var.
8723 (electric-indent-post-self-insert-function): Use it.
8724 * progmodes/python.el (python-mode): Set it.
8725
8726 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
8727 open braces.
8728
8729 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
8730
8731 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
8732 (css-mode): Use electric-indent-chars.
8733
8734 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
8735 (font-lock-beg, font-lock-end): Move before first use.
8736 (nxml-mode): Use syntax-propertize-function.
8737 (nxml-after-change, nxml-after-change1): Adjust accordingly.
8738 (nxml-extend-after-change-region): Remove.
8739 * nxml/xmltok.el: Use lexical-binding.
8740 (xmltok-save): Use `declare'.
8741 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
8742 * nxml/nxml-util.el: Use lexical-binding.
8743 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
8744 Use `declare'.
8745 * nxml/nxml-ns.el: Use lexical-binding.
8746 (nxml-ns-save): Use `declare'.
8747 (nxml-ns-prefixes-for): Avoid add-to-list.
8748 * nxml/rng-match.el: Use lexical-binding.
8749 (rng--ipattern): Use cl-defstruct.
8750 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
8751 (rng-cons-group-after, rng-subst-group-after)
8752 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
8753 Use closures instead of `(lambda...).
8754
8755 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
8756
8757 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
8758 of BEG and END.
8759
8760 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8761 Use `tramp-handle-insert-file-contents'.
8762 (tramp-gvfs-handle-insert-file-contents): Remove function.
8763
8764 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8765 Use `save-restriction' in order to keep markers.
8766
8767 * net/trampver.el: Update release number.
8768
8769 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8770
8771 * progmodes/compile.el (compilation-parse-errors):
8772 Use compilation--put-prop.
8773 (compilation--ensure-parse): Check compilation-multiline.
8774
8775 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
8776
8777 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
8778 lexical-binding.
8779
8780 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
8781
8782 * progmodes/ruby-mode.el: Fix recently added tests.
8783 (ruby-smie-grammar): Add - and +.
8784 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
8785 (ruby-smie--backward-id): New functions.
8786 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
8787 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
8788 any more.
8789
8790 2013-10-07 Leo Liu <sdl.web@gmail.com>
8791
8792 * register.el (register-preview-delay)
8793 (register-preview-functions): New variables.
8794 (register-read-with-preview, register-preview)
8795 (register-describe-oneline): New functions.
8796 (point-to-register, window-configuration-to-register)
8797 (frame-configuration-to-register, jump-to-register)
8798 (number-to-register, view-register, insert-register)
8799 (copy-to-register, append-to-register, prepend-to-register)
8800 (copy-rectangle-to-register): Use register-read-with-preview to
8801 read register. (Bug#15525)
8802
8803 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
8804
8805 * net/network-stream.el (network-stream-open-starttls): Don't add
8806 --insecure if it's already present, because that gnutls-cli
8807 rejects getting that parameter twice.
8808
8809 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
8810
8811 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
8812 keyword, too.
8813
8814 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
8815
8816 * newcomment.el (comment-use-global-state): Change default value
8817 to t, mark obsolete (Bug#15251).
8818 (comment-beginning): In addition to `comment-to-syntax', check the
8819 value of `comment-use-global-state'.
8820
8821 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8822
8823 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
8824 (ruby-comment-column): Follow the global default, by default.
8825 (ruby-smie-grammar): Add assignment syntax.
8826 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
8827 open-paren, a comma, or a \.
8828 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
8829 and line continuations.
8830 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
8831 followed by implicit semi-colons. Add rule for string concatenation
8832 and for indentation at BOB.
8833 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
8834
8835 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
8836 calling next-sexp, since next-token may have skipped chars which
8837 next-sexp doesn't know should be skipped!
8838
8839 2013-10-05 Leo Liu <sdl.web@gmail.com>
8840
8841 * progmodes/octave.el (octave-send-region):
8842 Call compilation-forget-errors.
8843
8844 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8845
8846 * vc/vc-svn.el (vc-svn-find-admin-dir):
8847 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
8848 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
8849 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
8850 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
8851
8852 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8853
8854 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
8855
8856 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
8857
8858 * subr.el (read-passwd): Hide chars even when called within a context
8859 where after-change-functions is disabled (bug#15501).
8860 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
8861 until we removed ourself from overriding-terminal-local-map.
8862
8863 2013-10-04 Leo Liu <sdl.web@gmail.com>
8864
8865 * progmodes/octave.el (inferior-octave-mode):
8866 Call compilation-forget-errors.
8867
8868 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
8869
8870 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
8871
8872 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
8873
8874 * net/secrets.el (secrets-create-collection): Add optional
8875 argument ALIAS. Use proper Label keyword. Append ALIAS as
8876 dbus-call-method argument. (Bug#15516)
8877
8878 2013-10-04 Leo Liu <sdl.web@gmail.com>
8879
8880 * progmodes/octave.el (inferior-octave-error-regexp-alist)
8881 (inferior-octave-compilation-font-lock-keywords): New variables.
8882 (compilation-error-regexp-alist)
8883 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
8884 (inferior-octave-mode): Use compilation-shell-minor-mode.
8885
8886 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
8887
8888 * minibuffer.el (completion--replace): Be careful that `end' might be
8889 a marker.
8890
8891 2013-10-03 Daiki Ueno <ueno@gnu.org>
8892
8893 Add support for package signature checking.
8894 * emacs-lisp/package.el (url-http-file-exists-p)
8895 (epg-make-context, epg-context-set-home-directory)
8896 (epg-verify-string, epg-context-result-for)
8897 (epg-signature-status, epg-signature-to-string)
8898 (epg-check-configuration, epg-configuration)
8899 (epg-import-keys-from-file): Declare.
8900 (package-check-signature): New user option.
8901 (package-unsigned-archives): New user option.
8902 (package-desc): Add `signed' field.
8903 (package-load-descriptor): Set `signed' field if .signed file exists.
8904 (package--archive-file-exists-p): New function.
8905 (package--check-signature): New function.
8906 (package-install-from-archive): Check package signature.
8907 (package--download-one-archive): Check archive signature.
8908 (package-delete): Remove .signed file.
8909 (package-import-keyring): New command.
8910 (package-refresh-contents): Import default keyring.
8911 (package-desc-status): Add "unsigned" status.
8912 (describe-package-1, package-menu--print-info)
8913 (package-menu-mark-delete, package-menu--find-upgrades)
8914 (package-menu--status-predicate): Support "unsigned" status.
8915
8916 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8917
8918 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
8919 the new compilation scheme using the new byte-codes.
8920
8921 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
8922 (byte-pophandler): New byte codes.
8923 (byte-goto-ops): Adjust accordingly.
8924 (byte-compile--use-old-handlers): New var.
8925 (byte-compile-catch): Use new byte codes depending on
8926 byte-compile--use-old-handlers.
8927 (byte-compile-condition-case--old): Rename from
8928 byte-compile-condition-case.
8929 (byte-compile-condition-case--new): New function.
8930 (byte-compile-condition-case): New function that dispatches depending
8931 on byte-compile--use-old-handlers.
8932 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
8933 when we can.
8934
8935 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
8936 Optimize under `condition-case' and `catch' if
8937 byte-compile--use-old-handlers is nil.
8938 (disassemble-offset): Handle new bytecodes.
8939
8940 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
8941
8942 * subr.el (error): Use `declare'.
8943 (decode-char, encode-char): Use advertised-calling-convention instead
8944 of the docstring to discourage use of the `restriction' arg.
8945
8946 2013-10-03 Daiki Ueno <ueno@gnu.org>
8947
8948 * epg.el (epg-verify-file): Add a comment saying that it does not
8949 notify verification error as a return value nor a signal.
8950 (epg-verify-string): Ditto.
8951
8952 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
8953
8954 * progmodes/compile.el (compilation-start): Try globbing the arg to
8955 `cd' (bug#15417).
8956
8957 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
8958
8959 Sync with Tramp 2.2.8.
8960
8961 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
8962 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
8963 * net/trampver.el: Update release number.
8964
8965 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
8966
8967 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
8968 and default-process-coding-system for darwin only.
8969
8970 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8971
8972 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
8973
8974 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
8975
8976 * vc/vc-git.el (vc-git-grep): Disable pager.
8977
8978 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
8979
8980 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
8981 Use :url instead of :homepage, as per
8982 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
8983
8984 * newcomment.el (comment-beginning): When `comment-use-syntax' is
8985 non-nil, use `syntax-ppss' (Bug#15251).
8986
8987 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8988
8989 * progmodes/octave.el (inferior-octave-startup-file):
8990 Prefer ~/.emacs.d/init_octave.m.
8991
8992 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
8993
8994 * emacs-lisp/package.el (package-desc-from-define):
8995 Accept additional arguments as plist, convert them to an alist and store
8996 them in the `extras' slot.
8997 (package-generate-description-file): Convert extras alist back to
8998 plist and append to the `define-package' form arguments.
8999 (package--alist-to-plist): New function.
9000 (package--ac-desc): Add `extras' slot.
9001 (package--add-to-archive-contents): Check if the archive-contents
9002 vector is long enough, and if it is, pass its `extras' slot value
9003 to `package-desc-create'.
9004 (package-buffer-info): Call `lm-homepage', pass the returned value
9005 to `package-desc-from-define'.
9006 (describe-package-1): Render the homepage button (Bug#13291).
9007
9008 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9009 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
9010
9011 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
9012
9013 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
9014 and default-process-coding-system to utf-8-unix (Bug#15402).
9015
9016 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
9017
9018 * subr.el (looking-back): Do not recommend using looking-back.
9019
9020 2013-09-28 Alan Mackenzie <acm@muc.de>
9021
9022 Fix indentation/fontification of Java enum with "implements".
9023
9024 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
9025 regexp which matches "implements", etc., in Java.
9026 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
9027 specifier clauses coming after "enum".
9028 * progmodes/cc-fonts.el (c-font-lock-declarations)
9029 (c-font-lock-enum-tail): Check for extra specifier clauses coming
9030 after "enum".
9031
9032 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
9033
9034 * faces.el (region): Change ns_selection_color to
9035 ns_selection_fg_color, add ns_selection_bg_color.
9036
9037 2013-09-28 Leo Liu <sdl.web@gmail.com>
9038
9039 * progmodes/octave.el (inferior-octave-completion-table)
9040 (inferior-octave-completion-at-point): Minor tweaks.
9041
9042 * textmodes/ispell.el (ispell-lookup-words): Rename from
9043 lookup-words. (Bug#15460)
9044 (lookup-words): Obsolete.
9045 (ispell-complete-word, ispell-command-loop): All uses changed.
9046
9047 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9048
9049 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
9050 (octave-mode-menu): Add octave-send-buffer.
9051 (octave-send-buffer): New function.
9052
9053 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9054
9055 * progmodes/octave.el (octave-mode-map): Add key binding for
9056 octave-lookfor.
9057 (octave-mode-menu): Add octave-lookfor.
9058 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
9059 octave-lookfor.
9060 (octave-lookfor): New function.
9061
9062 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9063
9064 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
9065 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
9066 its convention.
9067 (cl--loop-set-iterator-function): New function.
9068 (cl-loop): Adjust accordingly, so as not to use cl-subst.
9069 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
9070 Bind `it' with `let' instead of substituting it with `cl-subst'.
9071 (cl--unused-var-p): New function.
9072 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
9073 Eliminate some unused variable warnings (bug#15326).
9074
9075 2013-09-27 Tassilo Horn <tsdh@gnu.org>
9076
9077 * doc-view.el (doc-view-scale-reset): Rename from
9078 `doc-view-reset-zoom-level'.
9079 (doc-view-scale-adjust): New command.
9080 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
9081 `doc-view-scale-adjust'.
9082
9083 2013-09-26 Tassilo Horn <tsdh@gnu.org>
9084
9085 * doc-view.el (doc-view-reset-zoom-level): New command.
9086 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
9087 zoom commands (bug#15466).
9088
9089 2013-09-26 Kenichi Handa <handa@gnu.org>
9090
9091 * international/quail.el (quail-help): Make it not a command.
9092
9093 2013-09-26 Leo Liu <sdl.web@gmail.com>
9094
9095 * minibuffer.el (completion-all-sorted-completions): Make args
9096 optional as they are.
9097
9098 2013-09-25 Daniel Colascione <dancol@dancol.org>
9099
9100 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
9101 specs are and that they're not evaluated.
9102
9103 2013-09-24 Sam Steingold <sds@gnu.org>
9104
9105 * midnight.el (clean-buffer-list-kill-regexps)
9106 (clean-buffer-list-kill-buffer-names): Update for the new Man
9107 buffer naming which includes the object name.
9108
9109 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9110
9111 * eshell/esh-cmd.el (eshell--sep-terms): New var.
9112 (eshell-parse-command, eshell-parse-pipeline): Use it since
9113 eshell-separate-commands requires a dynamic scoped var.
9114 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
9115
9116 2013-09-23 Leo Liu <sdl.web@gmail.com>
9117
9118 * autoinsert.el (auto-insert-alist): Make the value of
9119 lexical-binding match its file setting.
9120
9121 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
9122
9123 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
9124
9125 * autoarg.el (autoarg-kp-digit-argument):
9126 * electric.el (Electric-command-loop):
9127 * kmacro.el (kmacro-step-edit-insert):
9128 Do not set universal-argument-num-events.
9129
9130 2013-09-22 Leo Liu <sdl.web@gmail.com>
9131
9132 * files.el (interpreter-mode-alist): Add octave.
9133
9134 2013-09-21 Alan Mackenzie <acm@muc.de>
9135
9136 C++: fontify identifier in declaration following "public:" correctly.
9137 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
9138 to match "public", etc.
9139 (c-decl-prefix-re): Add ":" into the C++ value.
9140 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
9141 bit. Add a check for a ":" preceded by "public", etc.
9142
9143 2013-09-21 Eli Zaretskii <eliz@gnu.org>
9144
9145 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
9146 recognized by GDB 7.5 and later.
9147
9148 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
9149
9150 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
9151
9152 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
9153
9154 * subr.el (internal--call-interactively): New const.
9155 (called-interactively-p): Use it (bug#3984).
9156
9157 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
9158
9159 * vc/pcvs.el (cvs-mode-ignore):
9160 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
9161 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
9162
9163 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
9164
9165 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
9166 (eshell-ls-orig-insert-directory): Remove.
9167 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
9168 (eshell-ls-use-in-dired): Use advice-add/remove.
9169 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
9170 Add `orig-fun' arg for use in :around advice.
9171 Make it check (redundantly) eshell-ls-use-in-dired.
9172
9173 2013-09-19 Glenn Morris <rgm@gnu.org>
9174
9175 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
9176
9177 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
9178
9179 * emacs-lisp/eieio.el (class-parent): Undo previous change.
9180
9181 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
9182
9183 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
9184 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
9185 (tramp-get-remote-python): New defuns.
9186 (tramp-get-remote-uid-with-perl)
9187 (tramp-get-remote-gid-with-perl): New defuns. Perl code
9188 contributed by yary <not.com@gmail.com> (tiny change).
9189 (tramp-get-remote-uid-with-python)
9190 (tramp-get-remote-gid-with-python): New defuns. Python code
9191 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
9192 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
9193
9194 2013-09-19 Glenn Morris <rgm@gnu.org>
9195
9196 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
9197
9198 * eshell/em-unix.el (eshell-remove-entries):
9199 Rename argument to avoid name-clash with global `top-level'.
9200
9201 * eshell/esh-proc.el (eshell-kill-process-function):
9202 Remove eshell-reset-after-proc from eshell-kill-hook if present.
9203 (eshell-reset-after-proc): Remove unused arg `proc'.
9204
9205 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
9206 (directory-files-and-attributes): Mark unused arg.
9207
9208 * eshell/em-unix.el (eshell-remove-entries):
9209 Remove unused arg `path'. Update callers.
9210
9211 * eshell/em-hist.el (eshell-hist-parse-arguments):
9212 Remove unused arg `silent'. Update callers.
9213
9214 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
9215 Fix (f)boundp mix-up.
9216
9217 * eshell/em-smart.el (eshell-smart-scroll-window)
9218 (eshell-disable-after-change):
9219 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
9220
9221 2013-09-18 Alan Mackenzie <acm@muc.de>
9222
9223 Fix fontification of type when followed by "const".
9224 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
9225 "known" types from fontification.
9226
9227 2013-09-18 Glenn Morris <rgm@gnu.org>
9228
9229 * emacs-lisp/chart.el (x-display-color-cells): Declare.
9230 (chart-face-list): Drop Emacsen without display-color-p.
9231
9232 * net/eww.el (libxml-parse-html-region): Declare.
9233 (eww-display-html): Explicit error if no libxml2 support.
9234
9235 * doc-view.el (doc-view-mode): Silence --without-x compilation.
9236
9237 * image.el (image-type-from-buffer, image-multi-frame-p):
9238 Remove --without-x warning/error.
9239
9240 * mouse.el (mouse-yank-primary):
9241 * term.el (term-mouse-paste):
9242 Reorder to silence --without-x compilation.
9243
9244 * mpc.el (doc-view-mode): Silence --without-x compilation.
9245
9246 * mail/rmailmm.el (rmail-mime-set-bulk-data):
9247 Silence --without-x compilation.
9248
9249 * progmodes/gud.el (gud-find-file, gud-mode):
9250 Silence --without-x compilation.
9251 (tooltip-mode): Declare.
9252
9253 * wdired.el (dired-backup-overwrite): Remove declaration.
9254 (wdired-mode-map): Add doc string.
9255
9256 * custom.el (x-get-resource): Declare.
9257
9258 * eshell/em-glob.el (ange-cache):
9259 * eshell/em-unix.el (ange-cache): Declare.
9260
9261 * faces.el (x-display-list, x-open-connection, x-get-resource):
9262 Declare.
9263
9264 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
9265 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
9266 Declare.
9267
9268 * frame.el (x-display-grayscale-p, x-display-name): Declare.
9269
9270 * net/gnutls.el (gnutls-log-level): Declare.
9271
9272 * net/shr.el (image-size, image-animate): Declare.
9273
9274 * simple.el (font-info): Declare.
9275
9276 * subr.el (x-popup-dialog): Declare.
9277
9278 * term/common-win.el (x-select-enable-primary)
9279 (x-last-selected-text-primary, x-last-selected-text-clipboard):
9280 Declare.
9281
9282 * term/ns-win.el (x-handle-args): Declare.
9283
9284 * term/x-win.el (x-select-enable-clipboard): Declare.
9285
9286 * term/w32-win.el (create-default-fontset): Declare.
9287
9288 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
9289 Declare.
9290
9291 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
9292 (fit-frame-to-buffer): Explicit error if --without-x.
9293 (mouse-autoselect-window-select): Silence compiler.
9294
9295 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
9296
9297 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
9298 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
9299 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
9300 * eshell/esh-util.el (eshell-sublist):
9301 Remove unused local variables.
9302
9303 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
9304
9305 * textmodes/two-column.el: Make 2C-split work for --without-x.
9306 (scroll-bar-columns): Autoload.
9307 (top-level): Require fringe when compiling.
9308
9309 2013-09-18 Leo Liu <sdl.web@gmail.com>
9310
9311 * subr.el (add-hook): Robustify to handle closure as well.
9312
9313 2013-09-17 Glenn Morris <rgm@gnu.org>
9314
9315 * simple.el (messages-buffer-mode-map): Unbind "g".
9316
9317 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9318
9319 * help-mode.el (help-mode-finish): Use derived-mode-p.
9320 Remove obsolete highlighting.
9321
9322 * play/life.el (life-mode): Use define-derived-mode. Derive from
9323 special-mode.
9324 (life): Let-bind inhibit-read-only.
9325 (life-setup): Avoid `setq'. Use `life-mode'.
9326
9327 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
9328 which should not be needed any more.
9329 (package-menu-refresh, package-menu-describe-package): Use user-error.
9330
9331 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
9332 (eshell-post-rewrite-command-hook): Make obsolete.
9333 (eshell-parse-command): Simplify.
9334 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
9335 (eshell--cmd): Declare.
9336 (eshell-parse-pipeline): Remove unused var `final-p'.
9337 Pass a dynvar to eshell-post-rewrite-command-hook.
9338 Implement the new eshell-post-rewrite-command-function.
9339 (eshell-invoke-directly): Remove unused arg `input'.
9340 * eshell/esh-io.el (eshell-io-initialize):
9341 Use eshell-post-rewrite-command-function (bug#15399).
9342 (eshell--apply-redirections): Rename from eshell-apply-redirections;
9343 adjust to new calling convention.
9344 (eshell-create-handles): Rename args to avoid clashing with dynvar
9345 `standard-output'.
9346
9347 2013-09-17 Glenn Morris <rgm@gnu.org>
9348
9349 * simple.el (messages-buffer-mode): New major mode.
9350 (messages-buffer): New function.
9351 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
9352 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
9353 (ert-run-test): Use `messages-buffer' function.
9354 (ert--force-message-log-buffer-truncation): Ignore read-only.
9355 * help.el (view-echo-area-messages): Use `messages-buffer' function.
9356 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
9357
9358 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9359
9360 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
9361
9362 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
9363
9364 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9365
9366 * icomplete.el (icomplete-in-buffer): New var.
9367 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
9368 vars and replace them with functions.
9369 (icomplete-minibuffer-setup): Adjust accordingly.
9370 (icomplete--completion-table, icomplete--completion-predicate)
9371 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
9372 New functions.
9373 (icomplete-forward-completions, icomplete-backward-completions)
9374 (icomplete-simple-completing-p, icomplete-exhibit)
9375 (icomplete-completions): Use them.
9376 (icomplete--in-region-buffer): New var.
9377 (icomplete--in-region-setup): New function.
9378 (icomplete-mode): Use it.
9379
9380 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
9381 (bug#15379).
9382 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
9383 return args and options.
9384 (eshell-eval-using-options): Use the new return value of
9385 eshell--do-opts to set the options's vars in their scope.
9386 (eshell--set-option): Rename from eshell-set-option.
9387 Add arg `opt-vals'.
9388 (eshell--process-option): Rename from eshell-process-option.
9389 Add arg `opt-vals'.
9390 (eshell--process-args): Use an `opt-vals' alist to store the options's
9391 values during their processing and return them additionally to the
9392 remaining args.
9393
9394 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
9395
9396 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
9397 continuation character an operator, as far as indentation is
9398 concerned (Bug#15369).
9399
9400 2013-09-15 Martin Rudalics <rudalics@gmx.at>
9401
9402 * window.el (window--state-put-2): Don't process buffer state
9403 when buffer doesn't exist any more (Bug#15382).
9404
9405 2013-09-15 Glenn Morris <rgm@gnu.org>
9406
9407 * eshell/em-unix.el (eshell/rm):
9408 Make -f ignore missing files. (Bug#15373)
9409
9410 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
9411 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
9412 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
9413
9414 2013-09-14 Glenn Morris <rgm@gnu.org>
9415
9416 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
9417
9418 2013-09-13 Glenn Morris <rgm@gnu.org>
9419
9420 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
9421 (dired-guess-default): Make `file' available in the env. (Bug#15363)
9422
9423 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
9424
9425 * frame.el (x-focus-frame): Mark as declared in frame.c.
9426
9427 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9428
9429 * ls-lisp.el: Use advice-add.
9430 (original-insert-directory): Remove.
9431 (ls-lisp--insert-directory): Rename from insert-directory; add
9432 `orig-fun' argument.
9433 (insert-directory): Advise.
9434
9435 2013-09-13 Eli Zaretskii <eliz@gnu.org>
9436
9437 * term.el (term-emulate-terminal): Decode the command string
9438 before passing it to term-command-hook. (Bug#15337)
9439
9440 2013-09-13 Glenn Morris <rgm@gnu.org>
9441
9442 * eshell/esh-util.el (ange-cache): Move declaration earlier.
9443
9444 * eshell/esh-ext.el (eshell-search-path): Declare.
9445
9446 * eshell/em-prompt.el (eshell/pwd): Autoload it.
9447 Otherwise an error occurs if eshell-dirs module not loaded.
9448
9449 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
9450
9451 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
9452
9453 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
9454 `tramp-check-proper-host'. Check for a valid method name.
9455
9456 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9457 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9458 * net/tramp-sh.el (tramp-maybe-open-connection):
9459 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
9460
9461 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
9462 also for hash values.
9463
9464 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9465
9466 * term/ns-win.el (parameters): Don't declare as dynamic.
9467 (before-make-frame-hook): Don't add ineffective function.
9468
9469 * eshell/*.el: Use lexical-binding (bug#15231).
9470
9471 2013-09-12 Kenichi Handa <handa@gnu.org>
9472
9473 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
9474
9475 2013-09-12 Glenn Morris <rgm@gnu.org>
9476
9477 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
9478 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
9479
9480 * subr.el (do-after-load-evaluation): Also give compiler warnings
9481 when obsolete files are used (except by obsolete files).
9482
9483 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
9484 in the status output, assume `filename' is the first. (Bug#15322)
9485
9486 * vc/vc.el (vc-deduce-fileset): Doc fix.
9487
9488 * calc/calc-help.el (Info-goto-node):
9489 * progmodes/cperl-mode.el (Info-find-node):
9490 * vc/ediff.el (Info-goto-node): Update declarations.
9491
9492 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
9493
9494 * vc/vc-bzr.el (vc-compilation-mode): Declare.
9495 (vc-bzr-pull): Require vc-dispatcher.
9496 * vc/vc-git.el (vc-compilation-mode): Declare.
9497 (vc-git-pull): Require vc-dispatcher.
9498
9499 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
9500
9501 * progmodes/octave.el (help-button-action): Declare.
9502
9503 * shell.el (shell-directory-tracker): Output error as a message
9504 rather than just returning it as a string.
9505 (shell-process-pushd): Remove useless use of message.
9506
9507 * dframe.el (dframe-timer-fn):
9508 * files.el (dir-locals-read-from-file):
9509 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
9510 (mpc-format):
9511 * reveal.el (reveal-post-command):
9512 * saveplace.el (load-save-place-alist-from-file):
9513 * shell.el (shell-resync-dirs):
9514 * w32-common-fns.el (x-get-selection-value):
9515 * emacs-lisp/copyright.el (copyright-find-copyright):
9516 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
9517 * emulation/tpu-edt.el (tpu-copy-keyfile):
9518 * play/bubbles.el (bubbles--mark-neighbourhood):
9519 * progmodes/executable.el
9520 (executable-make-buffer-file-executable-if-script-p):
9521 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
9522
9523 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9524
9525 Cleanup Eshell to rely less on dynamic scoping.
9526 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
9527 last-value, and ext-command here. Bind `args' closer to `body'.
9528 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
9529 (eshell--args): Declare new dynamic var.
9530 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
9531 last-value, and ext-command. Pass `args' to `body'.
9532 (eshell-process-args): Bind eshell--args.
9533 (eshell-set-option): Use eshell--args.
9534 * eshell/eshell.el (eshell): Use derived-mode-p.
9535 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
9536 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
9537 (eshell-glob-function): Declare.
9538 * eshell/esh-util.el: Require cl-lib.
9539 (eshell-read-hosts-file): Avoid add-to-list.
9540 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
9541 `err'.
9542 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
9543 Declare.
9544 (eshell/diff): Remove unused var `err'.
9545 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
9546 `killflag'.
9547 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
9548 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
9549 first use.
9550 * eshell/em-glob.el (eshell-glob-matches, message-shown):
9551 Move declaration before first use.
9552 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
9553 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
9554 rely on cl-return.
9555
9556 2013-09-12 Glenn Morris <rgm@gnu.org>
9557
9558 * term/ns-win.el (global-map): Remove binding for ispell-next,
9559 deleted 1999-05-29. (Bug#15357)
9560
9561 2013-09-11 Glenn Morris <rgm@gnu.org>
9562
9563 * echistory.el (electric-command-history): Remove call to deleted func.
9564
9565 * play/landmark.el (landmark-mode): Fix typos.
9566
9567 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
9568 Check cvs-sort-ignore-file is bound.
9569
9570 * savehist.el: No need for cl when compiling on Emacs.
9571
9572 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9573
9574 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
9575 (bug#15338).
9576 (eshell-self-insert-command, eshell-send-invisible):
9577 Remove unused argument.
9578 (eshell-handle-control-codes): Remove unused var `orig'.
9579 Avoid delete-backward-char.
9580
9581 * files.el (set-auto-mode): Simplify a bit further.
9582
9583 2013-09-11 Glenn Morris <rgm@gnu.org>
9584
9585 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
9586 (set-auto-mode): Don't regexp-quote elements.
9587 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
9588 * progmodes/cc-mode.el (interpreter-mode-alist):
9589 * progmodes/ruby-mode.el (interpreter-mode-alist):
9590 Revert previous change.
9591
9592 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9593
9594 * play/snake.el (snake-mode):
9595 * play/mpuz.el (mpuz-mode):
9596 * play/landmark.el (lm-mode):
9597 * play/blackbox.el (blackbox-mode):
9598 * play/5x5.el (5x5-mode):
9599 * obsolete/options.el (Edit-options-mode):
9600 * net/quickurl.el (quickurl-list-mode):
9601 * net/newst-treeview.el (newsticker-treeview-mode):
9602 * mail/rmailsum.el (rmail-summary-mode):
9603 * mail/mspools.el (mspools-mode):
9604 * locate.el (locate-mode):
9605 * ibuffer.el (ibuffer-mode):
9606 * emulation/ws-mode.el (wordstar-mode):
9607 * emacs-lisp/debug.el (debugger-mode):
9608 * array.el (array-mode):
9609 * net/eudc.el (eudc-mode): Use define-derived-mode.
9610 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
9611 Move initialization into declaration.
9612 (mairix-searches-mode): Use define-derived-mode.
9613 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
9614 (eudc-edit-hotlist): Use dolist.
9615 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
9616 (Man-mode): Use define-derived-mode.
9617 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
9618 (Info-edit-mode): Use define-derived-mode.
9619 (Info-cease-edit): Use Info-mode.
9620 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
9621 into declaration.
9622 (eshell-mode): Use define-derived-mode.
9623 * chistory.el (command-history-mode-map): Rename from
9624 command-history-map.
9625 (command-history-mode): Use define-derived-mode.
9626 (Command-history-setup): Remove function.
9627 * calc/calc.el (calc-trail-mode-map): New var.
9628 (calc-trail-mode): Use define-derived-mode.
9629 (calc-trail-buffer): Set calc-main-buffer manually.
9630 * bookmark.el (bookmark-insert-annotation): New function.
9631 (bookmark-edit-annotation): Use it.
9632 (bookmark-edit-annotation-mode): Make it a proper major mode.
9633 (bookmark-send-edited-annotation): Use derived-mode-p.
9634 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
9635 closer to its ideal place. Use \' to match EOS.
9636
9637 * profiler.el (profiler-calltree-find): Use function-equal.
9638
9639 2013-09-10 Glenn Morris <rgm@gnu.org>
9640
9641 * files.el (interpreter-mode-alist): Convert to regexps.
9642 (set-auto-mode): Adapt for this. (Bug#15306)
9643 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
9644 Comment out unused variable.
9645 * progmodes/cc-mode.el (interpreter-mode-alist):
9646 * progmodes/python.el (interpreter-mode-alist):
9647 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
9648 * progmodes/sh-script.el (sh-set-shell):
9649 No longer use interpreter-mode-alist to get list of shells.
9650
9651 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
9652
9653 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9654
9655 * simple.el: Use set-temporary-overlay-map for universal-argument.
9656 (universal-argument-map): Don't use default-bindings (bug#15317).
9657 Bind switch-frame explicitly. Replace universal-argument-minus with
9658 a conditional binding.
9659 (universal-argument-num-events, saved-overriding-map): Remove.
9660 (restore-overriding-map): Remove.
9661 (universal-argument--mode): Rename from save&set-overriding-map,
9662 and rewrite.
9663 (universal-argument, universal-argument-more, negative-argument)
9664 (digit-argument): Adjust accordingly.
9665 (universal-argument-minus): Remove.
9666 (universal-argument-other-key): Remove.
9667
9668 * subr.el (with-demoted-errors): Add `format' argument.
9669
9670 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
9671
9672 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
9673 `tramp-cleanup-connection'.
9674
9675 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
9676 parameters KEEP-DEBUG and KEEP-PASSWORD.
9677
9678 * net/tramp.el (tramp-file-name-handler):
9679 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
9680 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
9681 (tramp-maybe-open-connection):
9682 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
9683 Use `tramp-cleanup-connection'.
9684
9685 * net/tramp-sh.el (tramp-maybe-open-connection):
9686 Catch 'uname-changed inside the progress reporter.
9687
9688 2013-09-10 Glenn Morris <rgm@gnu.org>
9689
9690 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
9691
9692 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
9693 returns "alternate access method" in mode (eg "-rw-r--r--.").
9694
9695 2013-09-08 Glenn Morris <rgm@gnu.org>
9696
9697 * saveplace.el (load-save-place-alist-from-file):
9698 Demote errors. (Bug#15305)
9699
9700 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
9701
9702 Improve compatibility with older Emacsen, and XEmacs.
9703
9704 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
9705 only if it is bound. It isn't for XEmacs.
9706 (with-tramp-progress-reporter): Do not let-bind `result'.
9707 This yields to scoping errors in XEmacs.
9708 (tramp-handle-make-auto-save-file-name): New function, moved from
9709 tramp-sh.el.
9710
9711 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
9712 for `make-auto-save-file-name'.
9713 (tramp-adb--gnu-switches-to-ash):
9714 Use `tramp-compat-replace-regexp-in-string'.
9715
9716 * net/tramp-cache.el (tramp-cache-print): Call
9717 `substring-no-properties' only if it is bound. It isn't for XEmacs.
9718
9719 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
9720 bound. It isn't for XEmacs.
9721
9722 * net/tramp-compat.el (tramp-compat-copy-file):
9723 Catch `wrong-number-of-arguments' error.
9724 (tramp-compat-replace-regexp-in-string): New defun.
9725
9726 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
9727 for `make-auto-save-file-name'.
9728 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
9729 `copy-file'.
9730 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
9731 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
9732 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
9733
9734 * net/tramp-gw.el (tramp-gw-open-network-stream):
9735 Use `tramp-compat-replace-regexp-in-string'.
9736
9737 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
9738 Call `tramp-handle-make-auto-save-file-name'.
9739 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
9740 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9741 (tramp-sh-file-inotifywait-process-filter):
9742 Use `tramp-compat-replace-regexp-in-string'.
9743 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
9744
9745 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
9746 for `make-auto-save-file-name'.
9747 (tramp-smb-handle-copy-directory):
9748 Call `tramp-compat-replace-regexp-in-string'.
9749 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
9750 (tramp-smb-handle-copy-file): Improve error message.
9751 (tramp-smb-handle-rename-file): Rename directly only in case
9752 `newname' does not exist yet. This is a restriction of smbclient.
9753 (tramp-smb-maybe-open-connection): Rerun the function only when
9754 `auth-sources' is non-nil.
9755
9756 2013-09-08 Kenichi Handa <handa@gnu.org>
9757
9758 * international/characters.el: Set category "^" (Combining) for
9759 more characters.
9760
9761 2013-09-07 Alan Mackenzie <acm@muc.de>
9762
9763 Correctly fontify Java class constructors.
9764 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
9765 in Java Mode.
9766 (c-recognize-typeless-decls): Set the Java value to t.
9767 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
9768 While handling a "(", add a check for, effectively, Java, and handle a
9769 "typeless" declaration there.
9770
9771 2013-09-07 Roland Winkler <winkler@gnu.org>
9772
9773 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
9774 field subtitle for entry type book.
9775
9776 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9777
9778 * minibuffer.el: Make minibuffer-complete call completion-in-region
9779 rather than other way around.
9780 (completion--some, completion-pcm--find-all-completions):
9781 Don't delay signals when debugging.
9782 (minibuffer-completion-contents): Beware fields within the
9783 minibuffer contents.
9784 (completion-all-sorted-completions): Use defvar-local.
9785 (completion--do-completion, completion--cache-all-sorted-completions)
9786 (completion-all-sorted-completions, minibuffer-force-complete):
9787 Add args `beg' and `end'.
9788 (completion--in-region-1): New fun, extracted from minibuffer-complete.
9789 (minibuffer-complete): Use completion-in-region.
9790 (completion-complete-and-exit): New fun, extracted from
9791 minibuffer-complete-and-exit.
9792 (minibuffer-complete-and-exit): Use it.
9793 (completion--complete-and-exit): Rename from
9794 minibuffer--complete-and-exit.
9795 (completion-in-region--single-word): New function, extracted from
9796 minibuffer-complete-word.
9797 (minibuffer-complete-word): Use it.
9798 (display-completion-list): Make `common-substring' argument obsolete.
9799 (completion--in-region): Call completion--in-region-1 instead of
9800 minibuffer-complete.
9801 (completion-help-at-point): Pass boundaries to
9802 minibuffer-completion-help as args rather than via an overlay.
9803 (completion-pcm--string->pattern): Use `any-delim'.
9804 (completion-pcm--optimize-pattern): New function.
9805 (completion-pcm--pattern->regex): Handle `any-delim'.
9806 * icomplete.el (icomplete-forward-completions)
9807 (icomplete-backward-completions, icomplete-completions):
9808 Adjust calls to completion-all-sorted-completions and
9809 completion--cache-all-sorted-completions.
9810 (icomplete-with-completion-tables): Default to t.
9811 * emacs-lisp/crm.el (crm--current-element): Rename from
9812 crm--select-current-element. Don't put an overlay but return the
9813 boundaries instead.
9814 (crm--completion-command): Take two new args to bind to the boundaries.
9815 (crm-completion-help): Adjust accordingly.
9816 (crm-complete): Use completion-in-region.
9817 (crm-complete-word): Use completion-in-region--single-word.
9818 (crm-complete-and-exit): Use completion-complete-and-exit.
9819
9820 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9821
9822 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
9823 than dynamically.
9824
9825 2013-09-06 Juri Linkov <juri@jurta.org>
9826
9827 * info.el (Info-display-images-node): When image file doesn't exist
9828 display text version of the image if it's provided in the Info file.
9829 Otherwise, display the location of missing image from SRC attribute.
9830 Add help-echo text property from ALT attribute. (Bug#15279)
9831
9832 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
9833
9834 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
9835 (edit-abbrevs-mode): Use define-derived-mode.
9836
9837 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
9838 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
9839 that it's defined.
9840 (epa-key-list-mode, epa-key-mode, epa-info-mode):
9841 Use define-derived-mode.
9842
9843 * epg.el (epg-start-encrypt): Minor CSE simplification.
9844
9845 2013-09-06 William Xu <william.xwl@gmail.com>
9846
9847 * arc-mode.el: Add support for 7za (bug#15264).
9848 (archive-7z-program): New var.
9849 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
9850 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
9851 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
9852
9853 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
9854
9855 Remove URL syntax.
9856
9857 * net/tramp.el (tramp-syntax, tramp-prefix-format)
9858 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
9859 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
9860 (tramp-postfix-host-format, tramp-file-name-regexp)
9861 (tramp-completion-file-name-regexp)
9862 (tramp-completion-dissect-file-name)
9863 (tramp-handle-substitute-in-file-name): Remove 'url case.
9864 (tramp-file-name-regexp-url)
9865 (tramp-completion-file-name-regexp-url): Remove constants.
9866
9867 2013-09-06 Glenn Morris <rgm@gnu.org>
9868
9869 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
9870
9871 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
9872
9873 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
9874 keywords" below "here-doc beginnings" (Bug#15270).
9875
9876 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9877
9878 * subr.el (pop): Use `car-safe'.
9879 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
9880 to detect unused `pop' return value.
9881
9882 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
9883 var `block-regexp'.
9884 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
9885 (python-fill-string): Remove unused var `marker'.
9886 (python-skeleton-add-menu-items): Remove unused var `items'.
9887
9888 * international/mule-cmds.el: Require CL.
9889 (find-coding-systems-for-charsets): Avoid add-to-list.
9890 (sanitize-coding-system-list): New function, extracted from
9891 select-safe-coding-system-interactively.
9892 (select-safe-coding-system-interactively): Use it.
9893 (read-input-method-name): Accept symbols for `default'.
9894
9895 * emacs-lisp/advice.el (defadvice): Add indent rule.
9896
9897 2013-09-05 Daniel Hackney <dan@haxney.org>
9898
9899 * dired-x.el:
9900 * net/ange-ftp.el:
9901 * net/browse-url.el:
9902 * net/dbus.el:
9903 * net/eudc.el:
9904 * net/eudcb-ldap.el:
9905 * net/eww.el:
9906 * net/imap.el:
9907 * printing.el:
9908 * vc/ediff-diff.el:
9909 * vc/ediff-init.el:
9910 * vc/ediff-merg.el:
9911 * vc/ediff-mult.el:
9912 * vc/ediff-util.el:
9913 * vc/ediff-wind.el:
9914 * vc/ediff.el:
9915 * vc/emerge.el:
9916 * vc/pcvs.el:
9917 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
9918 byte compiler. Remove some unused let-bound variables.
9919
9920 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
9921
9922 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
9923 a "ref-cell", since it gets better optimized (bug#14883).
9924
9925 2013-09-05 Glenn Morris <rgm@gnu.org>
9926
9927 * progmodes/cc-awk.el (c-forward-sws): Declare.
9928
9929 2013-09-04 Glenn Morris <rgm@gnu.org>
9930
9931 * generic-x.el [rul-generic-mode]: Require cc-mode.
9932 (c++-mode-syntax-table): Declare.
9933 (rul-generic-mode-syntax-table): Init in the defvar.
9934
9935 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
9936
9937 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
9938 (vc-do-command, vc-set-async-update):
9939 * vc/vc-mtn.el (vc-mtn-dir-status):
9940 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
9941 (vc-hg-pull, vc-hg-merge-branch):
9942 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
9943 (vc-git-merge-branch):
9944 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
9945 (vc-cvs-dir-status-files):
9946 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
9947 (vc-bzr-dir-status-files):
9948 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
9949 * vc/vc-annotate.el: Use lexical-binding.
9950 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
9951 (vc-sentinel-movepoint): Declare.
9952 (vc-annotate): Don't use `goto-line'.
9953 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
9954 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
9955 (vc-sentinel-movepoint): Declare.
9956 * vc/vc-svn.el: Use lexical-binding.
9957 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
9958 * vc/vc-sccs.el:
9959 * vc/vc-rcs.el: Use lexical-binding.
9960
9961 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
9962 `deleted'. Don't drop errors silently.
9963
9964 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
9965
9966 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
9967
9968 * vc/vc.el (vc-ignore): Rewrite.
9969 (vc-default-ignore): New function.
9970 (vc-default-ignore-completion-table): Use find-ignore-file.
9971
9972 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
9973 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
9974 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
9975 Remove. Most code moved to vc.el.
9976
9977 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
9978
9979 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
9980 * net/tramp-smb.el (tramp-smb-get-file-entries):
9981 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
9982 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
9983
9984 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
9985 Update call to it.
9986 (eww-change-select): Remove unused var `properties'.
9987 (eww-make-unique-file-name): Remove unused var `base'.
9988
9989 * finder.el (finder-compile-keywords): Don't mess with windows.
9990
9991 * calculator.el (calculator-funcall): Fix typo in last change.
9992
9993 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
9994
9995 * emacs-lisp/package.el (package-activate-1): Don't let a missing
9996 <pkg>-autoloads.el file stop us.
9997
9998 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
9999 warnings, and factor out common code.
10000
10001 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
10002
10003 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
10004 two-character operators and whether the character preceding them
10005 changes their meaning (Bug#15208).
10006
10007 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10008
10009 Format code sent to Python shell for robustness.
10010 * progmodes/python.el (python-shell-buffer-substring):
10011 New function.
10012 (python-shell-send-region, python-shell-send-buffer): Use it.
10013
10014 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
10015
10016 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
10017 * net/tramp.el (tramp-user-error): ... here.
10018 (tramp-find-method, tramp-check-proper-host)
10019 (tramp-dissect-file-name, tramp-debug-message)
10020 (tramp-handle-shell-command):
10021 * net/tramp-adb.el (tramp-adb-handle-shell-command):
10022 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
10023
10024 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
10025
10026 2013-09-02 Martin Rudalics <rudalics@gmx.at>
10027
10028 * avoid.el (mouse-avoidance-point-position)
10029 (mouse-avoidance-too-close-p): Handle case where posn-at-point
10030 returns nil.
10031
10032 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
10033
10034 * progmodes/python.el (python-shell-completion-get-completions):
10035 Drop use of deleted `comint-last-prompt-overlay'.
10036 (python-nav-if-name-main): New command.
10037
10038 2013-09-01 Glenn Morris <rgm@gnu.org>
10039
10040 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
10041 Avoid leading space in $wins. Otherwise the sed command used by
10042 eg compile-main ends up containing "/*.el". (Bug#15170)
10043
10044 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
10045
10046 2013-08-30 Glenn Morris <rgm@gnu.org>
10047
10048 * emacs-lisp/bytecomp.el (byte-recompile-directory):
10049 Fix is-this-a-directory logic. (Bug#15220)
10050
10051 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10052
10053 * textmodes/css-mode.el: Use SMIE.
10054 (css-smie-grammar): New var.
10055 (css-smie--forward-token, css-smie--backward-token)
10056 (css-smie-rules): New functions.
10057 (css-mode): Use them.
10058 (css-navigation-syntax-table): Remove var.
10059 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
10060 (css-indent-calculate, css-indent-line): Remove functions.
10061
10062 Misc changes to reduce use of `(lambda...); and other cleanups.
10063 * cus-edit.el: Use lexical-binding.
10064 (customize-push-and-save, customize-apropos)
10065 (custom-buffer-create-internal): Use closures.
10066 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
10067 * progmodes/ada-xref.el: Use setq.
10068 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
10069 * dframe.el: Use lexical-binding.
10070 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
10071 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
10072 * descr-text.el: Use lexical-binding.
10073 (describe-text-widget, describe-text-sexp, describe-property-list):
10074 Use closures.
10075 * comint.el (comint-history-isearch-push-state): Use a closure.
10076 * calculator.el: Use lexical-binding.
10077 (calculator-number-to-string): Make it work with lexical-binding.
10078 (calculator-funcall): Same and use cl-letf.
10079
10080 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
10081 (lisp--company-doc-string, lisp--company-location): New functions.
10082 (lisp-completion-at-point): Use them to improve Company support.
10083
10084 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
10085 params of lambda expressions.
10086 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
10087 (ruby-smie--opening-pipe-p): New function.
10088 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
10089 symbols and matched |...| for formal params.
10090 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
10091 from being treated as hanging. Handle "rescue".
10092
10093 2013-08-29 Glenn Morris <rgm@gnu.org>
10094
10095 * progmodes/cc-engine.el (c-pull-open-brace):
10096 Move definition before use.
10097
10098 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10099
10100 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
10101 are immutable. Don't use `unsafe' any more.
10102 (cl--defsubst-expand): Don't substitute at the same time as keeping
10103 a residual unused let-binding. Don't use `unsafe' any more.
10104
10105 2013-08-29 Glenn Morris <rgm@gnu.org>
10106
10107 * calendar/cal-china.el (calendar-chinese-year-cache):
10108 Recenter on 2015.
10109
10110 * nxml/nxml-util.el (nxml-debug-clear-inside):
10111 Use cl-loop rather than loop.
10112
10113 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
10114
10115 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
10116
10117 2013-08-28 Glenn Morris <rgm@gnu.org>
10118
10119 * progmodes/antlr-mode.el: No need to require cc-mode twice.
10120
10121 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
10122
10123 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
10124
10125 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10126
10127 * simple.el (repeat-complex-command--called-interactively-skip):
10128 New function.
10129 (repeat-complex-command): Use it (bug#14136).
10130
10131 * progmodes/cc-mode.el: Minor cleanup of var declarations.
10132 (c-define-abbrev-table): Add `doc' argument.
10133 (c-mode-abbrev-table, c++-mode-abbrev-table)
10134 (objc-mode-abbrev-table, java-mode-abbrev-table)
10135 (idl-mode-abbrev-table, pike-mode-abbrev-table)
10136 (awk-mode-abbrev-table): Use it.
10137 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
10138 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
10139 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
10140 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
10141 Move initialization into the declaration; and remove any
10142 autoload cookie.
10143
10144 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
10145 and dynamic let binding.
10146
10147 * vc/smerge-mode.el: Remove redundant :group args.
10148
10149 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
10150 to load-path.
10151
10152 2013-08-28 Juri Linkov <juri@jurta.org>
10153
10154 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
10155 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
10156 (isearch-other-meta-char): Handle an undefined shifted printing
10157 character by downshifting it. (Bug#15200)
10158
10159 2013-08-28 Juri Linkov <juri@jurta.org>
10160
10161 * isearch.el (isearch-search): Change regexp error message for
10162 non-regexp searches. (Bug#15166)
10163
10164 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
10165
10166 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
10167 for portability to hosts where /bin/sh has problems.
10168
10169 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10170
10171 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
10172
10173 2013-08-27 Juri Linkov <juri@jurta.org>
10174
10175 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
10176 in the keyboard macro. (Bug#15126)
10177
10178 2013-08-27 Juri Linkov <juri@jurta.org>
10179
10180 * isearch.el (isearch-quote-char): Comment out converting unibyte
10181 to multibyte, thus syncing with its `quoted-insert' counterpart.
10182 (Bug#15166)
10183
10184 2013-08-27 Martin Rudalics <rudalics@gmx.at>
10185
10186 * window.el (display-buffer-use-some-window): Add missing
10187 argument in call of get-largest-window (Bug#15185).
10188 Reported by Stephen Leake.
10189
10190 2013-08-27 Glenn Morris <rgm@gnu.org>
10191
10192 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
10193
10194 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10195
10196 * progmodes/python.el (python-font-lock-keywords): Don't return nil
10197 from a matcher-function unless there's no more matches (bug#15161).
10198
10199 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10200
10201 * minibuffer.el: Revert change from 2013-08-20.
10202
10203 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
10204 with text property `tramp-default', if appropriate.
10205 (tramp-check-proper-host): New defun.
10206 (tramp-dissect-file-name): Do not check hostname. Revert change
10207 of 2013-03-18.
10208 (tramp-backtrace): Make VEC-OR-PROC optional.
10209
10210 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
10211 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
10212 * net/tramp-sh.el (tramp-maybe-open-connection):
10213 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
10214 Apply `tramp-check-proper-host'.
10215
10216 2013-08-26 Tassilo Horn <tsdh@gnu.org>
10217
10218 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
10219 lambda expression in order to have `describe-variable' display it.
10220
10221 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
10222
10223 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
10224 BUF can be optional. (Bug#15186)
10225
10226 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
10227
10228 * progmodes/flymake.el (flymake-get-real-file-name-function):
10229 Fix broken customization. (Bug#15184)
10230
10231 2013-08-25 Alan Mackenzie <acm@muc.de>
10232
10233 Improve indentation of bracelists defined by macros (without "=").
10234
10235 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
10236 expansion begins with "{", regard it as bracelist when it doesn't
10237 contain a ";".
10238
10239 Parse C++ inher-intro when there's a template split over 2 lines.
10240
10241 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
10242 rigorously the search for "class" etc. followed by ":".
10243
10244 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
10245 random languages a regexp which never matches rather than nil.
10246
10247 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
10248
10249 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
10250 (c-awk-regexp-one-line-possibly-open-char-list-re)
10251 (c-awk-one-line-possibly-open-regexp-re)
10252 (c-awk-one-line-non-syn-ws*-re): Remove.
10253 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
10254 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
10255 (c-awk-space*-unclosed-regexp-/-re): New constants.
10256 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
10257 aren't regexp delimiters.
10258
10259 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
10260 handling for a rare situation in AWK Mode involving unterminated
10261 strings/regexps.
10262
10263 2013-08-23 Glenn Morris <rgm@gnu.org>
10264
10265 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
10266
10267 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
10268
10269 * files.el (create-file-buffer): If the result would begin with
10270 spaces, prepend a "|" instead of removing them. (Bug#15162)
10271
10272 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
10273
10274 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
10275 text-properties (bug#15155).
10276
10277 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
10278 exist any more.
10279 (calc-keypad-redraw): Remove unused var `pad'.
10280 (calc-keypad-press): Remove unused var `menu'.
10281
10282 2013-08-23 Martin Rudalics <rudalics@gmx.at>
10283
10284 * window.el (display-buffer-pop-up-frame):
10285 Call pop-up-frame-function with BUFFER current so `make-frame' will
10286 use it as the new frame's buffer (Bug#15133).
10287
10288 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
10289
10290 * calendar/timeclock.el: Minor cleanups.
10291 (timeclock-ask-before-exiting, timeclock-use-display-time):
10292 Use `symbol'.
10293 (timeclock-modeline-display): Define as alias before the
10294 actual definition.
10295 (timeclock-mode-line-display): Use define-minor-mode.
10296 (timeclock-day-list-template): Make it a function, add an argument.
10297 (timeclock-day-list-required, timeclock-day-list-length)
10298 (timeclock-day-list-debt, timeclock-day-list-span)
10299 (timeclock-day-list-break): Adjust calls accordingly.
10300
10301 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10302
10303 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
10304 Use read--expression so that completion works again.
10305
10306 2013-08-21 Sam Steingold <sds@gnu.org>
10307
10308 Add rudimentary inferior shell interaction
10309 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
10310 (sh-set-shell): Reset it.
10311 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
10312 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
10313
10314 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
10315
10316 * align.el: Use lexical-binding.
10317 (align-region): Simplify accordingly.
10318
10319 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
10320
10321 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
10322
10323 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
10324 `non-essential' up.
10325
10326 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
10327
10328 * net/tramp.el:
10329 * net/tramp-adb.el:
10330 * net/tramp-cmds.el:
10331 * net/tramp-ftp.el:
10332 * net/tramp-gvfs.el:
10333 * net/tramp-gw.el:
10334 * net/tramp-sh.el: Don't wrap external variable declarations by
10335 `eval-when-compile'.
10336
10337 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
10338
10339 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
10340 now that Emacs supports ImageMagick animations.
10341
10342 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
10343
10344 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
10345 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
10346
10347 2013-08-16 Martin Rudalics <rudalics@gmx.at>
10348
10349 * window.el (mouse-autoselect-window-select): Do autoselect when
10350 mouse pointer is on margin.
10351
10352 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
10353
10354 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
10355
10356 2013-08-16 Glenn Morris <rgm@gnu.org>
10357
10358 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
10359 Handle "Remote Directory" response of some clients. (Bug#15058)
10360
10361 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
10362 Tweak warning. (Bug#14926)
10363
10364 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
10365 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
10366
10367 * image-mode.el (image-mode-map): Add menu items to reverse,
10368 increase, decrease, reset animation speed.
10369 (image--set-speed, image-increase-speed, image-decrease-speed)
10370 (image-reverse-speed, image-reset-speed): New functions.
10371 (image-mode-map): Add bindings for speed commands.
10372
10373 * image.el (image-animate-get-speed, image-animate-set-speed):
10374 New functions.
10375 (image-animate-timeout): Respect image :speed property.
10376
10377 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
10378
10379 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
10380 previous line (bug#15101).
10381 (debugger-eval-expression, debugger-record-expression):
10382 Use read--expression (bug#15102).
10383
10384 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
10385
10386 Remove byte compiler warnings, visible when compiling with
10387 `byte-compile-force-lexical-warnings' set to t.
10388
10389 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
10390 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
10391 (tramp-handle-unhandled-file-name-directory)
10392 (tramp-handle-file-notify-add-watch, tramp-action-login)
10393 (tramp-action-succeed, tramp-action-permission-denied)
10394 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
10395 arguments with "_".
10396
10397 * net/tramp-adb.el (tramp-adb-parse-device-names)
10398 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
10399 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
10400 (tramp-adb-handle-file-truename): Remove unused arguments.
10401
10402 * net/tramp-cache.el (tramp-flush-directory-property)
10403 (tramp-flush-connection-property, tramp-list-connections)
10404 (tramp-parse-connection-properties): Prefix unused arguments with "_".
10405
10406 * net/tramp-compat.el (tramp-compat-make-temp-file):
10407 Rename FILENAME to F.
10408
10409 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
10410 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
10411 (tramp-zeroconf-parse-workstation-device-names)
10412 (tramp-zeroconf-parse-webdav-device-names)
10413 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
10414
10415 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
10416 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
10417
10418 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
10419 arguments.
10420 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
10421 (tramp-sh-handle-insert-file-contents-literally)
10422 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
10423 with "_".
10424 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
10425 Remove unused variables.
10426
10427 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
10428 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
10429 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
10430
10431 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
10432 Make them a defconst.
10433 (tramp-uuencode-region): Remove unused variable.
10434
10435 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
10436
10437 * frameset.el (frameset--prop-setter): New function.
10438 (frameset-prop): Add gv-setter declaration.
10439 (frameset-filter-minibuffer): Deal with the case that the minibuffer
10440 parameter was already set in FILTERED. Doc fix.
10441 (frameset--record-minibuffer-relationships): Allow saving a
10442 minibufferless frame without its corresponding minibuffer frame.
10443 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
10444 frame, if the frame id matches.
10445 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
10446 frames before orphaned ones.
10447 (frameset-restore): Warn about orphaned windows, instead of error out.
10448
10449 2013-08-14 Martin Rudalics <rudalics@gmx.at>
10450
10451 * window.el (window-make-atom): Don't overwrite parameter
10452 already present.
10453 (display-buffer-in-atom-window): Handle special case where we
10454 split an already atomic window.
10455 (window--major-non-side-window, display-buffer-in-side-window)
10456 (window--side-check): Ignore minibuffer window when walking
10457 window tree.
10458 (window-deletable-p): Return 'frame only if no other frame uses
10459 our minibuffer window.
10460 (record-window-buffer): Run buffer-list-update-hook.
10461 (split-window): Make sure window--check-frame won't destroy an
10462 existing atomic window in case the new window gets nested
10463 inside.
10464 (display-buffer-at-bottom): Ignore minibuffer window when
10465 walking window tree. Don't split a side window.
10466 (pop-to-buffer): Don't set-buffer here, the select-window call
10467 should do that.
10468 (mouse-autoselect-window-select): Autoselect only if we are in the
10469 text portion of the window.
10470
10471 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
10472
10473 * net/shr.el (shr-parse-image-data): New function to grab both the
10474 data itself and the Content-Type.
10475 (shr-put-image): Use it.
10476
10477 * net/eww.el (eww-display-image): Ditto.
10478
10479 * image.el (image-content-type-suffixes): New variable.
10480
10481 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
10482
10483 * progmodes/python.el (python-imenu--build-tree)
10484 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
10485
10486 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
10487
10488 * simple.el (backward-word): Mention the optional argument.
10489
10490 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10491
10492 * frameset.el (frameset--make): Rename constructor from make-frameset.
10493 (frameset-p, frameset-valid-p): Don't autoload.
10494 (frameset-valid-p): Use normal accessors.
10495
10496 2013-08-13 Glenn Morris <rgm@gnu.org>
10497
10498 * progmodes/compile.el (compile-command): Tweak example in doc.
10499 * obsolete/scribe.el (scribe-mode):
10500 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
10501
10502 * mail/feedmail.el (feedmail-confirm-outgoing)
10503 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
10504
10505 * cus-start.el (truncate-partial-width-windows): Fix type.
10506
10507 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
10508
10509 * net/shr.el (shr-table-horizontal-line): Fix custom type.
10510
10511 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
10512
10513 * emacs-lisp/timer.el (timer--time-setter): New function.
10514 (timer--time): Use it as gv-setter.
10515
10516 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
10517 setter is not a symbol.
10518
10519 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
10520
10521 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
10522 if sending fails. This makes debugging easier.
10523
10524 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
10525
10526 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
10527 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
10528 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
10529
10530 2013-08-12 Eli Zaretskii <eliz@gnu.org>
10531
10532 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
10533
10534 2013-08-12 Glenn Morris <rgm@gnu.org>
10535
10536 * format.el (format-annotate-function):
10537 Handle read-only text properties in the source. (Bug#14887)
10538
10539 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10540
10541 * net/eww.el (eww-display-html): Ignore coding system errors.
10542 One web site uses "utf-8lias" as the coding system.
10543
10544 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
10545
10546 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
10547
10548 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
10549
10550 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
10551 (tutorial--detailed-help): Remove unused local variables.
10552 (tutorial--save-tutorial-to): Use ignore-errors.
10553 (help-with-tutorial): Use looking-at-p.
10554
10555 * view.el (view-buffer-other-window, view-buffer-other-frame):
10556 Mark unused arguments.
10557
10558 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
10559 (woman-select-symbol-fonts, woman, woman-find-file)
10560 (woman-insert-file-contents, woman-non-underline-faces):
10561 Use string-match-p.
10562 (woman1-unquote): Move declaration.
10563
10564 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
10565 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
10566 argument. Remove unused local variable.
10567 (xml-parse-elem-type): Use string-match-p.
10568 (xml-substitute-numeric-entities): Use ignore-errors.
10569
10570 * calculator.el (calculator): Mark unused argument.
10571 (calculator-paste, calculator-quit, calculator-integer-p):
10572 Use ignore-errors.
10573 (calculator-string-to-number, calculator-decimal, calculator-exp)
10574 (calculator-op-or-exp): Use string-match-p.
10575
10576 * dired.el (dired-buffer-more-recently-used-p): Declare.
10577 (dired-insert-set-properties, dired-insert-old-subdirs):
10578 Use ignore-errors.
10579
10580 * dired-aux.el (dired-compress): Use ignore-errors.
10581 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
10582 (dired-do-async-shell-command, dired-do-shell-command)
10583 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
10584 (dired-insert-subdir-validate): Use string-match-p.
10585 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
10586 (dired-add-entry): Use string-match-p, looking-at-p.
10587 (dired-insert-subdir-newpos): Remove unused local variable.
10588
10589 * filenotify.el (file-notify-callback): Remove unused local variable.
10590
10591 * filesets.el (filesets-error): Mark unused argument.
10592 (filesets-which-command-p, filesets-filter-dir-names)
10593 (filesets-directory-files, filesets-get-external-viewer)
10594 (filesets-ingroup-get-data): Use string-match-p.
10595
10596 * find-file.el (ff-other-file-name, ff-other-file-name)
10597 (ff-find-the-other-file, ff-cc-hh-converter):
10598 Remove unused local variables.
10599 (ff-get-file-name): Use string-match-p.
10600 (ff-all-dirs-under): Use ignore-errors.
10601
10602 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
10603 (follow-select-if-visible): Remove unused local variable.
10604
10605 * forms.el (read-file-filter): Move declaration.
10606 (forms--make-format, forms--make-parser, forms-insert-record):
10607 Quote function with #'.
10608 (forms--update): Use string-match-p. Quote function with #'.
10609
10610 * help-mode.el (help-dir-local-var-def): Mark unused argument.
10611 (help-make-xrefs): Use looking-at-p.
10612 (help-xref-on-pp): Use looking-at-p, ignore-errors.
10613
10614 * ibuffer.el (ibuffer-ext-visible-p): Declare.
10615 (ibuffer-confirm-operation-on): Use string-match-p.
10616
10617 * msb.el (msb-item-handler, msb-dired-item-handler):
10618 Mark unused arguments.
10619
10620 * ses.el (ses-decode-cell-symbol)
10621 (ses-kill-override): Remove unused local variable.
10622 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
10623 (ses-load): Use ignore-errors, looking-at-p.
10624 (ses-jump-safe): Use ignore-errors.
10625 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
10626
10627 * tabify.el (untabify, tabify): Mark unused arguments.
10628
10629 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
10630 Mark unused argument.
10631 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
10632 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
10633
10634 * emacs-lisp/timer.el (timer--time): Define setter with
10635 gv-define-setter to avoid deprecation warning.
10636
10637 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
10638 (*record-cmpl-statistics-p*): Remove (was commented out).
10639 (cmpl-statistics-block): Remove (body was commented out).
10640 All callers changed.
10641 (add-completions-from-buffer, load-completions-from-file):
10642 Remove unused variables.
10643
10644 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10645
10646 * filecache.el (file-cache-delete-file-list):
10647 Print message only when told so.
10648 (file-cache-files-matching): Use #' in mapconcat argument.
10649
10650 * ffap.el (ffap-url-at-point): Fix reference to variable
10651 thing-at-point-default-mail-uri-scheme.
10652
10653 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
10654
10655 * subr.el (define-error): New function.
10656 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
10657 error-file-not-found and define with define-error.
10658 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
10659 and define with define-error.
10660 * userlock.el (file-locked, file-supersession):
10661 * simple.el (mark-inactive):
10662 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
10663 * progmodes/ada-mode.el (ada-mode-errors):
10664 * play/life.el (life-extinct):
10665 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
10666 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
10667 * nxml/rng-util.el (rng-error):
10668 * nxml/rng-uri.el (rng-uri-error):
10669 * nxml/rng-match.el (rng-compile-error):
10670 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
10671 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
10672 * nxml/nxml-rap.el (nxml-scan-error):
10673 * nxml/nxml-outln.el (nxml-outline-error):
10674 * net/soap-client.el (soap-error):
10675 * net/gnutls.el (gnutls-error):
10676 * net/ange-ftp.el (ftp-error):
10677 * mpc.el (mpc-proc-error):
10678 * json.el (json-error, json-readtable-error, json-unknown-keyword)
10679 (json-number-format, json-string-escape, json-string-format)
10680 (json-key-format, json-object-format):
10681 * jka-compr.el (compression-error):
10682 * international/quail.el (quail-error):
10683 * international/kkc.el (kkc-error):
10684 * emacs-lisp/ert.el (ert-test-failed):
10685 * calc/calc.el (calc-error, inexact-result, math-overflow)
10686 (math-underflow):
10687 * bookmark.el (bookmark-error-no-filename):
10688 * epg.el (epg-error): Define with define-error.
10689
10690 * time.el (display-time-event-handler)
10691 (display-time-next-load-average): Don't call sit-for since it seems
10692 unnecessary (bug#15045).
10693
10694 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
10695 Use #' instead of ' to quote functions.
10696 (checkdoc-output-mode): Use setq-local.
10697 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
10698 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
10699 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
10700 (checkdoc-ispell, checkdoc-ispell-current-buffer)
10701 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
10702 (checkdoc-ispell-message-text, checkdoc-ispell-start)
10703 (checkdoc-ispell-continue, checkdoc-ispell-comments)
10704 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
10705
10706 * ido.el (ido-completion-help): Fix up compiler warning.
10707
10708 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
10709
10710 * frameset.el (frameset-p): Add autoload cookie.
10711 (frameset--jump-to-register): New function, based on code moved from
10712 register.el.
10713 (frameset-to-register): Move from register.el. Adapt to `registerv'.
10714
10715 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
10716 (frameset-restore, frameset-save, frameset-session-filter-alist):
10717 Remove declarations.
10718 (register-alist): Doc fix.
10719 (frameset-to-register): Move to frameset.el.
10720 (jump-to-register, describe-register-1): Remove frameset-specific code.
10721
10722 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10723
10724 * allout-widgets.el (allout-widgets-pre-command-business)
10725 (allout-widgets-post-command-business)
10726 (allout-widgets-after-change-handler)
10727 (allout-decorate-item-and-context, allout-set-boundary-marker)
10728 (allout-body-modification-handler)
10729 (allout-graphics-modification-handler): Mark ignored arguments.
10730 (allout-widgets-post-command-business)
10731 (allout-widgets-exposure-change-processor)
10732 (allout-widgets-exposure-undo-processor)
10733 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
10734 (allout-parse-item-at-point, allout-decorate-item-guides)
10735 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
10736 * allout.el (epa-passphrase-callback-function): Declare.
10737 (allout-overlay-insert-in-front-handler)
10738 (allout-overlay-interior-modification-handler)
10739 (allout-isearch-end-handler, allout-chart-siblings)
10740 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
10741 (allout-yank-processing, allout-process-exposed)
10742 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
10743 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
10744 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
10745 (lisp-indent-defform): Mark ignored arguments.
10746 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
10747 (calculate-lisp-indent): Remove unused variables.
10748 * international/characters.el (indian-2-column, arabic-2-column)
10749 (tibetan): Mark ignored arguments.
10750 (use-cjk-char-width-table): Mark ignored arguments.
10751 Remove unused variables.
10752 * international/fontset.el (build-default-fontset-data)
10753 (x-compose-font-name, create-fontset-from-fontset-spec):
10754 Mark ignored arguments.
10755 (fontset-plain-name): Remove unused variables.
10756 * international/mule.el (charset-id, charset-bytes, generic-char-p)
10757 (keyboard-coding-system): Mark ignored arguments.
10758 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
10759 * help.el (resize-temp-buffer-window):
10760 * window.el (display-buffer-in-major-side-window)
10761 (display-buffer-in-side-window, display-buffer-in-previous-window):
10762 Remove unused variables.
10763 * isearch.el (isearch-forward-symbol):
10764 * version.el (emacs-bzr-version-bzr):
10765 * international/mule-cmds.el (current-language-environment):
10766 * term/common-win.el (x-handle-iconic, x-handle-geometry)
10767 (x-handle-display):
10768 * term/pc-win.el (x-list-fonts, x-display-planes)
10769 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
10770 (x-server-version, x-display-screens, x-display-mm-height)
10771 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
10772 (x-selection-owner-p, x-own-selection-internal)
10773 (x-disown-selection-internal, x-get-selection-internal)
10774 (msdos-initialize-window-system):
10775 * term/tty-colors.el (tty-color-alist, tty-color-clear):
10776 * term/x-win.el (x-handle-no-bitmap-icon):
10777 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
10778 (vc-default-find-file-hook, vc-default-extra-menu):
10779 Mark ignored arguments.
10780
10781 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10782
10783 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
10784 break-condition in the context of the debugged code (bug#12685).
10785
10786 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
10787
10788 * comint.el:
10789 Do not use an overlay to highlight the last prompt. (Bug#14744)
10790 (comint-mode): Make comint-last-prompt buffer local.
10791 (comint-last-prompt): New variable.
10792 (comint-last-prompt-overlay): Remove. Superseded by
10793 comint-last-prompt.
10794 (comint-snapshot-last-prompt, comint-output-filter):
10795 Use comint-last-prompt.
10796
10797 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10798
10799 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
10800 (frameset-save): Check validity of the resulting frameset.
10801
10802 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
10803
10804 * ido.el (ido-record-command): Add doc string.
10805
10806 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10807
10808 * frameset.el (frameset): Do not disable creation of the default
10809 frameset-p predicate. Doc fix.
10810 (frameset-valid-p): New function, copied from the old predicate-p.
10811 Add additional checks.
10812 (frameset-restore): Check with frameset-valid-p.
10813 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
10814 (frameset-name, frameset-description, frameset-properties)
10815 (frameset-states): Add docstring.
10816 (frameset-session-filter-alist, frameset-persistent-filter-alist)
10817 (frameset-filter-alist): Doc fixes.
10818
10819 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10820
10821 * frameset.el (frameset-p, frameset-prop): Doc fixes.
10822
10823 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
10824
10825 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
10826 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
10827 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
10828 (byte-compile-normal-call): Remove obsolescence check.
10829
10830 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
10831
10832 * frameset.el (frameset-restore): Doc fix.
10833
10834 * register.el (frameset-frame-id, frameset-frame-with-id)
10835 (frameset-p, frameset-restore, frameset-save): Declare.
10836 (register-alist): Document framesets.
10837 (frameset-session-filter-alist): Declare.
10838 (frameset-to-register): New function.
10839 (jump-to-register): Implement jumping to framesets. Doc fix.
10840 (describe-register-1): Describe framesets.
10841
10842 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
10843
10844 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
10845
10846 * desktop.el (desktop-save-frameset): Use new frameset-save args.
10847 Use lexical-binding.
10848
10849 * frameset.el (frameset): Use type vector, not list (incompatible
10850 change). Do not declare a new constructor, use the default one.
10851 Upgrade suggested properties `app', `name' and `desc' to slots `app',
10852 `name' and `description', respectively, and add read-only slot
10853 `timestamp'. Doc fixes.
10854 (frameset-copy, frameset-persistent-filter-alist)
10855 (frameset-filter-alist, frameset-switch-to-gui-p)
10856 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
10857 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
10858 (frameset-filter-iconified, frameset-keep-original-display-p):
10859 Doc fixes.
10860 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
10861 Rename from frameset-filter-(save|restore)-param. All callers changed.
10862 Doc fix.
10863 (frameset-p): Adapt to change to vector and be more thorough.
10864 Change arg name to OBJECT. Doc fix.
10865 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
10866 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
10867 All callers changed.
10868 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
10869 All callers changed.
10870 (frameset--record-minibuffer-relationships): Rename from
10871 frameset--process-minibuffer-frames. All callers changed.
10872 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
10873 Use new default constructor (again). Doc fix.
10874 (frameset--find-frame-if): Rename from `frameset--find-frame'.
10875 All callers changed.
10876 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
10877 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
10878 Doc fix.
10879 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
10880 PARAMETERS and WINDOW-STATE, respectively.
10881 (frameset-restore): Add new keyword argument PREDICATE.
10882 Reset frameset--target-display to nil. Doc fix.
10883
10884 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10885
10886 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
10887 (bat-mode): Use it.
10888 (bat-mode-syntax-table): Mark \n as end-of-comment.
10889 (bat-font-lock-keywords): Remove comment rule.
10890
10891 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
10892 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
10893
10894 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
10895 (byte-compile-callargs-warn): Use `push'.
10896 (byte-compile-arglist-warn): Ignore higher-order "calls".
10897 (byte-compile-file-form-autoload): Use `pcase'.
10898 (byte-compile-function-form): If quoting a symbol, check that it exists.
10899
10900 2013-08-07 Eli Zaretskii <eliz@gnu.org>
10901
10902 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
10903 and add a few popular commands found in batch files.
10904 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
10905 (dos-mode): Doc fixes.
10906
10907 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
10908
10909 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
10910 (dos-mode): Use setq-local. Add space after "rem".
10911 (dos-mode-syntax-table): Don't use "w" for symbol chars.
10912 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
10913
10914 2013-08-07 Arni Magnusson <arnima@hafro.is>
10915
10916 * progmodes/dos.el: New file.
10917 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
10918 dos-mode.
10919
10920 2013-08-06 Glenn Morris <rgm@gnu.org>
10921
10922 * calendar/calendar.el: Add new faces, and day-header-array.
10923 (calendar-weekday-header, calendar-weekend-header)
10924 (calendar-month-header): New faces.
10925 (calendar-day-header-construct): New function.
10926 (calendar-day-header-width): Also :set calendar-day-header-array.
10927 (calendar-american-month-header, calendar-european-month-header)
10928 (calendar-iso-month-header): Use calendar- faces.
10929 (calendar-generate-month):
10930 Use calendar-day-header-array for day headers; apply faces to them.
10931 (calendar-mode): Check calendar-font-lock-keywords non-nil.
10932 (calendar-abbrev-construct): Add optional maxlen argument.
10933 (calendar-day-name-array): Doc fix.
10934 (calendar-day-name-array, calendar-abbrev-length)
10935 (calendar-day-abbrev-array):
10936 Also :set calendar-day-header-array, and maybe redraw.
10937 (calendar-day-header-array): New option. (Bug#15007)
10938 (calendar-font-lock-keywords): Set to nil and make obsolete.
10939 (calendar-day-name): Add option to use header array.
10940
10941 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
10942
10943 * net/shr.el (shr-render-td): Remove debugging.
10944 (shr-render-td): Make width computation consistent by defaulting
10945 all zero-width columns to 10 characters. This may not be optimal,
10946 but it's at least consistent.
10947 (shr-make-table-1): Redo last change to fix the real problem in
10948 colspan handling.
10949
10950 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10951
10952 * files.el (cache-long-line-scans):
10953 Make obsolete alias to `cache-long-scans'.
10954
10955 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10956
10957 * frameset.el (frameset, frameset-filter-alist)
10958 (frameset-filter-params, frameset-save, frameset--reuse-frame)
10959 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
10960 (frameset-compute-pos): Rename from frameset--compute-pos,
10961 and add docstring.
10962 (frameset-move-onscreen): Use frameset-compute-pos.
10963 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
10964
10965 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
10966 Fix typos in docstrings.
10967
10968 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
10969
10970 * frame.el (get-other-frame): Tiny cleanup.
10971
10972 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
10973
10974 * vc/vc.el (vc-default-ignore-completion-table):
10975 Silence byte-compiler warning.
10976
10977 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
10978 slot, which can indeed be nil.
10979 (frameset-live-filter-alist, frameset-persistent-filter-alist):
10980 Move entry for `left' from persistent to live filter alist.
10981 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
10982 Doc fixes.
10983 (frameset-filter-params): When restoring a frame, copy items added to
10984 `filtered', to avoid unwittingly modifying the original parameters.
10985 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
10986 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
10987
10988 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
10989 to use looking-at-p instead of looking-at. (Bug#15028)
10990
10991 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
10992
10993 Revert introduction of isearch-filter-predicates (bug#14714).
10994 Rely on add-function instead.
10995 * isearch.el (isearch-filter-predicates): Rename it back to
10996 isearch-filter-predicate.
10997 (isearch-message-prefix): Use advice-function-mapc and advice
10998 properties to get the isearch-message-prefix.
10999 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
11000 instead of run-hook-with-args-until-failure.
11001 (isearch-filter-visible): Not obsolete any more.
11002 * loadup.el: Preload nadvice.
11003 * replace.el (perform-replace): Revert to funcall
11004 instead of run-hook-with-args-until-failure.
11005 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
11006 * dired-aux.el (dired-isearch-filenames-mode): Rename from
11007 dired-isearch-filenames-toggle; make it into a proper minor mode.
11008 Use add/remove-function.
11009 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
11010 Call the minor-mode rather than add/remove-hook.
11011 (dired-isearch-filter-filenames):
11012 Remove isearch-message-prefix property.
11013 * info.el (Info--search-loop): New function, extracted from Info-search.
11014 Funcall isearch-filter-predicate instead of
11015 run-hook-with-args-until-failure isearch-filter-predicates.
11016 (Info-search): Use it.
11017 (Info-mode): Use isearch-filter-predicate instead of
11018 isearch-filter-predicates.
11019
11020 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11021
11022 Do not call to `selected-window' where it is assumed by default.
11023 Affected functions are `window-minibuffer-p', `window-dedicated-p',
11024 `window-hscroll', `window-width', `window-height', `window-buffer',
11025 `window-frame', `window-start', `window-point', `next-window'
11026 and `window-display-table'.
11027 * abbrev.el (abbrev--default-expand):
11028 * bs.el (bs--show-with-configuration):
11029 * buff-menu.el (Buffer-menu-mouse-select):
11030 * calc/calc.el (calc):
11031 * calendar/calendar.el (calendar-generate-window):
11032 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
11033 (diary-make-entry):
11034 * comint.el (send-invisible, comint-dynamic-complete-filename)
11035 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
11036 * completion.el (complete):
11037 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
11038 * disp-table.el (describe-current-display-table):
11039 * doc-view.el (doc-view-insert-image):
11040 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
11041 * ehelp.el (with-electric-help):
11042 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
11043 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
11044 * emacs-lisp/helper.el (Helper-help-scroller):
11045 * emulation/cua-base.el (cua--post-command-handler-1):
11046 * eshell/esh-mode.el (eshell-output-filter):
11047 * ffap.el (ffap-gnus-wrapper):
11048 * help-macro.el (make-help-screen):
11049 * hilit-chg.el (highlight-compare-buffers):
11050 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
11051 * hl-line.el (global-hl-line-highlight):
11052 * icomplete.el (icomplete-simple-completing-p):
11053 * isearch.el (isearch-done):
11054 * jit-lock.el (jit-lock-stealth-fontify):
11055 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
11056 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
11057 * mpc.el (mpc-tagbrowser, mpc):
11058 * net/rcirc.el (rcirc-any-buffer):
11059 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
11060 * play/landmark.el (landmark-max-width, landmark-max-height):
11061 * play/zone.el (zone):
11062 * progmodes/compile.el (compilation-goto-locus):
11063 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
11064 * progmodes/etags.el (find-tag-other-window):
11065 * progmodes/fortran.el (fortran-column-ruler):
11066 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
11067 * progmodes/verilog-mode.el (verilog-point-text):
11068 * reposition.el (reposition-window):
11069 * rot13.el (toggle-rot13-mode):
11070 * server.el (server-switch-buffer):
11071 * shell.el (shell-dynamic-complete-command)
11072 (shell-dynamic-complete-environment-variable):
11073 * simple.el (insert-buffer, set-selective-display)
11074 (delete-completion-window):
11075 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
11076 (speedbar-recenter):
11077 * startup.el (fancy-splash-head):
11078 * textmodes/ispell.el (ispell-command-loop):
11079 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
11080 * tutorial.el (help-with-tutorial):
11081 * vc/add-log.el (add-change-log-entry):
11082 * vc/compare-w.el (compare-windows):
11083 * vc/ediff-help.el (ediff-indent-help-message):
11084 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
11085 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
11086 (ediff-setup-control-frame):
11087 * vc/emerge.el (emerge-position-region):
11088 * vc/pcvs-util.el (cvs-bury-buffer):
11089 * window.el (walk-windows, mouse-autoselect-window-select):
11090 * winner.el (winner-set-conf, winner-undo): Related users changed.
11091
11092 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11093
11094 * frameset.el (frameset--set-id): Doc fix.
11095 (frameset-frame-id, frameset-frame-id-equal-p)
11096 (frameset-locate-frame-id): New functions.
11097 (frameset--process-minibuffer-frames, frameset--reuse-frame)
11098 (frameset-restore): Use them.
11099
11100 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
11101
11102 Do not call to `selected-frame' where it is assumed by default.
11103 Affected functions are `raise-frame', `redraw-frame',
11104 `frame-first-window', `frame-terminal' and `delete-frame'.
11105 * calendar/appt.el (appt-disp-window):
11106 * epg.el (epg-wait-for-completion):
11107 * follow.el (follow-delete-other-windows-and-split)
11108 (follow-avoid-tail-recenter):
11109 * international/mule.el (set-terminal-coding-system):
11110 * mail/rmail.el (rmail-mail-return):
11111 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
11112 * progmodes/f90.el (f90-add-imenu-menu):
11113 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
11114 * server.el (server-switch-buffer):
11115 * simple.el (delete-completion-window):
11116 * talk.el (talk):
11117 * term/xterm.el (terminal-init-xterm-modify-other-keys)
11118 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
11119 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
11120 * vc/ediff.el (ediff-documentation): Related users changed.
11121 * frame.el (selected-terminal): Remove the leftover.
11122
11123 2013-08-05 Glenn Morris <rgm@gnu.org>
11124
11125 * calendar/calendar.el (calendar-generate-month):
11126 Fix for calendar-column-width != 1 + calendar-day-digit-width.
11127 (calendar-generate-month, calendar-font-lock-keywords):
11128 Fix for calendar-day-header-width > length of any day name.
11129
11130 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
11131
11132 * desktop.el (desktop-clear): Use new name of sort predicate.
11133
11134 * frameset.el (frameset): Add docstring. Move :version property to its
11135 own `version' slot.
11136 (frameset-copy): Rename from copy-frameset.
11137 (frameset-p): Check more thoroughly.
11138 (frameset-prop): Do not check for :version, which is no longer a prop.
11139 (frameset-live-filter-alist, frameset-persistent-filter-alist):
11140 Use new :never value instead of t.
11141 (frameset-filter-alist): Expand and clarify docstring.
11142 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
11143 (frameset-filter-minibuffer, frameset-filter-save-param)
11144 (frameset-filter-restore-param, frameset-filter-iconified):
11145 Add pointer to docstring of frameset-filter-alist.
11146 (frameset-filter-params): Rename filter values to be more meaningful:
11147 :never instead of t, and reverse the meanings of :save and :restore.
11148 (frameset--process-minibuffer-frames): Clarify error message.
11149 (frameset-save): Avoid unnecessary and confusing call to framep.
11150 Use new BOA constructor for framesets.
11151 (frameset--reuse-list): Doc fix.
11152 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
11153 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
11154 (frameset-minibufferless-first-p): Doc fix.
11155 Rename from frameset-sort-frames-for-deletion.
11156 (frameset-restore): Doc fixes. Use new function names.
11157 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
11158
11159 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11160
11161 * desktop.el (desktop-restore-forces-onscreen)
11162 (desktop-restore-reuses-frames): Document :keyword constant values.
11163 (desktop-filter-parameters-alist): Remove, now identical to
11164 frameset-filter-alist.
11165 (desktop--filter-tty*): Remove, moved to frameset.el.
11166 (desktop-save-frameset, desktop-restore-frameset):
11167 Do not pass :filters argument.
11168
11169 * frameset.el (frameset-live-filter-alist)
11170 (frameset-persistent-filter-alist): New variables.
11171 (frameset-filter-alist): Use them. Add autoload cookie.
11172 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
11173 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
11174 `frameset--id' (it's supposed to be internal to frameset.el).
11175 (frameset--process-minibuffer-frames): Ditto. Doc fix.
11176 (frameset--initial-params): New function.
11177 (frameset--get-frame): Use it. Doc fix.
11178 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
11179 Accept :all, not 'all.
11180 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
11181 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
11182 with fbound symbols. Fix frame id matching, and remove matching ids if
11183 the frame being restored is deleted. Obey :delete.
11184
11185 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11186
11187 * subr.el (macrop): New function.
11188 (text-clone--maintaining): New var.
11189 (text-clone--maintain): Rename from text-clone-maintain. Use it
11190 instead of inhibit-modification-hooks.
11191
11192 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
11193 a proxy, so as handle autoloads and redefinitions of the target.
11194 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
11195
11196 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
11197 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
11198 (pcase--mutually-exclusive-p): New function.
11199 (pcase--split-consp): Use it.
11200 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
11201 mutually exclusive with the current predicate.
11202
11203 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
11204 (edebug-macrop): Remove. Use `macrop' instead.
11205 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
11206 (ad-macro-p):
11207 * eshell/esh-cmd.el (eshell-macrop):
11208 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
11209
11210 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
11211
11212 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
11213 (advice-mapc): New function, using it.
11214 (advice-function-member-p): New function.
11215 (advice--normalize): Store the cdr in advice--saved-rewrite since
11216 that's the part that will be changed.
11217 (advice--symbol-function): New function.
11218 (advice-remove): Handle removal before the function is defined.
11219 Adjust to new advice--saved-rewrite.
11220 (advice-member-p): Use advice-function-member-p and
11221 advice--symbol-function.
11222
11223 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
11224
11225 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
11226 (frameset-filter-minibuffer): Doc fix.
11227 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
11228 (frameset--set-id, frameset--process-minibuffer-frames)
11229 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
11230 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
11231
11232 * desktop.el (desktop-clear): Only delete frames when called
11233 interactively and desktop-restore-frames is non-nil. Doc fix.
11234 (desktop-read): Set desktop-saved-frameset to nil.
11235
11236 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
11237
11238 * vc/vc.el (vc-ignore): Rewrite.
11239 (vc-default-ignore-completion-table, vc--read-lines)
11240 (vc--add-line, vc--remove-regexp): New functions.
11241
11242 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
11243 (vc-svn-ignore-completion-table): New function.
11244
11245 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
11246 (vc-hg-ignore-completion-table)
11247 (vc-hg-find-ignore-file): New functions.
11248
11249 * vc/vc-git.el (vc-git-ignore): Rewrite.
11250 (vc-git-ignore-completion-table)
11251 (vc-git-find-ignore-file): New functions.
11252
11253 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
11254
11255 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
11256 (vc-bzr-ignore-completion-table)
11257 (vc-bzr-find-ignore-file): New functions.
11258
11259 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
11260
11261 * frameset.el (frameset-prop): New function and setter.
11262 (frameset-save): Do not modify frame list passed by the caller.
11263
11264 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11265
11266 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
11267
11268 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
11269
11270 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
11271 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
11272
11273 * custom.el (custom-initialize-default, custom-initialize-set)
11274 (custom-initialize-reset, custom-initialize-changed): Affect the
11275 toplevel-default-value (bug#6275, bug#14586).
11276 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
11277 for bug#6275.
11278
11279 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11280
11281 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
11282 Add cl-def* expressions.
11283
11284 * frameset.el (frameset-filter-params): Fix order of arguments.
11285
11286 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
11287
11288 Move code related to saving frames to frameset.el.
11289 * desktop.el: Require frameset.
11290 (desktop-restore-frames): Doc fix.
11291 (desktop-restore-reuses-frames): Rename from
11292 desktop-restoring-reuses-frames.
11293 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
11294 (desktop-clear): Clear frames too.
11295 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
11296 (desktop--filter-tty*, desktop-save, desktop-read):
11297 Use frameset functions.
11298 (desktop-before-saving-frames-functions, desktop--filter-*-color)
11299 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11300 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
11301 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
11302 (desktop--process-minibuffer-frames, desktop-save-frames)
11303 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
11304 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
11305 (desktop--sort-states, desktop-restoring-frames-p)
11306 (desktop-restore-frames): Remove. Most code moved to frameset.el.
11307 (desktop-restoring-frameset-p, desktop-restore-frameset)
11308 (desktop--check-dont-save, desktop-save-frameset): New functions.
11309 (desktop--app-id): New constant.
11310 (desktop-first-buffer, desktop-buffer-ok-count)
11311 (desktop-buffer-fail-count): Move before first use.
11312 * frameset.el: New file.
11313
11314 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11315
11316 * files.el: Use lexical-binding.
11317 (dir-locals-read-from-file): Remove unused `err' variable.
11318 (hack-dir-local-variables--warned-coding): New var.
11319 (hack-dir-local-variables): Use it to avoid repeated warnings.
11320 (make-backup-file-name--default-function): New function.
11321 (make-backup-file-name-function): Use it as default.
11322 (buffer-stale--default-function): New function.
11323 (buffer-stale-function): Use it as default.
11324 (revert-buffer-insert-file-contents--default-function): New function.
11325 (revert-buffer-insert-file-contents-function): Use it as default.
11326 (insert-directory): Avoid add-to-list.
11327
11328 * autorevert.el (auto-revert-handler): Simplify.
11329 Use buffer-stale--default-function.
11330
11331 2013-08-01 Tassilo Horn <tsdh@gnu.org>
11332
11333 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
11334
11335 * whitespace.el (whitespace-ensure-local-variables): New function.
11336 (whitespace-cleanup-region): Call it.
11337 (whitespace-turn-on): Call it.
11338
11339 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
11340
11341 Complete file name handlers.
11342
11343 * net/tramp.el (tramp-handle-set-visited-file-modtime)
11344 (tramp-handle-verify-visited-file-modtime)
11345 (tramp-handle-file-notify-rm-watch): New functions.
11346 (tramp-call-process): Do not bind `default-directory'.
11347
11348 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11349 Order alphabetically.
11350 <access-file, add-name-to-file, dired-call-process>:
11351 <dired-compress-file, file-acl, file-notify-rm-watch>:
11352 <file-ownership-preserved-p, file-selinux-context>:
11353 <make-directory-internal, make-symbolic-link, set-file-acl>:
11354 <set-file-selinux-context, set-visited-file-modtime>:
11355 <verify-visited-file-modtime>: Add handler.
11356 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
11357
11358 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
11359 <file-notify-add-watch, file-notify-rm-watch>:
11360 <set-file-times, set-visited-file-modtime>:
11361 <verify-visited-file-modtime>: Add handler.
11362 (with-tramp-gvfs-error-message)
11363 (tramp-gvfs-handle-set-visited-file-modtime)
11364 (tramp-gvfs-fuse-file-name): Remove.
11365 (tramp-gvfs-handle-file-notify-add-watch)
11366 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
11367 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
11368
11369 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11370 Order alphabetically.
11371 <file-notify-rm-watch>: Use default Tramp handler.
11372 <executable-find>: Remove private handler.
11373 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
11374 `default-directory'.
11375 (tramp-sh-handle-executable-find)
11376 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
11377 (tramp-sh-file-gvfs-monitor-dir-process-filter)
11378 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
11379 Do not use `format' in `tramp-message'.
11380
11381 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
11382 <file-notify-rm-watch, set-visited-file-modtime>:
11383 <verify-visited-file-modtime>: Add handler.
11384 (tramp-smb-call-winexe): Do not bind `default-directory'.
11385
11386 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
11387
11388 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
11389
11390 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
11391
11392 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
11393 use it.
11394 (log-view-diff-changeset): Same.
11395 (log-view-diff-common): Call backend command `previous-revision'
11396 to find out the previous revision, in both cases. Swap the
11397 variables `to' and `fr', so that `fr' usually refers to the
11398 earlier revision (Bug#14989).
11399
11400 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
11401
11402 * ibuf-ext.el (ibuffer-filter-by-filename):
11403 Make it work with dired buffers too.
11404
11405 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
11406
11407 * emacs-lisp/re-builder.el (reb-color-display-p):
11408 * files.el (save-buffers-kill-terminal):
11409 * net/browse-url.el (browse-url):
11410 * server.el (server-save-buffers-kill-terminal):
11411 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
11412 Prefer nil to selected-frame for the first arg of frame-parameter.
11413
11414 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
11415
11416 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
11417
11418 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
11419
11420 * minibuffer.el (completion--twq-all): Try and preserve each
11421 completion's case choice (bug#14907).
11422
11423 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
11424
11425 * net/network-stream.el (open-network-stream): Mention the new
11426 :nogreeting parameter.
11427 (network-stream-open-starttls): Use the :nogreeting parameter
11428 (bug#14938).
11429
11430 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
11431
11432 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
11433 more natural than popping.
11434
11435 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
11436 (shr-urlify): Highlight under mouse.
11437
11438 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11439
11440 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
11441
11442 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
11443
11444 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
11445 buffer for output.
11446
11447 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
11448 point-min==1. Fix search string. Fix parentheses missing.
11449
11450 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
11451 assume point-min==1. Fix search string. Fix parentheses missing.
11452
11453 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
11454
11455 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
11456 buffer for output.
11457
11458 2013-07-29 Eli Zaretskii <eliz@gnu.org>
11459
11460 * frame.el (frame-notice-user-settings): Avoid inflooping when the
11461 initial frame is minibuffer-less. (Bug#14841)
11462
11463 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
11464
11465 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
11466 option.
11467
11468 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11469 (tramp-maybe-open-connection): Use it.
11470
11471 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11472
11473 * desktop.el (desktop--make-frame): Include `minibuffer' in the
11474 minimal set of parameters passed when creating a frame, because
11475 the minibuffer status of a frame cannot be changed later.
11476
11477 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
11478
11479 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
11480 replace-regexp-in-string and inadvertent omissions in previous change.
11481 (todo-filter-items): Ensure only file names are comma-separated in
11482 name of filtered items buffer.
11483
11484 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
11485
11486 * desktop.el: Optionally force offscreen frames back onscreen.
11487 (desktop-restoring-reuses-frames): New option.
11488 (desktop--compute-pos, desktop--move-onscreen): New functions.
11489 (desktop--make-frame): Use desktop--move-onscreen.
11490
11491 2013-07-27 Alan Mackenzie <acm@muc.de>
11492
11493 Fontify a Java generic method as a function.
11494 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
11495 value to t.
11496
11497 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
11498
11499 * calendar/todo-mode.el: Add command to rename todo files.
11500 (todo-rename-file): New command.
11501 (todo-key-bindings-t): Add key binding for it. Change the
11502 bindings of todo-filter-regexp-items(-multifile) to use `x'
11503 instead of `r', since the latter is better suited to the new
11504 renaming command.
11505
11506 2013-07-27 Alan Mackenzie <acm@muc.de>
11507
11508 Make Java try-with-resources statement parse properly.
11509 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
11510 (c-block-stmt-1-2-key): New language constants/variables.
11511 * progmodes/cc-engine.el (c-beginning-of-statement-1)
11512 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
11513 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
11514 with c-block-stmt-1-2-key.
11515
11516 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
11517
11518 * desktop.el (desktop--make-frame): Apply most frame parameters after
11519 creating the frame to force (partially or totally) offscreen frames to
11520 be restored as such.
11521
11522 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
11523
11524 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
11525 (Bug#14948)
11526
11527 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11528
11529 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
11530 `base' arg of backtrace-frame.
11531
11532 2013-07-26 Eli Zaretskii <eliz@gnu.org>
11533
11534 * simple.el (list-processes): Doc fix.
11535
11536 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11537
11538 * desktop.el (desktop--select-frame):
11539 Try harder to reuse existing frames.
11540
11541 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11542
11543 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
11544 (edebug-eval): Use backtrace-eval.
11545 (edebug--display, edebug--recursive-edit): Don't let-bind the
11546 edebug-outer-* vars that keep track of variables we locally let-bind.
11547 (edebug-outside-excursion): Don't restore outside values of locally
11548 let-bound vars.
11549 (edebug--display): Use user-error.
11550 (cl-lexical-debug, cl-debug-env): Remove.
11551
11552 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
11553
11554 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
11555 are restored to be sure that they are visible before deleting any
11556 remaining ones.
11557
11558 2013-07-26 Matthias Meulien <orontee@gmail.com>
11559
11560 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
11561 vc-print-root-log. (Bug#14948)
11562
11563 2013-07-26 Richard Stallman <rms@gnu.org>
11564
11565 Add aliases for encrypting mail.
11566 * epa.el (epa-mail-aliases): New option.
11567 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
11568 Bind inhibit-read-only so read-only text doesn't ruin everything.
11569 (epa-mail-default-recipients): New subroutine broken out.
11570 Handle epa-mail-aliases.
11571
11572 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
11573
11574 Add support for lexical variables to the debugger's `e' command.
11575 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
11576 vars, except for debugger-outer-match-data.
11577 (debugger-frame-number): Move check for "on a function call" from
11578 callers into it. Add `skip-base' argument.
11579 (debugger-frame, debugger-frame-clear): Simplify accordingly.
11580 (debugger-env-macro): Only reset the state stored in non-variables,
11581 i.e. current-buffer and match-data.
11582 (debugger-eval-expression): Rewrite using backtrace-eval.
11583 * subr.el (internal--called-interactively-p--get-frame): Remove.
11584 (called-interactively-p):
11585 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
11586 `base' arg of backtrace-frame instead.
11587
11588 2013-07-26 Glenn Morris <rgm@gnu.org>
11589
11590 * align.el (align-regexp): Doc fix. (Bug#14857)
11591 (align-region): Explicit error if subexpression missing/does not match.
11592
11593 * simple.el (global-visual-line-mode):
11594 Do not duplicate the mode lighter. (Bug#14858)
11595
11596 2013-07-25 Martin Rudalics <rudalics@gmx.at>
11597
11598 * window.el (display-buffer): In display-buffer bind
11599 split-window-keep-point to t, bug#14829.
11600
11601 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11602
11603 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
11604 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
11605 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
11606 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11607 Change accordingly.
11608 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
11609 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
11610
11611 2013-07-25 Glenn Morris <rgm@gnu.org>
11612
11613 * dired-x.el (dired-mark-extension): Convert comment to doc string.
11614
11615 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
11616
11617 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
11618 parameter to modify-frame-parameters if the value has not changed;
11619 this is a workaround for bug#14949.
11620 (desktop--make-frame): On cl-delete-if call, check parameter name,
11621 not full parameter.
11622
11623 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
11624
11625 * vc/vc.el (vc-ignore): New function.
11626
11627 * vc/vc-svn.el (vc-svn-ignore): New function.
11628
11629 * vc/vc-hg.el (vc-hg-ignore): New function.
11630
11631 * vc/vc-git.el (vc-git-ignore): New function.
11632
11633 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
11634 (vc-dir-ignore): New function.
11635
11636 * vc/vc-cvs.el (vc-cvs-ignore): New function.
11637 (cvs-append-to-ignore): Move here from pcvs.el.
11638
11639 * vc/vc-bzr.el (vc-bzr-ignore): New function.
11640
11641 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
11642
11643 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
11644
11645 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
11646 (desktop-restore-frames): Warn when deleting an existing frame failed.
11647
11648 2013-07-24 Glenn Morris <rgm@gnu.org>
11649
11650 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
11651
11652 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
11653
11654 * filenotify.el (file-notify-supported-p):
11655 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11656 Remove functions.
11657
11658 * autorevert.el (auto-revert-use-notify)
11659 (auto-revert-notify-add-watch):
11660 * net/tramp.el (tramp-file-name-for-operation):
11661 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11662 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11663 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
11664 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11665 Remove `file-notify-supported-p' entry.
11666
11667 2013-07-24 Glenn Morris <rgm@gnu.org>
11668
11669 * printing.el: Replace all uses of deleted ps-windows-system,
11670 ps-lp-system, ps-flatten-list with lpr- versions.
11671
11672 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11673
11674 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
11675 checked with memq (bug#14935).
11676
11677 * files.el (revert-buffer-function): Use a non-nil default.
11678 (revert-buffer-preserve-modes): Declare var to
11679 provide access to the `preserve-modes' argument.
11680 (revert-buffer): Let-bind it.
11681 (revert-buffer--default): New function, extracted from revert-buffer.
11682
11683 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
11684
11685 * lpr.el: Signal print errors more prominently.
11686 (print-region-function): Don't default to nil.
11687 (lpr-print-region): New function, extracted from print-region-1.
11688 Check lpr's return value and signal an error in case of problem.
11689 (print-region-1): Use it.
11690 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
11691 versions instead.
11692 (ps-printer-name): Default to nil.
11693 (ps-printer-name-option): Default to lpr-printer-switch.
11694 (ps-print-region-function): Don't default to nil.
11695 (ps-postscript-code-directory): Simplify default.
11696 (ps-do-despool): Use lpr-print-region to properly check the outcome.
11697 (ps-string-list, ps-eval-switch, ps-flatten-list)
11698 (ps-flatten-list-1): Remove.
11699 (ps-multibyte-buffer): Avoid setq.
11700 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
11701 (print-region-function, ps-print-region-function): Don't set them here.
11702
11703 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
11704
11705 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
11706 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
11707 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
11708 (ido-decorations): Doc fix.
11709
11710 * ansi-color.el: Fix old URL.
11711
11712 2013-07-23 Michael R. Mauger <michael@mauger.com>
11713
11714 * progmodes/sql.el: Version 3.3
11715 (sql-product-alist): Improve oracle :prompt-cont-regexp.
11716 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
11717 (sql-interactive-remove-continuation-prompt): Rewrite, use
11718 functions above. Fix continuation prompt and complete output line
11719 handling.
11720 (sql-redirect-one, sql-execute): Use `read-only-mode' on
11721 redirected output buffer.
11722 (sql-mode): Restore deleted code (Bug#13591).
11723
11724 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11725
11726 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
11727
11728 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
11729
11730 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
11731
11732 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11733 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11734 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
11735
11736 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
11737
11738 * desktop.el (desktop-clear): Simplify; remove useless checks
11739 against invalid buffer names.
11740 (desktop-list*): Use cl-list*.
11741 (desktop-buffer-info, desktop-create-buffer): Simplify.
11742
11743 2013-07-23 Leo Liu <sdl.web@gmail.com>
11744
11745 * bookmark.el (bookmark-make-record): Restore NAME as a default
11746 value. (Bug#14933)
11747
11748 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
11749
11750 * emacs-lisp/autoload.el (autoload--setup-output): New function,
11751 extracted from autoload--insert-text.
11752 (autoload--insert-text): Remove.
11753 (autoload--print-cookie-text): New function, extracted from
11754 autoload--insert-cookie-text.
11755 (autoload--insert-cookie-text): Remove.
11756 (autoload-generate-file-autoloads): Adjust calls accordingly.
11757
11758 * winner.el (winner-hook-installed-p): Remove.
11759 (winner-mode): Simplify accordingly.
11760
11761 * subr.el (add-to-list): Fix compiler-macro when `append' is
11762 not constant. Don't use `cl-member' for the base case.
11763
11764 * progmodes/subword.el: Fix boundary case (bug#13758).
11765 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
11766 own group.
11767 (subword-backward-regexp): Make it a constant.
11768 (subword-forward-internal): Don't treat a trailing capital as the
11769 beginning of a word.
11770
11771 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
11772
11773 * emacs-lisp/package.el (package-menu-mode): Don't modify the
11774 global value of tabulated-list-revert-hook (bug#14930).
11775
11776 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
11777
11778 * desktop.el: Require 'cl-lib.
11779 (desktop-before-saving-frames-functions): New hook.
11780 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
11781 for frames being saved. Rename from desktop--save-minibuffer-frames.
11782 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
11783 Do not save frames with non-nil `desktop-dont-save' parameter.
11784 Filter out deleted frames.
11785 (desktop--find-frame): Use cl-find-if.
11786 (desktop--select-frame): Use cl-(first|second|third) to access values
11787 of desktop-mini.
11788 (desktop--make-frame): Use cl-delete-if.
11789 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
11790 (desktop-restore-frames): Use cl-(first|second|third) to access values
11791 of desktop-mini. Look for visible frame at the end, not while
11792 restoring frames.
11793
11794 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
11795 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
11796 Use string-match-p, looking-at-p (bug#14927).
11797
11798 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
11799
11800 * desktop.el (desktop-saved-frame-states):
11801 Rename from desktop--saved-states; all users changed.
11802 (desktop-save-frames): Rename from desktop--save-frames.
11803 Do not save state to desktop file.
11804 (desktop-save): Save desktop-saved-frame-states to desktop file
11805 and reset to nil.
11806 (desktop-restoring-frames-p): New function.
11807 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
11808 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
11809 buffer-lists when restoring frames. Suggested by Martin Rudalics.
11810
11811 * desktop.el: Correctly restore iconified frames.
11812 (desktop--filter-iconified-position): New function.
11813 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
11814
11815 2013-07-20 Glenn Morris <rgm@gnu.org>
11816
11817 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
11818 Let `message' do the formatting.
11819 (def-gdb-preempt-display-buffer): Add explicit format.
11820
11821 * image-dired.el (image-dired-track-original-file):
11822 Use with-current-buffer.
11823 (image-dired-track-thumbnail): Use with-current-buffer.
11824 Avoid changing point of wrong window.
11825
11826 * image-dired.el (image-dired-track-original-file):
11827 Avoid changing point of wrong window. (Bug#14909)
11828
11829 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
11830
11831 * progmodes/gdb-mi.el (gdb-done-or-error):
11832 Guard against "%" in gdb output. (Bug#14127)
11833
11834 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
11835
11836 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
11837 (Bug#14826)
11838
11839 * international/mule.el (coding-system-iso-2022-flags): Fix last
11840 change.
11841
11842 2013-07-20 Kenichi Handa <handa@gnu.org>
11843
11844 * international/mule.el (coding-system-iso-2022-flags):
11845 Add `8-bit-level-4'. (Bug#8522)
11846
11847 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11848
11849 * net/shr.el (shr-mouse-browse-url): New command and keystroke
11850 (bug#14815).
11851
11852 * net/eww.el (eww-process-text-input): Allow inputting when the
11853 point is at the start of the line, as the properties aren't
11854 front-sticky.
11855
11856 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
11857 degenerate widths.
11858
11859 2013-07-19 Richard Stallman <rms@gnu.org>
11860
11861 * epa.el (epa-popup-info-window): Doc fix.
11862
11863 * subr.el (split-string): New arg TRIM.
11864
11865 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
11866
11867 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
11868 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
11869
11870 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
11871
11872 * filenotify.el (file-notify--library): Rename from
11873 `file-notify-support'. Do not autoload. Adapt all uses.
11874 (file-notify-supported-p): New defun.
11875
11876 * autorevert.el (auto-revert-use-notify):
11877 Use `file-notify-supported-p' instead of `file-notify-support'.
11878 Adapt docstring.
11879 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
11880
11881 * net/tramp.el (tramp-file-name-for-operation):
11882 Add `file-notify-supported-p'.
11883
11884 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
11885 New defun.
11886 (tramp-sh-file-name-handler-alist): Add it as handler for
11887 `file-notify-supported-p '.
11888
11889 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
11890 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
11891 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
11892 Add `ignore' as handler for `file-notify-*' functions.
11893
11894 2013-07-17 Eli Zaretskii <eliz@gnu.org>
11895
11896 * simple.el (line-move-partial, line-move): Don't start vscroll or
11897 scroll-up if the current line is not taller than the window.
11898 (Bug#14881)
11899
11900 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
11901
11902 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
11903 highlight question marks in the method names as strings.
11904 (ruby-block-beg-keywords): Inline.
11905 (ruby-font-lock-keyword-beg-re): Extract from
11906 `ruby-font-lock-keywords'.
11907
11908 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
11909
11910 * frame.el (blink-cursor-blinks): New defcustom.
11911 (blink-cursor-blinks-done): New defvar.
11912 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
11913 (blink-cursor-timer-function): Check if number of blinks has been
11914 done on X and NS.
11915 (blink-cursor-suspend, blink-cursor-check): New defuns.
11916
11917 2013-07-15 Glenn Morris <rgm@gnu.org>
11918
11919 * edmacro.el (edmacro-format-keys): Fix previous change.
11920
11921 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
11922
11923 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
11924 The hack didn't work outside English locales anyway.
11925
11926 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
11927
11928 * simple.el (define-alternatives): Rename from alternatives-define,
11929 per RMS' suggestion.
11930
11931 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
11932
11933 * desktop.el (desktop-restore-frames): Change default to t.
11934 (desktop-restore-in-current-display): Now offer more options.
11935 (desktop-restoring-reuses-frames): New customization option.
11936 (desktop--saved-states): Doc fix.
11937 (desktop-filter-parameters-alist): New variable, renamed and expanded
11938 from desktop--excluded-frame-parameters.
11939 (desktop--target-display): New variable.
11940 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
11941 (desktop--filter-tty*, desktop--filter-*-color)
11942 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
11943 (desktop--filter-save-desktop-parm)
11944 (desktop-restore-in-original-display-p): New functions.
11945 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
11946 (desktop--save-minibuffer-frames): New function, inspired by a similar
11947 function from Martin Rudalics.
11948 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
11949 (desktop--restore-in-this-display-p): Remove.
11950 (desktop--find-frame): Rename from desktop--find-frame-in-display
11951 and add predicate argument.
11952 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
11953 (desktop--reuse-list): New variable.
11954 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
11955 New functions.
11956 (desktop--restore-frames): Add support for "minibuffer-special" frames.
11957
11958 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
11959
11960 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
11961
11962 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
11963
11964 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
11965 Highlight conversion methods on Kernel.
11966
11967 2013-07-13 Alan Mackenzie <acm@muc.de>
11968
11969 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
11970 and comment it out. This out-commenting enables certain C++
11971 declarations to be parsed correctly.
11972
11973 2013-07-13 Eli Zaretskii <eliz@gnu.org>
11974
11975 * international/mule.el (define-coding-system): Doc fix.
11976
11977 * simple.el (default-font-height): Don't call font-info if the
11978 frame's default font didn't change since the frame was created.
11979 (Bug#14838)
11980
11981 2013-07-13 Leo Liu <sdl.web@gmail.com>
11982
11983 * ido.el (ido-read-file-name): Guard against non-symbol value.
11984
11985 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
11986
11987 * progmodes/python.el (python-imenu--build-tree): Fix corner case
11988 in nested defuns.
11989
11990 2013-07-13 Leo Liu <sdl.web@gmail.com>
11991
11992 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
11993 ido-set-matches call. (Bug#6852)
11994
11995 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
11996
11997 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
11998 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
11999 Ruby 2.0.
12000 (ruby-font-lock-keywords): Distinguish calls to functions with
12001 module-like names from module references. Highlight character
12002 literals.
12003
12004 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
12005
12006 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
12007 (gdb-send): Handle continued commands. (Bug#14847)
12008
12009 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12010
12011 * desktop.el (desktop--v2s): Remove unused local variable.
12012 (desktop-save-buffer): Make defvar-local; adjust docstring.
12013 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
12014 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
12015
12016 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
12017
12018 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
12019
12020 2013-07-12 Eli Zaretskii <eliz@gnu.org>
12021
12022 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
12023 (Bug#14842)
12024
12025 2013-07-12 Glenn Morris <rgm@gnu.org>
12026
12027 * doc-view.el: Require cl-lib at runtime too.
12028 (doc-view-remove-if): Remove.
12029 (doc-view-search-next-match, doc-view-search-previous-match):
12030 Use cl-remove-if.
12031
12032 * edmacro.el: Require cl-lib at runtime too.
12033 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
12034 (edmacro-mismatch, edmacro-subseq): Remove.
12035
12036 * shadowfile.el: Require cl-lib.
12037 (shadow-remove-if): Remove.
12038 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
12039 Use cl-remove-if.
12040
12041 * wid-edit.el: Require cl-lib.
12042 (widget-choose): Use cl-remove-if.
12043 (widget-remove-if): Remove.
12044
12045 * progmodes/ebrowse.el: Require cl-lib at runtime too.
12046 (ebrowse-delete-if-not): Remove.
12047 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
12048 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
12049 Use cl-delete-if-not.
12050
12051 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
12052
12053 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
12054 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
12055
12056 2013-07-12 Leo Liu <sdl.web@gmail.com>
12057
12058 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
12059
12060 2013-07-11 Glenn Morris <rgm@gnu.org>
12061
12062 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
12063 (edebug-gensym-index, edebug-gensym):
12064 Remove reimplementation of cl-gensym.
12065 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
12066
12067 * thumbs.el: Require cl-lib at run-time too.
12068 (thumbs-gensym-counter, thumbs-gensym):
12069 Remove reimplementation of cl-gensym.
12070 (thumbs-temp-file): Use cl-gensym.
12071
12072 * emacs-lisp/ert.el: Require cl-lib at runtime too.
12073 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
12074 (ert--intersection, ert--set-difference, ert--set-difference-eq)
12075 (ert--union, ert--gensym-counter, ert--gensym-counter)
12076 (ert--coerce-to-vector, ert--remove*, ert--string-position)
12077 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
12078 (ert-make-test-unbound, ert--expand-should-1)
12079 (ert--expand-should, ert--should-error-handle-error)
12080 (should-error, ert--explain-equal-rec)
12081 (ert--plist-difference-explanation, ert-select-tests)
12082 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
12083 Use cl-lib functions rather than reimplementations.
12084
12085 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
12086
12087 * net/tramp.el (tramp-methods): Extend docstring.
12088 (tramp-connection-timeout): New defcustom.
12089 (tramp-error-with-buffer): Reset timestamp only when appropriate.
12090 (with-tramp-progress-reporter): Simplify.
12091 (tramp-process-actions): Improve messages.
12092
12093 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
12094 * net/tramp-sh.el (tramp-maybe-open-connection):
12095 Use `tramp-connection-timeout'.
12096 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
12097 (Bug#14808)
12098
12099 2013-07-11 Leo Liu <sdl.web@gmail.com>
12100
12101 * ido.el (ido-read-file-name): Conform to the requirements of
12102 read-file-name. (Bug#11861)
12103 (ido-read-directory-name): Conform to the requirements of
12104 read-directory-name.
12105
12106 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
12107
12108 * subr.el (delay-warning): New function.
12109
12110 2013-07-10 Eli Zaretskii <eliz@gnu.org>
12111
12112 * simple.el (default-line-height): New function.
12113 (line-move-partial, line-move): Use it instead of computing the
12114 line height inline.
12115 (line-move-partial): Always compute ROWH. If the last line is
12116 partially-visible, but its text is completely visible, allow
12117 cursor to enter such a partially-visible line.
12118
12119 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
12120
12121 Improve error messages. (Bug#14808)
12122
12123 * net/tramp.el (tramp-current-connection): New defvar, moved from
12124 tramp-sh.el.
12125 (tramp-message-show-progress-reporter-message): Remove, not
12126 needed anymore.
12127 (tramp-error-with-buffer): Show message in minibuffer.
12128 Discard input before waiting. Reset connection timestamp.
12129 (with-tramp-progress-reporter): Improve messages.
12130 (tramp-process-actions): Use progress reporter. Delete process in
12131 case of error. Improve messages.
12132
12133 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
12134 Call `tramp-error-with-buffer' with vector and buffer.
12135 (tramp-current-connection): Remove.
12136 (tramp-maybe-open-connection): The car of
12137 `tramp-current-connection' are the first 3 slots of the vector.
12138
12139 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
12140
12141 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
12142 inside continued strings.
12143
12144 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
12145
12146 Timestamp fixes for undo (Bug#14824).
12147 * files.el (clear-visited-file-modtime): Move here from fileio.c.
12148
12149 2013-07-10 Leo Liu <sdl.web@gmail.com>
12150
12151 * files.el (require-final-newline): Allow safe local value.
12152 (Bug#14834)
12153
12154 2013-07-09 Leo Liu <sdl.web@gmail.com>
12155
12156 * ido.el (ido-read-directory-name): Handle fallback.
12157 (ido-read-file-name): Update DIR to ido-current-directory.
12158 (Bug#1516)
12159 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
12160
12161 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
12162
12163 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
12164 "autoload". Remove "warn lower camel case" section, previously
12165 commented out. Highlight negation char. Do not highlight the
12166 target in singleton method definitions.
12167
12168 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12169
12170 * faces.el (tty-setup-hook): Declare the hook.
12171
12172 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
12173 and detect when a guard/pred depends on local vars (bug#14773).
12174 (pcase--u1): Adjust caller.
12175
12176 2013-07-08 Eli Zaretskii <eliz@gnu.org>
12177
12178 * simple.el (line-move-partial, line-move): Account for
12179 line-spacing.
12180 (line-move-partial): Avoid setting vscroll when the last
12181 partially-visible line in window is of default height.
12182
12183 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12184
12185 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
12186 been used a while.
12187
12188 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
12189
12190 * subr.el (read-quoted-char): Remove unused local variable `char'.
12191
12192 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
12193
12194 * ediff.el (ediff-version): Version update.
12195 (ediff-files-command, ediff3-files-command, ediff-merge-command)
12196 (ediff-merge-with-ancestor-command, ediff-directories-command)
12197 (ediff-directories3-command, ediff-merge-directories-command)
12198 (ediff-merge-directories-with-ancestor-command): New functions.
12199 All are command-line interfaces to ediff: to facilitate calling
12200 Emacs with the appropriate ediff functions invoked.
12201
12202 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
12203 (viper-save-kill-buffer): Check if buffer is modified.
12204
12205 * viper.el (viper-version): Version update.
12206 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
12207
12208 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
12209
12210 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
12211 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
12212 (viper-intercept-ESC-key): Simplify.
12213 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
12214 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
12215 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
12216 (viper-setup-ESC-to-escape): New functions.
12217 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
12218 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
12219
12220 2013-07-07 Eli Zaretskii <eliz@gnu.org>
12221
12222 * simple.el (default-font-height, window-screen-lines):
12223 New functions.
12224 (line-move, line-move-partial): Use them instead of
12225 frame-char-height and window-text-height. This makes scrolling
12226 text smoother when the buffer's default face uses a font that is
12227 different from the frame's default font.
12228
12229 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
12230
12231 * files.el (write-file): Do not display confirm dialog for NS,
12232 it does its own dialog, which can't be canceled (Bug#14578).
12233
12234 2013-07-06 Eli Zaretskii <eliz@gnu.org>
12235
12236 * simple.el (line-move-partial): Adjust the row returned by
12237 posn-at-point for the current window-vscroll. (Bug#14567)
12238
12239 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
12240
12241 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
12242 (tramp-sh-file-inotifywait-process-filter): Handle file names with
12243 spaces.
12244
12245 2013-07-06 Martin Rudalics <rudalics@gmx.at>
12246
12247 * window.el (window-state-put-stale-windows): New variable.
12248 (window--state-put-2): Save list of windows without matching buffer.
12249 (window-state-put): Remove "bufferless" windows if possible.
12250
12251 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12252
12253 * simple.el (alternatives-define): Remove leftover :group keyword.
12254 Tweak docstring.
12255
12256 2013-07-06 Leo Liu <sdl.web@gmail.com>
12257
12258 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
12259 (ido-enable-virtual-buffers): New variable.
12260 (ido-buffer-internal, ido-toggle-virtual-buffers)
12261 (ido-make-buffer-list): Use it.
12262 (ido-exhibit): Support turning on and off virtual buffers
12263 automatically.
12264
12265 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
12266
12267 * simple.el (alternatives-define): New macro.
12268
12269 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
12270
12271 * subr.el (read-quoted-char): Use read-key.
12272 (sit-for): Let read-event decode tty input (bug#14782).
12273
12274 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
12275
12276 * calendar/todo-mode.el: Add handling of file deletion, both by
12277 mode command and externally. Fix various related bugs.
12278 Clarify Commentary and improve some documentation strings and code.
12279 (todo-delete-file): New command.
12280 (todo-check-file): New function.
12281 (todo-show): Handle external deletion of the file we're trying to
12282 show (bug#14688). Replace called-interactively-p by an optional
12283 prefix argument to avoid problematic interaction with catch form
12284 when byte compiled (bug#14702).
12285 (todo-quit): Handle external deletion of the archive's todo file.
12286 Make sure the buffer that was visiting the archive file is still
12287 live before trying to bury it.
12288 (todo-category-completions): Handle external deletion of any
12289 category completion files.
12290 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
12291 of todo files, in case of external deletion.
12292 (todo-add-file): Replace unnecessary setq by let-binding.
12293 (todo-find-archive): Check whether there are any archives.
12294 Replace unnecessary setq by let-binding.
12295 (todo-archive-done-item): Use find-file-noselect to get the
12296 archive buffer whether or not the archive already exists.
12297 Remove superfluous code. Use file size instead of buffer-file-name to
12298 check if the archive is new; if it is, update list of archives.
12299 (todo-default-todo-file): Allow nil to be a valid value for when
12300 there are no todo files.
12301 (todo-reevaluate-default-file-defcustom): Use corrected definition
12302 of todo-default-todo-file.
12303 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
12304 (todo-delete-category, todo-show-categories-table)
12305 (todo-category-number): Clarify comment.
12306 (todo-filter-items): Clarify documentation string.
12307 (todo-show-current-file, todo-display-as-todo-file)
12308 (todo-reset-and-enable-done-separator): Tweak documentation string.
12309 (todo-done-separator): Make separator length window-width, since
12310 bug#2749 is now fixed.
12311
12312 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
12313
12314 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
12315 Support both "gvfs-monitor-dir" and "inotifywait".
12316 (tramp-sh-file-inotifywait-process-filter): Rename from
12317 `tramp-sh-file-notify-process-filter'.
12318 (tramp-sh-file-gvfs-monitor-dir-process-filter)
12319 (tramp-get-remote-gvfs-monitor-dir): New defuns.
12320
12321 2013-07-05 Leo Liu <sdl.web@gmail.com>
12322
12323 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
12324
12325 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12326
12327 * frame.el (display-pixel-height, display-pixel-width)
12328 (display-mm-height, display-mm-width): Mention behavior on
12329 multi-monitor setups in docstrings.
12330 (w32-display-monitor-attributes-list): Declare function.
12331 (display-monitor-attributes-list): Use it.
12332
12333 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
12334
12335 * filenotify.el: New package.
12336
12337 * autorevert.el (top): Require filenotify.el.
12338 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
12339 instead.
12340 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
12341 (auto-revert-notify-handler): Use `file-notify-*' functions.
12342
12343 * subr.el (file-notify-handle-event): Move function to filenotify.el.
12344
12345 * net/tramp.el (tramp-file-name-for-operation):
12346 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
12347
12348 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
12349 for `file-notify-add-watch' and `file-notify-rm-watch'.
12350 (tramp-process-sentinel): Improve trace.
12351 (tramp-sh-handle-file-notify-add-watch)
12352 (tramp-sh-file-notify-process-filter)
12353 (tramp-sh-handle-file-notify-rm-watch)
12354 (tramp-get-remote-inotifywait): New defuns.
12355
12356 2013-07-03 Juri Linkov <juri@jurta.org>
12357
12358 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
12359 call of `occur-read-primary-args' to interactive spec.
12360
12361 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
12362 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
12363
12364 2013-07-03 Matthias Meulien <orontee@gmail.com>
12365
12366 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
12367 `Buffer-menu-multi-occur'. Add it to the menu.
12368 (Buffer-menu-mode): Document it in docstring.
12369 (Buffer-menu-multi-occur): New command. (Bug#14673)
12370
12371 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12372
12373 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
12374 keywords and built-ins.
12375
12376 2013-07-03 Glenn Morris <rgm@gnu.org>
12377
12378 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
12379
12380 Make info-xref checks case-sensitive by default
12381 * info.el (Info-find-node, Info-find-in-tag-table)
12382 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
12383 Add option for exact case matching of nodes.
12384 * info-xref.el (info-xref): New custom group.
12385 (info-xref-case-fold): New option.
12386 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
12387
12388 2013-07-03 Leo Liu <sdl.web@gmail.com>
12389
12390 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
12391
12392 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
12393
12394 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
12395 middle of block statement initially, lower the depth. Remove
12396 FIXME comment, not longer valid. Remove middle of block statement
12397 detection, no need to do that anymore since we've been using
12398 `ruby-parse-region' here.
12399
12400 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
12401
12402 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
12403
12404 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
12405
12406 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
12407
12408 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
12409
12410 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
12411 (desktop-restore-in-current-display): New customization option.
12412 (desktop--excluded-frame-parameters): Add `font'.
12413 (desktop--save-frames): Rename from desktop--save-windows.
12414 (desktop--restore-in-this-display-p): New function.
12415 (desktop--make-full-frame): Remove unwanted width/height from
12416 full(width|height) frames.
12417 (desktop--restore-frames): Rename from desktop--restore-windows.
12418 Obey desktop-restore-current-display. Do not delete old frames or
12419 select a new frame unless we were able to restore at least one frame.
12420
12421 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
12422
12423 * files.el (find-file-noselect): Simplify conditional expression.
12424
12425 * textmodes/remember.el (remember-append-to-file):
12426 Don't mix `find-buffer-visiting' and `get-file-buffer'.
12427
12428 Add `remember-notes' function to store random notes across Emacs
12429 restarts.
12430 * textmodes/remember.el (remember-data-file): Add :set callback to
12431 affect notes buffer (if any).
12432 (remember-notes): New command.
12433 (remember-notes-buffer-name, bury-remember-notes-on-kill):
12434 New defcustoms for the `remember-notes' function.
12435 (remember-notes-save-and-bury-buffer): New command.
12436 (remember-notes-mode-map): New variable.
12437 (remember-mode): New minor mode.
12438 (remember-notes--kill-buffer-query): New function.
12439 * startup.el (initial-buffer-choice): Add notes to custom type.
12440
12441 2013-06-30 Eli Zaretskii <eliz@gnu.org>
12442
12443 * bindings.el (right-char, left-char): Don't call sit-for, this is
12444 no longer needed. Use arithmetic comparison only for numerical
12445 arguments.
12446
12447 * international/mule-cmds.el (select-safe-coding-system):
12448 Handle the case of FROM being a string correctly. (Bug#14755)
12449
12450 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12451
12452 * net/shr.el (shr-make-table-1): Add a sanity check that allows
12453 progression on degenerate tables.
12454 (shr-rescale-image): ImageMagick animated images currently don't work.
12455
12456 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
12457
12458 Some fixes and improvements for desktop frame restoration.
12459 It is still experimental and disabled by default.
12460 * desktop.el (desktop--save-windows): Put the selected frame at
12461 the head of the list.
12462 (desktop--make-full-frame): New function.
12463 (desktop--restore-windows): Try to re-select the frame that was
12464 selected upon saving. Do not abort if some frames fail to restore,
12465 just show an error message and continue. Set up maximized frames
12466 so they have default non-maximized dimensions.
12467
12468 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
12469
12470 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
12471 Don't start heredoc inside a string or comment.
12472
12473 2013-06-29 Eli Zaretskii <eliz@gnu.org>
12474
12475 * bindings.el (visual-order-cursor-movement): New defcustom.
12476 (right-char, left-char): Provide visual-order cursor motion by
12477 calling move-point-visually. Update the doc strings.
12478
12479 2013-06-28 Kenichi Handa <handa@gnu.org>
12480
12481 * international/mule.el (define-coding-system): New coding system
12482 properties :inhibit-null-byte-detection,
12483 :inhibit-iso-escape-detection, and :prefer-utf-8.
12484 (set-buffer-file-coding-system): If :charset-list property of
12485 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
12486 appropriate for setting.
12487
12488 * international/mule-cmds.el (select-safe-coding-system):
12489 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
12490 multibyte characters, return utf-8 (or one of its siblings).
12491
12492 * international/mule-conf.el (prefer-utf-8): New coding system.
12493 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
12494 files.
12495
12496 2013-06-28 Ivan Kanis <ivan@kanis.fr>
12497
12498 * net/shr.el (shr-render-region): New function.
12499
12500 * net/eww.el: Autoload `eww-browse-url'.
12501
12502 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
12503
12504 * emacs-lisp/package-x.el (package-upload-buffer-internal):
12505 Adapt to `package-desc-version' being a list.
12506 Use `package--ac-desc-version' to retrieve version from a package
12507 archive element.
12508
12509 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
12510
12511 New experimental feature to save&restore window and frame setup.
12512 * desktop.el (desktop-save-windows): New defcustom.
12513 (desktop--saved-states): New var.
12514 (desktop--excluded-frame-parameters): New defconst.
12515 (desktop--filter-frame-parms, desktop--find-frame-in-display)
12516 (desktop--restore-windows, desktop--save-windows): New functions.
12517 (desktop-save): Call `desktop--save-windows'.
12518 (desktop-read): Call `desktop--restore-windows'.
12519
12520 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
12521
12522 * net/shr.el (add-face-text-property): Remove compat definition.
12523
12524 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12525
12526 * info.el (Info-try-follow-nearest-node): Move search for footnote
12527 above search for node name to prevent missing a footnote (bug#14717).
12528
12529 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
12530
12531 * obsolete/otodo-mode.el: Add obsolescence info to file header.
12532
12533 2013-06-27 Leo Liu <sdl.web@gmail.com>
12534
12535 * net/eww.el (eww-read-bookmarks): Check file size.
12536
12537 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12538
12539 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
12540 advice--pending if newdef is nil or an autoload (bug#13820).
12541 (advice-mapc): New function.
12542
12543 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
12544
12545 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
12546 probably.
12547 (eww-mode-map): Add a menu bar.
12548 (eww-add-bookmark): New command.
12549 (eww-bookmark-mode): New mode and commands.
12550 (eww-add-bookmark): Remove newlines from the title.
12551 (eww-bookmark-browse): Don't bug out if it's the only window.
12552
12553 2013-06-26 Glenn Morris <rgm@gnu.org>
12554
12555 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
12556 (hfy-size): Handle ttys. (Bug#14668)
12557
12558 * info-xref.el: Update for Texinfo 5 change in *note format.
12559 (info-xref-node-re, info-xref-note-re): New constants.
12560 (info-xref-check-buffer): Use info-xref-note-re.
12561
12562 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
12563
12564 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
12565
12566 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
12567 nil terminate the loop (bug#14718).
12568
12569 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12570
12571 * net/eww.el: Rework history traversal. When going forward/back,
12572 put these actions into the history, too, so that they can be
12573 replayed.
12574 (eww-render): Move the history reset to the correct buffer.
12575
12576 2013-06-25 Juri Linkov <juri@jurta.org>
12577
12578 * files-x.el (modify-dir-local-variable): Change the header comment
12579 in the file with directory local variables. (Bug#14692)
12580
12581 * files-x.el (read-file-local-variable-value): Add `default'.
12582 (Bug#14710)
12583
12584 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12585
12586 * net/eww.el (eww-make-unique-file-name): Create a unique file
12587 name before saving to entering `y' accidentally asynchronously.
12588
12589 2013-06-25 Ivan Kanis <ivan@kanis.fr>
12590
12591 * net/eww.el (eww-download): New command and keystroke.
12592
12593 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12594
12595 * net/eww.el (eww-copy-page-url): Change name of command.
12596
12597 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
12598 be more consistent with Info and dired.
12599
12600 * net/eww.el (eww-mode-map): Ditto.
12601
12602 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12603
12604 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
12605 packages from archives.
12606 (package-archive-contents): Change format; include obsolete packages.
12607 (package-desc): Use `dir' to mark builtin packages.
12608 (package--from-builtin): Set the `dir' field to `builtin'.
12609 (generated-autoload-file, version-control): Declare.
12610 (package-compute-transaction): Change first arg and return value to be
12611 lists of package-descs. Adjust to new package-archive-contents format.
12612 (package--add-to-archive-contents): Adjust to new
12613 package-archive-contents format.
12614 (package-download-transaction): Arg is now a list of package-descs.
12615 (package-install): If `pkg' is a package name, pass it as
12616 a requirement, so it is subject to the usual (e.g. disabled) checks.
12617 (describe-package): Accept package-desc as well.
12618 (describe-package-1): Describe a specific package-desc. Add links to
12619 other package-descs for the same package name.
12620 (package-menu-describe-package): Pass the actual package-desc.
12621 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
12622 works correctly.
12623 (package-desc-status): New function.
12624 (package-menu--refresh): New function, extracted
12625 from package-menu--generate.
12626 (package-menu--generate): Use it.
12627 (package-delete): Update package-alist.
12628 (package-menu-execute): Don't call package-initialize.
12629
12630 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
12631 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
12632 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
12633 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
12634 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
12635 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
12636
12637 2013-06-25 Martin Rudalics <rudalics@gmx.at>
12638
12639 * window.el (window--state-get-1): Workaround for bug#14527.
12640 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
12641
12642 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
12643
12644 * net/eww.el (eww-back-url): Implement the history by stashing all
12645 the data into a list.
12646 (eww-forward-url): Allow going forward in the history, too.
12647
12648 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
12649
12650 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
12651 for values and use read--expression for expressions (bug#14710).
12652 (read-file-local-variable): Avoid setq.
12653 (read-file-local-variable-mode): Use minor-mode-list.
12654
12655 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12656
12657 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
12658 for DOI URLs.
12659
12660 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12661
12662 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
12663 Update imenu-support when dialect changes.
12664
12665 2013-06-25 Leo Liu <sdl.web@gmail.com>
12666
12667 * ido.el (ido-read-internal): Allow forward slash on windows.
12668
12669 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12670
12671 * net/eww.el (eww): Start of strings is \\`, not ^.
12672
12673 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12674
12675 * net/shr.el (shr-browse-url): Fix interactive spec.
12676
12677 * net/eww.el (eww): Add a trailing slash to domain names.
12678
12679 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
12680
12681 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
12682
12683 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
12684
12685 * net/shr.el (shr-browse-url): Use an external browser if given a
12686 prefix.
12687
12688 * net/eww.el (eww-external-browser): Move to shr.
12689
12690 2013-06-24 Ivan Kanis <ivan@kanis.fr>
12691
12692 * net/eww.el (eww): Work more correctly for file: URLs.
12693 (eww-detect-charset): Allow quoted charsets.
12694 (eww-yank-page-url): New command and keystroke.
12695
12696 2013-06-24 Daiki Ueno <ueno@gnu.org>
12697
12698 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
12699 file name of gpg executable.
12700 (epg-context-program): New function.
12701 (epg-context-home-directory): New function.
12702 (epg-context-set-program): New function.
12703 (epg-context-set-home-directory): New function.
12704 (epg--start): Use `epg-context-program' instead of
12705 'epg-gpg-program'.
12706 (epg--list-keys-1): Likewise.
12707
12708 2013-06-24 Leo Liu <sdl.web@gmail.com>
12709
12710 * ido.el (ido-read-internal): Fix bug#14620.
12711
12712 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12713
12714 * faces.el (face-documentation): Simplify.
12715 (read-face-attribute, tty-find-type, x-resolve-font-name):
12716 Use `string-match-p'.
12717 (list-faces-display): Use `string-match-p'. Simplify.
12718 (face-spec-recalc): Check face to avoid face alias loops.
12719 (read-color): Use `string-match-p' and non-capturing parenthesis.
12720
12721 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
12722
12723 * net/shr.el (shr-rescale-image): Use the new
12724 :max-width/:max-height functionality.
12725
12726 2013-06-23 Ivan Kanis <ivan@kanis.fr>
12727
12728 * net/eww.el (eww-search-prefix): New variable.
12729 (eww): Use it.
12730 (eww-external-browser): New variable.
12731 (eww-mode-map): New keystroke.
12732 (eww-browse-with-external-browser): New command.
12733
12734 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
12735
12736 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
12737
12738 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12739 Don't skip aligning the next header field when padding is 0;
12740 otherwise, field width is not respected unless the title is as
12741 wide as the field.
12742
12743 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
12744
12745 * emacs-lisp/package.el (package-el-version): Remove.
12746 (package-process-define-package): Fix inf-loop.
12747 (package-install): Allow symbols as arguments again.
12748
12749 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12750
12751 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
12752 add some more keyword-like methods.
12753 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
12754
12755 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
12756
12757 * bs.el (bs-buffer-show-mark): Make defvar-local.
12758 (bs-mode): Use setq-local.
12759
12760 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
12761 (emacs-lock--try-unlocking): Make defvar-local.
12762
12763 2013-06-22 Glenn Morris <rgm@gnu.org>
12764
12765 * play/cookie1.el (cookie-apropos): Minor simplification.
12766
12767 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
12768
12769 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
12770
12771 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
12772 `regexp-opt', it breaks the build during dumping.
12773
12774 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
12775
12776 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
12777 Highlight keyword-like methods on Kernel and Module with
12778 font-lock-builtin-face.
12779 (auto-mode-alist): Consolidate different entries into one regexp
12780 and add more *file-s.
12781
12782 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
12783
12784 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
12785
12786 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
12787 (diary-entry): Use it in the action of this button type instead of
12788 diary-goto-entry.
12789
12790 * calendar/todo-mode.el: New version.
12791 (todo-add-category): Append new category to end of file and give
12792 it the highest number, instead of putting it at the beginning and
12793 giving it 0. Incorporate noninteractive functionality.
12794 (todo-forward-category): Adapt to 1-based category numbering.
12795 Allow skipping over archived categories.
12796 (todo-backward-category): Derive from todo-forward-category.
12797 (todo-backward-item, todo-forward-item): Make noninteractive and
12798 delegate interactive part to new commands. Make sensitive to done items.
12799 (todo-categories): Make value an alist of category names and
12800 vectors of item counts.
12801 (todo-category-beg): Make a defconst.
12802 (todo-category-number): Use 1 instead of 0 as initial value.
12803 (todo-category-select): Make sensitive to overlays, optional item
12804 highlighting and done items.
12805 (todo-delete-item): Make sensitive to overlays and marked and done items.
12806 (todo-edit-item): Make sensitive to overlays and editing of
12807 date/time header optional. Add format checks.
12808 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
12809 no-op if point is not on an item. Advertise using todo-edit-quit.
12810 (todo-edit-mode): Make sensitive to new format, font-locking, and
12811 multiple todo files.
12812 (todo-insert-item, todo-insert-item-here): Derive from
12813 todo-basic-insert-item and extend functionality.
12814 (todo-item-end, todo-item-start): Make sensitive to done items.
12815 (todo-item-string): Don't return text properties. Restore point.
12816 (todo-jump-to-category): Make sensitive to multiple todo files and
12817 todo archives. Use extended category completion.
12818 (todo-lower-item, todo-raise-item): Rename to *-priority and
12819 derive from todo-set-item-priority.
12820 (todo-mode): Derive from special-mode. Make sensitive to new
12821 format, font-locking and multiple todo files. Make read-only.
12822 (todo-mode-map): Don't suppress digit keys, so they can supply
12823 prefix arguments. Add many new key bindings.
12824 (todo-prefix): Insert as an overlay instead of file text.
12825 Change semantics from diary date expression to purely visual mark.
12826 (todo-print): Rename to todo-print-buffer. Make buffer display
12827 features printable. Remove option to restrict number of items
12828 printed. Add option to print to file.
12829 (todo-print-function): Rename to todo-print-buffer-function.
12830 (todo-quit): Extend to handle exiting new todo modes.
12831 (todo-remove-item): Make sensitive to overlays.
12832 (todo-save): Extend to buffers of filtered items.
12833 (todo-show): Make sensitive to done items, multiple todo files and
12834 new todo modes. Offer to convert legacy todo file before creating
12835 first new todo file.
12836 (todo-show-priorities): Rename to todo-top-priorities.
12837 Change semantics of value 0.
12838 (todo-top-priorities): Rename to todo-filter-top-priorities,
12839 derive from todo-filter-items and extend functionality.
12840 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
12841 and extend functionality to other types of filtered items.
12842 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
12843 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
12844 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
12845 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
12846 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
12847 (todo-edit-mode-hook, todo-entry-prefix-function)
12848 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
12849 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
12850 (todo-initials, todo-insert-threshold, todo-item-string-start)
12851 (todo-line-string, todo-menu, todo-mode-hook)
12852 (todo-more-important-p, todo-previous-answer, todo-previous-line)
12853 (todo-print-priorities, todo-remove-separator)
12854 (todo-save-top-priorities-too, todo-string-count-lines)
12855 (todo-string-multiline-p, todo-time-string-format)
12856 (todo-tmp-buffer-name): Remove.
12857 (todo-add-file, todo-archive-done-item, todo-choose-archive)
12858 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
12859 (todo-edit-category-diary-inclusion)
12860 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
12861 (todo-edit-file, todo-edit-item-date-day)
12862 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
12863 (todo-edit-item-date-month, todo-edit-item-date-to-today)
12864 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
12865 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
12866 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
12867 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
12868 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
12869 (todo-filter-top-priorities-multifile, todo-find-archive)
12870 (todo-find-filtered-items-file, todo-go-to-source-item)
12871 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
12872 (todo-jump-to-archive-category, todo-lower-category)
12873 (todo-mark-category, todo-marked-item-p, todo-merge-category)
12874 (todo-move-category, todo-move-item, todo-next-button)
12875 (todo-next-item, todo-padded-string, todo-powerset)
12876 (todo-previous-button, todo-previous-item)
12877 (todo-print-buffer-to-file, todo-raise-category)
12878 (todo-rename-category, todo-repair-categories-sexp, todo-search)
12879 (todo-set-category-number, todo-set-item-priority)
12880 (todo-set-top-priorities-in-category)
12881 (todo-set-top-priorities-in-file, todo-show-categories-table)
12882 (todo-sort-categories-alphabetically-or-numerically)
12883 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
12884 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
12885 (todo-toggle-item-header, todo-toggle-item-highlighting)
12886 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
12887 (todo-toggle-view-done-items, todo-toggle-view-done-only)
12888 (todo-unarchive-items, todo-unmark-category): New commands.
12889 (todo-absolute-file-name, todo-add-to-buffer-list)
12890 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
12891 (todo-basic-insert-item, todo-category-completions)
12892 (todo-category-number, todo-category-string-matcher-1)
12893 (todo-category-string-matcher-2, todo-check-filtered-items-file)
12894 (todo-check-format, todo-clear-matches)
12895 (todo-comment-string-matcher, todo-convert-legacy-date-time)
12896 (todo-current-category, todo-date-string-matcher)
12897 (todo-define-insertion-command, todo-diary-expired-matcher)
12898 (todo-diary-goto-entry, todo-diary-item-p)
12899 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
12900 (todo-display-categories, todo-display-sorted, todo-done-item-p)
12901 (todo-done-item-section-p, todo-done-separator)
12902 (todo-done-string-matcher, todo-files, todo-filter-items)
12903 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
12904 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
12905 (todo-insert-category-line, todo-insert-item-from-calendar)
12906 (todo-insert-sort-button, todo-insert-with-overlays)
12907 (todo-insertion-command-name, todo-insertion-key-bindings)
12908 (todo-label-to-key, todo-longest-category-name-length)
12909 (todo-make-categories-list, todo-mode-external-set)
12910 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
12911 (todo-modes-set-3, todo-multiple-filter-files)
12912 (todo-nondiary-marker-matcher, todo-prefix-overlays)
12913 (todo-read-category, todo-read-date, todo-read-dayname)
12914 (todo-read-file-name, todo-read-time)
12915 (todo-reevaluate-category-completions-files-defcustom)
12916 (todo-reevaluate-default-file-defcustom)
12917 (todo-reevaluate-filelist-defcustoms)
12918 (todo-reevaluate-filter-files-defcustom)
12919 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
12920 (todo-reset-done-separator, todo-reset-done-separator-string)
12921 (todo-reset-done-string, todo-reset-global-current-todo-file)
12922 (todo-reset-highlight-item, todo-reset-nondiary-marker)
12923 (todo-reset-prefix, todo-set-categories)
12924 (todo-set-date-from-calendar, todo-set-show-current-file)
12925 (todo-set-top-priorities, todo-short-file-name)
12926 (todo-show-current-file, todo-sort, todo-time-string-matcher)
12927 (todo-total-item-counts, todo-update-buffer-list)
12928 (todo-update-categories-display, todo-update-categories-sexp)
12929 (todo-update-count, todo-validate-name, todo-y-or-n-p):
12930 New functions.
12931 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
12932 New major modes.
12933 (todo-categories, todo-display, todo-edit, todo-faces)
12934 (todo-filtered): New defgroups.
12935 (todo-archived-only, todo-button, todo-category-string, todo-date)
12936 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
12937 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
12938 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
12939 (todo-add-item-if-new-category, todo-always-add-time-string)
12940 (todo-categories-align, todo-categories-archived-label)
12941 (todo-categories-category-label, todo-categories-diary-label)
12942 (todo-categories-done-label, todo-categories-number-separator)
12943 (todo-categories-todo-label, todo-categories-totals-label)
12944 (todo-category-completions-files, todo-completion-ignore-case)
12945 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
12946 (todo-done-separator-string, todo-done-string)
12947 (todo-files-function, todo-filter-done-items, todo-filter-files)
12948 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
12949 (todo-initial-category, todo-initial-file, todo-item-mark)
12950 (todo-legacy-date-time-regexp, todo-mode-line-function)
12951 (todo-nondiary-marker, todo-number-prefix)
12952 (todo-print-buffer-function, todo-show-current-file)
12953 (todo-show-done-only, todo-show-first, todo-show-with-done)
12954 (todo-skip-archived-categories, todo-top-priorities-overrides)
12955 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
12956 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
12957 New defcustoms.
12958 (todo-category-done, todo-date-pattern, todo-date-string-start)
12959 (todo-diary-items-buffer, todo-done-string-start)
12960 (todo-filtered-items-buffer, todo-item-start)
12961 (todo-month-abbrev-array, todo-month-name-array)
12962 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
12963 (todo-top-priorities-buffer): New defconsts.
12964 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
12965 (todo-categories-with-marks, todo-category-string-face)
12966 (todo-comment-face, todo-comment-string, todo-current-todo-file)
12967 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
12968 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
12969 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
12970 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
12971 (todo-font-lock-keywords, todo-global-current-todo-file)
12972 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
12973 (todo-insertion-commands-args)
12974 (todo-insertion-commands-args-genlist)
12975 (todo-insertion-commands-names, todo-insertion-map)
12976 (todo-key-bindings-t, todo-key-bindings-t+a)
12977 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
12978 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
12979 (todo-nondiary-face, todo-print-buffer, todo-time-face)
12980 (todo-visited): New variables.
12981
12982 2013-06-21 Glenn Morris <rgm@gnu.org>
12983
12984 * play/cookie1.el (cookie-apropos): Add optional display argument.
12985 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
12986 (psychoanalyze-pinhead): Use cookie-doctor.
12987
12988 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
12989
12990 * emacs-lisp/package.el (tar-get-file-descriptor)
12991 (tar--extract): Declare.
12992
12993 2013-06-21 Eduard Wiebe <usenet@pusto.de>
12994
12995 Extend flymake's warning predicate to be a function (bug#14217).
12996 * progmodes/flymake.el (flymake-warning-predicate): New.
12997 (flymake-parse-line): Use it.
12998 (flymake-warning-re): Make obsolete alias to
12999 `flymake-warning-predicate'.
13000
13001 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13002
13003 * emacs-lisp/package.el (package-alist): Include obsolete packages.
13004 (package-obsolete-list): Remove.
13005 (package-activate): Remove min-version argument. Add `force' argument.
13006 Adjust to new package-alist format.
13007 (package-mark-obsolete): Remove.
13008 (package-unpack): Force reload of the package's autoloads.
13009 (package-installed-p): Check builtins if the installed package is not
13010 recent enough.
13011 (package-initialize): Don't reset package-obsolete-list.
13012 Don't specify which package version to activate.
13013 (package-process-define-package, describe-package-1)
13014 (package-menu--generate): Adjust to new package-alist format.
13015
13016 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13017
13018 * allout-widgets.el (allout-widgets-mode-off)
13019 (allout-widgets-mode-on, allout-widgets-pre-command-business)
13020 (allout-widgets-post-command-business)
13021 (allout-widgets-after-copy-or-kill-function)
13022 (allout-widgets-after-undo-function, allout-test-range-overlaps)
13023 (allout-decorate-item-and-context)
13024 (allout-graphics-modification-handler): Fix typos in docstrings.
13025 (allout-get-or-create-parent-widget): Use `looking-at-p'.
13026
13027 * cmuscheme.el (scheme-start-file): Doc fix.
13028 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
13029 (scheme-input-filter): Use `string-match-p'.
13030
13031 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
13032
13033 * dired-x.el: Use Dired consistently in docstrings.
13034
13035 * dired.el: Use Dired consistently in docstrings.
13036 (dired-readin, dired-mode): Use `setq-local'.
13037 (dired-switches-alist): Make defvar-local.
13038 (dired-buffers-for-dir): Use `zerop'.
13039 (dired-safe-switches-p, dired-switches-escape-p)
13040 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
13041 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
13042 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
13043 (dired-goto-next-nontrivial-file): Use `string-match-p'.
13044 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
13045 (dired-toggle-marks, dired-mark-files-containing-regexp)
13046 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
13047 (dired-flag-auto-save-files, dired-flag-backup-files):
13048 Use `looking-at-p'.
13049 (dired-mark-files-regexp, dired-build-subdir-alist):
13050 Use `string-match-p', `looking-at-p'.
13051
13052 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
13053 (direct-print-region-helper): Use `string-match-p'.
13054
13055 2013-06-21 Leo Liu <sdl.web@gmail.com>
13056
13057 * comint.el (comint-redirect-results-list-from-process):
13058 Fix infinite loop.
13059
13060 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13061
13062 * net/eww.el (eww-update-header-line-format): Quote % characters.
13063
13064 2013-06-21 Glenn Morris <rgm@gnu.org>
13065
13066 * play/cookie1.el (cookie): New custom group.
13067 (cookie-file): New option.
13068 (cookie-check-file): New function.
13069 (cookie): Make it interactive. Make start and end messages optional.
13070 Interactively, display the result. Default to cookie-file.
13071 (cookie-insert): Default to cookie-file.
13072 (cookie-snarf): Make start and end messages optional.
13073 Default to cookie-file. Use with-temp-buffer.
13074 (cookie-read): Rename from read-cookie.
13075 Make start and end messages optional. Default to cookie-file.
13076 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
13077 Do not autoload it.
13078 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
13079 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
13080
13081 2013-06-21 Leo Liu <sdl.web@gmail.com>
13082
13083 * progmodes/octave.el (octave-mode): Backward compatibility fix.
13084
13085 2013-06-21 Glenn Morris <rgm@gnu.org>
13086
13087 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
13088
13089 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13090 Daniel Hackney <dan@haxney.org>
13091
13092 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
13093 Consolidate the single-file vs tarball code.
13094 (package-desc-suffix): New function.
13095 (package-desc-full-name): Don't bother inlining it.
13096 (package-load-descriptor): Return the new package-desc.
13097 (package-mark-obsolete): Remove unused arg `package'.
13098 (package-unpack): Make it work for single files as well.
13099 Make it update package-alist.
13100 (package--make-autoloads-and-stuff): Rename from
13101 package--make-autoloads-and-compile. Don't compile any more.
13102 (package--compile): New function.
13103 (package-generate-description-file): New function, extracted from
13104 package-unpack-single.
13105 (package-unpack-single): Remove.
13106 (package--with-work-buffer): Add indentation and debugging info.
13107 (package-download-single): Remove.
13108 (package-install-from-archive): Rename from package-download-tar, make
13109 it take a pkg-desc, and make it work for single files as well.
13110 (package-download-transaction): Simplify.
13111 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
13112 external tar program.
13113 (package-install-from-buffer): Remove `pkg-desc' argument.
13114 Use package-tar-file-info for tar-mode buffers.
13115 (package-install-file): Simplify accordingly.
13116 (package-archive-base): Change to take a pkg-desc.
13117 * tar-mode.el (tar--check-descriptor): New function, extracted from
13118 tar-get-descriptor.
13119 (tar-get-descriptor): Use it.
13120 (tar-get-file-descriptor): New function.
13121 (tar--extract): New function, extracted from tar-extract.
13122 (tar--extract): Use it.
13123 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
13124 case the summary uses non-ascii. Adjust to new calling convention of
13125 package-tar-file-info.
13126
13127 2013-06-21 Leo Liu <sdl.web@gmail.com>
13128
13129 * comint.el (comint-redirect-results-list-from-process):
13130 Fix random delay. (Bug#14681)
13131
13132 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
13133
13134 * profiler.el (profiler-format-number): Use log, not log10.
13135
13136 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13137
13138 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
13139
13140 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13141
13142 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
13143 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
13144 yet available.
13145 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
13146 (AUTOGENEL): ... here.
13147 * emacs-lisp/cl-macs.el (cl--sublis): New function.
13148 (cl--defsubst-expand): Use it.
13149
13150 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
13151
13152 * subr.el (log10): Move here from C code, and declare as obsolete.
13153 All uses of (log10 X) replaced with (log X 10).
13154
13155 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13156
13157 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
13158 Declare with `defvar-local'.
13159 (tabulated-list-use-header-line, tabulated-list-entries)
13160 (tabulated-list-padding, tabulated-list-printer)
13161 (tabulated-list-sort-key): Declare with `defvar-local'.
13162 (tabulated-list-init-header, tabulated-list-print-fake-header):
13163 Use `setq-local'.
13164
13165 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
13166
13167 * arc-mode.el (archive-mode): Add `archive-write-file' to
13168 `write-contents-functions' also for remote files. (Bug#14652)
13169
13170 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
13171
13172 * cus-edit.el (custom-commands): Fix typos.
13173 (custom-display): Fix tooltip text.
13174 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
13175 Fix typos in docstrings.
13176 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
13177 (custom-unlispify-menu-entry, custom-magic-value-create)
13178 (custom-add-see-also, custom-group-value-create): Use ?\s.
13179 (custom-guess-type, customize-apropos, editable-field)
13180 (custom-face-value-create): Use `string-match-p'.
13181 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
13182
13183 * custom.el (custom-load-symbol): Use `string-match-p'.
13184
13185 * ansi-color.el: Convert to lexical binding.
13186 (ansi-colors): Fix URL.
13187 (ansi-color-context, ansi-color-context-region): Use defvar-local.
13188 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
13189 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
13190
13191 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13192
13193 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
13194
13195 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
13196
13197 2013-06-19 Tom Tromey <tromey@redhat.com>
13198
13199 * net/eww.el (eww-top-url): Remove.
13200 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
13201 (eww-render): Set new variables. Don't set eww-top-url.
13202 (eww-handle-link): Handle "prev", "home", and "contents".
13203 Downcase the rel text.
13204 (eww-top-url): Choose best top URL.
13205
13206 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13207
13208 * net/eww.el: Rewrite to implement form elements "by hand" instead of
13209 relying in widget.el. Using widget.el leads to too many
13210 user interface inconsistencies.
13211 (eww-self-insert): Implement entering commands in text fields.
13212 (eww-process-text-input): New function to make text input field editing
13213 work.
13214 (eww-submit): Rewrite to use the new-style form methods.
13215 (eww-select-display): Display the correct selected item.
13216 (eww-change-select): Implement changing the select value.
13217 (eww-toggle-checkbox): Implement radio/checkboxes.
13218 (eww-update-field): Fix compilation error.
13219 (eww-tag-textarea): Implement <textarea>.
13220
13221 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
13222 we don't shadow mode-specific bindings.
13223
13224 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
13225 nothing to push.
13226
13227 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
13228
13229 2013-06-19 Glenn Morris <rgm@gnu.org>
13230
13231 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
13232
13233 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13234
13235 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
13236 not needed.
13237
13238 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
13239
13240 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
13241
13242 * net/browse-url.el (browse-url-browser-function):
13243 `eww-browse-url' has the right calling signature, `eww' does not.
13244
13245 2013-06-19 Glenn Morris <rgm@gnu.org>
13246
13247 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
13248 Only eval autoloaded macros.
13249 (byte-compile-autoload): Only give the macro warning for macros.
13250
13251 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
13252 (ps-underlined-faces): Declare.
13253
13254 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
13255 (speedbar-add-supported-extension): Declare.
13256
13257 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
13258 Don't include a date stamp in the header of the generated file;
13259 it leads to needless differences between output files.
13260
13261 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
13262
13263 * net/secrets.el (secrets-struct-secret-content-type):
13264 Replace check of introspection data by a test call of "CreateItem".
13265 Some servers do not offer introspection.
13266
13267 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
13268
13269 * electric.el (electric-pair-mode): Improve interaction with
13270 electric-layout-mode.
13271 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
13272 (electric-pair-syntax): Use text-mode-syntax-table in comments
13273 and strings.
13274 (electric-pair--insert): New function.
13275 (electric-pair-post-self-insert-function): Use it and
13276 electric--after-char-pos.
13277
13278 2013-06-19 Leo Liu <sdl.web@gmail.com>
13279
13280 * progmodes/octave.el (octave-help): Fix regexp.
13281
13282 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
13283
13284 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
13285 (shr-table-horizontal-line): Allow nil as a value, and change the
13286 default.
13287 (shr-insert-table-ruler): Respect the nil value.
13288
13289 2013-06-18 Tom Tromey <tromey@barimba>
13290
13291 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13292 New defvars.
13293 (eww-open-file): New defun.
13294 (eww-render): Initialize new variables.
13295 (eww-display-html): Handle "link" and "a".
13296 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
13297 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
13298 (eww-back-url): Rename from eww-previous-url.
13299 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
13300 New defuns.
13301
13302 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
13303
13304 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
13305 Distinguish ternary operator tokens from slash symbol and slash
13306 char literal.
13307
13308 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13309
13310 Convert symbol prettification into minor mode and global minor mode.
13311
13312 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
13313 `prog-prettify-symbols', and make a local defvar instead of defcustom.
13314 (prettify-symbols--keywords): Rename from
13315 `prog-prettify-symbols-alist' and make a local defvar.
13316 (prettify-symbols--compose-symbol): Rename from
13317 `prog--prettify-font-lock-compose-symbol'.
13318 (prettify-symbols--make-keywords): Rename from
13319 `prog-prettify-font-lock-symbols-keywords' and simplify.
13320 (prog-prettify-install): Remove.
13321 (prettify-symbols-mode): New minor mode, based on
13322 `prog-prettify-install'.
13323 (turn-on-prettify-symbols-mode): New function.
13324 (global-prettify-symbols-mode): New globalized minor mode.
13325
13326 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13327 * progmodes/cfengine.el (cfengine3-mode):
13328 * progmodes/perl-mode.el (perl-mode): Don't call
13329 `prog-prettify-install'; set `prettify-symbols-alist' instead.
13330
13331 2013-06-18 Juri Linkov <juri@jurta.org>
13332
13333 * files-x.el (modify-file-local-variable-message): New function.
13334 (modify-file-local-variable)
13335 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
13336 and call `modify-file-local-variable-message' when it's non-nil.
13337 (add-file-local-variable, delete-file-local-variable)
13338 (add-file-local-variable-prop-line)
13339 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
13340 and use it. (Bug#9820)
13341
13342 2013-06-18 Juri Linkov <juri@jurta.org>
13343
13344 * emulation/vi.el (vi-shell-op):
13345 * emulation/vip.el (vip-execute-com, ex-command):
13346 * emulation/viper-cmd.el (viper-exec-bang):
13347 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
13348 the call of `shell-command-on-region'. (Bug#14637)
13349
13350 * simple.el (shell-command-on-region): Doc fix.
13351
13352 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13353
13354 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
13355 (bug#14633).
13356
13357 2013-06-18 Glenn Morris <rgm@gnu.org>
13358
13359 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
13360
13361 * newcomment.el (comment-search-forward, comment-search-backward):
13362 Doc fix. (Bug#14376)
13363
13364 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
13365
13366 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
13367 (buffer-face-mode-invoke): Doc fix.
13368
13369 2013-06-18 Matthias Meulien <orontee@gmail.com>
13370
13371 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
13372 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
13373
13374 2013-06-18 Glenn Morris <rgm@gnu.org>
13375
13376 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
13377 Replace obsolete function generic-make-keywords with its expansion.
13378
13379 * progmodes/python.el (ffap-alist): Declare.
13380
13381 * textmodes/reftex.el (bibtex-mode-map): Declare.
13382
13383 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
13384
13385 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
13386 (package-unpack, package-unpack-single): Return the pkg-dir.
13387 (package-download-transaction): Use it to update package-alist.
13388
13389 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
13390
13391 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
13392 possible choice.
13393
13394 2013-06-17 Juri Linkov <juri@jurta.org>
13395
13396 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
13397
13398 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13399
13400 * emacs-lisp/package.el (package-load-descriptor):
13401 Remove `with-syntax-table' call, `read' doesn't need it.
13402 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
13403
13404 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13405
13406 * startup.el (command-line): Expand package name returned by
13407 `package--description-file' (bug#14639).
13408
13409 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
13410
13411 * emacs-lisp/package.el (package-load-descriptor): Do not call
13412 `emacs-lisp-mode', just use its syntax table.
13413
13414 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
13415
13416 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
13417 `font-lock-extra-managed-props' if any prettifying keyword is added.
13418 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
13419 (prog-mode): Use `setq-local'.
13420
13421 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13422
13423 * international/characters.el (standard-case-table): Set syntax of ?»
13424 and ?« to punctuation.
13425
13426 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
13427
13428 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
13429 Save relevant match data before calling `syntax-ppss' (bug#14595).
13430
13431 2013-06-15 Juri Linkov <juri@jurta.org>
13432
13433 * files-x.el (modify-file-local-variable-prop-line): Add local
13434 variables to the end of the existing comment on the first line.
13435 Use `file-auto-mode-skip' to skip interpreter magic line,
13436 and also skip XML declaration.
13437
13438 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13439
13440 * startup.el (package--builtin-versions): New var.
13441 (package-subdirectory-regexp): Remove.
13442 (package--description-file): Hard code its value instead.
13443
13444 * emacs-lisp/package.el: Don't activate packages older than builtin.
13445 (package-obsolete-list): Rename from package-obsolete-alist, and make
13446 it into a simple list of package-desc.
13447 (package-strip-version): Remove.
13448 (package-built-in-p): Use package--builtin-versions.
13449 (package-mark-obsolete): Simplify.
13450 (package-process-define-package): Mark it obsolete if older than the
13451 builtin version.
13452 (package-handle-response): Use line-end-position.
13453 (package-read-archive-contents, package--download-one-archive):
13454 Simplify.
13455 (package--add-to-archive-contents): Skip if older than the builtin or
13456 installed version.
13457 (package-menu-describe-package): Fix last change.
13458 (package-list-unversioned): New var.
13459 (package-menu--generate): Use it.
13460
13461 * emacs-lisp/autoload.el: Manage package--builtin-versions.
13462 (autoload--insert-text, autoload--insert-cookie-text): New functions.
13463 (autoload-builtin-package-versions): New variable.
13464 (autoload-generate-file-autoloads): Use them.
13465 Remove the list of autoloaded functions/macros from the
13466 (autoload...) comments.
13467
13468 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
13469
13470 2013-06-15 Eli Zaretskii <eliz@gnu.org>
13471
13472 * simple.el (line-move-partial): Don't jump to the next screen
13473 line as soon as it becomes visible. Instead, continue enlarging
13474 the vscroll until the portion of a tall screen line that's left on
13475 display is about the height of the frame's default font.
13476 (Bug#14567)
13477
13478 2013-06-15 Glenn Morris <rgm@gnu.org>
13479
13480 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
13481 compilation-error-regexp-alist void, or local while let-bound.
13482
13483 * progmodes/make-mode.el (makefile-mode-syntax-table):
13484 Treat "=" as punctuation. (Bug#14614)
13485
13486 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
13487
13488 * help-fns.el (describe-variable):
13489 Add extra line for permanent-local variables.
13490
13491 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
13492
13493 * progmodes/scheme.el (scheme-font-lock-keywords-2):
13494 Add export, import, library. (Bug#9164)
13495 (library): Set indent function.
13496
13497 2013-06-14 Glenn Morris <rgm@gnu.org>
13498
13499 * term/xterm.el (xterm--query):
13500 Stop after first matching handler. (Bug#14615)
13501
13502 2013-06-14 Ivan Kanis <ivan@kanis.fr>
13503
13504 Add support for dired in saveplace.
13505 * dired.el (dired-initial-position-hook): New variable.
13506 (dired-initial-position): Call hook to place cursor position.
13507 * saveplace.el (save-place-to-alist): Add dired position.
13508 (save-place-dired-hook): New function.
13509
13510 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
13511
13512 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
13513 through a symbol rather than letrec.
13514
13515 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
13516 (package-desc): Add `dir' field.
13517 (package-desc-full-name): New function.
13518 (package-load-descriptor): Combine the two arguments. Don't use `load'.
13519 (package-maybe-load-descriptor): Remove.
13520 (package-load-all-descriptors): Just call package-load-descriptor.
13521 (package--disabled-p): New function.
13522 (package-desc-vers, package-desc-doc): Remove aliases.
13523 (package--dir): Remove function.
13524 (package-activate): Check if a package is disabled.
13525 (package-process-define-package): New function, extracted from
13526 define-package.
13527 (define-package): Turn into a place holder.
13528 (package-unpack-single, package-tar-file-info):
13529 Use package--description-file.
13530 (package-compute-transaction): Use package--disabled-p.
13531 (package-download-transaction): Don't call
13532 package-maybe-load-descriptor since they're all loaded anyway.
13533 (package-install): Change argument to be a pkg-desc.
13534 (package-delete): Use a single pkg-desc argument.
13535 (describe-package-1): Use package-desc-dir instead of package--dir.
13536 Use package-desc property instead of package-symbol.
13537 (package-install-button-action): Adjust accordingly.
13538 (package--push): Rewrite.
13539 (package-menu--print-info): Adjust accordingly. Change the ID format
13540 to be a pkg-desc.
13541 (package-menu-describe-package, package-menu-get-status)
13542 (package-menu--find-upgrades, package-menu-mark-upgrades)
13543 (package-menu-execute, package-menu--name-predicate):
13544 Adjust accordingly.
13545 * startup.el (package--description-file): New function.
13546 (command-line): Use it.
13547 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13548 Use package-desc-version.
13549
13550 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
13551 (byte-compile-preprocess): Use it.
13552 (byte-compile-file-form-defalias): Try a bit harder to use macros we
13553 can't quite recognize.
13554 (byte-compile-add-to-list): Remove.
13555 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
13556 (cconv-closure-convert): Add assertion.
13557
13558 * emacs-lisp/map-ynp.el: Use lexical-binding.
13559 (map-y-or-n-p): Remove unused vars `tail' and `object'.
13560 Factor out some repeated code.
13561
13562 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13563
13564 * subr.el (with-eval-after-load): New macro.
13565 (eval-after-load): Allow form to be a function.
13566 take advantage of lexical-binding.
13567 (do-after-load-evaluation): Use dolist and adjust to new format.
13568 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
13569
13570 2013-06-13 Juri Linkov <juri@jurta.org>
13571
13572 * replace.el (perform-replace): Display "symbol " and other search
13573 modes from `isearch-message-prefix' in the *Help* buffer.
13574
13575 * isearch.el (isearch-query-replace): Add " symbol" and other
13576 possible search modes from `isearch-message-prefix' to the prompt.
13577 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
13578 when reading a regexp to collect.
13579
13580 2013-06-13 Juri Linkov <juri@jurta.org>
13581
13582 * isearch.el (word-search-regexp): Match whitespace if the search
13583 string begins or ends in whitespace. The LAX arg is applied to
13584 both ends of the search string. Use `regexp-quote' and explicit
13585 \< and \> instead of \b. Use \` and \' instead of ^ and $.
13586 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
13587 boundaries are replaced with symbol boundaries, and characters
13588 between symbols match non-word non-symbol syntax. (Bug#14602)
13589
13590 2013-06-13 Juri Linkov <juri@jurta.org>
13591
13592 * isearch.el (isearch-del-char): Don't exceed the length of
13593 `isearch-string' by the prefix arg. (Bug#14563)
13594
13595 2013-06-13 Juri Linkov <juri@jurta.org>
13596
13597 * isearch.el (isearch-yank-word, isearch-yank-line)
13598 (isearch-char-by-name, isearch-quote-char)
13599 (isearch-printing-char, isearch-process-search-char):
13600 Add optional count prefix arg. (Bug#14563)
13601
13602 * international/isearch-x.el
13603 (isearch-process-search-multibyte-characters):
13604 Add optional count prefix arg.
13605
13606 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
13607
13608 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
13609 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
13610 lexical-binding.
13611
13612 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
13613
13614 * subr.el (set-temporary-overlay-map): Add on-exit argument.
13615
13616 2013-06-13 Glenn Morris <rgm@gnu.org>
13617
13618 * startup.el (tty-handle-args):
13619 Don't just discard "--" and anything after. (Bug#14608)
13620
13621 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
13622
13623 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
13624
13625 Implement changes in Secret Service API. Make it backward compatible.
13626 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
13627 (secrets-create-item): Use it. Prefix properties with interface.
13628
13629 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
13630
13631 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
13632 (term-emulate-terminal): Respect term-suppress-hard-newline.
13633
13634 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
13635
13636 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
13637 Only remove a `thumb-file' overlay. (Bug#14548)
13638
13639 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
13640
13641 * mail/reporter.el (reporter-submit-bug-report):
13642 Handle missing package-name. (Bug#14600)
13643
13644 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
13645
13646 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
13647 (reftex-citation-prompt, reftex-default-bibliography)
13648 (reftex-bib-or-thebib, reftex-get-bibfile-list)
13649 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
13650 (reftex-bib-sort-author, reftex-bib-sort-year)
13651 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
13652 (reftex-extract-bib-entries-from-thebibliography)
13653 (reftex-get-bibkey-default, reftex-get-bib-names)
13654 (reftex-parse-bibtex-entry, reftex-get-bib-field)
13655 (reftex-format-bib-entry, reftex-parse-bibitem)
13656 (reftex-format-bibitem, reftex-do-citation)
13657 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
13658 (reftex-restrict-bib-matches, reftex-extract-bib-file)
13659 (reftex-insert-bib-matches, reftex-format-citation)
13660 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
13661 (reftex-create-bibtex-file): Add docstrings, mostly by converting
13662 existing comments into docstrings.
13663
13664 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13665
13666 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
13667
13668 2013-06-12 Andreas Schwab <schwab@suse.de>
13669
13670 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
13671 for auto-save files.
13672
13673 2013-06-12 Glenn Morris <rgm@gnu.org>
13674
13675 * ido.el (ido-delete-ignored-files): Remove.
13676 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
13677 Go back to calling ido-ignore-item-p directly.
13678
13679 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
13680
13681 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
13682
13683 * ido.el (ido-delete-ignored-files): New function,
13684 split from ido-make-file-list-1.
13685 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
13686 (ido-make-file-list-1): Use ido-delete-ignored-files.
13687
13688 2013-06-12 Leo Liu <sdl.web@gmail.com>
13689
13690 * progmodes/octave.el (inferior-octave-startup)
13691 (inferior-octave-completion-table)
13692 (inferior-octave-track-window-width-change)
13693 (octave-eldoc-function-signatures, octave-help)
13694 (octave-find-definition): Use single quoted strings.
13695 (inferior-octave-startup-args): Change default value.
13696 (inferior-octave-startup): Do not hard code "-i" and
13697 "--no-line-editing".
13698 (inferior-octave-resync-dirs): Add optional arg NOERROR.
13699 (inferior-octave-directory-tracker): Use it.
13700 (octave-goto-function-definition): Robustify.
13701 (octave-help): Support highlighting operators in 'See also'.
13702 (octave-find-definition): Find subfunctions only in Octave mode.
13703
13704 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13705
13706 * help-fns.el (help-fns--compiler-macro): If the handler function is
13707 named, then put a link to it.
13708 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
13709 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
13710 (cl-typep): Use it.
13711 (cl-eval-when): Simplify debug spec.
13712 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
13713 compiler-macro function instead of setting `compiler-macro-file'.
13714
13715 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
13716
13717 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
13718 * vc/vc-hooks.el (vc-stay-local): Doc fix.
13719
13720 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
13721 Daniel Hackney <dan@haxney.org>
13722
13723 First part of Daniel Hackney's patch to package.el.
13724 * emacs-lisp/package.el: Use defstruct.
13725 (package-desc): New, main struct.
13726 (package--bi-desc, package--ac-desc): New structs, used to describe the
13727 format in external files.
13728 (package-desc-vers): Replace with package-desc-version accessor.
13729 (package-desc-doc): Replace with package-desc-summary accessor.
13730 (package-activate-1): Remove `package' arg since the pkg-vec now
13731 includes the name.
13732 (define-package): Use package-desc-from-define.
13733 (package-unpack-single): Change file-name arg to be a symbol.
13734 (package--add-to-archive-contents): Use package-desc-create and new
13735 accessor functions to package--ac-desc.
13736 (package-buffer-info, package-tar-file-info): Return a package-desc.
13737 (package-install-from-buffer): Remove `type' argument. Change pkg-info
13738 arg to be a package-desc.
13739 (package-install-file): Adjust accordingly. Use \' to match EOS.
13740 (package--from-builtin): New function.
13741 (describe-package-1, package-menu--generate): Use it.
13742 (package--make-autoloads-and-compile): Change name arg to be a symbol.
13743 (package-generate-autoloads): Idem and return the name of the file.
13744 * emacs-lisp/package-x.el (package-upload-buffer-internal):
13745 Change pkg-info arg to be a package-desc.
13746 Use package-make-ac-desc.
13747 (package-upload-file): Use \' to match EOS.
13748 * finder.el (finder-compile-keywords): Use package-make-builtin.
13749
13750 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13751
13752 * vc/vc.el (vc-deduce-fileset): Change error message.
13753 (vc-read-backend): New function.
13754 (vc-next-action): Use it.
13755
13756 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
13757
13758 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
13759 (prolog-font-lock-keywords): Use regexp-opt instead.
13760 Don't manually highlight strings.
13761 (prolog-mode-variables): Simplify comment-start-skip.
13762 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
13763
13764 * emacs-lisp/generic.el (generic--normalise-comments)
13765 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
13766 (generic-mode-set-comments): Use them.
13767 (generic-bracket-support): Use setq-local.
13768 (generic-make-keywords-list): Declare obsolete.
13769
13770 2013-06-11 Glenn Morris <rgm@gnu.org>
13771
13772 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
13773 Prettify after setting font-lock-defaults. (Bug#14574)
13774
13775 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
13776
13777 * replace.el (query-replace, occur-read-regexp-defaults-function)
13778 (replace-search):
13779 * subr.el (declare-function, number-sequence, local-set-key)
13780 (substitute-key-definition, locate-user-emacs-file)
13781 (with-silent-modifications, split-string, eval-after-load):
13782 Fix typos, remove unneeded backslashes and reflow some docstrings.
13783
13784 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
13785
13786 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
13787 default for Elisp files.
13788
13789 2013-06-11 Glenn Morris <rgm@gnu.org>
13790
13791 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
13792 although define-derived-mode was doing this anyway. (Bug#14583)
13793
13794 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
13795
13796 * allout.el (allout-encryption-plaintext-sanitization-regexps):
13797 Fix make-variable-buffer-local call to refer to the correct variable.
13798
13799 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
13800
13801 * eshell/em-term.el (eshell-visual-commands)
13802 (eshell-visual-subcommands, eshell-visual-options):
13803 Add summary line to docstrings. Add cross-references.
13804
13805 2013-06-10 Glenn Morris <rgm@gnu.org>
13806
13807 * epa.el (epa-read-file-name): New function. (Bug#14510)
13808 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
13809
13810 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13811
13812 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
13813 output redirection to be ignored with visual commands.
13814
13815 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
13816
13817 * eshell/em-term.el (eshell-visual-command-p): New function.
13818 (eshell-term-initialize): Move long lambda to separate function
13819 eshell-visual-command-p.
13820 * eshell/em-dirs.el (eshell-dirs-initialize):
13821 * eshell/em-script.el (eshell-script-initialize):
13822 Add missing #' to lambda.
13823
13824 2013-06-08 Leo Liu <sdl.web@gmail.com>
13825
13826 * progmodes/octave.el (octave-add-log-current-defun): New function.
13827 (octave-mode): Set add-log-current-defun-function.
13828 (octave-goto-function-definition): Do not move point if not found.
13829 (octave-find-definition): Enhance to try subfunctions first.
13830
13831 2013-06-08 Glenn Morris <rgm@gnu.org>
13832
13833 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13834 (byte-compile-backward-char, byte-compile-backward-word):
13835 Improve previous change, to handle non-explicit nil.
13836
13837 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
13838
13839 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
13840 (smie--opener/closer-at-point): New function.
13841 (smie--matching-block-data): Use it. Don't match from right after an
13842 opener or right before a closer. Obey smie-blink-matching-inners.
13843 Don't signal a mismatch for repeated inners like "switch..case..case".
13844
13845 2013-06-07 Leo Liu <sdl.web@gmail.com>
13846
13847 * progmodes/octave.el (octave-mode): Set comment-use-global-state
13848 to t. (Bug#14303)
13849 (octave-function-header-regexp): Fix. (Bug#14570)
13850 (octave-help-mode-finish-hook, octave-help-mode-finish):
13851 Remove. Just use temp-buffer-show-hook.
13852
13853 * newcomment.el (comment-search-backward): Revert last change.
13854 (Bug#14434)
13855
13856 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
13857
13858 2013-06-07 Eli Zaretskii <eliz@gnu.org>
13859
13860 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
13861 through xargs, to avoid failure due to MS-Windows limitations on
13862 command-line length.
13863
13864 2013-06-06 Glenn Morris <rgm@gnu.org>
13865
13866 * font-lock.el (lisp-font-lock-keywords-2):
13867 Treat user-error like error.
13868
13869 * emacs-lisp/bytecomp.el (byte-compile-char-before)
13870 (byte-compile-backward-char, byte-compile-backward-word):
13871 Handle explicit nil arguments. (Bug#14565)
13872
13873 2013-06-05 Alan Mackenzie <acm@muc.de>
13874
13875 * isearch.el (isearch-allow-prefix): New user option.
13876 (isearch-other-meta-char): Don't exit isearch when a prefix
13877 argument is typed whilst `isearch-allow-prefix' is non-nil.
13878 (Bug#9706)
13879
13880 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13881
13882 * autorevert.el (auto-revert-notify-handler): Use memq.
13883 Hide assertion failure.
13884
13885 * skeleton.el: Use cl-lib.
13886 (skeleton-further-elements): Use defvar-local.
13887 (skeleton-insert): Use cl-progv.
13888
13889 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13890
13891 * progmodes/prog-mode.el (prog-prettify-symbols)
13892 (prog-prettify-install): Update docstrings.
13893
13894 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13895
13896 * simple.el: Move all the prog-mode code to prog-mode.el.
13897 * progmodes/prog-mode.el: New file.
13898 * loadup.el: Add prog-mode.el.
13899
13900 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13901
13902 * simple.el (prog-prettify-symbols): Add version.
13903 (prog-prettify-install): Add convenience function to prettify symbols.
13904
13905 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
13906 (perl--augmented-font-lock-keywords-1)
13907 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
13908 variables and use it.
13909
13910 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13911 (cfengine3-mode): Remove unneeded variable and use it.
13912
13913 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13914 (lisp--augmented-font-lock-keywords-1)
13915 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
13916 Remove unneeded variables and use it.
13917
13918 2013-06-05 João Távora <joaotavora@gmail.com>
13919
13920 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
13921 to point when opening the connection. (Bug#14380)
13922
13923 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13924
13925 * subr.el (load-history-regexp, load-history-filename-element)
13926 (eval-after-load, after-load-functions, do-after-load-evaluation)
13927 (eval-next-after-load, display-delayed-warnings)
13928 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
13929 definition of save-match-data.
13930 (overriding-local-map): Remove accidental obsolescence declaration.
13931
13932 * emacs-lisp/edebug.el (edebug-result): Move before first use.
13933
13934 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
13935
13936 Generalize symbol prettify support to prog-mode and implement it
13937 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
13938 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
13939 (prog--prettify-font-lock-compose-symbol)
13940 (prog-prettify-font-lock-symbols-keywords): New variables and
13941 functions to support symbol prettification.
13942 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
13943 (lisp--augmented-font-lock-keywords-1)
13944 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
13945 (lisp--prettify-symbols-alist): Implement prettify of lambda.
13946 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
13947 (cfengine3--prettify-symbols-alist, cfengine3-mode):
13948 Implement prettify of -> => :: strings.
13949 * progmodes/perl-mode.el (perl-prettify-symbols)
13950 (perl--font-lock-compose-symbol)
13951 (perl--font-lock-symbols-keywords): Move to prog-mode.
13952 (perl--prettify-symbols-alist): Prettify -> => :: strings.
13953 (perl-font-lock-keywords-1)
13954 (perl-font-lock-keywords-2): Remove explicit prettify support.
13955 (perl--augmented-font-lock-keywords)
13956 (perl--augmented-font-lock-keywords-1)
13957 (perl--augmented-font-lock-keywords-2, perl-mode):
13958 Implement prettify support.
13959
13960 2013-06-05 Leo Liu <sdl.web@gmail.com>
13961
13962 Re-implement SMIE matching block highlight using
13963 show-paren-data-function. (Bug#14395)
13964 * emacs-lisp/smie.el (smie-matching-block-highlight)
13965 (smie--highlight-matching-block-overlay)
13966 (smie--highlight-matching-block-lastpos)
13967 (smie-highlight-matching-block)
13968 (smie-highlight-matching-block-mode): Remove.
13969 (smie--matching-block-data-cache): New variable.
13970 (smie--matching-block-data): New function.
13971 (smie-setup): Use smie--matching-block-data for
13972 show-paren-data-function.
13973
13974 * progmodes/octave.el (octave-mode-menu): Fix.
13975 (octave-find-definition): Skip garbage lines.
13976
13977 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
13978
13979 Fix compilation error with simultaneous dynamic+lexical scoping.
13980 Add warning when a defvar appears after the first let-binding.
13981 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
13982 (byte-compile-close-variables): Initialize it.
13983 (byte-compile--declare-var): New function.
13984 (byte-compile-file-form-defvar)
13985 (byte-compile-file-form-define-abbrev-table)
13986 (byte-compile-file-form-custom-declare-variable): Use it.
13987 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
13988 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
13989 (byte-compile-bind): Handle dynamic bindings that shadow
13990 lexical bindings.
13991 (byte-compile-unbind): Make arg non-optional.
13992 (byte-compile-let): Simplify.
13993 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
13994 (cconv--analyse-function, cconv-analyse-form): Populate it.
13995 Protect byte-compile-bound-variables to limit the scope of defvars.
13996 (cconv-analyse-form): Add missing rule for (defvar <foo>).
13997 Remove unneeded rule for `declare'.
13998
13999 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
14000 so as to avoid depending on cl-adjoin at run-time.
14001 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
14002
14003 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
14004 (macroexp--warn-and-return): Use it.
14005
14006 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
14007
14008 * subr.el: Convert to lexical binding.
14009 (overriding-local-map): Make obsolete.
14010 (add-to-list): Doc fix. Add compiler macro.
14011 (read-key): Swap values of local maps.
14012
14013 2013-06-05 Leo Liu <sdl.web@gmail.com>
14014
14015 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
14016
14017 2013-06-04 Leo Liu <sdl.web@gmail.com>
14018
14019 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
14020 (compilation-auto-jump): Suppress the "Mark set" message to give
14021 way to exit message.
14022
14023 2013-06-04 Alan Mackenzie <acm@muc.de>
14024
14025 Remove faulty optimisation from indentation calculation.
14026 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
14027 search limit based on 2000 characters back from indent-point.
14028
14029 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14030
14031 * eshell/em-term.el (cl-lib): Require `cl-lib'.
14032
14033 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
14034
14035 * emacs-lisp/lisp.el: Use lexical-binding.
14036 (lisp--local-variables-1, lisp--local-variables): New functions.
14037 (lisp--local-variables-completion-table): New var.
14038 (lisp-completion-at-point): Use it complete let-bound vars.
14039
14040 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
14041 eagerly (bug#14422).
14042
14043 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
14044
14045 * autorevert.el (auto-revert-notify-enabled)
14046 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
14047 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
14048 (auto-revert-notify-handler): Handle also gfilenotify.
14049
14050 * subr.el (file-notify-handle-event): New defun. Replacing ...
14051 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
14052 Remove.
14053
14054 2013-06-03 Juri Linkov <juri@jurta.org>
14055
14056 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
14057 `M-s h .'. (Bug#14427)
14058
14059 * hi-lock.el (highlight-symbol-at-point): New alias for the new
14060 command `hi-lock-face-symbol-at-point'.
14061 (hi-lock-face-symbol-at-point): New command.
14062 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
14063 (hi-lock-menu): Add `highlight-symbol-at-point'.
14064 (hi-lock-mode): Doc fix.
14065
14066 * isearch.el (isearch-forward-symbol-at-point): New command.
14067 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
14068 (isearch-highlight-regexp): Add a regexp which matches
14069 words/symbols for word/symbol mode.
14070
14071 * subr.el (find-tag-default-bounds): New function with the body
14072 mostly moved from `find-tag-default'.
14073 (find-tag-default): Move most code to `find-tag-default-bounds',
14074 call it and apply `buffer-substring-no-properties' afterwards.
14075
14076 2013-06-03 Tassilo Horn <tsdh@gnu.org>
14077
14078 * eshell/em-term.el (eshell-term-initialize):
14079 Use `cl-intersection' rather than `intersection'.
14080
14081 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
14082
14083 * vc/log-view.el: Doc fix.
14084 (log-view-mode-map): Copy keymap from `special-mode-map'.
14085
14086 2013-06-02 Eric Ludlam <zappo@gnu.org>
14087
14088 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
14089 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
14090 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
14091 (eieio-unbound, eieio-default-superclass)
14092 (eieio--define-field-accessors, method-static, method-before)
14093 (method-primary, method-after, method-num-lists)
14094 (method-generic-before, method-generic-primary)
14095 (method-generic-after, method-num-slots)
14096 (eieio-specialized-key-to-generic-key)
14097 (eieio--check-type, class-v, class-p)
14098 (eieio-class-name, define-obsolete-function-alias)
14099 (eieio-class-parents-fast, eieio-class-children-fast)
14100 (same-class-fast-p, class-constructor, generic-p)
14101 (generic-primary-only-p, generic-primary-only-one-p)
14102 (class-option-assoc, class-option, eieio-object-p)
14103 (class-abstract-p, class-method-invocation-order)
14104 (eieio-defclass-autoload-map, eieio-defclass-autoload)
14105 (eieio-class-un-autoload, eieio-defclass)
14106 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
14107 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
14108 (eieio--defgeneric-init-form, eieio-defgeneric-form)
14109 (eieio-defgeneric-reset-generic-form)
14110 (eieio-defgeneric-form-primary-only)
14111 (eieio-defgeneric-reset-generic-form-primary-only)
14112 (eieio-defgeneric-form-primary-only-one)
14113 (eieio-defgeneric-reset-generic-form-primary-only-one)
14114 (eieio-unbind-method-implementations)
14115 (eieio--defmethod, eieio--typep)
14116 (eieio-perform-slot-validation, eieio-validate-slot-value)
14117 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
14118 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
14119 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
14120 (eieio-slot-name-index, eieio-class-slot-name-index)
14121 (eieio-set-defaults, eieio-initarg-to-attribute)
14122 (eieio-attribute-to-initarg, eieio-c3-candidate)
14123 (eieio-c3-merge-lists, eieio-class-precedence-c3)
14124 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
14125 (eieio-class-precedence-list, eieio-generic-call-methodname)
14126 (eieio-generic-call-arglst, eieio-generic-call-key)
14127 (eieio-generic-call-next-method-list)
14128 (eieio-pre-method-execution-functions, eieio-generic-call)
14129 (eieio-generic-call-primary-only, eieiomt-method-list)
14130 (eieiomt-optimizing-obarray, eieiomt-install)
14131 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
14132 (eieio-generic-form, eieio-defmethod, make-obsolete)
14133 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
14134 (defclass): Remove `eval-and-compile' from macro.
14135 (call-next-method, shared-initialize): Instead of using
14136 `scoped-class' variable, use new eieio--scoped-class, and
14137 eieio--with-scoped-class.
14138 (initialize-instance): Rename local variable 'scoped-class' to
14139 'this-class' to remove ambiguitity from old global.
14140
14141 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
14142 eieio.el.
14143 (eieio--scoped-class-stack): New variable.
14144 (eieio--scoped-class): New fcn.
14145 (eieio--with-scoped-class): New scoping macro.
14146 (eieio-defclass): Use pushnew instead of add-to-list.
14147 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
14148 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
14149 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
14150 `scoped-class' variable, use new eieio--scoped-class, and
14151 eieio--with-scoped-class.
14152
14153 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
14154
14155 2013-06-02 Tassilo Horn <tsdh@gnu.org>
14156
14157 * eshell/esh-ext.el (eshell-external-command): Pass args to
14158 `eshell-find-interpreter'.
14159 (eshell-find-interpreter): Add new second parameter ARGS.
14160
14161 * eshell/em-script.el (eshell-script-initialize): Add second arg
14162 to the function added as MATCH to `eshell-interpreter-alist'.
14163
14164 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
14165 the function added as MATCH to `eshell-interpreter-alist'.
14166
14167 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
14168 (eshell-visual-options): New defcustom.
14169 (eshell-escape-control-x): Adapt docstring.
14170 (eshell-term-initialize): Test `eshell-visual-subcommands' and
14171 `eshell-visual-options' in addition to `eshell-visual-commands'.
14172 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
14173
14174 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
14175
14176 * progmodes/python.el (python-indent-block-enders): Add break,
14177 continue and raise keywords.
14178
14179 2013-06-01 Glenn Morris <rgm@gnu.org>
14180
14181 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
14182
14183 Plain (f)boundp silences compilation warnings since Emacs 22.1.
14184 * progmodes/cc-cmds.el (delete-forward-p):
14185 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
14186 * progmodes/cc-engine.el (buffer-syntactic-context):
14187 * progmodes/cc-fonts.el (face-property-instance):
14188 * progmodes/cc-mode.el (set-keymap-parents):
14189 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
14190 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
14191 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
14192 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
14193 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
14194
14195 * progmodes/cc-vars.el (other): Emacs has this widget since
14196 at least 21.1, so don't (re)define it.
14197
14198 * eshell/em-cmpl.el (eshell-cmpl-initialize):
14199 Replace the obsolete alias pcomplete-arg-quote-list.
14200
14201 2013-06-01 Leo Liu <sdl.web@gmail.com>
14202
14203 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
14204 punctuation syntax.
14205 (inferior-octave-minimal-columns)
14206 (inferior-octave-last-column-width): New variables.
14207 (inferior-octave-track-window-width-change): New function.
14208 (inferior-octave-mode): Adjust column width so that Octave output,
14209 for example from 'ls', can fit into the window nicely.
14210
14211 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14212
14213 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14214 Highlight expansions inside regexp literals.
14215
14216 2013-05-31 Glenn Morris <rgm@gnu.org>
14217
14218 * obsolete/sym-comp.el (symbol-complete):
14219 Replace obsolete completion-annotate-function.
14220
14221 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
14222
14223 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
14224
14225 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
14226 New function, checks if point is inside a literal that allows
14227 expression expansion.
14228 (ruby-syntax-propertize-expansion): Use it.
14229 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
14230 around the body.
14231
14232 2013-05-30 Juri Linkov <juri@jurta.org>
14233
14234 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
14235 to "\M-si".
14236 (isearch-invisible): New variable.
14237 (isearch-forward): Doc fix.
14238 (isearch-mode): Set `isearch-invisible'
14239 to the value of `search-invisible'.
14240 (isearch-toggle-case-fold): Doc fix.
14241 (isearch-toggle-invisible): New command.
14242 (isearch-query-replace): Let-bind `search-invisible'
14243 to the value of `isearch-invisible'.
14244 (isearch-search): Use `isearch-invisible' instead of
14245 `search-invisible'. Let-bind `search-invisible'
14246 to the value of `isearch-invisible'. (Bug#11378)
14247
14248 2013-05-30 Juri Linkov <juri@jurta.org>
14249
14250 * replace.el (perform-replace): Avoid `isearch-range-invisible'
14251 call when `query-flag' is nil and `search-invisible' is non-nil.
14252 (Bug#11746)
14253
14254 2013-05-30 Glenn Morris <rgm@gnu.org>
14255
14256 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
14257
14258 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
14259 (cc-require): Suppress spurious "noruntime" warnings.
14260 (cc-require-when-compile): Use fboundp, for sake of compiler.
14261
14262 * progmodes/cc-mode.el: Move load of cc-vars before that of
14263 cc-langs (which in turn loads cc-vars), to quieten compiler.
14264
14265 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14266
14267 * paren.el: Simplify the code.
14268 (show-paren-mode): Always start the timer.
14269 (show-paren--idle-timer): Rename from show-paren-idle-timer.
14270 (show-paren--overlay, show-paren--overlay-1): Rename from
14271 show-paren-overlay and show-paren-overlay-1, and initialize to an
14272 overlay rather than to nil.
14273 (show-paren-function): Misc cleanup and simplifications.
14274
14275 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14276
14277 * paren.el (show-paren-data-function): New hook.
14278 (show-paren--default): New function, extracted from show-paren-function.
14279 (show-paren-function): Use show-paren-data-function.
14280
14281 2013-05-30 Glenn Morris <rgm@gnu.org>
14282
14283 * ielm.el (ielm-map, ielm-complete-symbol):
14284 Use completion-at-point rather than obsolete functions.
14285 (inferior-emacs-lisp-mode): Doc fix.
14286 Set completion-at-point-functions, rather than
14287 comint-dynamic-complete-functions.
14288
14289 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
14290 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
14291 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
14292
14293 * image.el (image-animated-p): Tweak definition.
14294
14295 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
14296 (rlogin-process-connection-type): Tweak default. Add set-after.
14297 (rlogin-host): Doc fix.
14298 (rlogin): Tweak prompt.
14299 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
14300
14301 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
14302 * progmodes/tcl.el (inferior-tcl-mode-map):
14303 Use completion-at-point rather than obsolete alias.
14304
14305 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
14306
14307 * minibuffer.el (read-file-name-completion-ignore-case):
14308 Move before completion--in-region, for eager macro expansion.
14309
14310 2013-05-29 Juri Linkov <juri@jurta.org>
14311
14312 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
14313 for total count of matching lines. Add `global-matches' for total
14314 count of matches. Rename `matches' to `lines' for count of
14315 matching lines. Add `matches' for count of matches.
14316 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
14317 to `prev-line' for line number of prev match endpt.
14318 Increment `matches' for every match. Print the number of
14319 matching lines in the header.
14320 (occur-context-lines): Rename `lines' to `curr-line'.
14321 Rename `prev-lines' to `prev-line'. (Bug#14017)
14322
14323 2013-05-29 Juri Linkov <juri@jurta.org>
14324
14325 * replace.el (perform-replace): Add `skip-read-only-count',
14326 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
14327 Increment them for corresponding conditions and report the number
14328 of skipped occurrences in the final message. (Bug#11746)
14329 (query-replace, query-replace-regexp, query-replace-regexp-eval)
14330 (replace-string, replace-regexp): Doc fix.
14331
14332 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
14333
14334 * emacs-lisp/trace.el (trace--read-args): Provide a default.
14335
14336 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
14337 prog-mode-map (bug#14504).
14338
14339 2013-05-29 Leo Liu <sdl.web@gmail.com>
14340
14341 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
14342 (octave-help): Small simplification.
14343
14344 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
14345 off the highlight first.
14346
14347 2013-05-29 Glenn Morris <rgm@gnu.org>
14348
14349 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
14350 Handle idlwave-last-system-routine-info-cons-cell being nil.
14351
14352 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
14353 (idlwave-write-paths): Simplify via with-temp-buffer.
14354
14355 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
14356 * emulation/cua-rect.el: Also load cua-base at run time.
14357
14358 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
14359 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
14360 (cperl-imenu-on-info): Require imenu.
14361
14362 2013-05-28 Alan Mackenzie <acm@muc.de>
14363
14364 Handle "capitalised keywords" correctly.
14365 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
14366
14367 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
14368
14369 * eshell/em-unix.el: Add -r option to cp.
14370
14371 2013-05-28 Glenn Morris <rgm@gnu.org>
14372
14373 * vc/vc-arch.el (vc-exec-after): Declare.
14374 (vc-switches): Autoload.
14375 * vc/vc-bzr.el: No need to require vc when compiling.
14376 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
14377 (vc-resynch-buffer, vc-dir-refresh): Declare.
14378 (vc-setup-buffer, vc-switches): Autoload.
14379 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
14380 (vc-resynch-buffer): Declare.
14381 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
14382 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
14383 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
14384 (grep-read-regexp, grep-read-files, grep-expand-template)
14385 (vc-dir-refresh): Declare.
14386 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
14387 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
14388 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
14389 * vc/vc-mtn.el (vc-exec-after): Declare.
14390 (vc-switches): Autoload.
14391 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
14392 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
14393 (vc-file-tree-walk): Declare.
14394 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
14395 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
14396 (vc-tag-precondition, vc-rename-master): Autoload.
14397 * vc/vc-svn.el (vc-exec-after): Declare.
14398 (vc-switches, vc-setup-buffer): Autoload.
14399 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
14400 Autoload.
14401 (vc-resynch-buffer): Declare.
14402
14403 * obsolete/fast-lock.el (byte-compile-warnings):
14404 Don't warn about obsolete features in this obsolete file.
14405
14406 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
14407 Move definition before use.
14408
14409 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
14410 (dun-unix-verbs): Remove dun-zippy.
14411 (dun-zippy): Remove function.
14412
14413 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
14414
14415 2013-05-27 Juri Linkov <juri@jurta.org>
14416
14417 * replace.el (replace-search): New function with code moved out
14418 from `perform-replace'.
14419 (replace-highlight, replace-dehighlight): Move function definitions
14420 up closer to `replace-search'. (Bug#11746)
14421
14422 2013-05-27 Juri Linkov <juri@jurta.org>
14423
14424 * replace.el (perform-replace): Ignore invisible matches.
14425 In addition to checking `query-replace-skip-read-only', also
14426 filter out matches by calling `run-hook-with-args-until-failure'
14427 on `isearch-filter-predicates', and also check `search-invisible'
14428 for t or call `isearch-range-invisible'.
14429 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
14430
14431 2013-05-27 Juri Linkov <juri@jurta.org>
14432
14433 * isearch.el (isearch-filter-predicates): Rename from
14434 `isearch-filter-predicate'. Doc fix. (Bug#11378)
14435 (isearch-message-prefix): Display text from the property
14436 `isearch-message-prefix' of the currently active filters.
14437 (isearch-search): Don't compare `isearch-filter-predicate' with
14438 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
14439 on `isearch-filter-predicates'. Also check `search-invisible' for t
14440 or call `isearch-range-invisible'.
14441 (isearch-filter-visible): Make obsolete.
14442 (isearch-lazy-highlight-search):
14443 Call `run-hook-with-args-until-failure' on
14444 `isearch-filter-predicates' and use `isearch-range-invisible'.
14445
14446 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
14447 `isearch-filter-predicates' instead of `funcall'ing
14448 `isearch-filter-predicate'.
14449 (Info-mode): Set `Info-isearch-filter' to
14450 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
14451
14452 * dired-aux.el (dired-isearch-filter-predicate-orig):
14453 Remove variable.
14454 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
14455 (dired-isearch-filenames-end): Add and remove
14456 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
14457 instead of changing the value of `isearch-filter-predicate'.
14458 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
14459 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
14460 Put property `isearch-message-prefix' to "filename " on
14461 `dired-isearch-filter-filenames'.
14462
14463 * wdired.el (wdired-change-to-wdired-mode):
14464 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
14465 locally instead of changing `isearch-filter-predicate'.
14466 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
14467
14468 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
14469
14470 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
14471 return the commit hash (Bug#14459). Also set the
14472 `vc-git-detached' property.
14473 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
14474 (vc-git-mode-line-string): Use the same help-echo format whether
14475 in detached mode or not, because we know the actual revision now.
14476 When in detached mode, shorten the revision to 7 chars.
14477
14478 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14479
14480 * emacs-lisp/easy-mmode.el (define-minor-mode):
14481 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
14482 mode hook and provide a docstring.
14483
14484 2013-05-27 Alan Mackenzie <acm@muc.de>
14485
14486 Remove spurious syntax-table text properties inserted by C-y.
14487 * progmodes/cc-mode.el (c-after-change): Also clear hard
14488 syntax-table property with value nil.
14489
14490 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
14491
14492 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
14493 when reading the events; the buffer layout shall not be changed.
14494
14495 2013-05-27 Leo Liu <sdl.web@gmail.com>
14496
14497 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
14498 New variable.
14499 (inferior-octave-directory-tracker): Automatically re-sync
14500 default-directory.
14501 (octave-help): Improve handling of 'See also'.
14502
14503 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
14504
14505 * doc-view.el: Minor naming convention tweaks.
14506 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
14507
14508 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
14509 even if there's no `display' property yet (bug#14435).
14510
14511 2013-05-25 Eli Zaretskii <eliz@gnu.org>
14512
14513 * subr.el (unmsys--file-name): Rename from reveal-filename.
14514
14515 * Makefile.in (custom-deps, finder-data, autoloads)
14516 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
14517 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
14518 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
14519
14520 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14521
14522 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
14523 error-completion on the first 2 args of condition-case (bug#14446).
14524 Don't burp at EOB.
14525
14526 2013-05-25 Leo Liu <sdl.web@gmail.com>
14527
14528 * comint.el (comint-previous-matching-input): Do not flood the
14529 *Messages* buffer with trivial messages.
14530
14531 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
14532
14533 * progmodes/flymake.el (flymake-nop): Don't return a string.
14534 (flymake-set-at): Fix typo.
14535
14536 * simple.el (read--expression): New function, extracted from
14537 eval-expression. Set completion-at-point-functions (bug#14465).
14538 (eval-expression, eval-minibuffer): Use it.
14539
14540 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
14541
14542 * progmodes/flymake.el (flymake-save-buffer-in-file)
14543 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
14544 (flymake-selected-frame, flymake-log, flymake-ins-after)
14545 (flymake-set-at, flymake-get-buildfile-from-cache)
14546 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
14547 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
14548 Refine the doc string.
14549 (flymake-get-file-name-mode-and-masks): Reformat.
14550 (flymake-get-real-file-name-function): Fix a minor bug.
14551
14552 2013-05-24 Juri Linkov <juri@jurta.org>
14553
14554 * progmodes/grep.el (grep-mode-font-lock-keywords):
14555 Support =linenumber= format used by git-grep for lines with
14556 function names. (Bug#13549)
14557
14558 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14559
14560 * progmodes/octave.el (octave-smie-rules): Return nil rather than
14561 0 after a semi-colon; it works better for smie-auto-fill.
14562 (octave--indent-new-comment-line): New function.
14563 (octave-indent-new-comment-line): Use it (indirectly).
14564 (octave-mode): Don't disable smie-auto-fill. Use add-function to
14565 modify comment-line-break-function.
14566
14567 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
14568 (smie-setup): Use add-function to set it.
14569
14570 2013-05-24 Sam Steingold <sds@gnu.org>
14571
14572 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
14573 argument (before the `interactive' argument).
14574
14575 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14576
14577 * image-mode.el (image-mode-winprops): Add winprops to
14578 image-mode-winprops-alist before running
14579 image-mode-new-window-functions.
14580 * doc-view.el (doc-view-new-window-function): Don't delay
14581 doc-view-goto-page via timers (bug#14435).
14582
14583 2013-05-24 Tassilo Horn <tsdh@gnu.org>
14584
14585 * doc-view.el: Integrate with desktop.el. (Bug#14435)
14586 (doc-view-desktop-save-buffer): New function.
14587 (doc-view-restore-desktop-buffer): New function.
14588 (desktop-buffer-mode-handlers):
14589 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
14590 handler.
14591 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
14592 `desktop-save-buffer' function.
14593
14594 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
14595
14596 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
14597 (tramp-gvfs-file-name-handler): Raise a user error when
14598 `tramp-gvfs-enabled' is nil.
14599 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
14600 Do not raise a user error when loading package. (Bug#14447)
14601
14602 * net/xesam.el: Move to obsolete/.
14603
14604 2013-05-24 Glenn Morris <rgm@gnu.org>
14605
14606 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
14607
14608 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
14609
14610 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
14611 (Info-find-node, Man-getpage-in-background): Declare.
14612
14613 * mail/unrmail.el (unrmail):
14614 Replace obsolete detect-coding-with-priority.
14615
14616 * net/socks.el (socks-split-string): Use this rather than split-string.
14617 (socks-nslookup-host): Update for above change.
14618 (dynamic-choice, s5-dynamic-choice-match)
14619 (s5-dynamic-choice-match-inline, s5-widget-value-create):
14620 Comment out unused code.
14621
14622 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
14623 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
14624 (gud-tooltip-echo-area): Make obsolete.
14625 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
14626
14627 * progmodes/js.el (js--optimize-arglist): Declare.
14628
14629 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
14630
14631 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
14632 (ediff-window-C): Declare.
14633
14634 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
14635 Tweak requires to silence compiler.
14636
14637 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
14638 (he-search-string, he-tried-table, he-expand-list)
14639 (he-init-string, he-string-member, he-substitute-string)
14640 (he-reset-string): Declare.
14641
14642 * obsolete/options.el (list-options): Use custom-variable-p,
14643 rather than obsolete alias.
14644
14645 2013-05-23 Sam Steingold <sds@gnu.org>
14646
14647 * simple.el (shell-command-on-region): Pass the `replace' argument
14648 down to `call-process-region' to comply with the doc as reported on
14649 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
14650
14651 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14652
14653 * emacs-lisp/smie.el (smie-indent-forward-token)
14654 (smie-indent-backward-token): Handle string tokens (bug#14381).
14655
14656 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14657
14658 * ielm.el (ielm-menu): New menu.
14659 (inferior-emacs-lisp-mode): Set comment-start.
14660
14661 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
14662
14663 * textmodes/reftex.el (reftex-ref-style-toggle):
14664 Fix deactivate action.
14665
14666 * textmodes/reftex-vars.el (reftex-ref-style-alist):
14667 Add cleveref macros.
14668
14669 * textmodes/reftex-parse.el (reftex-locate-bibliography-files):
14670 Accept options for bibliography commands.
14671 * textmodes/reftex-vars.el (reftex-bibliography-commands):
14672 Add addbibresource. Basic Biblatex support.
14673
14674 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
14675
14676 * net/tramp-gvfs.el (top):
14677 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
14678 when loading package. (Bug#14447)
14679
14680 2013-05-23 Glenn Morris <rgm@gnu.org>
14681
14682 * progmodes/js.el: No need to load comint when compiling.
14683 (ring-insert, comint-send-string, comint-send-input)
14684 (comint-last-input-end, ido-chop): Declare.
14685
14686 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
14687 * vc/ediff-mult.el: Adjust requires.
14688 (ediff-directories-internal, ediff-directory-revisions-internal)
14689 (ediff-patch-file-internal): Declare.
14690 * vc/ediff-ptch.el: Adjust requires.
14691 (ediff-use-last-dir, ediff-buffers-internal): Declare.
14692 (ediff-find-file): Autoload.
14693 * vc/ediff-util.el: No need to load ediff when compiling.
14694 (ediff-regions-internal): Declare.
14695 * vc/ediff-wind.el: Adjust requires.
14696 (ediff-compute-toolbar-width): Define when compiling.
14697 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
14698 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
14699 (dired-get-filename, dired-get-marked-files)
14700 (ediff-last-dir-patch, ediff-patch-default-directory)
14701 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
14702 (ediff-patch-buffer-internal): Declare.
14703
14704 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
14705 (ispell-process, ispell-buffer-local-words, lm-summary)
14706 (lm-section-start, lm-section-end): Declare.
14707 (checkdoc-ispell-init): Simplify.
14708
14709 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
14710 (he-string-member, he-reset-string, he-substitute-string): Declare.
14711
14712 * eshell/em-ls.el: Adjust requires.
14713 (eshell-glob-regexp): Declare.
14714 * eshell/em-tramp.el: Adjust requires.
14715 (eshell-parse-command): Autoload.
14716 * eshell/em-xtra.el: Adjust requires.
14717 (eshell-parse-command): Autoload.
14718 * eshell/esh-ext.el: Adjust requires.
14719 (eshell-parse-command, eshell-close-handles): Autoload.
14720 * eshell/esh-io.el: Adjust requires.
14721 (eshell-output-filter): Autoload.
14722 * eshell/esh-util.el: No need to load tramp when compiling.
14723 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
14724 Declare.
14725 (eshell-parse-ange-ls): Require ange-ftp and tramp.
14726 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
14727 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
14728 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
14729 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
14730 * eshell/esh-opt.el, eshell/esh-proc.el:
14731 * eshell/esh-var.el: Adjust requires.
14732 * eshell/eshell.el: Do not require esh-util twice.
14733 (eshell-add-input-to-history): Declare.
14734 (eshell-command): Check history module is active before using it.
14735
14736 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
14737
14738 2013-05-22 Leo Liu <sdl.web@gmail.com>
14739
14740 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
14741
14742 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
14743
14744 * autorevert.el (auto-revert-notify-add-watch)
14745 (auto-revert-notify-handler): Add `attrib' for the inotify case,
14746 it indicates changes in file modification time.
14747
14748 2013-05-22 Glenn Morris <rgm@gnu.org>
14749
14750 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
14751 Always delete the autoloaded function from the noruntime and
14752 unresolved functions lists.
14753
14754 * allout.el: No need to load epa, epg, overlay when compiling.
14755 (epg-context-set-passphrase-callback, epg-list-keys)
14756 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
14757 (epg-key-user-id-list): Declare.
14758
14759 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14760 (viper-set-parsing-style-toggling-macro)
14761 (viper-set-emacs-state-searchstyle-macros):
14762 Use called-interactively-p on Emacs.
14763 (viper-looking-back): Make it an obsolete alias. Update callers.
14764 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
14765 Use looking-back rather than viper-looking-back.
14766 (viper-tmp-insert-at-eob, viper-enlarge-region)
14767 (viper-read-string-with-history, viper-register-to-point)
14768 (viper-append-to-register, viper-change-state-to-vi)
14769 (viper-backward-char-carefully, viper-forward-char-carefully)
14770 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
14771 (viper-change-state-to-emacs): Declare.
14772 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
14773 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
14774 * emulation/viper-mous.el: Do not load viper-cmd.
14775 (viper-backward-char-carefully, viper-forward-char-carefully)
14776 (viper-forward-word, viper-adjust-window): Declare.
14777
14778 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
14779
14780 * progmodes/idlw-help.el (idlwave-help-fontify):
14781 Use called-interactively-p.
14782
14783 * term/w32console.el (w32-get-console-codepage)
14784 (w32-get-console-output-codepage): Declare.
14785
14786 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
14787 Remove unnecessary declarations.
14788 (dframe-message): Doc fix.
14789
14790 * info.el (dframe-select-attached-frame, dframe-current-frame):
14791 Declare.
14792
14793 * speedbar.el (speedbar-message): Make it an obsolete alias.
14794 Update all callers.
14795 (speedbar-with-attached-buffer)
14796 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
14797 (speedbar-with-writable): Use backquote.
14798 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
14799 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
14800 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
14801 rather than speedbar- aliases.
14802 * mail/rmail.el: Load dframe rather than speedbar when compiling.
14803 (speedbar-make-specialized-keymap, speedbar-insert-button)
14804 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
14805 (speedbar-do-function-pointer): Declare.
14806 (rmail-speedbar-button, rmail-speedbar-find-file)
14807 (rmail-speedbar-move-message):
14808 Use dframe-with-attached-buffer rather than speedbar- alias.
14809 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
14810 (dframe-message, speedbar-make-specialized-keymap)
14811 (speedbar-add-expansion-list, speedbar-mode-functions-list)
14812 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
14813 (speedbar-insert-button, dframe-select-attached-frame)
14814 (dframe-maybee-jump-to-attached-frame)
14815 (speedbar-change-initial-expansion-list)
14816 (speedbar-previously-used-expansion-list-name): Declare.
14817 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
14818 Use dframe-message, dframe-with-attached-buffer rather than
14819 speedbar- aliases.
14820 (gud-sentinel): Silence compiler.
14821 * progmodes/vhdl-mode.el (speedbar-refresh)
14822 (speedbar-do-function-pointer, speedbar-add-supported-extension)
14823 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
14824 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
14825 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
14826 (speedbar-file-lists, speedbar-make-tag-line)
14827 (speedbar-line-directory, speedbar-goto-this-file)
14828 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
14829 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
14830 (speedbar-make-button, speedbar-reset-scanners)
14831 (speedbar-files-item-info, speedbar-line-text)
14832 (speedbar-find-file-in-frame, speedbar-set-timer)
14833 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
14834 (speedbar-with-writable): Do not (re)define it.
14835 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
14836 rather than speedbar- alias.
14837
14838 2013-05-21 Leo Liu <sdl.web@gmail.com>
14839
14840 * progmodes/octave.el (octave-mode-menu): Update and re-organize
14841 menu items.
14842 (octave-mode): Tweak fill-nobreak-predicate.
14843 (inferior-octave-startup): Check process to avoid infinite loop.
14844 (inferior-octave): Pop to buffer first to show abornmal process
14845 exit information.
14846
14847 2013-05-21 Glenn Morris <rgm@gnu.org>
14848
14849 * printing.el (pr-menu-bar): Define when compiling.
14850
14851 2013-05-21 Leo Liu <sdl.web@gmail.com>
14852
14853 * progmodes/octave.el (octave-auto-fill): Remove.
14854 (octave-indent-new-comment-line): Improve.
14855 (octave-mode): Use auto fill mode through
14856 comment-line-break-function and fill-nobreak-predicate.
14857 (octave-goto-function-definition): Support DEFUN_DLD.
14858 (octave-beginning-of-defun): Small tweak.
14859 (octave-help): Show parent directory.
14860
14861 2013-05-21 Glenn Morris <rgm@gnu.org>
14862
14863 * files.el (dired-unmark):
14864 * progmodes/gud.el (gdb-input): Update declarations.
14865
14866 * calculator.el (electric, ehelp): No need to load when compiling.
14867 (Electric-command-loop, electric-describe-mode): Declare.
14868
14869 * doc-view.el (doc-view-current-converter-processes): Move before use.
14870
14871 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14872 Move MODE-set-explicitly definition before use.
14873
14874 * international/mule-diag.el (mule-diag):
14875 Don't use obsolete window-system-version.
14876
14877 * mail/feedmail.el (smtpmail): No need to load when compiling.
14878 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
14879
14880 * mail/mail-utils.el (rfc822): No need to load when compiling.
14881 (rfc822-addresses): Autoload it.
14882 (mail-strip-quoted-names): Trivial simplification.
14883
14884 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
14885 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
14886
14887 * net/snmp-mode.el (tempo): Don't duplicate requires.
14888
14889 * progmodes/prolog.el (info): No need to load when compiling.
14890 (comint): Require before shell requires it.
14891 (Info-goto-node): Autoload it.
14892 (Info-follow-nearest-node): Declare.
14893 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
14894
14895 * textmodes/artist.el (picture-mode-exit): Declare.
14896
14897 * textmodes/reftex-parse.el (reftex-parse-from-file):
14898 Trivial rewrite so the compiler can parse it better.
14899
14900 2013-05-20 Leo Liu <sdl.web@gmail.com>
14901
14902 * progmodes/octave.el (octave-help-mode-map)
14903 (octave-help-mode-finish-hook): New variables.
14904 (octave-help-mode, octave-help-mode-finish): New functions.
14905 (octave-help): Use octave-help-mode.
14906
14907 2013-05-20 Glenn Morris <rgm@gnu.org>
14908
14909 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
14910
14911 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
14912
14913 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
14914 start at point, so that expansion starting right after opening
14915 slash in a regexp is recognized.
14916 (ruby-syntax-before-regexp-re): New defvar, extracted from
14917 ruby-syntax-propertize-function. Since the value of this regexp
14918 is looked up at runtime now, we should be able to turn
14919 `ruby-syntax-methods-before-regexp' into a defcustom later.
14920 (ruby-syntax-propertize-function): Split regexp matching into two
14921 parts, for opening and closing slashes. That allows us to skip
14922 over string interpolations and support multiline regexps.
14923 Don't call `ruby-syntax-propertize-expansions', instead use another rule
14924 for them, which calls `ruby-syntax-propertize-expansion'.
14925 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
14926 call to `ruby-syntax-propertize-function'.
14927 (ruby-syntax-propertize-expansion): Extracted from
14928 `ruby-syntax-propertize-expansions'. Handles one expansion.
14929 (ruby-syntax-propertize-percent-literal): Leave point right after
14930 the percent symbol, so that the expression expansion rule can
14931 propertize the contents.
14932 (ruby-syntax-propertize-heredoc): Leave point at bol following the
14933 heredoc openers.
14934 (ruby-syntax-propertize-expansions): Remove.
14935
14936 2013-05-18 Juri Linkov <juri@jurta.org>
14937
14938 * man.el (Man-default-man-entry): Remove `-' from the end
14939 of the default value. (Bug#14400)
14940
14941 2013-05-18 Glenn Morris <rgm@gnu.org>
14942
14943 * comint.el (comint-password-prompt-regexp):
14944 Allow "password for XXX" where XXX contains colons (eg https://...).
14945
14946 2013-05-18 Leo Liu <sdl.web@gmail.com>
14947
14948 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
14949 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
14950 (octave-source-directories): Don't check process.
14951 (octave-source-directories, octave-find-definition): Doc fix.
14952
14953 2013-05-18 Glenn Morris <rgm@gnu.org>
14954
14955 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
14956 Remove backspace/delete bindings. (Bug#14392)
14957
14958 * cus-dep.el (custom-make-dependencies): Sort the output.
14959 (custom-versions-load-alist): Convert comment to doc.
14960
14961 2013-05-17 Leo Liu <sdl.web@gmail.com>
14962
14963 * newcomment.el (comment-search-backward): Stricter in finding
14964 comment start. (Bug#14303)
14965
14966 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
14967 (octave-comment-start-skip): Properly anchored.
14968
14969 2013-05-17 Leo Liu <sdl.web@gmail.com>
14970
14971 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
14972 Clean up when turned off. (Bug#14395)
14973 (smie--highlight-matching-block-overlay): No longer buffer-local.
14974 (smie-highlight-matching-block): Adjust.
14975
14976 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
14977
14978 Doc string fix for "nanoseconds" (Bug#14406).
14979 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
14980 Fix doc string typo that had "nanoseconds" instead of "microseconds".
14981
14982 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
14983
14984 * calc/calc-units.el (math-extract-units): Preserve powers
14985 of units.
14986
14987 2013-05-17 Leo Liu <sdl.web@gmail.com>
14988
14989 * subr.el (delete-consecutive-dups): New function.
14990 * ido.el (ido-set-matches-1): Use it.
14991 * progmodes/octave.el (inferior-octave-completion-table): Use it.
14992 * ido.el (ido-remove-consecutive-dups): Remove.
14993
14994 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14995
14996 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14997 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
14998 regexp-opt's `words'.
14999
15000 2013-05-16 Leo Liu <sdl.web@gmail.com>
15001
15002 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
15003 (smie--highlight-matching-block-overlay)
15004 (smie--highlight-matching-block-lastpos)
15005 (smie--highlight-matching-block-timer): New variables.
15006 (smie-highlight-matching-block): New function.
15007 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
15008 (smie-setup): Conditionally enable smie-blink-matching-open.
15009
15010 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
15011
15012 Sync with upstream verilog-mode r840.
15013 * progmodes/verilog-mode.el (verilog-mode-version)
15014 (verilog-mode-release-date): Update.
15015 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
15016 (verilog-sig-tieoff): Fix string error on
15017 AUTORESET with colon define, bug594. Reported by Andrew Hou.
15018 (verilog-read-decls): Fix parameters confusing
15019 AUTOINST interfaces, bug565. Reported by Leith Johnson.
15020
15021 2013-05-16 Eli Zaretskii <eliz@gnu.org>
15022
15023 * subr.el (reveal-filename): New function.
15024
15025 * loadup.el: Compute Emacs executable versions on MS-Windows,
15026 where executables have the .exe extension. Add a hard link
15027 emacs-XX.YY.ZZ.exe on MS-Windows.
15028
15029 * Makefile.in (XARGS_LIMIT): New variable.
15030 (custom-deps, finder-data, autoloads)
15031 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
15032 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
15033 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
15034 (compile-main): Limit xargs according to $(XARGS_LIMIT).
15035
15036 2013-05-16 Leo Liu <sdl.web@gmail.com>
15037
15038 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
15039 (octave-mode-menu, octave-mode-map): Remove its uses.
15040
15041 2013-05-16 Reto Zimmermann <reto@gnu.org>
15042
15043 Sync with upstream vhdl mode v3.34.2.
15044 * progmodes/vhdl-mode.el: Use `push' throughout.
15045 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
15046 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
15047 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
15048 (vhdl-actual-generic-name): New option to derive actual generic name.
15049 (vhdl-port-paste-signals): Replace formal by actual generics.
15050 (vhdl-beautify): New name for old group vhdl-align. Update users.
15051 (vhdl-beautify-options): New option.
15052 (vhdl-last-input-event): New compat alias. Use throughout.
15053 (vhdl-goto-line): Replace user level function `goto-line'.
15054 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
15055 vhdl-fix-statement-buffer.
15056 (vhdl-create-mode-menu): Add some entries.
15057 (vhdl-align-region-groups): Respect vhdl-beautify-options.
15058 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
15059 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
15060 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
15061 to force statements on one line.
15062 (vhdl-remove-trailing-spaces-region):
15063 New, split from vhdl-remove-trailing-spaces.
15064 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
15065 Respect vhdl-beautify-options.
15066 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
15067 (vhdl-update-sensitivity-list): Not add with index if exists without.
15068 Not include array index with signal. Ignore keywords in comments.
15069 (vhdl-get-visible-signals): Regexp tweaks.
15070 (vhdl-template-component-inst): Handle empty library.
15071 (vhdl-template-type): Add template for 'enum' type.
15072 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
15073 Use vhdl-replace-string.
15074 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
15075 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
15076 (vhdl-speedbar-initialize): Update for above name change.
15077 (vhdl-compose-wire-components): Fix in handling of constants.
15078 (vhdl-error-regexp-emacs-alist): New variable.
15079 (vhdl-error-regexp-add-emacs): New function;
15080 adds support for new compile.el (Emacs 22+)
15081 (vhdl-generate-makefile-1): Change target order for single lib. units.
15082 Allow use of absolute file names.
15083
15084 2013-05-16 Leo Liu <sdl.web@gmail.com>
15085
15086 * simple.el (prog-indent-sexp): Indent enclosing defun.
15087
15088 2013-05-15 Glenn Morris <rgm@gnu.org>
15089
15090 * cus-start.el (show-trailing-whitespace): Move to editing basics.
15091 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
15092 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
15093 (whitespace-highlight): Move to whitespace group.
15094
15095 * comint.el (comint-source):
15096 * pcmpl-linux.el (pcmpl-linux):
15097 * shell.el (shell-faces):
15098 * eshell/esh-opt.el (eshell-opt):
15099 * international/ccl.el (ccl): Remove empty custom groups.
15100
15101 * completion.el (dynamic-completion-mode):
15102 * jit-lock.el (jit-lock-debug-mode):
15103 * minibuffer.el (completion-in-region-mode):
15104 * type-break.el (type-break-mode-line-message-mode)
15105 (type-break-query-mode):
15106 * emulation/tpu-edt.el (tpu-edt-mode):
15107 * progmodes/subword.el (global-subword-mode, global-superword-mode):
15108 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
15109 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
15110
15111 * term/xterm.el (xterm): Change parent group to terminals.
15112
15113 * master.el (master): Remove empty custom group.
15114 (master-mode): Remove unused :group argument.
15115 * textmodes/refill.el (refill): Remove empty custom group.
15116 (refill-mode): Remove unused :group argument.
15117
15118 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
15119
15120 * cus-dep.el: Provide a feature.
15121 (custom-make-dependencies): Ignore dotfiles (dir-locals).
15122 Don't mistakenly ignore files whose basenames match a basename
15123 from preloaded-file-list (eg cedet/ede/simple.el).
15124 Add a fallback method for getting :group.
15125
15126 2013-05-15 Juri Linkov <juri@jurta.org>
15127
15128 * isearch.el (isearch-char-by-name): Rename from
15129 `isearch-insert-char-by-name'. Doc fix.
15130 (isearch-forward): Mention `isearch-char-by-name' in
15131 the docstring. (Bug#13348)
15132
15133 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
15134 `exit-minibuffer' instead of
15135 `isearch-nonincremental-exit-minibuffer'.
15136 (isearch-edit-string): Remove mention of
15137 `isearch-nonincremental-exit-minibuffer' from docstring.
15138 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
15139 (isearch-forward-exit-minibuffer)
15140 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
15141
15142 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15143
15144 * loadup.el: Just use unversioned DOC.
15145
15146 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
15147 literals as extending to EOB.
15148 (nxml-last-fontify-end): Remove unused variable.
15149 (nxml-after-change1): Use with-silent-modifications.
15150 (nxml-extend-after-change-region): Simplify.
15151 (nxml-extend-after-change-region1): Remove function.
15152 (nxml-after-change1): Don't adjust for dependent regions.
15153 (nxml-fontify-matcher): Simplify.
15154 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
15155 (xmltok-add-dependent): Remove function.
15156 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
15157 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
15158 (xmltok-scan-prolog-after-processing-instruction-open): Treat
15159 unclosed <[[, <?, comment, and other literals as extending to EOB.
15160 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
15161 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
15162 Remove functions.
15163 (rng-do-some-validation-1): Don't mark dependent regions.
15164 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
15165 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
15166 (nxml-clear-dependent-regions): Remove functions.
15167 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
15168 (nxml-ensure-scan-up-to-date):
15169 Don't clear&mark dependent regions.
15170
15171 2013-05-15 Leo Liu <sdl.web@gmail.com>
15172
15173 * progmodes/octave.el (octave-goto-function-definition):
15174 Improve and fix callers.
15175
15176 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
15177
15178 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
15179 the setter (bug#14387).
15180
15181 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
15182 surrounding group (bug#14402).
15183
15184 2013-05-14 Juri Linkov <juri@jurta.org>
15185
15186 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
15187 (Bug#14390)
15188
15189 2013-05-14 Glenn Morris <rgm@gnu.org>
15190
15191 * progmodes/f90.el (f90-imenu-generic-expression):
15192 Fix typo in 2013-05-08 change. (Bug#14402)
15193
15194 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15195
15196 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
15197 Remove signals for which replies are never received.
15198
15199 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15200
15201 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
15202 (gdb-handler-alist, gdb-handler-number): Remove variables.
15203 (gdb-handler-list): New variable.
15204 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
15205 (gdb-pending-handler-p, gdb-handle-reply)
15206 (gdb-remove-all-pending-triggers): New functions.
15207 (gdb-discard-unordered-replies): New defcustom.
15208 (gdb-handler): New defstruct.
15209 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
15210 instead of gdb-pending-triggers. Update docstring.
15211 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
15212 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
15213 (gdb-var-update-handler, def-gdb-auto-update-trigger)
15214 (def-gdb-auto-update-handler, gdb-get-changed-registers)
15215 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
15216 (gdb-frame-handler): Pending triggers are now automatically managed.
15217 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
15218 Remove argument.
15219 (gdb-input): Automatically handles pending triggers. Update docstring.
15220 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
15221 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
15222 Update comments.
15223 (gdb-done-or-error): Now use gdb-handle-reply.
15224
15225 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
15226
15227 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
15228 gdb-debug-log.
15229
15230 2013-05-14 Glenn Morris <rgm@gnu.org>
15231
15232 * subr.el (user-emacs-directory-warning): New option.
15233 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
15234
15235 2013-05-14 Leo Liu <sdl.web@gmail.com>
15236
15237 * progmodes/octave.el (octave-font-lock-keywords): Fix error
15238 during redisplay.
15239 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
15240 (octave-font-lock-texinfo-comment): Fix invalid search bound
15241 error: wrong side of point.
15242
15243 2013-05-14 Glenn Morris <rgm@gnu.org>
15244
15245 * progmodes/flymake.el (flymake-xml-program): New option.
15246 (flymake-xml-init): Use it.
15247
15248 * term/xterm.el: Provide a feature.
15249
15250 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
15251
15252 2013-05-13 Glenn Morris <rgm@gnu.org>
15253
15254 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
15255 Add compat aliases as a hack workaround. (Bug#14384)
15256
15257 2013-05-13 Leo Liu <sdl.web@gmail.com>
15258
15259 * progmodes/octave.el (octave-indent-comment): Fix indentation for
15260 ###, and %!.
15261 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
15262 C-M-q.
15263 (octave-comment-start-skip): Include %!.
15264 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
15265
15266 2013-05-12 Leo Liu <sdl.web@gmail.com>
15267
15268 * progmodes/octave.el (inferior-octave-startup): Store the value
15269 of __octave_srcdir__ for octave-source-directories.
15270 (inferior-octave-check-process): New function refactored out of
15271 inferior-octave-send-list-and-digest.
15272 (octave-source-directories)
15273 (octave-find-definition-filename-function): New variables.
15274 (octave-source-directories)
15275 (octave-find-definition-default-filename): New functions.
15276 (octave-find-definition): Improve to find functions implemented in C++.
15277
15278 2013-05-12 Glenn Morris <rgm@gnu.org>
15279
15280 * calendar/diary-lib.el (diary-outlook-format-1):
15281 Don't include dayname in the output. (Bug#14349)
15282
15283 2013-05-11 Glenn Morris <rgm@gnu.org>
15284
15285 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
15286
15287 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
15288 Treat cc-provide like provide.
15289
15290 2013-05-11 Kevin Ryde <user42@zip.com.au>
15291
15292 * cus-dep.el (custom-make-dependencies):
15293 Use generated-autoload-load-name for the sake of files such
15294 such cedet/semantic/bovine/c.el, where the base file name
15295 is not in load-path. (Bug#5277)
15296
15297 2013-05-11 Glenn Morris <rgm@gnu.org>
15298
15299 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
15300 Provide features.
15301
15302 2013-05-11 Leo Liu <sdl.web@gmail.com>
15303
15304 * progmodes/octave.el (octave-indent-comment): Improve.
15305 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
15306 (octave-eldoc-function-signatures, octave-eldoc-function):
15307 New functions.
15308 (octave-mode, inferior-octave-mode): Add eldoc support.
15309
15310 2013-05-11 Richard Stallman <rms@gnu.org>
15311
15312 * epa.el (epa-decrypt-file): Take output file name as argument
15313 and read it using `interactive'.
15314
15315 2013-05-11 Leo Liu <sdl.web@gmail.com>
15316
15317 * progmodes/octave.el (octave-beginning-of-line)
15318 (octave-end-of-line): Check before using up-list because it jumps
15319 out of more syntactic contructs since moving to smie.
15320 (octave-indent-comment): New function.
15321 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
15322 (octave-begin-keywords, octave-end-keywords)
15323 (octave-reserved-words, octave-smie-bnf-table)
15324 (octave-smie-rules): Add new keywords from Octave 3.6.4.
15325
15326 2013-05-11 Glenn Morris <rgm@gnu.org>
15327
15328 * faces.el (internal-face-x-get-resource):
15329 * frame.el (ns-display-monitor-attributes-list):
15330 * calc/calc-aent.el (math-to-radians-2):
15331 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
15332 Fix declarations.
15333
15334 * calc/calc-menu.el: Make it loadable in isolation.
15335
15336 * net/eudcb-bbdb.el: Make it loadable without bbdb.
15337 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
15338 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
15339 (eudc-bbdb-query-internal): Require 'bbdb.
15340
15341 * lpr.el (lpr-headers-switches):
15342 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
15343
15344 * progmodes/sql.el (sql-login-params): Fix and improve :type.
15345
15346 * emulation/edt-mapper.el: In batch mode, error rather than hang.
15347
15348 * term.el (term-set-escape-char): Make it idempotent.
15349
15350 2013-05-10 Leo Liu <sdl.web@gmail.com>
15351
15352 * progmodes/octave.el (inferior-octave-completion-table):
15353 No longer a function and all uses changed. Use cache to speed up
15354 completion due to bug#11906.
15355 (octave-beginning-of-defun): Re-write to be more general.
15356
15357 2013-05-10 Glenn Morris <rgm@gnu.org>
15358
15359 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
15360
15361 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
15362
15363 * comint.el (comint-redirect-send-command-to-process): Use :around
15364 rather than :override for comint-redirect-filter.
15365 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
15366 Call it instead of comint-redirect-original-filter-function (which
15367 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
15368
15369 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
15370
15371 * frame.el (display-monitor-attributes-list): Add NS case.
15372 (ns-display-monitor-attributes-list): Declare.
15373
15374 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
15375
15376 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
15377
15378 2013-05-09 Glenn Morris <rgm@gnu.org>
15379
15380 * international/fontset.el (vertical-centering-font-regexp):
15381 Set standard-value.
15382
15383 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
15384
15385 * bookmark.el (bookmark-search-delay):
15386 * cus-start.el (vertical-centering-font-regexp):
15387 * ps-mule.el (ps-mule-font-info-database-default):
15388 * ps-print.el (ps-default-fg, ps-default-bg):
15389 * type-break.el (type-break-good-break-interval):
15390 * whitespace.el (whitespace-indentation-regexp)
15391 (whitespace-space-after-tab-regexp):
15392 * emacs-lisp/testcover.el (testcover-1value-functions)
15393 (testcover-noreturn-functions, testcover-progn-functions)
15394 (testcover-prog1-functions):
15395 * emulation/viper-init.el (viper-emacs-state-cursor-color):
15396 * eshell/em-glob.el (eshell-glob-translate-alist):
15397 * play/tetris.el (tetris-tty-colors):
15398 * progmodes/cpp.el (cpp-face-default-list):
15399 * progmodes/flymake.el (flymake-allowed-file-name-masks):
15400 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
15401 (idlwave-help-browser-generic-args):
15402 * progmodes/make-mode.el (makefile-special-targets-list):
15403 * progmodes/python.el (python-shell-virtualenv-path):
15404 * progmodes/verilog-mode.el (verilog-active-low-regexp)
15405 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
15406 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
15407 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
15408 * textmodes/reftex-vars.el (reftex-format-label-function):
15409 * textmodes/remember.el (remember-diary-file): Fix custom types.
15410
15411 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
15412 Add :version.
15413
15414 2013-05-09 Leo Liu <sdl.web@gmail.com>
15415
15416 * progmodes/octave.el (inferior-octave-completion-at-point):
15417 Restore file completion. (Bug#14300)
15418 (inferior-octave-startup): Fix incorrect highlighting for the
15419 first prompt.
15420
15421 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15422
15423 * progmodes/ruby-mode.el: First cut at SMIE support.
15424 (ruby-use-smie): New var.
15425 (ruby-smie-grammar): New constant.
15426 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
15427 (ruby-smie--forward-token, ruby-smie--backward-token)
15428 (ruby-smie-rules): New functions.
15429 (ruby-mode-variables): Setup SMIE if applicable.
15430
15431 2013-05-08 Eli Zaretskii <eliz@gnu.org>
15432
15433 * simple.el (line-move-visual): Signal beginning/end of buffer
15434 only if vertical-motion moved less than it was requested. Avoids
15435 silly incorrect error messages when there are display strings with
15436 multiple newlines at EOL.
15437
15438 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15439
15440 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
15441 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
15442 (prolog-char-quote-workaround):
15443 * progmodes/cperl-mode.el (cperl-under-as-char):
15444 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
15445 Mark as obsolete.
15446 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
15447 their declaration.
15448 (vhdl-mode-syntax-table-init): Remove.
15449
15450 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
15451 last change.
15452
15453 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
15454 syntax for "_".
15455 (ld-script-font-lock-keywords):
15456 Change regexps to use things like \_< and \_>.
15457
15458 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
15459 Change all regexps to use things like \_< and \_>.
15460
15461 * progmodes/autoconf.el (autoconf-definition-regexp)
15462 (autoconf-font-lock-keywords, autoconf-current-defun-function):
15463 Handle a _ with symbol syntax.
15464 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
15465
15466 * progmodes/ada-mode.el (ada-mode-abbrev-table):
15467 Consolidate declaration.
15468 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
15469 the declaration.
15470 (ada-create-syntax-table): Remove.
15471 (ada-capitalize-word): Don't mess with the syntax of "_" since it
15472 already has the right syntax nowadays.
15473 (ada-goto-next-word): Don't change the syntax of "_".
15474
15475 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
15476 with-wrapper-hook.
15477
15478 2013-05-08 Sam Steingold <sds@gnu.org>
15479
15480 * thingatpt.el (thing-at-point): Accept optional second argument
15481 NO-PROPERTIES to strip the text properties from the return value.
15482 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
15483 to `thing-at-point' instead of stripping the properties ourselves.
15484 Also, when `thing-at-point' fails to find a url, prepend "http://"
15485 to the filename at point on the assumption that the user is
15486 pointing at something like gnu.org/gnu.
15487
15488 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
15489
15490 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
15491 * faces.el (crm-separator):
15492 Silence byte-compiler.
15493
15494 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
15495 (tool-bar-map): Remove unneeded defvars.
15496
15497 2013-05-08 Leo Liu <sdl.web@gmail.com>
15498
15499 Re-work a fix for bug#10994 based on Le Wang's patch.
15500 * ido.el (ido-remove-consecutive-dups): New helper.
15501 (ido-completing-read): Use it.
15502 (ido-chop): Revert fix for bug#10994.
15503
15504 2013-05-08 Adam Spiers <emacs@adamspiers.org>
15505
15506 * cus-edit.el (custom-save-variables):
15507 Pretty-print long values. (Bug#14187)
15508
15509 2013-05-08 Glenn Morris <rgm@gnu.org>
15510
15511 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
15512 (m4-mode-syntax-table): Init in the defvar.
15513 (m4-mode-abbrev-table): Let define-derived-mode define it.
15514
15515 2013-05-08 Tom Tromey <tromey@redhat.com>
15516
15517 * progmodes/m4-mode.el (m4-mode-syntax-table):
15518 Do not treat "_" as word constituent. (Bug#14167)
15519
15520 2013-05-07 Glenn Morris <rgm@gnu.org>
15521
15522 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
15523 Remove explicit eshell-isearch-cancel-map.
15524
15525 * progmodes/f90.el (f90-smart-end-names): New option.
15526 (f90-smart-end): Doc fix.
15527 (f90-end-block-optional-name): New constant.
15528 (f90-block-match): Respect f90-smart-end-names.
15529
15530 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15531
15532 * progmodes/octave.el (octave-smie-forward-token): Be more careful
15533 about implicit semi-colons (bug#14218).
15534
15535 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
15536
15537 * frame.el (display-monitor-attributes-list)
15538 (frame-monitor-attributes): New functions.
15539
15540 2013-05-06 Leo Liu <sdl.web@gmail.com>
15541
15542 * progmodes/octave.el (octave-syntax-propertize-function): Change
15543 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
15544 (octave-font-lock-keywords): Use octave-operator-regexp.
15545 (octave-completion-at-point): Rename from
15546 octave-completion-at-point-function.
15547 (inferior-octave-directory-tracker): Robustify.
15548 (octave-text-functions): Remove and fix its uses. No such things
15549 any more.
15550
15551 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15552
15553 * emacs-lisp/trace.el (trace--display-buffer): New function.
15554 (trace-make-advice): Use it.
15555
15556 2013-05-06 Juri Linkov <juri@jurta.org>
15557
15558 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
15559 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
15560 Doc fix.
15561 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
15562 in the help string. (Bug#12985)
15563
15564 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
15565
15566 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
15567
15568 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15569
15570 * progmodes/perl-mode.el: Add support for here documents.
15571 (perl-syntax-propertize-function): Match here-doc markers.
15572 (perl-syntax-propertize-special-constructs): Find their end.
15573 (perl-imenu-generic-expression): Use [:alnum:].
15574
15575 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
15576 (advice--add-function): Refresh the advice if already present
15577 (bug#14317).
15578
15579 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
15580
15581 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
15582
15583 2013-05-06 Glenn Morris <rgm@gnu.org>
15584
15585 * w32-fns.el (w32-charset-info-alist): Declare.
15586
15587 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
15588 of its defcustom properties.
15589 (eshell-cmpl-initialize): No need to load pcomplete.
15590
15591 * generic-x.el: No need to require comint when compiling.
15592
15593 * net/eudc-export.el: Make it loadable without bbdb.
15594 (top-level): Use require rather than load-library.
15595 (eudc-create-bbdb-record, eudc-bbdbify-phone)
15596 (eudc-batch-export-records-to-bbdb)
15597 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
15598 Require bbdb.
15599
15600 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15601
15602 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
15603 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
15604 some tweaks, instead.
15605
15606 2013-05-05 Leo Liu <sdl.web@gmail.com>
15607
15608 * progmodes/octave.el (octave-font-lock-keywords)
15609 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
15610 (inferior-octave-send-list-and-digest): Improve error message.
15611 (octave-mode, inferior-octave-mode): Use setq-local.
15612 (octave-help): Set info-lookup-mode.
15613
15614 2013-05-05 Richard Stallman <rms@gnu.org>
15615
15616 * vc/compare-w.el (compare-windows-whitespace):
15617 Treat no-break space as whitespace.
15618
15619 * mail/rmailsum.el (rmail-summary-rmail-update):
15620 Detect empty summary and don't change selected message.
15621 (rmail-summary-goto-msg): Likewise.
15622
15623 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
15624 Doc fixes, rename args.
15625
15626 2013-05-05 Alan Mackenzie <acm@muc.de>
15627
15628 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
15629
15630 2013-05-05 Juri Linkov <juri@jurta.org>
15631
15632 * info.el (Info-read-subfile): Use (point-min) instead of (point)
15633 to not add the length of the summary segment to the return value.
15634 (Bug#14125)
15635
15636 2013-05-05 Leo Liu <sdl.web@gmail.com>
15637
15638 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
15639 (inferior-octave-output-filter): Remove.
15640 (octave-send-region, inferior-octave-startup): Fix callers.
15641 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
15642 (octave-binary-file-extensions): New user variable.
15643 (octave-find-definition): Confirm if opening binary files.
15644 (octave-help-file): Use octave-find-definition to get the binary
15645 confirmation.
15646 (octave-help): Adjust for octave-help-file change.
15647
15648 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15649
15650 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
15651 Merge the two entries that handle function definitions.
15652 (pascal--syntax-propertize): New const.
15653 (pascal-mode): Use it. Use setq-local.
15654
15655 2013-05-04 Glenn Morris <rgm@gnu.org>
15656
15657 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
15658 (diary-from-outlook): Respect diary-from-outlook-function.
15659
15660 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15661
15662 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
15663 Move the declaration from C.
15664 (read-minibuffer, eval-minibuffer): Move from C.
15665 (completion-setup-function): Avoid minibuffer-completion-contents.
15666
15667 2013-05-03 Leo Liu <sdl.web@gmail.com>
15668
15669 * progmodes/octave.el (octave-font-lock-keywords): Do not
15670 dehighlight 'end' in comments or strings.
15671 (octave-completing-read, octave-goto-function-definition):
15672 New helpers.
15673 (octave-help-buffer): New user variable.
15674 (octave-help-file, octave-help-function): New button types.
15675 (octave-help): New command and bind it to C-h ;.
15676 (octave-find-definition): New command and bind it to M-.
15677 (user-error): Alias to error if not defined.
15678
15679 2013-05-02 Leo Liu <sdl.web@gmail.com>
15680
15681 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
15682 for \. (bug#14332)
15683 (octave-font-lock-keywords): Include [ and {.
15684
15685 2013-05-02 Leo Liu <sdl.web@gmail.com>
15686
15687 * progmodes/octave.el (inferior-octave-startup-file): Change default.
15688 (inferior-octave): Remove calling comint-mode and return the buffer.
15689 (inferior-octave-startup): Cosmetic changes.
15690
15691 2013-05-02 Leo Liu <sdl.web@gmail.com>
15692
15693 * progmodes/octave.el (octave-syntax-propertize-function):
15694 Include the case when ' is at line beginning. (Bug#14336)
15695
15696 2013-05-02 Glenn Morris <rgm@gnu.org>
15697
15698 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
15699 * desktop.el (vc-dir-mode): Just autoload it here.
15700
15701 2013-05-02 Alan Mackenzie <acm@muc.de>
15702
15703 Eliminate variable c-standard-font-lock-fontify-region-function.
15704 * progmodes/cc-mode.el
15705 (c-standard-font-lock-fontify-region-function): Remove.
15706 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
15707
15708 2013-05-01 Leo Liu <sdl.web@gmail.com>
15709
15710 * progmodes/octave.el: Compatible with older emacs-24 releases.
15711 (inferior-octave-has-built-in-variables): Remove. Built-in
15712 variables were removed from Octave in 2007.
15713 (inferior-octave-startup): Fix uses.
15714 (comint-line-beginning-position): Remove compatibility code for
15715 emacs 21.
15716
15717 2013-05-01 Juri Linkov <juri@jurta.org>
15718
15719 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
15720
15721 2013-05-01 Juri Linkov <juri@jurta.org>
15722
15723 * comint.el (comint-previous-matching-input): Don't print message
15724 "History item: %d" when `isearch-mode' is active.
15725 (comint-history-isearch-message): Print message "History item: %d"
15726 when `comint-input-ring-index' is not empty and this function is
15727 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
15728
15729 2013-05-01 Leo Liu <sdl.web@gmail.com>
15730
15731 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
15732 definitions. Use completion-at-point to insert keywords.
15733 (octave-abbrev-start): Remove.
15734 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
15735
15736 2013-04-30 Leo Liu <sdl.web@gmail.com>
15737
15738 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
15739 change.
15740
15741 2013-04-30 Alan Mackenzie <acm@muc.de>
15742
15743 Handle arbitrarily long C++ member initialisation lists.
15744 * progmodes/cc-engine.el (c-back-over-member-initializers):
15745 new function.
15746 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
15747 (most) member init lists.
15748
15749 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
15750
15751 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
15752 variable.
15753
15754 2013-04-30 Leo Liu <sdl.web@gmail.com>
15755
15756 * progmodes/octave.el (octave-variables): Remove. No builtin
15757 variables any more. All converted to functions.
15758 (octave-font-lock-keywords, octave-completion-at-point-function):
15759 Fix uses.
15760 (octave-font-lock-texinfo-comment): New user variable.
15761 (octave-texinfo-font-lock-keywords): New variable for texinfo
15762 comment block.
15763 (octave-function-comment-block): New face.
15764 (octave-font-lock-texinfo-comment): New function.
15765 (octave-mode): Font lock texinfo comment block.
15766
15767 2013-04-29 Leo Liu <sdl.web@gmail.com>
15768
15769 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
15770 indexing expression.
15771 (octave-continuation-string): Do not use \.
15772 (inferior-octave-complete-impossible): Remove.
15773 (inferior-octave-completion-table)
15774 (inferior-octave-completion-at-point): Remove its uses.
15775 (inferior-octave-startup): completion_matches was introduced to
15776 Octave in 1996 so safe to assume it.
15777 (octave-function-file-comment): Improve to follow how Octave does it.
15778 (octave-update-function-file-comment): Tweak.
15779
15780 2013-04-29 Leo Liu <sdl.web@gmail.com>
15781
15782 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
15783 (inferior-octave-startup): Remove inferior-octave-startup-hook.
15784 (octave-function-file-comment): Fix typo.
15785 (octave-sync-function-file-names): Use read-char-choice.
15786
15787 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
15788
15789 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
15790 to t for the less important warnings.
15791
15792 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
15793
15794 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
15795
15796 2013-04-27 Glenn Morris <rgm@gnu.org>
15797
15798 * vc/log-view.el (log-view-current-entry):
15799 Treat "---" separator lines as part of the following rev. (Bug#14169)
15800
15801 2013-04-27 Juri Linkov <juri@jurta.org>
15802
15803 * subr.el (read-number): Doc fix about using it by interactive
15804 code letter `n'. (Bug#14254)
15805
15806 2013-04-27 Juri Linkov <juri@jurta.org>
15807
15808 * desktop.el (desktop-auto-save-timeout): New option.
15809 (desktop-file-checksum): New variable.
15810 (desktop-save): Add optional arg `auto-save' and don't auto-save
15811 if nothing changed.
15812 (desktop-auto-save-timer): New variable.
15813 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
15814 (after-init-hook): Call `desktop-auto-save-set-timer'.
15815 Suggested by Reuben Thomas <rrt@sc3d.org> in
15816 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
15817
15818 2013-04-27 Leo Liu <sdl.web@gmail.com>
15819
15820 * progmodes/octave.el (octave-function-file-p)
15821 (octave-skip-comment-forward, octave-function-file-comment)
15822 (octave-update-function-file-comment): New functions.
15823 (octave-mode-map): Bind C-c ; to
15824 octave-update-function-file-comment.
15825 (octave-mode-menu): Add octave-update-function-file-comment.
15826 (octave-mode, inferior-octave-mode): Fix doc-string.
15827 (octave-insert-defun): Conform to Octave's coding convention.
15828 (Bug#14285)
15829
15830 * files.el (basic-save-buffer): Don't let errors in
15831 before-save-hook prevent saving buffer.
15832
15833 2013-04-20 Roland Winkler <winkler@gnu.org>
15834
15835 * faces.el (read-face-name): Use completing-read if arg multiple
15836 is nil.
15837
15838 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
15839
15840 * ls-lisp.el (ls-lisp-insert-directory): If no files are
15841 displayed, move point to after the totals line.
15842 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
15843 for the details.
15844
15845 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
15846
15847 * emacs-lisp/package.el (package-autoload-ensure-default-file):
15848 Add current dir to the load-path.
15849 (package-generate-autoloads): Don't rely on
15850 autoload-ensure-default-file.
15851
15852 2013-04-26 Reuben Thomas <rrt@sc3d.org>
15853
15854 * textmodes/remember.el (remember-store-in-files): Document that
15855 the file name format is passed to `format-time-string'.
15856
15857 2013-04-26 Leo Liu <sdl.web@gmail.com>
15858
15859 * progmodes/octave.el (octave-sync-function-file-names): New function.
15860 (octave-mode): Use it in before-save-hook.
15861
15862 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
15863
15864 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
15865 (bug#14274).
15866
15867 * progmodes/octave.el (octave-smie-forward-token): Properly skip
15868 \n and comment, even if it's not an implicit ; (bug#14218).
15869
15870 2013-04-26 Glenn Morris <rgm@gnu.org>
15871
15872 * subr.el (read-number): Once more use `read' rather than
15873 `string-to-number', to trap non-numeric input. (Bug#14254)
15874
15875 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
15876
15877 * emacs-lisp/syntax.el (syntax-propertize-multiline):
15878 Use `syntax-multiline' text property consistently instead of
15879 `font-lock-multiline'. (Bug#14237)
15880
15881 2013-04-26 Glenn Morris <rgm@gnu.org>
15882
15883 * emacs-lisp/shadow.el (list-load-path-shadows):
15884 No longer necessary to check for duplicate simple.el, since
15885 2012-07-07 change to init_lread to not include installation lisp
15886 directories in load-path when running uninstalled. (Bug#14270)
15887
15888 2013-04-26 Leo Liu <sdl.web@gmail.com>
15889
15890 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
15891 (octave-mode, inferior-octave-mode): Use setq-local.
15892 (octave-not-in-string-or-comment-p): Rename to
15893 octave-in-string-or-comment-p.
15894 (octave-in-comment-p, octave-in-string-p)
15895 (octave-in-string-or-comment-p): Replace defsubst with defun.
15896
15897 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
15898
15899 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
15900
15901 2013-04-25 Bastien Guerry <bzg@gnu.org>
15902
15903 * textmodes/remember.el (remember-data-directory)
15904 (remember-directory-file-name-format): Fix custom types.
15905
15906 2013-04-25 Leo Liu <sdl.web@gmail.com>
15907
15908 * progmodes/octave.el (octave-completion-at-point-function):
15909 Make use of inferior octave process.
15910 (octave-initialize-completions): Remove.
15911 (inferior-octave-completion-table): New function.
15912 (inferior-octave-completion-at-point): Use it.
15913 (octave-completion-alist): Remove.
15914
15915 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15916
15917 * progmodes/opascal.el: Use font-lock and syntax-propertize.
15918 (opascal-mode-syntax-table): New var.
15919 (opascal-literal-kind, opascal-is-literal-end)
15920 (opascal-literal-token-at): Rewrite.
15921 (opascal--literal-start-re, opascal-font-lock-keywords)
15922 (opascal--syntax-propertize): New constants.
15923 (opascal-font-lock-defaults): Adjust.
15924 (opascal-mode): Use them. Set comment-<foo> variables as well.
15925 (delphi-comment-face, opascal-comment-face, delphi-string-face)
15926 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
15927 (delphi-other-face, opascal-other-face): Remove face variables.
15928 (opascal-save-state): Remove macro.
15929 (opascal-fontifying-progress-step): Remove constant.
15930 (opascal--ignore-changes): Remove var.
15931 (opascal-set-token-property, opascal-parse-next-literal)
15932 (opascal-is-stable-literal, opascal-complete-literal)
15933 (opascal-is-literal-start, opascal-face-of)
15934 (opascal-parse-region, opascal-parse-region-until-stable)
15935 (opascal-fontify-region, opascal-after-change)
15936 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
15937 (opascal-debug-parse-region, opascal-debug-parse-window)
15938 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
15939 (opascal-debug-fontify-buffer): Remove.
15940 (opascal-debug-mode-map): Adjust accordingly.
15941
15942 2013-04-25 Leo Liu <sdl.web@gmail.com>
15943
15944 Merge octave-mod.el and octave-inf.el into octave.el with some
15945 cleanups.
15946 * progmodes/octave.el: New file renamed from octave-mod.el.
15947 * progmodes/octave-inf.el: Merged into octave.el.
15948 * progmodes/octave-mod.el: Renamed to octave.el.
15949
15950 2013-04-25 Tassilo Horn <tsdh@gnu.org>
15951
15952 * textmodes/reftex-vars.el
15953 (reftex-label-ignored-macros-and-environments): New defcustom.
15954
15955 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
15956
15957 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15958
15959 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
15960 (smie-indent-keyword): Improve the check to ensure that the next
15961 comment is really on the same line.
15962 (smie-indent-comment): Don't align with a subsequent closer (or eob).
15963
15964 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
15965 semi-colons if the line is not otherwise empty (bug#14218).
15966
15967 2013-04-25 Glenn Morris <rgm@gnu.org>
15968
15969 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
15970
15971 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
15972
15973 * progmodes/opascal.el (opascal-set-token-property): Rename from
15974 opascal-set-text-properties and only set `token' (bug#14134).
15975 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
15976 (opascal-literal-text-properties): Remove.
15977 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
15978 Adjust callers.
15979
15980 2013-04-24 Reuben Thomas <rrt@sc3d.org>
15981
15982 * textmodes/remember.el (remember-handler-functions): Add an
15983 option for a new handler `remember-store-in-files'.
15984 (remember-data-directory, remember-directory-file-name-format):
15985 New options.
15986 (remember-store-in-files): New function to store remember notes
15987 as separate files within a directory.
15988
15989 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
15990
15991 * progmodes/compile.el (compilation-next-error-function):
15992 Pass "formats" to compilation-find-file (bug#11777).
15993
15994 2013-04-24 Glenn Morris <rgm@gnu.org>
15995
15996 * vc/vc-bzr.el (vc-bzr-print-log):
15997 * vc/vc-hg.el (vc-hg-print-log):
15998 * vc/vc-svn.el (vc-svn-print-log):
15999 Fix START-REVISION with LIMIT != 1. (Bug#14168)
16000
16001 * vc/vc-bzr.el (vc-bzr-print-log):
16002 * vc/vc-cvs.el (vc-cvs-print-log):
16003 * vc/vc-git.el (vc-git-print-log):
16004 * vc/vc-hg.el (vc-hg-print-log):
16005 * vc/vc-mtn.el (vc-mtn-print-log):
16006 * vc/vc-rcs.el (vc-rcs-print-log):
16007 * vc/vc-sccs.el (vc-sccs-print-log):
16008 * vc/vc-svn.el (vc-svn-print-log):
16009 * vc/vc.el (vc-print-log-internal): Doc fixes.
16010
16011 2013-04-23 Glenn Morris <rgm@gnu.org>
16012
16013 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
16014 Remove venerable code attempting to avoid substitute-command-keys.
16015
16016 2013-04-23 Tassilo Horn <tsdh@gnu.org>
16017
16018 * textmodes/reftex-vars.el (reftex-label-regexps):
16019 Call `reftex-compile-variables' after changes to this variable.
16020
16021 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
16022
16023 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
16024 Use lexical-binding.
16025 (jit-lock-force-redisplay): Use markers, check buffer's continued
16026 existence and beware narrowed buffers.
16027 (jit-lock-fontify-now): Adjust call accordingly.
16028
16029 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
16030
16031 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
16032 to avoid misleading the user.
16033
16034 2013-04-22 Leo Liu <sdl.web@gmail.com>
16035
16036 * info-look.el: Prefer latex2e.info. (Bug#14240)
16037
16038 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
16039
16040 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
16041
16042 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
16043 * net/tramp.el (tramp-call-process): ... here.
16044 (tramp-set-completion-function, tramp-parse-putty):
16045 * net/tramp-adb.el (tramp-adb-execute-adb-command):
16046 * net/tramp-gvfs.el (tramp-gvfs-send-command):
16047 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
16048 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
16049 (tramp-call-local-coding-command): Use `tramp-call-process'
16050 instead of `tramp-compat-call-process'.
16051
16052 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
16053 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
16054 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
16055 (tramp-find-inline-compress): Improve traces.
16056 (tramp-maybe-send-script): Check for Perl binary.
16057 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
16058
16059 2013-04-22 Daiki Ueno <ueno@gnu.org>
16060
16061 * epg.el (epg-context-pinentry-mode): New function.
16062 (epg-context-set-pinentry-mode): New function.
16063 (epg--start): Pass --pinentry-mode option to gpg command.
16064
16065 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
16066
16067 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
16068 `comint-dynamic-complete' is obsolete since 24.1, replaced by
16069 `completion-at-point'. (Bug#13774)
16070
16071 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
16072 default key binding for `describe-distribution' has been moved to
16073 `C-h C-o'. (Bug#13970)
16074
16075 2013-04-21 Glenn Morris <rgm@gnu.org>
16076
16077 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
16078 Add doc strings.
16079 (vc-print-log): Clarify interactive prompt.
16080
16081 2013-04-20 Glenn Morris <rgm@gnu.org>
16082
16083 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
16084 No longer include timestamp etc information.
16085
16086 2013-04-20 Roland Winkler <winkler@gnu.org>
16087
16088 * faces.el (read-face-name): Bug fix, return just one face if arg
16089 multiple is nil. (Bug#14209)
16090
16091 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
16092
16093 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
16094 (remove-function): Autoload.
16095
16096 * comint.el (comint-redirect-original-filter-function): Remove.
16097 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
16098 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
16099 (vc-cvs-annotate-command):
16100 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
16101 * progmodes/prolog.el (prolog-consult-compile):
16102 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
16103 Use add/remove-function instead.
16104 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
16105 (gud-tooltip-process-output, gud-tooltip-tips):
16106 Use add/remove-function instead.
16107 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
16108 (scheme-interaction-mode, exit-scheme-interaction-mode):
16109 Use add/remove-function instead.
16110
16111 * vc/vc-dispatcher.el: Use lexical-binding.
16112 (vc--process-sentinel): Rename from vc-process-sentinel.
16113 Change last arg to be the code to run. Don't use vc-previous-sentinel
16114 and vc-sentinel-commands any more.
16115 (vc-exec-after): Allow code to be a function. Use add/remove-function.
16116 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
16117
16118 2013-04-19 Masatake YAMATO <yamato@redhat.com>
16119
16120 * progmodes/sh-script.el (sh-imenu-generic-expression):
16121 Handle function names with a single character. (Bug#14111)
16122
16123 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
16124
16125 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
16126 for subroutines defined in an eval (bug#14182).
16127
16128 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16129
16130 * bookmark.el (bookmark-completing-read): Improve handling of empty
16131 string (bug#14176).
16132
16133 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16134
16135 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
16136
16137 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
16138
16139 New faster Imenu implementation (bug#14058).
16140 * progmodes/python.el (python-imenu-prev-index-position)
16141 (python-imenu-format-item-label-function)
16142 (python-imenu-format-parent-item-label-function)
16143 (python-imenu-format-parent-item-jump-label-function):
16144 New vars.
16145 (python-imenu-format-item-label)
16146 (python-imenu-format-parent-item-label)
16147 (python-imenu-format-parent-item-jump-label)
16148 (python-imenu--put-parent, python-imenu--build-tree)
16149 (python-imenu-create-index, python-imenu-create-flat-index)
16150 (python-util-popn): New functions.
16151 (python-mode): Set imenu-create-index-function to
16152 python-imenu-create-index.
16153
16154 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16155
16156 * winner.el (winner-active-region): Use region-active-p, activate-mark
16157 and deactivate-mark (bug#14225).
16158
16159 * simple.el (deactivate-mark): Don't inline it.
16160
16161 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
16162
16163 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
16164
16165 2013-04-18 Tassilo Horn <tsdh@gnu.org>
16166
16167 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
16168 file extensions from the archive-mode entry in order to prefer
16169 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
16170
16171 2013-04-18 Leo Liu <sdl.web@gmail.com>
16172
16173 * bindings.el (help-event-list): Add ?\?.
16174
16175 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
16176
16177 * subr.el (with-wrapper-hook): Declare obsolete.
16178 * simple.el (filter-buffer-substring-function): New hook.
16179 (filter-buffer-substring): Use it.
16180 (filter-buffer-substring-functions): Mark obsolete.
16181 * minibuffer.el (completion-in-region-function): New hook.
16182 (completion-in-region): Use it.
16183 (completion-in-region-functions): Mark obsolete.
16184 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
16185 * abbrev.el (abbrev-expand-function): New hook.
16186 (expand-abbrev): Use it.
16187 (abbrev-expand-functions): Mark obsolete.
16188 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
16189 and :filter-return.
16190
16191 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16192
16193 * progmodes/python.el (python-nav--syntactically): Fix cornercases
16194 and do not care about match data.
16195
16196 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16197
16198 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
16199 completion tables when completing error conditions and
16200 `declare' arguments.
16201 (lisp-complete-symbol, field-complete): Mark as obsolete.
16202 (check-parens): Unmatched parens are user errors.
16203 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
16204
16205 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
16206
16207 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
16208 command changed buffer (ie. `flyspell-pre-buffer' is not current
16209 buffer), which prevents making decisions based on invalid value of
16210 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
16211 cause an error when `flyspell-pre-point' was nil after switching
16212 buffers.
16213 (flyspell-post-command-hook): No longer needs to change buffers when
16214 checking pre-word. While at it remove unnecessary progn.
16215
16216 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
16217
16218 * textmodes/ispell.el (ispell-add-per-file-word-list):
16219 Fix `flyspell-correct-word-before-point' error when accepting
16220 words and `coment-padding' is an integer by using
16221 `comment-normalize-vars' (Bug #14214).
16222
16223 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16224
16225 New defun movement commands.
16226 * progmodes/python.el (python-nav--syntactically)
16227 (python-nav--forward-defun, python-nav-backward-defun)
16228 (python-nav-forward-defun): New functions.
16229
16230 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
16231
16232 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
16233 (python-syntax-context): Use named compiler-macro for backwards
16234 compatibility with Emacs 24.x.
16235
16236 2013-04-17 Leo Liu <sdl.web@gmail.com>
16237
16238 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
16239 octave-hide-process-buffer.
16240
16241 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
16242
16243 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
16244 (bug#14216).
16245
16246 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
16247
16248 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
16249 Fix adjustment of offset when receiving incomplete responses from GDB
16250 (bug#14129).
16251
16252 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16253
16254 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
16255 python-mode-abbrev-table.
16256 (python-skeleton-define): Adjust accordingly.
16257 (python-mode-abbrev-table): New table that inherits from it so that
16258 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
16259
16260 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
16261 (abbrev-symbol): Use it.
16262 (abbrev--before-point): Use it since we already handle inheritance.
16263
16264 2013-04-16 Leo Liu <sdl.web@gmail.com>
16265
16266 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
16267 binding to info-lookup-symbol.
16268
16269 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
16270
16271 * minibuffer.el (completion--twq-all):
16272 * term/ns-win.el (ns-initialize-window-system):
16273 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
16274
16275 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
16276
16277 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
16278 global bindings.
16279
16280 * doc-view.el (doc-view-start-process): Handle url-handler directories.
16281
16282 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
16283
16284 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
16285 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
16286 to nil.
16287 (ruby-end-of-defun): Remove the unused arg, change the docstring
16288 to reflect that this function is only used as the value of
16289 `end-of-defun-function'.
16290 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
16291 to reflect an earlier change that beginning/end-of-defun functions
16292 jump between methods in a class definition, as well as top-level
16293 functions.
16294
16295 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16296
16297 * minibuffer.el (minibuffer-complete): Don't just scroll
16298 a *Completions* that's been iconified.
16299 (minibuffer-force-complete): Make sure repetitions do cycle when going
16300 through completion-in-region -> minibuffer-complete.
16301
16302 2013-04-15 Alan Mackenzie <acm@muc.de>
16303
16304 Correct the placement of c-cpp-delimiters when there're #s not at
16305 col 0.
16306
16307 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
16308 place a submatch around the #.
16309 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
16310 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
16311 on the #, not BOL.
16312
16313 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16314
16315 * emacs-lisp/nadvice.el: Properly test names when adding advice.
16316 (advice--member-p): New arg `name'.
16317 (advice--add-function, advice-member-p): Use it (bug#14202).
16318
16319 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
16320
16321 Reformulate java imenu-generic-expression.
16322 The old expression contained ill formed regexps.
16323
16324 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
16325 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
16326 (cc-imenu-java-method-arg-regexp): New defconsts.
16327 (cc-imenu-java-build-type-args-regex): New defun.
16328 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
16329 handling of spaces in the regexp.
16330
16331 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
16332
16333 * textmodes/ispell.el (ispell-command-loop): Remove
16334 flyspell highlight of a word when ispell accepts it (bug #14178).
16335
16336 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
16337
16338 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
16339 uses code from the previous `ange-ftp-run-real-handler'.
16340 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
16341 only in case that function exist. This is needed for proper
16342 unloading of Tramp.
16343
16344 2013-04-15 Tassilo Horn <tsdh@gnu.org>
16345
16346 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
16347
16348 * textmodes/reftex.el (reftex-compile-variables): Use it.
16349
16350 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16351
16352 * files.el (normal-mode): Only use default major-mode if no other mode
16353 was specified.
16354
16355 * emacs-lisp/trace.el (trace-values): New function.
16356
16357 * files.el: Allow : in local variables (bug#14089).
16358 (hack-local-variable-regexp): New var.
16359 (hack-local-variables-prop-line, hack-local-variables): Use it.
16360
16361 2013-04-13 Roland Winkler <winkler@gnu.org>
16362
16363 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
16364 data before it gets modified by bibtex-beginning-of-entry.
16365
16366 2013-04-13 Roland Winkler <winkler@gnu.org>
16367
16368 * textmodes/bibtex.el (bibtex-url): Doc fix.
16369
16370 2013-04-13 Roland Winkler <winkler@gnu.org>
16371
16372 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
16373 does not visit a BibTeX file, exclude it from the list of buffers
16374 returned by bibtex-initialize.
16375
16376 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
16377
16378 * window.el (split-window): Remove interactive form, since as a
16379 command this function is a special case of split-window-below.
16380 Correct doc string.
16381
16382 2013-04-12 Roland Winkler <winkler@gnu.org>
16383
16384 * faces.el (read-face-name): Do not override value of arg default.
16385 Allow single faces and strings as default values. Remove those
16386 elements from return value that are not faces.
16387 (describe-face): Simplify.
16388 (face-at-point): New optional args thing and multiple so that this
16389 function can provide the same functionality previously provided by
16390 read-face-name.
16391 (make-face-bold, make-face-unbold, make-face-italic)
16392 (make-face-unitalic, make-face-bold-italic, invert-face)
16393 (modify-face, read-face-and-attribute): Use face-at-point.
16394
16395 * cus-edit.el (customize-face, customize-face-other-window)
16396 * cus-theme.el (custom-theme-add-face)
16397 * face-remap.el (buffer-face-set)
16398 * facemenu.el (facemenu-set-face): Use face-at-point.
16399
16400 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
16401
16402 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
16403
16404 2013-04-10 Tassilo Horn <tsdh@gnu.org>
16405
16406 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
16407 off leading { and trailing } from field values.
16408
16409 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
16410
16411 * emacs-lisp/timer.el (timer--check): New function.
16412 (timer--time, timer-set-function, timer-event-handler): Use it.
16413 (timer-set-idle-time): Simplify.
16414 (timer--activate): CSE.
16415 (timer-event-handler): Give more info in error message.
16416 (internal-timer-start-idle): New function, moved from C.
16417
16418 * mpc.el (mpc-proc): Add `restart' argument.
16419 (mpc-proc-cmd): Use it.
16420 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
16421 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
16422 less often.
16423
16424 2013-04-10 Masatake YAMATO <yamato@redhat.com>
16425
16426 * progmodes/sh-script.el: Implement `sh-mode' own
16427 `add-log-current-defun-function' (bug#14112).
16428 (sh-current-defun-name): New function.
16429 (sh-mode): Use the function.
16430
16431 2013-04-09 Bastien Guerry <bzg@gnu.org>
16432
16433 * simple.el (choose-completion-string): Fix docstring (bug#14163).
16434
16435 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
16436
16437 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
16438
16439 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
16440 timer (bug#14156).
16441
16442 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
16443
16444 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
16445 declaration.
16446
16447 2013-04-07 Leo Liu <sdl.web@gmail.com>
16448
16449 * pcmpl-x.el: New file.
16450
16451 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
16452
16453 Do not set x-display-name until X connection is established.
16454 This is needed to prevent from weird situation described at
16455 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
16456 * frame.el (make-frame): Set x-display-name after call to
16457 window system initialization function, not before.
16458 * term/x-win.el (x-initialize-window-system): Add optional
16459 display argument and use it.
16460 * term/w32-win.el (w32-initialize-window-system):
16461 * term/ns-win.el (ns-initialize-window-system):
16462 * term/pc-win.el (msdos-initialize-window-system):
16463 Add compatible optional display argument.
16464
16465 2013-04-06 Eli Zaretskii <eliz@gnu.org>
16466
16467 * files.el (normal-backup-enable-predicate): On MS-Windows and
16468 MS-DOS compare truenames of temporary-file-directory and of the
16469 file, so that 8+3 aliases (usually found in $TEMP on Windows)
16470 don't fail comparison by compare-strings. Also, compare file
16471 names case-insensitively on MS-Windows and MS-DOS.
16472
16473 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16474
16475 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
16476 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
16477
16478 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
16479
16480 * whitespace.el (whitespace-color-on, whitespace-color-off):
16481 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
16482
16483 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
16484
16485 * ispell.el (ispell-set-spellchecker-params):
16486 Really set `ispell-args' for all equivs.
16487
16488 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
16489
16490 * ido.el (ido-completions): Use extra elements of ido-decorations
16491 (bug#14143).
16492 (ido-decorations): Update docstring.
16493
16494 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
16495
16496 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
16497 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
16498 nil during initialization, in order not to miss changes since the
16499 file was opened. (Bug#14140)
16500
16501 2013-04-05 Leo Liu <sdl.web@gmail.com>
16502
16503 * kmacro.el (kmacro-call-macro): Fix bug#14135.
16504
16505 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
16506
16507 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
16508
16509 2013-04-04 Glenn Morris <rgm@gnu.org>
16510
16511 * electric.el (electric-pair-inhibit-predicate): Add :version.
16512
16513 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
16514
16515 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
16516 when a package is required several times (bug#14082).
16517
16518 2013-04-04 Roland Winkler <winkler@gnu.org>
16519
16520 * faces.el (read-face-name): Behave as promised by the docstring.
16521 Assume that arg default is a list of faces.
16522 (describe-face): Call read-face-name with list of default faces.
16523
16524 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
16525
16526 * bookmark.el: Fix deletion of bookmarks (bug#13972).
16527 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
16528 (bookmark-bmenu-execute-deletions): Only skip first line if it's
16529 the header.
16530 (bookmark-exit-hook-internal): Save even if list is empty.
16531
16532 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
16533
16534 * emacs-lisp/package.el (package-pinned-packages): New var.
16535 (package--add-to-archive-contents): Obey it (bug#14118).
16536
16537 2013-04-03 Alan Mackenzie <acm@muc.de>
16538
16539 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
16540 Also adapt to the new values of element 7 of a parse state.
16541
16542 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
16543 parameter `not-in-delimiter'. Handle being inside comment opener.
16544 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
16545 character in case we're typing a '*' after a '/'.
16546 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
16547 instead by passing the parameter to c-state-pp-to-literal.
16548
16549 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
16550 for elt. 7 of a parse state.
16551
16552 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
16553
16554 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
16555 * international/latin1-disp.el, international/mule-util.el:
16556 * language/cyril-util.el, language/european.el, language/ind-util.el:
16557 * language/lao-util.el, language/thai.el, language/tibet-util.el:
16558 * language/tibetan.el, language/viet-util.el:
16559 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
16560
16561 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16562
16563 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
16564 (electric-pair-post-self-insert-function): Use it.
16565 (electric-pair-default-inhibit): New function, extracted from
16566 electric-pair-post-self-insert-function.
16567
16568 2013-03-31 Roland Winkler <winkler@gnu.org>
16569
16570 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
16571
16572 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16573
16574 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
16575
16576 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
16577
16578 Un-indent after "pass" and "return" statements (Bug#13888)
16579 * progmodes/python.el (python-indent-block-enders): New var.
16580 (python-indent-calculate-indentation): Use it.
16581
16582 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
16583
16584 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
16585 defun. Defining it as defalias could introduce too eager
16586 byte-compiler optimization. (Bug#14030)
16587
16588 2013-03-30 Chong Yidong <cyd@gnu.org>
16589
16590 * iswitchb.el (iswitchb-read-buffer): Fix typo.
16591
16592 2013-03-30 Leo Liu <sdl.web@gmail.com>
16593
16594 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
16595 (kmacro-execute-from-register): Pass the keyboard macro to
16596 kmacro-call-macro or repeating won't work correctly.
16597
16598 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
16599
16600 * progmodes/subword.el: Back to using `forward-symbol'.
16601
16602 * subr.el (forward-whitespace, forward-symbol)
16603 (forward-same-syntax): Move from thingatpt.el.
16604
16605 2013-03-29 Leo Liu <sdl.web@gmail.com>
16606
16607 * kmacro.el (kmacro-to-register): New command.
16608 (kmacro-execute-from-register): New function.
16609 (kmacro-keymap): Bind to 'x'. (Bug#14071)
16610
16611 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
16612
16613 * mpc.el: Use defvar-local and setq-local.
16614 (mpc--proc-connect): Connection failures are not bugs.
16615 (mpc-mode-map): `follow-link' only applies to the buffer's content.
16616 (mpc-volume-map): Bind to the up-events.
16617
16618 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
16619
16620 * progmodes/subword.el (superword-mode): Use `forward-sexp'
16621 instead of `forward-symbol'.
16622
16623 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
16624
16625 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
16626 (edebug--recursive-edit): Use it.
16627 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
16628 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
16629
16630 2013-03-28 Leo Liu <sdl.web@gmail.com>
16631
16632 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
16633
16634 2013-03-27 Eli Zaretskii <eliz@gnu.org>
16635
16636 * facemenu.el (list-colors-callback): New defvar.
16637 (list-colors-redisplay): New function.
16638 (list-colors-display): Install list-colors-redisplay as the
16639 revert-buffer-function. (Bug#14063)
16640
16641 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
16642
16643 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
16644 and suffixes don't overlap (bug#14061).
16645
16646 * case-table.el: Use lexical-binding.
16647 (case-table-get-table): New function.
16648 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
16649
16650 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
16651
16652 * progmodes/subword.el: Add `superword-mode' to do word motion
16653 over symbol_words (parallels and leverages `subword-mode' which
16654 does word motion inside MixedCaseWords).
16655
16656 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
16657
16658 * eshell/em-unix.el: Move su and sudo to...
16659 * eshell/em-tramp.el: ...Eshell tramp module.
16660
16661 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16662
16663 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
16664 Change return value to be a sexp. Delay `get-buffer' to after
16665 restoring the desktop (bug#13951).
16666
16667 2013-03-26 Leo Liu <sdl.web@gmail.com>
16668
16669 * register.el: Move semantic tag handling back to
16670 cedet/semantic/senator.el. (Bug#14052)
16671
16672 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
16673
16674 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
16675 into the prompt either (bug#13963).
16676
16677 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
16678
16679 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
16680 part of "(error-foo)".
16681
16682 2013-03-24 Juri Linkov <juri@jurta.org>
16683
16684 * replace.el (list-matching-lines-prefix-face): New defcustom.
16685 (occur-1): Pass `list-matching-lines-prefix-face' to the function
16686 `occur-engine' if `face-differs-from-default-p' returns t.
16687 (occur-engine): Add `,' inside backquote construct to evaluate
16688 `prefix-face'. Propertize the prefix with the `prefix-face' face.
16689 Pass `prefix-face' to the functions `occur-context-lines' and
16690 `occur-engine-add-prefix'.
16691 (occur-engine-add-prefix, occur-context-lines): Add optional arg
16692 `prefix-face' and propertize the prefix with `prefix-face'.
16693 (Bug#14017)
16694
16695 2013-03-24 Leo Liu <sdl.web@gmail.com>
16696
16697 * nxml/rng-valid.el (rng-validate-while-idle)
16698 (rng-validate-quick-while-idle): Guard against deleted buffer.
16699 (Bug#13999)
16700
16701 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
16702 is the last entry in kill-buffer-hook.
16703
16704 * files.el (kill-buffer-hook): Doc fix.
16705
16706 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
16707
16708 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
16709 Make it safe-local.
16710
16711 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
16712
16713 2013-03-23 Leo Liu <sdl.web@gmail.com>
16714
16715 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
16716 Remove.
16717
16718 * nxml/rng-valid.el (rng-validate-mode)
16719 (rng-after-change-function, rng-do-some-validation):
16720 * nxml/rng-maint.el (rng-validate-buffer):
16721 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
16722 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
16723 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
16724 (nxml-extend-after-change-region): Use with-silent-modifications.
16725
16726 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
16727 timer-idle-list.
16728
16729 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
16730 (rng-next-error-1, rng-previous-error-1): Do not let-bind
16731 timer-idle-list. (Bug#13999)
16732
16733 2013-03-23 Juri Linkov <juri@jurta.org>
16734
16735 * info.el (info-index-match): New face.
16736 (Info-index, Info-apropos-matches): Add a nested subgroup to the
16737 main pattern and add text properties with the new face to matches
16738 in index entries relative to the beginning of the index entry.
16739 (Bug#14015)
16740
16741 2013-03-21 Eric Ludlam <zappo@gnu.org>
16742
16743 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
16744 Inhibit read only while inserting objects.
16745
16746 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
16747
16748 * progmodes/cfengine.el: Update docs to mention
16749 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
16750 symbol motion. Remove "_" from the word syntax.
16751
16752 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
16753
16754 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
16755 syntax for both `cfengine2-mode' and `cfengine3-mode'.
16756
16757 2013-03-20 Juri Linkov <juri@jurta.org>
16758
16759 * info.el (Info-next-reference-or-link)
16760 (Info-prev-reference-or-link): New functions.
16761 (Info-next-reference, Info-prev-reference): Use them.
16762 (Info-try-follow-nearest-node): Handle footnote navigation.
16763 (Info-fontify-node): Fontify footnotes. (Bug#13989)
16764
16765 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
16766
16767 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
16768 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
16769
16770 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
16771
16772 Suppress unnecessary non-ASCII chatter during build process.
16773 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
16774 (batch-skkdic-convert): Suppress most of the chatter.
16775 It's not needed so much now that machines are faster,
16776 and its non-ASCII component was confusing; see Dmitry Gutov in
16777 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
16778
16779 2013-03-20 Leo Liu <sdl.web@gmail.com>
16780
16781 * ido.el (ido-chop): Fix bug#10994.
16782
16783 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16784
16785 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
16786 Remove vars.
16787 (whitespace-color-on, whitespace-color-off):
16788 Use `font-lock-fontify-buffer' (Bug#13817).
16789
16790 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
16791
16792 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
16793 remapping in mode-line.
16794 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
16795
16796 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
16797
16798 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
16799 value for `whitespace-line' face (Bug#13875).
16800 (whitespace-font-lock-keywords): Change description.
16801 (whitespace-color-on): Don't save `font-lock-keywords' value, save
16802 the constructed keywords instead.
16803 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
16804
16805 2013-03-19 Leo Liu <sdl.web@gmail.com>
16806
16807 * progmodes/compile.el (compilation-display-error): New command.
16808 (compilation-mode-map, compilation-minor-mode-map): Bind it to
16809 C-o. (Bug#13992)
16810
16811 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16812
16813 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
16814
16815 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
16816
16817 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
16818
16819 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
16820
16821 * net/tramp-compat.el (tramp-compat-user-error): New defun.
16822
16823 * net/tramp-adb.el (tramp-adb-handle-shell-command):
16824 * net/tramp-gvfs.el (top):
16825 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
16826 (tramp-handle-shell-command): Use it.
16827 (tramp-dissect-file-name): Raise an error when hostname is a
16828 method name, and neither method nor user is specified.
16829
16830 * net/trampver.el: Update release number.
16831
16832 2013-03-18 Leo Liu <sdl.web@gmail.com>
16833
16834 Make sure eldoc can be turned off properly.
16835 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
16836 eldoc-mode.
16837 (eldoc-display-message-p): Revert last change.
16838 (eldoc-display-message-no-interference-p)
16839 (eldoc-print-current-symbol-info): Tweak.
16840
16841 2013-03-18 Tassilo Horn <tsdh@gnu.org>
16842
16843 * doc-view.el (doc-view-new-window-function): Check the new window
16844 overlay's display property instead the char property of the
16845 buffer's first char. Use `with-selected-window' instead of
16846 `save-window-excursion' with `select-window'.
16847 (doc-view-document->bitmap): Check the current doc-view overlay's
16848 display property instead the char property of the buffer's first char.
16849
16850 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
16851
16852 Automate the build of ja-dic.el (Bug#13984).
16853 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
16854 from the input, rather than assume that it's been done for us by the
16855 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
16856 the current date into a ja-dic.el comment, as that complicates
16857 regression testing.
16858
16859 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
16860
16861 * whitespace.el: Fix double evaluation.
16862 (whitespace-space, whitespace-hspace, whitespace-tab)
16863 (whitespace-newline, whitespace-trailing, whitespace-line)
16864 (whitespace-space-before-tab, whitespace-indentation)
16865 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
16866 obsolete defvars.
16867 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
16868 (whitespace-color-on): Use a single font-lock-add-keywords call.
16869 Fix double-evaluation of face variables.
16870
16871 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
16872
16873 * net/tramp-adb.el (tramp-adb-parse-device-names):
16874 Use `start-process' instead of `call-process'. Otherwise, the
16875 function might be blocked under MS Windows. (Bug#13299)
16876
16877 2013-03-17 Leo Liu <sdl.web@gmail.com>
16878
16879 Extend eldoc to display info in the mode-line. (Bug#13978)
16880 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
16881 (eldoc-mode-line-string): New variable.
16882 (eldoc-minibuffer-message): New function.
16883 (eldoc-message-function): New variable.
16884 (eldoc-message): Use it.
16885 (eldoc-display-message-p)
16886 (eldoc-display-message-no-interference-p):
16887 Support eldoc-post-insert-mode.
16888
16889 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
16890 (eval-expression): Run it.
16891
16892 2013-03-17 Roland Winkler <winkler@gnu.org>
16893
16894 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
16895 strings in the list of return values.
16896
16897 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
16898
16899 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
16900 radix before checking for HMS forms.
16901
16902 2013-03-16 Leo Liu <sdl.web@gmail.com>
16903
16904 * progmodes/scheme.el: Add indentation and font-locking for λ.
16905 (Bug#13975)
16906
16907 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
16908
16909 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
16910 token before point (bug#13942).
16911
16912 2013-03-16 Leo Liu <sdl.web@gmail.com>
16913
16914 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
16915
16916 2013-03-16 Eli Zaretskii <eliz@gnu.org>
16917
16918 * startup.el (command-line-normalize-file-name): Fix handling of
16919 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
16920 <xfq.free@gmail.com> in
16921 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
16922
16923 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
16924
16925 Sync with Tramp 2.2.7.
16926
16927 * net/trampver.el: Update release number.
16928
16929 2013-03-14 Tassilo Horn <tsdh@gnu.org>
16930
16931 * doc-view.el: Fix bug#13887.
16932 (doc-view-insert-image): Don't modify overlay associated to
16933 non-live windows, and implement horizontal centering of image in
16934 case it's smaller than the window.
16935 (doc-view-new-window-function): Force redisplay of new windows on
16936 doc-view buffers.
16937
16938 2013-03-13 Karl Fogel <kfogel@red-bean.com>
16939
16940 * saveplace.el (save-place-alist-to-file): Don't sort
16941 `save-place-alist', just pretty-print it (bug#13882).
16942
16943 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
16944
16945 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
16946 Check whether `default-file-name-coding-system' is bound.
16947 It isn't in XEmacs.
16948
16949 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
16950
16951 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
16952 backquotes for `obsolete' (bug#13929).
16953
16954 * international/mule.el (find-auto-coding): Include file name in
16955 obsolescence warning (bug#13922).
16956
16957 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
16958
16959 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
16960 for CFEngine 3-specific indentation.
16961 (cfengine3-indent-line): Use it. Fix up category regex.
16962 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
16963
16964 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
16965
16966 * type-break.el (type-break-file-name):
16967 * textmodes/remember.el (remember-data-file):
16968 * strokes.el (strokes-file):
16969 * shadowfile.el (shadow-initialize):
16970 * saveplace.el (save-place-file):
16971 * ps-bdf.el (bdf-cache-file):
16972 * progmodes/idlwave.el (idlwave-config-directory):
16973 * net/quickurl.el (quickurl-url-file):
16974 * international/kkc.el (kkc-init-file-name):
16975 * ido.el (ido-save-directory-list-file):
16976 * emulation/viper.el (viper-custom-file-name):
16977 * emulation/vip.el (vip-startup-file):
16978 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
16979 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
16980
16981 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
16982
16983 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
16984 * language/thai-word.el: Switch to UTF-8.
16985
16986 See ChangeLog.16 for earlier changes.
16987
16988 ;; Local Variables:
16989 ;; coding: utf-8
16990 ;; End:
16991
16992 Copyright (C) 2011-2014 Free Software Foundation, Inc.
16993
16994 This file is part of GNU Emacs.
16995
16996 GNU Emacs is free software: you can redistribute it and/or modify
16997 it under the terms of the GNU General Public License as published by
16998 the Free Software Foundation, either version 3 of the License, or
16999 (at your option) any later version.
17000
17001 GNU Emacs is distributed in the hope that it will be useful,
17002 but WITHOUT ANY WARRANTY; without even the implied warranty of
17003 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17004 GNU General Public License for more details.
17005
17006 You should have received a copy of the GNU General Public License
17007 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.